code
stringlengths 3
1.05M
| repo_name
stringlengths 4
116
| path
stringlengths 3
942
| language
stringclasses 30
values | license
stringclasses 15
values | size
int32 3
1.05M
|
---|---|---|---|---|---|
"use strict";
const apisObject = {
"type": "object",
"required": false,
"patternProperties": {
"^[_a-z\/][_a-zA-Z0-9\/:]*$": { //pattern to match an api route
"type": "object",
"required": true,
"properties": {
"access": {"type": "boolean", "required": false},
}
}
}
};
const aclRoute = {
"type": "array",
"required": false,
"items":
{
"type": "object",
"required": false,
"properties": {
"access": {"type": "string", "required": false},
"apis": apisObject
}
}
};
const scope = {
"type": "object",
"patternProperties": {
"^[^\W\.]+$": {
"type": "object",
"required": false,
"patternProperties": {
".+": {
"type": "object",
"required": false,
"properties": {
"access": {"type": "boolean", "required": false},
"apisPermission": {
"type": "string", "enum": ["restricted"], "required": false
},
"get": aclRoute,
"post": aclRoute,
"put": aclRoute,
"delete": aclRoute,
"head": aclRoute,
"options": aclRoute,
"other": aclRoute,
"additionalProperties": false
},
"additionalProperties": false
}
},
"additionalProperties": false
},
},
"additionalProperties": false
};
module.exports = scope;
| soajs/soajs.dashboard | schemas/updateScopeAcl.js | JavaScript | apache-2.0 | 1,270 |
package br.com.ceducarneiro.analisadorsintatico;
public class LexException extends Exception {
private char badCh;
private int line, column;
public LexException(int line, int column, char ch) {
badCh = ch;
this.line = line;
this.column = column;
}
@Override
public String toString() {
return String.format("Caractere inesperado: \"%s\" na linha %d coluna %d", badCh != 0 ? badCh : "EOF", line, column);
}
}
| edu1910/AnalisadorSintatico | src/br/com/ceducarneiro/analisadorsintatico/LexException.java | Java | apache-2.0 | 473 |
PAUSE | opensourcegamedev/Updater | exampleStart.bat | Batchfile | apache-2.0 | 5 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.cloudtasks.v2.model;
/**
* Encapsulates settings provided to GetIamPolicy.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Tasks API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GetPolicyOptions extends com.google.api.client.json.GenericJson {
/**
* Optional. The maximum policy version that will be used to format the policy. Valid values are
* 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with
* any conditional role bindings must specify version 3. Policies with no conditional role
* bindings may specify any valid value or leave the field unset. The policy in the response might
* use the policy version that you specified, or it might use a lower policy version. For example,
* if you specify version 3, but the policy has no conditional role bindings, the response uses
* version 1. To learn which resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer requestedPolicyVersion;
/**
* Optional. The maximum policy version that will be used to format the policy. Valid values are
* 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with
* any conditional role bindings must specify version 3. Policies with no conditional role
* bindings may specify any valid value or leave the field unset. The policy in the response might
* use the policy version that you specified, or it might use a lower policy version. For example,
* if you specify version 3, but the policy has no conditional role bindings, the response uses
* version 1. To learn which resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
* @return value or {@code null} for none
*/
public java.lang.Integer getRequestedPolicyVersion() {
return requestedPolicyVersion;
}
/**
* Optional. The maximum policy version that will be used to format the policy. Valid values are
* 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with
* any conditional role bindings must specify version 3. Policies with no conditional role
* bindings may specify any valid value or leave the field unset. The policy in the response might
* use the policy version that you specified, or it might use a lower policy version. For example,
* if you specify version 3, but the policy has no conditional role bindings, the response uses
* version 1. To learn which resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
* @param requestedPolicyVersion requestedPolicyVersion or {@code null} for none
*/
public GetPolicyOptions setRequestedPolicyVersion(java.lang.Integer requestedPolicyVersion) {
this.requestedPolicyVersion = requestedPolicyVersion;
return this;
}
@Override
public GetPolicyOptions set(String fieldName, Object value) {
return (GetPolicyOptions) super.set(fieldName, value);
}
@Override
public GetPolicyOptions clone() {
return (GetPolicyOptions) super.clone();
}
}
| googleapis/google-api-java-client-services | clients/google-api-services-cloudtasks/v2/1.31.0/com/google/api/services/cloudtasks/v2/model/GetPolicyOptions.java | Java | apache-2.0 | 4,445 |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hazelcast.client.impl.spi.impl.discovery;
import com.hazelcast.client.HazelcastClient;
import com.hazelcast.client.config.ClientConfig;
import com.hazelcast.config.Config;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.test.HazelcastSerialClassRunner;
import com.hazelcast.test.HazelcastTestSupport;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.After;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
@RunWith(HazelcastSerialClassRunner.class)
@Category(QuickTest.class)
public class ClientAutoDetectionDiscoveryTest extends HazelcastTestSupport {
@After
public void tearDown() {
Hazelcast.shutdownAll();
}
@Test
public void defaultDiscovery() {
Hazelcast.newHazelcastInstance();
Hazelcast.newHazelcastInstance();
HazelcastInstance client = HazelcastClient.newHazelcastClient();
assertClusterSizeEventually(2, client);
}
@Test
public void autoDetectionDisabled() {
Config config = new Config();
config.getNetworkConfig().getJoin().getAutoDetectionConfig().setEnabled(false);
Hazelcast.newHazelcastInstance(config);
Hazelcast.newHazelcastInstance(config);
ClientConfig clientConfig = new ClientConfig();
clientConfig.getNetworkConfig().getAutoDetectionConfig().setEnabled(false);
HazelcastInstance client = HazelcastClient.newHazelcastClient(clientConfig);
// uses 127.0.0.1 and finds only one standalone member
assertClusterSizeEventually(1, client);
}
@Test
public void autoDetectionNotUsedWhenOtherDiscoveryEnabled() {
Config config = new Config();
config.getNetworkConfig().setPort(5710);
config.getNetworkConfig().getJoin().getAutoDetectionConfig().setEnabled(false);
Hazelcast.newHazelcastInstance(config);
ClientConfig clientConfig = new ClientConfig();
clientConfig.getNetworkConfig().addAddress("127.0.0.1:5710");
HazelcastInstance client = HazelcastClient.newHazelcastClient(clientConfig);
assertClusterSizeEventually(1, client);
}
}
| mdogan/hazelcast | hazelcast/src/test/java/com/hazelcast/client/impl/spi/impl/discovery/ClientAutoDetectionDiscoveryTest.java | Java | apache-2.0 | 2,849 |
package me.banxi.androiddemo;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends Activity{
public void onCreate(Bundle bundle){
super.onCreate(bundle);
TextView textView = new TextView(this);
textView.setText("Hello,World");
setContentView(textView);
}
}
| banxi1988/android-demo | src/main/java/me/banxi/androiddemo/MainActivity.java | Java | apache-2.0 | 366 |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2015 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/
#import <Foundation/Foundation.h>
#import "Bridge.h"
#import "TiToJS.h"
#import "TiEvaluator.h"
#import "TiProxy.h"
#import "KrollContext.h"
#import "KrollObject.h"
#import "TiModule.h"
#include <libkern/OSAtomic.h>
#ifdef KROLL_COVERAGE
# import "KrollCoverage.h"
@interface TiTodoSampleObject : KrollCoverageObject {
#else
@interface TiTodoSampleObject : KrollObject {
#endif
@private
NSMutableDictionary *modules;
TiHost *host;
id<TiEvaluator> pageContext;
NSMutableDictionary *dynprops;
}
-(id)initWithContext:(KrollContext*)context_ host:(TiHost*)host_ context:(id<TiEvaluator>)context baseURL:(NSURL*)baseURL_;
-(id)addModule:(NSString*)name module:(TiModule*)module;
-(TiModule*)moduleNamed:(NSString*)name context:(id<TiEvaluator>)context;
@end
extern NSString * TiTodoSample$ModuleRequireFormat;
@interface KrollBridge : Bridge<TiEvaluator,KrollDelegate> {
@private
NSURL * currentURL;
KrollContext *context;
NSDictionary *preload;
NSMutableDictionary *modules;
TiTodoSampleObject *_titodosample;
KrollObject* console;
BOOL shutdown;
BOOL evaluationError;
//NOTE: Do NOT treat registeredProxies like a mutableDictionary; mutable dictionaries copy keys,
//CFMutableDictionaryRefs only retain keys, which lets them work with proxies properly.
CFMutableDictionaryRef registeredProxies;
NSCondition *shutdownCondition;
OSSpinLock proxyLock;
}
- (void)boot:(id)callback url:(NSURL*)url_ preload:(NSDictionary*)preload_;
- (void)evalJSWithoutResult:(NSString*)code;
- (id)evalJSAndWait:(NSString*)code;
- (BOOL)evaluationError;
- (void)fireEvent:(id)listener withObject:(id)obj remove:(BOOL)yn thisObject:(TiProxy*)thisObject;
- (id)preloadForKey:(id)key name:(id)name;
- (KrollContext*)krollContext;
+ (NSArray *)krollBridgesUsingProxy:(id)proxy;
+ (BOOL)krollBridgeExists:(KrollBridge *)bridge;
+ (KrollBridge *)krollBridgeForThreadName:(NSString *)threadName;
+ (NSArray *)krollContexts;
-(void)enqueueEvent:(NSString*)type forProxy:(TiProxy *)proxy withObject:(id)obj;
-(void)registerProxy:(id)proxy krollObject:(KrollObject *)ourKrollObject;
-(int)forceGarbageCollectNow;
@end
| garicchi/TiTodoSample | build/iphone/Classes/KrollBridge.h | C | apache-2.0 | 2,441 |
from rest_framework import generics, permissions, views, response,status
from .models import Account
from .serializers import AccountCreateSerializer, AccountSerializer, AuthenticateSerializer, \
UpdateAccountSerializer, AccountRetrieveSerializer
# Create your views here.
class AccountCreateView(generics.CreateAPIView):
queryset = Account.objects.all()
serializer_class = AccountCreateSerializer
permission_classes = [permissions.AllowAny]
class AccountListView(generics.ListAPIView):
queryset = Account.objects.all()
serializer_class = AccountSerializer
permission_classes = [permissions.IsAuthenticated]
class AccountRetrieveView(generics.RetrieveAPIView):
queryset = Account.objects.all()
serializer_class = AccountRetrieveSerializer
class UpdateAccountView(generics.UpdateAPIView):
queryset = Account.objects.all()
serializer_class = UpdateAccountSerializer
# permission_classes = [permissions.IsAuthenticated]
class AccountAuthenticationView(views.APIView):
queryset = Account.objects.all()
serializer_class = AuthenticateSerializer
def post(self, request):
data = request.data
serializer = AuthenticateSerializer(data=data)
if serializer.is_valid(raise_exception=True):
new_date = serializer.data
return response.Response(new_date,status=status.HTTP_200_OK)
return response.Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST) | jiafengwu0301/App_BackEnd | api/views.py | Python | apache-2.0 | 1,474 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.activemq.artemis.tests.integration.server;
import org.apache.activemq.artemis.api.core.SimpleString;
import org.apache.activemq.artemis.api.core.client.ClientConsumer;
import org.apache.activemq.artemis.api.core.client.ClientMessage;
import org.apache.activemq.artemis.api.core.client.ClientProducer;
import org.apache.activemq.artemis.api.core.client.ClientSession;
import org.apache.activemq.artemis.api.core.client.ClientSessionFactory;
import org.apache.activemq.artemis.api.core.client.ServerLocator;
import org.apache.activemq.artemis.core.config.impl.ConfigurationImpl;
import org.apache.activemq.artemis.core.server.ActiveMQServer;
import org.apache.activemq.artemis.core.server.ActiveMQServers;
import org.apache.activemq.artemis.core.server.Queue;
import org.apache.activemq.artemis.core.settings.impl.AddressSettings;
import org.apache.activemq.artemis.tests.util.ActiveMQTestBase;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
public class ExpiryRunnerTest extends ActiveMQTestBase {
private ActiveMQServer server;
private ClientSession clientSession;
private final SimpleString qName = new SimpleString("ExpiryRunnerTestQ");
private final SimpleString qName2 = new SimpleString("ExpiryRunnerTestQ2");
private SimpleString expiryQueue;
private SimpleString expiryAddress;
private ServerLocator locator;
@Test
public void testBasicExpire() throws Exception {
ClientProducer producer = clientSession.createProducer(qName);
int numMessages = 100;
long expiration = System.currentTimeMillis();
for (int i = 0; i < numMessages; i++) {
ClientMessage m = createTextMessage(clientSession, "m" + i);
m.setExpiration(expiration);
producer.send(m);
}
Thread.sleep(1600);
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount());
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount());
}
@Test
public void testExpireFromMultipleQueues() throws Exception {
ClientProducer producer = clientSession.createProducer(qName);
clientSession.createQueue(qName2, qName2, null, false);
AddressSettings addressSettings = new AddressSettings().setExpiryAddress(expiryAddress);
server.getAddressSettingsRepository().addMatch(qName2.toString(), addressSettings);
ClientProducer producer2 = clientSession.createProducer(qName2);
int numMessages = 100;
long expiration = System.currentTimeMillis();
for (int i = 0; i < numMessages; i++) {
ClientMessage m = createTextMessage(clientSession, "m" + i);
m.setExpiration(expiration);
producer.send(m);
m = createTextMessage(clientSession, "m" + i);
m.setExpiration(expiration);
producer2.send(m);
}
Thread.sleep(1600);
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount());
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount());
}
@Test
public void testExpireHalf() throws Exception {
ClientProducer producer = clientSession.createProducer(qName);
int numMessages = 100;
long expiration = System.currentTimeMillis();
for (int i = 0; i < numMessages; i++) {
ClientMessage m = createTextMessage(clientSession, "m" + i);
if (i % 2 == 0) {
m.setExpiration(expiration);
}
producer.send(m);
}
Thread.sleep(1600);
Assert.assertEquals(numMessages / 2, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount());
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount());
}
@Test
public void testExpireConsumeHalf() throws Exception {
ClientProducer producer = clientSession.createProducer(qName);
int numMessages = 100;
long expiration = System.currentTimeMillis() + 1000;
for (int i = 0; i < numMessages; i++) {
ClientMessage m = createTextMessage(clientSession, "m" + i);
m.setExpiration(expiration);
producer.send(m);
}
ClientConsumer consumer = clientSession.createConsumer(qName);
clientSession.start();
for (int i = 0; i < numMessages / 2; i++) {
ClientMessage cm = consumer.receive(500);
Assert.assertNotNull("message not received " + i, cm);
cm.acknowledge();
Assert.assertEquals("m" + i, cm.getBodyBuffer().readString());
}
consumer.close();
Thread.sleep(2100);
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount());
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount());
}
@Test
public void testExpireToExpiryQueue() throws Exception {
AddressSettings addressSettings = new AddressSettings().setExpiryAddress(expiryAddress);
server.getAddressSettingsRepository().addMatch(qName2.toString(), addressSettings);
clientSession.deleteQueue(qName);
clientSession.createQueue(qName, qName, null, false);
clientSession.createQueue(qName, qName2, null, false);
ClientProducer producer = clientSession.createProducer(qName);
int numMessages = 100;
long expiration = System.currentTimeMillis();
for (int i = 0; i < numMessages; i++) {
ClientMessage m = createTextMessage(clientSession, "m" + i);
m.setExpiration(expiration);
producer.send(m);
}
Thread.sleep(1600);
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount());
Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount());
ClientConsumer consumer = clientSession.createConsumer(expiryQueue);
clientSession.start();
for (int i = 0; i < numMessages; i++) {
ClientMessage cm = consumer.receive(500);
Assert.assertNotNull(cm);
// assertEquals("m" + i, cm.getBody().getString());
}
for (int i = 0; i < numMessages; i++) {
ClientMessage cm = consumer.receive(500);
Assert.assertNotNull(cm);
// assertEquals("m" + i, cm.getBody().getString());
}
consumer.close();
}
@Test
public void testExpireWhilstConsumingMessagesStillInOrder() throws Exception {
ClientProducer producer = clientSession.createProducer(qName);
ClientConsumer consumer = clientSession.createConsumer(qName);
CountDownLatch latch = new CountDownLatch(1);
DummyMessageHandler dummyMessageHandler = new DummyMessageHandler(consumer, latch);
clientSession.start();
Thread thr = new Thread(dummyMessageHandler);
thr.start();
long expiration = System.currentTimeMillis() + 1000;
int numMessages = 0;
long sendMessagesUntil = System.currentTimeMillis() + 2000;
do {
ClientMessage m = createTextMessage(clientSession, "m" + numMessages++);
m.setExpiration(expiration);
producer.send(m);
Thread.sleep(100);
} while (System.currentTimeMillis() < sendMessagesUntil);
Assert.assertTrue(latch.await(10000, TimeUnit.MILLISECONDS));
consumer.close();
consumer = clientSession.createConsumer(expiryQueue);
do {
ClientMessage cm = consumer.receive(2000);
if (cm == null) {
break;
}
String text = cm.getBodyBuffer().readString();
cm.acknowledge();
Assert.assertFalse(dummyMessageHandler.payloads.contains(text));
dummyMessageHandler.payloads.add(text);
} while (true);
for (int i = 0; i < numMessages; i++) {
if (dummyMessageHandler.payloads.isEmpty()) {
break;
}
Assert.assertTrue("m" + i, dummyMessageHandler.payloads.remove("m" + i));
}
consumer.close();
thr.join();
}
//
// public static void main(final String[] args) throws Exception
// {
// for (int i = 0; i < 1000; i++)
// {
// TestSuite suite = new TestSuite();
// ExpiryRunnerTest expiryRunnerTest = new ExpiryRunnerTest();
// expiryRunnerTest.setName("testExpireWhilstConsuming");
// suite.addTest(expiryRunnerTest);
//
// TestResult result = TestRunner.run(suite);
// if (result.errorCount() > 0 || result.failureCount() > 0)
// {
// System.exit(1);
// }
// }
// }
@Override
@Before
public void setUp() throws Exception {
super.setUp();
ConfigurationImpl configuration = (ConfigurationImpl) createDefaultInVMConfig().setMessageExpiryScanPeriod(1000);
server = addServer(ActiveMQServers.newActiveMQServer(configuration, false));
// start the server
server.start();
// then we create a client as normal
locator = createInVMNonHALocator().setBlockOnAcknowledge(true);
ClientSessionFactory sessionFactory = createSessionFactory(locator);
clientSession = sessionFactory.createSession(false, true, true);
clientSession.createQueue(qName, qName, null, false);
expiryAddress = new SimpleString("EA");
expiryQueue = new SimpleString("expiryQ");
AddressSettings addressSettings = new AddressSettings().setExpiryAddress(expiryAddress);
server.getAddressSettingsRepository().addMatch(qName.toString(), addressSettings);
server.getAddressSettingsRepository().addMatch(qName2.toString(), addressSettings);
clientSession.createQueue(expiryAddress, expiryQueue, null, false);
}
private static class DummyMessageHandler implements Runnable {
List<String> payloads = new ArrayList<>();
private final ClientConsumer consumer;
private final CountDownLatch latch;
private DummyMessageHandler(final ClientConsumer consumer, final CountDownLatch latch) {
this.consumer = consumer;
this.latch = latch;
}
@Override
public void run() {
while (true) {
try {
ClientMessage message = consumer.receive(5000);
if (message == null) {
break;
}
message.acknowledge();
payloads.add(message.getBodyBuffer().readString());
Thread.sleep(110);
}
catch (Exception e) {
e.printStackTrace();
}
}
latch.countDown();
}
}
}
| lburgazzoli/apache-activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ExpiryRunnerTest.java | Java | apache-2.0 | 11,691 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Management.Resources.Models;
namespace Azure.Management.Resources
{
/// <summary> The Deployment service client. </summary>
public partial class DeploymentOperations
{
private readonly ClientDiagnostics _clientDiagnostics;
private readonly HttpPipeline _pipeline;
internal DeploymentRestOperations RestClient { get; }
/// <summary> Initializes a new instance of DeploymentOperations for mocking. </summary>
protected DeploymentOperations()
{
}
/// <summary> Initializes a new instance of DeploymentOperations. </summary>
/// <param name="clientDiagnostics"> The handler for diagnostic messaging in the client. </param>
/// <param name="pipeline"> The HTTP pipeline for sending and receiving REST requests and responses. </param>
/// <param name="subscriptionId"> The ID of the target subscription. </param>
/// <param name="endpoint"> server parameter. </param>
/// <param name="apiVersion"> Api Version. </param>
internal DeploymentOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10")
{
RestClient = new DeploymentRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion);
_clientDiagnostics = clientDiagnostics;
_pipeline = pipeline;
}
/// <summary> Gets a deployments operation. </summary>
/// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param>
/// <param name="deploymentName"> The name of the deployment. </param>
/// <param name="operationId"> The ID of the operation to get. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public virtual async Task<Response<DeploymentOperation>> GetAsync(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.Get");
scope.Start();
try
{
return await RestClient.GetAsync(resourceGroupName, deploymentName, operationId, cancellationToken).ConfigureAwait(false);
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Gets a deployments operation. </summary>
/// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param>
/// <param name="deploymentName"> The name of the deployment. </param>
/// <param name="operationId"> The ID of the operation to get. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public virtual Response<DeploymentOperation> Get(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.Get");
scope.Start();
try
{
return RestClient.Get(resourceGroupName, deploymentName, operationId, cancellationToken);
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Gets all deployments operations for a deployment. </summary>
/// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param>
/// <param name="deploymentName"> The name of the deployment with the operation to get. </param>
/// <param name="top"> The number of results to return. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public virtual AsyncPageable<DeploymentOperation> ListAsync(string resourceGroupName, string deploymentName, int? top = null, CancellationToken cancellationToken = default)
{
if (resourceGroupName == null)
{
throw new ArgumentNullException(nameof(resourceGroupName));
}
if (deploymentName == null)
{
throw new ArgumentNullException(nameof(deploymentName));
}
async Task<Page<DeploymentOperation>> FirstPageFunc(int? pageSizeHint)
{
using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List");
scope.Start();
try
{
var response = await RestClient.ListAsync(resourceGroupName, deploymentName, top, cancellationToken).ConfigureAwait(false);
return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse());
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
async Task<Page<DeploymentOperation>> NextPageFunc(string nextLink, int? pageSizeHint)
{
using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List");
scope.Start();
try
{
var response = await RestClient.ListNextPageAsync(nextLink, resourceGroupName, deploymentName, top, cancellationToken).ConfigureAwait(false);
return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse());
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc);
}
/// <summary> Gets all deployments operations for a deployment. </summary>
/// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param>
/// <param name="deploymentName"> The name of the deployment with the operation to get. </param>
/// <param name="top"> The number of results to return. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public virtual Pageable<DeploymentOperation> List(string resourceGroupName, string deploymentName, int? top = null, CancellationToken cancellationToken = default)
{
if (resourceGroupName == null)
{
throw new ArgumentNullException(nameof(resourceGroupName));
}
if (deploymentName == null)
{
throw new ArgumentNullException(nameof(deploymentName));
}
Page<DeploymentOperation> FirstPageFunc(int? pageSizeHint)
{
using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List");
scope.Start();
try
{
var response = RestClient.List(resourceGroupName, deploymentName, top, cancellationToken);
return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse());
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
Page<DeploymentOperation> NextPageFunc(string nextLink, int? pageSizeHint)
{
using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List");
scope.Start();
try
{
var response = RestClient.ListNextPage(nextLink, resourceGroupName, deploymentName, top, cancellationToken);
return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse());
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc);
}
}
}
| stankovski/azure-sdk-for-net | sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentOperations.cs | C# | apache-2.0 | 8,576 |
# Erica jumellei (H.Perrier) Dorr & E.G.H.Oliv. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Philippia jumellei H.Perrier
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Ericaceae/Erica/Erica jumellei/README.md | Markdown | apache-2.0 | 219 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 27 14:37:00 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index (Keywhiz Model 0.8.0 API)</title>
<meta name="date" content="2017-06-27">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (Keywhiz Model 0.8.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="#I:A">A</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:K">K</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a name="I:A">
<!-- -->
</a>
<h2 class="title">A</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#ACCESSGRANTS">ACCESSGRANTS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.accessgrants</code>.</div>
</dd>
<dt><a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Accessgrants</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#ACCESSGRANTS">ACCESSGRANTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.accessgrants</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#Accessgrants--">Accessgrants()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.accessgrants</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#Accessgrants-java.lang.String-">Accessgrants(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.accessgrants</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#ACCESSGRANTS">ACCESSGRANTS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.accessgrants</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">AccessgrantsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#AccessgrantsRecord--">AccessgrantsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Create a detached AccessgrantsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#AccessgrantsRecord-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">AccessgrantsRecord(Long, Long, Long, Long, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised AccessgrantsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#AUTOMATIONALLOWED">AUTOMATIONALLOWED</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.automationallowed</code>.</div>
</dd>
</dl>
<a name="I:C">
<!-- -->
</a>
<h2 class="title">C</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#CHECKSUM">CHECKSUM</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.checksum</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#CLIENTID">CLIENTID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.memberships.clientid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#CLIENTS">CLIENTS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.clients</code>.</div>
</dd>
<dt><a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Clients</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#CLIENTS">CLIENTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.clients</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#Clients--">Clients()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.clients</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#Clients-java.lang.String-">Clients(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.clients</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#CLIENTS">CLIENTS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.clients</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">ClientsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#ClientsRecord--">ClientsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Create a detached ClientsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#ClientsRecord-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.Boolean-java.lang.Boolean-java.lang.Long-">ClientsRecord(Long, String, Long, Long, String, String, String, Boolean, Boolean, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised ClientsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#CONTENT_HMAC">CONTENT_HMAC</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.content_hmac</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#CREATED_AT">CREATED_AT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.users.created_at</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.accessgrants.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.memberships.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#CURRENT">CURRENT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.current</code>.</div>
</dd>
</dl>
<a name="I:D">
<!-- -->
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/DefaultCatalog.html#DEFAULT_CATALOG">DEFAULT_CATALOG</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq">DefaultCatalog</a></dt>
<dd>
<div class="block">The reference instance of <code></code></div>
</dd>
<dt><a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq"><span class="typeNameLink">DefaultCatalog</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.description</code>.</div>
</dd>
</dl>
<a name="I:E">
<!-- -->
</a>
<h2 class="title">E</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#ENABLED">ENABLED</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.enabled</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#ENCRYPTED_CONTENT">ENCRYPTED_CONTENT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.encrypted_content</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#EXECUTION_TIME">EXECUTION_TIME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.execution_time</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#EXPIRY">EXPIRY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.expiry</code>.</div>
</dd>
</dl>
<a name="I:F">
<!-- -->
</a>
<h2 class="title">F</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field11--">field11()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#from-java.lang.Integer-">from(Integer)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#from-java.sql.Timestamp-">from(Timestamp)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#from-java.lang.Byte-">from(Byte)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#fromType--">fromType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#fromType--">fromType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#fromType--">fromType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt>
<dd> </dd>
</dl>
<a name="I:G">
<!-- -->
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getAutomationallowed--">getAutomationallowed()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.automationallowed</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#getCatalog--">getCatalog()</a></span> - Method in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getChecksum--">getChecksum()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.checksum</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getClientid--">getClientid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.memberships.clientid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getContentHmac--">getContentHmac()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.content_hmac</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.accessgrants.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.memberships.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getCreatedAt--">getCreatedAt()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.users.created_at</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getCurrent--">getCurrent()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.current</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getEnabled--">getEnabled()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.enabled</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getEncryptedContent--">getEncryptedContent()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.encrypted_content</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getExecutionTime--">getExecutionTime()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.execution_time</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getExpiry--">getExpiry()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.expiry</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getGroupid--">getGroupid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.accessgrants.groupid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getGroupid--">getGroupid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.memberships.groupid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.accessgrants.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.memberships.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getInstalledBy--">getInstalledBy()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.installed_by</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getInstalledOn--">getInstalledOn()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.installed_on</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getInstalledRank--">getInstalledRank()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.installed_rank</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getLastseen--">getLastseen()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.lastseen</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getMetadata--">getMetadata()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.metadata</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getMetadata--">getMetadata()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.metadata</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getName--">getName()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getName--">getName()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getName--">getName()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getOptions--">getOptions()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.options</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getPasswordHash--">getPasswordHash()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.users.password_hash</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">The class holding records for this type</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/DefaultCatalog.html#getSchemas--">getSchemas()</a></span> - Method in class keywhiz.jooq.<a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq">DefaultCatalog</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getScript--">getScript()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.script</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getSecretid--">getSecretid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.accessgrants.secretid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getSecretid--">getSecretid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.secretid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getSuccess--">getSuccess()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.success</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#getTables--">getTables()</a></span> - Method in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getType--">getType()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.type</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getType--">getType()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.type</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.accessgrants.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.memberships.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getUpdatedAt--">getUpdatedAt()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.users.updated_at</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.clients.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.groups.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets_content.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.secrets.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getUsername--">getUsername()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.users.username</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getVersion--">getVersion()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.version</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getVersionRank--">getVersionRank()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Getter for <code>keywhizdb_test.schema_version.version_rank</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#GROUPID">GROUPID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.accessgrants.groupid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#GROUPID">GROUPID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.memberships.groupid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#GROUPS">GROUPS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.groups</code>.</div>
</dd>
<dt><a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Groups</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#GROUPS">GROUPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.groups</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#Groups--">Groups()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.groups</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#Groups-java.lang.String-">Groups(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.groups</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#GROUPS">GROUPS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.groups</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">GroupsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#GroupsRecord--">GroupsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Create a detached GroupsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#GroupsRecord-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">GroupsRecord(Long, String, Long, Long, String, String, String, String)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised GroupsRecord</div>
</dd>
</dl>
<a name="I:I">
<!-- -->
</a>
<h2 class="title">I</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.accessgrants.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.memberships.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_ACCESSGRANTS">IDENTITY_ACCESSGRANTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_CLIENTS">IDENTITY_CLIENTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_GROUPS">IDENTITY_GROUPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_MEMBERSHIPS">IDENTITY_MEMBERSHIPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_SECRETS">IDENTITY_SECRETS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_SECRETS_CONTENT">IDENTITY_SECRETS_CONTENT</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#INSTALLED_BY">INSTALLED_BY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.installed_by</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#INSTALLED_ON">INSTALLED_ON</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.installed_on</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#INSTALLED_RANK">INSTALLED_RANK</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.installed_rank</code>.</div>
</dd>
</dl>
<a name="I:K">
<!-- -->
</a>
<h2 class="title">K</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX">KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_ACCESSGRANTS_PRIMARY">KEY_ACCESSGRANTS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_CLIENTS_NAME">KEY_CLIENTS_NAME</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_CLIENTS_PRIMARY">KEY_CLIENTS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_GROUPS_NAME">KEY_GROUPS_NAME</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_GROUPS_PRIMARY">KEY_GROUPS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX">KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_MEMBERSHIPS_PRIMARY">KEY_MEMBERSHIPS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SCHEMA_VERSION_PRIMARY">KEY_SCHEMA_VERSION_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SECRETS_CONTENT_PRIMARY">KEY_SECRETS_CONTENT_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SECRETS_NAME_ID_IDX">KEY_SECRETS_NAME_ID_IDX</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SECRETS_PRIMARY">KEY_SECRETS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_USERS_PRIMARY">KEY_USERS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq"><span class="typeNameLink">Keys</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt>
<dd>
<div class="block">A class modelling foreign key relationships between tables of the <code>keywhizdb_test</code>
schema</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#Keys--">Keys()</a></span> - Constructor for class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt>
<dd> </dd>
<dt><a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a> - package keywhiz.jooq</dt>
<dd> </dd>
<dt><a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a> - package keywhiz.jooq.tables</dt>
<dd> </dd>
<dt><a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a> - package keywhiz.jooq.tables.records</dt>
<dd> </dd>
<dt><a href="keywhiz/model/package-summary.html">keywhiz.model</a> - package keywhiz.model</dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/DefaultCatalog.html#KEYWHIZDB_TEST">KEYWHIZDB_TEST</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq">DefaultCatalog</a></dt>
<dd>
<div class="block">The schema <code>keywhizdb_test</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#KEYWHIZDB_TEST">KEYWHIZDB_TEST</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test</code></div>
</dd>
<dt><a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq"><span class="typeNameLink">KeywhizdbTest</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
</dl>
<a name="I:L">
<!-- -->
</a>
<h2 class="title">L</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#LASTSEEN">LASTSEEN</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.lastseen</code>.</div>
</dd>
<dt><a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model"><span class="typeNameLink">LongConverter</span></a> - Class in <a href="keywhiz/model/package-summary.html">keywhiz.model</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#LongConverter--">LongConverter()</a></span> - Constructor for class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt>
<dd> </dd>
</dl>
<a name="I:M">
<!-- -->
</a>
<h2 class="title">M</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#MEMBERSHIPS">MEMBERSHIPS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.memberships</code>.</div>
</dd>
<dt><a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Memberships</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#MEMBERSHIPS">MEMBERSHIPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.memberships</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#Memberships--">Memberships()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.memberships</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#Memberships-java.lang.String-">Memberships(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.memberships</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#MEMBERSHIPS">MEMBERSHIPS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.memberships</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">MembershipsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#MembershipsRecord--">MembershipsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Create a detached MembershipsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#MembershipsRecord-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">MembershipsRecord(Long, Long, Long, Long, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised MembershipsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#METADATA">METADATA</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.metadata</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#METADATA">METADATA</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.metadata</code>.</div>
</dd>
</dl>
<a name="I:N">
<!-- -->
</a>
<h2 class="title">N</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#NAME">NAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#NAME">NAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#NAME">NAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.name</code>.</div>
</dd>
</dl>
<a name="I:O">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#OPTIONS">OPTIONS</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.options</code>.</div>
</dd>
</dl>
<a name="I:P">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#PASSWORD_HASH">PASSWORD_HASH</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.users.password_hash</code>.</div>
</dd>
</dl>
<a name="I:R">
<!-- -->
</a>
<h2 class="title">R</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">Rename this table</div>
</dd>
</dl>
<a name="I:S">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#SCHEMA_VERSION">SCHEMA_VERSION</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.schema_version</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#SCHEMA_VERSION">SCHEMA_VERSION</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.schema_version</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SCHEMA_VERSION">SCHEMA_VERSION</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.schema_version</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">SchemaVersion</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SchemaVersion--">SchemaVersion()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.schema_version</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SchemaVersion-java.lang.String-">SchemaVersion(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.schema_version</code> table reference</div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">SchemaVersionRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#SchemaVersionRecord--">SchemaVersionRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Create a detached SchemaVersionRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#SchemaVersionRecord-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.Boolean-">SchemaVersionRecord(Long, Long, String, String, String, String, Long, String, Long, Long, Boolean)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised SchemaVersionRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SCRIPT">SCRIPT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.script</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#SECRETID">SECRETID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.accessgrants.secretid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SECRETID">SECRETID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.secretid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#SECRETS">SECRETS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.secrets</code>.</div>
</dd>
<dt><a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Secrets</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#SECRETS">SECRETS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.secrets</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#Secrets--">Secrets()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.secrets</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#Secrets-java.lang.String-">Secrets(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.secrets</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#SECRETS">SECRETS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.secrets</code></div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#SECRETS_CONTENT">SECRETS_CONTENT</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.secrets_content</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#SECRETS_CONTENT">SECRETS_CONTENT</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.secrets_content</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SECRETS_CONTENT">SECRETS_CONTENT</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.secrets_content</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">SecretsContent</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SecretsContent--">SecretsContent()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.secrets_content</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SecretsContent-java.lang.String-">SecretsContent(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.secrets_content</code> table reference</div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">SecretsContentRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#SecretsContentRecord--">SecretsContentRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Create a detached SecretsContentRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#SecretsContentRecord-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-">SecretsContentRecord(Long, Long, Long, Long, String, String, String, String, Long, String)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised SecretsContentRecord</div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">SecretsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#SecretsRecord--">SecretsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Create a detached SecretsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#SecretsRecord-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-">SecretsRecord(Long, String, Long, Long, String, String, String, String, String, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised SecretsRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setAutomationallowed-java.lang.Boolean-">setAutomationallowed(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.automationallowed</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setChecksum-java.lang.Long-">setChecksum(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.checksum</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setClientid-java.lang.Long-">setClientid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.memberships.clientid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setContentHmac-java.lang.String-">setContentHmac(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.content_hmac</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.accessgrants.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.memberships.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.createdat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setCreatedAt-java.lang.Long-">setCreatedAt(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.users.created_at</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.createdby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setCurrent-java.lang.Long-">setCurrent(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.current</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.description</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setEnabled-java.lang.Boolean-">setEnabled(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.enabled</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setEncryptedContent-java.lang.String-">setEncryptedContent(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.encrypted_content</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setExecutionTime-java.lang.Long-">setExecutionTime(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.execution_time</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setExpiry-java.lang.Long-">setExpiry(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.expiry</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setGroupid-java.lang.Long-">setGroupid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.accessgrants.groupid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setGroupid-java.lang.Long-">setGroupid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.memberships.groupid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.accessgrants.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.memberships.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.id</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setInstalledBy-java.lang.String-">setInstalledBy(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.installed_by</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setInstalledOn-java.lang.Long-">setInstalledOn(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.installed_on</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setInstalledRank-java.lang.Long-">setInstalledRank(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.installed_rank</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setLastseen-java.lang.Long-">setLastseen(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.lastseen</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setMetadata-java.lang.String-">setMetadata(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.metadata</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setMetadata-java.lang.String-">setMetadata(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.metadata</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setName-java.lang.String-">setName(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setName-java.lang.String-">setName(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setName-java.lang.String-">setName(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.name</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setOptions-java.lang.String-">setOptions(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.options</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setPasswordHash-java.lang.String-">setPasswordHash(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.users.password_hash</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setScript-java.lang.String-">setScript(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.script</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setSecretid-java.lang.Long-">setSecretid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.accessgrants.secretid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setSecretid-java.lang.Long-">setSecretid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.secretid</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setSuccess-java.lang.Boolean-">setSuccess(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.success</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setType-java.lang.String-">setType(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.type</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setType-java.lang.String-">setType(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.type</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.accessgrants.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.memberships.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setUpdatedAt-java.lang.Long-">setUpdatedAt(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.users.updated_at</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.clients.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.groups.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets_content.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.secrets.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setUsername-java.lang.String-">setUsername(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.users.username</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setVersion-java.lang.String-">setVersion(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.version</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setVersionRank-java.lang.Long-">setVersionRank(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dd>
<div class="block">Setter for <code>keywhizdb_test.schema_version.version_rank</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SUCCESS">SUCCESS</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.success</code>.</div>
</dd>
</dl>
<a name="I:T">
<!-- -->
</a>
<h2 class="title">T</h2>
<dl>
<dt><a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq"><span class="typeNameLink">Tables</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt>
<dd>
<div class="block">Convenience access to all tables in keywhizdb_test</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#Tables--">Tables()</a></span> - Constructor for class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd> </dd>
<dt><a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model"><span class="typeNameLink">TimestampConverter</span></a> - Class in <a href="keywhiz/model/package-summary.html">keywhiz.model</a></dt>
<dd>
<div class="block">Converts SQL timestamps to long</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#TimestampConverter--">TimestampConverter()</a></span> - Constructor for class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt>
<dd> </dd>
<dt><a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model"><span class="typeNameLink">TinyIntConverter</span></a> - Class in <a href="keywhiz/model/package-summary.html">keywhiz.model</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#TinyIntConverter--">TinyIntConverter()</a></span> - Constructor for class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#to-java.lang.Long-">to(Long)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#to-java.lang.Long-">to(Long)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#to-java.lang.Boolean-">to(Boolean)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#toType--">toType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#toType--">toType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#toType--">toType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#TYPE">TYPE</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.type</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#TYPE">TYPE</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.type</code>.</div>
</dd>
</dl>
<a name="I:U">
<!-- -->
</a>
<h2 class="title">U</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#UPDATED_AT">UPDATED_AT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.users.updated_at</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.accessgrants.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.memberships.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.updatedat</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.clients.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.groups.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.secrets_content.updatedby</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#USERNAME">USERNAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.users.username</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#USERS">USERS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.users</code>.</div>
</dd>
<dt><a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Users</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#USERS">USERS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt>
<dd>
<div class="block">The table <code>keywhizdb_test.users</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#Users--">Users()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">Create a <code>keywhizdb_test.users</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#Users-java.lang.String-">Users(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">Create an aliased <code>keywhizdb_test.users</code> table reference</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#USERS">USERS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt>
<dd>
<div class="block">The reference instance of <code>keywhizdb_test.users</code></div>
</dd>
<dt><a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">UsersRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt>
<dd>
<div class="block">This class is generated by jOOQ.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#UsersRecord--">UsersRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Create a detached UsersRecord</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#UsersRecord-java.lang.String-java.lang.String-java.lang.Long-java.lang.Long-">UsersRecord(String, String, Long, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dd>
<div class="block">Create a detached, initialised UsersRecord</div>
</dd>
</dl>
<a name="I:V">
<!-- -->
</a>
<h2 class="title">V</h2>
<dl>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value1-java.lang.String-">value1(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value10-java.lang.Long-">value10(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value10-java.lang.Long-">value10(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value10-java.lang.String-">value10(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value10-java.lang.Long-">value10(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value11--">value11()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value11-java.lang.Boolean-">value11(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value3-java.lang.String-">value3(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value4-java.lang.String-">value4(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value5-java.lang.Long-">value5(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value5-java.lang.Long-">value5(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value7-java.lang.Long-">value7(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value8-java.lang.Boolean-">value8(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value9-java.lang.Boolean-">value9(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value9-java.lang.Long-">value9(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value9-java.lang.Long-">value9(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value9-java.lang.String-">value9(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#values-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">values(Long, Long, Long, Long, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#values-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.Boolean-java.lang.Boolean-java.lang.Long-">values(Long, String, Long, Long, String, String, String, Boolean, Boolean, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#values-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">values(Long, String, Long, Long, String, String, String, String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#values-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">values(Long, Long, Long, Long, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#values-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.Boolean-">values(Long, Long, String, String, String, String, Long, String, Long, Long, Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#values-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-">values(Long, Long, Long, Long, String, String, String, String, Long, String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#values-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-">values(Long, String, Long, Long, String, String, String, String, String, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#values-java.lang.String-java.lang.String-java.lang.Long-java.lang.Long-">values(String, String, Long, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#VERSION">VERSION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.version</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#VERSION_RANK">VERSION_RANK</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt>
<dd>
<div class="block">The column <code>keywhizdb_test.schema_version.version_rank</code>.</div>
</dd>
</dl>
<a href="#I:A">A</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:K">K</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2017. All rights reserved.</small></p>
</body>
</html>
| mcpherrinm/keywhiz | docs/javadocs/model/index-all.html | HTML | apache-2.0 | 203,728 |
//
// https://github.com/Dogfalo/materialize/issues/634#issuecomment-113213629
// and
// https://github.com/noodny/materializecss-amd/blob/master/config.js
//
//
require([
'global',
'initial',
'animation',
'buttons',
'cards',
'carousel',
'character_counter',
'chips',
'collapsible',
'dropdown',
'forms',
'hammerjs',
'jquery.easing',
'jquery.hammer',
'jquery.timeago',
'leanModal',
'materialbox',
'parallax',
'picker',
'picker.date',
'prism',
'pushpin',
'scrollFire',
'scrollspy',
'sideNav',
'slider',
'tabs',
'toasts',
'tooltip',
'transitions',
'velocity'
],
function(Materialize) {
return Materialize;
}
);
| romeomaryns/ripple | gateway/src/main/resources/static/materialize-css.js | JavaScript | apache-2.0 | 680 |
//
// SVNAuthenticationProvider.h
// SVNKit
//
// Created by Patrick McDonnell on 8/9/14.
//
#import "SVNAPRPool.h"
@class SVNAuthenticationProvider, SVNAuthenticationCredentials;
@protocol SVNAuthenticationDataSource <NSObject>
@optional
-(BOOL)SVNAuthenticationProvider:(SVNAuthenticationProvider *)provider simpleCredential:(SVNAuthenticationCredentials *)credentials;
-(BOOL)SVNAuthenticationProvider:(SVNAuthenticationProvider *)provider usernameCredential:(SVNAuthenticationCredentials *)credentials;
@end
@interface SVNAuthenticationProvider : SVNAPRPool
@property (nonatomic, readonly) apr_array_header_t *providers;
@property (nonatomic) id<SVNAuthenticationDataSource> dataSource;
@end
| kc9ddi/objc-svnkit | SVNKit/SVNKit/SVNAuthenticationProvider.h | C | apache-2.0 | 708 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
//
//*********************************************************//
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudioTools;
using Microsoft.VisualStudioTools.Project;
namespace Microsoft.NodejsTools.Project {
[Guid("62E8E091-6914-498E-A47B-6F198DC1873D")]
class NodejsGeneralPropertyPage : CommonPropertyPage {
private readonly NodejsGeneralPropertyPageControl _control;
public NodejsGeneralPropertyPage() {
_control = new NodejsGeneralPropertyPageControl(this);
}
public override System.Windows.Forms.Control Control {
get { return _control; }
}
internal override CommonProjectNode Project {
get {
return base.Project;
}
set {
if (value == null && base.Project != null) {
base.Project.PropertyPage = null;
}
base.Project = value;
if (value != null) {
((NodejsProjectNode)value).PropertyPage = this;
}
}
}
public override void Apply() {
Project.SetProjectProperty(NodeProjectProperty.NodeExePath, _control.NodeExePath);
Project.SetProjectProperty(NodeProjectProperty.NodeExeArguments, _control.NodeExeArguments);
Project.SetProjectProperty(CommonConstants.StartupFile, _control.ScriptFile);
Project.SetProjectProperty(NodeProjectProperty.ScriptArguments, _control.ScriptArguments);
Project.SetProjectProperty(NodeProjectProperty.NodejsPort, _control.NodejsPort);
Project.SetProjectProperty(NodeProjectProperty.StartWebBrowser, _control.StartWebBrowser.ToString());
Project.SetProjectProperty(CommonConstants.WorkingDirectory, _control.WorkingDirectory);
Project.SetProjectProperty(NodeProjectProperty.LaunchUrl, _control.LaunchUrl);
Project.SetProjectProperty(NodeProjectProperty.DebuggerPort, _control.DebuggerPort);
Project.SetProjectProperty(NodeProjectProperty.Environment, _control.Environment);
IsDirty = false;
}
public override void LoadSettings() {
Loading = true;
try {
_control.NodeExeArguments = Project.GetUnevaluatedProperty(NodeProjectProperty.NodeExeArguments);
_control.NodeExePath = Project.GetUnevaluatedProperty(NodeProjectProperty.NodeExePath);
_control.ScriptFile = Project.GetUnevaluatedProperty(CommonConstants.StartupFile);
_control.ScriptArguments = Project.GetUnevaluatedProperty(NodeProjectProperty.ScriptArguments);
_control.WorkingDirectory = Project.GetUnevaluatedProperty(CommonConstants.WorkingDirectory);
_control.LaunchUrl = Project.GetUnevaluatedProperty(NodeProjectProperty.LaunchUrl);
_control.NodejsPort = Project.GetUnevaluatedProperty(NodeProjectProperty.NodejsPort);
_control.DebuggerPort = Project.GetUnevaluatedProperty(NodeProjectProperty.DebuggerPort);
_control.Environment = Project.GetUnevaluatedProperty(NodeProjectProperty.Environment);
// Attempt to parse the boolean. If we fail, assume it is true.
bool startWebBrowser;
if (!Boolean.TryParse(Project.GetUnevaluatedProperty(NodeProjectProperty.StartWebBrowser), out startWebBrowser)) {
startWebBrowser = true;
}
_control.StartWebBrowser = startWebBrowser;
} finally {
Loading = false;
}
}
public override string Name {
get { return "General"; }
}
}
}
| mjbvz/nodejstools | Nodejs/Product/Nodejs/Project/NodejsGeneralPropertyPage.cs | C# | apache-2.0 | 4,380 |
# Septoria mikaniae G. Winter SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Septoria mikaniae G. Winter
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Capnodiales/Mycosphaerellaceae/Septoria/Septoria mikaniae/README.md | Markdown | apache-2.0 | 183 |
package org.plista.kornakapi.core.training.preferencechanges;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
public class DelegatingPreferenceChangeListenerForLabel implements PreferenceChangeListenerForLabel {
private final Map<String,List<PreferenceChangeListener>> delegates = Maps.newLinkedHashMap();
public void addDelegate(PreferenceChangeListener listener, String label) {
if(delegates.containsKey(label)){
delegates.get(label).add(listener);
}else{
List<PreferenceChangeListener> delegatesPerLabel = Lists.newArrayList();
delegatesPerLabel.add(listener);
delegates.put(label, delegatesPerLabel);
}
}
@Override
public void notifyOfPreferenceChange(String label) {
for (PreferenceChangeListener listener : delegates.get(label)) {
listener.notifyOfPreferenceChange();
}
}
}
| plista/kornakapi | src/main/java/org/plista/kornakapi/core/training/preferencechanges/DelegatingPreferenceChangeListenerForLabel.java | Java | apache-2.0 | 935 |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using CompatCheckAndMigrate.Helpers;
using CompatCheckAndMigrate.ObjectModel;
namespace CompatCheckAndMigrate.Controls
{
public partial class SiteStatusControl : UserControl, IWizardStep
{
private IISServers IISServers;
public SiteStatusControl()
{
InitializeComponent();
IISServers = null;
}
public event EventHandler<GoToWizardStepEventArgs> GoTo;
public void SetState(object state, bool isNavigatingBack = false)
{
if (state != null)
{
this.IISServers = (IISServers)state;
}
}
private void FireGoToEvent(WizardSteps step, object state = null)
{
EventHandler<GoToWizardStepEventArgs> _goTo = GoTo;
if (_goTo != null)
{
_goTo(this, new GoToWizardStepEventArgs(step, state));
}
}
private void btnFeedback_Click(object sender, EventArgs e)
{
FireGoToEvent(WizardSteps.FeedbackPage, this.IISServers);
}
private void btnInstall_Click(object sender, EventArgs e)
{
FireGoToEvent(WizardSteps.InstallWebDeploy, this.IISServers);
}
private void btnClose_Click(object sender, EventArgs e)
{
System.Windows.Forms.Application.Exit();
}
private void SiteStatusControl_Load(object sender, EventArgs e)
{
if (this.IISServers != null)
{
foreach (var server in this.IISServers.Servers.Values)
{
foreach (var site in server.Sites.Where(s => s.PublishProfile != null && !string.IsNullOrEmpty(s.PublishProfile.SiteName)))
{
var siteItem = new SiteItemControl(site.PublishProfile.SiteName, string.IsNullOrEmpty(site.SiteCreationError));
siteItem.Dock = DockStyle.Top;
statusPanel.Controls.Add(siteItem);
}
}
}
}
private void button1_Click(object sender, EventArgs e)
{
Process.Start(TraceHelper.Tracer.TraceFile);
}
}
}
| Azure/Azure-Websites-Migration-Tool | Controls/SiteStatusControl.cs | C# | apache-2.0 | 2,342 |
<?php namespace DCarbone\PHPClassBuilder\Template;
/*
* Copyright 2016-2017 Daniel Carbone ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
use DCarbone\PHPClassBuilder\Exception\CommentLineIndexNotFoundException;
use DCarbone\PHPClassBuilder\Exception\FilePartNotFoundException;
use DCarbone\PHPClassBuilder\Exception\InvalidClassNameException;
use DCarbone\PHPClassBuilder\Exception\InvalidCommentLineArgumentException;
use DCarbone\PHPClassBuilder\Exception\InvalidCompileOptionValueException;
use DCarbone\PHPClassBuilder\Exception\InvalidFilePartException;
use DCarbone\PHPClassBuilder\Exception\InvalidFunctionBodyPartArgumentException;
use DCarbone\PHPClassBuilder\Exception\InvalidFunctionNameException;
use DCarbone\PHPClassBuilder\Exception\InvalidInterfaceFunctionScopeException;
use DCarbone\PHPClassBuilder\Exception\InvalidInterfaceNameException;
use DCarbone\PHPClassBuilder\Exception\InvalidInterfaceParentArgumentException;
use DCarbone\PHPClassBuilder\Exception\InvalidNamespaceNameException;
use DCarbone\PHPClassBuilder\Exception\InvalidOutputPathException;
use DCarbone\PHPClassBuilder\Exception\InvalidVariableNameException;
use DCarbone\PHPClassBuilder\Exception\MissingNameException;
use DCarbone\PHPClassBuilder\Template\Structure\FunctionTemplate;
/**
* Class AbstractTemplate
* @package DCarbone\PHPClassBuilder\Template
*/
abstract class AbstractTemplate implements TemplateInterface {
/**
* TODO: All templates MUST be able to compile with no options
*
* @return string
*/
public function __toString() {
return $this->compile();
}
/**
* @param mixed $name
* @return InvalidClassNameException
*/
protected function createInvalidClassNameException($name) {
return new InvalidClassNameException(sprintf(
'%s - Specified class name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information.',
get_class($this),
$this->_determineExceptionValueOutput($name)
));
}
/**
* @param mixed $name
* @return InvalidInterfaceNameException
*/
protected function createInvalidInterfaceNameException($name) {
return new InvalidInterfaceNameException(sprintf(
'%s - Specified interface name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information.',
get_class($this),
$this->_determineExceptionValueOutput($name)
));
}
/**
* @param mixed $namespace
* @return InvalidNamespaceNameException
*/
protected function createInvalidNamespaceNameException($namespace) {
return new InvalidNamespaceNameException(sprintf(
'%s - Specified namespace "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information',
get_class($this),
$this->_determineExceptionValueOutput($namespace)
));
}
/**
* @param string $name
* @return \DCarbone\PHPClassBuilder\Exception\InvalidFunctionNameException
*/
protected function createInvalidFunctionNameException($name) {
return new InvalidFunctionNameException(sprintf(
'%s - Specified method name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information',
get_class($this),
$this->_determineExceptionValueOutput($name)
));
}
/**
* @param string $name
* @return \DCarbone\PHPClassBuilder\Exception\InvalidVariableNameException
*/
protected function createInvalidVariableNameException($name) {
return new InvalidVariableNameException(sprintf(
'%s - Specified variable name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information',
get_class($this),
$this->_determineExceptionValueOutput($name)
));
}
/**
* @param string $context
* @return \DCarbone\PHPClassBuilder\Exception\MissingNameException
*/
protected function createMissingNameException($context) {
return new MissingNameException(sprintf(
'%s - %s',
get_class($this),
$context
));
}
/**
* @param string $arg
* @param string $expectedStatement
* @param mixed $actualValue
* @return \DCarbone\PHPClassBuilder\Exception\InvalidCompileOptionValueException
*/
protected function createInvalidCompileOptionValueException($arg, $expectedStatement, $actualValue) {
return new InvalidCompileOptionValueException(sprintf(
'%s - Specified invalid value "%s" for compile argument "%s". Expected: %s',
get_class($this),
$this->_determineExceptionValueOutput($actualValue),
$arg,
$expectedStatement
));
}
/**
* @param mixed $sought
* @return \OutOfBoundsException
*/
protected function createFilePartNotFoundException($sought) {
return new FilePartNotFoundException(sprintf(
'%s - Specified invalid offset "%s".',
get_class($this),
$this->_determineExceptionValueOutput($sought)
));
}
/**
* @param mixed $part
* @return InvalidFilePartException
*/
protected function createInvalidFilePartException($part) {
return new InvalidFilePartException(sprintf(
'%s - Files may only contain Comments and Structures, attempted to add "%s".',
get_class($this),
$this->_determineExceptionValueOutput($part)
));
}
/**
* @param mixed $path
* @return InvalidOutputPathException
*/
protected function createInvalidOutputPathException($path) {
return new InvalidOutputPathException(sprintf(
'%s - Specified output path "%s" does not appear to be a valid filepath.',
get_class($path),
$this->_determineExceptionValueOutput($path)
));
}
/**
* @param mixed $line
* @return InvalidCommentLineArgumentException
*/
protected function createInvalidCommentLineArgumentException($line) {
return new InvalidCommentLineArgumentException(sprintf(
'%s - Comment lines must be scalar types, %s seen.',
get_class($this),
$this->_determineExceptionValueOutput($line)
));
}
/**
* @param mixed $offset
* @return CommentLineIndexNotFoundException
*/
protected function createCommentLineIndexNotFoundException($offset) {
return new CommentLineIndexNotFoundException(sprintf(
'%s - Comment has no line at index "%s"',
get_class($this),
$this->_determineExceptionValueOutput($offset)
));
}
/**
* @param mixed $line
* @return InvalidFunctionBodyPartArgumentException
*/
protected function createInvalidFunctionBodyPartArgumentException($line) {
return new InvalidFunctionBodyPartArgumentException(sprintf(
'%s - Function body lines must be strings, %s seen.',
get_class($this),
$this->_determineExceptionValueOutput($line)
));
}
/**
* @param mixed $argument
* @return InvalidInterfaceParentArgumentException
*/
protected function createInvalidInterfaceParentArgumentException($argument) {
return new InvalidInterfaceParentArgumentException(sprintf(
'%s - Interface parent arguments must either be a string or an instance of InterfaceTemplate, %s seen.',
get_class($this),
$this->_determineExceptionValueOutput($argument)
));
}
/**
* @param FunctionTemplate $function
* @return InvalidInterfaceFunctionScopeException
*/
protected function createInvalidInterfaceFunctionScopeException(FunctionTemplate $function) {
return new InvalidInterfaceFunctionScopeException(sprintf(
'%s - Interface functions must be public, added function %s has scope of %s.',
get_class($this),
$this->_determineExceptionValueOutput($function->getName()),
(string)$function->getScope()
));
}
/**
* @param mixed $value
* @return string
*/
private function _determineExceptionValueOutput($value) {
switch (gettype($value)) {
case 'string':
return $value;
case 'integer':
case 'double':
return (string)$value;
case 'boolean':
return $value ? '(boolean)TRUE' : '(boolean)FALSE';
case 'null':
return 'NULL';
case 'array':
return 'array';
case 'object':
return get_class($value);
case 'resource':
return get_resource_type($value);
default:
return 'UNKNOWN';
}
}
} | dcarbone/php-class-builder | src/Template/AbstractTemplate.php | PHP | apache-2.0 | 9,603 |
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package tools.descartes.teastore.persistence.rest;
import java.util.ArrayList;
import java.util.List;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.PathParam;
import jakarta.ws.rs.QueryParam;
import tools.descartes.teastore.persistence.domain.OrderItemRepository;
import tools.descartes.teastore.persistence.repository.DataGenerator;
import tools.descartes.teastore.registryclient.util.AbstractCRUDEndpoint;
import tools.descartes.teastore.entities.OrderItem;
/**
* Persistence endpoint for for CRUD operations on orders.
* @author Joakim von Kistowski
*
*/
@Path("orderitems")
public class OrderItemEndpoint extends AbstractCRUDEndpoint<OrderItem> {
/**
* {@inheritDoc}
*/
@Override
protected long createEntity(final OrderItem orderItem) {
if (DataGenerator.GENERATOR.isMaintenanceMode()) {
return -1L;
}
return OrderItemRepository.REPOSITORY.createEntity(orderItem);
}
/**
* {@inheritDoc}
*/
@Override
protected OrderItem findEntityById(final long id) {
OrderItem item = OrderItemRepository.REPOSITORY.getEntity(id);
if (item == null) {
return null;
}
return new OrderItem(item);
}
/**
* {@inheritDoc}
*/
@Override
protected List<OrderItem> listAllEntities(final int startIndex, final int maxResultCount) {
List<OrderItem> orderItems = new ArrayList<OrderItem>();
for (OrderItem oi : OrderItemRepository.REPOSITORY.getAllEntities(startIndex, maxResultCount)) {
orderItems.add(new OrderItem(oi));
}
return orderItems;
}
/**
* {@inheritDoc}
*/
@Override
protected boolean updateEntity(long id, OrderItem orderItem) {
return OrderItemRepository.REPOSITORY.updateEntity(id, orderItem);
}
/**
* {@inheritDoc}
*/
@Override
protected boolean deleteEntity(long id) {
if (DataGenerator.GENERATOR.isMaintenanceMode()) {
return false;
}
return OrderItemRepository.REPOSITORY.removeEntity(id);
}
/**
* Returns all order items with the given product Id (all order items for that product).
* @param productId The id of the product.
* @param startPosition The index (NOT ID) of the first order item with the product to return.
* @param maxResult The max number of order items to return.
* @return list of order items with the product.
*/
@GET
@Path("product/{product:[0-9][0-9]*}")
public List<OrderItem> listAllForProduct(@PathParam("product") final Long productId,
@QueryParam("start") final Integer startPosition,
@QueryParam("max") final Integer maxResult) {
if (productId == null) {
return listAll(startPosition, maxResult);
}
List<OrderItem> orderItems = new ArrayList<OrderItem>();
for (OrderItem oi : OrderItemRepository.REPOSITORY.getAllEntitiesWithProduct(productId,
parseIntQueryParam(startPosition), parseIntQueryParam(maxResult))) {
orderItems.add(new OrderItem(oi));
}
return orderItems;
}
/**
* Returns all order items with the given order Id (all order items for that order).
* @param orderId The id of the product.
* @param startPosition The index (NOT ID) of the first order item with the product to return.
* @param maxResult The max number of order items to return.
* @return list of order items with the product.
*/
@GET
@Path("order/{order:[0-9][0-9]*}")
public List<OrderItem> listAllForOrder(@PathParam("order") final Long orderId,
@QueryParam("start") final Integer startPosition,
@QueryParam("max") final Integer maxResult) {
if (orderId == null) {
return listAll(startPosition, maxResult);
}
List<OrderItem> orderItems = new ArrayList<OrderItem>();
for (OrderItem oi : OrderItemRepository.REPOSITORY.getAllEntitiesWithOrder(orderId,
parseIntQueryParam(startPosition), parseIntQueryParam(maxResult))) {
orderItems.add(new OrderItem(oi));
}
return orderItems;
}
}
| DescartesResearch/Pet-Supply-Store | services/tools.descartes.teastore.persistence/src/main/java/tools/descartes/teastore/persistence/rest/OrderItemEndpoint.java | Java | apache-2.0 | 4,492 |
package apple.mlcompute;
import apple.NSObject;
import apple.foundation.NSArray;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import apple.foundation.protocol.NSCopying;
import org.moe.natj.c.ann.FunctionPtr;
import org.moe.natj.general.NatJ;
import org.moe.natj.general.Pointer;
import org.moe.natj.general.ann.Generated;
import org.moe.natj.general.ann.Library;
import org.moe.natj.general.ann.Mapped;
import org.moe.natj.general.ann.MappedReturn;
import org.moe.natj.general.ann.NInt;
import org.moe.natj.general.ann.NUInt;
import org.moe.natj.general.ann.Owned;
import org.moe.natj.general.ann.Runtime;
import org.moe.natj.general.ptr.VoidPtr;
import org.moe.natj.objc.Class;
import org.moe.natj.objc.ObjCRuntime;
import org.moe.natj.objc.SEL;
import org.moe.natj.objc.ann.ObjCClassBinding;
import org.moe.natj.objc.ann.Selector;
import org.moe.natj.objc.map.ObjCObjectMapper;
/**
* MLCRMSPropOptimizer
* <p>
* The MLCRMSPropOptimizer specifies the RMSProp optimizer.
*/
@Generated
@Library("MLCompute")
@Runtime(ObjCRuntime.class)
@ObjCClassBinding
public class MLCRMSPropOptimizer extends MLCOptimizer implements NSCopying {
static {
NatJ.register();
}
@Generated
protected MLCRMSPropOptimizer(Pointer peer) {
super(peer);
}
@Generated
@Selector("accessInstanceVariablesDirectly")
public static native boolean accessInstanceVariablesDirectly();
@Generated
@Owned
@Selector("alloc")
public static native MLCRMSPropOptimizer alloc();
@Owned
@Generated
@Selector("allocWithZone:")
public static native MLCRMSPropOptimizer allocWithZone(VoidPtr zone);
/**
* [@property] alpha
* <p>
* The smoothing constant.
* <p>
* The default is 0.99.
*/
@Generated
@Selector("alpha")
public native float alpha();
@Generated
@Selector("automaticallyNotifiesObserversForKey:")
public static native boolean automaticallyNotifiesObserversForKey(String key);
@Generated
@Selector("cancelPreviousPerformRequestsWithTarget:")
public static native void cancelPreviousPerformRequestsWithTarget(@Mapped(ObjCObjectMapper.class) Object aTarget);
@Generated
@Selector("cancelPreviousPerformRequestsWithTarget:selector:object:")
public static native void cancelPreviousPerformRequestsWithTargetSelectorObject(
@Mapped(ObjCObjectMapper.class) Object aTarget, SEL aSelector,
@Mapped(ObjCObjectMapper.class) Object anArgument);
@Generated
@Selector("classFallbacksForKeyedArchiver")
public static native NSArray<String> classFallbacksForKeyedArchiver();
@Generated
@Selector("classForKeyedUnarchiver")
public static native Class classForKeyedUnarchiver();
@Generated
@Owned
@Selector("copyWithZone:")
@MappedReturn(ObjCObjectMapper.class)
public native Object copyWithZone(VoidPtr zone);
@Generated
@Selector("debugDescription")
public static native String debugDescription_static();
@Generated
@Selector("description")
public static native String description_static();
/**
* [@property] epsilon
* <p>
* A term added to improve numerical stability.
* <p>
* The default is 1e-8.
*/
@Generated
@Selector("epsilon")
public native float epsilon();
@Generated
@Selector("hash")
@NUInt
public static native long hash_static();
@Generated
@Selector("init")
public native MLCRMSPropOptimizer init();
@Generated
@Selector("instanceMethodForSelector:")
@FunctionPtr(name = "call_instanceMethodForSelector_ret")
public static native NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(SEL aSelector);
@Generated
@Selector("instanceMethodSignatureForSelector:")
public static native NSMethodSignature instanceMethodSignatureForSelector(SEL aSelector);
@Generated
@Selector("instancesRespondToSelector:")
public static native boolean instancesRespondToSelector(SEL aSelector);
/**
* [@property] isCentered
* <p>
* If True, compute the centered RMSProp, the gradient is normalized by an estimation of its variance.
* <p>
* The default is false.
*/
@Generated
@Selector("isCentered")
public native boolean isCentered();
@Generated
@Selector("isSubclassOfClass:")
public static native boolean isSubclassOfClass(Class aClass);
@Generated
@Selector("keyPathsForValuesAffectingValueForKey:")
public static native NSSet<String> keyPathsForValuesAffectingValueForKey(String key);
/**
* [@property] momentumScale
* <p>
* The momentum factor. A hyper-parameter.
* <p>
* The default is 0.0.
*/
@Generated
@Selector("momentumScale")
public native float momentumScale();
@Generated
@Owned
@Selector("new")
public static native MLCRMSPropOptimizer new_objc();
/**
* Create a MLCRMSPropOptimizer object with defaults
*
* @return A new MLCRMSPropOptimizer object.
*/
@Generated
@Selector("optimizerWithDescriptor:")
public static native MLCRMSPropOptimizer optimizerWithDescriptor(MLCOptimizerDescriptor optimizerDescriptor);
/**
* Create a MLCRMSPropOptimizer object
*
* @param optimizerDescriptor The optimizer descriptor object
* @param momentumScale The momentum scale
* @param alpha The smoothing constant value
* @param epsilon The epsilon value to use to improve numerical stability
* @param isCentered A boolean to specify whether to compute the centered RMSProp or not
* @return A new MLCRMSPropOptimizer object.
*/
@Generated
@Selector("optimizerWithDescriptor:momentumScale:alpha:epsilon:isCentered:")
public static native MLCRMSPropOptimizer optimizerWithDescriptorMomentumScaleAlphaEpsilonIsCentered(
MLCOptimizerDescriptor optimizerDescriptor, float momentumScale, float alpha, float epsilon,
boolean isCentered);
@Generated
@Selector("resolveClassMethod:")
public static native boolean resolveClassMethod(SEL sel);
@Generated
@Selector("resolveInstanceMethod:")
public static native boolean resolveInstanceMethod(SEL sel);
@Generated
@Selector("setVersion:")
public static native void setVersion_static(@NInt long aVersion);
@Generated
@Selector("superclass")
public static native Class superclass_static();
@Generated
@Selector("version")
@NInt
public static native long version_static();
}
| multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/mlcompute/MLCRMSPropOptimizer.java | Java | apache-2.0 | 6,672 |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* External dependencies
*/
import styled from 'styled-components';
import PropTypes from 'prop-types';
import { Popup } from '@googleforcreators/design-system';
import { __ } from '@googleforcreators/i18n';
/**
* Internal dependencies
*/
import { useCanvas, useConfig } from '../../../app';
import useElementsWithLinks from '../../../utils/useElementsWithLinks';
import { OUTLINK_THEME } from '../../../constants';
import DefaultIcon from './icons/defaultIcon.svg';
import ArrowIcon from './icons/arrowBar.svg';
const Wrapper = styled.div`
position: absolute;
display: flex;
align-items: center;
justify-content: flex-end;
flex-direction: column;
bottom: 0;
height: 20%;
width: 100%;
color: ${({ theme }) => theme.colors.standard.white};
z-index: 3;
`;
const Guideline = styled.div`
mix-blend-mode: difference;
position: absolute;
height: 1px;
bottom: 20%;
width: 100%;
background-image: ${({ theme }) =>
`linear-gradient(to right, ${theme.colors.standard.black} 50%, ${theme.colors.standard.white} 0%)`};
background-position: top;
background-size: 16px 0.5px;
background-repeat: repeat-x;
z-index: 3;
`;
// The CSS here is based on how it's displayed in the front-end, including static
// font-size, line-height, etc. independent of the viewport size -- it's not responsive.
const ArrowBar = styled(ArrowIcon)`
display: block;
cursor: pointer;
margin-bottom: 10px;
filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.3));
width: 20px;
height: 8px;
`;
const OutlinkChip = styled.div`
height: 36px;
display: flex;
position: relative;
padding: 10px 6px;
margin: 0 0 20px;
max-width: calc(100% - 64px);
border-radius: 30px;
place-items: center;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
background: ${({ bgColor }) => bgColor};
`;
const TextWrapper = styled.span`
font-family: Roboto, sans-serif;
font-size: 16px;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
padding-inline-start: 6px;
padding-inline-end: 8px;
height: 16px;
letter-spacing: 0.3px;
font-weight: 700;
max-width: 210px;
color: ${({ fgColor }) => fgColor};
`;
const Tooltip = styled.div`
background-color: ${({ theme }) => theme.colors.standard.black};
color: ${({ theme }) => theme.colors.standard.white};
width: 200px;
padding: 8px;
font-size: 14px;
border-radius: 4px;
text-align: center;
`;
const LinkImage = styled.div`
height: 24px;
width: 24px;
vertical-align: middle;
background-size: cover;
background-repeat: no-repeat;
background-position: 50%;
border-radius: 50%;
background-image: url('${({ icon }) => icon}') !important;
`;
const spacing = { x: 8 };
const LIGHT_COLOR = '#FFFFFF';
const DARK_COLOR = '#000000';
function PageAttachment({ pageAttachment = {} }) {
const {
displayLinkGuidelines,
pageAttachmentContainer,
setPageAttachmentContainer,
} = useCanvas((state) => ({
displayLinkGuidelines: state.state.displayLinkGuidelines,
pageAttachmentContainer: state.state.pageAttachmentContainer,
setPageAttachmentContainer: state.actions.setPageAttachmentContainer,
}));
const { hasInvalidLinkSelected } = useElementsWithLinks();
const {
ctaText = __('Learn more', 'web-stories'),
url,
icon,
theme,
} = pageAttachment;
const { isRTL, styleConstants: { topOffset } = {} } = useConfig();
const bgColor = theme === OUTLINK_THEME.DARK ? DARK_COLOR : LIGHT_COLOR;
const fgColor = theme === OUTLINK_THEME.DARK ? LIGHT_COLOR : DARK_COLOR;
return (
<>
{(displayLinkGuidelines || hasInvalidLinkSelected) && <Guideline />}
<Wrapper role="presentation" ref={setPageAttachmentContainer}>
{url?.length > 0 && (
<>
<ArrowBar fill={bgColor} />
<OutlinkChip bgColor={bgColor}>
{icon ? (
<LinkImage icon={icon} />
) : (
<DefaultIcon fill={fgColor} width={24} height={24} />
)}
<TextWrapper fgColor={fgColor}>{ctaText}</TextWrapper>
</OutlinkChip>
{pageAttachmentContainer && hasInvalidLinkSelected && (
<Popup
isRTL={isRTL}
anchor={{ current: pageAttachmentContainer }}
isOpen
placement={'left'}
spacing={spacing}
topOffset={topOffset}
>
<Tooltip>
{__(
'Links can not reside below the dashed line when a page attachment is present. Your viewers will not be able to click on the link.',
'web-stories'
)}
</Tooltip>
</Popup>
)}
</>
)}
</Wrapper>
</>
);
}
PageAttachment.propTypes = {
pageAttachment: PropTypes.shape({
url: PropTypes.string,
ctaText: PropTypes.string,
}),
};
export default PageAttachment;
| GoogleForCreators/web-stories-wp | packages/story-editor/src/components/canvas/pageAttachment/index.js | JavaScript | apache-2.0 | 5,600 |
package com.jflyfox.dudu.module.system.dao;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jflyfox.dudu.component.model.Query;
import com.jflyfox.dudu.module.system.model.SysMenu;
import com.jflyfox.util.StrUtils;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.jdbc.SQL;
import java.util.List;
/**
* 菜单 数据层
*
* @author flyfox [email protected] on 2017-06-20.
*/
public interface MenuMapper extends BaseMapper<SysMenu> {
@SelectProvider(type = SqlBuilder.class, method = "selectMenuPage")
List<SysMenu> selectMenuPage(Query query);
class SqlBuilder {
public String selectMenuPage(Query query) {
String sqlColumns = "t.id,t.parentid,t.name,t.urlkey,t.url,t.status,t.type,t.sort,t.level,t.enable,t.update_time as updateTime,t.update_id as updateId,t.create_time as createTime,t.create_id as createId";
return new SQL() {{
SELECT(sqlColumns +
" ,p.name as parentName,uu.username as updateName,uc.username as createName");
FROM(" sys_menu t ");
LEFT_OUTER_JOIN(" sys_user uu on t.update_id = uu.id ");
LEFT_OUTER_JOIN(" sys_user uc on t.create_id = uc.id ");
LEFT_OUTER_JOIN(" sys_menu p on t.parentid = p.id ");
if (StrUtils.isNotEmpty(query.getStr("name"))) {
WHERE(" t.name like concat('%',#{name},'%')");
}
if (StrUtils.isNotEmpty(query.getOrderBy())) {
ORDER_BY(query.getOrderBy());
} else {
ORDER_BY(" t.id desc");
}
}}.toString();
}
}
}
| jflyfox/dudu | dudu-admin/src/main/java/com/jflyfox/dudu/module/system/dao/MenuMapper.java | Java | apache-2.0 | 1,715 |
/**
*
* Copyright 2003-2007 Jive Software.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jivesoftware.smack.chat;
import java.util.Collections;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArraySet;
import org.jivesoftware.smack.SmackException.NotConnectedException;
import org.jivesoftware.smack.StanzaCollector;
import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.util.StringUtils;
import org.jxmpp.jid.EntityJid;
/**
* A chat is a series of messages sent between two users. Each chat has a unique
* thread ID, which is used to track which messages are part of a particular
* conversation. Some messages are sent without a thread ID, and some clients
* don't send thread IDs at all. Therefore, if a message without a thread ID
* arrives it is routed to the most recently created Chat with the message
* sender.
*
* @author Matt Tucker
* @deprecated use <code>org.jivesoftware.smack.chat2.Chat</code> from <code>smack-extensions</code> instead.
*/
@Deprecated
public class Chat {
private final ChatManager chatManager;
private final String threadID;
private final EntityJid participant;
private final Set<ChatMessageListener> listeners = new CopyOnWriteArraySet<>();
/**
* Creates a new chat with the specified user and thread ID.
*
* @param chatManager the chatManager the chat will use.
* @param participant the user to chat with.
* @param threadID the thread ID to use.
*/
Chat(ChatManager chatManager, EntityJid participant, String threadID) {
if (StringUtils.isEmpty(threadID)) {
throw new IllegalArgumentException("Thread ID must not be null");
}
this.chatManager = chatManager;
this.participant = participant;
this.threadID = threadID;
}
/**
* Returns the thread id associated with this chat, which corresponds to the
* <tt>thread</tt> field of XMPP messages. This method may return <tt>null</tt>
* if there is no thread ID is associated with this Chat.
*
* @return the thread ID of this chat.
*/
public String getThreadID() {
return threadID;
}
/**
* Returns the name of the user the chat is with.
*
* @return the name of the user the chat is occuring with.
*/
public EntityJid getParticipant() {
return participant;
}
/**
* Sends the specified text as a message to the other chat participant.
* This is a convenience method for:
*
* <pre>
* Message message = chat.createMessage();
* message.setBody(messageText);
* chat.sendMessage(message);
* </pre>
*
* @param text the text to send.
* @throws NotConnectedException
* @throws InterruptedException
*/
public void sendMessage(String text) throws NotConnectedException, InterruptedException {
Message message = new Message();
message.setBody(text);
sendMessage(message);
}
/**
* Sends a message to the other chat participant. The thread ID, recipient,
* and message type of the message will automatically set to those of this chat.
*
* @param message the message to send.
* @throws NotConnectedException
* @throws InterruptedException
*/
public void sendMessage(Message message) throws NotConnectedException, InterruptedException {
// Force the recipient, message type, and thread ID since the user elected
// to send the message through this chat object.
message.setTo(participant);
message.setType(Message.Type.chat);
message.setThread(threadID);
chatManager.sendMessage(this, message);
}
/**
* Adds a stanza(/packet) listener that will be notified of any new messages in the
* chat.
*
* @param listener a stanza(/packet) listener.
*/
public void addMessageListener(ChatMessageListener listener) {
if (listener == null) {
return;
}
// TODO these references should be weak.
listeners.add(listener);
}
public void removeMessageListener(ChatMessageListener listener) {
listeners.remove(listener);
}
/**
* Closes the Chat and removes all references to it from the {@link ChatManager}. The chat will
* be unusable when this method returns, so it's recommend to drop all references to the
* instance right after calling {@link #close()}.
*/
public void close() {
chatManager.closeChat(this);
listeners.clear();
}
/**
* Returns an unmodifiable set of all of the listeners registered with this chat.
*
* @return an unmodifiable set of all of the listeners registered with this chat.
*/
public Set<ChatMessageListener> getListeners() {
return Collections.unmodifiableSet(listeners);
}
/**
* Creates a {@link org.jivesoftware.smack.StanzaCollector} which will accumulate the Messages
* for this chat. Always cancel StanzaCollectors when finished with them as they will accumulate
* messages indefinitely.
*
* @return the StanzaCollector which returns Messages for this chat.
*/
public StanzaCollector createCollector() {
return chatManager.createStanzaCollector(this);
}
/**
* Delivers a message directly to this chat, which will add the message
* to the collector and deliver it to all listeners registered with the
* Chat. This is used by the XMPPConnection class to deliver messages
* without a thread ID.
*
* @param message the message.
*/
void deliver(Message message) {
// Because the collector and listeners are expecting a thread ID with
// a specific value, set the thread ID on the message even though it
// probably never had one.
message.setThread(threadID);
for (ChatMessageListener listener : listeners) {
listener.processMessage(this, message);
}
}
@Override
public String toString() {
return "Chat [(participant=" + participant + "), (thread=" + threadID + ")]";
}
@Override
public int hashCode() {
int hash = 1;
hash = hash * 31 + threadID.hashCode();
hash = hash * 31 + participant.hashCode();
return hash;
}
@Override
public boolean equals(Object obj) {
return obj instanceof Chat
&& threadID.equals(((Chat) obj).getThreadID())
&& participant.equals(((Chat) obj).getParticipant());
}
}
| vanitasvitae/smack-omemo | smack-im/src/main/java/org/jivesoftware/smack/chat/Chat.java | Java | apache-2.0 | 7,127 |
module.exports = function (config) {
'use strict';
config.set({
basePath: '../',
files: [
// Angular libraries.
'app/assets/lib/angular/angular.js',
'app/assets/lib/angular-ui-router/release/angular-ui-router.js',
'app/assets/lib/angular-bootstrap/ui-bootstrap.min.js',
'app/assets/lib/angular-mocks/angular-mocks.js',
'app/assets/lib/angular-bootstrap/ui-bootstrap-tpls.min.js',
'app/assets/lib/angular-busy/dist/angular-busy.min.js',
'app/assets/lib/angular-resource/angular-resource.min.js',
'app/assets/lib/angular-confirm-modal/angular-confirm.js',
// JS files.
'app/app.js',
'app/components/**/*.js',
'app/shared/*.js',
'app/shared/**/*.js',
'app/assets/js/*.js',
// Test Specs.
'tests/unit/*.js'
],
autoWatch: true,
frameworks: ['jasmine'],
browsers: ['Firefox', 'PhantomJS', 'Chrome'],
plugins: [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-phantomjs-launcher',
'karma-jasmine'
],
junitReporter: {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
});
};
| markvoelker/refstack | refstack-ui/tests/karma.conf.js | JavaScript | apache-2.0 | 1,354 |
package edu.kit.tm.pseprak2.alushare.view;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.os.Environment;
import android.util.Log;
import java.io.IOException;
/**
* Represent the AudioRecorder of the ChatActivity.
* Enables recording sound and playing the music before sending.
*
* Created by Arthur Anselm on 17.08.15.
*/
public class AudioRecorder {
private String mFileName = null;
private String TAG = "AudioRecorder";
private MediaRecorder mRecorder = null;
private MediaPlayer mPlayer = null;
private ChatController controller;
private boolean busy;
//private SeekBar mSeekbar;
//private Handler mHandler;
/**
* The constructor of this class.
* @param controller the controller for this audioRecorder object
*/
public AudioRecorder(ChatController controller){
if(controller == null){
throw new NullPointerException();
}
this.controller = controller;
//this.mSeekbar = seekBar;
//this.mHandler = new Handler();
this.mFileName = Environment.getExternalStorageDirectory().getAbsolutePath();
this.mFileName += "/audiorecord_alushare.m4a";
this.busy = false;
}
/**
* Invokes the method startRecording() (and sets busy to true) if start is true else
* stopRecording().
* @param start boolean to start or stop recording
*/
public void onRecord(boolean start) {
if (start) {
busy = true;
startRecording();
} else {
stopRecording();
}
}
/**
* Invokes startPlaying() if start is true else stopPlaying().
* @param start boolean to start or stop playing
*/
public void onPlay(boolean start) {
if (start) {
startPlaying();
} else {
stopPlaying();
}
}
/**
* Creates a new mediaPlayer and sets it up. After that starts playing the audoFile stored in
* the filesPath mFileName
*/
private void startPlaying() {
if(mFileName == null){
throw new NullPointerException("Recorded file is null.");
}
setUpMediaPlayer();
try {
mPlayer.setDataSource(mFileName);
mPlayer.prepare();
mPlayer.start();
} catch (IOException e) {
Log.e(TAG, "prepare() failed");
}
}
/**
* Creates a new mediaPlayer and sets the completion listener.
*/
private void setUpMediaPlayer(){
mPlayer = new MediaPlayer();
mPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mp) {
Log.e(TAG, " : Playing of Sound completed");
controller.setPlayButtonVisible(true);
}
});
/*
mPlayer.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
@Override
public void onPrepared(final MediaPlayer mp) {
mSeekbar.setMax(mp.getDuration());
new Thread(new Runnable() {
@Override
public void run() {
while (mp != null && mp.getCurrentPosition() < mp.getDuration()) {
mSeekbar.setProgress(mp.getCurrentPosition());
Message msg = new Message();
int millis = mp.getCurrentPosition();
msg.obj = millis / 1000;
mHandler.sendMessage(msg);
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}).start();
}
});*/
}
/**
* Stops playing the mediaPlayer with the method release() and releases the references to the
* mediaPlayer if the mediaPlayer isn't null.
*/
private void stopPlaying() {
if(mPlayer != null) {
mPlayer.release();
mPlayer = null;
} else {
Log.e(TAG, "MediaPlayer is null. stopPlaying() can't be executed.");
}
}
/**
* Creates a new mediaRecorder and set it up.
* Start recording and saving the audio data into the file stored at fileName.
*/
private void startRecording() {
mRecorder = new MediaRecorder();
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
mRecorder.setAudioChannels(1);
mRecorder.setAudioSamplingRate(44100);
mRecorder.setAudioEncodingBitRate(96000);
mRecorder.setOutputFile(mFileName);
try {
mRecorder.prepare();
} catch (IOException e) {
Log.e(TAG, "prepare() failed");
return;
}
mRecorder.start();
}
/**
* Stops recording, invokes release of the mediaRecorder and releases the references to the
* mediaRecorder if the mediaRecorder isn't null.
*/
private void stopRecording() {
if(mRecorder != null) {
mRecorder.stop();
mRecorder.release();
mRecorder = null;
} else {
Log.e(TAG, "MediaRecorder is null. stopRecording() can't be executed.");
}
}
/**
*Return the filePath of the recorded audio file
* @return this.mFileName
*/
public String getFilePath(){
return mFileName;
}
/**
* Sets the busyness of this audioRecorder
* @param busy true if the audioRecorder is active else false
*/
public void setBusy(boolean busy){
this.busy = busy;
}
/**
* Checks if this audioRecorder is active oder not. Returns busy.
* @return busy
*/
public boolean isBusy(){
return busy;
}
}
| weichweich/AluShare | app/src/main/java/edu/kit/tm/pseprak2/alushare/view/AudioRecorder.java | Java | apache-2.0 | 6,151 |
package com.zts.service.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = DataSourceProperties.DS, ignoreUnknownFields = false)
public class DataSourceProperties {
//对应配置文件里的配置键
public final static String DS="mysql";
private String driverClassName ="com.mysql.jdbc.Driver";
private String url;
private String username;
private String password;
private int maxActive = 100;
private int maxIdle = 8;
private int minIdle = 8;
private int initialSize = 10;
private String validationQuery;
public String getDriverClassName() {
return driverClassName;
}
public void setDriverClassName(String driverClassName) {
this.driverClassName = driverClassName;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public int getMaxActive() {
return maxActive;
}
public void setMaxActive(int maxActive) {
this.maxActive = maxActive;
}
public int getMaxIdle() {
return maxIdle;
}
public void setMaxIdle(int maxIdle) {
this.maxIdle = maxIdle;
}
public int getMinIdle() {
return minIdle;
}
public void setMinIdle(int minIdle) {
this.minIdle = minIdle;
}
public int getInitialSize() {
return initialSize;
}
public void setInitialSize(int initialSize) {
this.initialSize = initialSize;
}
public String getValidationQuery() {
return validationQuery;
}
public void setValidationQuery(String validationQuery) {
this.validationQuery = validationQuery;
}
public boolean isTestOnBorrow() {
return testOnBorrow;
}
public void setTestOnBorrow(boolean testOnBorrow) {
this.testOnBorrow = testOnBorrow;
}
public boolean isTestOnReturn() {
return testOnReturn;
}
public void setTestOnReturn(boolean testOnReturn) {
this.testOnReturn = testOnReturn;
}
private boolean testOnBorrow = false;
private boolean testOnReturn = false;
} | tushengtuzhang/zts | cloud-simple-service/src/main/java/com/zts/service/config/DataSourceProperties.java | Java | apache-2.0 | 2,197 |
package com.github.approval.sesame;
/*
* #%L
* approval-sesame
* %%
* Copyright (C) 2014 Nikolavp
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import com.github.approval.Reporter;
import com.github.approval.reporters.ExecutableDifferenceReporter;
import com.github.approval.reporters.Reporters;
import com.github.approval.reporters.SwingInteractiveReporter;
import java.io.File;
/**
* <p>
* A reporter that can be used to verify dot files. It will compile the file to an image and open it through
* {@link com.github.approval.reporters.Reporters#fileLauncher()}.
* </p>
* <p>
* Note that this reporter cannot be used for anything else and will give you an error beceause it will
* try to compile the verification file with the "dot" command.
* </p>
*/
public final class GraphReporter extends ExecutableDifferenceReporter {
/**
* Get an instance of the reporter.
* @return a graph reporter
*/
public static Reporter getInstance() {
return SwingInteractiveReporter.wrap(new GraphReporter());
}
/**
* Main constructor for the executable reporter.
*/
private GraphReporter() {
super("dot -T png -O ", "dot -T png -O ", "dot");
}
private static File addPng(File file) {
return new File(file.getAbsoluteFile().getAbsolutePath() + ".png");
}
@Override
public void approveNew(byte[] value, File approvalDestination, File fileForVerification) {
super.approveNew(value, approvalDestination, fileForVerification);
Reporters.fileLauncherWithoutInteraction().approveNew(value, addPng(approvalDestination), addPng(fileForVerification));
}
@Override
protected String[] buildApproveNewCommand(File approvalDestination, File fileForVerification) {
return new String[]{getApprovalCommand(), approvalDestination.getAbsolutePath()};
}
@Override
protected String[] buildNotTheSameCommand(File fileForVerification, File fileForApproval) {
return new String[]{getDiffCommand(), fileForApproval.getAbsolutePath()};
}
@Override
public void notTheSame(byte[] oldValue, File fileForVerification, byte[] newValue, File fileForApproval) {
super.notTheSame(oldValue, fileForVerification, newValue, fileForApproval);
Reporters.fileLauncherWithoutInteraction().notTheSame(oldValue, addPng(fileForVerification), newValue, addPng(fileForApproval));
}
}
| nikolavp/approval | approval-sesame/src/main/java/com/github/approval/sesame/GraphReporter.java | Java | apache-2.0 | 2,951 |
import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
import { get } from '@ember/object';
export default Route.extend({
access: service(),
catalog: service(),
scope: service(),
beforeModel() {
this._super(...arguments);
return get(this, 'catalog').fetchUnScopedCatalogs().then((hash) => {
this.set('catalogs', hash);
});
},
model(params) {
return get(this, 'catalog').fetchTemplates(params)
.then((res) => {
res.catalogs = get(this, 'catalogs');
return res;
});
},
resetController(controller, isExiting/* , transition*/) {
if (isExiting) {
controller.setProperties({
category: '',
catalogId: '',
projectCatalogId: '',
clusterCatalogId: '',
})
}
},
deactivate() {
// Clear the cache when leaving the route so that it will be reloaded when you come back.
this.set('cache', null);
},
actions: {
refresh() {
// Clear the cache so it has to ask the server again
this.set('cache', null);
this.refresh();
},
},
queryParams: {
category: { refreshModel: true },
catalogId: { refreshModel: true },
clusterCatalogId: { refreshModel: true },
projectCatalogId: { refreshModel: true },
},
});
| lvuch/ui | lib/global-admin/addon/multi-cluster-apps/catalog/route.js | JavaScript | apache-2.0 | 1,345 |
package AbsSytree;
import java.util.ArrayList;
public class SynExprSeq extends AbsSynNode {
public ArrayList<AbsSynNode> exprs;
public SynExprSeq(AbsSynNode e) {
this.exprs = new ArrayList<AbsSynNode>();
this.exprs.add(e);
}
public SynExprSeq append(AbsSynNode e) {
this.exprs.add(e);
return this;
}
@Override
public Object visit(SynNodeVisitor visitor) {
return visitor.visit(this);
}
@Override
public void dumpNode(int indent) {
for (int i = 0; i < this.exprs.size(); ++i) {
this.exprs.get(i).dumpNode(indent);
this.dumpFormat(indent, ";");
}
}
@Override
public void clearAttr() {
this.attr = null;
for (int i = 0; i < this.exprs.size(); ++i)
this.exprs.get(i).clearAttr();
}
}
| mingyuan-xia/TigerCC | src/AbsSytree/SynExprSeq.java | Java | apache-2.0 | 767 |
/**
* Copyright 2017 Matthieu Jimenez. All rights reserved.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package paw.graph.customTypes.bitset;
import greycat.base.BaseCustomType;
import greycat.struct.EStructArray;
import greycat.utility.HashHelper;
import org.roaringbitmap.IntIterator;
import java.util.List;
public abstract class CTBitset extends BaseCustomType{
public static final String BITS = "bits";
protected static final int BITS_H = HashHelper.hash(BITS);
public CTBitset(EStructArray p_backend) {
super(p_backend);
}
public abstract void save();
public abstract void clear();
public abstract boolean add(int index);
public abstract boolean addAll(List<Integer> indexs);
public abstract void clear(int index);
public abstract int size();
public abstract int cardinality();
public abstract boolean get(int index);
public abstract int nextSetBit(int startIndex);
public abstract IntIterator iterator();
}
| greycat-incubator/Paw | src/main/java/paw/graph/customTypes/bitset/CTBitset.java | Java | apache-2.0 | 1,522 |
/*
* Copyright (c) 2015 PLUMgrid, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "bcc_common.h"
#include "bpf_module.h"
extern "C" {
void * bpf_module_create_c(const char *filename, unsigned flags, const char *cflags[],
int ncflags, bool allow_rlimit, const char *dev_name) {
auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name);
if (mod->load_c(filename, cflags, ncflags) != 0) {
delete mod;
return nullptr;
}
return mod;
}
void * bpf_module_create_c_from_string(const char *text, unsigned flags, const char *cflags[],
int ncflags, bool allow_rlimit, const char *dev_name) {
auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name);
if (mod->load_string(text, cflags, ncflags) != 0) {
delete mod;
return nullptr;
}
return mod;
}
bool bpf_module_rw_engine_enabled() {
return ebpf::bpf_module_rw_engine_enabled();
}
void bpf_module_destroy(void *program) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return;
delete mod;
}
size_t bpf_num_functions(void *program) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->num_functions();
}
const char * bpf_function_name(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->function_name(id);
}
void * bpf_function_start(void *program, const char *name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->function_start(name);
}
void * bpf_function_start_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->function_start(id);
}
size_t bpf_function_size(void *program, const char *name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->function_size(name);
}
size_t bpf_function_size_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->function_size(id);
}
char * bpf_module_license(void *program) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->license();
}
unsigned bpf_module_kern_version(void *program) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->kern_version();
}
size_t bpf_num_tables(void *program) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->num_tables();
}
size_t bpf_table_id(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return ~0ull;
return mod->table_id(table_name);
}
int bpf_table_fd(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_fd(table_name);
}
int bpf_table_fd_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_fd(id);
}
int bpf_table_type(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_type(table_name);
}
int bpf_table_type_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_type(id);
}
size_t bpf_table_max_entries(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->table_max_entries(table_name);
}
size_t bpf_table_max_entries_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->table_max_entries(id);
}
int bpf_table_flags(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_flags(table_name);
}
int bpf_table_flags_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_flags(id);
}
const char * bpf_table_name(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->table_name(id);
}
const char * bpf_table_key_desc(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->table_key_desc(table_name);
}
const char * bpf_table_key_desc_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->table_key_desc(id);
}
const char * bpf_table_leaf_desc(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->table_leaf_desc(table_name);
}
const char * bpf_table_leaf_desc_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return nullptr;
return mod->table_leaf_desc(id);
}
size_t bpf_table_key_size(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->table_key_size(table_name);
}
size_t bpf_table_key_size_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->table_key_size(id);
}
size_t bpf_table_leaf_size(void *program, const char *table_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->table_leaf_size(table_name);
}
size_t bpf_table_leaf_size_id(void *program, size_t id) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return 0;
return mod->table_leaf_size(id);
}
int bpf_table_key_snprintf(void *program, size_t id, char *buf, size_t buflen, const void *key) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_key_printf(id, buf, buflen, key);
}
int bpf_table_leaf_snprintf(void *program, size_t id, char *buf, size_t buflen, const void *leaf) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_leaf_printf(id, buf, buflen, leaf);
}
int bpf_table_key_sscanf(void *program, size_t id, const char *buf, void *key) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_key_scanf(id, buf, key);
}
int bpf_table_leaf_sscanf(void *program, size_t id, const char *buf, void *leaf) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->table_leaf_scanf(id, buf, leaf);
}
int bcc_func_load(void *program, int prog_type, const char *name,
const struct bpf_insn *insns, int prog_len,
const char *license, unsigned kern_version,
int log_level, char *log_buf, unsigned log_buf_size,
const char *dev_name) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod) return -1;
return mod->bcc_func_load(prog_type, name, insns, prog_len,
license, kern_version, log_level,
log_buf, log_buf_size, dev_name);
}
size_t bpf_perf_event_fields(void *program, const char *event) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod)
return 0;
return mod->perf_event_fields(event);
}
const char * bpf_perf_event_field(void *program, const char *event, size_t i) {
auto mod = static_cast<ebpf::BPFModule *>(program);
if (!mod)
return nullptr;
return mod->perf_event_field(event, i);
}
}
| iovisor/bcc | src/cc/bcc_common.cc | C++ | apache-2.0 | 8,190 |
<!DOCTYPE html>
<html lang="en" ng-app="querypro">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Jesse Cascio">
<title>SB Admin 2 - Bootstrap Admin Theme</title>
<!-- Bootstrap Core CSS -->
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- MetisMenu CSS -->
<link href="bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="dist/css/sb-admin-2.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- d3 @ 3.5.5 -->
<script src="js/d3.min.js"></script>
</head>
<body>
<div id="wrapper">
<!-- Navigation -->
<div ng-include src="'includes/navigation.html'"></div>
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Blank</h1>
<div class="d3"></div>
<!-- d3 code -->
<script type="text/javascript">
// From http://mkweb.bcgsc.ca/circos/guide/tables/
var matrix = [
[11975, 5871, 8916, 2868],
[ 1951, 10048, 2060, 6171],
[ 8010, 16145, 8090, 8045],
[ 1013, 990, 940, 6907]
];
var chord = d3.layout.chord()
.padding(.05)
.sortSubgroups(d3.descending)
.matrix(matrix);
var width = 960,
height = 500,
innerRadius = Math.min(width, height) * .41,
outerRadius = innerRadius * 1.1;
var fill = d3.scale.ordinal()
.domain(d3.range(4))
.range(["#000000", "#FFDD89", "#957244", "#F26223"]);
var svg = d3.select("div.d3").append("svg")
.attr("width", width)
.attr("height", height)
.append("g")
.attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
svg.append("g").selectAll("path")
.data(chord.groups)
.enter().append("path")
.style("fill", function(d) { return fill(d.index); })
.style("stroke", function(d) { return fill(d.index); })
.attr("d", d3.svg.arc().innerRadius(innerRadius).outerRadius(outerRadius))
.on("mouseover", fade(.1))
.on("mouseout", fade(1));
var ticks = svg.append("g").selectAll("g")
.data(chord.groups)
.enter().append("g").selectAll("g")
.data(groupTicks)
.enter().append("g")
.attr("transform", function(d) {
return "rotate(" + (d.angle * 180 / Math.PI - 90) + ")"
+ "translate(" + outerRadius + ",0)";
});
ticks.append("line")
.attr("x1", 1)
.attr("y1", 0)
.attr("x2", 5)
.attr("y2", 0)
.style("stroke", "#000");
ticks.append("text")
.attr("x", 8)
.attr("dy", ".35em")
.attr("transform", function(d) { return d.angle > Math.PI ? "rotate(180)translate(-16)" : null; })
.style("text-anchor", function(d) { return d.angle > Math.PI ? "end" : null; })
.text(function(d) { return d.label; });
svg.append("g")
.attr("class", "chord")
.selectAll("path")
.data(chord.chords)
.enter().append("path")
.attr("d", d3.svg.chord().radius(innerRadius))
.style("fill", function(d) { return fill(d.target.index); })
.style("opacity", 1);
// Returns an array of tick angles and labels, given a group.
function groupTicks(d) {
var k = (d.endAngle - d.startAngle) / d.value;
return d3.range(0, d.value, 1000).map(function(v, i) {
return {
angle: v * k + d.startAngle,
label: i % 5 ? null : v / 1000 + "k"
};
});
}
// Returns an event handler for fading a given chord group.
function fade(opacity) {
return function(g, i) {
svg.selectAll(".chord path")
.filter(function(d) { return d.source.index != i && d.target.index != i; })
.transition()
.style("opacity", opacity);
};
}
/*
var columns = ['hash', 'query', 'duration'];
var points = [
[123,'query1',.230],
[124,'query2',.231],
[125,'query3',.232],
[126,'query4',.233],
[127,'query5',.234],
[128,'query6',.235],
[129,'query7',.236],
[131,'query8',.237],
];
d3.select("body").append("p").text("New paragraph!");
*/
</script>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- angularjs @ 1.4.1 -->
<script src="js/angular.min.js"></script>
<!-- app -->
<script src="js/app.js"></script>
<!-- jQuery -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="dist/js/sb-admin-2.js"></script>
</body>
</html>
| jessecascio/querypro | src/public/examples/d3-test.html | HTML | apache-2.0 | 8,255 |
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.microsoft.windowsazure.core.pipeline;
import com.sun.jersey.core.util.Base64;
import javax.xml.bind.annotation.adapters.XmlAdapter;
/*
* JAXB adapter for a Base64 encoded string element
*/
public class Base64StringAdapter extends XmlAdapter<String, String> {
@Override
public String marshal(String arg0) throws Exception {
return new String(Base64.encode(arg0), "UTF-8");
}
@Override
public String unmarshal(String arg0) throws Exception {
return Base64.base64Decode(arg0);
}
}
| southworkscom/azure-sdk-for-java | core/azure-core/src/main/java/com/microsoft/windowsazure/core/pipeline/Base64StringAdapter.java | Java | apache-2.0 | 1,133 |
/**
* Copyright 2016 William Van Woensel
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*
*
* @author wvw
*
*/
package wvw.utils.rule.builder;
public abstract class RuleBuilder {
protected String id;
protected StringBuffer templateClause = new StringBuffer();
protected StringBuffer conditionClause = new StringBuffer();
public RuleBuilder() {
}
public RuleBuilder(String id) {
this.id = id;
}
public void appendTemplate(String template) {
templateClause.append("\t").append(template);
}
public void appendCondition(String condition) {
conditionClause.append("\t").append(condition);
}
public String getId() {
return id;
}
public abstract String toString();
}
| darth-willy/mobibench | MobiBenchWebService/src/main/java/wvw/utils/rule/builder/RuleBuilder.java | Java | apache-2.0 | 1,192 |
// Copyright 2012 Max Toro Q.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace myxsl.saxon {
static class StringExtensions {
public static bool HasValue(this string s) {
return !String.IsNullOrEmpty(s);
}
}
}
| maxtoroq/myxsl | src/myxsl.saxon/util/StringExtensions.cs | C# | apache-2.0 | 851 |
using System;
using System.IO;
using System.Text;
namespace NuGet
{
public static class StreamExtensions
{
public static byte[] ReadAllBytes(this Stream stream)
{
var memoryStream = stream as MemoryStream;
if (memoryStream != null)
{
return memoryStream.ToArray();
}
else
{
using (memoryStream = new MemoryStream())
{
stream.CopyTo(memoryStream);
return memoryStream.ToArray();
}
}
}
/// <summary>
/// Turns an existing stream into one that a stream factory that can be reopened.
/// </summary>
public static Func<Stream> ToStreamFactory(this Stream stream)
{
byte[] buffer;
using (var ms = new MemoryStream())
{
stream.CopyTo(ms);
buffer = ms.ToArray();
}
return () => new MemoryStream(buffer);
}
public static string ReadToEnd(this Stream stream)
{
using (var streamReader = new StreamReader(stream))
{
return streamReader.ReadToEnd();
}
}
public static Stream AsStream(this string value)
{
return AsStream(value, Encoding.UTF8);
}
public static Stream AsStream(this string value, Encoding encoding)
{
return new MemoryStream(encoding.GetBytes(value));
}
public static bool ContentEquals(this Stream stream, Stream otherStream)
{
return Crc32.Calculate(stream) == Crc32.Calculate(otherStream);
}
}
}
| xero-github/Nuget | src/Core/Extensions/StreamExtensions.cs | C# | apache-2.0 | 1,831 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /ammon/images/sliders</title>
<meta charset="UTF-8"></head>
<body>
<h1>Index of /ammon/images/sliders</h1>
<ul><li><a href="../index.html"> Parent Directory</a></li>
<li><a href="./anything_slider/index.html"> anything_slider/</a></li>
<li><a href="./full_slider/index.html"> full_slider/</a></li>
<li><a href="./interactive_content/index.html"> interactive_content/</a></li>
<li><a href="./nivoslider/index.html"> nivoslider/</a></li>
<li><a href="./piecemaker/index.html"> piecemaker/</a></li>
<li><a href="./portfolio_showcase/index.html"> portfolio_showcase/</a></li>
<li><a href="./wowslider/index.html"> wowslider/</a></li>
</ul>
</body></html>
| hammadalinaqvi/bookstoregenie | images/sliders/index.html | HTML | apache-2.0 | 742 |
enum{V};
enum{K}ABC;
enum{Global = 10,Window}Type; | liunan/compiler | cpp_paser/sample/enum.h | C | apache-2.0 | 52 |
/*
* Copyright 2013, Unitils.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.unitils.core.reflect;
import org.junit.Before;
import org.junit.Test;
import java.lang.reflect.ParameterizedType;
import java.util.List;
import java.util.Map;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
/**
* @author Tim Ducheyne
*/
public class TypeWrapperIsAssignableParameterizedTypeTest {
/* Tested object */
private TypeWrapper typeWrapper;
private ParameterizedType type1;
private ParameterizedType type2;
private ParameterizedType type3;
private ParameterizedType type4;
private ParameterizedType type5;
private ParameterizedType type6;
private ParameterizedType type7;
private ParameterizedType type8;
@Before
public void initialize() throws Exception {
typeWrapper = new TypeWrapper(null);
type1 = (ParameterizedType) MyClass.class.getDeclaredField("field1").getGenericType();
type2 = (ParameterizedType) MyClass.class.getDeclaredField("field2").getGenericType();
type3 = (ParameterizedType) MyClass.class.getDeclaredField("field3").getGenericType();
type4 = (ParameterizedType) MyClass.class.getDeclaredField("field4").getGenericType();
type5 = (ParameterizedType) MyClass.class.getDeclaredField("field5").getGenericType();
type6 = (ParameterizedType) MyClass.class.getDeclaredField("field6").getGenericType();
type7 = (ParameterizedType) MyClass.class.getDeclaredField("field7").getGenericType();
type8 = (ParameterizedType) MyClass.class.getDeclaredField("field8").getGenericType();
}
@Test
public void equal() {
boolean result = typeWrapper.isAssignableParameterizedType(type1, type2);
assertTrue(result);
}
@Test
public void assignableParameter() {
boolean result = typeWrapper.isAssignableParameterizedType(type6, type7);
assertTrue(result);
}
@Test
public void nestedAssignableParameters() {
boolean result = typeWrapper.isAssignableParameterizedType(type3, type4);
assertTrue(result);
}
@Test
public void falseWhenDifferentNrOfTypeParameters() {
boolean result = typeWrapper.isAssignableParameterizedType(type2, type7);
assertFalse(result);
}
@Test
public void falseWhenNotEqualNonWildCardType() {
boolean result = typeWrapper.isAssignableParameterizedType(type7, type8);
assertFalse(result);
}
@Test
public void falseWhenNotAssignableToWildCard() {
boolean result = typeWrapper.isAssignableParameterizedType(type6, type8);
assertFalse(result);
}
@Test
public void falseWhenNotAssignableToNestedWildCard() {
boolean result = typeWrapper.isAssignableParameterizedType(type3, type5);
assertFalse(result);
}
private static class MyClass {
private Map<Type1, Type1> field1;
private Map<Type1, Type1> field2;
private Map<? extends List<? extends Type1>, ? extends List<?>> field3;
private Map<List<Type1>, List<Type2>> field4;
private Map<List<String>, List<String>> field5;
private List<? extends Type1> field6;
private List<Type2> field7;
private List<String> field8;
}
private static class Type1 {
}
private static class Type2 extends Type1 {
}
}
| Silvermedia/unitils | unitils-test/src/test/java/org/unitils/core/reflect/TypeWrapperIsAssignableParameterizedTypeTest.java | Java | apache-2.0 | 4,075 |
/*
* Copyright (c) 2010-2014. Axon Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.axonframework.common.lock;
/**
* Interface to the lock factory. A lock factory produces locks on resources that are shared between threads.
*
* @author Allard Buijze
* @since 0.3
*/
public interface LockFactory {
/**
* Obtain a lock for a resource identified by given {@code identifier}. Depending on the strategy, this
* method may return immediately or block until a lock is held.
*
* @param identifier the identifier of the resource to obtain a lock for.
* @return a handle to release the lock.
*/
Lock obtainLock(String identifier);
}
| soulrebel/AxonFramework | core/src/main/java/org/axonframework/common/lock/LockFactory.java | Java | apache-2.0 | 1,205 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'litleleprikon'
from random import randint
FIGURES = ['камень', 'бумага', 'ножницы']
FIG_LEN = len(FIGURES)
class Player:
"""
Player class is needed to store tactics and to generate figures by this tactic
-- Doctests --
>>> player = Player()
>>> player.figure in FIGURES
True
"""
def __init__(self, number: int):
self.name = 'игрок{}'.format(number)
tactic = randint(0, FIG_LEN-1)
self.main_figure = FIGURES[tactic]
self.__figures = [FIGURES[(tactic+i) % FIG_LEN] for i in range(FIG_LEN)]
def __str__(self):
return '{}: {}'.format(self.name, self.main_figure)
@property
def figure(self):
rand = randint(0, FIG_LEN)
return self.__figures[rand % FIG_LEN]
| litleleprikon/innopolis_test_task | problem_2_rock_paper_scissor/player.py | Python | apache-2.0 | 846 |
package site;
public class Autocomplete {
private final String label;
private final String value;
public Autocomplete(String label, String value) {
this.label = label;
this.value = value;
}
public final String getLabel() {
return this.label;
}
public final String getValue() {
return this.value;
}
} | CaroleneBertoldi/CountryDetails | country/src/main/java/site/Autocomplete.java | Java | apache-2.0 | 337 |
### Running the example
```bash
gcloud builds submit --config=./cloudbuild.yaml
```
### Note
This trivial example builds 2 binaries that share a Golang package `github.com/golang/glog`.
Because the cloudbuild.yaml shares a volume called `go-modules` across all steps, once the `glog` package is pulled for the first step (`Step #0`), it is available to be used by the second step. In practice, sharing immutable packages this way should significantly improve build times.
```bash
BUILD
Starting Step #0
Step #0: Pulling image: golang:1.12
Step #0: 1.12: Pulling from library/golang
Step #0: Digest: sha256:017b7708cffe1432adfc8cc27119bfe4c601f369f3ff086c6e62b3c6490bf540
Step #0: Status: Downloaded newer image for golang:1.12
Step #0: go: finding github.com/golang/glog latest
Step #0: go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Step #0: go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Finished Step #0
Starting Step #1
Step #1: Already have image: golang:1.12
Finished Step #1
Starting Step #2
Step #2: Already have image: busybox
Step #2: total 4840
Step #2: -rwxr-xr-x 1 root root 2474479 Jul 10 23:59 bar
Step #2: -rwxr-xr-x 1 root root 2474479 Jul 10 23:59 foo
Finished Step #2
PUSH
DONE
```
If the `options` second were commented out and the `busybox` step removed (as it will fail), the output would show the second step repulling (unnecessarily) the `glog` package:
```bash
BUILD
Starting Step #0
Step #0: Pulling image: golang:1.12
Step #0: 1.12: Pulling from library/golang
Step #0: Digest: sha256:017b7708cffe1432adfc8cc27119bfe4c601f369f3ff086c6e62b3c6490bf540
Step #0: Status: Downloaded newer image for golang:1.12
Step #0: go: finding github.com/golang/glog latest
Step #0: go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Step #0: go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Finished Step #0
Starting Step #1
Step #1: Already have image: golang:1.12
Step #1: go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Step #1: go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Step #1: go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Finished Step #1
PUSH
DONE
```
This example also uses the Golang team's Module Mirror [https://proxy.golang.org](https://proxy.golang.org) for its performance and security benefits. | GoogleCloudPlatform/cloud-builders | go/examples/multi_step/README.md | Markdown | apache-2.0 | 2,438 |
/*
Copyright 2015 Crunchy Data Solutions, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package adminapi
import (
"github.com/ant0ine/go-json-rest/rest"
"github.com/crunchydata/crunchy-postgresql-manager/admindb"
"github.com/crunchydata/crunchy-postgresql-manager/cpmserverapi"
"github.com/crunchydata/crunchy-postgresql-manager/logit"
"github.com/crunchydata/crunchy-postgresql-manager/swarmapi"
"github.com/crunchydata/crunchy-postgresql-manager/types"
"github.com/crunchydata/crunchy-postgresql-manager/util"
"net/http"
"strings"
)
const CONTAINER_NOT_FOUND = "CONTAINER NOT FOUND"
// GetNode returns the container node definition
func GetNode(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
ID := r.PathParam("ID")
if ID == "" {
logit.Error.Println("error node ID required")
rest.Error(w, "node ID required", http.StatusBadRequest)
return
}
node, err2 := admindb.GetContainer(dbConn, ID)
if node.ID == "" {
rest.NotFound(w, r)
return
}
if err2 != nil {
logit.Error.Println(err2.Error())
rest.Error(w, err2.Error(), http.StatusBadRequest)
return
}
var currentStatus = "UNKNOWN"
request := &swarmapi.DockerInspectRequest{}
var inspectInfo swarmapi.DockerInspectResponse
request.ContainerName = node.Name
inspectInfo, err = swarmapi.DockerInspect(request)
if err != nil {
logit.Error.Println(err.Error())
currentStatus = CONTAINER_NOT_FOUND
}
if currentStatus != "CONTAINER NOT FOUND" {
var pgport types.Setting
pgport, err = admindb.GetSetting(dbConn, "PG-PORT")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
currentStatus, err = util.FastPing(pgport.Value, node.Name)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
//logit.Info.Println("pinging db finished")
}
clusternode := new(types.ClusterNode)
clusternode.ID = node.ID
clusternode.ClusterID = node.ClusterID
clusternode.Name = node.Name
clusternode.Role = node.Role
clusternode.Image = node.Image
clusternode.CreateDate = node.CreateDate
clusternode.Status = currentStatus
clusternode.ProjectID = node.ProjectID
clusternode.ProjectName = node.ProjectName
clusternode.ClusterName = node.ClusterName
clusternode.ServerID = inspectInfo.ServerID
clusternode.IPAddress = inspectInfo.IPAddress
w.WriteJson(clusternode)
}
// GetAllNodesForProject returns all node definitions for a given project
func GetAllNodesForProject(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
ID := r.PathParam("ID")
if ID == "" {
logit.Error.Println("project ID required")
rest.Error(w, "project ID required", http.StatusBadRequest)
return
}
results, err := admindb.GetAllContainersForProject(dbConn, ID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
}
nodes := make([]types.ClusterNode, len(results))
i := 0
for i = range results {
nodes[i].ID = results[i].ID
nodes[i].Name = results[i].Name
nodes[i].ClusterID = results[i].ClusterID
nodes[i].Role = results[i].Role
nodes[i].Image = results[i].Image
nodes[i].CreateDate = results[i].CreateDate
nodes[i].ProjectID = results[i].ProjectID
nodes[i].ProjectName = results[i].ProjectName
nodes[i].ClusterName = results[i].ClusterName
//nodes[i].Status = "UNKNOWN"
i++
}
w.WriteJson(&nodes)
}
// TODO
func GetAllNodes(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
results, err := admindb.GetAllContainers(dbConn)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
}
nodes := make([]types.ClusterNode, len(results))
i := 0
for i = range results {
nodes[i].ID = results[i].ID
nodes[i].Name = results[i].Name
nodes[i].ClusterID = results[i].ClusterID
nodes[i].Role = results[i].Role
nodes[i].Image = results[i].Image
nodes[i].CreateDate = results[i].CreateDate
nodes[i].ProjectID = results[i].ProjectID
nodes[i].ProjectName = results[i].ProjectName
nodes[i].ClusterName = results[i].ClusterName
//nodes[i].Status = "UNKNOWN"
i++
}
w.WriteJson(&nodes)
}
// TODO
func GetAllNodesNotInCluster(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
results, err := admindb.GetAllContainersNotInCluster(dbConn)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
}
nodes := make([]types.ClusterNode, len(results))
i := 0
for i = range results {
nodes[i].ID = results[i].ID
nodes[i].Name = results[i].Name
nodes[i].ClusterID = results[i].ClusterID
nodes[i].Role = results[i].Role
nodes[i].Image = results[i].Image
nodes[i].CreateDate = results[i].CreateDate
nodes[i].ProjectID = results[i].ProjectID
nodes[i].ProjectName = results[i].ProjectName
nodes[i].ClusterName = results[i].ClusterName
//nodes[i].Status = "UNKNOWN"
i++
}
w.WriteJson(&nodes)
}
// GetAllNodesForCluster returns a list of nodes for a given cluster
func GetAllNodesForCluster(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
ClusterID := r.PathParam("ClusterID")
if ClusterID == "" {
logit.Error.Println("ClusterID required")
rest.Error(w, "node ClusterID required", http.StatusBadRequest)
return
}
results, err := admindb.GetAllContainersForCluster(dbConn, ClusterID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
}
nodes := make([]types.ClusterNode, len(results))
i := 0
for i = range results {
nodes[i].ID = results[i].ID
nodes[i].Name = results[i].Name
nodes[i].ClusterID = results[i].ClusterID
nodes[i].Role = results[i].Role
nodes[i].Image = results[i].Image
nodes[i].CreateDate = results[i].CreateDate
nodes[i].ProjectID = results[i].ProjectID
nodes[i].ProjectName = results[i].ProjectName
nodes[i].ClusterName = results[i].ClusterName
//nodes[i].Status = "UNKNOWN"
i++
}
w.WriteJson(&nodes)
}
/*
TODO refactor this to share code with DeleteCluster!!!!!
*/
func DeleteNode(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-container")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
ID := r.PathParam("ID")
if ID == "" {
logit.Error.Println("DeleteNode: error node ID required")
rest.Error(w, "node ID required", http.StatusBadRequest)
return
}
//go get the node we intend to delete
var dbNode types.Container
dbNode, err = admindb.GetContainer(dbConn, ID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
var infoResponse swarmapi.DockerInfoResponse
infoResponse, err = swarmapi.DockerInfo()
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusInternalServerError)
return
}
servers := make([]types.Server, len(infoResponse.Output))
i := 0
for i = range infoResponse.Output {
servers[i].ID = infoResponse.Output[i]
servers[i].Name = infoResponse.Output[i]
servers[i].IPAddress = infoResponse.Output[i]
i++
}
var pgdatapath types.Setting
pgdatapath, err = admindb.GetSetting(dbConn, "PG-DATA-PATH")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
err = admindb.DeleteContainer(dbConn, ID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
logit.Info.Println("remove 1")
//it is possible that someone can remove a container
//outside of us, so we let it pass that we can't remove
//it
request := &swarmapi.DockerRemoveRequest{}
request.ContainerName = dbNode.Name
_, err = swarmapi.DockerRemove(request)
if err != nil {
logit.Error.Println(err.Error())
}
logit.Info.Println("remove 2")
//send the server a deletevolume command
request2 := &cpmserverapi.DiskDeleteRequest{}
request2.Path = pgdatapath.Value + "/" + dbNode.Name
for _, each := range servers {
_, err = cpmserverapi.DiskDeleteClient(each.Name, request2)
if err != nil {
logit.Error.Println(err.Error())
}
}
logit.Info.Println("remove 3")
//we should not have to delete the DNS entries because
//of the dnsbridge, it should remove them when we remove
//the containers via the docker api
w.WriteHeader(http.StatusOK)
status := types.SimpleStatus{}
status.Status = "OK"
w.WriteJson(&status)
}
// GetAllNodesForServer returns a list of all nodes on a given server
func GetAllNodesForServer(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
serverID := r.PathParam("ServerID")
if serverID == "" {
logit.Error.Println("GetAllNodesForServer: error serverID required")
rest.Error(w, "serverID required", http.StatusBadRequest)
return
}
serverIPAddress := strings.Replace(serverID, "_", ".", -1)
results, err := swarmapi.DockerPs(serverIPAddress)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
nodes := make([]types.ClusterNode, len(results.Output))
i := 0
var container types.Container
for _, each := range results.Output {
logit.Info.Println("got back Name:" + each.Name + " Status:" + each.Status + " Image:" + each.Image)
nodes[i].Name = each.Name
container, err = admindb.GetContainerByName(dbConn, each.Name)
if err != nil {
logit.Error.Println(err.Error())
nodes[i].ID = "unknown"
nodes[i].ProjectID = "unknown"
} else {
nodes[i].ID = container.ID
nodes[i].ProjectID = container.ProjectID
}
nodes[i].Status = each.Status
nodes[i].Image = each.Image
i++
}
w.WriteJson(&nodes)
}
// AdminStartNode starts a container
func AdminStartNode(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
ID := r.PathParam("ID")
if ID == "" {
logit.Error.Println("AdminStartNode: error ID required")
rest.Error(w, "ID required", http.StatusBadRequest)
return
}
node, err := admindb.GetContainer(dbConn, ID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
/**
server := types.Server{}
server, err = admindb.GetServer(dbConn, node.ServerID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
*/
var response swarmapi.DockerStartResponse
request := &swarmapi.DockerStartRequest{}
request.ContainerName = node.Name
response, err = swarmapi.DockerStart(request)
if err != nil {
logit.Error.Println(err.Error())
logit.Error.Println(response.Output)
}
//logit.Info.Println(response.Output)
w.WriteHeader(http.StatusOK)
status := types.SimpleStatus{}
status.Status = "OK"
w.WriteJson(&status)
}
// AdminStopNode stops a container
func AdminStopNode(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
ID := r.PathParam("ID")
if ID == "" {
logit.Error.Println("AdminStopNode: error ID required")
rest.Error(w, "ID required", http.StatusBadRequest)
return
}
node, err := admindb.GetContainer(dbConn, ID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
/**
server := types.Server{}
server, err = admindb.GetServer(dbConn, node.ServerID)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
*/
request := &swarmapi.DockerStopRequest{}
request.ContainerName = node.Name
_, err = swarmapi.DockerStop(request)
if err != nil {
logit.Error.Println(err.Error())
}
w.WriteHeader(http.StatusOK)
status := types.SimpleStatus{}
status.Status = "OK"
w.WriteJson(&status)
}
// AdminStartServerContainers starts all containers on a given server
func AdminStartServerContainers(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
//serverID
serverid := r.PathParam("ID")
if serverid == "" {
logit.Error.Println(" error ID required")
rest.Error(w, "ID required", http.StatusBadRequest)
return
}
cleanIP := strings.Replace(serverid, "_", ".", -1)
containers, err := swarmapi.DockerPs(cleanIP)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
//for each, get server, start container
//use a 'best effort' approach here since containers
//can be removed outside of CPM's control
for _, each := range containers.Output {
//start the container
var response swarmapi.DockerStartResponse
var err error
request := &swarmapi.DockerStartRequest{}
logit.Info.Println("trying to start " + each.Name)
request.ContainerName = each.Name
response, err = swarmapi.DockerStart(request)
if err != nil {
logit.Error.Println("AdminStartServerContainers: error when trying to start container " + err.Error())
logit.Error.Println(response.Output)
}
//logit.Info.Println(response.Output)
}
w.WriteHeader(http.StatusOK)
status := types.SimpleStatus{}
status.Status = "OK"
w.WriteJson(&status)
}
// AdminStopServerContainers stops all containers on a given server
func AdminStopServerContainers(w rest.ResponseWriter, r *rest.Request) {
dbConn, err := util.GetConnection(CLUSTERADMIN_DB)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), 400)
return
}
defer dbConn.Close()
err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read")
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusUnauthorized)
return
}
//serverID
serverid := r.PathParam("ID")
if serverid == "" {
logit.Error.Println("AdminStopoServerContainers: error ID required")
rest.Error(w, "ID required", http.StatusBadRequest)
return
}
cleanIP := strings.Replace(serverid, "_", ".", -1)
containers, err := swarmapi.DockerPs(cleanIP)
if err != nil {
logit.Error.Println(err.Error())
rest.Error(w, err.Error(), http.StatusBadRequest)
return
}
//for each, get server, stop container
for _, each := range containers.Output {
if strings.HasPrefix(each.Status, "Up") {
//stop container
request := &swarmapi.DockerStopRequest{}
request.ContainerName = each.Name
logit.Info.Println("stopping " + request.ContainerName)
_, err = swarmapi.DockerStop(request)
if err != nil {
logit.Error.Println("AdminStopServerContainers: error when trying to start container " + err.Error())
}
}
}
w.WriteHeader(http.StatusOK)
status := types.SimpleStatus{}
status.Status = "OK"
w.WriteJson(&status)
}
| CrunchyData/crunchy-postgresql-manager | adminapi/containermgmt.go | GO | apache-2.0 | 18,288 |
/*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
//
// Created by Jean-Marie Mirebeau on 05/03/2014.
//
//
#ifndef itkStructureTensorImageFilter_h
#define itkStructureTensorImageFilter_h
#include "itkCastImageFilter.h"
#include "itkGradientRecursiveGaussianImageFilter.h"
#include "itkAddImageFilter.h"
#include "itkVectorIndexSelectionCastImageFilter.h"
#include "itkGradientImageFilter.h"
#include "itkSymmetricSecondRankTensor.h"
namespace itk
{
/**
* \class StructureTensorImageFilter
*
* \brief Computes the structure tensor.
*
* Implementation of the structure tensor, defined by
*
* \f[K_\rho (\nabla u_\sigma \otimes \nabla u_\sigma),\f]
*
* where \f$K_\rho\f$ denotes the gaussian kernel of standard deviation \f$\rho\f$,
* and \f$u_\sigma := K_\sigma * u\f$.
*
* \ingroup AnisotropicDiffusionLBR
*/
template <typename TImage,
typename TTensorImage = Image<SymmetricSecondRankTensor<typename TImage::PixelType, TImage::ImageDimension>,
TImage::ImageDimension>>
class StructureTensorImageFilter : public ImageToImageFilter<TImage, TTensorImage>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(StructureTensorImageFilter);
using Self = StructureTensorImageFilter;
using Superclass = ImageToImageFilter<TImage, TImage>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
/// Method for creation through the object factory.
itkNewMacro(Self);
/// Run-time type information (and related methods).
itkTypeMacro(StructureTensorImageFilter, Superclass);
using InputImageDimensionType = typename Superclass::InputImageType::ImageDimensionType;
static constexpr InputImageDimensionType InputImageDimension = Superclass::InputImageType::ImageDimension;
using ImageType = TImage;
using PixelType = typename ImageType::PixelType;
using TensorImageType = TTensorImage;
using TensorType = typename TensorImageType::PixelType;
using ScalarType = typename TensorType::ComponentType;
using ScalarImageType = Image<ScalarType, InputImageDimension>;
/// Parameter \f$\sigma\f$ of the structure tensor definition.
itkSetMacro(NoiseScale, ScalarType);
/// Parameter \f$\rho\f$ of the structure tensor definition.
itkSetMacro(FeatureScale, ScalarType);
/// Rescales all structure tensors by a common factor, so that the maximum trace is 1.
itkSetMacro(RescaleForUnitMaximumTrace, bool);
itkGetConstMacro(NoiseScale, ScalarType);
itkGetConstMacro(FeatureScale, ScalarType);
itkGetConstMacro(RescaleForUnitMaximumTrace, bool);
itkGetConstMacro(PostRescaling, ScalarType); /// Global rescaling constant used.
protected:
void
GenerateData() override;
ScalarType m_FeatureScale;
ScalarType m_NoiseScale;
bool m_RescaleForUnitMaximumTrace{ false };
ScalarType m_PostRescaling;
bool m_UseGradientRecursiveGaussianImageFilter{ true };
struct DispatchBase
{};
template <bool>
struct Dispatch : public DispatchBase
{};
void
IntermediateFilter(const Dispatch<true> &);
void
IntermediateFilter(const Dispatch<false> &);
typename TensorImageType::Pointer m_IntermediateResult;
using CovariantVectorType = CovariantVector<ScalarType, InputImageDimension>;
using CovariantImageType = Image<CovariantVectorType, InputImageDimension>;
struct OuterFunctor
{
TensorType
operator()(const CovariantVectorType & u) const
{
TensorType m;
for (InputImageDimensionType i = 0; i < InputImageDimension; ++i)
{
for (InputImageDimensionType j = i; j < InputImageDimension; ++j)
{
m(i, j) = u[i] * u[j];
}
}
return m;
}
};
struct TraceFunctor
{
ScalarType
operator()(const TensorType & t) const
{
return t.GetTrace();
}
};
struct ScaleFunctor
{
ScalarType scaling;
TensorType
operator()(const TensorType & t) const
{
return t * scaling;
}
};
StructureTensorImageFilter();
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkStructureTensorImageFilter.hxx"
#endif
#endif
| InsightSoftwareConsortium/ITKAnisotropicDiffusionLBR | include/itkStructureTensorImageFilter.h | C | apache-2.0 | 4,847 |
<?php
final class DifferentialLandingActionMenuEventListener
extends PhabricatorEventListener {
public function register() {
$this->listen(PhabricatorEventType::TYPE_UI_DIDRENDERACTIONS);
}
public function handleEvent(PhutilEvent $event) {
switch ($event->getType()) {
case PhabricatorEventType::TYPE_UI_DIDRENDERACTIONS:
$this->handleActionsEvent($event);
break;
}
}
private function handleActionsEvent(PhutilEvent $event) {
$object = $event->getValue('object');
$actions = null;
if ($object instanceof DifferentialRevision) {
$actions = $this->renderRevisionAction($event);
}
$this->addActionMenuItems($event, $actions);
}
private function renderRevisionAction(PhutilEvent $event) {
if (!$this->canUseApplication($event->getUser())) {
return null;
}
$revision = $event->getValue('object');
$repository = $revision->getRepository();
if ($repository === null) {
return null;
}
$strategies = id(new PhutilSymbolLoader())
->setAncestorClass('DifferentialLandingStrategy')
->loadObjects();
foreach ($strategies as $strategy) {
$actions = $strategy->createMenuItems(
$event->getUser(),
$revision,
$repository);
$this->addActionMenuItems($event, $actions);
}
}
}
| yangming85/phabricator | src/applications/differential/landing/DifferentialLandingActionMenuEventListener.php | PHP | apache-2.0 | 1,348 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.elasticsearch.cluster.routing;
import com.carrotsearch.hppc.ObjectIntHashMap;
import com.carrotsearch.hppc.cursors.ObjectCursor;
import org.apache.lucene.util.CollectionUtil;
import org.elasticsearch.cluster.ClusterState;
import org.elasticsearch.cluster.block.ClusterBlocks;
import org.elasticsearch.cluster.metadata.MetaData;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.Randomness;
import org.elasticsearch.common.collect.ImmutableOpenMap;
import org.elasticsearch.index.Index;
import org.elasticsearch.index.shard.ShardId;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Predicate;
/**
* {@link RoutingNodes} represents a copy the routing information contained in
* the {@link ClusterState cluster state}.
*/
public class RoutingNodes implements Iterable<RoutingNode> {
private final MetaData metaData;
private final ClusterBlocks blocks;
private final RoutingTable routingTable;
private final Map<String, RoutingNode> nodesToShards = new HashMap<>();
private final UnassignedShards unassignedShards = new UnassignedShards(this);
private final Map<ShardId, List<ShardRouting>> assignedShards = new HashMap<>();
private final ImmutableOpenMap<String, ClusterState.Custom> customs;
private final boolean readOnly;
private int inactivePrimaryCount = 0;
private int inactiveShardCount = 0;
private int relocatingShards = 0;
private final Map<String, ObjectIntHashMap<String>> nodesPerAttributeNames = new HashMap<>();
private final Map<String, Recoveries> recoveryiesPerNode = new HashMap<>();
public RoutingNodes(ClusterState clusterState) {
this(clusterState, true);
}
public RoutingNodes(ClusterState clusterState, boolean readOnly) {
this.readOnly = readOnly;
this.metaData = clusterState.metaData();
this.blocks = clusterState.blocks();
this.routingTable = clusterState.routingTable();
this.customs = clusterState.customs();
Map<String, List<ShardRouting>> nodesToShards = new HashMap<>();
// fill in the nodeToShards with the "live" nodes
for (ObjectCursor<DiscoveryNode> cursor : clusterState.nodes().dataNodes().values()) {
nodesToShards.put(cursor.value.id(), new ArrayList<>());
}
// fill in the inverse of node -> shards allocated
// also fill replicaSet information
for (ObjectCursor<IndexRoutingTable> indexRoutingTable : routingTable.indicesRouting().values()) {
for (IndexShardRoutingTable indexShard : indexRoutingTable.value) {
assert indexShard.primary != null;
for (ShardRouting shard : indexShard) {
// to get all the shards belonging to an index, including the replicas,
// we define a replica set and keep track of it. A replica set is identified
// by the ShardId, as this is common for primary and replicas.
// A replica Set might have one (and not more) replicas with the state of RELOCATING.
if (shard.assignedToNode()) {
List<ShardRouting> entries = nodesToShards.computeIfAbsent(shard.currentNodeId(), k -> new ArrayList<>());
final ShardRouting sr = getRouting(shard, readOnly);
entries.add(sr);
assignedShardsAdd(sr);
if (shard.relocating()) {
relocatingShards++;
entries = nodesToShards.computeIfAbsent(shard.relocatingNodeId(), k -> new ArrayList<>());
// add the counterpart shard with relocatingNodeId reflecting the source from which
// it's relocating from.
ShardRouting targetShardRouting = shard.buildTargetRelocatingShard();
addInitialRecovery(targetShardRouting);
if (readOnly) {
targetShardRouting.freeze();
}
entries.add(targetShardRouting);
assignedShardsAdd(targetShardRouting);
} else if (shard.active() == false) { // shards that are initializing without being relocated
if (shard.primary()) {
inactivePrimaryCount++;
}
inactiveShardCount++;
addInitialRecovery(shard);
}
} else {
final ShardRouting sr = getRouting(shard, readOnly);
assignedShardsAdd(sr);
unassignedShards.add(sr);
}
}
}
}
for (Map.Entry<String, List<ShardRouting>> entry : nodesToShards.entrySet()) {
String nodeId = entry.getKey();
this.nodesToShards.put(nodeId, new RoutingNode(nodeId, clusterState.nodes().get(nodeId), entry.getValue()));
}
}
private void addRecovery(ShardRouting routing) {
addRecovery(routing, true, false);
}
private void removeRecovery(ShardRouting routing) {
addRecovery(routing, false, false);
}
public void addInitialRecovery(ShardRouting routing) {
addRecovery(routing,true, true);
}
private void addRecovery(final ShardRouting routing, final boolean increment, final boolean initializing) {
final int howMany = increment ? 1 : -1;
assert routing.initializing() : "routing must be initializing: " + routing;
Recoveries.getOrAdd(recoveryiesPerNode, routing.currentNodeId()).addIncoming(howMany);
final String sourceNodeId;
if (routing.relocatingNodeId() != null) { // this is a relocation-target
sourceNodeId = routing.relocatingNodeId();
if (routing.primary() && increment == false) { // primary is done relocating
int numRecoveringReplicas = 0;
for (ShardRouting assigned : assignedShards(routing)) {
if (assigned.primary() == false && assigned.initializing() && assigned.relocatingNodeId() == null) {
numRecoveringReplicas++;
}
}
// we transfer the recoveries to the relocated primary
recoveryiesPerNode.get(sourceNodeId).addOutgoing(-numRecoveringReplicas);
recoveryiesPerNode.get(routing.currentNodeId()).addOutgoing(numRecoveringReplicas);
}
} else if (routing.primary() == false) { // primary without relocationID is initial recovery
ShardRouting primary = findPrimary(routing);
if (primary == null && initializing) {
primary = routingTable.index(routing.index().getName()).shard(routing.shardId().id()).primary;
} else if (primary == null) {
throw new IllegalStateException("replica is initializing but primary is unassigned");
}
sourceNodeId = primary.currentNodeId();
} else {
sourceNodeId = null;
}
if (sourceNodeId != null) {
Recoveries.getOrAdd(recoveryiesPerNode, sourceNodeId).addOutgoing(howMany);
}
}
public int getIncomingRecoveries(String nodeId) {
return recoveryiesPerNode.getOrDefault(nodeId, Recoveries.EMPTY).getIncoming();
}
public int getOutgoingRecoveries(String nodeId) {
return recoveryiesPerNode.getOrDefault(nodeId, Recoveries.EMPTY).getOutgoing();
}
private ShardRouting findPrimary(ShardRouting routing) {
List<ShardRouting> shardRoutings = assignedShards.get(routing.shardId());
ShardRouting primary = null;
if (shardRoutings != null) {
for (ShardRouting shardRouting : shardRoutings) {
if (shardRouting.primary()) {
if (shardRouting.active()) {
return shardRouting;
} else if (primary == null) {
primary = shardRouting;
} else if (primary.relocatingNodeId() != null) {
primary = shardRouting;
}
}
}
}
return primary;
}
private static ShardRouting getRouting(ShardRouting src, boolean readOnly) {
if (readOnly) {
src.freeze(); // we just freeze and reuse this instance if we are read only
} else {
src = new ShardRouting(src);
}
return src;
}
@Override
public Iterator<RoutingNode> iterator() {
return Collections.unmodifiableCollection(nodesToShards.values()).iterator();
}
public RoutingTable routingTable() {
return routingTable;
}
public RoutingTable getRoutingTable() {
return routingTable();
}
public MetaData metaData() {
return this.metaData;
}
public MetaData getMetaData() {
return metaData();
}
public ClusterBlocks blocks() {
return this.blocks;
}
public ClusterBlocks getBlocks() {
return this.blocks;
}
public ImmutableOpenMap<String, ClusterState.Custom> customs() {
return this.customs;
}
public <T extends ClusterState.Custom> T custom(String type) { return (T) customs.get(type); }
public UnassignedShards unassigned() {
return this.unassignedShards;
}
public RoutingNodesIterator nodes() {
return new RoutingNodesIterator(nodesToShards.values().iterator());
}
public RoutingNode node(String nodeId) {
return nodesToShards.get(nodeId);
}
public ObjectIntHashMap<String> nodesPerAttributesCounts(String attributeName) {
ObjectIntHashMap<String> nodesPerAttributesCounts = nodesPerAttributeNames.get(attributeName);
if (nodesPerAttributesCounts != null) {
return nodesPerAttributesCounts;
}
nodesPerAttributesCounts = new ObjectIntHashMap<>();
for (RoutingNode routingNode : this) {
String attrValue = routingNode.node().attributes().get(attributeName);
nodesPerAttributesCounts.addTo(attrValue, 1);
}
nodesPerAttributeNames.put(attributeName, nodesPerAttributesCounts);
return nodesPerAttributesCounts;
}
/**
* Returns <code>true</code> iff this {@link RoutingNodes} instance has any unassigned primaries even if the
* primaries are marked as temporarily ignored.
*/
public boolean hasUnassignedPrimaries() {
return unassignedShards.getNumPrimaries() + unassignedShards.getNumIgnoredPrimaries() > 0;
}
/**
* Returns <code>true</code> iff this {@link RoutingNodes} instance has any unassigned shards even if the
* shards are marked as temporarily ignored.
* @see UnassignedShards#isEmpty()
* @see UnassignedShards#isIgnoredEmpty()
*/
public boolean hasUnassignedShards() {
return unassignedShards.isEmpty() == false || unassignedShards.isIgnoredEmpty() == false;
}
public boolean hasInactivePrimaries() {
return inactivePrimaryCount > 0;
}
public boolean hasInactiveShards() {
return inactiveShardCount > 0;
}
public int getRelocatingShardCount() {
return relocatingShards;
}
/**
* Returns the active primary shard for the given ShardRouting or <code>null</code> if
* no primary is found or the primary is not active.
*/
public ShardRouting activePrimary(ShardRouting shard) {
for (ShardRouting shardRouting : assignedShards(shard.shardId())) {
if (shardRouting.primary() && shardRouting.active()) {
return shardRouting;
}
}
return null;
}
/**
* Returns one active replica shard for the given ShardRouting shard ID or <code>null</code> if
* no active replica is found.
*/
public ShardRouting activeReplica(ShardRouting shard) {
for (ShardRouting shardRouting : assignedShards(shard.shardId())) {
if (!shardRouting.primary() && shardRouting.active()) {
return shardRouting;
}
}
return null;
}
/**
* Returns all shards that are not in the state UNASSIGNED with the same shard
* ID as the given shard.
*/
public Iterable<ShardRouting> assignedShards(ShardRouting shard) {
return assignedShards(shard.shardId());
}
/**
* Returns <code>true</code> iff all replicas are active for the given shard routing. Otherwise <code>false</code>
*/
public boolean allReplicasActive(ShardRouting shardRouting) {
final List<ShardRouting> shards = assignedShards(shardRouting.shardId());
if (shards.isEmpty() || shards.size() < this.routingTable.index(shardRouting.index().getName()).shard(shardRouting.id()).size()) {
return false; // if we are empty nothing is active if we have less than total at least one is unassigned
}
for (ShardRouting shard : shards) {
if (!shard.active()) {
return false;
}
}
return true;
}
public List<ShardRouting> shards(Predicate<ShardRouting> predicate) {
List<ShardRouting> shards = new ArrayList<>();
for (RoutingNode routingNode : this) {
for (ShardRouting shardRouting : routingNode) {
if (predicate.test(shardRouting)) {
shards.add(shardRouting);
}
}
}
return shards;
}
public List<ShardRouting> shardsWithState(ShardRoutingState... state) {
// TODO these are used on tests only - move into utils class
List<ShardRouting> shards = new ArrayList<>();
for (RoutingNode routingNode : this) {
shards.addAll(routingNode.shardsWithState(state));
}
for (ShardRoutingState s : state) {
if (s == ShardRoutingState.UNASSIGNED) {
unassigned().forEach(shards::add);
break;
}
}
return shards;
}
public List<ShardRouting> shardsWithState(String index, ShardRoutingState... state) {
// TODO these are used on tests only - move into utils class
List<ShardRouting> shards = new ArrayList<>();
for (RoutingNode routingNode : this) {
shards.addAll(routingNode.shardsWithState(index, state));
}
for (ShardRoutingState s : state) {
if (s == ShardRoutingState.UNASSIGNED) {
for (ShardRouting unassignedShard : unassignedShards) {
if (unassignedShard.index().equals(index)) {
shards.add(unassignedShard);
}
}
break;
}
}
return shards;
}
public String prettyPrint() {
StringBuilder sb = new StringBuilder("routing_nodes:\n");
for (RoutingNode routingNode : this) {
sb.append(routingNode.prettyPrint());
}
sb.append("---- unassigned\n");
for (ShardRouting shardEntry : unassignedShards) {
sb.append("--------").append(shardEntry.shortSummary()).append('\n');
}
return sb.toString();
}
/**
* Moves a shard from unassigned to initialize state
*
* @param existingAllocationId allocation id to use. If null, a fresh allocation id is generated.
*/
public void initialize(ShardRouting shard, String nodeId, @Nullable String existingAllocationId, long expectedSize) {
ensureMutable();
assert shard.unassigned() : shard;
shard.initialize(nodeId, existingAllocationId, expectedSize);
node(nodeId).add(shard);
inactiveShardCount++;
if (shard.primary()) {
inactivePrimaryCount++;
}
addRecovery(shard);
assignedShardsAdd(shard);
}
/**
* Relocate a shard to another node, adding the target initializing
* shard as well as assigning it. And returning the target initializing
* shard.
*/
public ShardRouting relocate(ShardRouting shard, String nodeId, long expectedShardSize) {
ensureMutable();
relocatingShards++;
shard.relocate(nodeId, expectedShardSize);
ShardRouting target = shard.buildTargetRelocatingShard();
node(target.currentNodeId()).add(target);
assignedShardsAdd(target);
addRecovery(target);
return target;
}
/**
* Mark a shard as started and adjusts internal statistics.
*/
public void started(ShardRouting shard) {
ensureMutable();
assert !shard.active() : "expected an initializing shard " + shard;
if (shard.relocatingNodeId() == null) {
// if this is not a target shard for relocation, we need to update statistics
inactiveShardCount--;
if (shard.primary()) {
inactivePrimaryCount--;
}
}
removeRecovery(shard);
shard.moveToStarted();
}
/**
* Cancels a relocation of a shard that shard must relocating.
*/
public void cancelRelocation(ShardRouting shard) {
ensureMutable();
relocatingShards--;
shard.cancelRelocation();
}
/**
* swaps the status of a shard, making replicas primary and vice versa.
*
* @param shards the shard to have its primary status swapped.
*/
public void swapPrimaryFlag(ShardRouting... shards) {
ensureMutable();
for (ShardRouting shard : shards) {
if (shard.primary()) {
shard.moveFromPrimary();
if (shard.unassigned()) {
unassignedShards.primaries--;
}
} else {
shard.moveToPrimary();
if (shard.unassigned()) {
unassignedShards.primaries++;
}
}
}
}
private static final List<ShardRouting> EMPTY = Collections.emptyList();
private List<ShardRouting> assignedShards(ShardId shardId) {
final List<ShardRouting> replicaSet = assignedShards.get(shardId);
return replicaSet == null ? EMPTY : Collections.unmodifiableList(replicaSet);
}
/**
* Cancels the give shard from the Routing nodes internal statistics and cancels
* the relocation if the shard is relocating.
*/
private void remove(ShardRouting shard) {
ensureMutable();
if (!shard.active() && shard.relocatingNodeId() == null) {
inactiveShardCount--;
assert inactiveShardCount >= 0;
if (shard.primary()) {
inactivePrimaryCount--;
}
} else if (shard.relocating()) {
cancelRelocation(shard);
}
assignedShardsRemove(shard);
if (shard.initializing()) {
removeRecovery(shard);
}
}
private void assignedShardsAdd(ShardRouting shard) {
if (shard.unassigned()) {
// no unassigned
return;
}
List<ShardRouting> shards = assignedShards.computeIfAbsent(shard.shardId(), k -> new ArrayList<>());
assert assertInstanceNotInList(shard, shards);
shards.add(shard);
}
private boolean assertInstanceNotInList(ShardRouting shard, List<ShardRouting> shards) {
for (ShardRouting s : shards) {
assert s != shard;
}
return true;
}
private void assignedShardsRemove(ShardRouting shard) {
ensureMutable();
final List<ShardRouting> replicaSet = assignedShards.get(shard.shardId());
if (replicaSet != null) {
final Iterator<ShardRouting> iterator = replicaSet.iterator();
while(iterator.hasNext()) {
// yes we check identity here
if (shard == iterator.next()) {
iterator.remove();
return;
}
}
assert false : "Illegal state";
}
}
public boolean isKnown(DiscoveryNode node) {
return nodesToShards.containsKey(node.getId());
}
public void addNode(DiscoveryNode node) {
ensureMutable();
RoutingNode routingNode = new RoutingNode(node.id(), node);
nodesToShards.put(routingNode.nodeId(), routingNode);
}
public RoutingNodeIterator routingNodeIter(String nodeId) {
final RoutingNode routingNode = nodesToShards.get(nodeId);
if (routingNode == null) {
return null;
}
return new RoutingNodeIterator(routingNode);
}
public RoutingNode[] toArray() {
return nodesToShards.values().toArray(new RoutingNode[nodesToShards.size()]);
}
public void reinitShadowPrimary(ShardRouting candidate) {
ensureMutable();
if (candidate.relocating()) {
cancelRelocation(candidate);
}
candidate.reinitializeShard();
inactivePrimaryCount++;
inactiveShardCount++;
}
/**
* Returns the number of routing nodes
*/
public int size() {
return nodesToShards.size();
}
public static final class UnassignedShards implements Iterable<ShardRouting> {
private final RoutingNodes nodes;
private final List<ShardRouting> unassigned;
private final List<ShardRouting> ignored;
private int primaries = 0;
private int ignoredPrimaries = 0;
public UnassignedShards(RoutingNodes nodes) {
this.nodes = nodes;
unassigned = new ArrayList<>();
ignored = new ArrayList<>();
}
public void add(ShardRouting shardRouting) {
if(shardRouting.primary()) {
primaries++;
}
unassigned.add(shardRouting);
}
public void sort(Comparator<ShardRouting> comparator) {
CollectionUtil.timSort(unassigned, comparator);
}
/**
* Returns the size of the non-ignored unassigned shards
*/
public int size() { return unassigned.size(); }
/**
* Returns the size of the temporarily marked as ignored unassigned shards
*/
public int ignoredSize() { return ignored.size(); }
/**
* Returns the number of non-ignored unassigned primaries
*/
public int getNumPrimaries() {
return primaries;
}
/**
* Returns the number of temporarily marked as ignored unassigned primaries
*/
public int getNumIgnoredPrimaries() { return ignoredPrimaries; }
@Override
public UnassignedIterator iterator() {
return new UnassignedIterator();
}
/**
* The list of ignored unassigned shards (read only). The ignored unassigned shards
* are not part of the formal unassigned list, but are kept around and used to build
* back the list of unassigned shards as part of the routing table.
*/
public List<ShardRouting> ignored() {
return Collections.unmodifiableList(ignored);
}
/**
* Marks a shard as temporarily ignored and adds it to the ignore unassigned list.
* Should be used with caution, typically,
* the correct usage is to removeAndIgnore from the iterator.
* @see #ignored()
* @see UnassignedIterator#removeAndIgnore()
* @see #isIgnoredEmpty()
*/
public void ignoreShard(ShardRouting shard) {
if (shard.primary()) {
ignoredPrimaries++;
}
ignored.add(shard);
}
public class UnassignedIterator implements Iterator<ShardRouting> {
private final Iterator<ShardRouting> iterator;
private ShardRouting current;
public UnassignedIterator() {
this.iterator = unassigned.iterator();
}
@Override
public boolean hasNext() {
return iterator.hasNext();
}
@Override
public ShardRouting next() {
return current = iterator.next();
}
/**
* Initializes the current unassigned shard and moves it from the unassigned list.
*
* @param existingAllocationId allocation id to use. If null, a fresh allocation id is generated.
*/
public void initialize(String nodeId, @Nullable String existingAllocationId, long expectedShardSize) {
innerRemove();
nodes.initialize(new ShardRouting(current), nodeId, existingAllocationId, expectedShardSize);
}
/**
* Removes and ignores the unassigned shard (will be ignored for this run, but
* will be added back to unassigned once the metadata is constructed again).
* Typically this is used when an allocation decision prevents a shard from being allocated such
* that subsequent consumers of this API won't try to allocate this shard again.
*/
public void removeAndIgnore() {
innerRemove();
ignoreShard(current);
}
/**
* Unsupported operation, just there for the interface. Use {@link #removeAndIgnore()} or
* {@link #initialize(String, String, long)}.
*/
@Override
public void remove() {
throw new UnsupportedOperationException("remove is not supported in unassigned iterator, use removeAndIgnore or initialize");
}
private void innerRemove() {
nodes.ensureMutable();
iterator.remove();
if (current.primary()) {
primaries--;
}
}
}
/**
* Returns <code>true</code> iff this collection contains one or more non-ignored unassigned shards.
*/
public boolean isEmpty() {
return unassigned.isEmpty();
}
/**
* Returns <code>true</code> iff any unassigned shards are marked as temporarily ignored.
* @see UnassignedShards#ignoreShard(ShardRouting)
* @see UnassignedIterator#removeAndIgnore()
*/
public boolean isIgnoredEmpty() {
return ignored.isEmpty();
}
public void shuffle() {
Randomness.shuffle(unassigned);
}
/**
* Drains all unassigned shards and returns it.
* This method will not drain ignored shards.
*/
public ShardRouting[] drain() {
ShardRouting[] mutableShardRoutings = unassigned.toArray(new ShardRouting[unassigned.size()]);
unassigned.clear();
primaries = 0;
return mutableShardRoutings;
}
}
/**
* Calculates RoutingNodes statistics by iterating over all {@link ShardRouting}s
* in the cluster to ensure the book-keeping is correct.
* For performance reasons, this should only be called from asserts
*
* @return this method always returns <code>true</code> or throws an assertion error. If assertion are not enabled
* this method does nothing.
*/
public static boolean assertShardStats(RoutingNodes routingNodes) {
boolean run = false;
assert (run = true); // only run if assertions are enabled!
if (!run) {
return true;
}
int unassignedPrimaryCount = 0;
int unassignedIgnoredPrimaryCount = 0;
int inactivePrimaryCount = 0;
int inactiveShardCount = 0;
int relocating = 0;
Map<Index, Integer> indicesAndShards = new HashMap<>();
for (RoutingNode node : routingNodes) {
for (ShardRouting shard : node) {
if (!shard.active() && shard.relocatingNodeId() == null) {
if (!shard.relocating()) {
inactiveShardCount++;
if (shard.primary()) {
inactivePrimaryCount++;
}
}
}
if (shard.relocating()) {
relocating++;
}
Integer i = indicesAndShards.get(shard.index());
if (i == null) {
i = shard.id();
}
indicesAndShards.put(shard.index(), Math.max(i, shard.id()));
}
}
// Assert that the active shard routing are identical.
Set<Map.Entry<Index, Integer>> entries = indicesAndShards.entrySet();
final List<ShardRouting> shards = new ArrayList<>();
for (Map.Entry<Index, Integer> e : entries) {
Index index = e.getKey();
for (int i = 0; i < e.getValue(); i++) {
for (RoutingNode routingNode : routingNodes) {
for (ShardRouting shardRouting : routingNode) {
if (shardRouting.index().equals(index) && shardRouting.id() == i) {
shards.add(shardRouting);
}
}
}
List<ShardRouting> mutableShardRoutings = routingNodes.assignedShards(new ShardId(index, i));
assert mutableShardRoutings.size() == shards.size();
for (ShardRouting r : mutableShardRoutings) {
assert shards.contains(r);
shards.remove(r);
}
assert shards.isEmpty();
}
}
for (ShardRouting shard : routingNodes.unassigned()) {
if (shard.primary()) {
unassignedPrimaryCount++;
}
}
for (ShardRouting shard : routingNodes.unassigned().ignored()) {
if (shard.primary()) {
unassignedIgnoredPrimaryCount++;
}
}
for (Map.Entry<String, Recoveries> recoveries : routingNodes.recoveryiesPerNode.entrySet()) {
String node = recoveries.getKey();
final Recoveries value = recoveries.getValue();
int incoming = 0;
int outgoing = 0;
RoutingNode routingNode = routingNodes.nodesToShards.get(node);
if (routingNode != null) { // node might have dropped out of the cluster
for (ShardRouting routing : routingNode) {
if (routing.initializing()) {
incoming++;
} else if (routing.relocating()) {
outgoing++;
}
if (routing.primary() && (routing.initializing() && routing.relocatingNodeId() != null) == false) { // we don't count the initialization end of the primary relocation
List<ShardRouting> shardRoutings = routingNodes.assignedShards.get(routing.shardId());
for (ShardRouting assigned : shardRoutings) {
if (assigned.primary() == false && assigned.initializing() && assigned.relocatingNodeId() == null) {
outgoing++;
}
}
}
}
}
assert incoming == value.incoming : incoming + " != " + value.incoming;
assert outgoing == value.outgoing : outgoing + " != " + value.outgoing + " node: " + routingNode;
}
assert unassignedPrimaryCount == routingNodes.unassignedShards.getNumPrimaries() :
"Unassigned primaries is [" + unassignedPrimaryCount + "] but RoutingNodes returned unassigned primaries [" + routingNodes.unassigned().getNumPrimaries() + "]";
assert unassignedIgnoredPrimaryCount == routingNodes.unassignedShards.getNumIgnoredPrimaries() :
"Unassigned ignored primaries is [" + unassignedIgnoredPrimaryCount + "] but RoutingNodes returned unassigned ignored primaries [" + routingNodes.unassigned().getNumIgnoredPrimaries() + "]";
assert inactivePrimaryCount == routingNodes.inactivePrimaryCount :
"Inactive Primary count [" + inactivePrimaryCount + "] but RoutingNodes returned inactive primaries [" + routingNodes.inactivePrimaryCount + "]";
assert inactiveShardCount == routingNodes.inactiveShardCount :
"Inactive Shard count [" + inactiveShardCount + "] but RoutingNodes returned inactive shards [" + routingNodes.inactiveShardCount + "]";
assert routingNodes.getRelocatingShardCount() == relocating : "Relocating shards mismatch [" + routingNodes.getRelocatingShardCount() + "] but expected [" + relocating + "]";
return true;
}
public class RoutingNodesIterator implements Iterator<RoutingNode>, Iterable<ShardRouting> {
private RoutingNode current;
private final Iterator<RoutingNode> delegate;
public RoutingNodesIterator(Iterator<RoutingNode> iterator) {
delegate = iterator;
}
@Override
public boolean hasNext() {
return delegate.hasNext();
}
@Override
public RoutingNode next() {
return current = delegate.next();
}
public RoutingNodeIterator nodeShards() {
return new RoutingNodeIterator(current);
}
@Override
public void remove() {
delegate.remove();
}
@Override
public Iterator<ShardRouting> iterator() {
return nodeShards();
}
}
public final class RoutingNodeIterator implements Iterator<ShardRouting>, Iterable<ShardRouting> {
private final RoutingNode iterable;
private ShardRouting shard;
private final Iterator<ShardRouting> delegate;
private boolean removed = false;
public RoutingNodeIterator(RoutingNode iterable) {
this.delegate = iterable.mutableIterator();
this.iterable = iterable;
}
@Override
public boolean hasNext() {
return delegate.hasNext();
}
@Override
public ShardRouting next() {
removed = false;
return shard = delegate.next();
}
@Override
public void remove() {
ensureMutable();
delegate.remove();
RoutingNodes.this.remove(shard);
removed = true;
}
/** returns true if {@link #remove()} or {@link #moveToUnassigned(UnassignedInfo)} were called on the current shard */
public boolean isRemoved() {
return removed;
}
@Override
public Iterator<ShardRouting> iterator() {
return iterable.iterator();
}
public void moveToUnassigned(UnassignedInfo unassignedInfo) {
ensureMutable();
if (isRemoved() == false) {
remove();
}
ShardRouting unassigned = new ShardRouting(shard); // protective copy of the mutable shard
unassigned.moveToUnassigned(unassignedInfo);
unassigned().add(unassigned);
}
public ShardRouting current() {
return shard;
}
}
private void ensureMutable() {
if (readOnly) {
throw new IllegalStateException("can't modify RoutingNodes - readonly");
}
}
private static final class Recoveries {
private static final Recoveries EMPTY = new Recoveries();
private int incoming = 0;
private int outgoing = 0;
int getTotal() {
return incoming + outgoing;
}
void addOutgoing(int howMany) {
assert outgoing + howMany >= 0 : outgoing + howMany+ " must be >= 0";
outgoing += howMany;
}
void addIncoming(int howMany) {
assert incoming + howMany >= 0 : incoming + howMany+ " must be >= 0";
incoming += howMany;
}
int getOutgoing() {
return outgoing;
}
int getIncoming() {
return incoming;
}
public static Recoveries getOrAdd(Map<String, Recoveries> map, String key) {
Recoveries recoveries = map.get(key);
if (recoveries == null) {
recoveries = new Recoveries();
map.put(key, recoveries);
}
return recoveries;
}
}
}
| mapr/elasticsearch | core/src/main/java/org/elasticsearch/cluster/routing/RoutingNodes.java | Java | apache-2.0 | 37,917 |
# Dianthus carthusianorum L. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Sp. pl. 1:409. 1753
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Caryophyllaceae/Dianthus/Dianthus carthusianorum/README.md | Markdown | apache-2.0 | 199 |
{-# LANGUAGE OverloadedStrings #-}
module Mdb.Status ( doStatus ) where
import Control.Monad ( when )
import Control.Monad.Catch (MonadMask)
import Control.Monad.IO.Class ( MonadIO, liftIO )
import Control.Monad.Logger ( logWarnN, logDebugN, logInfoN )
import Control.Monad.Reader ( ask )
import qualified Database.SQLite.Simple as SQL
import Data.Monoid ( (<>) )
import qualified Data.Text as T
import System.IO.Error ( tryIOError )
import System.Posix.Files ( getFileStatus, modificationTimeHiRes )
import Mdb.CmdLine ( OptStatus(..) )
import Mdb.Database ( MDB, dbExecute, runMDB', withConnection )
import Mdb.Types ( FileId )
doStatus :: (MonadMask m, MonadIO m) => OptStatus -> MDB m ()
doStatus = withFilesSeq . checkFile
type FileInfo = (FileId, FilePath)
withFilesSeq :: (MonadIO m, MonadMask m) => (FileInfo -> MDB IO ()) -> MDB m ()
withFilesSeq f = withConnection $ \c -> do
mdb <- ask
liftIO $ SQL.withStatement c "SELECT file_id, file_name FROM file ORDER BY file_id" $ \stmt ->
let
go = SQL.nextRow stmt >>= \mfi -> case mfi of
Nothing -> return ()
Just fi -> (runMDB' mdb $ f fi) >> go
in go
checkFile :: (MonadIO m, MonadMask m) => OptStatus -> FileInfo -> MDB m ()
checkFile op (fid, fp) = do
efs <- liftIO $ tryIOError $ getFileStatus fp
case efs of
Left ioe -> do
logWarnN $ T.pack ( show ioe )
when (removeMissing op) $ do
logInfoN $ "removing file with ID " <> (T.pack $ show fid)
dbExecute "DELETE FROM file WHERE file_id = ?" (SQL.Only fid)
Right fs -> logDebugN $ T.pack (show $ modificationTimeHiRes fs)
| waldheinz/mdb | src/lib/Mdb/Status.hs | Haskell | apache-2.0 | 1,802 |
/*
* Copyright 2017 Yahoo Holdings, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.yahoo.athenz.zms;
import java.util.List;
import com.yahoo.athenz.zms.store.ObjectStoreConnection;
import com.yahoo.athenz.zms.utils.ZMSUtils;
import com.yahoo.rdl.Timestamp;
class QuotaChecker {
private final Quota defaultQuota;
private boolean quotaCheckEnabled;
public QuotaChecker() {
// first check if the quota check is enabled or not
quotaCheckEnabled = Boolean.parseBoolean(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_CHECK, "true"));
// retrieve default quota values
int roleQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_ROLE, "1000"));
int roleMemberQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_ROLE_MEMBER, "100"));
int policyQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_POLICY, "1000"));
int assertionQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_ASSERTION, "100"));
int serviceQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_SERVICE, "250"));
int serviceHostQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_SERVICE_HOST, "10"));
int publicKeyQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_PUBLIC_KEY, "100"));
int entityQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_ENTITY, "100"));
int subDomainQuota = Integer.parseInt(System.getProperty(ZMSConsts.ZMS_PROP_QUOTA_SUBDOMAIN, "100"));
defaultQuota = new Quota().setName("server-default")
.setAssertion(assertionQuota).setEntity(entityQuota)
.setPolicy(policyQuota).setPublicKey(publicKeyQuota)
.setRole(roleQuota).setRoleMember(roleMemberQuota)
.setService(serviceQuota).setServiceHost(serviceHostQuota)
.setSubdomain(subDomainQuota).setModified(Timestamp.fromCurrentTime());
}
public Quota getDomainQuota(ObjectStoreConnection con, String domainName) {
Quota quota = con.getQuota(domainName);
return (quota == null) ? defaultQuota : quota;
}
void setQuotaCheckEnabled(boolean quotaCheckEnabled) {
this.quotaCheckEnabled = quotaCheckEnabled;
}
int getListSize(List<?> list) {
return (list == null) ? 0 : list.size();
}
void checkSubdomainQuota(ObjectStoreConnection con, String domainName, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// for sub-domains we need to run the quota check against
// the top level domain so let's get that first. If we are
// creating a top level domain then there is no need for
// quota check
int idx = domainName.indexOf('.');
if (idx == -1) {
return;
}
final String topLevelDomain = domainName.substring(0, idx);
// now get the quota for the top level domain
final Quota quota = getDomainQuota(con, topLevelDomain);
// get the list of sub-domains for our given top level domain
final String domainPrefix = topLevelDomain + ".";
int objectCount = con.listDomains(domainPrefix, 0).size() + 1;
if (quota.getSubdomain() < objectCount) {
throw ZMSUtils.quotaLimitError("subdomain quota exceeded - limit: "
+ quota.getSubdomain() + " actual: " + objectCount, caller);
}
}
void checkRoleQuota(ObjectStoreConnection con, String domainName, Role role, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// if our role is null then there is no quota check
if (role == null) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// first we're going to verify the elements that do not
// require any further data from the object store
int objectCount = getListSize(role.getRoleMembers());
if (quota.getRoleMember() < objectCount) {
throw ZMSUtils.quotaLimitError("role member quota exceeded - limit: "
+ quota.getRoleMember() + " actual: " + objectCount, caller);
}
// now we're going to check if we'll be allowed
// to create this role in the domain
objectCount = con.countRoles(domainName) + 1;
if (quota.getRole() < objectCount) {
throw ZMSUtils.quotaLimitError("role quota exceeded - limit: "
+ quota.getRole() + " actual: " + objectCount, caller);
}
}
void checkRoleMembershipQuota(ObjectStoreConnection con, String domainName,
String roleName, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// now check to make sure we can add 1 more member
// to this role without exceeding the quota
int objectCount = con.countRoleMembers(domainName, roleName) + 1;
if (quota.getRoleMember() < objectCount) {
throw ZMSUtils.quotaLimitError("role member quota exceeded - limit: "
+ quota.getRoleMember() + " actual: " + objectCount, caller);
}
}
void checkPolicyQuota(ObjectStoreConnection con, String domainName, Policy policy, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// if our policy is null then there is no quota check
if (policy == null) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// first we're going to verify the elements that do not
// require any further data from the object store
int objectCount = getListSize(policy.getAssertions());
if (quota.getAssertion() < objectCount) {
throw ZMSUtils.quotaLimitError("policy assertion quota exceeded - limit: "
+ quota.getAssertion() + " actual: " + objectCount, caller);
}
// now we're going to check if we'll be allowed
// to create this policy in the domain
objectCount = con.countPolicies(domainName) + 1;
if (quota.getPolicy() < objectCount) {
throw ZMSUtils.quotaLimitError("policy quota exceeded - limit: "
+ quota.getPolicy() + " actual: " + objectCount, caller);
}
}
void checkPolicyAssertionQuota(ObjectStoreConnection con, String domainName,
String policyName, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// now check to make sure we can add 1 more assertion
// to this policy without exceeding the quota
int objectCount = con.countAssertions(domainName, policyName) + 1;
if (quota.getAssertion() < objectCount) {
throw ZMSUtils.quotaLimitError("policy assertion quota exceeded - limit: "
+ quota.getAssertion() + " actual: " + objectCount, caller);
}
}
void checkServiceIdentityQuota(ObjectStoreConnection con, String domainName,
ServiceIdentity service, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// if our service is null then there is no quota check
if (service == null) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// first we're going to verify the elements that do not
// require any further data from the object store
int objectCount = getListSize(service.getHosts());
if (quota.getServiceHost() < objectCount) {
throw ZMSUtils.quotaLimitError("service host quota exceeded - limit: "
+ quota.getServiceHost() + " actual: " + objectCount, caller);
}
objectCount = getListSize(service.getPublicKeys());
if (quota.getPublicKey() < objectCount) {
throw ZMSUtils.quotaLimitError("service public key quota exceeded - limit: "
+ quota.getPublicKey() + " actual: " + objectCount, caller);
}
// now we're going to check if we'll be allowed
// to create this service in the domain
objectCount = con.countServiceIdentities(domainName) + 1;
if (quota.getService() < objectCount) {
throw ZMSUtils.quotaLimitError("service quota exceeded - limit: "
+ quota.getService() + " actual: " + objectCount, caller);
}
}
void checkServiceIdentityPublicKeyQuota(ObjectStoreConnection con, String domainName,
String serviceName, String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// now check to make sure we can add 1 more public key
// to this policy without exceeding the quota
int objectCount = con.countPublicKeys(domainName, serviceName) + 1;
if (quota.getPublicKey() < objectCount) {
throw ZMSUtils.quotaLimitError("service public key quota exceeded - limit: "
+ quota.getPublicKey() + " actual: " + objectCount, caller);
}
}
void checkEntityQuota(ObjectStoreConnection con, String domainName, Entity entity,
String caller) {
// if quota check is disabled we have nothing to do
if (!quotaCheckEnabled) {
return;
}
// if our entity is null then there is no quota check
if (entity == null) {
return;
}
// first retrieve the domain quota
final Quota quota = getDomainQuota(con, domainName);
// we're going to check if we'll be allowed
// to create this entity in the domain
int objectCount = con.countEntities(domainName) + 1;
if (quota.getEntity() < objectCount) {
throw ZMSUtils.quotaLimitError("entity quota exceeded - limit: "
+ quota.getEntity() + " actual: " + objectCount, caller);
}
}
}
| gurleen-gks/athenz | servers/zms/src/main/java/com/yahoo/athenz/zms/QuotaChecker.java | Java | apache-2.0 | 12,013 |
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
# Wrappers are used by the form builder to generate a
# complete input. You can remove any component from the
# wrapper, change the order or even add your own to the
# stack. The options given below are used to wrap the
# whole input.
config.wrappers :default, class: :input,
hint_class: :field_with_hint, error_class: :field_with_errors do |b|
## Extensions enabled by default
# Any of these extensions can be disabled for a
# given input by passing: `f.input EXTENSION_NAME => false`.
# You can make any of these extensions optional by
# renaming `b.use` to `b.optional`.
# Determines whether to use HTML5 (:email, :url, ...)
# and required attributes
b.use :html5
# Calculates placeholders automatically from I18n
# You can also pass a string as f.input placeholder: "Placeholder"
b.use :placeholder
## Optional extensions
# They are disabled unless you pass `f.input EXTENSION_NAME => :lookup`
# to the input. If so, they will retrieve the values from the model
# if any exists. If you want to enable the lookup for any of those
# extensions by default, you can change `b.optional` to `b.use`.
# Calculates maxlength from length validations for string inputs
b.optional :maxlength
# Calculates pattern from format validations for string inputs
b.optional :pattern
# Calculates min and max from length validations for numeric inputs
b.optional :min_max
# Calculates readonly automatically from readonly attributes
b.optional :readonly
## Inputs
b.use :label_input
b.use :hint, wrap_with: { tag: :span, class: :hint }
b.use :error, wrap_with: { tag: :span, class: :error }
end
# The default wrapper to be used by the FormBuilder.
config.default_wrapper = :default
# Define the way to render check boxes / radio buttons with labels.
# Defaults to :nested for bootstrap config.
# inline: input + label
# nested: label > input
config.boolean_style = :inline
# Default class for buttons
config.button_class = 'btn'
# Method used to tidy up errors. Specify any Rails Array method.
# :first lists the first message for each field.
# Use :to_sentence to list all errors for each field.
# config.error_method = :first
# Default tag used for error notification helper.
config.error_notification_tag = :div
# CSS class to add for error notification helper.
config.error_notification_class = 'alert alert-error'
# ID to add for error notification helper.
# config.error_notification_id = nil
# Series of attempts to detect a default label method for collection.
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
# Series of attempts to detect a default value method for collection.
# config.collection_value_methods = [ :id, :to_s ]
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
# config.collection_wrapper_tag = nil
# You can define the class to use on all collection wrappers. Defaulting to none.
# config.collection_wrapper_class = nil
# You can wrap each item in a collection of radio/check boxes with a tag,
# defaulting to :span. Please note that when using :boolean_style = :nested,
# SimpleForm will force this option to be a label.
# config.item_wrapper_tag = :span
# You can define a class to use in all item wrappers. Defaulting to none.
config.item_wrapper_class = nil
# How the label text should be generated altogether with the required text.
# config.label_text = lambda { |label, required| "#{required} #{label}" }
# You can define the class to use on all labels. Default is nil.
config.label_class = 'control-label'
# You can define the class to use on all forms. Default is simple_form.
# config.form_class = :simple_form
# You can define which elements should obtain additional classes
# config.generate_additional_classes_for = [:wrapper, :label, :input]
# Whether attributes are required by default (or not). Default is true.
# config.required_by_default = true
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
# These validations are enabled in SimpleForm's internal config but disabled by default
# in this configuration, which is recommended due to some quirks from different browsers.
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
# change this configuration to true.
config.browser_validations = false
# Collection of methods to detect if a file type was given.
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
# Custom mappings for input types. This should be a hash containing a regexp
# to match as key, and the input type that will be used when the field name
# matches the regexp as value.
# config.input_mappings = { /count/ => :integer }
# Custom wrappers for input types. This should be a hash containing an input
# type as key and the wrapper that will be used for all inputs with specified type.
# config.wrapper_mappings = { string: :prepend }
# Default priority for time_zone inputs.
# config.time_zone_priority = nil
# Default priority for country inputs.
# config.country_priority = nil
# When false, do not use translations for labels.
# config.translate_labels = true
# Automatically discover new inputs in Rails' autoload path.
# config.inputs_discovery = true
# Cache SimpleForm inputs discovery
# config.cache_discovery = !Rails.env.development?
# Default class for inputs
# config.input_class = ni
#
config.wrappers :checkbox, tag: :div, class: "algo", error_class: "has-error" do |b|
b.use :html5
b.wrapper tag: :div do |ba|
ba.use :input
ba.use :label_text
end
b.use :hint, wrap_with: { tag: :p, class: "help-block" }
b.use :error, wrap_with: { tag: :span, class: "help-block text-danger" }
end
end
| overallduka/bullkap | config/initializers/simple_form.rb | Ruby | apache-2.0 | 6,110 |
#!/usr/bin/env python
# Copyright JS Foundation and other contributors, http://js.foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import argparse
import collections
import hashlib
import os
import subprocess
import sys
import settings
OUTPUT_DIR = os.path.join(settings.PROJECT_DIR, 'build', 'tests')
Options = collections.namedtuple('Options', ['name', 'build_args', 'test_args'])
Options.__new__.__defaults__ = ([], [])
OPTIONS_PROFILE_MIN = ['--profile=minimal']
OPTIONS_PROFILE_ES51 = [] # NOTE: same as ['--profile=es5.1']
OPTIONS_PROFILE_ES2015 = ['--profile=es2015-subset']
OPTIONS_DEBUG = ['--debug']
OPTIONS_SNAPSHOT = ['--snapshot-save=on', '--snapshot-exec=on', '--jerry-cmdline-snapshot=on']
OPTIONS_UNITTESTS = ['--unittests=on', '--jerry-cmdline=off', '--error-messages=on',
'--snapshot-save=on', '--snapshot-exec=on', '--vm-exec-stop=on',
'--line-info=on', '--mem-stats=on']
OPTIONS_DOCTESTS = ['--doctests=on', '--jerry-cmdline=off', '--error-messages=on',
'--snapshot-save=on', '--snapshot-exec=on', '--vm-exec-stop=on']
# Test options for unittests
JERRY_UNITTESTS_OPTIONS = [
Options('unittests-es2015_subset',
OPTIONS_UNITTESTS + OPTIONS_PROFILE_ES2015),
Options('unittests-es2015_subset-debug',
OPTIONS_UNITTESTS + OPTIONS_PROFILE_ES2015 + OPTIONS_DEBUG),
Options('doctests-es2015_subset',
OPTIONS_DOCTESTS + OPTIONS_PROFILE_ES2015),
Options('doctests-es2015_subset-debug',
OPTIONS_DOCTESTS + OPTIONS_PROFILE_ES2015 + OPTIONS_DEBUG),
Options('unittests-es5.1',
OPTIONS_UNITTESTS + OPTIONS_PROFILE_ES51),
Options('unittests-es5.1-debug',
OPTIONS_UNITTESTS + OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG),
Options('doctests-es5.1',
OPTIONS_DOCTESTS + OPTIONS_PROFILE_ES51),
Options('doctests-es5.1-debug',
OPTIONS_DOCTESTS + OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG)
]
# Test options for jerry-tests
JERRY_TESTS_OPTIONS = [
Options('jerry_tests-es5.1',
OPTIONS_PROFILE_ES51),
Options('jerry_tests-es5.1-snapshot',
OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT,
['--snapshot']),
Options('jerry_tests-es5.1-debug',
OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG),
Options('jerry_tests-es5.1-debug-snapshot',
OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_DEBUG,
['--snapshot']),
Options('jerry_tests-es5.1-debug-cpointer_32bit',
OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + ['--cpointer-32bit=on', '--mem-heap=1024']),
Options('jerry_tests-es5.1-debug-external_context',
OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + ['--jerry-libc=off', '--external-context=on']),
Options('jerry_tests-es2015_subset-debug',
OPTIONS_PROFILE_ES2015 + OPTIONS_DEBUG),
]
# Test options for jerry-test-suite
JERRY_TEST_SUITE_OPTIONS = JERRY_TESTS_OPTIONS[:]
JERRY_TEST_SUITE_OPTIONS.extend([
Options('jerry_test_suite-minimal',
OPTIONS_PROFILE_MIN),
Options('jerry_test_suite-minimal-snapshot',
OPTIONS_PROFILE_MIN + OPTIONS_SNAPSHOT,
['--snapshot']),
Options('jerry_test_suite-minimal-debug',
OPTIONS_PROFILE_MIN + OPTIONS_DEBUG),
Options('jerry_test_suite-minimal-debug-snapshot',
OPTIONS_PROFILE_MIN + OPTIONS_SNAPSHOT + OPTIONS_DEBUG,
['--snapshot']),
Options('jerry_test_suite-es2015_subset',
OPTIONS_PROFILE_ES2015),
Options('jerry_test_suite-es2015_subset-snapshot',
OPTIONS_PROFILE_ES2015 + OPTIONS_SNAPSHOT,
['--snapshot']),
Options('jerry_test_suite-es2015_subset-debug-snapshot',
OPTIONS_PROFILE_ES2015 + OPTIONS_SNAPSHOT + OPTIONS_DEBUG,
['--snapshot']),
])
# Test options for test262
TEST262_TEST_SUITE_OPTIONS = [
Options('test262_tests')
]
# Test options for jerry-debugger
DEBUGGER_TEST_OPTIONS = [
Options('jerry_debugger_tests',
['--debug', '--jerry-debugger=on', '--jerry-libc=off'])
]
# Test options for buildoption-test
JERRY_BUILDOPTIONS = [
Options('buildoption_test-lto',
['--lto=on']),
Options('buildoption_test-error_messages',
['--error-messages=on']),
Options('buildoption_test-all_in_one',
['--all-in-one=on']),
Options('buildoption_test-valgrind',
['--valgrind=on']),
Options('buildoption_test-mem_stats',
['--mem-stats=on']),
Options('buildoption_test-show_opcodes',
['--show-opcodes=on']),
Options('buildoption_test-show_regexp_opcodes',
['--show-regexp-opcodes=on']),
Options('buildoption_test-compiler_default_libc',
['--jerry-libc=off']),
Options('buildoption_test-cpointer_32bit',
['--jerry-libc=off', '--compile-flag=-m32', '--cpointer-32bit=on', '--system-allocator=on']),
Options('buildoption_test-external_context',
['--jerry-libc=off', '--external-context=on']),
Options('buildoption_test-shared_libs',
['--jerry-libc=off', '--shared-libs=on']),
Options('buildoption_test-cmdline_test',
['--jerry-cmdline-test=on']),
Options('buildoption_test-cmdline_snapshot',
['--jerry-cmdline-snapshot=on']),
]
def get_arguments():
parser = argparse.ArgumentParser()
parser.add_argument('--toolchain', metavar='FILE',
help='Add toolchain file')
parser.add_argument('-q', '--quiet', action='store_true',
help='Only print out failing tests')
parser.add_argument('--buildoptions', metavar='LIST',
help='Add a comma separated list of extra build options to each test')
parser.add_argument('--skip-list', metavar='LIST',
help='Add a comma separated list of patterns of the excluded JS-tests')
parser.add_argument('--outdir', metavar='DIR', default=OUTPUT_DIR,
help='Specify output directory (default: %(default)s)')
parser.add_argument('--check-signed-off', metavar='TYPE', nargs='?',
choices=['strict', 'tolerant', 'travis'], const='strict',
help='Run signed-off check (%(choices)s; default type if not given: %(const)s)')
parser.add_argument('--check-cppcheck', action='store_true',
help='Run cppcheck')
parser.add_argument('--check-doxygen', action='store_true',
help='Run doxygen')
parser.add_argument('--check-pylint', action='store_true',
help='Run pylint')
parser.add_argument('--check-vera', action='store_true',
help='Run vera check')
parser.add_argument('--check-license', action='store_true',
help='Run license check')
parser.add_argument('--check-magic-strings', action='store_true',
help='Run "magic string source code generator should be executed" check')
parser.add_argument('--jerry-debugger', action='store_true',
help='Run jerry-debugger tests')
parser.add_argument('--jerry-tests', action='store_true',
help='Run jerry-tests')
parser.add_argument('--jerry-test-suite', action='store_true',
help='Run jerry-test-suite')
parser.add_argument('--test262', action='store_true',
help='Run test262')
parser.add_argument('--unittests', action='store_true',
help='Run unittests (including doctests)')
parser.add_argument('--buildoption-test', action='store_true',
help='Run buildoption-test')
parser.add_argument('--all', '--precommit', action='store_true',
help='Run all tests')
if len(sys.argv) == 1:
parser.print_help()
sys.exit(1)
script_args = parser.parse_args()
return script_args
BINARY_CACHE = {}
def create_binary(job, options):
build_args = job.build_args[:]
if options.buildoptions:
for option in options.buildoptions.split(','):
if option not in build_args:
build_args.append(option)
build_cmd = [settings.BUILD_SCRIPT] + build_args
build_dir_path = os.path.join(options.outdir, job.name)
build_cmd.append('--builddir=%s' % build_dir_path)
install_dir_path = os.path.join(build_dir_path, 'local')
build_cmd.append('--install=%s' % install_dir_path)
if options.toolchain:
build_cmd.append('--toolchain=%s' % options.toolchain)
sys.stderr.write('Build command: %s\n' % ' '.join(build_cmd))
binary_key = tuple(sorted(build_args))
if binary_key in BINARY_CACHE:
ret, build_dir_path = BINARY_CACHE[binary_key]
sys.stderr.write('(skipping: already built at %s with returncode %d)\n' % (build_dir_path, ret))
return ret, build_dir_path
try:
subprocess.check_output(build_cmd)
ret = 0
except subprocess.CalledProcessError as err:
ret = err.returncode
BINARY_CACHE[binary_key] = (ret, build_dir_path)
return ret, build_dir_path
def get_binary_path(build_dir_path):
return os.path.join(build_dir_path, 'local', 'bin', 'jerry')
def hash_binary(bin_path):
blocksize = 65536
hasher = hashlib.sha1()
with open(bin_path, 'rb') as bin_file:
buf = bin_file.read(blocksize)
while len(buf) > 0:
hasher.update(buf)
buf = bin_file.read(blocksize)
return hasher.hexdigest()
def iterate_test_runner_jobs(jobs, options):
tested_paths = set()
tested_hashes = {}
for job in jobs:
ret_build, build_dir_path = create_binary(job, options)
if ret_build:
yield job, ret_build, build_dir_path, None
if build_dir_path in tested_paths:
sys.stderr.write('(skipping: already tested with %s)\n' % build_dir_path)
continue
else:
tested_paths.add(build_dir_path)
bin_path = get_binary_path(build_dir_path)
bin_hash = hash_binary(bin_path)
if bin_hash in tested_hashes:
sys.stderr.write('(skipping: already tested with equivalent %s)\n' % tested_hashes[bin_hash])
continue
else:
tested_hashes[bin_hash] = build_dir_path
test_cmd = [settings.TEST_RUNNER_SCRIPT, bin_path]
yield job, ret_build, test_cmd
def run_check(runnable):
sys.stderr.write('Test command: %s\n' % ' '.join(runnable))
try:
ret = subprocess.check_call(runnable)
except subprocess.CalledProcessError as err:
return err.returncode
return ret
def run_jerry_debugger_tests(options):
ret_build = ret_test = 0
for job in DEBUGGER_TEST_OPTIONS:
ret_build, build_dir_path = create_binary(job, options)
if ret_build:
break
for test_file in os.listdir(settings.DEBUGGER_TESTS_DIR):
if test_file.endswith(".cmd"):
test_case, _ = os.path.splitext(test_file)
test_case_path = os.path.join(settings.DEBUGGER_TESTS_DIR, test_case)
test_cmd = [
settings.DEBUGGER_TEST_RUNNER_SCRIPT,
get_binary_path(build_dir_path),
settings.DEBUGGER_CLIENT_SCRIPT,
os.path.relpath(test_case_path, settings.PROJECT_DIR)
]
if job.test_args:
test_cmd.extend(job.test_args)
ret_test |= run_check(test_cmd)
return ret_build | ret_test
def run_jerry_tests(options):
ret_build = ret_test = 0
for job, ret_build, test_cmd in iterate_test_runner_jobs(JERRY_TESTS_OPTIONS, options):
if ret_build:
break
test_cmd.append(settings.JERRY_TESTS_DIR)
if options.quiet:
test_cmd.append("-q")
skip_list = []
if '--profile=es2015-subset' in job.build_args:
skip_list.append(r"es5.1\/")
else:
skip_list.append(r"es2015\/")
if options.skip_list:
skip_list.append(options.skip_list)
if skip_list:
test_cmd.append("--skip-list=" + ",".join(skip_list))
if job.test_args:
test_cmd.extend(job.test_args)
ret_test |= run_check(test_cmd)
return ret_build | ret_test
def run_jerry_test_suite(options):
ret_build = ret_test = 0
for job, ret_build, test_cmd in iterate_test_runner_jobs(JERRY_TEST_SUITE_OPTIONS, options):
if ret_build:
break
if '--profile=minimal' in job.build_args:
test_cmd.append(settings.JERRY_TEST_SUITE_MINIMAL_LIST)
elif '--profile=es2015-subset' in job.build_args:
test_cmd.append(settings.JERRY_TEST_SUITE_DIR)
else:
test_cmd.append(settings.JERRY_TEST_SUITE_ES51_LIST)
if options.quiet:
test_cmd.append("-q")
if options.skip_list:
test_cmd.append("--skip-list=" + options.skip_list)
if job.test_args:
test_cmd.extend(job.test_args)
ret_test |= run_check(test_cmd)
return ret_build | ret_test
def run_test262_test_suite(options):
ret_build = ret_test = 0
for job in TEST262_TEST_SUITE_OPTIONS:
ret_build, build_dir_path = create_binary(job, options)
if ret_build:
break
test_cmd = [
settings.TEST262_RUNNER_SCRIPT,
get_binary_path(build_dir_path),
settings.TEST262_TEST_SUITE_DIR
]
if job.test_args:
test_cmd.extend(job.test_args)
ret_test |= run_check(test_cmd)
return ret_build | ret_test
def run_unittests(options):
ret_build = ret_test = 0
for job in JERRY_UNITTESTS_OPTIONS:
ret_build, build_dir_path = create_binary(job, options)
if ret_build:
break
ret_test |= run_check([
settings.UNITTEST_RUNNER_SCRIPT,
os.path.join(build_dir_path, 'tests'),
"-q" if options.quiet else "",
])
return ret_build | ret_test
def run_buildoption_test(options):
for job in JERRY_BUILDOPTIONS:
ret, _ = create_binary(job, options)
if ret:
break
return ret
Check = collections.namedtuple('Check', ['enabled', 'runner', 'arg'])
def main(options):
checks = [
Check(options.check_signed_off, run_check, [settings.SIGNED_OFF_SCRIPT]
+ {'tolerant': ['--tolerant'], 'travis': ['--travis']}.get(options.check_signed_off, [])),
Check(options.check_cppcheck, run_check, [settings.CPPCHECK_SCRIPT]),
Check(options.check_doxygen, run_check, [settings.DOXYGEN_SCRIPT]),
Check(options.check_pylint, run_check, [settings.PYLINT_SCRIPT]),
Check(options.check_vera, run_check, [settings.VERA_SCRIPT]),
Check(options.check_license, run_check, [settings.LICENSE_SCRIPT]),
Check(options.check_magic_strings, run_check, [settings.MAGIC_STRINGS_SCRIPT]),
Check(options.jerry_debugger, run_jerry_debugger_tests, options),
Check(options.jerry_tests, run_jerry_tests, options),
Check(options.jerry_test_suite, run_jerry_test_suite, options),
Check(options.test262, run_test262_test_suite, options),
Check(options.unittests, run_unittests, options),
Check(options.buildoption_test, run_buildoption_test, options),
]
for check in checks:
if check.enabled or options.all:
ret = check.runner(check.arg)
if ret:
sys.exit(ret)
if __name__ == "__main__":
main(get_arguments())
| yichoi/jerryscript | tools/run-tests.py | Python | apache-2.0 | 16,290 |
// Copyright 2021 The Grin Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
mod chain_test_helper;
use grin_chain as chain;
use grin_core as core;
use grin_keychain as keychain;
use grin_util as util;
use self::chain_test_helper::{clean_output_dir, genesis_block, init_chain};
use crate::chain::{Chain, Options};
use crate::core::core::{Block, KernelFeatures, NRDRelativeHeight, Transaction};
use crate::core::libtx::{build, reward, ProofBuilder};
use crate::core::{consensus, global, pow};
use crate::keychain::{ExtKeychain, ExtKeychainPath, Identifier, Keychain};
use chrono::Duration;
fn build_block<K>(chain: &Chain, keychain: &K, key_id: &Identifier, txs: Vec<Transaction>) -> Block
where
K: Keychain,
{
let prev = chain.head_header().unwrap();
let next_header_info = consensus::next_difficulty(1, chain.difficulty_iter().unwrap());
let fee = txs.iter().map(|x| x.fee()).sum();
let reward =
reward::output(keychain, &ProofBuilder::new(keychain), key_id, fee, false).unwrap();
let mut block = Block::new(&prev, &txs, next_header_info.clone().difficulty, reward).unwrap();
block.header.timestamp = prev.timestamp + Duration::seconds(60);
block.header.pow.secondary_scaling = next_header_info.secondary_scaling;
chain.set_txhashset_roots(&mut block).unwrap();
let edge_bits = global::min_edge_bits();
block.header.pow.proof.edge_bits = edge_bits;
pow::pow_size(
&mut block.header,
next_header_info.difficulty,
global::proofsize(),
edge_bits,
)
.unwrap();
block
}
#[test]
fn mine_block_with_nrd_kernel_and_nrd_feature_enabled() {
global::set_local_chain_type(global::ChainTypes::AutomatedTesting);
global::set_local_nrd_enabled(true);
util::init_test_logger();
let chain_dir = ".grin.nrd_kernel";
clean_output_dir(chain_dir);
let keychain = ExtKeychain::from_random_seed(false).unwrap();
let pb = ProofBuilder::new(&keychain);
let genesis = genesis_block(&keychain);
let chain = init_chain(chain_dir, genesis.clone());
for n in 1..9 {
let key_id = ExtKeychainPath::new(1, n, 0, 0, 0).to_identifier();
let block = build_block(&chain, &keychain, &key_id, vec![]);
chain.process_block(block, Options::MINE).unwrap();
}
assert_eq!(chain.head().unwrap().height, 8);
let key_id1 = ExtKeychainPath::new(1, 1, 0, 0, 0).to_identifier();
let key_id2 = ExtKeychainPath::new(1, 2, 0, 0, 0).to_identifier();
let tx = build::transaction(
KernelFeatures::NoRecentDuplicate {
fee: 20000.into(),
relative_height: NRDRelativeHeight::new(1440).unwrap(),
},
&[
build::coinbase_input(consensus::REWARD, key_id1.clone()),
build::output(consensus::REWARD - 20000, key_id2.clone()),
],
&keychain,
&pb,
)
.unwrap();
let key_id9 = ExtKeychainPath::new(1, 9, 0, 0, 0).to_identifier();
let block = build_block(&chain, &keychain, &key_id9, vec![tx]);
chain.process_block(block, Options::MINE).unwrap();
chain.validate(false).unwrap();
clean_output_dir(chain_dir);
}
#[test]
fn mine_invalid_block_with_nrd_kernel_and_nrd_feature_enabled_before_hf() {
global::set_local_chain_type(global::ChainTypes::AutomatedTesting);
global::set_local_nrd_enabled(true);
util::init_test_logger();
let chain_dir = ".grin.invalid_nrd_kernel";
clean_output_dir(chain_dir);
let keychain = ExtKeychain::from_random_seed(false).unwrap();
let pb = ProofBuilder::new(&keychain);
let genesis = genesis_block(&keychain);
let chain = init_chain(chain_dir, genesis.clone());
for n in 1..8 {
let key_id = ExtKeychainPath::new(1, n, 0, 0, 0).to_identifier();
let block = build_block(&chain, &keychain, &key_id, vec![]);
chain.process_block(block, Options::MINE).unwrap();
}
assert_eq!(chain.head().unwrap().height, 7);
let key_id1 = ExtKeychainPath::new(1, 1, 0, 0, 0).to_identifier();
let key_id2 = ExtKeychainPath::new(1, 2, 0, 0, 0).to_identifier();
let tx = build::transaction(
KernelFeatures::NoRecentDuplicate {
fee: 20000.into(),
relative_height: NRDRelativeHeight::new(1440).unwrap(),
},
&[
build::coinbase_input(consensus::REWARD, key_id1.clone()),
build::output(consensus::REWARD - 20000, key_id2.clone()),
],
&keychain,
&pb,
)
.unwrap();
let key_id8 = ExtKeychainPath::new(1, 8, 0, 0, 0).to_identifier();
let block = build_block(&chain, &keychain, &key_id8, vec![tx]);
let res = chain.process_block(block, Options::MINE);
assert!(res.is_err());
clean_output_dir(chain_dir);
}
| yeastplume/grin | chain/tests/mine_nrd_kernel.rs | Rust | apache-2.0 | 4,904 |
# AUTOGENERATED FILE
FROM balenalib/jetson-xavier-nx-devkit-debian:bookworm-run
ENV NODE_VERSION 12.22.9
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; \
done \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-arm64.tar.gz" \
&& echo "307aa26c68600e2f73d699e58a15c59ea06928e4a348cd5a216278d9f2ee0d6c node-v$NODE_VERSION-linux-arm64.tar.gz" | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-arm64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-arm64.tar.gz" \
&& curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" \
&& curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" \
&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& mkdir -p /opt/yarn \
&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/yarn --strip-components=1 \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarnpkg \
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& npm config set unsafe-perm true -g --unsafe-perm \
&& rm -rf /tmp/*
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"]
RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/[email protected]" \
&& echo "Running test-stack@node" \
&& chmod +x [email protected] \
&& bash [email protected] \
&& rm -rf [email protected]
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo 'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v8 \nOS: Debian Bookworm \nVariant: run variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nNode.js v12.22.9, Yarn v1.22.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info
RUN echo '#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \
&& chmod +x /bin/sh-shim \
&& cp /bin/sh /bin/sh.real \
&& mv /bin/sh-shim /bin/sh | resin-io-library/base-images | balena-base-images/node/jetson-xavier-nx-devkit/debian/bookworm/12.22.9/run/Dockerfile | Dockerfile | apache-2.0 | 2,949 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package java.nio;
import libcore.io.SizeOf;
/**
* This class wraps a byte buffer to be a char buffer.
* <p>
* Implementation notice:
* <ul>
* <li>After a byte buffer instance is wrapped, it becomes privately owned by
* the adapter. It must NOT be accessed outside the adapter any more.</li>
* <li>The byte buffer's position and limit are NOT linked with the adapter.
* The adapter extends Buffer, thus has its own position and limit.</li>
* </ul>
* </p>
*
*/
final class ByteBufferAsCharBuffer extends CharBuffer {
private final ByteBuffer byteBuffer;
static CharBuffer asCharBuffer(ByteBuffer byteBuffer) {
ByteBuffer slice = byteBuffer.slice();
slice.order(byteBuffer.order());
return new ByteBufferAsCharBuffer(slice);
}
private ByteBufferAsCharBuffer(ByteBuffer byteBuffer) {
super(byteBuffer.capacity() / SizeOf.CHAR);
this.byteBuffer = byteBuffer;
this.byteBuffer.clear();
this.effectiveDirectAddress = byteBuffer.effectiveDirectAddress;
}
@Override
public CharBuffer asReadOnlyBuffer() {
ByteBufferAsCharBuffer buf = new ByteBufferAsCharBuffer(byteBuffer.asReadOnlyBuffer());
buf.limit = limit;
buf.position = position;
buf.mark = mark;
buf.byteBuffer.order = byteBuffer.order;
return buf;
}
@Override
public CharBuffer compact() {
if (byteBuffer.isReadOnly()) {
throw new ReadOnlyBufferException();
}
byteBuffer.limit(limit * SizeOf.CHAR);
byteBuffer.position(position * SizeOf.CHAR);
byteBuffer.compact();
byteBuffer.clear();
position = limit - position;
limit = capacity;
mark = UNSET_MARK;
return this;
}
@Override
public CharBuffer duplicate() {
ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());
ByteBufferAsCharBuffer buf = new ByteBufferAsCharBuffer(bb);
buf.limit = limit;
buf.position = position;
buf.mark = mark;
return buf;
}
@Override
public char get() {
if (position == limit) {
throw new BufferUnderflowException();
}
return byteBuffer.getChar(position++ * SizeOf.CHAR);
}
@Override
public char get(int index) {
checkIndex(index);
return byteBuffer.getChar(index * SizeOf.CHAR);
}
@Override
public CharBuffer get(char[] dst, int dstOffset, int charCount) {
byteBuffer.limit(limit * SizeOf.CHAR);
byteBuffer.position(position * SizeOf.CHAR);
if (byteBuffer instanceof DirectByteBuffer) {
((DirectByteBuffer) byteBuffer).get(dst, dstOffset, charCount);
} else {
((ByteArrayBuffer) byteBuffer).get(dst, dstOffset, charCount);
}
this.position += charCount;
return this;
}
@Override
public boolean isDirect() {
return byteBuffer.isDirect();
}
@Override
public boolean isReadOnly() {
return byteBuffer.isReadOnly();
}
@Override
public ByteOrder order() {
return byteBuffer.order();
}
@Override char[] protectedArray() {
throw new UnsupportedOperationException();
}
@Override int protectedArrayOffset() {
throw new UnsupportedOperationException();
}
@Override boolean protectedHasArray() {
return false;
}
@Override
public CharBuffer put(char c) {
if (position == limit) {
throw new BufferOverflowException();
}
byteBuffer.putChar(position++ * SizeOf.CHAR, c);
return this;
}
@Override
public CharBuffer put(int index, char c) {
checkIndex(index);
byteBuffer.putChar(index * SizeOf.CHAR, c);
return this;
}
@Override
public CharBuffer put(char[] src, int srcOffset, int charCount) {
byteBuffer.limit(limit * SizeOf.CHAR);
byteBuffer.position(position * SizeOf.CHAR);
if (byteBuffer instanceof DirectByteBuffer) {
((DirectByteBuffer) byteBuffer).put(src, srcOffset, charCount);
} else {
((ByteArrayBuffer) byteBuffer).put(src, srcOffset, charCount);
}
this.position += charCount;
return this;
}
@Override
public CharBuffer slice() {
byteBuffer.limit(limit * SizeOf.CHAR);
byteBuffer.position(position * SizeOf.CHAR);
ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());
CharBuffer result = new ByteBufferAsCharBuffer(bb);
byteBuffer.clear();
return result;
}
@Override public CharBuffer subSequence(int start, int end) {
checkStartEndRemaining(start, end);
CharBuffer result = duplicate();
result.limit(position + end);
result.position(position + start);
return result;
}
}
| indashnet/InDashNet.Open.UN2000 | android/libcore/luni/src/main/java/java/nio/ByteBufferAsCharBuffer.java | Java | apache-2.0 | 5,714 |
# AUTOGENERATED FILE
FROM balenalib/photon-nano-debian:stretch-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
netbase \
&& rm -rf /var/lib/apt/lists/*
# key 63C7CC90: public key "Simon McVittie <[email protected]>" imported
# key 3372DCFA: public key "Donald Stufft (dstufft) <[email protected]>" imported
RUN gpg --batch --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059
ENV PYTHON_VERSION 3.8.12
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
ENV PYTHON_PIP_VERSION 21.3.1
ENV SETUPTOOLS_VERSION 60.5.4
RUN set -x \
&& buildDeps=' \
curl \
' \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/python/v$PYTHON_VERSION/Python-$PYTHON_VERSION.linux-aarch64-libffi3.2.tar.gz" \
&& echo "7431f1179737fed6518ccf8187ad738c2f2e16feb75b7528e4e0bb7934d192cf Python-$PYTHON_VERSION.linux-aarch64-libffi3.2.tar.gz" | sha256sum -c - \
&& tar -xzf "Python-$PYTHON_VERSION.linux-aarch64-libffi3.2.tar.gz" --strip-components=1 \
&& rm -rf "Python-$PYTHON_VERSION.linux-aarch64-libffi3.2.tar.gz" \
&& ldconfig \
&& if [ ! -e /usr/local/bin/pip3 ]; then : \
&& curl -SLO "https://raw.githubusercontent.com/pypa/get-pip/430ba37776ae2ad89f794c7a43b90dc23bac334c/get-pip.py" \
&& echo "19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py" | sha256sum -c - \
&& python3 get-pip.py \
&& rm get-pip.py \
; fi \
&& pip3 install --no-cache-dir --upgrade --force-reinstall pip=="$PYTHON_PIP_VERSION" setuptools=="$SETUPTOOLS_VERSION" \
&& find /usr/local \
\( -type d -a -name test -o -name tests \) \
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
-exec rm -rf '{}' + \
&& cd / \
&& rm -rf /usr/src/python ~/.cache
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
&& ln -sf pip3 pip \
&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -sf idle3 idle \
&& ln -sf pydoc3 pydoc \
&& ln -sf python3 python \
&& ln -sf python3-config python-config
# set PYTHONPATH to point to dist-packages
ENV PYTHONPATH /usr/lib/python3/dist-packages:$PYTHONPATH
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"]
RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/[email protected]" \
&& echo "Running test-stack@python" \
&& chmod +x [email protected] \
&& bash [email protected] \
&& rm -rf [email protected]
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo 'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v8 \nOS: Debian Stretch \nVariant: run variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nPython v3.8.12, Pip v21.3.1, Setuptools v60.5.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info
RUN echo '#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \
&& chmod +x /bin/sh-shim \
&& cp /bin/sh /bin/sh.real \
&& mv /bin/sh-shim /bin/sh | resin-io-library/base-images | balena-base-images/python/photon-nano/debian/stretch/3.8.12/run/Dockerfile | Dockerfile | apache-2.0 | 4,094 |
//
// TweetComposer.h
//
// Created by Calvin Lai on 8/11/13.
//
//
#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>
#import <Social/Social.h>
#import <Accounts/Accounts.h>
@interface BundleIdentifier : CDVPlugin {
NSMutableDictionary* callbackIds;
// NSString * phoneNumber;
// NSString * messageText;
}
@property (nonatomic, retain) NSMutableDictionary* callbackIds;
//@property (nonatomic, retain) NSString *phoneNumber;
//@property (nonatomic, retain) NSString *messageText;
- (void)get:(CDVInvokedUrlCommand*)command;
@end
| ozawa-hi/cordova-plugin-bundle-identifier | src/ios/BundleIdentifier.h | C | apache-2.0 | 560 |
/*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradoop.examples.io;
import org.apache.flink.api.common.ProgramDescription;
import org.apache.flink.api.java.ExecutionEnvironment;
import org.gradoop.examples.AbstractRunner;
import org.gradoop.flink.io.impl.deprecated.json.JSONDataSink;
import org.gradoop.flink.io.impl.deprecated.json.JSONDataSource;
import org.gradoop.flink.model.impl.epgm.GraphCollection;
import org.gradoop.flink.model.impl.epgm.LogicalGraph;
import org.gradoop.flink.model.impl.operators.combination.ReduceCombination;
import org.gradoop.flink.model.impl.operators.grouping.Grouping;
import org.gradoop.flink.util.GradoopFlinkConfig;
import static java.util.Collections.singletonList;
/**
* Example program that reads a graph from an EPGM-specific JSON representation
* into a {@link GraphCollection}, does some computation and stores the
* resulting {@link LogicalGraph} as JSON.
*
* In the JSON representation, an EPGM graph collection (or Logical Graph) is
* stored in three (or two) separate files. Each line in those files contains
* a valid JSON-document describing a single entity:
*
* Example graphHead (data attached to logical graphs):
*
* {
* "id":"graph-uuid-1",
* "data":{"interest":"Graphs","vertexCount":4},
* "meta":{"label":"Community"}
* }
*
* Example vertex JSON document:
*
* {
* "id":"vertex-uuid-1",
* "data":{"gender":"m","city":"Dresden","name":"Dave","age":40},
* "meta":{"label":"Person","graphs":["graph-uuid-1"]}
* }
*
* Example edge JSON document:
*
* {
* "id":"edge-uuid-1",
* "source":"14505ae1-5003-4458-b86b-d137daff6525",
* "target":"ed8386ee-338a-4177-82c4-6c1080df0411",
* "data":{},
* "meta":{"label":"friendOf","graphs":["graph-uuid-1"]}
* }
*
* An example graph collection can be found under src/main/resources/data.json.
* For further information, have a look at the {@link org.gradoop.flink.io.impl.deprecated.json}
* package.
*/
public class JSONExample extends AbstractRunner implements ProgramDescription {
/**
* Reads an EPGM graph collection from a directory that contains the separate
* files. Files can be stored in local file system or HDFS.
*
* args[0]: path to input graph
* args[1]: path to output graph
*
* @param args program arguments
*/
public static void main(String[] args) throws Exception {
if (args.length != 2) {
throw new IllegalArgumentException(
"provide graph/vertex/edge paths and output directory");
}
final String inputPath = args[0];
final String outputPath = args[1];
// init Flink execution environment
ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
// create default Gradoop config
GradoopFlinkConfig config = GradoopFlinkConfig.createConfig(env);
// create DataSource
JSONDataSource dataSource = new JSONDataSource(inputPath, config);
// read graph collection from DataSource
GraphCollection graphCollection = dataSource.getGraphCollection();
// do some analytics
LogicalGraph schema = graphCollection
.reduce(new ReduceCombination())
.groupBy(singletonList(Grouping.LABEL_SYMBOL), singletonList(Grouping.LABEL_SYMBOL));
// write resulting graph to DataSink
schema.writeTo(new JSONDataSink(outputPath, config));
// execute program
env.execute();
}
@Override
public String getDescription() {
return "EPGM JSON IO Example";
}
}
| niklasteichmann/gradoop | gradoop-examples/src/main/java/org/gradoop/examples/io/JSONExample.java | Java | apache-2.0 | 4,053 |
import math
def isPrime(num):
if num < 2:
return False # 0, 1不是质数
# num为100时, 它是不可能有因子是大于50的. 比如说60 * ? = 100, 这是不可能的, 所以这里只要比较sqrt(), 平方根
boundary = int(math.sqrt(num)) + 1
for i in range(2, boundary):
if num % i == 0:
return False
return True
def primeSieve(size):
sieve = [True] * size # 某格一为乘积, 就置为False
sieve[0] = False
sieve[1] = True
# num为100时, 它是不可能有因子是大于50的. 比如说60 * ? = 100, 这是不可能的, 所以这里只要比较sqrt(), 平方根
boundary = int(math.sqrt(size)) + 1
for i in range(2, boundary):
pointer = i * 2 # startPosition. 以3为例, 3其实是质数, 但它的位数6,9, 12, ...都不是质数
while pointer < size:
sieve[pointer] = False
pointer += i
ret = [] # contains all the prime number within "size"
for i in range(size):
if sieve[i] == True:
ret.append(str(i))
return ret
if __name__ == '__main__':
primes = primeSieve(100)
primesString = ", ".join(primes)
print("prime : ", primesString)
'''
prime : 1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
''' | songzhw/Hello-kotlin | Python101/src/math/PrimeSieve.py | Python | apache-2.0 | 1,333 |
package pl.touk.nussknacker.engine.management.sample.signal
import java.nio.charset.StandardCharsets
import io.circe.generic.JsonCodec
import io.circe.generic.extras.ConfiguredJsonCodec
import pl.touk.nussknacker.engine.api.CirceUtil._
import pl.touk.nussknacker.engine.flink.util.source.EspDeserializationSchema
object Signals {
@JsonCodec case class SampleProcessSignal(processId: String, timestamp: Long, action: SignalAction)
//Note: due to some problems with circe (https://circe.github.io/circe/codecs/known-issues.html#knowndirectsubclasses-error)
// and scala 2.11 this definition should be *before* SignalAction. This problem occurs during doc generation...
case class RemoveLock(lockId: String) extends SignalAction {
override def key: String = lockId
}
@ConfiguredJsonCodec sealed trait SignalAction {
def key: String
}
}
object SignalSchema {
import Signals._
import org.apache.flink.streaming.api.scala._
val deserializationSchema = new EspDeserializationSchema[SampleProcessSignal](jsonBytes => decodeJsonUnsafe[SampleProcessSignal](jsonBytes))
} | TouK/nussknacker | engine/flink/management/dev-model/src/main/scala/pl/touk/nussknacker/engine/management/sample/signal/Signals.scala | Scala | apache-2.0 | 1,095 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Sat Aug 23 20:46:18 CST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.xclcharts.renderer.LnChart</title>
<meta name="date" content="2014-08-23">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.xclcharts.renderer.LnChart";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/xclcharts/renderer/LnChart.html" title="class in org.xclcharts.renderer">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/xclcharts/renderer/class-use/LnChart.html" target="_top">Frames</a></li>
<li><a href="LnChart.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.xclcharts.renderer.LnChart" class="title">Uses of Class<br>org.xclcharts.renderer.LnChart</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../org/xclcharts/renderer/LnChart.html" title="class in org.xclcharts.renderer">LnChart</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.xclcharts.chart">org.xclcharts.chart</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.xclcharts.chart">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/xclcharts/renderer/LnChart.html" title="class in org.xclcharts.renderer">LnChart</a> in <a href="../../../../org/xclcharts/chart/package-summary.html">org.xclcharts.chart</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../org/xclcharts/renderer/LnChart.html" title="class in org.xclcharts.renderer">LnChart</a> in <a href="../../../../org/xclcharts/chart/package-summary.html">org.xclcharts.chart</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><strong><a href="../../../../org/xclcharts/chart/AreaChart.html" title="class in org.xclcharts.chart">AreaChart</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><strong><a href="../../../../org/xclcharts/chart/LineChart.html" title="class in org.xclcharts.chart">LineChart</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><strong><a href="../../../../org/xclcharts/chart/SplineChart.html" title="class in org.xclcharts.chart">SplineChart</a></strong></code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../org/xclcharts/renderer/LnChart.html" title="class in org.xclcharts.renderer">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/xclcharts/renderer/class-use/LnChart.html" target="_top">Frames</a></li>
<li><a href="LnChart.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| tangjilv/news-project | doc/org/xclcharts/renderer/class-use/LnChart.html | HTML | apache-2.0 | 6,333 |
import Ember from 'ember';
const DELAY = 100;
export default Ember.Component.extend({
classNameBindings : ['inlineBlock:inline-block','clip:clip'],
tooltipService : Ember.inject.service('tooltip'),
inlineBlock : true,
clip : false,
model : null,
size : 'default',
ariaRole : ['tooltip'],
textChangedEvent : null,
showTimer : null,
textChanged: Ember.observer('textChangedEvent', function() {
this.show(this.get('textChangedEvent'));
}),
mouseEnter(evt) {
if ( !this.get('tooltipService.requireClick') )
{
let tgt = Ember.$(evt.currentTarget);
if (this.get('tooltipService.tooltipOpts')) {
this.set('tooltipService.tooltipOpts', null);
}
// Wait for a little bit of time so that the mouse can pass through
// another tooltip-element on the way to the dropdown trigger of a
// tooltip-action-menu without changing the tooltip.
this.set('showTimer', Ember.run.later(() => {
this.show(tgt);
}, DELAY));
}
},
show(node) {
if ( this._state === 'destroying' )
{
return;
}
let svc = this.get('tooltipService');
this.set('showTimer', null);
svc.cancelTimer();
let out = {
type : this.get('type'),
baseClass : this.get('baseClass'),
eventPosition : node.offset(),
originalNode : node,
model : this.get('model'),
template : this.get('tooltipTemplate'),
};
if ( this.get('isCopyTo') ) {
out.isCopyTo = true;
}
svc.set('tooltipOpts', out);
},
mouseLeave: function() {
if (!this.get('tooltipService.openedViaContextClick')) {
if ( this.get('showTimer') ) {
Ember.run.cancel(this.get('showTimer'));
}
else {
this.get('tooltipService').leave();
}
}
},
modelObserver: Ember.observer('model', 'textChangedEvent', function() {
let opts = this.get('tooltipService.tooltipOpts');
if (opts) {
this.set('tooltipService.tooltipOpts.model', this.get('model'));
}
})
});
| nrvale0/ui | app/components/tooltip-element/component.js | JavaScript | apache-2.0 | 2,144 |
package com.altas.preferencevobjectfile.model;
import java.io.Serializable;
/**
* @author Altas
* @email [email protected]
* @date 2014年9月27日
*/
public class UserInfo implements Serializable {
/**
*
*/
private static final long serialVersionUID = 8558071977129572083L;
public int id;
public String token;
public String userName;
public String headImg;
public String phoneNum;
public double balance;
public int integral;
public UserInfo(){}
public UserInfo(int i,String t,String un,String hi,String pn,double b,int point){
id=i;
token=t;
userName = un;
headImg = hi;
phoneNum = pn;
balance = b;
integral = point;
}
}
| mdreza/PreferenceVObjectFile | PreferenceVObjectFile/src/com/altas/preferencevobjectfile/model/UserInfo.java | Java | apache-2.0 | 663 |
---
layout: base
title: 'Statistics of cc:preconj in UD_Arabic-PUD'
udver: '2'
---
## Treebank Statistics: UD_Arabic-PUD: Relations: `cc:preconj`
This relation is a language-specific subtype of <tt><a href="ar_pud-dep-cc.html">cc</a></tt>.
2 nodes (0%) are attached to their parents as `cc:preconj`.
2 instances of `cc:preconj` (100%) are right-to-left (child precedes parent).
Average distance between parent and child is 2.
The following 2 pairs of parts of speech are connected with `cc:preconj`: <tt><a href="ar_pud-pos-NOUN.html">NOUN</a></tt>-<tt><a href="ar_pud-pos-PART.html">PART</a></tt> (1; 50% instances), <tt><a href="ar_pud-pos-VERB.html">VERB</a></tt>-<tt><a href="ar_pud-pos-PART.html">PART</a></tt> (1; 50% instances).
~~~ conllu
# visual-style 20 bgColor:blue
# visual-style 20 fgColor:white
# visual-style 22 bgColor:blue
# visual-style 22 fgColor:white
# visual-style 22 20 cc:preconj color:blue
1 خارج xArij_1 ADP IN _ 2 case _ _
2 اليابان yAbAn_1 PROPN NNP Animacy=Nhum|Case=Gen|Gender=Fem|Number=Sing 11 obl _ SpaceAfter=No
3 , ,_0 PUNCT , _ 5 punct _ _
4 و w CCONJ CC _ 5 cc _ SpaceAfter=No
5 بدءاً bado'_1 NOUN VBG Case=Acc|Definite=Ind|Gender=Masc 2 conj _ _
6 من min_1 ADP IN _ 7 case _ _
7 الإمبراطور <imobirATuwr_1 NOUN NN Animacy=Hum|Case=Gen|Definite=Def|Gender=Masc|Number=Sing 5 obl _ _
8 شووا $awaY-i_1 PROPN NNP Animacy=Hum|Gender=Masc|Number=Sing 7 appos _ SpaceAfter=No
9 , ,_0 PUNCT , _ 2 punct _ _
10 بات bAt-i_1 VERB VBC Aspect=Perf|Gender=Masc|Number=Sing|Person=3|Tense=Past|Voice=Act 11 aux _ _
11 يشار >a$Ar_1 VERB VBC Aspect=Imp|Gender=Masc|Mood=Ind|Number=Sing|Person=3|Tense=Pres|Voice=Pass 0 root _ _
12 إلى <ilaY_1 ADP IN _ 13 case _ _
13 الأباطرة >abATirap_1 NOUN NN Animacy=Hum|Case=Gen|Definite=Def|Gender=Masc|Number=Plur 11 obl _ _
14 عادةً EAdap_1 ADV RB _ 11 advmod _ _
15 ب b ADP IN _ 16 case _ SpaceAfter=No
16 أسمائ {isom_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Masc|Number=Plur 11 obl _ SpaceAfter=No
17 هم hm PRON PRP Case=Gen|Gender=Masc|Number=Plur|Person=3 16 nmod _ _
18 الأولى >aw~al_2 ADJ JJ Case=Gen|Definite=Def|Gender=Fem|Number=Sing 16 amod _ SpaceAfter=No
19 , ,_0 PUNCT , _ 22 punct _ _
20 سواء sawA'_1 PART RP _ 22 cc:preconj _ _
21 خلال xilAl_1 ADP IN _ 22 case _ _
22 حيات HayAp_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Fem|Number=Sing 11 obl _ SpaceAfter=No
23 هم hm PRON PRP Case=Gen|Gender=Masc|Number=Plur|Person=3 22 nmod _ _
24 أو >awo_1 CCONJ CC _ 26 cc _ _
25 بعد baEod_1 ADP IN _ 26 case _ _
26 وفات wafAp_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Fem|Number=Sing 22 conj _ SpaceAfter=No
27 هم hm PRON PRP Case=Gen|Gender=Masc|Number=Plur|Person=3 26 nmod _ SpaceAfter=No
28 . ._0 PUNCT . _ 11 punct _ _
~~~
~~~ conllu
# visual-style 8 bgColor:blue
# visual-style 8 fgColor:white
# visual-style 10 bgColor:blue
# visual-style 10 fgColor:white
# visual-style 10 8 cc:preconj color:blue
1 و w PART RP _ 3 compound:prt _ SpaceAfter=No
2 قد qado_1 PART RP _ 3 compound:prt _ _
3 ظهرت Zahar-a_1 VERB VBC Aspect=Perf|Gender=Fem|Number=Sing|Person=3|Tense=Past|Voice=Act 0 root _ _
4 نبوءةٌ nubuw'ap_1 NOUN NN Animacy=Nhum|Case=Nom|Definite=Ind|Gender=Fem|Number=Sing 3 nsubj _ _
5 تقول qAl-u_1 VERB VBC Aspect=Imp|Gender=Fem|Mood=Ind|Number=Sing|Person=3|Tense=Pres|Voice=Act 4 acl:relcl _ _
6 أن >an~a_1 SCONJ IN _ 10 mark _ SpaceAfter=No
7 ه h PRON PRP Case=Acc|Gender=Masc|Number=Sing|Person=3 10 nsubj _ _
8 إما >am~A_1 PART RP _ 10 cc:preconj _ _
9 س s PART RP _ 10 compound:prt _ SpaceAfter=No
10 يموت mAt-u_1 VERB VBC Aspect=Imp|Gender=Masc|Mood=Ind|Number=Sing|Person=3|Tense=Fut|Voice=Act 5 ccomp _ _
11 ب b ADP IN _ 12 case _ SpaceAfter=No
12 الشيخوخة $ayoxuwxap_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Fem|Number=Sing 10 obl _ _
13 بعد baEod_1 ADP IN _ 14 case _ _
14 حياةٍ HayAp_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Ind|Gender=Fem|Number=Sing 10 obl _ _
15 هادئة hAdi}_2 ADJ JJ Case=Gen|Definite=Ind|Gender=Fem|Number=Sing 14 amod _ SpaceAfter=No
16 , ,_0 PUNCT , _ 19 punct _ _
17 أو >awo_1 CCONJ CC _ 19 cc _ _
18 س s PART RP _ 19 compound:prt _ SpaceAfter=No
19 يموت mAt-u_1 VERB VBC Aspect=Imp|Gender=Masc|Mood=Ind|Number=Sing|Person=3|Tense=Fut|Voice=Act 10 conj _ _
20 يافعاً yAfiE_1 NOUN VBN Case=Acc|Definite=Ind|Gender=Masc|Number=Sing|VerbForm=Part|Voice=Act 19 acl _ _
21 في fiy_1 ADP IN _ 22 case _ _
22 أرض >aroD_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Fem|Number=Sing 19 obl _ _
23 المعركة maEorakap_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Fem|Number=Sing 22 nmod _ _
24 و w CCONJ CC _ 26 cc _ SpaceAfter=No
25 س s PART RP _ 26 compound:prt _ SpaceAfter=No
26 يكتسب {ikotasab_1 VERB VBC Aspect=Imp|Gender=Masc|Mood=Ind|Number=Sing|Person=3|Tense=Fut|Voice=Act 19 conj _ _
27 الخلود xuluwd_1 NOUN NN Animacy=Nhum|Case=Acc|Definite=Def|Gender=Masc|Number=Sing 26 obj _ _
28 من min_1 ADP IN _ 30 case _ _
29 خلال xilAl_1 ADP IN _ 28 fixed _ _
30 الشعر $iEor_1 NOUN NN Animacy=Nhum|Case=Gen|Definite=Def|Gender=Masc|Number=Sing 26 obl _ SpaceAfter=No
31 . ._0 PUNCT . _ 3 punct _ _
~~~
| UniversalDependencies/docs | treebanks/ar_pud/ar_pud-dep-cc-preconj.md | Markdown | apache-2.0 | 5,268 |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
| Kausta/SocketPlay | CODE_OF_CONDUCT.md | Markdown | apache-2.0 | 3,218 |
# -*- encoding: utf-8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import pyparsing as pp
uninary_operators = ("not", )
binary_operator = (u">=", u"<=", u"!=", u">", u"<", u"=", u"==", u"eq", u"ne",
u"lt", u"gt", u"ge", u"le", u"in", u"like", u"≠", u"≥",
u"≤", u"like" "in")
multiple_operators = (u"and", u"or", u"∧", u"∨")
operator = pp.Regex(u"|".join(binary_operator))
null = pp.Regex("None|none|null").setParseAction(pp.replaceWith(None))
boolean = "False|True|false|true"
boolean = pp.Regex(boolean).setParseAction(lambda t: t[0].lower() == "true")
hex_string = lambda n: pp.Word(pp.hexnums, exact=n)
uuid = pp.Combine(hex_string(8) + ("-" + hex_string(4)) * 3 +
"-" + hex_string(12))
number = r"[+-]?\d+(:?\.\d*)?(:?[eE][+-]?\d+)?"
number = pp.Regex(number).setParseAction(lambda t: float(t[0]))
identifier = pp.Word(pp.alphas, pp.alphanums + "_")
quoted_string = pp.QuotedString('"') | pp.QuotedString("'")
comparison_term = pp.Forward()
in_list = pp.Group(pp.Suppress('[') +
pp.Optional(pp.delimitedList(comparison_term)) +
pp.Suppress(']'))("list")
comparison_term << (null | boolean | uuid | identifier | number |
quoted_string | in_list)
condition = pp.Group(comparison_term + operator + comparison_term)
expr = pp.operatorPrecedence(condition, [
("not", 1, pp.opAssoc.RIGHT, ),
("and", 2, pp.opAssoc.LEFT, ),
("∧", 2, pp.opAssoc.LEFT, ),
("or", 2, pp.opAssoc.LEFT, ),
("∨", 2, pp.opAssoc.LEFT, ),
])
def _parsed_query2dict(parsed_query):
result = None
while parsed_query:
part = parsed_query.pop()
if part in binary_operator:
result = {part: {parsed_query.pop(): result}}
elif part in multiple_operators:
if result.get(part):
result[part].append(
_parsed_query2dict(parsed_query.pop()))
else:
result = {part: [result]}
elif part in uninary_operators:
result = {part: result}
elif isinstance(part, pp.ParseResults):
kind = part.getName()
if kind == "list":
res = part.asList()
else:
res = _parsed_query2dict(part)
if result is None:
result = res
elif isinstance(result, dict):
list(result.values())[0].append(res)
else:
result = part
return result
def search_query_builder(query):
parsed_query = expr.parseString(query)[0]
return _parsed_query2dict(parsed_query)
def list2cols(cols, objs):
return cols, [tuple([o[k] for k in cols])
for o in objs]
def format_string_list(objs, field):
objs[field] = ", ".join(objs[field])
def format_dict_list(objs, field):
objs[field] = "\n".join(
"- " + ", ".join("%s: %s" % (k, v)
for k, v in elem.items())
for elem in objs[field])
def format_move_dict_to_root(obj, field):
for attr in obj[field]:
obj["%s/%s" % (field, attr)] = obj[field][attr]
del obj[field]
def format_archive_policy(ap):
format_dict_list(ap, "definition")
format_string_list(ap, "aggregation_methods")
def dict_from_parsed_args(parsed_args, attrs):
d = {}
for attr in attrs:
value = getattr(parsed_args, attr)
if value is not None:
d[attr] = value
return d
def dict_to_querystring(objs):
return "&".join(["%s=%s" % (k, v)
for k, v in objs.items()
if v is not None])
| chungg/python-aodhclient | aodhclient/utils.py | Python | apache-2.0 | 4,174 |
/* Copyright 2017 Braden Farmer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.farmerbb.secondscreen.service;
import android.app.KeyguardManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.admin.DevicePolicyManager;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.inputmethodservice.InputMethodService;
import android.os.Build;
import androidx.core.app.NotificationCompat;
import android.text.InputType;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputMethodManager;
import com.farmerbb.secondscreen.R;
import com.farmerbb.secondscreen.receiver.KeyboardChangeReceiver;
import com.farmerbb.secondscreen.util.U;
import java.util.Random;
public class DisableKeyboardService extends InputMethodService {
Integer notificationId;
@Override
public boolean onShowInputRequested(int flags, boolean configChange) {
return false;
}
@Override
public void onStartInput(EditorInfo attribute, boolean restarting) {
boolean isEditingText = attribute.inputType != InputType.TYPE_NULL;
boolean hasHardwareKeyboard = getResources().getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS;
if(notificationId == null && isEditingText && !hasHardwareKeyboard) {
Intent keyboardChangeIntent = new Intent(this, KeyboardChangeReceiver.class);
PendingIntent keyboardChangePendingIntent = PendingIntent.getBroadcast(this, 0, keyboardChangeIntent, PendingIntent.FLAG_UPDATE_CURRENT);
NotificationCompat.Builder notification = new NotificationCompat.Builder(this)
.setContentIntent(keyboardChangePendingIntent)
.setSmallIcon(android.R.drawable.stat_sys_warning)
.setContentTitle(getString(R.string.disabling_soft_keyboard))
.setContentText(getString(R.string.tap_to_change_keyboards))
.setOngoing(true)
.setShowWhen(false);
// Respect setting to hide notification
SharedPreferences prefMain = U.getPrefMain(this);
if(prefMain.getBoolean("hide_notification", false))
notification.setPriority(Notification.PRIORITY_MIN);
notificationId = new Random().nextInt();
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.notify(notificationId, notification.build());
boolean autoShowInputMethodPicker = false;
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
DevicePolicyManager devicePolicyManager = (DevicePolicyManager) getSystemService(DEVICE_POLICY_SERVICE);
switch(devicePolicyManager.getStorageEncryptionStatus()) {
case DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE:
case DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE_PER_USER:
break;
default:
autoShowInputMethodPicker = true;
break;
}
}
KeyguardManager keyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
if(keyguardManager.inKeyguardRestrictedInputMode() && autoShowInputMethodPicker) {
InputMethodManager manager = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
manager.showInputMethodPicker();
}
} else if(notificationId != null && !isEditingText) {
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel(notificationId);
notificationId = null;
}
}
@Override
public void onDestroy() {
if(notificationId != null) {
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel(notificationId);
notificationId = null;
}
super.onDestroy();
}
}
| farmerbb/SecondScreen | app/src/main/java/com/farmerbb/secondscreen/service/DisableKeyboardService.java | Java | apache-2.0 | 4,734 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using AutoMapper;
using Art.Domain;
namespace Art.Rest.v1
{
// Generated 07/20/2013 16:40:13
// Change code for each method
public class UsersController : BaseApiController
{
// GET Collection
[HttpGet]
public IEnumerable<ApiUser> Get(string expand = "")
{
return new List<ApiUser>();
}
// GET Single
[HttpGet]
public ApiUser Get(int? id, string expand = "")
{
return new ApiUser();
}
// POST = Insert
[HttpPost]
public ApiUser Post([FromBody] ApiUser apiuser)
{
return apiuser;
}
// PUT = Update
[HttpPut]
public ApiUser Put(int? id, [FromBody] ApiUser apiuser)
{
return apiuser;
}
// DELETE
[HttpDelete]
public ApiUser Delete(int? id)
{
return new ApiUser();
}
}
}
| Kiandr/MS | NetPatternDesign/Spark/Art.Rest.v1/Controllers/UsersController.cs | C# | apache-2.0 | 1,090 |
# Copyright 2013 - Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from solum import objects
from solum.objects import extension as abstract_extension
from solum.objects import operation as abstract_operation
from solum.objects import plan as abstract_plan
from solum.objects import sensor as abstract_sensor
from solum.objects import service as abstract_srvc
from solum.objects.sqlalchemy import extension
from solum.objects.sqlalchemy import operation
from solum.objects.sqlalchemy import plan
from solum.objects.sqlalchemy import sensor
from solum.objects.sqlalchemy import service
def load():
"""Activate the sqlalchemy backend."""
objects.registry.add(abstract_plan.Plan, plan.Plan)
objects.registry.add(abstract_plan.PlanList, plan.PlanList)
objects.registry.add(abstract_srvc.Service, service.Service)
objects.registry.add(abstract_srvc.ServiceList, service.ServiceList)
objects.registry.add(abstract_operation.Operation, operation.Operation)
objects.registry.add(abstract_operation.OperationList,
operation.OperationList)
objects.registry.add(abstract_sensor.Sensor, sensor.Sensor)
objects.registry.add(abstract_sensor.SensorList, sensor.SensorList)
objects.registry.add(abstract_extension.Extension, extension.Extension)
objects.registry.add(abstract_extension.ExtensionList,
extension.ExtensionList)
| shakamunyi/solum | solum/objects/sqlalchemy/__init__.py | Python | apache-2.0 | 1,920 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
// MODULES //
var Readable = require( 'readable-stream' ).Readable;
var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
var isProbability = require( '@stdlib/assert/is-probability' ).isPrimitive;
var isError = require( '@stdlib/assert/is-error' );
var copy = require( '@stdlib/utils/copy' );
var inherit = require( '@stdlib/utils/inherit' );
var setNonEnumerable = require( '@stdlib/utils/define-nonenumerable-property' );
var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
var setReadOnlyAccessor = require( '@stdlib/utils/define-read-only-accessor' );
var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
var rnbinom = require( '@stdlib/random/base/negative-binomial' ).factory;
var string2buffer = require( '@stdlib/buffer/from-string' );
var nextTick = require( '@stdlib/utils/next-tick' );
var DEFAULTS = require( './defaults.json' );
var validate = require( './validate.js' );
var debug = require( './debug.js' );
// FUNCTIONS //
/**
* Returns the PRNG seed.
*
* @private
* @returns {(PRNGSeedMT19937|null)} seed
*/
function getSeed() {
return this._prng.seed; // eslint-disable-line no-invalid-this
}
/**
* Returns the PRNG seed length.
*
* @private
* @returns {(PositiveInteger|null)} seed length
*/
function getSeedLength() {
return this._prng.seedLength; // eslint-disable-line no-invalid-this
}
/**
* Returns the PRNG state length.
*
* @private
* @returns {(PositiveInteger|null)} state length
*/
function getStateLength() {
return this._prng.stateLength; // eslint-disable-line no-invalid-this
}
/**
* Returns the PRNG state size (in bytes).
*
* @private
* @returns {(PositiveInteger|null)} state size (in bytes)
*/
function getStateSize() {
return this._prng.byteLength; // eslint-disable-line no-invalid-this
}
/**
* Returns the current PRNG state.
*
* @private
* @returns {(PRNGStateMT19937|null)} current state
*/
function getState() {
return this._prng.state; // eslint-disable-line no-invalid-this
}
/**
* Sets the PRNG state.
*
* @private
* @param {PRNGStateMT19937} s - generator state
* @throws {Error} must provide a valid state
*/
function setState( s ) {
this._prng.state = s; // eslint-disable-line no-invalid-this
}
/**
* Implements the `_read` method.
*
* @private
* @param {number} size - number (of bytes) to read
* @returns {void}
*/
function read() {
/* eslint-disable no-invalid-this */
var FLG;
var r;
if ( this._destroyed ) {
return;
}
FLG = true;
while ( FLG ) {
this._i += 1;
if ( this._i > this._iter ) {
debug( 'Finished generating pseudorandom numbers.' );
return this.push( null );
}
r = this._prng();
debug( 'Generated a new pseudorandom number. Value: %d. Iter: %d.', r, this._i );
if ( this._objectMode === false ) {
r = r.toString();
if ( this._i === 1 ) {
r = string2buffer( r );
} else {
r = string2buffer( this._sep+r );
}
}
FLG = this.push( r );
if ( this._i%this._siter === 0 ) {
this.emit( 'state', this.state );
}
}
/* eslint-enable no-invalid-this */
}
/**
* Gracefully destroys a stream, providing backward compatibility.
*
* @private
* @param {(string|Object|Error)} [error] - error
* @returns {RandomStream} Stream instance
*/
function destroy( error ) {
/* eslint-disable no-invalid-this */
var self;
if ( this._destroyed ) {
debug( 'Attempted to destroy an already destroyed stream.' );
return this;
}
self = this;
this._destroyed = true;
nextTick( close );
return this;
/**
* Closes a stream.
*
* @private
*/
function close() {
if ( error ) {
debug( 'Stream was destroyed due to an error. Error: %s.', ( isError( error ) ) ? error.message : JSON.stringify( error ) );
self.emit( 'error', error );
}
debug( 'Closing the stream...' );
self.emit( 'close' );
}
/* eslint-enable no-invalid-this */
}
// MAIN //
/**
* Stream constructor for generating a stream of pseudorandom numbers drawn from a binomial distribution.
*
* @constructor
* @param {PositiveNumber} r - number of successes until experiment is stopped
* @param {Probability} p - success probability
* @param {Options} [options] - stream options
* @param {boolean} [options.objectMode=false] - specifies whether the stream should operate in object mode
* @param {(string|null)} [options.encoding=null] - specifies how `Buffer` objects should be decoded to strings
* @param {NonNegativeNumber} [options.highWaterMark] - specifies the maximum number of bytes to store in an internal buffer before ceasing to generate additional pseudorandom numbers
* @param {string} [options.sep='\n'] - separator used to join streamed data
* @param {NonNegativeInteger} [options.iter] - number of iterations
* @param {PRNG} [options.prng] - pseudorandom number generator which generates uniformly distributed pseudorandom numbers
* @param {PRNGSeedMT19937} [options.seed] - pseudorandom number generator seed
* @param {PRNGStateMT19937} [options.state] - pseudorandom number generator state
* @param {boolean} [options.copy=true] - boolean indicating whether to copy a provided pseudorandom number generator state
* @param {PositiveInteger} [options.siter] - number of iterations after which to emit the PRNG state
* @throws {TypeError} `r` must be a positive number
* @throws {TypeError} `p` must be a probability
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} must provide a valid state
* @returns {RandomStream} Stream instance
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( chunk ) {
* console.log( chunk.toString() );
* }
*
* var opts = {
* 'iter': 10
* };
*
* var stream = new RandomStream( 20.0, 0.2, opts );
*
* stream.pipe( inspectStream( log ) );
*/
function RandomStream( r, p, options ) {
var opts;
var err;
if ( !( this instanceof RandomStream ) ) {
if ( arguments.length > 2 ) {
return new RandomStream( r, p, options );
}
return new RandomStream( r, p );
}
if ( !isPositiveNumber( r ) ) {
throw new TypeError( 'invalid argument. First argument must be a positive number. Value: `'+r+'`.' );
}
if ( !isProbability( p ) ) {
throw new TypeError( 'invalid argument. Second argument must be a probability. Value: `'+p+'`.' );
}
opts = copy( DEFAULTS );
if ( arguments.length > 2 ) {
err = validate( opts, options );
if ( err ) {
throw err;
}
}
// Make the stream a readable stream:
debug( 'Creating a readable stream configured with the following options: %s.', JSON.stringify( opts ) );
Readable.call( this, opts );
// Destruction state:
setNonEnumerable( this, '_destroyed', false );
// Cache whether the stream is operating in object mode:
setNonEnumerableReadOnly( this, '_objectMode', opts.objectMode );
// Cache the separator:
setNonEnumerableReadOnly( this, '_sep', opts.sep );
// Cache the total number of iterations:
setNonEnumerableReadOnly( this, '_iter', opts.iter );
// Cache the number of iterations after which to emit the underlying PRNG state:
setNonEnumerableReadOnly( this, '_siter', opts.siter );
// Initialize an iteration counter:
setNonEnumerable( this, '_i', 0 );
// Create the underlying PRNG:
setNonEnumerableReadOnly( this, '_prng', rnbinom( r, p, opts ) );
setNonEnumerableReadOnly( this, 'PRNG', this._prng.PRNG );
return this;
}
/*
* Inherit from the `Readable` prototype.
*/
inherit( RandomStream, Readable );
/**
* PRNG seed.
*
* @name seed
* @memberof RandomStream.prototype
* @type {(PRNGSeedMT19937|null)}
*/
setReadOnlyAccessor( RandomStream.prototype, 'seed', getSeed );
/**
* PRNG seed length.
*
* @name seedLength
* @memberof RandomStream.prototype
* @type {(PositiveInteger|null)}
*/
setReadOnlyAccessor( RandomStream.prototype, 'seedLength', getSeedLength );
/**
* PRNG state getter/setter.
*
* @name state
* @memberof RandomStream.prototype
* @type {(PRNGStateMT19937|null)}
* @throws {Error} must provide a valid state
*/
setReadWriteAccessor( RandomStream.prototype, 'state', getState, setState );
/**
* PRNG state length.
*
* @name stateLength
* @memberof RandomStream.prototype
* @type {(PositiveInteger|null)}
*/
setReadOnlyAccessor( RandomStream.prototype, 'stateLength', getStateLength );
/**
* PRNG state size (in bytes).
*
* @name byteLength
* @memberof RandomStream.prototype
* @type {(PositiveInteger|null)}
*/
setReadOnlyAccessor( RandomStream.prototype, 'byteLength', getStateSize );
/**
* Implements the `_read` method.
*
* @private
* @name _read
* @memberof RandomStream.prototype
* @type {Function}
* @param {number} size - number (of bytes) to read
* @returns {void}
*/
setNonEnumerableReadOnly( RandomStream.prototype, '_read', read );
/**
* Gracefully destroys a stream, providing backward compatibility.
*
* @name destroy
* @memberof RandomStream.prototype
* @type {Function}
* @param {(string|Object|Error)} [error] - error
* @returns {RandomStream} Stream instance
*/
setNonEnumerableReadOnly( RandomStream.prototype, 'destroy', destroy );
// EXPORTS //
module.exports = RandomStream;
| stdlib-js/stdlib | lib/node_modules/@stdlib/random/streams/negative-binomial/lib/main.js | JavaScript | apache-2.0 | 9,730 |
NLP Workshop
==============
NLP 代码实践
* NLP Training
* <https://nlp.stanford.edu/>
* <http://cs224d.stanford.edu/syllabus.html>
* <https://stanfordnlp.github.io/CoreNLP/>
* <https://github.com/stanfordnlp>
* What‘s NLP <https://en.wikipedia.org/wiki/Natural_language_processing>
* 云服务厂商
* 阿里云:<https://ai.aliyun.com/nlp?spm=5176.224200.artificialIntelligence.10.59aa6ed6XqMKd8> <https://help.aliyun.com/document_detail/60866.html?spm=a2c4g.11186623.6.542.41e34b269dp7e9>
* 百度云:<http://ai.baidu.com/docs#/NLP-API/top> <http://ai.baidu.com/docs#/> <http://ai.baidu.com/tech/nlp?track=cp:ainsem|pf:pc|pp:chanpin-NLP|pu:NLP|ci:|kw:10001432> | huagjunlei/quickhousedata | README.md | Markdown | apache-2.0 | 685 |
/**
* Copyright (c) 2005-2012 https://github.com/zhuruiboqq
*
* Licensed under the Apache License, Version 2.0 (the "License");
*/
package com.sishuok.es.common.entity.search.filter;
import com.sishuok.es.common.entity.search.SearchOperator;
import com.sishuok.es.common.entity.search.exception.InvlidSearchOperatorException;
import com.sishuok.es.common.entity.search.exception.SearchException;
import org.apache.commons.lang3.StringUtils;
import org.springframework.util.Assert;
import java.util.List;
/**
* <p>查询过滤条件</p>
* <p>User: Zhang Kaitao
* <p>Date: 13-1-15 上午7:12
* <p>Version: 1.0
*/
public final class Condition implements SearchFilter {
//查询参数分隔符
public static final String separator = "_";
private String key;
private String searchProperty;
private SearchOperator operator;
private Object value;
/**
* 根据查询key和值生成Condition
*
* @param key 如 name_like
* @param value
* @return
*/
static Condition newCondition(final String key, final Object value) throws SearchException {
Assert.notNull(key, "Condition key must not null");
String[] searchs = StringUtils.split(key, separator);
if (searchs.length == 0) {
throw new SearchException("Condition key format must be : property or property_op");
}
String searchProperty = searchs[0];
SearchOperator operator = null;
if (searchs.length == 1) {
operator = SearchOperator.custom;
} else {
try {
operator = SearchOperator.valueOf(searchs[1]);
} catch (IllegalArgumentException e) {
throw new InvlidSearchOperatorException(searchProperty, searchs[1]);
}
}
boolean allowBlankValue = SearchOperator.isAllowBlankValue(operator);
boolean isValueBlank = (value == null);
isValueBlank = isValueBlank || (value instanceof String && StringUtils.isBlank((String) value));
isValueBlank = isValueBlank || (value instanceof List && ((List) value).size() == 0);
//过滤掉空值,即不参与查询
if (!allowBlankValue && isValueBlank) {
return null;
}
Condition searchFilter = newCondition(searchProperty, operator, value);
return searchFilter;
}
/**
* 根据查询属性、操作符和值生成Condition
*
* @param searchProperty
* @param operator
* @param value
* @return
*/
static Condition newCondition(final String searchProperty, final SearchOperator operator, final Object value) {
return new Condition(searchProperty, operator, value);
}
/**
* @param searchProperty 属性名
* @param operator 操作
* @param value 值
*/
private Condition(final String searchProperty, final SearchOperator operator, final Object value) {
this.searchProperty = searchProperty;
this.operator = operator;
this.value = value;
this.key = this.searchProperty + separator + this.operator;
}
public String getKey() {
return key;
}
public String getSearchProperty() {
return searchProperty;
}
/**
* 获取 操作符
*
* @return
*/
public SearchOperator getOperator() throws InvlidSearchOperatorException {
return operator;
}
/**
* 获取自定义查询使用的操作符
* 1、首先获取前台传的
* 2、返回空
*
* @return
*/
public String getOperatorStr() {
if (operator != null) {
return operator.getSymbol();
}
return "";
}
public Object getValue() {
return value;
}
public void setValue(final Object value) {
this.value = value;
}
public void setOperator(final SearchOperator operator) {
this.operator = operator;
}
public void setSearchProperty(final String searchProperty) {
this.searchProperty = searchProperty;
}
/**
* 得到实体属性名
*
* @return
*/
public String getEntityProperty() {
return searchProperty;
}
/**
* 是否是一元过滤 如is null is not null
*
* @return
*/
public boolean isUnaryFilter() {
String operatorStr = getOperator().getSymbol();
return StringUtils.isNotEmpty(operatorStr) && operatorStr.startsWith("is");
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Condition that = (Condition) o;
if (key != null ? !key.equals(that.key) : that.key != null) return false;
return true;
}
@Override
public int hashCode() {
return key != null ? key.hashCode() : 0;
}
@Override
public String toString() {
return "Condition{" +
"searchProperty='" + searchProperty + '\'' +
", operator=" + operator +
", value=" + value +
'}';
}
}
| zhuruiboqq/romantic-factor_baseOnES | common/src/main/java/com/sishuok/es/common/entity/search/filter/Condition.java | Java | apache-2.0 | 5,176 |
/*
Copyright 2011 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
using System;
using System.CodeDom;
using System.Collections.Generic;
using NUnit.Framework;
using Google.Apis.Tests.Apis.Requests;
using Google.Apis.Tools.CodeGen.Decorator.ResourceDecorator;
using Google.Apis.Testing;
namespace Google.Apis.Tools.CodeGen.Tests.Decorator.ResourceDecorator
{
/// <summary>
/// Test class for the "DefaultEnglishCommentCreator"
/// </summary>
[TestFixture]
public class DefaultEnglishCommentCreatorTest
{
/// <summary>
/// Tests if a comment is generated correctly
/// </summary>
[Test]
public void CreateMethodComment()
{
var method = new MockMethod();
var instance = new DefaultEnglishCommentCreator();
method.Description = "A Test description";
CodeCommentStatementCollection result = instance.CreateMethodComment(method);
Assert.IsNotNull(result);
Assert.AreEqual(1, result.Count);
Assert.IsNotNull(result[0].Comment);
Assert.AreEqual("<summary>A Test description</summary>", result[0].Comment.Text);
method.Description = "A <nasty> \"description\"";
result = instance.CreateMethodComment(method);
Assert.AreEqual("<summary>A <nasty> "description"</summary>", result[0].Comment.Text);
}
/// <summary>
/// Tests if the creator validates input parameters
/// </summary>
[Test]
public void CreateMethodCommentValidateParams()
{
var instance = new DefaultEnglishCommentCreator();
Assert.Throws(typeof(ArgumentNullException), () => instance.CreateMethodComment(null));
}
/// <summary>
/// Tests comments for parameters
/// </summary>
[Test]
public void CreateParameterComment()
{
var instance = new DefaultEnglishCommentCreator();
var parameter = new MockParameter();
var progamaticName = "testParameter";
CodeCommentStatementCollection result = instance.CreateParameterComment(parameter, progamaticName);
Assert.IsNotNull(result);
Assert.AreEqual(1, result.Count);
Assert.IsNotNull(result[0].Comment);
Assert.AreEqual("<param name=\"testParameter\">Optional</param>", result[0].Comment.Text);
}
/// <summary>
/// Tests if the creator validates inputs for parameter comments
/// </summary>
[Test]
public void CreateParameterCommentValidateParams()
{
var instance = new DefaultEnglishCommentCreator();
var parameter = new MockParameter();
string progamaticName = null;
Assert.Throws(
typeof(ArgumentNullException), () => instance.CreateParameterComment(parameter, progamaticName));
progamaticName = "";
Assert.Throws(typeof(ArgumentException), () => instance.CreateParameterComment(parameter, progamaticName));
progamaticName = "testParameter";
parameter = null;
Assert.Throws(
typeof(ArgumentNullException), () => instance.CreateParameterComment(parameter, progamaticName));
}
/// <summary>
/// Tests if meta data is generated correctly
/// </summary>
[Test]
public void GetParameterMetaData()
{
var instance = new DefaultEnglishCommentCreator();
var parameter = new MockParameter();
var progamaticName = "testParameter";
parameter.Name = progamaticName;
parameter.IsRequired = false;
string result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Optional", result);
parameter.IsRequired = true;
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Required", result);
parameter.Name = "test-parameters";
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("test-parameters - Required", result);
parameter.Name = progamaticName;
parameter.Minimum = "53";
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Required - Minimum value of 53", result);
parameter.Minimum = null;
parameter.Maximum = "105";
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Required - Maximum value of 105", result);
parameter.Maximum = null;
parameter.Pattern = ".*\\.java";
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Required - Must match pattern .*\\.java", result);
parameter.Pattern = null;
parameter.EnumValues = new List<string> { "a", "b", "c", "d" };
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Required - Must be one of the following values [a, b, c, d]", result);
parameter.EnumValues = null;
parameter.Description = "A Test Description";
result = instance.GetParameterMetaData(parameter, progamaticName);
Assert.AreEqual("Required - A Test Description", result);
}
}
} | MarcWeb/google-api-dotnet-client | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/DefaultEnglishCommentCreatorTest.cs | C# | apache-2.0 | 6,018 |
<!DOCTYPE html>
<html class="theme-next muse use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
<link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
<link href="/css/main.css?v=5.1.2" rel="stylesheet" type="text/css" />
<meta name="keywords" content="扯淡," />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.2" />
<meta name="description" content="hello wold!0一直想对本科阶段的实验室学习做一个总结,也一直找了各种理由拖了下来。 1毕业设计跟软件无线电有些关系,是基于GNU Radio平台,针对eclipse写一个插件。所以这段时间在学习GR。为了能捎带着练一下英语,翻译了一下它的官方教程,作为博客的第一个系列文章。(已更两篇,持续更新) 翻译GNU Radio教程(1): GNU Radio介绍 翻译GNU Radio教程(2">
<meta name="keywords" content="扯淡">
<meta property="og:type" content="article">
<meta property="og:title" content="hello world!">
<meta property="og:url" content="http://yoursite.com/2017/10/17/第一篇博客说明翻译系列/index.html">
<meta property="og:site_name" content="INGslh's blog">
<meta property="og:description" content="hello wold!0一直想对本科阶段的实验室学习做一个总结,也一直找了各种理由拖了下来。 1毕业设计跟软件无线电有些关系,是基于GNU Radio平台,针对eclipse写一个插件。所以这段时间在学习GR。为了能捎带着练一下英语,翻译了一下它的官方教程,作为博客的第一个系列文章。(已更两篇,持续更新) 翻译GNU Radio教程(1): GNU Radio介绍 翻译GNU Radio教程(2">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2017-10-30T14:17:08.540Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="hello world!">
<meta name="twitter:description" content="hello wold!0一直想对本科阶段的实验室学习做一个总结,也一直找了各种理由拖了下来。 1毕业设计跟软件无线电有些关系,是基于GNU Radio平台,针对eclipse写一个插件。所以这段时间在学习GR。为了能捎带着练一下英语,翻译了一下它的官方教程,作为博客的第一个系列文章。(已更两篇,持续更新) 翻译GNU Radio教程(1): GNU Radio介绍 翻译GNU Radio教程(2">
<script type="text/javascript" id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Muse',
version: '5.1.2',
sidebar: {"position":"left","display":"post","offset":12,"offset_float":12,"b2t":false,"scrollpercent":false,"onmobile":false},
fancybox: true,
tabs: true,
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn"}},
duoshuo: {
userId: '0',
author: '博主'
},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<link rel="canonical" href="http://yoursite.com/2017/10/17/第一篇博客说明翻译系列/"/>
<title>hello world! | INGslh's blog</title>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<div class="container sidebar-position-left page-post-detail">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">INGslh's blog</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle">尽量周更</p>
</div>
<div class="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
首页
</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section">
<i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
标签
</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
归档
</a>
</li>
</ul>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<div id="posts" class="posts-expand">
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2017/10/17/第一篇博客说明翻译系列/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="INGslh">
<meta itemprop="description" content="">
<meta itemprop="image" content="/uploads/touxiang1.jpg">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="INGslh's blog">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">hello world!</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2017-10-17T15:43:05+08:00">
2017-10-17
</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h1 id="hello-wold"><a href="#hello-wold" class="headerlink" title="hello wold!"></a>hello wold!</h1><h2 id="0"><a href="#0" class="headerlink" title="0"></a>0</h2><p>一直想对本科阶段的实验室学习做一个总结,也一直找了各种理由拖了下来。</p>
<h2 id="1"><a href="#1" class="headerlink" title="1"></a>1</h2><p>毕业设计跟软件无线电有些关系,是基于GNU Radio平台,针对eclipse写一个插件。所以这段时间在学习GR。为了能捎带着练一下英语,翻译了一下它的官方教程,作为博客的第一个系列文章。(已更两篇,持续更新)</p>
<ol>
<li>翻译GNU Radio教程(1): GNU Radio介绍</li>
<li><a href="https://ingslh.github.io/2017/10/18/Guided%20Tutorial%20GRC%E7%BF%BB%E8%AF%91/" target="_blank" rel="external">翻译GNU Radio教程(2):GNU Radio下的GRC编程</a></li>
<li><a href="https://ingslh.github.io/2017/10/20/%E7%BF%BB%E8%AF%91GNU%20radio%E6%95%99%E7%A8%8B%EF%BC%9AGNUradio%E7%9A%84Python%E7%BC%96%E7%A8%8B/" target="_blank" rel="external">翻译GNU Radio教程(3):GNU Radio下的Python编程</a></li>
<li>翻译GNU Radio教程(4):GNU Radio下的C++编程</li>
<li>翻译GNU Radio教程(5):GNU Radio下编程总结</li>
<li>翻译GNU Radio教程(6):在GNU Radio连接硬件工作</li>
<li>翻译GNU Radio教程(7):实现PSK算法</li>
</ol>
<h2 id="2"><a href="#2" class="headerlink" title="2"></a>2</h2><p>有点想接毕设单。。</p>
</div>
<div>
<div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
<div>想吃雪糕!</div>
<button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
<span>打赏</span>
</button>
<div id="QR" style="display: none;">
<div id="wechat" style="display: inline-block">
<img id="wechat_qr" src="/images/wechat.png" alt="INGslh 微信支付"/>
<p>微信支付</p>
</div>
<div id="alipay" style="display: inline-block">
<img id="alipay_qr" src="/images/alipay.png" alt="INGslh 支付宝"/>
<p>支付宝</p>
</div>
</div>
</div>
</div>
<footer class="post-footer">
<div class="post-tags">
<a href="/tags/扯淡/" rel="tag"># 扯淡</a>
</div>
<div class="post-nav">
<div class="post-nav-next post-nav-item">
</div>
<span class="post-nav-divider"></span>
<div class="post-nav-prev post-nav-item">
<a href="/2017/10/18/Guided Tutorial GRC翻译/" rel="prev" title="翻译GNU Radio教程(2):GNU Radio下的GRC编程">
翻译GNU Radio教程(2):GNU Radio下的GRC编程 <i class="fa fa-chevron-right"></i>
</a>
</div>
</div>
</footer>
</div>
</article>
<div class="post-spread">
</div>
</div>
</div>
<div class="comments" id="comments">
</div>
</div>
<div class="sidebar-toggle">
<div class="sidebar-toggle-line-wrap">
<span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
</div>
</div>
<aside id="sidebar" class="sidebar">
<div class="sidebar-inner">
<ul class="sidebar-nav motion-element">
<li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
文章目录
</li>
<li class="sidebar-nav-overview" data-target="site-overview">
站点概览
</li>
</ul>
<section class="site-overview sidebar-panel">
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image"
src="/uploads/touxiang1.jpg"
alt="INGslh" />
<p class="site-author-name" itemprop="name">INGslh</p>
<p class="site-description motion-element" itemprop="description">写着玩的</p>
</div>
<nav class="site-state motion-element">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">8</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags/index.html">
<span class="site-state-item-count">9</span>
<span class="site-state-item-name">标签</span>
</a>
</div>
</nav>
<div class="links-of-author motion-element">
<span class="links-of-author-item">
<a href="https://github.com/ingslh" target="_blank" title="GitHub">
<i class="fa fa-fw fa-github"></i>GitHub</a>
</span>
<span class="links-of-author-item">
<a href="mailto:[email protected]" target="_blank" title="E-Mail">
<i class="fa fa-fw fa-envelope"></i>E-Mail</a>
</span>
<span class="links-of-author-item">
<a href="https://weibo.com/ingslh" target="_blank" title="Weibo">
<i class="fa fa-fw fa-weibo"></i>Weibo</a>
</span>
<span class="links-of-author-item">
<a href="https://twitter.com/ingslh" target="_blank" title="Twitter">
<i class="fa fa-fw fa-twitter"></i>Twitter</a>
</span>
</div>
</section>
<!--noindex-->
<section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
<div class="post-toc">
<div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#hello-wold"><span class="nav-number">1.</span> <span class="nav-text">hello wold!</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#0"><span class="nav-number">1.1.</span> <span class="nav-text">0</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#1"><span class="nav-number">1.2.</span> <span class="nav-text">1</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2"><span class="nav-number">1.3.</span> <span class="nav-text">2</span></a></li></ol></li></ol></div>
</div>
</section>
<!--/noindex-->
</div>
</aside>
</div>
</main>
<footer id="footer" class="footer">
<div class="footer-inner">
<div class="copyright" >
©
<span itemprop="copyrightYear">2018</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
<span class="author" itemprop="copyrightHolder">INGslh</span>
</div>
<div class="powered-by">由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动</div>
<span class="post-meta-divider">|</span>
<div class="theme-info">主题 — <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">NexT.Muse</a> v5.1.2</div>
</div>
</footer>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
</div>
</div>
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/js/src/utils.js?v=5.1.2"></script>
<script type="text/javascript" src="/js/src/motion.js?v=5.1.2"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.2"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.2"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.2"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.2"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.2"></script>
</body>
</html>
| INGslh/ingslh.github.io | 2017/10/17/第一篇博客说明翻译系列/index.html | HTML | apache-2.0 | 17,303 |
<?php
if (!defined('ACTIVE')) die(__FILE__);
$oldname = isset($_REQUEST['oldname'])? $_REQUEST['oldname'] : '';
$oldname = substr($oldname,1);
$newname = isset($_REQUEST['filename'])? $_REQUEST['filename'] : '';
if ($oldname=='') setErrorCode(4);
if (!file_exists($path.'/'.$oldname)) setErrorCode(1);
if ($newname=='') setErrorCode(4);
if (file_exists($path.'/'.$newname)) setErrorCode(2);
if ($errCode==0) @rename($path.'/'.$oldname,$path.'/'.$newname);
$params = array(
'cmd' => 'list',
'sort' => $sort,
'path' => urlencode($path)
);
if ($errCode!=0) $params['error'] = $errCode;
$LOCATION = 'index.php?'.buildQuery($params);
?> | sundoctor/phpcommander | fm/rename.cmd.php | PHP | apache-2.0 | 651 |
/*************************************************************************
* Copyright (c) 2016, Gooeen. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*************************************************************************/
#ifndef __OPENVX_CPP_DEFAULT_CONSTRUCTOR_H__
#define __OPENVX_CPP_DEFAULT_CONSTRUCTOR_H__
#include "ovxcontext.h"
#include "constructor.h"
namespace ovx
{
class openvxdll default_constructor : public constructor
{
public:
default_constructor(vx_uint32 width, vx_uint32 height, vx_df_image color, const ovxcontext &context = vxcontext);
default_constructor(default_constructor &&obj) noexcept;
default_constructor(const default_constructor &obj) = delete;
virtual ~default_constructor(void) noexcept;
void operator=(const default_constructor &) = delete;
void operator=(default_constructor &&obj) noexcept;
void release(void) noexcept;
};
}
#endif // !__OPENVX_CPP_DEFAULT_CONSTRUCTOR_H__
| Gooeen/openvxpp | openvxpp/default_constructor.h | C | apache-2.0 | 1,457 |
package com.hzh.corejava.proxy;
public class SpeakerExample {
public static void main(String[] args) {
AiSpeaker speaker = (AiSpeaker) AuthenticationProxy.newInstance(new XiaoaiAiSpeeker());
speaker.greeting();
}
}
| huangzehai/core-java | src/main/java/com/hzh/corejava/proxy/SpeakerExample.java | Java | apache-2.0 | 240 |
# Zulip-specific tools
This article documents several useful tools that can save you a lot of
time when working with Git on the Zulip project.
## Set up git repo script
**Extremely useful**. In the `tools` directory of
[zulip/zulip][github-zulip-zulip] you'll find a bash script
`setup-git-repo`. This script installs a pre-commit hook, which will
run each time you `git commit` to automatically run
[Zulip's linter suite](../testing/linters.html) on just the files that
the commit modifies (which is really fast!). The hook passes no matter
the result of the linter, but you should still pay attention to any
notices or warnings it displays.
It's simple to use. Make sure you're in the clone of zulip and run the following:
```
$ ./tools/setup-git-repo
```
The script doesn't produce any output if successful. To check that the hook has
been installed, print a directory listing for `.git/hooks` and you should see
something similar to:
```
$ ls -l .git/hooks
pre-commit -> ../../tools/pre-commit
```
## Set up Travis CI integration
You might also wish to [configure your fork for use with Travis CI][zulip-git-guide-travisci].
## Reset to pull request
`tools/reset-to-pull-request` is a short-cut for [checking out a pull request
locally][zulip-git-guide-fetch-pr]. It works slightly differently from the method
described above in that it does not create a branch for the pull request
checkout.
**This tool checks for uncommitted changes, but it will move the
current branch using `git reset --hard`. Use with caution.**
First, make sure you are working in a branch you want to move (in this
example, we'll use the local `master` branch). Then run the script
with the ID number of the pull request as the first argument.
```
$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
$ ./tools/reset-to-pull-request 1900
+ request_id=1900
+ git fetch upstream pull/1900/head
remote: Counting objects: 159, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 159 (delta 94), reused 91 (delta 91), pack-reused 51
Receiving objects: 100% (159/159), 55.57 KiB | 0 bytes/s, done.
Resolving deltas: 100% (113/113), completed with 54 local objects.
From https://github.com/zulip/zulip
* branch refs/pull/1900/head -> FETCH_HEAD
+ git reset --hard FETCH_HEAD
HEAD is now at 2bcd1d8 troubleshooting tip about provisioning
```
## Fetch a pull request and rebase
`tools/fetch-rebase-pull-request` is a short-cut for [checking out a pull
request locally][zulip-git-guide-fetch-pr] in its own branch and then updating it with any
changes from upstream/master with `git rebase`.
Run the script with the ID number of the pull request as the first argument.
```
$ tools/fetch-rebase-pull-request 1913
+ request_id=1913
+ git fetch upstream pull/1913/head
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
From https://github.com/zulip/zulip
* branch refs/pull/1913/head -> FETCH_HEAD
+ git checkout upstream/master -b review-1913
Branch review-1913 set up to track remote branch master from upstream.
Switched to a new branch 'review-1913'
+ git reset --hard FETCH_HEAD
HEAD is now at 99aa2bf Add provision.py fails issue in common erros
+ git pull --rebase
Current branch review-1913 is up to date.
```
## Fetch a pull request without rebasing
`tools/fetch-pull-request` is a similar to `tools/fetch-rebase-pull-request`, but
it does not rebase the pull request against upstream/master, thereby getting
exactly the same repository state as the commit author had.
Run the script with the ID number of the pull request as the first argument.
```
$ tools/fetch-pull-request 5156
+ git diff-index --quiet HEAD
+ request_id=5156
+ remote=upstream
+ git fetch upstream pull/5156/head
From https://github.com/zulip/zulip
* branch refs/pull/5156/head -> FETCH_HEAD
+ git checkout -B review-original-5156
Switched to a new branch 'review-original-5156'
+ git reset --hard FETCH_HEAD
HEAD is now at 5a1e982 tools: Update clean-branches to clean review branches.
```
## Delete unimportant branches
`tools/clean-branches` is a shell script that removes branches that are either:
1. Local branches that are ancestors of origin/master.
2. Branches in origin that are ancestors of origin/master and named like `$USER-*`.
3. Review branches created by `tools/fetch-rebase-pull-request` and `tools/fetch-pull-request`.
First, make sure you are working in branch `master`. Then run the script without any
arguments for default behavior. Since removing review branches can inadvertently remove any
feature branches whose names are like `review-*`, it is not done by default. To
use it, run `tools/clean-branches --reviews`.
```
$ tools/clean-branches --reviews
Deleting local branch review-original-5156 (was 5a1e982)
```
## Merge conflict on yarn.lock file
If there is a merge conflict on yarn.lock, yarn should be run to
regenerate the file. *Important* don't delete the yarn.lock file. Checkout the
latest one from origin/master so that yarn knows the previous asset versions.
Run the following commands
```
git checkout origin/master -- yarn.lock
yarn install
git add yarn.lock
git rebase --continue
```
[github-zulip-zulip]: https://github.com/zulip/zulip/
[zulip-git-guide-fetch-pr]: ../git/collaborate.html#checkout-a-pull-request-locally
[zulip-git-guide-travisci]: ../git/cloning.html#step-3-configure-travis-ci-continuous-integration
| jackrzhang/zulip | docs/git/zulip-tools.md | Markdown | apache-2.0 | 5,570 |
# Change Log
Version 0.9.0 *(In development)*
--------------------------------
Version 0.8.0 *(2021-09-27)*
----------------------------
- NoRecentEmoji implementation. Fixes \#477 [\#510](https://github.com/vanniktech/Emoji/pull/510) ([vanniktech](https://github.com/vanniktech))
- Fix Memory Leak with OnAttachStateChangeListener. [\#508](https://github.com/vanniktech/Emoji/pull/508) ([vanniktech](https://github.com/vanniktech))
- Update gradle-maven-publish-plugin to 0.16.0 [\#504](https://github.com/vanniktech/Emoji/pull/504) ([vanniktech](https://github.com/vanniktech))
- Switch to GitHub workflows. [\#503](https://github.com/vanniktech/Emoji/pull/503) ([vanniktech](https://github.com/vanniktech))
- EmojiEditText cursor height is too small by wirting emojis followed by text fixes \#492 [\#493](https://github.com/vanniktech/Emoji/pull/493) ([denjoo](https://github.com/denjoo))
- Only construct RecentEmojiManager if one hasn’t already been set [\#478](https://github.com/vanniktech/Emoji/pull/478) ([lukesleeman](https://github.com/lukesleeman))
- minSdk 21, targetSdk 29 & update all of the dependencies [\#465](https://github.com/vanniktech/Emoji/pull/465) ([vanniktech](https://github.com/vanniktech))
Version 0.7.0 *(2020-08-19)*
----------------------------
- Fix hardcoded text not displaying Emojis correctly [\#462](https://github.com/vanniktech/Emoji/pull/462) ([vanniktech](https://github.com/vanniktech))
- Add EmojiCheckbox. [\#460](https://github.com/vanniktech/Emoji/pull/460) ([vanniktech](https://github.com/vanniktech))
- Add duplicate support for Emoji start with variant selector. [\#456](https://github.com/vanniktech/Emoji/pull/456) ([vanniktech](https://github.com/vanniktech))
- Add license headers to JS/KT/Java files. [\#455](https://github.com/vanniktech/Emoji/pull/455) ([vanniktech](https://github.com/vanniktech))
- Add 3-arg-view constructors. [\#454](https://github.com/vanniktech/Emoji/pull/454) ([vanniktech](https://github.com/vanniktech))
- EmojiPopUp: RequestApplyInsets [\#452](https://github.com/vanniktech/Emoji/pull/452) ([ghshenavar](https://github.com/ghshenavar))
- Call EmojiPopup\#start\(\) when rootView is already laid out. [\#448](https://github.com/vanniktech/Emoji/pull/448) ([vanniktech](https://github.com/vanniktech))
- Add shortcodes to emojis [\#446](https://github.com/vanniktech/Emoji/pull/446) ([rubengees](https://github.com/rubengees))
- Unify code across widgets. [\#443](https://github.com/vanniktech/Emoji/pull/443) ([vanniktech](https://github.com/vanniktech))
- Add SingleEmojiTrait to force single \(replaceable\) on an EditText [\#442](https://github.com/vanniktech/Emoji/pull/442) ([vanniktech](https://github.com/vanniktech))
- Fix render issue when isInEditMode\(\) [\#435](https://github.com/vanniktech/Emoji/pull/435) ([Namolem](https://github.com/Namolem))
- Update generator for Unicode 12.1 [\#426](https://github.com/vanniktech/Emoji/pull/426) ([rubengees](https://github.com/rubengees))
- Allow to pass in selectedIconColor. [\#425](https://github.com/vanniktech/Emoji/pull/425) ([vanniktech](https://github.com/vanniktech))
- Fix emoji keyboard in samples [\#411](https://github.com/vanniktech/Emoji/pull/411) ([mario](https://github.com/mario))
- Delay opening of the popup to correctly align with window insets. Fixes \#400 [\#410](https://github.com/vanniktech/Emoji/pull/410) ([mario](https://github.com/mario))
- Add sample with custom view. [\#409](https://github.com/vanniktech/Emoji/pull/409) ([vanniktech](https://github.com/vanniktech))
- Fix set popup window height method [\#402](https://github.com/vanniktech/Emoji/pull/402) ([mario](https://github.com/mario))
- Automatically call start and stop when attaching/detaching EmojiPopup [\#397](https://github.com/vanniktech/Emoji/pull/397) ([rubengees](https://github.com/rubengees))
- Add MaterialEmojiLayoutFactory. [\#396](https://github.com/vanniktech/Emoji/pull/396) ([vanniktech](https://github.com/vanniktech))
- Add EmojiLayoutFactory. [\#395](https://github.com/vanniktech/Emoji/pull/395) ([vanniktech](https://github.com/vanniktech))
- Add emoji-material module for material bindings. [\#394](https://github.com/vanniktech/Emoji/pull/394) ([vanniktech](https://github.com/vanniktech))
- Fix emoji only filter [\#393](https://github.com/vanniktech/Emoji/pull/393) ([mario](https://github.com/mario))
- Fix custom keyboard height [\#392](https://github.com/vanniktech/Emoji/pull/392) ([mario](https://github.com/mario))
- Fix keyboard calculation for API v21+ by introducing start/stop into EmojiPopup [\#389](https://github.com/vanniktech/Emoji/pull/389) ([mario](https://github.com/mario))
- Support textAllCaps option. Fixes \#361 [\#383](https://github.com/vanniktech/Emoji/pull/383) ([mario](https://github.com/mario))
- Don't use bundled AppCompat emojis. Instead download the font. [\#380](https://github.com/vanniktech/Emoji/pull/380) ([vanniktech](https://github.com/vanniktech))
- Support use case where only Emoji Dialog should be shown. [\#378](https://github.com/vanniktech/Emoji/pull/378) ([vanniktech](https://github.com/vanniktech))
- Ship OnlyEmojisInputFilter & MaximalNumberOfEmojisInputFilter. [\#377](https://github.com/vanniktech/Emoji/pull/377) ([vanniktech](https://github.com/vanniktech))
- Update dependencies. [\#376](https://github.com/vanniktech/Emoji/pull/376) ([vanniktech](https://github.com/vanniktech))
- Allow popup height to be changed with a setter [\#373](https://github.com/vanniktech/Emoji/pull/373) ([VitalyKuznetsov](https://github.com/VitalyKuznetsov))
- Fix memory leak in EmojiPopup [\#370](https://github.com/vanniktech/Emoji/pull/370) ([rubengees](https://github.com/rubengees))
- Optimise the category png's to save some space [\#367](https://github.com/vanniktech/Emoji/pull/367) ([rocboronat](https://github.com/rocboronat))
- Make EmojiManager's initialization methods synchronized [\#365](https://github.com/vanniktech/Emoji/pull/365) ([rubengees](https://github.com/rubengees))
- Change default Keyboard + ViewPager animation. [\#353](https://github.com/vanniktech/Emoji/pull/353) ([vanniktech](https://github.com/vanniktech))
- Content descriptors added for supporting talkback accessibility [\#352](https://github.com/vanniktech/Emoji/pull/352) ([AlexMavDev](https://github.com/AlexMavDev))
- Remove EmojiOne [\#338](https://github.com/vanniktech/Emoji/pull/338) ([rubengees](https://github.com/rubengees))
- Update everything to AndroidX [\#335](https://github.com/vanniktech/Emoji/pull/335) ([mario](https://github.com/mario))
- Update README license [\#332](https://github.com/vanniktech/Emoji/pull/332) ([mario](https://github.com/mario))
I want to thank each and every contributor. Special thanks goes out to @mario & @rubengees.
Version 0.6.0 *(2019-02-15)*
----------------------------
- Add disclaimer about instantiating the EmojiPopup early to the README [\#337](https://github.com/vanniktech/Emoji/pull/337) ([rubengees](https://github.com/rubengees))
- Show duplicate emojis in the input but not in the picker [\#336](https://github.com/vanniktech/Emoji/pull/336) ([rubengees](https://github.com/rubengees))
- Add support for custom ViewPager.PageTransformer. [\#334](https://github.com/vanniktech/Emoji/pull/334) ([mario](https://github.com/mario))
- Add keyboard animation [\#333](https://github.com/vanniktech/Emoji/pull/333) ([mario](https://github.com/mario))
- Fix emoji visibility issue [\#330](https://github.com/vanniktech/Emoji/pull/330) ([mario](https://github.com/mario))
- Fix Emoji keyboard in certain cases [\#329](https://github.com/vanniktech/Emoji/pull/329) ([mario](https://github.com/mario))
- Update Android SDK license. [\#327](https://github.com/vanniktech/Emoji/pull/327) ([vanniktech](https://github.com/vanniktech))
- Fix Layout issues in EmojiDialog for several edge cases. [\#326](https://github.com/vanniktech/Emoji/pull/326) ([mario](https://github.com/mario))
- Nuke EmojiEditTextInterface and allow any kind of EditText to be passed. [\#324](https://github.com/vanniktech/Emoji/pull/324) ([vanniktech](https://github.com/vanniktech))
- Add attrs for color customization on theme level [\#320](https://github.com/vanniktech/Emoji/pull/320) ([rubengees](https://github.com/rubengees))
- Remove sudo: false from travis config. [\#316](https://github.com/vanniktech/Emoji/pull/316) ([vanniktech](https://github.com/vanniktech))
- Fix some typos in CHANGELOG.md [\#309](https://github.com/vanniktech/Emoji/pull/309) ([felixonmars](https://github.com/felixonmars))
- Upgrade Jimp to 0.5.0, remove manual promises [\#302](https://github.com/vanniktech/Emoji/pull/302) ([akwizgran](https://github.com/akwizgran))
- Fix a crash when context instanceof ContextThemeWrapper [\#298](https://github.com/vanniktech/Emoji/pull/298) ([AlanGinger](https://github.com/AlanGinger))
- Use soft references to hold sprites [\#297](https://github.com/vanniktech/Emoji/pull/297) ([akwizgran](https://github.com/akwizgran))
- Allow to override background, icon and divider colors [\#295](https://github.com/vanniktech/Emoji/pull/295) ([RashidianPeyman](https://github.com/RashidianPeyman))
- Add support to AutoCompleteTextView and MultiAutoCompleteTextView [\#292](https://github.com/vanniktech/Emoji/pull/292) ([rocboronat](https://github.com/rocboronat))
- Use Gradle Maven Publish Plugin for publishing. [\#283](https://github.com/vanniktech/Emoji/pull/283) ([vanniktech](https://github.com/vanniktech))
- Add latest emojis for EmojiOne [\#281](https://github.com/vanniktech/Emoji/pull/281) ([rubengees](https://github.com/rubengees))
- Introduce EmojiEditTextInterface which allows custom EditText to work with the Popup. [\#277](https://github.com/vanniktech/Emoji/pull/277) ([Foo-Manroot](https://github.com/Foo-Manroot))
- Nuke badges in README. [\#276](https://github.com/vanniktech/Emoji/pull/276) ([vanniktech](https://github.com/vanniktech))
- Expose instance so that can access replaceWithImages from external package [\#270](https://github.com/vanniktech/Emoji/pull/270) ([SY102134](https://github.com/SY102134))
- Tweak Travis configuration. [\#267](https://github.com/vanniktech/Emoji/pull/267) ([vanniktech](https://github.com/vanniktech))
- Add release method which releases the sheet but not the data structure [\#266](https://github.com/vanniktech/Emoji/pull/266) ([rubengees](https://github.com/rubengees))
- Add missing verifyInstalled to the EmojiManager [\#265](https://github.com/vanniktech/Emoji/pull/265) ([rubengees](https://github.com/rubengees))
- Slightly improve README. [\#262](https://github.com/vanniktech/Emoji/pull/262) ([vanniktech](https://github.com/vanniktech))
- Update emojis and use sprite sheet instead of individual images [\#252](https://github.com/vanniktech/Emoji/pull/252) ([rubengees](https://github.com/rubengees))
- Expose some API so that the library can also be used with other systems such as React. [\#246](https://github.com/vanniktech/Emoji/pull/246) ([SY102134](https://github.com/SY102134))
- Unify Detekt configurations with RC6. [\#232](https://github.com/vanniktech/Emoji/pull/232) ([vanniktech](https://github.com/vanniktech))
- Better travis.yml [\#230](https://github.com/vanniktech/Emoji/pull/230) ([vanniktech](https://github.com/vanniktech))
- Remove duplicates from Checkstyle configuration file. [\#229](https://github.com/vanniktech/Emoji/pull/229) ([vanniktech](https://github.com/vanniktech))
- Fix for emoji keyboard UI artifact \(while fast scrolling\) [\#223](https://github.com/vanniktech/Emoji/pull/223) ([yshubin](https://github.com/yshubin))
- Update Support Library version [\#208](https://github.com/vanniktech/Emoji/pull/208) ([MrHadiSatrio](https://github.com/MrHadiSatrio))
- Empty list memory optimization [\#201](https://github.com/vanniktech/Emoji/pull/201) ([stefanhaustein](https://github.com/stefanhaustein))
- Obey library loading state and add modifiers only where needed [\#199](https://github.com/vanniktech/Emoji/pull/199) ([stefanhaustein](https://github.com/stefanhaustein))
- Add infrastructure to let the provider perform emoji span replacements and utilize in emoji-google-compat [\#198](https://github.com/vanniktech/Emoji/pull/198) ([stefanhaustein](https://github.com/stefanhaustein))
- Emoji Support Library integration [\#196](https://github.com/vanniktech/Emoji/pull/196) ([stefanhaustein](https://github.com/stefanhaustein))
- Let Emoji provide a drawable in addition to the resource id. [\#195](https://github.com/vanniktech/Emoji/pull/195) ([stefanhaustein](https://github.com/stefanhaustein))
- Don't clean build again when deploying SNAPSHOTS. [\#193](https://github.com/vanniktech/Emoji/pull/193) ([vanniktech](https://github.com/vanniktech))
- Adjust README for Snapshots [\#189](https://github.com/vanniktech/Emoji/pull/189) ([rubengees](https://github.com/rubengees))
- Delete codecov yml file. [\#186](https://github.com/vanniktech/Emoji/pull/186) ([vanniktech](https://github.com/vanniktech))
- Let Gradle install all of the Android dependencies. [\#178](https://github.com/vanniktech/Emoji/pull/178) ([vanniktech](https://github.com/vanniktech))
- Kotlin module [\#147](https://github.com/vanniktech/Emoji/pull/147) ([aballano](https://github.com/aballano))
I want to thank each and every contributor. Thanks @aballano for adding a kotlin module. @stefanhaustein for integrating Google's Emoji AppCompat. Big thanks to @rubengees & @mario who did most of the work and are actively contributing to this library.
Version 0.5.1 *(2017-07-02)*
----------------------------
- Showcase different sizes. [\#172](https://github.com/vanniktech/Emoji/pull/172) ([vanniktech](https://github.com/vanniktech))
- Avoid scrolling the emoji grid after opening the variant popup [\#171](https://github.com/vanniktech/Emoji/pull/171) ([rubengees](https://github.com/rubengees))
- Fix emoji height calculations [\#170](https://github.com/vanniktech/Emoji/pull/170) ([rubengees](https://github.com/rubengees))
- Update Error Prone to 2.0.20 [\#169](https://github.com/vanniktech/Emoji/pull/169) ([vanniktech](https://github.com/vanniktech))
- Update generator for latest changes [\#166](https://github.com/vanniktech/Emoji/pull/166) ([rubengees](https://github.com/rubengees))
- Refactor the VariantEmojiManager [\#165](https://github.com/vanniktech/Emoji/pull/165) ([rubengees](https://github.com/rubengees))
- Update Android Studio Gradle Build Tools to 2.3.3 [\#163](https://github.com/vanniktech/Emoji/pull/163) ([vanniktech](https://github.com/vanniktech))
- Update Checkstyle to 7.8.2 [\#162](https://github.com/vanniktech/Emoji/pull/162) ([vanniktech](https://github.com/vanniktech))
- Update PMD to 5.8.0 [\#161](https://github.com/vanniktech/Emoji/pull/161) ([vanniktech](https://github.com/vanniktech))
- Reflect Emoji Skin Tone automatically in Emoji List. [\#157](https://github.com/vanniktech/Emoji/pull/157) ([vanniktech](https://github.com/vanniktech))
- Also don't generate BuildConfig for Emoji Vendors. [\#154](https://github.com/vanniktech/Emoji/pull/154) ([vanniktech](https://github.com/vanniktech))
- Pull out EmojiRange to package level. [\#152](https://github.com/vanniktech/Emoji/pull/152) ([vanniktech](https://github.com/vanniktech))
- EmojiUtils: Add some documentation to public methods and clean a few things up. [\#151](https://github.com/vanniktech/Emoji/pull/151) ([vanniktech](https://github.com/vanniktech))
- Merge EmojiHandler into EmojiManager. [\#150](https://github.com/vanniktech/Emoji/pull/150) ([vanniktech](https://github.com/vanniktech))
- Add back Emoji Size and use line height as the default. [\#146](https://github.com/vanniktech/Emoji/pull/146) ([vanniktech](https://github.com/vanniktech))
- Added EmojiUtils [\#145](https://github.com/vanniktech/Emoji/pull/145) ([aballano](https://github.com/aballano))
- Don't generate BuildConfig file for release builds. [\#143](https://github.com/vanniktech/Emoji/pull/143) ([vanniktech](https://github.com/vanniktech))
- Add fastlane screengrab to capture screenshots automatically. [\#142](https://github.com/vanniktech/Emoji/pull/142) ([vanniktech](https://github.com/vanniktech))
- Add EmojiButton. [\#137](https://github.com/vanniktech/Emoji/pull/137) ([vanniktech](https://github.com/vanniktech))
- Do some clean ups. [\#135](https://github.com/vanniktech/Emoji/pull/135) ([vanniktech](https://github.com/vanniktech))
- Add night theme support to sample and library. [\#134](https://github.com/vanniktech/Emoji/pull/134) ([vanniktech](https://github.com/vanniktech))
- Add new twitter module and clean up gradle files [\#133](https://github.com/vanniktech/Emoji/pull/133) ([rubengees](https://github.com/rubengees))
- New emojis [\#132](https://github.com/vanniktech/Emoji/pull/132) ([rubengees](https://github.com/rubengees))
- Performance optimization [\#129](https://github.com/vanniktech/Emoji/pull/129) ([rubengees](https://github.com/rubengees))
- Update all emojis to emoji 5.0 [\#119](https://github.com/vanniktech/Emoji/pull/119) ([rubengees](https://github.com/rubengees))
- Adjust generator for emoji 5.0 [\#118](https://github.com/vanniktech/Emoji/pull/118) ([rubengees](https://github.com/rubengees))
- Better emoji height management [\#117](https://github.com/vanniktech/Emoji/pull/117) ([rubengees](https://github.com/rubengees))
- Update Code Quality Configurations. [\#111](https://github.com/vanniktech/Emoji/pull/111) ([vanniktech](https://github.com/vanniktech))
- Remove right Scrollbar in Categories [\#108](https://github.com/vanniktech/Emoji/pull/108) ([RicoChr](https://github.com/RicoChr))
- Improve Popup logic [\#97](https://github.com/vanniktech/Emoji/pull/97) ([rubengees](https://github.com/rubengees))
- Add support for Google emojis [\#95](https://github.com/vanniktech/Emoji/pull/95) ([rubengees](https://github.com/rubengees))
- Make the EmojiEditText more performant [\#93](https://github.com/vanniktech/Emoji/pull/93) ([rubengees](https://github.com/rubengees))
- Support for skin tones in the picker [\#91](https://github.com/vanniktech/Emoji/pull/91) ([rubengees](https://github.com/rubengees))
Many thanks to [rubengees](https://github.com/rubengees) for helping out with a lot of issues.
**Note:**
0.5.1 does contain a few breaking changes. Please consult with the README.
Version 0.5.0 *(2017-07-02)*
----------------------------
There was a problem with publishing to mavenCentral. Please don't use this version. Instead use `0.5.1`.
Version 0.4.0 *(2017-02-15)*
----------------------------
- Soft keyboard not detected when toggling the emoji-popup [\#60](https://github.com/vanniktech/Emoji/issues/60)
- Can't show keyboard [\#58](https://github.com/vanniktech/Emoji/issues/58)
- Opening emoticons, and change the keyboard [\#57](https://github.com/vanniktech/Emoji/issues/57)
- On android 6 emoji not averlays keyboard [\#20](https://github.com/vanniktech/Emoji/issues/20)
- Optimize EmojiGridView hierarchy [\#39](https://github.com/vanniktech/Emoji/pull/39) ([vanniktech](https://github.com/vanniktech))
- Split v4 [\#49](https://github.com/vanniktech/Emoji/pull/49) ([vanniktech](https://github.com/vanniktech))
- Make colors customizable [\#70](https://github.com/vanniktech/Emoji/pull/70) ([rubengees](https://github.com/rubengees))
- Rewrite for more Emojis, modularity and performance [\#77](https://github.com/vanniktech/Emoji/pull/77) ([rubengees](https://github.com/rubengees))
Huge thanks to [rubengees](https://github.com/rubengees) for making this library able to support multiple Emojis ([iOS](https://github.com/vanniktech/Emoji#ios-emojis) & [Emoji One](https://github.com/vanniktech/Emoji#emojione)) as well as fixing those issues:
- Skin tones support [\#34](https://github.com/vanniktech/Emoji/issues/34)
- Add flags [\#12](https://github.com/vanniktech/Emoji/issues/12)
- Add missing Symbols [\#11](https://github.com/vanniktech/Emoji/issues/11)
- Add missing People emojis [\#10](https://github.com/vanniktech/Emoji/issues/10)
**Note:**
0.4.0 is a breaking change so please consult with the README in order to set it up correctly. If you want to continue using the iOS Emojis change this:
```diff
-compile 'com.vanniktech:emoji:0.4.0'
+compile 'com.vanniktech:emoji-ios:0.4.0'
```
and add `EmojiManager.install(new IosEmojiProvider());` in your Applications `onCreate()` method.
Version 0.3.0 *(2016-05-03)*
----------------------------
- Remove Global Layout listener when dismissing the popup. Fixes \#22 [\#24](https://github.com/vanniktech/Emoji/pull/24) ([vanniktech](https://github.com/vanniktech))
- Show People category first when no recent emojis are present [\#16](https://github.com/vanniktech/Emoji/pull/16) ([vanniktech](https://github.com/vanniktech))
Version 0.2.0 *(2016-03-29)*
----------------------------
- Add Recent Emojis Tab [\#13](https://github.com/vanniktech/Emoji/pull/13) ([vanniktech](https://github.com/vanniktech))
- Adding new emojis [\#9](https://github.com/vanniktech/Emoji/pull/9) ([vanniktech](https://github.com/vanniktech))
- Add Library resource config file. Fixes \#6 [\#7](https://github.com/vanniktech/Emoji/pull/7) ([vanniktech](https://github.com/vanniktech))
Version 0.1.0 *(2016-03-12)*
----------------------------
- Initial release
| vanniktech/Emoji | CHANGELOG.md | Markdown | apache-2.0 | 21,216 |
package io.skysail.server.queryfilter.nodes.test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.junit.Ignore;
import org.junit.Test;
import io.skysail.domain.Entity;
import io.skysail.server.domain.jvm.FieldFacet;
import io.skysail.server.domain.jvm.facets.NumberFacet;
import io.skysail.server.domain.jvm.facets.YearFacet;
import io.skysail.server.filter.ExprNode;
import io.skysail.server.filter.FilterVisitor;
import io.skysail.server.filter.Operation;
import io.skysail.server.filter.PreparedStatement;
import io.skysail.server.filter.SqlFilterVisitor;
import io.skysail.server.queryfilter.nodes.LessNode;
import lombok.Data;
public class LessNodeTest {
@Data
public class SomeEntity implements Entity {
private String id, A, B;
}
@Test
public void defaultConstructor_creates_node_with_AND_operation_and_zero_children() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.getOperation(),is(Operation.LESS));
assertThat(lessNode.isLeaf(),is(true));
}
@Test
public void listConstructor_creates_node_with_AND_operation_and_assigns_the_children_parameter() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.getOperation(),is(Operation.LESS));
}
@Test
public void lessNode_with_one_children_gets_rendered() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.asLdapString(),is("(A<0)"));
}
@Test
public void nodes_toString_method_provides_representation() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.toString(),is("(A<0)"));
}
@Test
public void reduce_removes_the_matching_child() {
LessNode lessNode = new LessNode("A", 0);
Map<String, String> config = new HashMap<>();
config.put("BORDERS", "1");
assertThat(lessNode.reduce("(A<0)", new NumberFacet("A",config), null).asLdapString(),is(""));
}
@Test
public void reduce_does_not_remove_non_matching_child() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.reduce("b",null, null).asLdapString(),is("(A<0)"));
}
@Test
public void creates_a_simple_preparedStatement() {
LessNode lessNode = new LessNode("A", 0);
Map<String, FieldFacet> facets = new HashMap<>();
PreparedStatement createPreparedStatement = (PreparedStatement) lessNode.accept(new SqlFilterVisitor(facets));
assertThat(createPreparedStatement.getParams().get("A"),is("0"));
assertThat(createPreparedStatement.getSql(), is("A<:A"));
}
@Test
public void creates_a_preparedStatement_with_year_facet() {
LessNode lessNode = new LessNode("A", 0);
Map<String, FieldFacet> facets = new HashMap<>();
Map<String, String> config = new HashMap<>();
facets.put("A", new YearFacet("A", config));
PreparedStatement createPreparedStatement = (PreparedStatement) lessNode.accept(new SqlFilterVisitor(facets));
assertThat(createPreparedStatement.getParams().get("A"),is("0"));
assertThat(createPreparedStatement.getSql(), is("A.format('YYYY')<:A"));
}
// @Test
// public void evaluateEntity() {
// LessNode lessNode = new LessNode("A", 0);
// Map<String, FieldFacet> facets = new HashMap<>();
// Map<String, String> config = new HashMap<>();
// facets.put("A", new YearFacet("A", config));
//
// SomeEntity someEntity = new SomeEntity();
// someEntity.setA(0);
// someEntity.setB("b");
//
// EntityEvaluationFilterVisitor entityEvaluationVisitor = new EntityEvaluationFilterVisitor(someEntity, facets);
// boolean evaluateEntity = lessNode.evaluateEntity(entityEvaluationVisitor);
//
// assertThat(evaluateEntity,is(false));
// }
@Test
@Ignore
public void getSelected() {
LessNode lessNode = new LessNode("A", 0);
FieldFacet facet = new YearFacet("id", Collections.emptyMap());
Iterator<String> iterator = lessNode.getSelected(facet,Collections.emptyMap()).iterator();
assertThat(iterator.next(),is("0"));
}
@Test
public void getKeys() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.getKeys().size(),is(1));
Iterator<String> iterator = lessNode.getKeys().iterator();
assertThat(iterator.next(),is("A"));
}
@Test
public void accept() {
LessNode lessNode = new LessNode("A", 0);
assertThat(lessNode.accept(new FilterVisitor() {
@Override
public String visit(ExprNode node) {
return ".";
}
}),is("."));
}
}
| evandor/skysail | skysail.server.queryfilter/test/io/skysail/server/queryfilter/nodes/test/LessNodeTest.java | Java | apache-2.0 | 4,873 |
import ch.usi.overseer.OverAgent;
import ch.usi.overseer.OverHpc;
/**
* Overseer.OverAgent sample application.
* This example shows a basic usage of the OverAgent java agent to keep track of all the threads created
* by the JVM. Threads include garbage collectors, finalizers, etc. In order to use OverAgent, make sure to
* append this option to your command-line:
*
* -agentpath:/usr/local/lib/liboverAgent.so
*
* @author Achille Peternier (C) 2011 USI
*/
public class java_agent
{
static public void main(String argv[])
{
// Credits:
System.out.println("Overseer Java Agent test, A. Peternier (C) USI 2011\n");
// Check that -agentpath is working:
if (OverAgent.isRunning())
System.out.println(" OverAgent is running");
else
{
System.out.println(" OverAgent is not running (check your JVM settings)");
return;
}
// Get some info:
System.out.println(" Threads running: " + OverAgent.getNumberOfThreads());
System.out.println();
OverAgent.initEventCallback(new OverAgent.Callback()
{
// Callback invoked at thread creation:
public int onThreadCreation(int pid, String name)
{
System.out.println("[new] " + name + " (" + pid + ")");
return 0;
}
// Callback invoked at thread termination:
public int onThreadTermination(int pid, String name)
{
System.out.println("[delete] " + name + " (" + pid + ")");
return 0;
}});
OverHpc oHpc = OverHpc.getInstance();
int pid = oHpc.getThreadId();
OverAgent.updateStats();
// Waste some time:
double r = 0.0;
for (int d=0; d<10; d++)
{
if (true)
{
for (long c=0; c<100000000; c++)
{
r += r * Math.sqrt(r) * Math.pow(r, 40.0);
}
}
else
{
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
OverAgent.updateStats();
System.out.println(" Thread " + pid + " abs: " + OverAgent.getThreadCpuUsage(pid) + "%, rel: " + OverAgent.getThreadCpuUsageRelative(pid) + "%");
}
// Done:
System.out.println("Application terminated");
}
}
| IvanMamontov/overseer | examples/java_agent.java | Java | apache-2.0 | 2,131 |
#import <Foundation/Foundation.h>
#import "PBObject.h"
/**
* Location Intelligence APIs
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#import "PBGeoLocationFixedLineCountry.h"
@protocol PBDeviceStatusNetwork
@end
@interface PBDeviceStatusNetwork : PBObject
@property(nonatomic) NSString* carrier;
@property(nonatomic) NSString* callType;
@property(nonatomic) NSString* locAccuracySupport;
@property(nonatomic) NSString* nationalNumber;
@property(nonatomic) PBGeoLocationFixedLineCountry* country;
@end
| PitneyBowes/LocationIntelligenceSDK-IOS | LocationIntelligenceIOSSDK/Model/PBDeviceStatusNetwork.h | C | apache-2.0 | 1,311 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ADDRTYPE_IPPORT — MIT Kerberos Documentation</title>
<link rel="stylesheet" href="../../../_static/agogo.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/kerb.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../../',
VERSION: '1.16',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../../../_static/jquery.js"></script>
<script type="text/javascript" src="../../../_static/underscore.js"></script>
<script type="text/javascript" src="../../../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../../../about.html" />
<link rel="copyright" title="Copyright" href="../../../copyright.html" />
<link rel="top" title="MIT Kerberos Documentation" href="../../../index.html" />
<link rel="up" title="krb5 simple macros" href="index.html" />
<link rel="next" title="ADDRTYPE_ISO" href="ADDRTYPE_ISO.html" />
<link rel="prev" title="ADDRTYPE_INET6" href="ADDRTYPE_INET6.html" />
</head>
<body>
<div class="header-wrapper">
<div class="header">
<h1><a href="../../../index.html">MIT Kerberos Documentation</a></h1>
<div class="rel">
<a href="../../../index.html" title="Full Table of Contents"
accesskey="C">Contents</a> |
<a href="ADDRTYPE_INET6.html" title="ADDRTYPE_INET6"
accesskey="P">previous</a> |
<a href="ADDRTYPE_ISO.html" title="ADDRTYPE_ISO"
accesskey="N">next</a> |
<a href="../../../genindex.html" title="General Index"
accesskey="I">index</a> |
<a href="../../../search.html" title="Enter search criteria"
accesskey="S">Search</a> |
<a href="mailto:[email protected]?subject=Documentation__ADDRTYPE_IPPORT">feedback</a>
</div>
</div>
</div>
<div class="content-wrapper">
<div class="content">
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="addrtype-ipport">
<span id="addrtype-ipport-data"></span><h1>ADDRTYPE_IPPORT<a class="headerlink" href="#addrtype-ipport" title="Permalink to this headline">¶</a></h1>
<dl class="data">
<dt id="ADDRTYPE_IPPORT">
<tt class="descname">ADDRTYPE_IPPORT</tt><a class="headerlink" href="#ADDRTYPE_IPPORT" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<table border="1" class="docutils">
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">ADDRTYPE_IPPORT</span></tt></td>
<td><tt class="docutils literal"><span class="pre">0x0101</span></tt></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="sidebar">
<h2>On this page</h2>
<ul>
<li><a class="reference internal" href="#">ADDRTYPE_IPPORT</a></li>
</ul>
<br/>
<h2>Table of contents</h2>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../index.html">For application developers</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../../gssapi.html">Developing with GSSAPI</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../y2038.html">Year 2038 considerations for uses of krb5_timestamp</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../init_creds.html">Initial credentials</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../princ_handle.html">Principal manipulation and parsing</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../index.html">Complete reference - API and datatypes</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="../api/index.html">krb5 API</a></li>
<li class="toctree-l3"><a class="reference internal" href="../types/index.html">krb5 types and structures</a></li>
<li class="toctree-l3 current"><a class="reference internal" href="index.html">krb5 simple macros</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../formats/index.html">Protocols and file formats</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../about.html">Contributing to the MIT Kerberos Documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li>
</ul>
<br/>
<h4><a href="../../../index.html">Full Table of Contents</a></h4>
<h4>Search</h4>
<form class="search" action="../../../search.html" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<div class="clearer"></div>
</div>
</div>
<div class="footer-wrapper">
<div class="footer" >
<div class="right" ><i>Release: 1.16</i><br />
© <a href="../../../copyright.html">Copyright</a> 1985-2017, MIT.
</div>
<div class="left">
<a href="../../../index.html" title="Full Table of Contents"
>Contents</a> |
<a href="ADDRTYPE_INET6.html" title="ADDRTYPE_INET6"
>previous</a> |
<a href="ADDRTYPE_ISO.html" title="ADDRTYPE_ISO"
>next</a> |
<a href="../../../genindex.html" title="General Index"
>index</a> |
<a href="../../../search.html" title="Enter search criteria"
>Search</a> |
<a href="mailto:[email protected]?subject=Documentation__ADDRTYPE_IPPORT">feedback</a>
</div>
</div>
</div>
</body>
</html> | gerritjvv/cryptoplayground | kerberos/kdc/src/krb5-1.16/doc/html/appdev/refs/macros/ADDRTYPE_IPPORT.html | HTML | apache-2.0 | 7,443 |
package mat.model;
import com.google.gwt.user.client.rpc.IsSerializable;
/**
* The Class SecurityRole.
*/
public class SecurityRole implements IsSerializable {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 1L;
/** The Constant ADMIN_ROLE. */
public static final String ADMIN_ROLE = "Administrator";
/** The Constant USER_ROLE. */
public static final String USER_ROLE = "User";
/** The Constant SUPER_USER_ROLE. */
public static final String SUPER_USER_ROLE = "Super user";
/** The Constant ADMIN_ROLE_ID. */
public static final String ADMIN_ROLE_ID = "1";
/** The Constant USER_ROLE_ID. */
public static final String USER_ROLE_ID = "2";
/** The Constant SUPER_USER_ROLE_ID. */
public static final String SUPER_USER_ROLE_ID = "3";
/** The id. */
private String id;
/** The description. */
private String description;
/**
* Gets the id.
*
* @return the id
*/
public String getId() {
return id;
}
/**
* Sets the id.
*
* @param id
* the new id
*/
public void setId(String id) {
this.id = id;
}
/**
* Gets the description.
*
* @return the description
*/
public String getDescription() {
return description;
}
/**
* Sets the description.
*
* @param description
* the new description
*/
public void setDescription(String description) {
this.description = description;
}
}
| JaLandry/MeasureAuthoringTool_LatestSprint | mat/src/mat/model/SecurityRole.java | Java | apache-2.0 | 1,430 |
package com.gaojun.appmarket.ui.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.gaojun.appmarket.R;
/**
* Created by Administrator on 2016/6/29.
*/
public class RationLayout extends FrameLayout {
private float ratio;
public RationLayout(Context context) {
super(context);
initView();
}
public RationLayout(Context context, AttributeSet attrs) {
super(context, attrs);
initView();
TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.RationLayout);
int n = array.length();
for (int i = 0; i < n; i++) {
switch (i){
case R.styleable.RationLayout_ratio:
ratio = array.getFloat(R.styleable.RationLayout_ratio,-1);
break;
}
}
array.recycle();
}
public RationLayout(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
initView();
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
int width = MeasureSpec.getSize(widthMeasureSpec);
int widthMode = MeasureSpec.getMode(widthMeasureSpec);
int height = MeasureSpec.getSize(heightMeasureSpec);
int heightMode = MeasureSpec.getMode(heightMeasureSpec);
if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY &&
ratio>0){
int imageWidth = width - getPaddingLeft() - getPaddingRight();
int imageHeight = (int) (imageWidth/ratio);
height = imageHeight + getPaddingTop() + getPaddingBottom();
heightMeasureSpec = MeasureSpec.makeMeasureSpec(height,MeasureSpec.EXACTLY);
}
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
private void initView() {
}
}
| GaoJunLoveHL/AppMaker | market/src/main/java/com/gaojun/appmarket/ui/view/RationLayout.java | Java | apache-2.0 | 1,962 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pandas.Series.memory_usage — pandas 0.24.0.dev0+81.g8d5032a8c.dirty documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="pandas.Series.min" href="pandas.Series.min.html" />
<link rel="prev" title="pandas.Series.median" href="pandas.Series.median.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="pandas.Series.min.html" title="pandas.Series.min"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="pandas.Series.median.html" title="pandas.Series.median"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">pandas 0.24.0.dev0+81.g8d5032a8c.dirty documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="../api.html" >API Reference</a> »</li>
<li class="nav-item nav-item-2"><a href="pandas.Series.html" accesskey="U">pandas.Series</a> »</li>
</ul>
</div>
<div class="content-wrapper">
<div class="content">
<div class="document">
<div class="sphinxsidebar">
<h3>Table Of Contents</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../whatsnew.html">What’s New</a></li>
<li class="toctree-l1"><a class="reference internal" href="../install.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../contributing.html">Contributing to pandas</a></li>
<li class="toctree-l1"><a class="reference internal" href="../overview.html">Package overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../10min.html">10 Minutes to pandas</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tutorials.html">Tutorials</a></li>
<li class="toctree-l1"><a class="reference internal" href="../cookbook.html">Cookbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dsintro.html">Intro to Data Structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="../basics.html">Essential Basic Functionality</a></li>
<li class="toctree-l1"><a class="reference internal" href="../text.html">Working with Text Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="../options.html">Options and Settings</a></li>
<li class="toctree-l1"><a class="reference internal" href="../indexing.html">Indexing and Selecting Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="../advanced.html">MultiIndex / Advanced Indexing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../computation.html">Computational tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../missing_data.html">Working with missing data</a></li>
<li class="toctree-l1"><a class="reference internal" href="../groupby.html">Group By: split-apply-combine</a></li>
<li class="toctree-l1"><a class="reference internal" href="../merging.html">Merge, join, and concatenate</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reshaping.html">Reshaping and Pivot Tables</a></li>
<li class="toctree-l1"><a class="reference internal" href="../timeseries.html">Time Series / Date functionality</a></li>
<li class="toctree-l1"><a class="reference internal" href="../timedeltas.html">Time Deltas</a></li>
<li class="toctree-l1"><a class="reference internal" href="../categorical.html">Categorical Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="../visualization.html">Visualization</a></li>
<li class="toctree-l1"><a class="reference internal" href="../style.html">Styling</a></li>
<li class="toctree-l1"><a class="reference internal" href="../io.html">IO Tools (Text, CSV, HDF5, …)</a></li>
<li class="toctree-l1"><a class="reference internal" href="../enhancingperf.html">Enhancing Performance</a></li>
<li class="toctree-l1"><a class="reference internal" href="../sparse.html">Sparse data structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="../gotchas.html">Frequently Asked Questions (FAQ)</a></li>
<li class="toctree-l1"><a class="reference internal" href="../r_interface.html">rpy2 / R interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="../ecosystem.html">pandas Ecosystem</a></li>
<li class="toctree-l1"><a class="reference internal" href="../comparison_with_r.html">Comparison with R / R libraries</a></li>
<li class="toctree-l1"><a class="reference internal" href="../comparison_with_sql.html">Comparison with SQL</a></li>
<li class="toctree-l1"><a class="reference internal" href="../comparison_with_sas.html">Comparison with SAS</a></li>
<li class="toctree-l1"><a class="reference internal" href="../comparison_with_stata.html">Comparison with Stata</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../api.html">API Reference</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../api.html#input-output">Input/Output</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#general-functions">General functions</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../api.html#series">Series</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="../api.html#constructor">Constructor</a></li>
<li class="toctree-l3 current"><a class="reference internal" href="../api.html#attributes">Attributes</a><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.index.html">pandas.Series.index</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.values.html">pandas.Series.values</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.dtype.html">pandas.Series.dtype</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.ftype.html">pandas.Series.ftype</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.shape.html">pandas.Series.shape</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.nbytes.html">pandas.Series.nbytes</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.ndim.html">pandas.Series.ndim</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.size.html">pandas.Series.size</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.strides.html">pandas.Series.strides</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.itemsize.html">pandas.Series.itemsize</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.base.html">pandas.Series.base</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.T.html">pandas.Series.T</a></li>
<li class="toctree-l4 current"><a class="current reference internal" href="#">pandas.Series.memory_usage</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.hasnans.html">pandas.Series.hasnans</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.flags.html">pandas.Series.flags</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.empty.html">pandas.Series.empty</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.dtypes.html">pandas.Series.dtypes</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.ftypes.html">pandas.Series.ftypes</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.data.html">pandas.Series.data</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.is_copy.html">pandas.Series.is_copy</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.name.html">pandas.Series.name</a></li>
<li class="toctree-l4"><a class="reference internal" href="pandas.Series.put.html">pandas.Series.put</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#conversion">Conversion</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#indexing-iteration">Indexing, iteration</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#binary-operator-functions">Binary operator functions</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#function-application-groupby-window">Function application, GroupBy & Window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#computations-descriptive-stats">Computations / Descriptive Stats</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#reindexing-selection-label-manipulation">Reindexing / Selection / Label manipulation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#missing-data-handling">Missing data handling</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#reshaping-sorting">Reshaping, sorting</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#combining-joining-merging">Combining / joining / merging</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#time-series-related">Time series-related</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#datetimelike-properties">Datetimelike Properties</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#string-handling">String handling</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#categorical">Categorical</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#plotting">Plotting</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#serialization-io-conversion">Serialization / IO / Conversion</a></li>
<li class="toctree-l3"><a class="reference internal" href="../api.html#sparse">Sparse</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#dataframe">DataFrame</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#panel">Panel</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#index">Index</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#numeric-index">Numeric Index</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#categoricalindex">CategoricalIndex</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#intervalindex">IntervalIndex</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#multiindex">MultiIndex</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#datetimeindex">DatetimeIndex</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#timedeltaindex">TimedeltaIndex</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#periodindex">PeriodIndex</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#scalars">Scalars</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#frequencies">Frequencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#window">Window</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#groupby">GroupBy</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#resampling">Resampling</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#style">Style</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#id43">Plotting</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#general-utility-functions">General utility functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api.html#extensions">Extensions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../developer.html">Developer</a></li>
<li class="toctree-l1"><a class="reference internal" href="../internals.html">Internals</a></li>
<li class="toctree-l1"><a class="reference internal" href="../extending.html">Extending Pandas</a></li>
<li class="toctree-l1"><a class="reference internal" href="../release.html">Release Notes</a></li>
</ul>
<h3 style="margin-top: 1.5em;">Search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" size="18"/>
<input type="submit" value="Go"/>
<input type="hidden" name="check_keywords" value="yes"/>
<input type="hidden" name="area" value="default"/>
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="pandas-series-memory-usage">
<h1>pandas.Series.memory_usage<a class="headerlink" href="#pandas-series-memory-usage" title="Permalink to this headline">¶</a></h1>
<dl class="method">
<dt id="pandas.Series.memory_usage">
<code class="descclassname">Series.</code><code class="descname">memory_usage</code><span class="sig-paren">(</span><em>index=True</em>, <em>deep=False</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/pandas-dev/pandas/blob/master/pandas/core/series.py#L3480-L3533"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pandas.Series.memory_usage" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the memory usage of the Series.</p>
<p>The memory usage can optionally include the contribution of
the index and of elements of <cite>object</cite> dtype.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>index</strong> : bool, default True</p>
<blockquote>
<div><p>Specifies whether to include the memory usage of the Series index.</p>
</div></blockquote>
<p><strong>deep</strong> : bool, default False</p>
<blockquote>
<div><p>If True, introspect the data deeply by interrogating
<cite>object</cite> dtypes for system-level memory consumption, and include
it in the returned value.</p>
</div></blockquote>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>int</strong></p>
<blockquote class="last">
<div><p>Bytes of memory consumed.</p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<dl class="last docutils">
<dt><a class="reference external" href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.nbytes.html#numpy.ndarray.nbytes" title="(in NumPy v1.14)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">numpy.ndarray.nbytes</span></code></a></dt>
<dd>Total bytes consumed by the elements of the array.</dd>
<dt><a class="reference internal" href="pandas.DataFrame.memory_usage.html#pandas.DataFrame.memory_usage" title="pandas.DataFrame.memory_usage"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DataFrame.memory_usage</span></code></a></dt>
<dd>Bytes consumed by a DataFrame.</dd>
</dl>
</div>
<p class="rubric">Examples</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">s</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">Series</span><span class="p">(</span><span class="nb">range</span><span class="p">(</span><span class="mi">3</span><span class="p">))</span>
<span class="gp">>>> </span><span class="n">s</span><span class="o">.</span><span class="n">memory_usage</span><span class="p">()</span>
<span class="go">104</span>
</pre></div>
</div>
<p>Not including the index gives the size of the rest of the data, which
is necessarily smaller:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">s</span><span class="o">.</span><span class="n">memory_usage</span><span class="p">(</span><span class="n">index</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
<span class="go">24</span>
</pre></div>
</div>
<p>The memory footprint of <cite>object</cite> values is ignored by default:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">s</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">Series</span><span class="p">([</span><span class="s2">"a"</span><span class="p">,</span> <span class="s2">"b"</span><span class="p">])</span>
<span class="gp">>>> </span><span class="n">s</span><span class="o">.</span><span class="n">values</span>
<span class="go">array(['a', 'b'], dtype=object)</span>
<span class="gp">>>> </span><span class="n">s</span><span class="o">.</span><span class="n">memory_usage</span><span class="p">()</span>
<span class="go">96</span>
<span class="gp">>>> </span><span class="n">s</span><span class="o">.</span><span class="n">memory_usage</span><span class="p">(</span><span class="n">deep</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
<span class="go">212</span>
</pre></div>
</div>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="pandas.Series.min.html" title="pandas.Series.min"
>next</a> |</li>
<li class="right" >
<a href="pandas.Series.median.html" title="pandas.Series.median"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">pandas 0.24.0.dev0+81.g8d5032a8c.dirty documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="../api.html" >API Reference</a> »</li>
<li class="nav-item nav-item-2"><a href="pandas.Series.html" >pandas.Series</a> »</li>
</ul>
</div>
<style type="text/css">
.scrollToTop {
text-align: center;
font-weight: bold;
position: fixed;
bottom: 60px;
right: 40px;
display: none;
}
</style>
<a href="#" class="scrollToTop">Scroll To Top</a>
<script type="text/javascript">
$(document).ready(function() {
//Check to see if the window is top if not then display button
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$('.scrollToTop').fadeIn();
} else {
$('.scrollToTop').fadeOut();
}
});
//Click event to scroll to top
$('.scrollToTop').click(function() {
$('html, body').animate({
scrollTop: 0
}, 500);
return false;
});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27880019-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html> | datapythonista/datapythonista.github.io | docs/new-pandas-doc/generated/pandas.Series.memory_usage.html | HTML | apache-2.0 | 21,860 |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.lightsail.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* Describes a block storage disk mapping.
* </p>
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskMap" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DiskMap implements Serializable, Cloneable, StructuredPojo {
/**
* <p>
* The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
* </p>
*/
private String originalDiskPath;
/**
* <p>
* The new disk name (e.g., <code>my-new-disk</code>).
* </p>
*/
private String newDiskName;
/**
* <p>
* The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
* </p>
*
* @param originalDiskPath
* The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
*/
public void setOriginalDiskPath(String originalDiskPath) {
this.originalDiskPath = originalDiskPath;
}
/**
* <p>
* The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
* </p>
*
* @return The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
*/
public String getOriginalDiskPath() {
return this.originalDiskPath;
}
/**
* <p>
* The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
* </p>
*
* @param originalDiskPath
* The original disk path exposed to the instance (for example, <code>/dev/sdh</code>).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DiskMap withOriginalDiskPath(String originalDiskPath) {
setOriginalDiskPath(originalDiskPath);
return this;
}
/**
* <p>
* The new disk name (e.g., <code>my-new-disk</code>).
* </p>
*
* @param newDiskName
* The new disk name (e.g., <code>my-new-disk</code>).
*/
public void setNewDiskName(String newDiskName) {
this.newDiskName = newDiskName;
}
/**
* <p>
* The new disk name (e.g., <code>my-new-disk</code>).
* </p>
*
* @return The new disk name (e.g., <code>my-new-disk</code>).
*/
public String getNewDiskName() {
return this.newDiskName;
}
/**
* <p>
* The new disk name (e.g., <code>my-new-disk</code>).
* </p>
*
* @param newDiskName
* The new disk name (e.g., <code>my-new-disk</code>).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DiskMap withNewDiskName(String newDiskName) {
setNewDiskName(newDiskName);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getOriginalDiskPath() != null)
sb.append("OriginalDiskPath: ").append(getOriginalDiskPath()).append(",");
if (getNewDiskName() != null)
sb.append("NewDiskName: ").append(getNewDiskName());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof DiskMap == false)
return false;
DiskMap other = (DiskMap) obj;
if (other.getOriginalDiskPath() == null ^ this.getOriginalDiskPath() == null)
return false;
if (other.getOriginalDiskPath() != null && other.getOriginalDiskPath().equals(this.getOriginalDiskPath()) == false)
return false;
if (other.getNewDiskName() == null ^ this.getNewDiskName() == null)
return false;
if (other.getNewDiskName() != null && other.getNewDiskName().equals(this.getNewDiskName()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getOriginalDiskPath() == null) ? 0 : getOriginalDiskPath().hashCode());
hashCode = prime * hashCode + ((getNewDiskName() == null) ? 0 : getNewDiskName().hashCode());
return hashCode;
}
@Override
public DiskMap clone() {
try {
return (DiskMap) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.lightsail.model.transform.DiskMapMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}
| aws/aws-sdk-java | aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/DiskMap.java | Java | apache-2.0 | 6,034 |
namespace v_4_1.Protocol
{
public static class Asci
{
public const byte CR = 13;
public const byte LF = 10;
public const byte T = 84;
public const byte R = 82;
public const byte D = 68;
public const byte H = 72;
public const byte a = 97;
public const byte o = 111;
public const byte L = 76;
public const byte P = 80;
public const byte U = 85;
public const byte S = 83;
}
}
| TeoVincent/TEO-KONKURS | Parser_v_4_1/Protocol/Asci.cs | C# | apache-2.0 | 484 |
### 2019-03-11
#### java
* [Snailclimb / JavaGuide](https://github.com/Snailclimb/JavaGuide):【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。
* [CypherpunkArmory / UserLAnd](https://github.com/CypherpunkArmory/UserLAnd):Main UserLAnd Repository
* [quarkusio / quarkus](https://github.com/quarkusio/quarkus):Quarkus: Supersonic Subatomic Java.
* [doocs / advanced-java](https://github.com/doocs/advanced-java):😮 互联网 Java 工程师进阶知识完全扫盲
* [google / j2cl](https://github.com/google/j2cl):Java to Closure JavaScript transpiler
* [macrozheng / mall](https://github.com/macrozheng/mall):mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
* [Meituan-Dianping / Leaf](https://github.com/Meituan-Dianping/Leaf):Distributed ID Generate Service
* [spring-projects / spring-boot](https://github.com/spring-projects/spring-boot):Spring Boot
* [gotify / android](https://github.com/gotify/android):An app for receiving push notifications on new messages posted to gotify/server.
* [TheAlgorithms / Java](https://github.com/TheAlgorithms/Java):All Algorithms implemented in Java
* [gedoor / MyBookshelf](https://github.com/gedoor/MyBookshelf):阅读是一款可以自定义来源阅读网络内容的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
* [eugenp / tutorials](https://github.com/eugenp/tutorials):The "REST With Spring" Course:
* [spring-projects / spring-framework](https://github.com/spring-projects/spring-framework):Spring Framework
* [ityouknow / spring-boot-examples](https://github.com/ityouknow/spring-boot-examples):about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。
* [elastic / elasticsearch](https://github.com/elastic/elasticsearch):Open Source, Distributed, RESTful Search Engine
* [apache / incubator-dubbo](https://github.com/apache/incubator-dubbo):Apache Dubbo (incubating) is a high-performance, java based, open source RPC framework.
* [wix / react-native-navigation](https://github.com/wix/react-native-navigation):A complete native navigation solution for React Native
* [guanpj / JReadHub](https://github.com/guanpj/JReadHub):Readhub Android 客户端——官网 : https://readhub.cn
* [google / guava](https://github.com/google/guava):Google core libraries for Java
* [qiurunze123 / miaosha](https://github.com/qiurunze123/miaosha):⭐⭐⭐⭐秒杀系统设计与实现.互联网工程师进阶与分析🙋🐓
* [didi / DoraemonKit](https://github.com/didi/DoraemonKit):简称 "DoKit" 。一款功能齐全的客户端( iOS 、Android )研发助手,你值得拥有。
* [topjohnwu / Magisk](https://github.com/topjohnwu/Magisk):A Magic Mask to Alter Android System Systemless-ly
* [crossoverJie / JCSprout](https://github.com/crossoverJie/JCSprout):👨🎓 Java Core Sprout : basic, concurrent, algorithm
* [alibaba / nacos](https://github.com/alibaba/nacos):an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
* [oracle / graal](https://github.com/oracle/graal):GraalVM: Run Programs Faster Anywhere 🚀
#### vue
* [PanJiaChen / vue-element-admin](https://github.com/PanJiaChen/vue-element-admin):🎉 A magical vue admin http://panjiachen.github.io/vue-element-admin
* [emilkowalski / css-effects-snippets](https://github.com/emilkowalski/css-effects-snippets):A collection of CSS effects made with Vue.js.
* [ElemeFE / element](https://github.com/ElemeFE/element):A Vue.js 2.0 UI Toolkit for Web
* [Akryum / vue-virtual-scroller](https://github.com/Akryum/vue-virtual-scroller):⚡️ Blazing fast scrolling for any amount of data
* [iview / iview](https://github.com/iview/iview):A high quality UI Toolkit built on Vue.js 2.0
* [dongweiming / lyanna](https://github.com/dongweiming/lyanna):My Blog Using Sanic
* [System-Glitch / Solidity-IDE](https://github.com/System-Glitch/Solidity-IDE):A simple alternative to Remix IDE to develop and test Solidity Smart Contracts
* [Molunerfinn / PicGo](https://github.com/Molunerfinn/PicGo):🚀A simple & beautiful tool for pictures uploading built by electron-vue
* [vueComponent / ant-design-vue](https://github.com/vueComponent/ant-design-vue):An enterprise-class UI components based on Ant Design and Vue. 🐜
* [iview / iview-admin](https://github.com/iview/iview-admin):Vue 2.0 admin management system template based on iView
* [sendya / ant-design-pro-vue](https://github.com/sendya/ant-design-pro-vue):👨🏻💻👩🏻💻 Use Ant Design Vue like a Pro! A simple vue admin template.
* [jbaysolutions / vue-grid-layout](https://github.com/jbaysolutions/vue-grid-layout):A draggable and resizable grid layout, for Vue.js.
* [jdf2e / nutui](https://github.com/jdf2e/nutui):京东风格的轻量级移动端Vue组件库 (A Vue.js 2.0 UI Toolkit for Mobile Web)
* [epicmaxco / vuestic-admin](https://github.com/epicmaxco/vuestic-admin):Vue.js admin dashboard
* [dcloudio / uni-app](https://github.com/dcloudio/uni-app):使用 Vue.js 开发跨平台应用的前端框架
* [syuilo / misskey](https://github.com/syuilo/misskey):✨🌎✨ A federated blogging platform ✨🚀✨
* [mdbootstrap / Vue-Bootstrap-with-Material-Design](https://github.com/mdbootstrap/Vue-Bootstrap-with-Material-Design):Vue Bootstrap with Material Design - Powerful and free UI KIT
* [tuandm / laravue](https://github.com/tuandm/laravue):Laravel dashboard built by VueJS
* [vapor / website](https://github.com/vapor/website):Vapor's website running on Vapor and Vue
* [jae-jae / Userscript-Plus](https://github.com/jae-jae/Userscript-Plus):🐒 Show current site all UserJS,The easier way to install UserJs for Tampermonkey. 显示当前网站的所有可用Tampermonkey脚本
* [vue-bulma / vue-bulma](https://github.com/vue-bulma/vue-bulma):A modern UI framework based on Vue and Bulma
* [owncloud / phoenix](https://github.com/owncloud/phoenix):Next generation frontend for ownCloud
* [jecovier / vue-json-excel](https://github.com/jecovier/vue-json-excel):
* [TaleLin / lin-cms-vue](https://github.com/TaleLin/lin-cms-vue):A simple and practical CMS implememted by Vue
* [overtrue / yike.io](https://github.com/overtrue/yike.io):一刻社区前端源码
#### kotlin
* [iammert / ReadableBottomBar](https://github.com/iammert/ReadableBottomBar):Yet another material bottom bar library for Android
* [shadowsocks / shadowsocks-android](https://github.com/shadowsocks/shadowsocks-android):A shadowsocks client for Android
* [guanpj / JShoppingMall](https://github.com/guanpj/JShoppingMall):一款商城购物 App,商品数据采用 Python 爬虫爬取自某小型电商平台,服务端部署在腾讯云。
* [ologe / canaree-music-player](https://github.com/ologe/canaree-music-player):Android music player
* [JetBrains / kotlin](https://github.com/JetBrains/kotlin):The Kotlin Programming Language
* [the-super-toys / glimpse-android](https://github.com/the-super-toys/glimpse-android):A content-aware cropping library for Android
* [googlesamples / android-sunflower](https://github.com/googlesamples/android-sunflower):A gardening app illustrating Android development best practices with Android Jetpack.
* [Ramotion / fluid-slider-android](https://github.com/Ramotion/fluid-slider-android):💧 A slider widget with a popup bubble displaying the precise value selected. Android library made by @Ramotion - https://github.com/Ramotion/android-ui-animation-components-and-libraries
* [2dust / v2rayNG](https://github.com/2dust/v2rayNG):
* [googlesamples / android-architecture-components](https://github.com/googlesamples/android-architecture-components):Samples for Android Architecture Components.
* [inorichi / tachiyomi](https://github.com/inorichi/tachiyomi):Free and open source manga reader for Android
* [shetmobile / MeowBottomNavigation](https://github.com/shetmobile/MeowBottomNavigation):Android Meow Bottm Navigation
* [guolindev / coolweatherjetpack](https://github.com/guolindev/coolweatherjetpack):酷欧天气的Jetpack版本实现,采用了MVVM架构。
* [adrielcafe / KrumbsView](https://github.com/adrielcafe/KrumbsView):🍞 The ultimate breadcrumbs view for Android!
* [alibaba / p3c](https://github.com/alibaba/p3c):Alibaba Java Coding Guidelines pmd implements and IDE plugin
* [nickbutcher / plaid](https://github.com/nickbutcher/plaid):An Android app which provides design news & inspiration as well as being an example of implementing material design.
* [JetBrains / swot](https://github.com/JetBrains/swot):Identify email addresses or domains names that belong to colleges or universities. Help automate the process of approving or rejecting academic discounts.
* [MSF-Jarvis / viscerion](https://github.com/MSF-Jarvis/viscerion):Beautiful and feature filled Android client for the WireGuard™️ protocol
* [h4h13 / RetroMusicPlayer](https://github.com/h4h13/RetroMusicPlayer):Best material design music player for Android
* [SimpleMobileTools / Simple-Commons](https://github.com/SimpleMobileTools/Simple-Commons):Some helper functions and shared resources to be used only by the simple apps suite.
* [proxer / ProxerAndroid](https://github.com/proxer/ProxerAndroid):The official Android App of Proxer.Me
* [corda / corda](https://github.com/corda/corda):Corda is an open source blockchain project, designed for business from the start. Only Corda allows you to build interoperable blockchain networks that transact in strict privacy. Corda's smart contract technology allows businesses to transact directly, with value.
* [rkudryashov / microservices-example](https://github.com/rkudryashov/microservices-example):Example of the microservices architecture on the modern stack of Java technologies
* [MindorksOpenSource / RadialProgressBar](https://github.com/MindorksOpenSource/RadialProgressBar):Radial ProgressBar inspired by Apple Watch OS. It is highly Customisable
* [kotlin-graphics / imgui](https://github.com/kotlin-graphics/imgui):Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
#### javascript
* [agalwood / Motrix](https://github.com/agalwood/Motrix):A full-featured download manager.
* [vadimdemedes / ink](https://github.com/vadimdemedes/ink):🌈 React for interactive command-line apps
* [viatsko / awesome-vscode](https://github.com/viatsko/awesome-vscode):🎨 A curated list of delightful VS Code packages and resources.
* [bvaughn / react-window](https://github.com/bvaughn/react-window):React components for efficiently rendering large lists and tabular data
* [vuejs / vue](https://github.com/vuejs/vue):🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
* [facebook / react](https://github.com/facebook/react):A declarative, efficient, and flexible JavaScript library for building user interfaces.
* [victordibia / handtrack.js](https://github.com/victordibia/handtrack.js):A library for prototyping realtime hand detection (bounding box), directly in the browser.
* [pomber / git-history](https://github.com/pomber/git-history):Quickly browse the history of a file from any git repository
* [facebook / react-native](https://github.com/facebook/react-native):A framework for building native apps with React.
* [GoogleChrome / puppeteer](https://github.com/GoogleChrome/puppeteer):Headless Chrome Node API
* [facebook / create-react-app](https://github.com/facebook/create-react-app):Set up a modern web app by running one command.
* [30-seconds / 30-seconds-of-code](https://github.com/30-seconds/30-seconds-of-code):A curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.
* [frankmcsherry / blog](https://github.com/frankmcsherry/blog):Some notes on things I find interesting and important.
* [mui-org / material-ui](https://github.com/mui-org/material-ui):React components for faster and easier web development. Build your own design system, or start with Material Design.
* [axa-group / nlp.js](https://github.com/axa-group/nlp.js):An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more
* [nodejs / node](https://github.com/nodejs/node):Node.js JavaScript runtime ✨🐢🚀✨
* [trekhleb / javascript-algorithms](https://github.com/trekhleb/javascript-algorithms):📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
* [NervJS / taro](https://github.com/NervJS/taro):多端统一开发框架,支持用 React 的开发方式编写一次代码,生成能运行在微信/百度/支付宝/字节跳动小程序、H5、React Native 等的应用。 https://taro.js.org/
* [twbs / bootstrap](https://github.com/twbs/bootstrap):The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
* [storybooks / storybook](https://github.com/storybooks/storybook):UI component dev & test: React, React Native, Vue, Angular, Ember & more!
* [lukeed / dequal](https://github.com/lukeed/dequal):A tiny (247B) utility for check for deep equality
* [freeciv / freeciv-web](https://github.com/freeciv/freeciv-web):Freeciv-web is an Open Source strategy game implemented in HTML5 and WebGL, which can be played online against other players, or in single player mode against AI opponents.
* [gatsbyjs / gatsby](https://github.com/gatsbyjs/gatsby):Build blazing fast, modern apps and websites with React
* [facebook / jest](https://github.com/facebook/jest):Delightful JavaScript Testing.
* [strapi / strapi](https://github.com/strapi/strapi):🚀 Open source Node.js Headless CMS to easily build customisable APIs
#### css
* [daneden / animate.css](https://github.com/daneden/animate.css):🍿 A cross-browser library of CSS animations. As easy to use as an easy thing.
* [twbs / rfs](https://github.com/twbs/rfs):Automated responsive font sizes
* [jgthms / bulma](https://github.com/jgthms/bulma):Modern CSS framework based on Flexbox
* [ryanoasis / nerd-fonts](https://github.com/ryanoasis/nerd-fonts):🔡 Iconic font aggregator, collection, and patcher. 40+ patched fonts, over 3,600 glyph/icons, includes popular collections such as Font Awesome & fonts such as Hack
* [rexlin600 / rexlin600.github.io](https://github.com/rexlin600/rexlin600.github.io):系列博客、涵盖领域广、不定时更新、欢迎加入
* [tailwindcss / tailwindcss](https://github.com/tailwindcss/tailwindcss):A utility-first CSS framework for rapid UI development.
* [rstacruz / cheatsheets](https://github.com/rstacruz/cheatsheets):My cheatsheets
* [apachecn / hands-on-ml-zh](https://github.com/apachecn/hands-on-ml-zh):📖 [译] Sklearn 与 TensorFlow 机器学习实用指南
* [BlackrockDigital / startbootstrap-sb-admin-2](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2):A free, open source, Bootstrap admin theme created by Start Bootstrap
* [uikit / uikit](https://github.com/uikit/uikit):A lightweight and modular front-end framework for developing fast and powerful web interfaces
* [theme-next / hexo-theme-next](https://github.com/theme-next/hexo-theme-next):Elegant and powerful theme for Hexo.
* [StylishThemes / GitHub-Dark](https://github.com/StylishThemes/GitHub-Dark):Dark GitHub style
* [LiangJunrong / document-library](https://github.com/LiangJunrong/document-library):jsliang 的文档库. 里面包含了所有的前端文章,例如 vue、react,、angular、微信小程序、设计模式等……
* [elenapan / dotfiles](https://github.com/elenapan/dotfiles):There is no place like ~/
* [the-paperless-project / paperless](https://github.com/the-paperless-project/paperless):Scan, index, and archive all of your paper documents
* [mozdevs / cssremedy](https://github.com/mozdevs/cssremedy):Start your project with a remedy for the technical debt of CSS.
* [angea / pocorgtfo](https://github.com/angea/pocorgtfo):a "PoC or GTFO" mirror with extra article index, direct links and clean PDFs.
* [gitpitch / in-60-seconds](https://github.com/gitpitch/in-60-seconds):GitPitch In 60 Seconds - A Very Short Tutorial
* [poole / hyde](https://github.com/poole/hyde):A brazen two-column theme for Jekyll.
* [jekyll / minima](https://github.com/jekyll/minima):Minima is a one-size-fits-all Jekyll theme for writers.
* [picturepan2 / spectre](https://github.com/picturepan2/spectre):Spectre.css - A Lightweight, Responsive and Modern CSS Framework
* [fireship-io / fireship.io](https://github.com/fireship-io/fireship.io):Content Designed for Developer Happiness https://fireship.io
* [getpelican / pelican-themes](https://github.com/getpelican/pelican-themes):Themes for Pelican
* [travis-ci / docs-travis-ci-com](https://github.com/travis-ci/docs-travis-ci-com):The Travis CI Documentation
* [flutter / website](https://github.com/flutter/website):Flutter web site
#### objective-c
* [alibaba / coobjc](https://github.com/alibaba/coobjc):coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
* [react-native-community / react-native-maps](https://github.com/react-native-community/react-native-maps):React Native Mapview component for iOS + Android
* [expo / expo](https://github.com/expo/expo):The Expo platform for making cross-platform mobile apps
* [Cenmrev / V2RayX](https://github.com/Cenmrev/V2RayX):GUI for v2ray-core on macOS
* [matryer / bitbar](https://github.com/matryer/bitbar):Put the output from any script or program in your Mac OS X Menu Bar
* [sveinbjornt / Sloth](https://github.com/sveinbjornt/Sloth):Mac app that shows all open files and sockets in use by all running processes. Nice GUI for lsof.
* [steventroughtonsmith / marzipanify](https://github.com/steventroughtonsmith/marzipanify):Convert an iOS Simulator app bundle to an iOSMac (Marzipan) one (Unsupported & undocumented, WIP)
* [PsychoTea / machswap2](https://github.com/PsychoTea/machswap2):An iOS kernel exploit for iOS 11 through 12.1.2. Works on A7 - A11 devices.
* [apache / cordova-plugin-inappbrowser](https://github.com/apache/cordova-plugin-inappbrowser):Apache Cordova Plugin inappbrowser
* [januslo / react-native-bluetooth-escpos-printer](https://github.com/januslo/react-native-bluetooth-escpos-printer):React-Native plugin for the bluetooth ESC/POS & TSC printers.
* [signalapp / Signal-iOS](https://github.com/signalapp/Signal-iOS):A private messenger for iOS.
* [Codeux-Software / Textual](https://github.com/Codeux-Software/Textual):Textual is an IRC client for OS X
* [googleads / googleads-mobile-ios-examples](https://github.com/googleads/googleads-mobile-ios-examples):googleads-mobile-ios
* [bitstadium / HockeySDK-iOS](https://github.com/bitstadium/HockeySDK-iOS):The official iOS SDK for the HockeyApp service (Releases are in the master branch, current development in the default develop branch)
* [bitstadium / HockeySDK-Mac](https://github.com/bitstadium/HockeySDK-Mac):The official Mac SDK for the HockeyApp service. It contains a crash reporter that checks at startup whether your application crashed last time it was launched, then offers to send that information to the HockeyApp service. It supports Mac OS X >= 10.9, Intel architectures and also the Mac Sandbox.
* [jverkoey / nimbus](https://github.com/jverkoey/nimbus):The iOS framework that grows only as fast as its documentation
* [xu-li / cordova-plugin-wechat](https://github.com/xu-li/cordova-plugin-wechat):A cordova plugin, a JS version of Wechat SDK
* [AFNetworking / AFNetworking](https://github.com/AFNetworking/AFNetworking):A delightful networking framework for iOS, macOS, watchOS, and tvOS.
* [SDWebImage / SDWebImage](https://github.com/SDWebImage/SDWebImage):Asynchronous image downloader with cache support as a UIImageView category
* [BradLarson / GPUImage](https://github.com/BradLarson/GPUImage):An open source iOS framework for GPU-based image and video processing
* [SnapKit / Masonry](https://github.com/SnapKit/Masonry):Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
* [airbnb / lottie-ios](https://github.com/airbnb/lottie-ios):An iOS library to natively render After Effects vector animations
* [jdg / MBProgressHUD](https://github.com/jdg/MBProgressHUD):MBProgressHUD + Customizations
* [realm / realm-cocoa](https://github.com/realm/realm-cocoa):Realm is a mobile database: a replacement for Core Data & SQLite
* [ccgus / fmdb](https://github.com/ccgus/fmdb):A Cocoa / Objective-C wrapper around SQLite
#### swift
* [sagaya / Wobbly](https://github.com/sagaya/Wobbly):(Animate CSS) animations for iOS. An easy to use library of iOS animations. As easy to use as an easy thing.
* [pedrommcarrasco / Brooklyn](https://github.com/pedrommcarrasco/Brooklyn):🍎 Screensaver inspired by Apple's Event on October 30, 2018
* [shadowsocks / ShadowsocksX-NG](https://github.com/shadowsocks/ShadowsocksX-NG):Next Generation of ShadowsocksX
* [holzschu / Carnets](https://github.com/holzschu/Carnets):Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
* [iina / iina](https://github.com/iina/iina):The modern video player for macOS.
* [Ramotion / folding-cell](https://github.com/Ramotion/folding-cell):📃 FoldingCell is an expanding content cell with animation made by @Ramotion - https://github.com/Ramotion/swift-ui-animation-components-and-libraries
* [Ramotion / animated-tab-bar](https://github.com/Ramotion/animated-tab-bar):RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion - https://github.com/Ramotion/swift-ui-animation-components-and-libraries
* [raywenderlich / swift-algorithm-club](https://github.com/raywenderlich/swift-algorithm-club):Algorithms and data structures in Swift, with explanations!
* [Ramotion / swift-ui-animation-components-and-libraries](https://github.com/Ramotion/swift-ui-animation-components-and-libraries):Swift UI libraries, iOS components and animations by @Ramotion - https://github.com/Ramotion/android-ui-animation-components-and-libraries
* [app-developers / top](https://github.com/app-developers/top):Top App Developers - March 2019
* [lukakerr / Pine](https://github.com/lukakerr/Pine):A modern, native macOS markdown editor - themeable, tabs, sidebar, github flavored markdown, exporting, latex and more
* [serhii-londar / open-source-mac-os-apps](https://github.com/serhii-londar/open-source-mac-os-apps):🚀 Awesome list of open source applications for macOS.
* [mxcl / Cake](https://github.com/mxcl/Cake):A delicious, quality‑of‑life supplement for your app‑development toolbox.
* [dkhamsing / open-source-ios-apps](https://github.com/dkhamsing/open-source-ios-apps):📱 Collaborative List of Open-Source iOS Apps
* [sindresorhus / touch-bar-simulator](https://github.com/sindresorhus/touch-bar-simulator):Use the Touch Bar on any Mac
* [d-dotsenko / DDPerspectiveTransform](https://github.com/d-dotsenko/DDPerspectiveTransform):🔲 Warp image transformation
* [ianyh / Amethyst](https://github.com/ianyh/Amethyst):Automatic tiling window manager for macOS à la xmonad.
* [ReactiveX / RxSwift](https://github.com/ReactiveX/RxSwift):Reactive Programming in Swift
* [Alamofire / Alamofire](https://github.com/Alamofire/Alamofire):Elegant HTTP Networking in Swift
* [HeroTransitions / Hero](https://github.com/HeroTransitions/Hero):Elegant transition library for iOS & tvOS
* [zagahr / Conferences.digital](https://github.com/zagahr/Conferences.digital):👨💻Watch the latest and greatest conference videos on your Mac
* [vsouza / awesome-ios](https://github.com/vsouza/awesome-ios):A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects
* [mas-cli / mas](https://github.com/mas-cli/mas):📦 Mac App Store command line interface
* [onevcat / Kingfisher](https://github.com/onevcat/Kingfisher):A lightweight, pure-Swift library for downloading and caching images from the web.
* [IvanVorobei / SPStorkController](https://github.com/IvanVorobei/SPStorkController):Modal controller as in mail or Apple music application
#### html
* [hamukazu / lets-get-arrested](https://github.com/hamukazu/lets-get-arrested):This project is intended to protest against the police in Japan
* [github / personal-website](https://github.com/github/personal-website):Code that'll help you kickstart a personal website that showcases your work as a software developer.
* [fengdu78 / Coursera-ML-AndrewNg-Notes](https://github.com/fengdu78/Coursera-ML-AndrewNg-Notes):吴恩达老师的机器学习课程个人笔记
* [fengdu78 / deeplearning_ai_books](https://github.com/fengdu78/deeplearning_ai_books):deeplearning.ai(吴恩达老师的深度学习课程笔记及资源)
* [emilbaehr / automatic-app-landing-page](https://github.com/emilbaehr/automatic-app-landing-page):A Jekyll theme for automatically generating and deploying landing page sites for mobile apps.
* [huyaocode / webKnowledge](https://github.com/huyaocode/webKnowledge):前端知识点总结
* [iliakan / javascript-tutorial-en](https://github.com/iliakan/javascript-tutorial-en):Modern JavaScript Tutorial
* [ionic-team / ionic](https://github.com/ionic-team/ionic):Build amazing native and progressive web apps with open web technologies. One app running on everything 🎉
* [Cryptogenic / PS4-6.20-WebKit-Code-Execution-Exploit](https://github.com/Cryptogenic/PS4-6.20-WebKit-Code-Execution-Exploit):A WebKit exploit using CVE-2018-4441 to obtain RCE on PS4 6.20.
* [vincentarelbundock / gtsummary](https://github.com/vincentarelbundock/gtsummary):Beautiful, customizable, publication-ready model summaries in R.
* [octocat / Spoon-Knife](https://github.com/octocat/Spoon-Knife):This repo is for demonstration purposes only.
* [phodal / github](https://github.com/phodal/github):GitHub 漫游指南- a Chinese ebook on how to build a good project on Github. Explore the users' behavior. Find some thing interest.
* [zeit / now-github-starter](https://github.com/zeit/now-github-starter):Starter project to demonstrate a project whose pull requests get automatically deployed
* [flutterchina / flutter-in-action](https://github.com/flutterchina/flutter-in-action):《Flutter实战》电子书
* [kennethreitz / requests-html](https://github.com/kennethreitz/requests-html):Pythonic HTML Parsing for Humans™
* [typpo / quickchart](https://github.com/typpo/quickchart):Google Image Charts alternative
* [Microsoft / dotnet](https://github.com/Microsoft/dotnet):This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.
* [circleci / circleci-docs](https://github.com/circleci/circleci-docs):Documentation for CircleCI.
* [ripienaar / free-for-dev](https://github.com/ripienaar/free-for-dev):A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev
* [swagger-api / swagger-codegen](https://github.com/swagger-api/swagger-codegen):swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
* [shd101wyy / markdown-preview-enhanced](https://github.com/shd101wyy/markdown-preview-enhanced):One of the 'BEST' markdown preview extensions for Atom editor!
* [wesbos / JavaScript30](https://github.com/wesbos/JavaScript30):30 Day Vanilla JS Challenge
* [clong / DetectionLab](https://github.com/clong/DetectionLab):Vagrant & Packer scripts to build a lab environment complete with security tooling and logging best practices
* [ethereum / EIPs](https://github.com/ethereum/EIPs):The Ethereum Improvement Proposal repository
* [be5invis / Iosevka](https://github.com/be5invis/Iosevka):Slender typeface for code, from code.
| skyofthinking/node-github-trending | 2019/2019-03-11.md | Markdown | apache-2.0 | 28,618 |
/**
******************************************************************************
* @file discover_functions.h
* @author Microcontroller Division
* @version V1.2.4
* @date 01/2011
* @brief This file contains measurement values and boa
******************************************************************************
* @copy
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* <h2><center>© COPYRIGHT 2010 STMicroelectronics</center></h2>
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __DISCOVER_FUNCTIONS_H
#define __DISCOVER_FUNCTIONS_H
/* Includes ------------------------------------------------------------------*/
#include "stm8l15x.h"
#define STR_VERSION tab[1] = 'V';tab[2] = '1'|DOT; tab[3] = '2'|DOT; tab[4] = '4'
/*#define STATE_VREF 0
#define STATE_ICC_RUN 1
#define STATE_LPR_LCD 2
#define STATE_LPR 3
#define STATE_HALT 4
#define I2C_READ 5
*/
#define MAX_STATE 6
typedef enum { STATE_CHECKNDEFMESSAGE = 0,
STATE_VREF ,
STATE_TEMPMEAS
} DemoState;
/* Theorically BandGAP 1.224volt */
#define VREF 1.224L
/* UNCOMMENT the line below for use the VREFINT_Factory_CONV value*/
/* else we use the typical value defined in the datasheet (see Vdd_appli function in the file discover_functions.c) */
// #define VREFINT_FACTORY_CONV 1
/*
ADC Converter
LSBIdeal = VREF/4096 or VDA/4096
*/
#define ADC_CONV 4096
/*
VDD Factory for VREFINT measurement
*/
#define VDD_FACTORY 3.0L
/* The VREFINT_Factory_CONV byte represents the LSB of the VREFINT 12-bit ADC conversion result. The MSB have a fixed value: 0x6 */
#define VREFINT_Factory_CONV_ADDRESS ((uint8_t*)0x4910)
/*
* The Typical value is 1.224
* Min value 1.202
* Max value 1.242
* The value VREF is 0x668 to 0x69f
*
*/
#define VREFINT_Factory_CONV_MSB 0x600 /* Le value MSB always 0x600 */
#define VREFINT_Factory_CONV_MIN 0x60 /* Low byte min */
#define VREFINT_Factory_CONV_MAX 0xA0 /* Low byte max */
#define MAX_CURRENT 9999
/* AUTO TEST VALUE */
/*
#define VCC_MIN 2915 // nominal Vcc/Vdd is 2.99V, allow 2.5% lower - Vref can be ~2% lower than 1.225
#define VCC_MAX 3100
#define ICC_RUN_MIN 1000
#define ICC_RUN_MAX 1600 // typical ICC_RUN is ~1.3mA, allow ~15% bigger
#define ICC_HALT_MIN 300
#define ICC_HALT_MAX 800 // typical ICC_HALT is 0.35uA, allow 800 nA instead 1000 this low value is for select the best circuits
#define ICC_LP_MIN 2500
#define ICC_LP_MAX 4060 // typical ICC_LP is ~2.9uA, allow ~40% bigger
#define LSE_DELAY 2000
*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
int _fctcpy(char name);
void convert_into_char(uint16_t number, uint16_t *p_tab);
//void LPR_init(void);
//void Halt_Init(void);
uint16_t Vref_measure(void);
//void Icc_measure(void);
//float Icc_measure_RUN(void);
//float Icc_measure_HALT(void);
//float Icc_measure_LPR(void);
//void Icc_measure_LPR_LCD(void);
//void auto_test(void);
//void Bias_measurement(void);
//void test_vdd(void);
//void test_icc_Run(void);
//void test_icc_LP(void);
//void test_icc_HALT(void);
//void display_MuAmp (uint16_t);
void FLASH_ProgramBias(uint8_t) ;
float Vdd_appli(void);
void Display_Ram( void );
#endif /* __DISCOVER_FUNCTIONS_H*/
/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
| jonathanhook/SnapOnControls | Firmware/Project/inc/discover_functions.h | C | apache-2.0 | 3,964 |
# AUTOGENERATED FILE
FROM balenalib/rockpi-4b-rk3399-fedora:34-run
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast majority of users of this image will want it
RUN pip3 install -U --no-cache-dir --ignore-installed pip setuptools \
&& pip3 install --no-cache-dir virtualenv
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'As of January 1st, 2020, Python 2 was end-of-life, we will change the latest tag for Balenalib Python base image to Python 3.x and drop support for Python 2 soon. So after 1st July, 2020, all the balenalib Python latest tag will point to the latest Python 3 version and no changes, or fixes will be made to balenalib Python 2 base image. If you are using Python 2 for your application, please upgrade to Python 3 before 1st July.' > /.balena/messages/python-deprecation-warnin
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"]
RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/[email protected]" \
&& echo "Running test-stack@python" \
&& chmod +x [email protected] \
&& bash [email protected] \
&& rm -rf [email protected]
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v8 \nOS: Fedora 34 \nVariant: run variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nPython v3.10.0, Pip v21.2.4, Setuptools v58.0.0 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info
RUN echo $'#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \
&& chmod +x /bin/sh-shim \
&& cp /bin/sh /bin/sh.real \
&& mv /bin/sh-shim /bin/sh | resin-io-library/base-images | balena-base-images/python/rockpi-4b-rk3399/fedora/34/3.10.0/run/Dockerfile | Dockerfile | apache-2.0 | 2,439 |
/*
* Copyright 2011-2014 Zhaotian Wang <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package flex.android.magiccube;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.util.Vector;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import flex.android.magiccube.R;
import flex.android.magiccube.bluetooth.MessageSender;
import flex.android.magiccube.interfaces.OnStateListener;
import flex.android.magiccube.interfaces.OnStepListener;
import flex.android.magiccube.solver.MagicCubeSolver;
import flex.android.magiccube.solver.SolverFactory;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.opengl.GLSurfaceView;
import android.opengl.GLU;
import android.opengl.GLUtils;
import android.opengl.Matrix;
public class MagicCubeRender implements GLSurfaceView.Renderer {
protected Context context;
private int width;
private int height;
//eye-coordinate
private float eyex;
private float eyey;
protected float eyez;
private float angle = 65.f;
protected float ratio = 0.6f;
protected float zfar = 25.5f;
private float bgdist = 25.f;
//background texture
private int[] BgTextureID = new int[1];
private Bitmap[] bitmap = new Bitmap[1];
private FloatBuffer bgtexBuffer; // Texture Coords Buffer for background
private FloatBuffer bgvertexBuffer; // Vertex Buffer for background
protected final int nStep = 9;//nstep for one rotate
protected int volume;
private boolean solved = false; //indicate if the cube has been solved
//background position
//...
//rotation variable
public float rx, ry;
protected Vector<Command> commands;
private Vector<Command> commandsBack; //backward command
private Vector<Command> commandsForward; //forward command
private Vector<Command> commandsAuto; //forward command
protected int[] command;
protected boolean HasCommand;
protected int CommandLoop;
private String CmdStrBefore = "";
private String CmdStrAfter = "";
public static final boolean ROTATE = true;
public static final boolean MOVE = false;
//matrix
public float[] pro_matrix = new float[16];
public int [] view_matrix = new int[4];
public float[] mod_matrix = new float[16];
//minimal valid move distance
private float MinMovedist;
//the cubes!
protected Magiccube magiccube;
private boolean DrawCube;
private boolean Finished = false;
private boolean Resetting = false;
protected OnStateListener stateListener = null;
private MessageSender messageSender = null;
private OnStepListener stepListener = null;
public MagicCubeRender(Context context, int w, int h) {
this.context = context;
this.width = w;
this.height = h;
this.eyex = 0.f;
this.eyey = 0.f;
this.eyez = 20.f;
this.rx = 22.f;
this.ry = -34.f;
this.HasCommand = false;
this.commands = new Vector<Command>(1,1);
this.commandsBack = new Vector<Command>(100, 10);
this.commandsForward = new Vector<Command>(100, 10);
this.commandsAuto = new Vector<Command>(40,5);
//this.Command = new int[3];
magiccube = new Magiccube();
DrawCube = true;
solved = false;
volume = MagiccubePreference.GetPreference(MagiccubePreference.MoveVolume, context);
//SetCommands("L- R2 F- D+ L+ U2 L2 D2 R+ D2 L+ F- D+ L2 D2 R2 B+ L+ U2 R2 U2 F2 R+ D2 U+");
//SetCommands("F- U+ F- D- L- D- F- U- L2 D-");
// SetCommands("U+");
// mediaPlayer = MediaPlayer.create(context, R.raw.move2);
}
public void SetDrawCube(boolean DrawCube)
{
this.DrawCube = DrawCube;
}
private void LoadBgTexture(GL10 gl)
{
//Load texture bitmap
bitmap[0] = BitmapFactory.decodeStream(
context.getResources().openRawResource(R.drawable.mainbg2));
gl.glGenTextures(1, BgTextureID, 0); // Generate texture-ID array for 6 IDs
//Set texture uv
float[] texCoords = {
0.0f, 1.0f, // A. left-bottom
1.0f, 1.0f, // B. right-bottom
0.0f, 0.0f, // C. left-top
1.0f, 0.0f // D. right-top
};
ByteBuffer tbb = ByteBuffer.allocateDirect(texCoords.length * 4 );
tbb.order(ByteOrder.nativeOrder());
bgtexBuffer = tbb.asFloatBuffer();
bgtexBuffer.put(texCoords);
bgtexBuffer.position(0); // Rewind
// Generate OpenGL texture images
gl.glBindTexture(GL10.GL_TEXTURE_2D, BgTextureID[0]);
gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER,GL10.GL_LINEAR);
gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_LINEAR);
// Build Texture from loaded bitmap for the currently-bind texture ID
GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap[0], 0);
bitmap[0].recycle();
}
protected void DrawBg(GL10 gl)
{
gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
gl.glVertexPointer(3, GL10.GL_FLOAT, 0, bgvertexBuffer);
gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, bgtexBuffer);
gl.glEnable(GL10.GL_TEXTURE_2D); // Enable texture (NEW)
gl.glPushMatrix();
gl.glBindTexture(GL10.GL_TEXTURE_2D, this.BgTextureID[0]);
gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);
gl.glPopMatrix();
gl.glDisableClientState(GL10.GL_VERTEX_ARRAY);
gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
}
@Override
public void onDrawFrame(GL10 gl) {
// Clear color and depth buffers using clear-value set earlier
gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
// You OpenGL|ES rendering code here
gl.glLoadIdentity();
GLU.gluLookAt(gl, eyex, eyey, eyez, 0.f, 0.f, 0.f, 0.f, 1.f, 0.f);
Matrix.setIdentityM(mod_matrix, 0);
Matrix.setLookAtM(mod_matrix, 0, eyex, eyey, eyez, 0.f, 0.f, 0.f, 0.f, 1.f, 0.f);
DrawScene(gl);
}
private void SetBackgroundPosition()
{
float halfheight = (float)Math.tan(angle/2.0/180.0*Math.PI)*bgdist*1.f;
float halfwidth = halfheight/this.height*this.width;
float[] vertices = {
-halfwidth, -halfheight, eyez-bgdist, // 0. left-bottom-front
halfwidth, -halfheight, eyez-bgdist, // 1. right-bottom-front
-halfwidth, halfheight,eyez-bgdist, // 2. left-top-front
halfwidth, halfheight, eyez-bgdist, // 3. right-top-front
};
ByteBuffer vbb = ByteBuffer.allocateDirect(12 * 4);
vbb.order(ByteOrder.nativeOrder());
bgvertexBuffer = vbb.asFloatBuffer();
bgvertexBuffer.put(vertices); // Populate
bgvertexBuffer.position(0); // Rewind
}
@Override
public void onSurfaceChanged(GL10 gl, int w, int h) {
//reset the width and the height;
//Log.e("screen", w+" "+h);
if (h == 0) h = 1; // To prevent divide by zero
this.width = w;
this.height = h;
float aspect = (float)w / h;
// Set the viewport (display area) to cover the entire window
gl.glViewport(0, 0, w, h);
this.view_matrix[0] = 0;
this.view_matrix[1] = 0;
this.view_matrix[2] = w;
this.view_matrix[3] = h;
// Setup perspective projection, with aspect ratio matches viewport
gl.glMatrixMode(GL10.GL_PROJECTION); // Select projection matrix
gl.glLoadIdentity(); // Reset projection matrix
// Use perspective projection
angle = 60;
//calculate the angle to adjust the screen resolution
//float idealwidth = Cube.CubeSize*3.f/(Math.abs(this.eyez-Cube.CubeSize*1.5f))*zfar/ratio;
float idealwidth = Cube.CubeSize*3.f/(Math.abs(this.eyez-Cube.CubeSize*1.5f))*zfar/ratio;
float idealheight = idealwidth/(float)w*(float)h;
angle = (float)(Math.atan2(idealheight/2.f, Math.abs(zfar))*2.f*180.f/Math.PI);
SetBackgroundPosition();
GLU.gluPerspective(gl, angle, aspect, 0.1f, zfar);
MinMovedist = w*ratio/3.f*0.15f;
float r = (float)w/(float)h;
float size = (float)(0.1*Math.tan(angle/2.0/180.0*Math.PI));
Matrix.setIdentityM(pro_matrix, 0);
Matrix.frustumM(pro_matrix, 0, -size*r, size*r, -size , size, 0.1f, zfar);
gl.glMatrixMode(GL10.GL_MODELVIEW); // Select model-view matrix
gl.glLoadIdentity(); // Reset
/* // You OpenGL|ES display re-sizing code here
gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE);
//float []lightparam = {0.6f, 0.2f, 0.2f, 0.6f, 0.2f, 0.2f, 0, 0, 10};
float []lightparam = {1f, 1f, 1f, 3f, 1f, 1f, 0, 0, 5};
gl.glEnable(GL10.GL_LIGHTING);
// ���û�����
gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_AMBIENT, lightparam, 0);
// ���������
gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_DIFFUSE, lightparam, 3);
// ���þ��淴��
gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_SPECULAR, lightparam, 3);
// ���ù�Դλ��
gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_POSITION, lightparam, 6);
// ������Դ
gl.glEnable(GL10.GL_LIGHT0);
*/
// �������
//gl.glEnable(GL10.GL_BLEND);
if( this.stateListener != null )
{
stateListener.OnStateChanged(OnStateListener.LOADED);
}
}
@Override
public void onSurfaceCreated(GL10 gl, EGLConfig arg1) {
gl.glClearColor(0.0f, 0.0f, 0.0f, 1.0f); // Set color's clear-value to black
gl.glClearDepthf(1.0f); // Set depth's clear-value to farthest
gl.glEnable(GL10.GL_DEPTH_TEST); // Enables depth-buffer for hidden surface removal
gl.glDepthFunc(GL10.GL_LEQUAL); // The type of depth testing to do
gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_NICEST); // nice perspective view
gl.glShadeModel(GL10.GL_SMOOTH); // Enable smooth shading of color
gl.glDisable(GL10.GL_DITHER); // Disable dithering for better performance
// You OpenGL|ES initialization code here
//Initial the cubes
magiccube.LoadTexture(gl, context);
//this.MessUp(50);
LoadBgTexture(gl);
}
public void SetMessageSender(MessageSender messageSender)
{
this.messageSender = messageSender;
}
protected void DrawScene(GL10 gl)
{
this.DrawBg(gl);
if( !DrawCube)
{
return;
}
if(Resetting)
{
//Resetting = false;
//reset();
}
if(HasCommand)
{
Command command = commands.firstElement();
if( CommandLoop == 0 && messageSender != null)
{
messageSender.SendMessage(command.toString());
}
int nsteps = command.N*this.nStep; //rotate nsteps
if(CommandLoop%nStep == 0 && CommandLoop != nsteps)
{
MusicPlayThread musicPlayThread = new MusicPlayThread(context, R.raw.move2, volume);
musicPlayThread.start();
}
if(command.Type == Command.ROTATE_ROW)
{
magiccube.RotateRow(command.RowID, command.Direction, 90.f/nStep,CommandLoop%nStep==nStep-1);
}
else if(command.Type == Command.ROTATE_COL)
{
magiccube.RotateCol(command.RowID, command.Direction, 90.f/nStep,CommandLoop%nStep==nStep-1);
}
else
{
magiccube.RotateFace(command.RowID, command.Direction, 90.f/nStep,CommandLoop%nStep==nStep-1);
}
CommandLoop++;
if(CommandLoop==nsteps)
{
CommandLoop = 0;
if(commands.size() > 1)
{
//Log.e("full", "full"+commands.size());
}
this.CmdStrAfter += command.toString() + " ";
commands.removeElementAt(0);
//Log.e("e", commands.size()+"");
if( commands.size() <= 0)
{
HasCommand = false;
}
if( stepListener != null)
{
stepListener.AddStep();
}
//this.ReportFaces();
//Log.e("state", this.GetState());
if(Finished && !this.IsComplete())
{
Finished = false;
if(this.stateListener != null)
{
stateListener.OnStateNotify(OnStateListener.CANAUTOSOLVE);
}
}
}
if(this.stateListener != null && this.IsComplete())
{
if( !Finished )
{
Finished = true;
stateListener.OnStateChanged(OnStateListener.FINISH);
stateListener.OnStateNotify(OnStateListener.CANNOTAUTOSOLVE);
}
}
}
DrawCubes(gl);
}
protected void DrawCubes(GL10 gl)
{
gl.glPushMatrix();
gl.glRotatef(rx, 1, 0, 0); //rotate
gl.glRotatef(ry, 0, 1, 0);
// Log.e("rxry", rx + " " + ry);
if(this.HasCommand)
{
magiccube.Draw(gl);
}
else
{
magiccube.DrawSimple(gl);
}
gl.glPopMatrix();
}
public void SetOnStateListener(OnStateListener stateListener)
{
this.stateListener = stateListener;
}
public void SetOnStepListnener(OnStepListener stepListener)
{
this.stepListener = stepListener;
}
public boolean GetPos(float[] point, int[] Pos)
{
//deal with the touch-point is out of the cube
if( true)
{
//return false;
}
if( rx > 0 && rx < 90.f)
{
}
return ROTATE;
}
public String SetCommand(Command command)
{
HasCommand = true;
this.commands.add(command);
this.commandsForward.clear();
this.commandsBack.add(command.Reverse());
if(this.stateListener != null)
{
stateListener.OnStateNotify(OnStateListener.CANMOVEBACK);
stateListener.OnStateNotify(OnStateListener.CANNOTMOVEFORWARD);
}
return command.CmdToCmdStr();
}
public void SetForwardCommand(String CmdStr)
{
//Log.e("cmdstr", CmdStr);
this.commandsForward = Reverse(Command.CmdStrsToCmd(CmdStr));
}
public String SetCommand(int ColOrRowOrFace, int ID, int Direction)
{
solved = false;
return SetCommand(new Command(ColOrRowOrFace, ID, Direction));
}
public boolean IsSolved()
{
return solved;
}
public String MoveBack()
{
if( this.commandsBack.size() <= 0)
{
return null;
}
Command command = commandsBack.lastElement();
HasCommand = true;
this.commands.add(command);
this.commandsBack.remove(this.commandsBack.size()-1);
if(this.commandsBack.size() <= 0 && stateListener != null)
{
stateListener.OnStateNotify(OnStateListener.CANNOTMOVEBACK);
}
if( solved)
{
this.commandsAuto.add(command.Reverse());
}
else
{
this.commandsForward.add(command.Reverse());
if(stateListener != null)
{
stateListener.OnStateNotify(OnStateListener.CANMOVEFORWARD);
}
}
return command.CmdToCmdStr();
}
public String MoveForward()
{
if( this.commandsForward.size() <= 0)
{
return null;
}
Command command = commandsForward.lastElement();
HasCommand = true;
this.commands.add(command);
this.commandsBack.add(command.Reverse());
this.commandsForward.remove(commandsForward.size()-1);
if( this.commandsForward.size() <= 0 && stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANNOTMOVEFORWARD);
}
if( this.stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANMOVEBACK);
}
return command.CmdToCmdStr();
}
public int MoveForward2()
{
if( this.commandsForward.size() <= 0)
{
return 0;
}
int n = commandsForward.size();
HasCommand = true;
this.commands.addAll(Reverse(commandsForward));
for( int i=commandsForward.size()-1; i>=0; i--)
{
this.commandsBack.add(commandsForward.get(i).Reverse());
}
this.commandsForward.clear();
if( this.commandsForward.size() <= 0 && stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANNOTMOVEFORWARD);
}
if( this.stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANMOVEBACK);
}
return n;
}
public int IsInCubeArea(float []Win)
{
int[] HitedFaceIndice = new int[6];
int HitNumber = 0;
for(int i=0; i<6; i++)
{
if(IsInQuad3D(magiccube.faces[i], Win))
{
HitedFaceIndice[HitNumber] = i;
HitNumber++;
}
}
if( HitNumber <=0)
{
return -1;
}
else
{
if( HitNumber == 1)
{
return HitedFaceIndice[0];
}
else //if more than one hitted, then choose the max z-value face as the hitted one
{
float maxzvalue = -1000.f;
int maxzindex = -1;
for( int i = 0; i< HitNumber; i++)
{
float thisz = this.GetCenterZ(magiccube.faces[HitedFaceIndice[i]]);
if( thisz > maxzvalue)
{
maxzvalue = thisz;
maxzindex = HitedFaceIndice[i];
}
}
return maxzindex;
}
}
}
private float GetLength2D(float []P1, float []P2)
{
float dx = P1[0]-P2[0];
float dy = P1[1]-P2[1];
return (float)Math.sqrt(dx*dx + dy*dy);
}
private boolean IsInQuad3D(Face f, float []Win)
{
return IsInQuad3D(f.P1, f.P2, f.P3, f.P4, Win);
}
private boolean IsInQuad3D(float []Point1, float []Point2, float []Point3, float Point4[], float []Win)
{
float[] Win1 = new float[2];
float[] Win2 = new float[2];
float[] Win3 = new float[2];
float[] Win4 = new float[2];
Project(Point1, Win1);
Project(Point2, Win2);
Project(Point3, Win3);
Project(Point4, Win4);
/* Log.e("P1", Win1[0] + " " + Win1[1]);
Log.e("P2", Win2[0] + " " + Win2[1]);
Log.e("P3", Win3[0] + " " + Win3[1]);
Log.e("P4", Win4[0] + " " + Win4[1]);*/
float []WinXY = new float[2];
WinXY[0] = Win[0];
WinXY[1] = this.view_matrix[3] - Win[1];
//Log.e("WinXY", WinXY[0] + " " + WinXY[1]);
return IsInQuad2D(Win1, Win2, Win3, Win4, WinXY);
}
private boolean IsInQuad2D(float []Point1, float []Point2, float []Point3, float Point4[], float []Win)
{
float angle = 0.f;
final float ZERO = 0.0001f;
angle += GetAngle(Win, Point1, Point2);
//Log.e("angle" , angle + " ");
angle += GetAngle(Win, Point2, Point3);
//Log.e("angle" , angle + " ");
angle += GetAngle(Win, Point3, Point4);
//Log.e("angle" , angle + " ");
angle += GetAngle(Win, Point4, Point1);
//Log.e("angle" , angle + " ");
if( Math.abs(angle-Math.PI*2.f) <= ZERO )
{
return true;
}
return false;
}
public String CalcCommand(float [] From, float [] To, int faceindex)
{
float [] from = new float[2];
float [] to = new float[2];
float angle, angleVertical, angleHorizon;
from[0] = From[0];
from[1] = this.view_matrix[3] - From[1];
to[0] = To[0];
to[1] = this.view_matrix[3] - To[1];
angle = GetAngle(from, to);//(float)Math.atan((to[1]-from[1])/(to[0]-from[0]))/(float)Math.PI*180.f;
//calc horizon angle
float ObjFrom[] = new float[3];
float ObjTo[] = new float[3];
float WinFrom[] = new float[2];
float WinTo[] = new float[2];
for(int i=0; i<3; i++)
{
ObjFrom[i] = (magiccube.faces[faceindex].P1[i] + magiccube.faces[faceindex].P4[i])/2.f;
ObjTo[i] = (magiccube.faces[faceindex].P2[i] + magiccube.faces[faceindex].P3[i])/2.f;
}
//Log.e("obj", ObjFrom[0]+" "+ObjFrom[1]+" "+ObjFrom[2]);
this.Project(ObjFrom, WinFrom);
this.Project(ObjTo, WinTo);
angleHorizon = GetAngle(WinFrom, WinTo);//(float)Math.atan((WinTo[1]-WinFrom[1])/(WinTo[0]-WinFrom[0]))/(float)Math.PI*180.f;
//calc vertical angle
for(int i=0; i<3; i++)
{
ObjFrom[i] = (magiccube.faces[faceindex].P1[i] + magiccube.faces[faceindex].P2[i])/2.f;
ObjTo[i] = (magiccube.faces[faceindex].P3[i] + magiccube.faces[faceindex].P4[i])/2.f;
}
this.Project(ObjFrom, WinFrom);
this.Project(ObjTo, WinTo);
angleVertical = GetAngle(WinFrom, WinTo);//(float)Math.atan((WinTo[1]-WinFrom[1])/(WinTo[0]-WinFrom[0]))/(float)Math.PI*180.f;
//Log.e("angle", angle +" " + angleHorizon + " " + angleVertical);
float dangle = DeltaAngle(angleHorizon, angleVertical);
float threshold = Math.min(dangle/2.f, 90.f-dangle/2.f)*0.75f; //this...........
if( DeltaAngle(angle, angleHorizon) < threshold || DeltaAngle(angle, (angleHorizon+180.f)%360.f) < threshold) //the direction
{
if(this.IsInQuad3D(magiccube.faces[faceindex].GetHorizonSubFace(0), From))
{
if( faceindex == Face.FRONT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.CounterClockWise);
}
}
else if(faceindex == Face.BACK)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.CounterClockWise);
}
}
else if(faceindex == Face.LEFT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.CounterClockWise);
}
}
else if(faceindex == Face.RIGHT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 0, Cube.CounterClockWise);
}
}
else if(faceindex == Face.TOP)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.ClockWise);
}
}
else if(faceindex == Face.BOTTOM)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.CounterClockWise);
}
}
}
else if(this.IsInQuad3D(magiccube.faces[faceindex].GetHorizonSubFace(1), From))
{
if( faceindex == Face.FRONT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.CounterClockWise);
}
}
else if( faceindex == Face.BACK)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.CounterClockWise);
}
}
else if(faceindex == Face.LEFT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.CounterClockWise);
}
}
else if(faceindex == Face.RIGHT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 1, Cube.CounterClockWise);
}
}
else if(faceindex == Face.TOP)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.ClockWise);
}
}
else if(faceindex == Face.BOTTOM)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.CounterClockWise);
}
}
}
else if(this.IsInQuad3D(magiccube.faces[faceindex].GetHorizonSubFace(2), From))
{
if( faceindex == Face.FRONT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.CounterClockWise);
}
}
else if( faceindex == Face.BACK)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.CounterClockWise);
}
}
else if(faceindex == Face.LEFT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.CounterClockWise);
}
}
else if(faceindex == Face.RIGHT)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_ROW, 2, Cube.CounterClockWise);
}
}
else if(faceindex == Face.TOP)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.ClockWise);
}
}
else if(faceindex == Face.BOTTOM)
{
if(DeltaAngle(angle, angleHorizon) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.CounterClockWise);
}
}
}
}
else if( DeltaAngle(angle, angleVertical) < threshold || DeltaAngle(angle, (angleVertical+180.f)%360.f) < threshold)
{
if(this.IsInQuad3D(magiccube.faces[faceindex].GetVerticalSubFace(0), From))
{
if( faceindex == Face.FRONT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.ClockWise);
}
}
else if(faceindex == Face.BACK)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.CounterClockWise);
}
}
else if(faceindex == Face.LEFT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.ClockWise);
}
}
else if(faceindex == Face.RIGHT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.CounterClockWise);
}
}
else if(faceindex == Face.TOP)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.ClockWise);
}
}
else if(faceindex == Face.BOTTOM)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.ClockWise);
}
}
}
else if(this.IsInQuad3D(magiccube.faces[faceindex].GetVerticalSubFace(1), From))
{
if( faceindex == Face.FRONT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.ClockWise);
}
}
else if(faceindex == Face.BACK)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.CounterClockWise);
}
}
else if(faceindex == Face.LEFT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.ClockWise);
}
}
else if(faceindex == Face.RIGHT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 1, Cube.CounterClockWise);
}
}
else if(faceindex == Face.TOP)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.ClockWise);
}
}
else if(faceindex == Face.BOTTOM)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 1, Cube.ClockWise);
}
}
}
else if(this.IsInQuad3D(magiccube.faces[faceindex].GetVerticalSubFace(2), From))
{
if( faceindex == Face.FRONT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.ClockWise);
}
}
else if(faceindex == Face.BACK)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 0, Cube.CounterClockWise);
}
}
else if(faceindex == Face.LEFT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 0, Cube.ClockWise);
}
}
else if(faceindex == Face.RIGHT)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.ClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_FACE, 2, Cube.CounterClockWise);
}
}
else if(faceindex == Face.TOP)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.ClockWise);
}
}
else if(faceindex == Face.BOTTOM)
{
if(DeltaAngle(angle, angleVertical) < threshold)
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.CounterClockWise);
}
else
{
return this.SetCommand(Command.ROTATE_COL, 2, Cube.ClockWise);
}
}
}
}
return null;
}
private float GetAngle(float[] From, float[] To)
{
float angle = (float)Math.atan((To[1]-From[1])/(To[0]-From[0]))/(float)Math.PI*180.f;
float dy = To[1]-From[1];
float dx = To[0]-From[0];
if( dy >= 0.f && dx > 0.f)
{
angle = (float)Math.atan(dy/dx)/(float)Math.PI*180.f;
}
else if( dx == 0.f)
{
if( dy > 0.f)
{
angle = 90.f;
}
else
{
angle = 270.f;
}
}
else if( dy >= 0.f && dx < 0.f)
{
angle = 180.f + (float)Math.atan(dy/dx)/(float)Math.PI*180.f;
}
else if( dy < 0.f && dx < 0.f)
{
angle = 180.f + (float)Math.atan(dy/dx)/(float)Math.PI*180.f;
}
else if(dy <0.f && dx > 0.f)
{
angle = 360.f + (float)Math.atan(dy/dx)/(float)Math.PI*180.f;
}
return angle;
}
private float DeltaAngle(float angle1, float angle2)
{
float a1 = Math.max(angle1, angle2);
float a2 = Math.min(angle1, angle2);
float delta = a1 - a2;
if( delta >= 180.f )
{
delta = 360.f - delta;
}
return delta;
}
private float GetCenterZ(Face f)
{
float zvalue = 0.f;
float [] matrix1 = new float[16];
float [] matrix2 = new float[16];
float [] matrix = new float[16];
Matrix.setIdentityM(matrix1, 0);
Matrix.setIdentityM(matrix2, 0);
Matrix.setIdentityM(matrix, 0);
Matrix.rotateM(matrix1, 0, rx, 1, 0, 0);
Matrix.rotateM(matrix2, 0, ry, 0, 1, 0);
Matrix.multiplyMM(matrix, 0, matrix1, 0, matrix2, 0);
float xyz[] = new float[3];
xyz[0] = f.P1[0];
xyz[1] = f.P1[1];
xyz[2] = f.P1[2];
Transform(matrix, xyz);
zvalue += xyz[2];
xyz[0] = f.P2[0];
xyz[1] = f.P2[1];
xyz[2] = f.P2[2];
Transform(matrix, xyz);
zvalue += xyz[2];
xyz[0] = f.P3[0];
xyz[1] = f.P3[1];
xyz[2] = f.P3[2];
Transform(matrix, xyz);
zvalue += xyz[2];
xyz[0] = f.P4[0];
xyz[1] = f.P4[1];
xyz[2] = f.P4[2];
Transform(matrix, xyz);
zvalue += xyz[2];
return zvalue/4.f;
}
private float GetAngle(float []Point0, float []Point1, float[]Point2)
{
float cos_value = (Point2[0]-Point0[0])*(Point1[0]-Point0[0]) + (Point1[1]-Point0[1])*(Point2[1]-Point0[1]);
cos_value /= Math.sqrt((Point2[0]-Point0[0])*(Point2[0]-Point0[0]) + (Point2[1]-Point0[1])*(Point2[1]-Point0[1]))
* Math.sqrt((Point1[0]-Point0[0])*(Point1[0]-Point0[0]) + (Point1[1]-Point0[1])*(Point1[1]-Point0[1]));
return (float)Math.acos(cos_value);
}
private void Project(float[] ObjXYZ, float [] WinXY)
{
float [] matrix1 = new float[16];
float [] matrix2 = new float[16];
float [] matrix = new float[16];
Matrix.setIdentityM(matrix1, 0);
Matrix.setIdentityM(matrix2, 0);
Matrix.setIdentityM(matrix, 0);
Matrix.rotateM(matrix1, 0, rx, 1, 0, 0);
Matrix.rotateM(matrix2, 0, ry, 0, 1, 0);
Matrix.multiplyMM(matrix, 0, matrix1, 0, matrix2, 0);
float xyz[] = new float[3];
xyz[0] = ObjXYZ[0];
xyz[1] = ObjXYZ[1];
xyz[2] = ObjXYZ[2];
Transform(matrix, xyz);
//Log.e("xyz", xyz[0] + " " + xyz[1] + " " + xyz[2]);
float []Win = new float[3];
GLU.gluProject(xyz[0], xyz[1], xyz[2], mod_matrix, 0, pro_matrix, 0, view_matrix, 0, Win, 0);
WinXY[0] = Win[0];
WinXY[1] = Win[1];
}
private void Transform(float[]matrix, float[]Point)
{
float w = 1.f;
float x, y, z, ww;
x = matrix[0]*Point[0] + matrix[4]*Point[1] + matrix[8]*Point[2] + matrix[12]*w;
y = matrix[1]*Point[0] + matrix[5]*Point[1] + matrix[9]*Point[2] + matrix[13]*w;
z = matrix[2]*Point[0] + matrix[6]*Point[1] + matrix[10]*Point[2] + matrix[14]*w;
ww = matrix[3]*Point[0] + matrix[7]*Point[1] + matrix[11]*Point[2] + matrix[15]*w;
Point[0] = x/ww;
Point[1] = y/ww;
Point[2] = z/ww;
}
public boolean IsComplete()
{
boolean r = true;
for( int i=0; i<6; i++)
{
r = r&&magiccube.faces[i].IsSameColor();
}
return magiccube.IsComplete();
}
public String MessUp(int nStep)
{
this.solved = false;
this.Finished = false;
if( this.stateListener != null)
{
stateListener.OnStateNotify(OnStateListener.CANAUTOSOLVE);
}
return magiccube.MessUp(nStep);
}
public void MessUp(String cmdstr)
{
this.solved = false;
magiccube.MessUp(cmdstr);
this.Finished = false;
if( this.stateListener != null)
{
stateListener.OnStateNotify(OnStateListener.CANAUTOSOLVE);
}
}
public boolean IsMoveValid(float[]From, float []To)
{
return this.GetLength2D(From, To) > this.MinMovedist;
}
public void SetCommands(String cmdStr)
{
this.commands = Command.CmdStrsToCmd(cmdStr);
this.HasCommand = true;
}
public String SetCommand(String cmdStr)
{
return SetCommand(Command.CmdStrToCmd(cmdStr));
}
public void AutoSolve(String SolverName)
{
if( !solved)
{
MagicCubeSolver solver = SolverFactory.CreateSolver(SolverName);
if(solver == null)
{
return;
}
//Log.e("state", this.GetState());
String SolveCmd = solver.AutoSolve(magiccube.GetState());
//Log.e("solve", SolveCmd);
this.commands.clear();
this.commandsBack.clear();
this.commandsForward.clear();
if( this.stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANNOTMOVEBACK);
this.stateListener.OnStateNotify(OnStateListener.CANNOTMOVEFORWARD);
}
this.commandsAuto = Reverse(Command.CmdStrsToCmd(SolveCmd));
this.solved = true;
}
else if(commandsAuto.size() > 0)
{
Command command = commandsAuto.lastElement();
HasCommand = true;
this.commands.add(command);
this.commandsBack.add(command.Reverse());
this.commandsAuto.remove(commandsAuto.size()-1);
if( this.stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANMOVEBACK);
}
}
}
public void AutoSolve2(String SolverName)
{
if( !solved)
{
MagicCubeSolver solver = SolverFactory.CreateSolver(SolverName);
if(solver == null)
{
return;
}
//Log.e("state", this.GetState());
String SolveCmd = solver.AutoSolve(magiccube.GetState());
//Log.e("solve", SolveCmd);
this.commands.clear();
this.commandsBack.clear();
this.commandsForward.clear();
this.commands = Command.CmdStrsToCmd(SolveCmd);
for( int i=0; i<commands.size(); i++)
{
commandsBack.add(commands.get(i).Reverse());
}
this.HasCommand = true;
this.solved = true;
}
else
{
commands.addAll(Reverse(commandsAuto));
for( int i=commandsAuto.size()-1; i>=0; i--)
{
commandsBack.add(commandsAuto.get(i).Reverse());
}
commandsAuto.clear();
HasCommand = true;
}
}
public void AutoSolve3(String SolverName)
{
if( !solved)
{
MagicCubeSolver solver = SolverFactory.CreateSolver(SolverName);
if(solver == null)
{
return;
}
//Log.e("state", this.GetState());
String SolveCmd = solver.AutoSolve(magiccube.GetState());
//Log.e("solve", SolveCmd);
this.commands.clear();
this.commandsBack.clear();
this.commandsForward.clear();
this.commands = Command.CmdStrsToCmd(SolveCmd);
commands.remove(commands.size()-1);
commands.remove(commands.size()-1);
for( int i=0; i<commands.size(); i++)
{
commandsBack.add(commands.get(i).Reverse());
}
this.HasCommand = true;
this.solved = true;
}
else
{
commands.addAll(Reverse(commandsAuto));
for( int i=commandsAuto.size()-1; i>=0; i--)
{
commandsBack.add(commandsAuto.get(i).Reverse());
}
commandsAuto.clear();
HasCommand = true;
}
}
private Vector<Command> Reverse(Vector<Command> v)
{
Vector<Command> v2 = new Vector<Command>(v.size());
for(int i=v.size()-1; i>=0; i--)
{
v2.add(v.elementAt(i));
}
return v2;
}
public void Reset()
{
Resetting = true;
reset();
}
private void reset()
{
this.rx = 22.f;
this.ry = -34.f;
this.HasCommand = false;
Finished = false;
this.CommandLoop = 0;
this.commands.clear();
this.commandsBack.clear();
this.commandsForward.clear();
this.CmdStrAfter = "";
this.CmdStrBefore = "";
magiccube.Reset();
if( this.stateListener != null)
{
this.stateListener.OnStateNotify(OnStateListener.CANNOTMOVEBACK);
this.stateListener.OnStateNotify(OnStateListener.CANNOTMOVEFORWARD);
this.stateListener.OnStateNotify(OnStateListener.CANNOTAUTOSOLVE);
}
}
public String GetCmdStrBefore()
{
return this.CmdStrBefore;
}
public void SetCmdStrBefore(String CmdStrBefore)
{
this.CmdStrBefore = CmdStrBefore;
}
public void SetCmdStrAfter(String CmdStrAfter)
{
this.CmdStrAfter = CmdStrAfter;
}
public String GetCmdStrAfter()
{
return this.CmdStrAfter;
}
public void setVolume(int volume) {
this.volume = volume;
}
}
| flexwang/HappyRubik | src/flex/android/magiccube/MagicCubeRender.java | Java | apache-2.0 | 40,437 |
<?php namespace Way\Generators\Syntax;
class CreateTable extends Table {
/**
* Build string for creating a
* table and columns
*
* @param $migrationData
* @param $fields
* @return mixed
*/
public function create($migrationData, $fields)
{
$migrationData = ['method' => 'create', 'table' => $migrationData['table']];
// All new tables should have an identifier
// Let's add that for the user automatically
$primaryKey['id'] = ['type' => 'increments'];
$fields = $primaryKey + $fields;
// We'll also add timestamps to new tables for convenience
$fields[''] = ['type' => 'timestamps'];
return (new AddToTable($this->file, $this->compiler))->add($migrationData, $fields);
}
} | pup-progguild/InformHerAPI | vendor/way/generators/src/Way/Generators/Syntax/CreateTable.php | PHP | apache-2.0 | 793 |
package sagex.phoenix.remote.services;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import javax.script.Invocable;
import javax.script.ScriptException;
import sagex.phoenix.util.PhoenixScriptEngine;
public class JSMethodInvocationHandler implements InvocationHandler {
private PhoenixScriptEngine eng;
private Map<String, String> methodMap = new HashMap<String, String>();
public JSMethodInvocationHandler(PhoenixScriptEngine eng, String interfaceMethod, String jsMethod) {
this.eng = eng;
methodMap.put(interfaceMethod, jsMethod);
}
@Override
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if (Object.class == method.getDeclaringClass()) {
String name = method.getName();
if ("equals".equals(name)) {
return proxy == args[0];
} else if ("hashCode".equals(name)) {
return System.identityHashCode(proxy);
} else if ("toString".equals(name)) {
return proxy.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(proxy))
+ ", with InvocationHandler " + this;
} else {
throw new IllegalStateException(String.valueOf(method));
}
}
String jsMethod = methodMap.get(method.getName());
if (jsMethod == null) {
throw new NoSuchMethodException("No Javascript Method for " + method.getName());
}
Invocable inv = (Invocable) eng.getEngine();
try {
return inv.invokeFunction(jsMethod, args);
} catch (NoSuchMethodException e) {
throw new NoSuchMethodException("The Java Method: " + method.getName() + " maps to a Javascript Method " + jsMethod
+ " that does not exist.");
} catch (ScriptException e) {
throw e;
}
}
}
| stuckless/sagetv-phoenix-core | src/main/java/sagex/phoenix/remote/services/JSMethodInvocationHandler.java | Java | apache-2.0 | 1,998 |
package io.izenecloud.larser.framework;
import io.izenecloud.conf.Configuration;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.kohsuke.args4j.CmdLineException;
import org.kohsuke.args4j.CmdLineParser;
import org.kohsuke.args4j.Option;
import org.kohsuke.args4j.spi.StringOptionHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class LaserArgument {
private static final Logger LOG = LoggerFactory
.getLogger(LaserArgument.class);
public static final Set<String> VALID_ARGUMENTS = new HashSet<String>(
Arrays.asList("-configure"));
@Option(name = "-configure", required = true, handler = StringOptionHandler.class)
private String configure;
public String getConfigure() {
return configure;
}
public static void parseArgs(String[] args) throws CmdLineException,
IOException {
ArrayList<String> argsList = new ArrayList<String>(Arrays.asList(args));
for (int i = 0; i < args.length; i++) {
if (i % 2 == 0 && !LaserArgument.VALID_ARGUMENTS.contains(args[i])) {
argsList.remove(args[i]);
argsList.remove(args[i + 1]);
}
}
final LaserArgument laserArgument = new LaserArgument();
new CmdLineParser(laserArgument).parseArgument(argsList
.toArray(new String[argsList.size()]));
Configuration conf = Configuration.getInstance();
LOG.info("Load configure, {}", laserArgument.getConfigure());
Path path = new Path(laserArgument.getConfigure());
FileSystem fs = FileSystem
.get(new org.apache.hadoop.conf.Configuration());
conf.load(path, fs);
}
}
| izenecloud/laser | src/main/java/io/izenecloud/larser/framework/LaserArgument.java | Java | apache-2.0 | 1,698 |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package node
import (
"reflect"
"testing"
"github.com/kubernetes/dashboard/src/app/backend/resource/common"
"github.com/kubernetes/dashboard/src/app/backend/resource/dataselect"
"github.com/kubernetes/dashboard/src/app/backend/resource/metric"
metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes/fake"
api "k8s.io/client-go/pkg/api/v1"
)
func TestGetNodeList(t *testing.T) {
cases := []struct {
node *api.Node
expected *NodeList
}{
{
&api.Node{
ObjectMeta: metaV1.ObjectMeta{Name: "test-node"},
Spec: api.NodeSpec{
Unschedulable: true,
},
},
&NodeList{
ListMeta: common.ListMeta{
TotalItems: 1,
},
CumulativeMetrics: make([]metric.Metric, 0),
Nodes: []Node{{
ObjectMeta: common.ObjectMeta{Name: "test-node"},
TypeMeta: common.TypeMeta{Kind: common.ResourceKindNode},
Ready: "Unknown",
AllocatedResources: NodeAllocatedResources{
CPURequests: 0,
CPURequestsFraction: 0,
CPULimits: 0,
CPULimitsFraction: 0,
CPUCapacity: 0,
MemoryRequests: 0,
MemoryRequestsFraction: 0,
MemoryLimits: 0,
MemoryLimitsFraction: 0,
MemoryCapacity: 0,
AllocatedPods: 0,
PodCapacity: 0,
},
},
},
},
},
}
for _, c := range cases {
fakeClient := fake.NewSimpleClientset(c.node)
fakeHeapsterClient := FakeHeapsterClient{client: *fake.NewSimpleClientset()}
actual, _ := GetNodeList(fakeClient, dataselect.NoDataSelect, fakeHeapsterClient)
if !reflect.DeepEqual(actual, c.expected) {
t.Errorf("GetNodeList() == \ngot: %#v, \nexpected %#v", actual, c.expected)
}
}
}
| danielromlein/dashboard | src/app/backend/resource/node/list_test.go | GO | apache-2.0 | 2,364 |
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require_self
*= require jquery-ui
*/
/*
* CSS workarounds
*/
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
margin: 0;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #3a90c9;
font-size: x-large;
padding-top: 3px;
padding-left: 3px;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #3a90c9;
font-size: x-large;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #3a90c9;
font-size: x-large;
}
| ivanilves/CloudPort | app/assets/stylesheets/application.css | CSS | apache-2.0 | 1,334 |
default_app_config = 'providers.com.dailyssrn.apps.AppConfig'
| zamattiac/SHARE | providers/com/dailyssrn/__init__.py | Python | apache-2.0 | 62 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Number</title>
<link rel="root" href=""/> <!-- for JS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../css/jquery-ui-redmond.css"/>
<link rel="stylesheet" type="text/css" href="../../css/style.css"/>
<link rel="stylesheet" type="text/css" href="../../css/style-vis.css"/>
<link rel="stylesheet" type="text/css" href="../../css/hint.css"/>
<script type="text/javascript" src="../../lib/ext/head.load.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js"></script>
<script>document.addEventListener("DOMContentLoaded", function(event) {anchors.add();});</script>
<!-- Set up this custom Google search at https://cse.google.com/cse/business/settings?cx=001145188882102106025:dl1mehhcgbo -->
<!-- DZ 2021-01-22: I am temporarily hiding the search field to find out whether it slows down loading of the title page.
<script>
(function() {
var cx = '001145188882102106025:dl1mehhcgbo';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script> -->
<!-- <link rel="shortcut icon" href="favicon.ico"/> -->
</head>
<body>
<div id="main" class="center">
<div id="hp-header">
<table width="100%"><tr><td width="50%">
<span class="header-text"><a href="http://universaldependencies.org/#language-cy">home</a></span>
<span class="header-text"><a href="https://github.com/universaldependencies/docs/edit/pages-source/_cy/feat/Number.md" target="#">edit page</a></span>
<span class="header-text"><a href="https://github.com/universaldependencies/docs/issues">issue tracker</a></span>
</td><td>
<gcse:search></gcse:search>
</td></tr></table>
</div>
<hr/>
<div class="v2complete">
This page pertains to UD version 2.
</div>
<div id="content">
<noscript>
<div id="noscript">
It appears that you have Javascript disabled.
Please consider enabling Javascript for this page to see the visualizations.
</div>
</noscript>
<!-- The content may include scripts and styles, hence we must load the shared libraries before the content. -->
<script type="text/javascript">
console.time('loading libraries');
var root = '../../'; // filled in by jekyll
head.js(
// External libraries
// DZ: Copied from embedding.html. I don't know which one is needed for what, so I'm currently keeping them all.
root + 'lib/ext/jquery.min.js',
root + 'lib/ext/jquery.svg.min.js',
root + 'lib/ext/jquery.svgdom.min.js',
root + 'lib/ext/jquery.timeago.js',
root + 'lib/ext/jquery-ui.min.js',
root + 'lib/ext/waypoints.min.js',
root + 'lib/ext/jquery.address.min.js'
);
</script>
<style>h3 {display:block;background-color:#dfeffc}</style>
<h2><code>Number</code>: number of verbs, nouns, pronouns and adjectives</h2>
<p>Number has two values in Welsh, Singular and Plural. It is marked on nouns, some adjectives, pronouns, verbs and inflected prepositions. Only very few adjectives are marked for number.
Verbs with a pronominal subject are marked for Person and Number, verbs with a nominal subject
are always in the 3rd person singular, also with plural subjects.
There is a group of nouns in Welsh, whose lemma is a plural, the singular is formed by adding a singulative suffix: <em>plant</em> “children”, <em>plentyn</em> “child”). However, in the Welsh treebank, we always put the singular in the lemma column</p>
<h3 id="sing-singular"><a name="Sing"><code class="language-plaintext highlighter-rouge">Sing</code></a>: singular</h3>
<h4 id="examples">Examples</h4>
<ul>
<li><em>tŷ</em> “house”</li>
<li><em>y ferch</em> “the woman”</li>
<li><em>aderyn</em> “bird”</li>
<li><em>o</em> “he”</li>
</ul>
<h3 id="plur-plural"><a name="Plur"><code class="language-plaintext highlighter-rouge">Plur</code></a>: plural</h3>
<h4 id="examples-1">Examples</h4>
<ul>
<li><em>tai</em> “houses”</li>
<li><em>y merched</em> “the women”</li>
<li><em>adar</em> “birds”</li>
<li><em>nhw</em> “they”</li>
</ul>
<!-- Interlanguage links updated St lis 3 20:58:24 CET 2021 -->
<!-- "in other languages" links -->
<hr/>
Number in other languages:
[<a href="../../arr/feat/Number.html">arr</a>]
[<a href="../../bej/feat/Number.html">bej</a>]
[<a href="../../bg/feat/Number.html">bg</a>]
[<a href="../../bm/feat/Number.html">bm</a>]
[<a href="../../cs/feat/Number.html">cs</a>]
[<a href="../../cy/feat/Number.html">cy</a>]
[<a href="../../en/feat/Number.html">en</a>]
[<a href="../../ess/feat/Number.html">ess</a>]
[<a href="../../eu/feat/Number.html">eu</a>]
[<a href="../../fi/feat/Number.html">fi</a>]
[<a href="../../fr/feat/Number.html">fr</a>]
[<a href="../../ga/feat/Number.html">ga</a>]
[<a href="../../gub/feat/Number.html">gub</a>]
[<a href="../../hu/feat/Number.html">hu</a>]
[<a href="../../hy/feat/Number.html">hy</a>]
[<a href="../../it/feat/Number.html">it</a>]
[<a href="../../myv/feat/Number.html">myv</a>]
[<a href="../../orv/feat/Number.html">orv</a>]
[<a href="../../pcm/feat/Number.html">pcm</a>]
[<a href="../../pt/feat/Number.html">pt</a>]
[<a href="../../ru/feat/Number.html">ru</a>]
[<a href="../../sl/feat/Number.html">sl</a>]
[<a href="../../sv/feat/Number.html">sv</a>]
[<a href="../../tpn/feat/Number.html">tpn</a>]
[<a href="../../tr/feat/Number.html">tr</a>]
[<a href="../../tt/feat/Number.html">tt</a>]
[<a href="../../u/feat/Number.html">u</a>]
[<a href="../../uk/feat/Number.html">uk</a>]
[<a href="../../urb/feat/Number.html">urb</a>]
[<a href="../../urj/feat/Number.html">urj</a>]
</div>
<!-- support for embedded visualizations -->
<script type="text/javascript">
var root = '../../'; // filled in by jekyll
head.js(
// We assume that external libraries such as jquery.min.js have already been loaded outside!
// (See _layouts/base.html.)
// brat helper modules
root + 'lib/brat/configuration.js',
root + 'lib/brat/util.js',
root + 'lib/brat/annotation_log.js',
root + 'lib/ext/webfont.js',
// brat modules
root + 'lib/brat/dispatcher.js',
root + 'lib/brat/url_monitor.js',
root + 'lib/brat/visualizer.js',
// embedding configuration
root + 'lib/local/config.js',
// project-specific collection data
root + 'lib/local/collections.js',
// Annodoc
root + 'lib/annodoc/annodoc.js',
// NOTE: non-local libraries
'https://spyysalo.github.io/conllu.js/conllu.js'
);
var webFontURLs = [
// root + 'static/fonts/Astloch-Bold.ttf',
root + 'static/fonts/PT_Sans-Caption-Web-Regular.ttf',
root + 'static/fonts/Liberation_Sans-Regular.ttf'
];
var setupTimeago = function() {
jQuery("time.timeago").timeago();
};
head.ready(function() {
setupTimeago();
// mark current collection (filled in by Jekyll)
Collections.listing['_current'] = 'cy';
// perform all embedding and support functions
Annodoc.activate(Config.bratCollData, Collections.listing);
});
</script>
<!-- google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55233688-1', 'auto');
ga('send', 'pageview');
</script>
<div id="footer">
<p class="footer-text">© 2014–2021
<a href="http://universaldependencies.org/introduction.html#contributors" style="color:gray">Universal Dependencies contributors</a>.
Site powered by <a href="http://spyysalo.github.io/annodoc" style="color:gray">Annodoc</a> and <a href="http://brat.nlplab.org/" style="color:gray">brat</a></p>.
</div>
</div>
</body>
</html>
| UniversalDependencies/universaldependencies.github.io | cy/feat/Number.html | HTML | apache-2.0 | 8,950 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.