query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Simulates testEncoding w/ corrupt data.
@Test public void testEncodingNegative() { byte[] orginalBytes = sensitiveString.getBytes(); byte[] encoded = StateUtils.encode(orginalBytes); encoded[1] = (byte) 9; try { byte[] decoded = StateUtils.decode(encoded); Assertions.assertFalse(Arrays.e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void testInvalidEncodings() {\r\n assertThatInputIsInvalid(\"NIX\");\r\n assertThatInputIsInvalid(\"UTF-9\");\r\n assertThatInputIsInvalid(\"ISO-8859-42\");\r\n }", "public void testSetEncoding_Normal() throws Exception {\n ByteArrayOutputStream aos = new ByteAr...
[ "0.6616562", "0.63718206", "0.6290098", "0.6214156", "0.61656547", "0.61533695", "0.61395293", "0.60663795", "0.60554016", "0.60402954", "0.60177016", "0.60169655", "0.60086906", "0.5975332", "0.5923769", "0.59075475", "0.5884488", "0.5876406", "0.58721113", "0.5868059", "0.5...
0.71096545
0
Create a new memory store from the given input file.
public MemoryStore(String filename) throws IOException { // create a new input stream FileInputStream input = new FileInputStream(filename); // create a place to store the words we read in byte[] b = new byte[4]; // read in the data in the given file while (input.read(b) != -1) { if (memory.size() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadMemory(String inputFile){\n\t\tint pc = 0;\n\t\ttry{\n\t\t\tRandomAccessFile raf = new RandomAccessFile(new File(inputFile),\"rw\");\n\t\t\tString strLine;\n\t\t\tint decimalNumber;\n\t\t\twhile ((strLine = raf.readLine())!=null){\n\t\t\t\tstrLine = strLine.substring(0, 8); //get the first 8 char(h...
[ "0.62018305", "0.61264056", "0.59863245", "0.5421059", "0.53167933", "0.5271185", "0.51307106", "0.50996715", "0.5083311", "0.50816375", "0.50679755", "0.50427675", "0.5041025", "0.5037488", "0.5008846", "0.49976528", "0.49866262", "0.49676475", "0.4963089", "0.49624667", "0....
0.6717654
0
Get the value at the given location in memory. The given location should be a byte location, but if it isn't wordaligned it will be truncated.
public long getValue(long location) { // we want to access the memory on a word boundary long memoryAddress = location >> 2; // error if we're out of bounds if (memoryAddress >= memory.size()) { throw new IllegalArgumentException("Memory address out of bounds"); } // Return the word we want. Note ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int checkMemLocation(int location) {\n if (location < memory.length && location >= 0) {\n return location;\n }\n throw new MemoryOutOfBounds(memory.length, location);\n }", "public void storeValue(long location, long value) {\n\t\t// get the word address from the byte a...
[ "0.61023724", "0.60103583", "0.577216", "0.5602505", "0.549024", "0.54784083", "0.5475671", "0.5470703", "0.5454532", "0.54521686", "0.5432233", "0.53440976", "0.5324067", "0.52728724", "0.5246857", "0.52203876", "0.519324", "0.5190793", "0.51898795", "0.5171586", "0.5164866"...
0.7880801
0
Store the given value at the given location in memory. The given location should be a byte location, but if it isn't wordaligned it will be truncated.
public void storeValue(long location, long value) { // get the word address from the byte address long memoryAddress = location >> 2; // error if we're out of bounds if (memoryAddress >= memory.size()) { throw new IllegalArgumentException("Memory address out of bounds"); } // Set the word we want. ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int setMemory(int location, String content){\n \n\t\tint status = 0;\n\t\t\n\t\tif(location<memoryLength){\n\t\t\tif(content.length()>=sixteenBitMax){\n\t\t\t\tmemory[location] = content;\t//keep overflow item with status 3\n\t\t\t\tmemoryCounter++;\n\t\t\t\treturn 3;\n\t\t\t}\n\t\t\telse if(location...
[ "0.64279217", "0.61307806", "0.564083", "0.55990636", "0.54767156", "0.54739314", "0.5473845", "0.5437975", "0.5410447", "0.52325636", "0.5181958", "0.51698035", "0.515308", "0.51498216", "0.5144274", "0.51185733", "0.5093576", "0.5087543", "0.50654393", "0.5035856", "0.50076...
0.7982262
0
TODO Autogenerated method stub
@Override public int increaseUserMakerThemeNumById(UserMakerThemePojo userMakerTheme) { return userMakerThemeDao.increaseUserMakerThemeNumById(userMakerTheme); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public int decreaseUserMakerThemeNumById(UserMakerThemePojo userMakerTheme) { return userMakerThemeDao.decreaseUserMakerThemeNumById(userMakerTheme); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Prepare the FreeMarker configuration; Load templates from the WEBINF/templates directory of the Web app.
public void init() { Prepare the FreeMarker configuration; // - Load templates from the WEB-INF/templates directory of the Web app. // cfg = new Configuration(); cfg.setServletContextForTemplateLoading( getServletContext(), "WEB-INF/templates" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void init(){\n\t\tcfg = new Configuration();\r\n\t\tcfg.setServletContextForTemplateLoading(getServletContext(), \"WEB-INF/templates\");\r\n }", "public void init() {\n\t\tcfg = new Configuration(Configuration.VERSION_2_3_25);\r\n\r\n\t\t// Specify the source where the template files come from.\r\n\t\t...
[ "0.74975413", "0.68715715", "0.66320103", "0.65323335", "0.6154255", "0.58940506", "0.570861", "0.5562985", "0.5544688", "0.5544685", "0.5504452", "0.54712814", "0.5471079", "0.53378177", "0.5297258", "0.52287453", "0.5184658", "0.5180167", "0.51744103", "0.5151282", "0.51446...
0.83185303
0
Computes the secrets from the two exchanged messages.
void computeSecrets() { final Bytes agreedSecret = signatureAlgorithm.calculateECDHKeyAgreement(ephKeyPair.getPrivateKey(), partyEphPubKey); final Bytes sharedSecret = keccak256( concatenate(agreedSecret, keccak256(concatenate(responderNonce, initiatorNonce)))); final Bytes32 a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testTest1BC() throws Exception {\n\n PrivateKey privKey = MBouncy.getPrivateKey(PemUtil.getBlockAsString(t1PrivateKey));\n PublicKey publKey = MBouncy.getPublicKey(PemUtil.getBlockAsString(t1PublicKey));\n\n byte[] secure = MBouncy.encryptRsa(MString.toBytes(t1Secret), p...
[ "0.5640746", "0.531498", "0.529723", "0.52649295", "0.52517337", "0.5205667", "0.5198338", "0.5197629", "0.51867074", "0.5186661", "0.5166499", "0.5157037", "0.5144164", "0.51183045", "0.5109354", "0.5056836", "0.5050495", "0.5041158", "0.5036645", "0.5025197", "0.49799743", ...
0.6389766
0
The methods below are for testing purposes.
@VisibleForTesting NodeKey getNodeKey() { return nodeKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n...
[ "0.62080085", "0.61974883", "0.60820925", "0.60748225", "0.60748225", "0.60748225", "0.60748225", "0.60748225", "0.60748225", "0.59632665", "0.5862136", "0.5860296", "0.58426875", "0.58116573", "0.57926315", "0.57701015", "0.57569844", "0.57509804", "0.5734275", "0.57243", "0...
0.0
-1
Once the OS returns to this activity from sequence activity (REQUEST_CODE_SEQUENCE = 3)
@Override protected void onActivityResult(int requestCode, int resultCode, Intent returnData) { // Remove loading image loadingGIF.setVisibility(View.GONE); if(resultCode == RESULT_OK && requestCode == REQUEST_CODE_QAQC) { appData.Notify("Information","File successfully saved."...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\r\n if(resultCode == ACTIVITY_FOR_RESULT_ID){\r\n setResult(ACTIVITY_FOR_RESULT_ID);\r\n finish();\r\n }\r\n }", "@Override\n public void onSequenceFinish() {...
[ "0.6474376", "0.63567394", "0.63173664", "0.6248258", "0.6242218", "0.61979675", "0.6135138", "0.6113387", "0.6091046", "0.60708714", "0.60462785", "0.60086906", "0.5964917", "0.59586877", "0.5919435", "0.58931786", "0.5787482", "0.5787411", "0.57769346", "0.5751617", "0.5738...
0.0
-1
/ String type = GetControlType(activeView);
public void UpdateTextStyle(ControlStyles style,TextView editText) { try { if(editText==null) { editText = (EditText) base.activeView; } EditorControl tag= base.GetControlTag(editText); if(style==ControlStyles.H1){ if(base.ContainsS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getViewType();", "Control getControl(String controlType);", "String getViewClass();", "public int getViewType()\n {\n return this.viewType;\n }", "public String type();", "private String determineViewTag() {\r\n\t\tif (viewTag == null) {\r\n\t\t\tviewTag = ClearCaseUtils.getViewTag(ge...
[ "0.759967", "0.6998019", "0.66785645", "0.6499466", "0.60153025", "0.60110015", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", "0.5986091", ...
0.0
-1
/ / Relation with other types /
@Override public final boolean isReferenceType() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface One extends RelationQuantifier\n{\n}", "RelatedPerson<Person, Person> relatePerson(String person1, String person2, String relation);", "public interface Type<SomeType extends Type<SomeType, SomeThing>,\n SomeThing extends Thing<SomeThing, SomeType>>\n extends Schema...
[ "0.65695983", "0.63555735", "0.6136966", "0.61128265", "0.6022414", "0.60143036", "0.6001801", "0.5980642", "0.59744734", "0.595658", "0.58694524", "0.58355534", "0.5830556", "0.57885104", "0.5758969", "0.57583815", "0.5749657", "0.5747971", "0.5734713", "0.5727795", "0.57061...
0.0
-1
/ / Downcasting /
@Override public ResolvedReferenceType asReferenceType() { return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\r\n\t}", "@Override\n\tpublic void VisitCastNode(BunCastNode Node) {\n\n\t}", "public static void main(String[]...
[ "0.64567935", "0.64567935", "0.64567935", "0.63371485", "0.63297313", "0.58973217", "0.5734317", "0.5700421", "0.55037636", "0.5433851", "0.54149145", "0.54065776", "0.540465", "0.5402964", "0.5398336", "0.5385751", "0.53761184", "0.5315571", "0.5264846", "0.5245687", "0.5171...
0.0
-1
/ / Naming /
@Override public String describe() { StringBuilder sb = new StringBuilder(); if (hasName()) { sb.append(typeDeclaration.getQualifiedName()); } else { sb.append("<anonymous class>"); } if (!typeParametersMap().isEmpty()) { sb.append("<"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract String name ();", "String getName() ;", "String getName( );", "protected abstract String getName();", "abstract String getName();", "public String getName ();", "String getName();", "String getName();", "String getName();", "String getName();", "String getName();", "String ...
[ "0.72020066", "0.71768385", "0.7075813", "0.70290655", "0.69878167", "0.6985899", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", "0.69809633", ...
0.0
-1
/ / TypeParameters / Execute a transformation on all the type parameters of this element.
public abstract ResolvedType transformTypeParameters(ResolvedTypeTransformer transformer);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TypeParameterListNode getTypeParameters()throws ClassCastException;", "Collection<Parameter> getTypedParameters();", "public void setTypeParameters(TypeParameterListNode typeParameters);", "void applyParameters(ReaderContext context, Operation operation, Type type, Annotation[] annotations);", "List...
[ "0.5429784", "0.5398278", "0.5394009", "0.5164384", "0.51478004", "0.5059371", "0.49639896", "0.4960842", "0.49027902", "0.48804545", "0.48789388", "0.48215607", "0.4790237", "0.4785873", "0.47835687", "0.47034186", "0.4661573", "0.46592516", "0.46288097", "0.4623426", "0.460...
0.67760116
0
/ / Assignability / This method checks if ThisType t = new OtherType() would compile.
@Override public abstract boolean isAssignableBy(ResolvedType other);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public abstract boolean isAssignableBy(TypeUsage other);", "public static boolean canAssign(ITypeBinding typeToAssign, ITypeBinding definedType) {\n TypeEnvironment typeEnvironment = new TypeEnvironment(false, true);\n TType defined = typeEnvironment.create(definedType);\n TTy...
[ "0.56861794", "0.5677495", "0.5670954", "0.56514144", "0.55909634", "0.53877413", "0.53046757", "0.52084583", "0.5164717", "0.5150835", "0.50789315", "0.5053764", "0.50512725", "0.5007693", "0.49112165", "0.4906606", "0.48636672", "0.4837636", "0.48277938", "0.48247334", "0.4...
0.54455274
5
Return direct ancestors, that means the superclasses and interfaces implemented directly. This list should include Object if the class has no other superclass or the interface is not extending another interface. There is an exception for Object itself.
public abstract List<ResolvedReferenceType> getDirectAncestors();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List getOrderedAncestors();", "private static HashSet<Class<?>> getInstrumentedAncestors(Class<?> cls) {\n HashSet<Class<?>> ancestors = new HashSet<>();\n\n for (Method m : cls.getDeclaredMethods()) {\n if (m.getName().startsWith(\"yGet_\")) {\n ancestors.add(cls);\n //...
[ "0.65921986", "0.6508026", "0.6506479", "0.64868313", "0.6442258", "0.64275074", "0.6366407", "0.61656976", "0.6140753", "0.60767925", "0.6029633", "0.60043794", "0.5890394", "0.5774846", "0.5769164", "0.57042825", "0.56005347", "0.55674237", "0.5563204", "0.5427849", "0.5415...
0.6915651
0
/ / Type parameters / Get the type associated with the type parameter with the given name. It returns Optional.empty unless the type declaration declares a type parameter with the given name.
public Optional<ResolvedType> getGenericParameterByName(String name) { for (ResolvedTypeParameterDeclaration tp : typeDeclaration.getTypeParameters()) { if (tp.getName().equals(name)) { return Optional.of(this.typeParametersMap().getValue(tp)); } } return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Optional<TypeUsage> getGenericParameterByName(String name) {\n int i = 0;\n for (TypeParameter tp : typeDeclaration.getTypeParameters()) {\n if (tp.getName().equals(name)) {\n return Optional.of(this.typeParameters.get(i));\n }\n i++;\n }\...
[ "0.7659571", "0.7034616", "0.7026398", "0.64597577", "0.6457592", "0.6385397", "0.63063043", "0.6138754", "0.6061112", "0.59354025", "0.5888816", "0.58801985", "0.585182", "0.5840892", "0.57927275", "0.5737798", "0.5737798", "0.5737798", "0.5737798", "0.5737798", "0.5737798",...
0.79051316
0
Get the values for all type parameters declared on this type. The list can be empty for raw types.
public List<ResolvedType> typeParametersValues() { return this.typeParametersMap.isEmpty() ? Collections.emptyList() : typeDeclaration.getTypeParameters().stream().map(tp -> typeParametersMap.getValue(tp)).collect(Collectors.toList()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<TypeDefinition> getParameters() {\n\t\treturn parameters;\n\t}", "public List<Pair<ResolvedTypeParameterDeclaration, ResolvedType>> getTypeParametersMap() {\n List<Pair<ResolvedTypeParameterDeclaration, ResolvedType>> typeParametersMap = new ArrayList<>();\n if (!isRawType()) {\n ...
[ "0.7157551", "0.71570486", "0.7034647", "0.70105535", "0.6734968", "0.6552923", "0.6453037", "0.6377815", "0.63168365", "0.62935454", "0.6278625", "0.62769014", "0.6258542", "0.6193568", "0.6153472", "0.6109667", "0.60926676", "0.60918474", "0.6053729", "0.60464996", "0.60311...
0.8234382
0
Get the values for all type parameters declared on this type. In case of raw types the values correspond to TypeVariables.
public List<Pair<ResolvedTypeParameterDeclaration, ResolvedType>> getTypeParametersMap() { List<Pair<ResolvedTypeParameterDeclaration, ResolvedType>> typeParametersMap = new ArrayList<>(); if (!isRawType()) { for (int i = 0; i < typeDeclaration.getTypeParameters().size(); i++) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<ResolvedType> typeParametersValues() {\n return this.typeParametersMap.isEmpty() ? Collections.emptyList() : typeDeclaration.getTypeParameters().stream().map(tp -> typeParametersMap.getValue(tp)).collect(Collectors.toList());\n }", "public List<Ref<? extends Type>> typeVariables();", "Lis...
[ "0.76912063", "0.6786304", "0.66243374", "0.66123426", "0.630753", "0.6307197", "0.6208264", "0.6108501", "0.5954966", "0.59046715", "0.58018214", "0.5778264", "0.5729708", "0.57289976", "0.57037926", "0.5701471", "0.56880945", "0.56608385", "0.5618203", "0.5499199", "0.54936...
0.7083974
1
/ / Other methods introduced by ReferenceType / Corresponding TypeDeclaration
public final ResolvedReferenceTypeDeclaration getTypeDeclaration() { return typeDeclaration; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PSObject getTypeReference();", "String getReferenceType();", "TypeReference getTypeReference();", "ResolvedReferenceTypeDeclaration declaringType();", "public abstract byte getReferenceKind();", "@Pure\n\tprotected TypeReferences getTypeReferences() {\n\t\treturn this.typeReferences;\n\t}", "@Override\...
[ "0.69636446", "0.6939604", "0.6690757", "0.66161656", "0.64950234", "0.6439051", "0.62945634", "0.6144512", "0.61062557", "0.6031725", "0.60078686", "0.5999423", "0.59933925", "0.59587145", "0.5950855", "0.58931816", "0.58911115", "0.5855441", "0.5844932", "0.58321124", "0.58...
0.0
-1
The type of the field could be different from the one in the corresponding FieldDeclaration because type variables would be solved.
public Optional<ResolvedType> getFieldType(String name) { if (!typeDeclaration.hasField(name)) { return Optional.empty(); } ResolvedType type = typeDeclaration.getField(name).getType(); type = useThisTypeParametersOnTheGivenType(type); return Optional.of(type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic boolean visit(FieldDeclaration node) {\n\t\treturn super.visit(node);\r\n\t}", "@Test\n\t@Ignore\n\tpublic void field() throws Exception {\n\t\tTypeDescriptor desc = new TypeDescriptor(getClass().getField(\"field\"));\n\t\tassertEquals(Integer.class, desc.getMapKeyTypeDescriptor().getElemen...
[ "0.64402395", "0.6408996", "0.636585", "0.6315031", "0.63124794", "0.6270042", "0.626126", "0.6243553", "0.62178916", "0.6209338", "0.62025213", "0.617124", "0.6147993", "0.6146944", "0.6134087", "0.61334604", "0.613234", "0.6123818", "0.612315", "0.6117688", "0.61079377", ...
0.0
-1
Has the TypeDeclaration a name? Anonymous classes do not have one.
public boolean hasName() { return typeDeclaration.hasName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean declarationType(FileInputStream f){\n if(observer != null){\n observer.parser.setCurrentRule(\"declarationType\", true);\n }\n CToken t = new CToken();\n\n //DataType\n if(!dataType(f)){\n return false;\n }\n if(observer !...
[ "0.66018933", "0.65875775", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494", "0.65159494"...
0.78576636
0
Qualified name of the declaration.
public String getQualifiedName() { return typeDeclaration.getQualifiedName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default String getQualifiedName() {\n return declaringType().getQualifiedName() + \".\" + this.getName();\n }", "public String getQualifiedName();", "String getQualifiedName();", "String qualifiedName();", "public String qualifiedName() {\n return this.qualifiedName;\n }", "public Str...
[ "0.76003957", "0.7245304", "0.71928686", "0.7142326", "0.7066319", "0.6917072", "0.68716186", "0.6814112", "0.66310847", "0.6591695", "0.6516732", "0.6265023", "0.62632954", "0.6231073", "0.6190422", "0.61842835", "0.61487746", "0.6104805", "0.60933125", "0.60896385", "0.6070...
0.7207826
2
Id of the declaration. It corresponds to the qualified name, unless for local classes.
public String getId() { return typeDeclaration.getId(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getQualifiedId()\n {\n return null;\n }", "public int getId() {\n\t\treturn definition.get().getId();\n\t}", "Identifier getId();", "@Override\n\tpublic int getId() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic int getId() {\n\t\treturn 0;\n\t}", "public int getId() {\n\t\t\treturn ...
[ "0.6701789", "0.6480464", "0.64689183", "0.6314487", "0.6314487", "0.63126755", "0.6254346", "0.61565536", "0.6151571", "0.61106825", "0.6098235", "0.608344", "0.608344", "0.608344", "0.6078183", "0.6077787", "0.60693246", "0.6040003", "0.6027135", "0.6025549", "0.60179293", ...
0.6882873
0
Methods declared on this type.
public abstract Set<MethodUsage> getDeclaredMethods();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Methods() {\n // what is this doing? -PMC\n }", "@Override\n\tpublic String[] getMethods() {\n\t\treturn null;\n\t}", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void f...
[ "0.68588245", "0.6552257", "0.6475275", "0.6388321", "0.6388321", "0.6282822", "0.6260645", "0.6234007", "0.6220869", "0.6198526", "0.61058766", "0.6019107", "0.5982349", "0.5976331", "0.5924132", "0.59042925", "0.58914274", "0.58863854", "0.585976", "0.5849469", "0.5840371",...
0.5880154
18
Fields declared on this type.
public abstract Set<ResolvedFieldDeclaration> getDeclaredFields();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void initializeFields() {\n\n\t}", "@Override public final DeclContext$Fields $DeclContext$Fields() { return DeclContext$Flds; }", "@Override public final Redeclarable$Fields $Redeclarable$Fields() { return Redeclarable$Flds; }", "public HashMap<String, String> getFields() {\r\n \t\tre...
[ "0.69200945", "0.68097126", "0.67399096", "0.65967035", "0.6563624", "0.6544445", "0.65411925", "0.6504623", "0.64746076", "0.6398794", "0.6389783", "0.63291943", "0.62947154", "0.6267467", "0.6243918", "0.6236268", "0.6228983", "0.62238944", "0.62199205", "0.6212719", "0.621...
0.6510376
7
Get a list of all the methods available on this type. This list includes methods declared in this type and methods inherited. This list includes methods of all sort of visibility. However it does not include methods that have been overwritten.
public List<ResolvedMethodDeclaration> getAllMethods() { List<ResolvedMethodDeclaration> allMethods = new LinkedList<>(this.getTypeDeclaration().getDeclaredMethods()); getDirectAncestors().forEach(a -> allMethods.addAll(a.getAllMethods())); return allMethods; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Method> getMethods() {\r\n \t\t// We will only consider private methods in the declared class\r\n \t\tif (forceAccess)\r\n \t\t\treturn setUnion(source.getDeclaredMethods(), source.getMethods());\r\n \t\telse\r\n \t\t\treturn setUnion(source.getMethods());\r\n \t}", "public abstract Set<MethodUsage> g...
[ "0.78712356", "0.7819361", "0.78060687", "0.78060687", "0.7742499", "0.7704275", "0.7675751", "0.75726694", "0.74602747", "0.734508", "0.7341876", "0.73382354", "0.733742", "0.7116084", "0.7103241", "0.70742273", "0.69783545", "0.69579", "0.68887454", "0.6867015", "0.6860142"...
0.8110969
0
Fields which are visible to inheritors. They include all inherited fields which are visible to this type plus all declared fields which are not private.
public List<ResolvedFieldDeclaration> getAllFieldsVisibleToInheritors() { List<ResolvedFieldDeclaration> res = new LinkedList<>(this.getDeclaredFields().stream().filter(f -> f.accessSpecifier() != AccessSpecifier.PRIVATE).collect(Collectors.toList())); getDirectAncestors().forEach(a -> res.addAll(a.getA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<Field> getFields() {\r\n \t\t// We will only consider private fields in the declared class\r\n \t\tif (forceAccess)\r\n \t\t\treturn setUnion(source.getDeclaredFields(), source.getFields());\r\n \t\telse\r\n \t\t\treturn setUnion(source.getFields());\r\n \t}", "private void findFields() {\n for...
[ "0.6685469", "0.61087114", "0.6093685", "0.5966524", "0.5964821", "0.582759", "0.5818144", "0.58123255", "0.5803648", "0.57853514", "0.57355416", "0.5726803", "0.5724085", "0.5712729", "0.5696611", "0.56548494", "0.5649377", "0.5646131", "0.5614792", "0.56147474", "0.56124854...
0.823297
0
Starting point of the simulation.
private void run() { //Create the store object Store store = new Store(); //Populate the array of people for (int i = 0; i < 20; i++) { people.add(new Viewer(store)); if (i < 6) { //Add buyers people.add(new Buyer(store)); } } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void start(){\n\t\t//System.out.println(\"SimulationTime.start\");\n\t\tthis.running\t\t\t= true;\n\t\tthis.pause\t\t\t\t= false;\n\t}", "public void startSimulation();", "public void start( )\n {\n // Implemented by student.\n }", "public void start() {\n\t\tSystem.out.println(\"BMW Slef----...
[ "0.76346856", "0.7501158", "0.6862147", "0.67996866", "0.67986375", "0.6789401", "0.678803", "0.67004824", "0.66855824", "0.6671762", "0.6646747", "0.6629607", "0.65696055", "0.65523434", "0.65435725", "0.65434843", "0.65388954", "0.6522443", "0.6512497", "0.65109926", "0.650...
0.0
-1
method that reads the content in the file, builds mane MonitoredData objects and adds the to a list.
public static ArrayList<MonitoredData> readFileData(){ ArrayList<MonitoredData> data = new ArrayList<>(); List<String> lines = new ArrayList<>(); try (Stream<String> stream = Files.lines(Paths.get("Activities.txt"))) { lines = stream .flatMap((line->Stream...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public List<Object> readFile(File file) {\n Scanner scanner = createScanner(file);\n if (Objects.isNull(scanner)) {\n return Collections.emptyList();\n }\n List<Object> readingDTOList = new ArrayList<>();\n scanner.nextLine();\n List<List<String>>...
[ "0.5923623", "0.58460563", "0.58128184", "0.577719", "0.5672325", "0.5621164", "0.55874926", "0.55705154", "0.55568993", "0.555032", "0.5540503", "0.55291355", "0.55286145", "0.55153084", "0.5511262", "0.54870456", "0.54832226", "0.54700726", "0.54663074", "0.5456652", "0.544...
0.7106632
0
method that returns the number of distinct days
public static int countDays(List<MonitoredData> data){ System.out.println("3) How many times has appeared each activity for each day: "); long result = 0; ArrayList<String> days = new ArrayList<>(); ArrayList<MonitoredData> dataTrunc = new ArrayList<>(); for (int i=0; i<data.size...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getNumberDays();", "public int getDistinctDays(List<MonitoredData> timeline) {\n return (int) timeline\n .stream()\n .map(\n m -> m.getStart_time().getDayOfYear())\n .distinct()\n .count();\n }", "private int getDa...
[ "0.72968304", "0.69044954", "0.6676252", "0.65981734", "0.6581831", "0.6480256", "0.6396942", "0.63338006", "0.6290713", "0.627737", "0.627737", "0.62320715", "0.61852413", "0.6174623", "0.6161131", "0.61208946", "0.61204165", "0.60992134", "0.6076923", "0.6070818", "0.603666...
0.689855
2
method that counts how many times has each activity appeared over the entire period
public static Map<String, Long> countActivitiesWholePeriod(List<MonitoredData> data){ ArrayList<String> activities = new ArrayList<>(); for(int i=0; i<data.size(); i++){ activities.add(data.get(i).getActivity()); } Map<String, Long> counts = activities.stream(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int countDays(List<MonitoredData> data){\n System.out.println(\"3) How many times has appeared each activity for each day: \");\n long result = 0;\n ArrayList<String> days = new ArrayList<>();\n ArrayList<MonitoredData> dataTrunc = new ArrayList<>();\n for (int i=0;...
[ "0.69762367", "0.68396", "0.65635884", "0.64446175", "0.64343023", "0.62966657", "0.6296562", "0.6263043", "0.61734045", "0.6172995", "0.61703616", "0.6119458", "0.6091675", "0.60696435", "0.60496974", "0.6038217", "0.6026862", "0.59976345", "0.59959704", "0.5974821", "0.5973...
0.6831025
2
3) count how many times has appeared each activity for each day DONE in the countDays method above. :) 4) For each line from the file map for the activity label the duration recorded on that line (end time start time)
public static Map<String, Long> eachLineDuration(List<MonitoredData> data){ Map<String, String> hash = new HashMap<>(); Map<String, Long> hashWithMillis = new HashMap<>(); for (int i=0; i<data.size(); i++){ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.ENG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args){\n String filename = \"\";\n if (args.length >= 1){\n filename = args[0];\n } else {\n return;\n }\n\n int abs = 0;\n int diectic = 0;\n int timeOfDay = 0;\n\n Pattern absPattern = Pattern.compile(a...
[ "0.6439433", "0.6251962", "0.6213954", "0.6043612", "0.577869", "0.56412655", "0.55183434", "0.5479363", "0.5458668", "0.5455003", "0.54339904", "0.5430119", "0.54208", "0.5322414", "0.5294533", "0.527282", "0.52563715", "0.5254568", "0.5247924", "0.51950294", "0.5193717", ...
0.6542462
0
5) For each activity compute the entire duration over the monitoring period Done in eachLineDuration method above. :)
public String getStartTime() { return startTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Map<String, Long> eachLineDuration(List<MonitoredData> data){\n Map<String, String> hash = new HashMap<>();\n Map<String, Long> hashWithMillis = new HashMap<>();\n for (int i=0; i<data.size(); i++){\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\",...
[ "0.7231841", "0.63373804", "0.57368636", "0.5731403", "0.5599162", "0.53844535", "0.53746027", "0.53736496", "0.53533095", "0.5350386", "0.53036624", "0.52958184", "0.52748317", "0.52680963", "0.5264069", "0.52470857", "0.5218736", "0.5209151", "0.5204236", "0.51919144", "0.5...
0.0
-1
Creates new form SearchPanel
public SearchPanel(PonyUi ponyUi) { initComponents(); ListManager.AbstractToDefaultListModelConverter(sp_RelatedQueriesList); this.ponyUi = ponyUi; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private DynamicForm createSearchBox() {\r\n\t\tfinal DynamicForm filterForm = new DynamicForm();\r\n\t\tfilterForm.setNumCols(4);\r\n\t\tfilterForm.setAlign(Alignment.LEFT);\r\n\t\tfilterForm.setAutoFocus(false);\r\n\t\tfilterForm.setWidth(\"59%\"); //make it line up with sort box\r\n\t\t\r\n\t\tfilterForm.setData...
[ "0.7593687", "0.7368357", "0.70750993", "0.7065314", "0.6963673", "0.6823653", "0.68223274", "0.67666984", "0.67544204", "0.6727159", "0.6654476", "0.6571504", "0.6567254", "0.6523185", "0.6519291", "0.6435892", "0.6271765", "0.626021", "0.6243215", "0.6239778", "0.6218613", ...
0.64569837
15
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { sp_searchPolicies = new javax.swing.ButtonGroup(); sp_relatedQueriesPanel = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7320782", "0.72918797", "0.72918797", "0.72918797", "0.728645", "0.72498447", "0.7214492", "0.720934", "0.7197145", "0.71912014", "0.71852076", "0.7160113", "0.71487373", "0.70943654", "0.70820624", "0.7058153", "0.69883204", "0.6978216", "0.69558746", "0.6955715", "0.6945...
0.0
-1
End of variables declaration//GENEND:variables
public void clearResultEntries() { sp_searchEntries.removeAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
Update the current record and add it to the array
private void updateRecord() { int empId = -1; boolean hasError = false; try { empId = Integer.parseInt(employeeYearsOfWorkJTextField.getText()); } catch (NumberFormatException e) { hasError = true; JOptionPane.showMessageDialog(this, "Employee i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update(){\r\n\t\tthis.loadRecords();\r\n\t}", "public void updateRecord(Record object);", "void committed() {\n\t\t\tfor (Entry<Integer, Object> entry : newData.entrySet())\n\t\t\t\toriginalData.put(entry.getKey(), entry.getValue());\n\t\t\treset();\n\t\t\taction = RowAction.UPDATE;\n\t\t}", "@Ov...
[ "0.69695073", "0.6468808", "0.6069701", "0.6033951", "0.5999814", "0.59724283", "0.5924663", "0.59031963", "0.5886289", "0.58559734", "0.5842692", "0.5830338", "0.5825713", "0.58056384", "0.5804877", "0.57762176", "0.5753718", "0.57349503", "0.57296556", "0.57268083", "0.5723...
0.5810401
13
Created by oldflame on 2017/4/6.
public interface Filter { void doFilter(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Ov...
[ "0.59859735", "0.5845303", "0.58078015", "0.57509106", "0.57437044", "0.5711291", "0.5711291", "0.5697734", "0.56348187", "0.5617914", "0.5603921", "0.55910647", "0.555648", "0.55534476", "0.55316687", "0.55040985", "0.5486937", "0.5485932", "0.5482874", "0.5465263", "0.54592...
0.0
-1
TODO Autogenerated method stub
private void cargaListeners() { btnGuardar.addActionListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
private String[] cargaComboRol() { comboRol = new JComboBox(); for (RolDTO rolDTO : top) { comboRol.addItem(rolDTO.getDescripcion()); } String[] arr = new String[top.size()]; for (int i = 0; i < top.size(); i++) { arr[i] = top.get(i).getDescripcion(); } return arr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
private void cargaComboTipoDocumento() { comboTipoDoc = new JComboBox(); for (TipoDocumentoDTO tipoDocumentoDTO : tip) { comboTipoDoc.addItem(tipoDocumentoDTO.getAbreviacion()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent e) { if (e.getSource() == btnGuardar) { altaUsuario(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Called just before this Command runs the first time
protected void initialize() { if (dumper.isLimitSwitchPressed()){ dumper.stop(); state = STATE_SUCCESS; } else { startPosition = dumper.getPosition(); desiredPosition = startPosition + increment; dumper.backward(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void preRun() {\n super.preRun();\n }", "protected void preRun() {\r\n\t\tthis.preparePairs();\r\n\t}", "@Override\n public void beforeFirstLogic() {\n }", "public void prePerform() {\n // nothing to do by default\n }", "protected void onFirstUse() {}", "@O...
[ "0.7113986", "0.6542487", "0.64347786", "0.6433418", "0.64082474", "0.6353506", "0.6309701", "0.62537354", "0.62473047", "0.62407833", "0.6167777", "0.6163407", "0.6129232", "0.6129232", "0.6129232", "0.6129232", "0.6129232", "0.61080366", "0.608483", "0.608483", "0.60805327"...
0.0
-1
Called repeatedly when this Command is scheduled to run
protected void execute() { if (dumper.isLimitSwitchPressed()) { dumper.stop(); state = STATE_SUCCESS; } if (increment >= maxSeek) { dumper.stop(); state = STATE_FAILURE; } switch (state) { case STATE_SEEK_LEFT:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tvoid runCommand() {\n\t\t\ttrigger.execute();\n\t\t}", "@Override\n public void run() {\n schedule();\n }", "@Override\n public void autonomousPeriodic() {\n \n Scheduler.getInstance().run();\n \n }", "public void run() {\n\t\texecuteCommand( client, false );\n\t}", "...
[ "0.6689458", "0.6631115", "0.6566414", "0.65512514", "0.6530515", "0.6488629", "0.64019585", "0.6380878", "0.637645", "0.6363615", "0.63557744", "0.6330997", "0.6295938", "0.6275704", "0.6268897", "0.62656784", "0.62656784", "0.62656784", "0.62656784", "0.62656784", "0.626567...
0.0
-1
Make this return true when this Command no longer needs to run execute()
protected boolean isFinished() { if (state == STATE_SUCCESS) { // Success return true; } if (state == STATE_FAILURE) { // Failure return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean execute() {\n return false;\n }", "@Override\n public boolean execute() {\n return false;\n }", "public boolean execute(){\n return false;\n }", "@Override\n\tpublic boolean Unexecute() \n\t{\n\t\treturn false;\n\t}", "p...
[ "0.77304816", "0.77304816", "0.76760596", "0.764923", "0.75952446", "0.7550453", "0.68742687", "0.67432994", "0.67265856", "0.668", "0.65859616", "0.6567678", "0.6496604", "0.6387659", "0.6370114", "0.63563305", "0.63563305", "0.63515383", "0.6344155", "0.63286215", "0.632743...
0.0
-1
Called once after isFinished returns true
protected void end() { // stop motor, reset position on the dumper, enable closed loop }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected boolean isFinished() {\n return true;\n }", "@Override\n protected boolean isFinished() {\n return true;\n }", "@Override\n public boolean isFinished() {\n return true;\n }", "@Override\r\n\tprotected boolean isFinished() {\n\t\treturn true;\r\n\t}", "@Override\...
[ "0.85854495", "0.85395205", "0.83341306", "0.83313096", "0.83313096", "0.83068", "0.8305024", "0.8298836", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", "0.8277644", ...
0.0
-1
Called when another command which requires one or more of the same subsystems is scheduled to run
protected void interrupted() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AutonomousCommand(LiftSubsystem m_lift, ArmSubsystem m_arm, Shooter m_shooter, DriveSubsystem m_drive,\n HopperSubsystem m_hopper, Intake m_intake) {\n // Add your commands in the super() call, e.g.\n // super(new FooCommand(), new BarCommand());\n // alongwith- birlikte çalıştırmak için // wi...
[ "0.5763735", "0.5597857", "0.5525979", "0.5434967", "0.53826046", "0.53644043", "0.5349786", "0.5344097", "0.5329482", "0.53283983", "0.5299414", "0.5261541", "0.5256005", "0.52316135", "0.52242804", "0.52031666", "0.5192441", "0.5177707", "0.5162963", "0.51539654", "0.514155...
0.0
-1
pass organisation into the method for useridentity bean
@Override public List<Permission> fetchByOrganisation(Organisation organisation) { return this.permissionDao.fetchByOrganisation(userIdentity.getOrganisation()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String organizationId();", "public long getOrganizationId();", "@Override\n public long getOrganizationId() {\n return _usersCatastropheOrgs.getOrganizationId();\n }", "String getOrganization();", "public int getAD_Org_ID();", "public int getAD_Org_ID();", "public int getAD_Org_ID();", "...
[ "0.63246113", "0.61244833", "0.6120755", "0.6064525", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.6004497", "0.5875279", "0.5820448", "0.58042365", "0.57701355",...
0.0
-1
TODO Autogenerated method stub
@Override public List<Permission> fetchMenuPermissionByOrganisation( Organisation organisation, String val) { return this.permissionDao.fetchMenuPermissionByOrganisation(organisation, val); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public List<Authorization> fecthAuthorizationlist(Integer userid, String authcode) { return this.permissionDao.fetchAuthorizationlist( userid, authcode); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Entry point into token service business logic
public interface ITokenService { Iterable<Token> getAllTokens(); EntityPage<Token> getTokens(final Integer page, final Integer size, final SortDirection sortDirection, final String sortedBy, final Token filter); Token getToken(final String tokenID); void updateToken(f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface TokenService {\n /**\n * 保存用户登录信息到redis\n *\n * @param loginInfo 用户登录信息\n */\n void saveRedisToken(LoginInfo loginInfo);\n /**\n * 获取登录信息从redis\n *\n * @param id 用户id\n * @param deviceId 设备id\n * @param deviceType 设备类型\n */\n LoginInfo getRedisT...
[ "0.6806327", "0.67919636", "0.6671724", "0.6532838", "0.6459768", "0.63615197", "0.6354306", "0.633955", "0.6317172", "0.6284094", "0.6281079", "0.6279304", "0.6259817", "0.62485063", "0.6240241", "0.6220591", "0.61996", "0.618909", "0.6171467", "0.6171467", "0.6171467", "0...
0.6261901
12
Inflates a standard GLSurfaceView.
public MonoscopicView(Context context, AttributeSet attributeSet) { super(context, attributeSet); setPreserveEGLContextOnPause(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initOpenGlView() {\n setEGLContextClientVersion(2);\n setPreserveEGLContextOnPause(true);\n System.out.println(\"************************************************************* init OpenGlView ********************\");\n// setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY)...
[ "0.6771063", "0.65976495", "0.65724283", "0.6464883", "0.6373741", "0.6348982", "0.63071215", "0.62468755", "0.6175344", "0.61430556", "0.61111575", "0.6089068", "0.6067306", "0.60638815", "0.60404694", "0.60312855", "0.60074323", "0.59857666", "0.59766716", "0.5961718", "0.5...
0.0
-1
Finishes initialization. This should be called immediately after the View is inflated.
public void initialize(VideoUiView uiView) { this.uiView = uiView; mediaLoader = new MediaLoader(getContext()); // Configure OpenGL. renderer = new Renderer(uiView, mediaLoader); setEGLContextClientVersion(2); setRenderer(renderer); setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void viewInit() {\n }", "private void initView() {\n\n }", "@Override\n public void initView() {\n }", "public void onFinishInflate() {\n super.onFinishInflate();\n this.mIconView = (ImageView) findViewById(R.id.icon);\n this.mTitleView = (TextView) findViewById(R.id....
[ "0.74535805", "0.7317238", "0.7315049", "0.7299989", "0.72988534", "0.7289408", "0.7289408", "0.72846925", "0.72846925", "0.7260422", "0.7210289", "0.7209468", "0.7204616", "0.7204616", "0.71874034", "0.713248", "0.7080475", "0.7080475", "0.7042725", "0.70404184", "0.70402116...
0.0
-1
Starts the sensor & video only when this View is active.
@Override public void onResume() { super.onResume(); // Use the fastest sensor readings. sensorManager.registerListener( phoneOrientationListener, orientationSensor, SensorManager.SENSOR_DELAY_FASTEST); mediaLoader.resume(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void start() {\n //start eye tracking if it is not running already\n startEyeTracking();\n\n super.start();\n\n //start light sensor\n mLightIntensityManager.startLightMonitoring();\n }", "public void start() {\r\n view.addListener(this);\r\n view...
[ "0.674932", "0.67394465", "0.6604759", "0.6551549", "0.65222", "0.6431564", "0.63865626", "0.6371284", "0.63540035", "0.6335745", "0.63304776", "0.62769043", "0.6217647", "0.61829865", "0.6179318", "0.6177395", "0.6159558", "0.6133998", "0.61330664", "0.6131398", "0.61207014"...
0.0
-1
Stops the sensors & video when the View is inactive to avoid wasting battery.
@Override public void onPause() { mediaLoader.pause(); sensorManager.unregisterListener(phoneOrientationListener); super.onPause(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void onStop() {\n\t\tif(videoviewer != null)\n\t\t\tvideoviewer.stopPlayback();\n\t\tif (timer != null) {\n\t\t\ttimer.cancel();\n\t\t}\n\t\tsuper.onStop();\n\t}", "@Override\n\tpublic void stop() {\n\t\tif (view != null)\n\t\t\tview.stop();\n\t}", "@Override\n\tpublic void onStop() {\n\...
[ "0.74072564", "0.7114252", "0.7087108", "0.7087108", "0.7087108", "0.7086539", "0.6957548", "0.6956862", "0.6946816", "0.6923668", "0.6906872", "0.68875664", "0.68680835", "0.6838512", "0.67869043", "0.6759367", "0.67556876", "0.67451304", "0.6731229", "0.6731158", "0.6719857...
0.0
-1
Destroys the underlying resources. If this is not called, the MediaLoader may leak.
public void destroy() { uiView.setMediaPlayer(null); mediaLoader.destroy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deallocate() {\n\tsetLoaded(false);\n\n if (!externalAudioPlayer) {\n if (audioPlayer != null) {\n audioPlayer.close();\n audioPlayer = null;\n }\n }\n \n\tif (!externalOutputQueue) {\n\t outputQueue.close();\n\t}\n }", "p...
[ "0.78461474", "0.7658639", "0.7606559", "0.7565364", "0.74649084", "0.74470353", "0.73654383", "0.73496526", "0.7346886", "0.734382", "0.72965693", "0.7282727", "0.72487164", "0.7135911", "0.7098211", "0.70859224", "0.7080205", "0.70630467", "0.7052187", "0.7038221", "0.70316...
0.8203755
0
Parses the Intent and loads the appropriate media.
public void loadMedia(Intent intent) { mediaLoader.handleIntent(intent, uiView); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void dispatchLoadPhotoIntent() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Choose Picture\"), REQUEST_LOAD_PHOTO);\n }", "private void handleIntent() ...
[ "0.61956924", "0.5893135", "0.5745607", "0.56915206", "0.5670249", "0.5668211", "0.56470114", "0.56102526", "0.5595423", "0.55541474", "0.5543509", "0.5519733", "0.5481402", "0.54744583", "0.54676276", "0.5466014", "0.5454643", "0.5438632", "0.54339314", "0.5429699", "0.54167...
0.7660212
0
Converts ACTION_MOVE events to pitch & yaw events while compensating for device roll.
@Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: // Initialize drag gesture. previousTouchPointPx.set(event.getX(), event.getY()); return true; case MotionEvent.ACTION_MOVE: // Calcu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void move(TrackerState state) {\n\t\t\n\t\tcurrentPosition[0] = state.devicePos[0];\n\t\tcurrentPosition[1] = state.devicePos[1];\n\t\tcurrentPosition[2] = state.devicePos[2];\n\t\t\n\t\tboolean processMove = false;\n\t\t\n\t\tboolean isWheel = (state.actionType == TrackerState.TYPE_WHEEL);\n\t\tboolean isZ...
[ "0.58064425", "0.58008724", "0.5284585", "0.5259384", "0.5259242", "0.52469134", "0.5207784", "0.52048177", "0.51444215", "0.51375043", "0.5132808", "0.51229495", "0.5099143", "0.5091448", "0.50868714", "0.50845313", "0.50832736", "0.50432956", "0.50192857", "0.49975199", "0....
0.5457652
2
We compensate for roll by rotating in the opposite direction.
@BinderThread public void setRoll(float roll) { this.roll = -roll; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n default void prependRollRotation(double roll)\n {\n AxisAngleTools.prependRollRotation(roll, this, this);\n }", "@Override\n default void appendRollRotation(double roll)\n {\n AxisAngleTools.appendRollRotation(this, roll, this);\n }", "@Override\r\n\tpublic void rotateRight() ...
[ "0.68914413", "0.6677346", "0.6456793", "0.63917404", "0.63527536", "0.63462853", "0.6253422", "0.62048316", "0.6200543", "0.6122471", "0.6085459", "0.6071238", "0.6059202", "0.6055419", "0.6041995", "0.60340315", "0.60323244", "0.6025789", "0.6020491", "0.59987116", "0.59839...
0.66048187
2
Combine touch & sensor data. Orientation = pitch sensor yaw since that is closest to what most users expect the behavior to be.
@Override public void onDrawFrame(GL10 gl) { synchronized (this) { Matrix.multiplyMM(tempMatrix, 0, deviceOrientationMatrix, 0, touchYawMatrix, 0); Matrix.multiplyMM(viewMatrix, 0, touchPitchMatrix, 0, tempMatrix, 0); } Matrix.multiplyMM(viewProjectionMatrix, 0, projectionMatrix, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onSensorChanged(SensorEvent event) {\n if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {\n mAccelerometer = event.values;\n }\n if (event.sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD) {\n mGeomagnetic = event.values;\n }\n\n ...
[ "0.5703029", "0.56325877", "0.5528251", "0.5491705", "0.54888374", "0.54372734", "0.5376504", "0.5301276", "0.5203099", "0.5194837", "0.51909417", "0.51697516", "0.51623935", "0.5122836", "0.5122262", "0.5094352", "0.5088586", "0.50880474", "0.5055709", "0.5017048", "0.496426...
0.445113
79
Adjusts the GL camera's rotation based on device rotation. Runs on the sensor thread.
@BinderThread public synchronized void setDeviceOrientation(float[] matrix, float deviceRoll) { System.arraycopy(matrix, 0, deviceOrientationMatrix, 0, deviceOrientationMatrix.length); this.deviceRoll = -deviceRoll; updatePitchMatrix(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateOrientationAngles() {\n // Update rotation matrix, which is needed to update orientation angles.\n //mSensorManager.getRotationMatrix(mRotationMatrix, null,\n // mAccelerometerReading, mMagnetometerReading);\n\n // \"mRotationMatrix\" now has up-to-date informat...
[ "0.662236", "0.6619188", "0.66110146", "0.65679413", "0.6519934", "0.65032685", "0.64863986", "0.64844525", "0.63010794", "0.629706", "0.6231699", "0.62286615", "0.6220284", "0.6219288", "0.6217746", "0.6119846", "0.6099922", "0.60904384", "0.60816646", "0.607974", "0.6074477...
0.59042025
36
Updates the pitch matrix after a physical rotation or touch input. The pitch matrix rotation is applied on an axis that is dependent on device rotation so this must be called after either touch or sensor update.
@AnyThread private void updatePitchMatrix() { // The camera's pitch needs to be rotated along an axis that is parallel to the real world's // horizon. This is the <1, 0, 0> axis after compensating for the device's roll. Matrix.setRotateM(touchPitchMatrix, 0, -touchPitch, (float) Math.cos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n default void appendPitchRotation(double pitch)\n {\n AxisAngleTools.appendPitchRotation(this, pitch, this);\n }", "public final MotionUpdateEvent setPitch(float pitch) {\n rotations.setY(pitch);\n return this;\n }", "@Override\n default void prependPitchRotation(double...
[ "0.6397778", "0.6114928", "0.589616", "0.5892382", "0.5811201", "0.57990247", "0.5740818", "0.57179946", "0.56828", "0.5674416", "0.5653162", "0.563174", "0.5577868", "0.5577868", "0.5574148", "0.5570757", "0.5568689", "0.5536304", "0.5536304", "0.55154335", "0.54528415", "...
0.8503283
0
Set the pitch offset matrix.
@UiThread public synchronized void setPitchOffset(float pitchDegrees) { touchPitch = pitchDegrees; updatePitchMatrix(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@AnyThread\n private void updatePitchMatrix() {\n // The camera's pitch needs to be rotated along an axis that is parallel to the real world's\n // horizon. This is the <1, 0, 0> axis after compensating for the device's roll.\n Matrix.setRotateM(touchPitchMatrix, 0,\n -touchPitch, (float...
[ "0.6830006", "0.656848", "0.6351859", "0.6068011", "0.5979351", "0.59147984", "0.5828844", "0.57409394", "0.5733558", "0.56819355", "0.5524741", "0.5486888", "0.54859835", "0.5478116", "0.5474475", "0.5438813", "0.5430856", "0.5407813", "0.5393516", "0.5322517", "0.53137493",...
0.60800296
3
Set the yaw offset matrix.
@UiThread public synchronized void setYawOffset(float yawDegrees) { Matrix.setRotateM(touchYawMatrix, 0, -yawDegrees, 0, 1, 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final MotionUpdateEvent setYaw(float yaw) {\n rotations.setX(yaw);\n return this;\n }", "void setOffsetRotation(DMatrix3C R);", "public void setRotation ( float yaw , float pitch ) {\n\t\t// TODO: backwards compatibility required\n\t\texecute ( handle -> handle.setRotation ( yaw , pitch...
[ "0.68567616", "0.67801577", "0.6706831", "0.6616529", "0.65652037", "0.62667644", "0.6246795", "0.6194484", "0.6155108", "0.6129473", "0.60764", "0.5986517", "0.5902689", "0.5808817", "0.5785924", "0.57805026", "0.57347286", "0.5730299", "0.56873876", "0.56786954", "0.5678695...
0.7477151
0
Normalize nodes for update/get LogicalTopology. Remove node that deviceType is not SERVER or SWITCH and remove node that have no ports.
private void normalizeLogicalNode(Connection conn, Collection<OfpConDeviceInfo> nodes) throws SQLException { final String fname = "normalizeLogicalNode"; if (logger.isDebugEnabled()) { logger.debug(String.format("%s(conn=%s, nodes=%s) - start", fname, conn, nodes)); } Map<String, Boolean> devTypeMap = new Ha...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void normalizeLogicalLink(Collection<OfpConDeviceInfo> nodes, Collection<LogicalLink> links) {\n\t\tfinal String fname = \"normalizeLogicalLink\";\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(String.format(\"%s(nodes=%s, links=%s) - start\", fname, nodes, links));\n\t\t}\n\n\t\tList<LogicalLink>...
[ "0.61413795", "0.53164405", "0.50736856", "0.50708157", "0.50594676", "0.49640173", "0.49542245", "0.4894341", "0.48937577", "0.4891107", "0.487765", "0.47774416", "0.47737882", "0.47576618", "0.47416264", "0.47291288", "0.47120413", "0.47120413", "0.47073087", "0.4702707", "...
0.75748265
0
Make node for update/getLogicalTopology from deviceName, and return it.
private OfpConDeviceInfo getLogicalNode(Connection conn, String devName) throws SQLException { final String fname = "getLogicalNode"; if (logger.isDebugEnabled()) { logger.debug(String.format("%s(conn=%s, devName=%s) - start", fname, conn, devName)); } Map<String, Object> devDoc = dao.getNodeInfoFromDeviceNa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract UPnPDeviceNode GetDeviceNode(String name);", "public MockTopologyNode createManualTree() throws ServiceFactory.ServiceNotAvailableException {\n // get a new submitter to create a new tree\n final TopologyDataSubmissionService3.TopologySubmitter3 mysubmitter = mServiceFactory.getService\n ...
[ "0.56546694", "0.5467553", "0.5358953", "0.5271729", "0.52625805", "0.5188381", "0.5105736", "0.5087162", "0.49590617", "0.49571943", "0.48987767", "0.48786473", "0.48371023", "0.48362082", "0.48015383", "0.47866794", "0.4742919", "0.47421503", "0.47192436", "0.47046742", "0....
0.60054165
0
Normalize links for update/get LogicalTopology. Remove list that does not contains nodes.
private void normalizeLogicalLink(Collection<OfpConDeviceInfo> nodes, Collection<LogicalLink> links) { final String fname = "normalizeLogicalLink"; if (logger.isDebugEnabled()) { logger.debug(String.format("%s(nodes=%s, links=%s) - start", fname, nodes, links)); } List<LogicalLink> removalLinks = new ArrayL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void normalizeLogicalNode(Connection conn, Collection<OfpConDeviceInfo> nodes) throws SQLException {\n\t\tfinal String fname = \"normalizeLogicalNode\";\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(String.format(\"%s(conn=%s, nodes=%s) - start\", fname, conn, nodes));\n\t\t}\n\t\tMap<String, Boo...
[ "0.6339175", "0.60706234", "0.56066865", "0.5584677", "0.5535781", "0.55078614", "0.55054295", "0.54990506", "0.54580605", "0.54408413", "0.5439286", "0.53433216", "0.5339406", "0.53249997", "0.53189844", "0.52495986", "0.5225137", "0.51822203", "0.5181129", "0.5180425", "0.5...
0.76067173
0
Make list of link for LogicalTopology from deviceName, and return it.
private Set<LogicalLink> getLogicalLink(Connection conn, String devName, boolean setPortNumber) throws SQLException { final String fname = "getLogicalLink"; if (logger.isDebugEnabled()) { logger.debug(String.format("%s(conn=%s, devName=%s, setPortNumber=%s) - start", fname, conn, devName, setPortNumber)); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private OfpConDeviceInfo getLogicalNode(Connection conn, String devName) throws SQLException {\n\t\tfinal String fname = \"getLogicalNode\";\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(String.format(\"%s(conn=%s, devName=%s) - start\", fname, conn, devName));\n\t\t}\n\t\tMap<String, Object> devDoc = da...
[ "0.53955233", "0.5060995", "0.49643603", "0.49619588", "0.48512927", "0.48071614", "0.47623092", "0.474373", "0.47186598", "0.46416235", "0.46410096", "0.46315882", "0.4619952", "0.46067375", "0.46011275", "0.46004587", "0.45956734", "0.45547363", "0.4538048", "0.45119807", "...
0.59625334
0
Calculate new usedvalue when reduced patchWiring.
private long calcReduceCableLinkUsed(Connection conn, Map<String, Object> link, long band) throws SQLException { final String fname = "updateCableLinkUsed"; if (logger.isDebugEnabled()) { logger.debug(String.format("%s(conn=%s, link=%s, band=%d) - start", fname, conn, link, band)); } long used = (Integer)lin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ComputerMethod\n private FloatingLong getEnergyUsage() {\n return getActive() ? energyContainer.getEnergyPerTick() : FloatingLong.ZERO;\n }", "public Long getUsed() {\r\n return used;\r\n }", "@ComputerMethod\n private FloatingLong getEnergyUsage() {\n return energyContainer.g...
[ "0.6396292", "0.63341707", "0.62470114", "0.6137153", "0.6016186", "0.5980716", "0.59663796", "0.5876402", "0.5863337", "0.5821151", "0.57796466", "0.57642275", "0.573109", "0.57176954", "0.561206", "0.55831486", "0.55717695", "0.55664617", "0.55552983", "0.55549484", "0.5553...
0.5260334
71
Get band width from Orient DB
private long getBandWidth(Connection conn, String deviceName, String portName) throws SQLException { long band = 0; try { band = Long.parseLong((String)(dao.getPortBandFromDeviceNamePortName(conn, deviceName, portName))); } catch (NullPointerException e) { throw new RuntimeException(String.format(NOT_FOUND,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BigDecimal getBandWidth() {\r\n return bandWidth;\r\n }", "public byte getWidth();", "public int getWidth() {\n\treturn width;\n\t//return myOven.getWidth();\n}", "public Integer getWidth(){return this.width;}", "public Integer getWidth() {\n return this.width;\n }", "@DISPID(100) //...
[ "0.6822074", "0.65063286", "0.6428608", "0.63984", "0.6350402", "0.63074386", "0.62994856", "0.62987167", "0.62736136", "0.62736136", "0.625702", "0.6255857", "0.6250127", "0.622489", "0.62148046", "0.62148046", "0.61760193", "0.6174763", "0.6171632", "0.6171523", "0.6171064"...
0.6222194
14
Calc Vlan tag overhead
private long calcVlanTagOverhead(Long band) { long bandBps = band * CONVERT_MBPS_BPS; long maxEthFrameNum = bandBps / MIN_ETHER_FRAME_SIZE_BIT; long vlanTagOverheadBpsPerSec = maxEthFrameNum * VLAN_FEALD_SIZE_BIT; long ret = vlanTagOverheadBpsPerSec / CONVERT_MBPS_BPS; return ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTagSize();", "public int getTagSize()\r\n\t{\r\n\t\treturn tagSize;\r\n\t}", "void countTagStatistics(){\t\n\t\thtmlParsed.traverse(new NodeVisitor() {\n\t\t\tdouble count = 0.;\n\t\t\tString tagName = \"\";\n\t\t public void head(Node node, int depth) {\n\t\t \tif (node instanceof Element) {\n\t\...
[ "0.6363708", "0.5683441", "0.56569654", "0.56209964", "0.5620038", "0.557339", "0.530368", "0.52743995", "0.5180156", "0.5169557", "0.5163215", "0.51535916", "0.5106787", "0.5079684", "0.50385517", "0.5034738", "0.5029109", "0.50142974", "0.5009751", "0.49950692", "0.4989574"...
0.6659951
0
Delete logical link, in fact remove patch wiring and update links used value.
private void addDeclementLogicalLink(Connection conn, LogicalLink link, MultivaluedMap<String, SetFlowToOFC> reducedFlows) throws SQLException { PortData inPort = link.getLink().get(0); /* get route */ Map<String, Object> logicalLinkMap = dao.getLogicalLinkFromNodeNamePortName(conn, inPort.getDeviceName(), inPo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int delLink(Link link) {\n\t\treturn 0;\n\t}", "public void removeDeviceServiceLink();", "public void deletelink(Integer linkId);", "public void deleteLink(IHyperLink link)\n throws OculusException;", "private void linkRemoved(Link link) {\n\n\t}", "boolean removeLink(Link link);",...
[ "0.6990126", "0.68104273", "0.6746025", "0.6635844", "0.6577994", "0.6459069", "0.62481856", "0.61539006", "0.615071", "0.61413777", "0.60887516", "0.6081989", "0.60691535", "0.60378534", "0.5965778", "0.5820625", "0.58120644", "0.58032876", "0.5802889", "0.57806975", "0.5770...
0.0
-1
Create logical link, in fact insert patch wiring, update links used value, and then notify NCS.
private void addInclementLogicalLink(Connection conn, LogicalLink link, MultivaluedMap<String, SetFlowToOFC> augmentedFlows) throws SQLException, NoRouteException { PortData tx = link.getLink().get(0); PortData rx = link.getLink().get(1); /* get rid of txPort/rxPort */ String txRid = null; String rxRid = null...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void mutateAddLink() {\n\t\t// Make sure network is not fully connected\n\n\t\t// Sum number of connections\n\t\tint totalconnections = numGenes();\n\n\t\t// Find number of each type of node\n\t\tint in = population.numInputs;\n\t\tint out = population.numOutputs;\n\t\tint hid = numNodes() - (in + out);\...
[ "0.5882346", "0.57663786", "0.57432735", "0.55552185", "0.549953", "0.5466648", "0.53128564", "0.5302869", "0.5271972", "0.5263046", "0.52440614", "0.5241263", "0.5236646", "0.5231125", "0.5196202", "0.51786083", "0.5121298", "0.51136947", "0.5103963", "0.50952315", "0.509244...
0.52205276
14
Created by Jurel on 10/23/2015.
public interface Observer { public void update(float temp, float humidity, float pressure); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "protected boolean func_70814_o() { return true; }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}"...
[ "0.59408295", "0.59193635", "0.5820147", "0.5817149", "0.5749767", "0.57429385", "0.57429385", "0.5739728", "0.5731761", "0.572507", "0.5722569", "0.56719667", "0.56638426", "0.5658286", "0.56342953", "0.56342953", "0.56342953", "0.56342953", "0.56342953", "0.56277657", "0.56...
0.0
-1
Constructor por defecto. Instanciamos los mapas correspondientes a las "tablas" y "secuencias".
BaseDatosMemoria() { baseDatos = new HashMap<>(); secuencias = new HashMap<>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void inicializarTablero() {\n for (int i = 0; i < casillas.length; i++) {\n for (int j = 0; j < casillas[i].length; j++) {\n casillas[i][j] = new Casilla();\n }\n }\n }", "public static void adicionaMap2() {\n\t\t\t\tcDebitos_DFlorianopolis.put(\"seq\...
[ "0.67048174", "0.65614235", "0.65310615", "0.63675773", "0.6366978", "0.6205446", "0.6160112", "0.6096611", "0.60504496", "0.6029276", "0.60240364", "0.6017218", "0.60089636", "0.5998407", "0.5976785", "0.5963542", "0.5956105", "0.5944695", "0.59443283", "0.59323794", "0.5931...
0.6721008
0
Almacenamos en la base de datos los datos contenidos en un Modelo.
public boolean almacenar(Modelo modelo) { boolean retVal = false; //determinamos el nombre de la clase para determinar que "tabla" se utilizara //utilizamos clases de utilería de commons-lang. String tabla = ClassUtils.getShortClassName(modelo.getClass()); Syste...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void crearModelo() {\n modeloagr = new DefaultTableModel(null, columnasAgr) {\n public boolean isCellEditable(int fila, int columna) {\n return false;\n }\n };\n tbl.llenarTabla(AgendarA.tblAgricultor, modeloagr, columnasAgr.length, \"SELECT idPerson...
[ "0.6751751", "0.6719308", "0.65009236", "0.64335924", "0.63737935", "0.63101494", "0.61586946", "0.61389697", "0.61201036", "0.6065427", "0.60366607", "0.6008197", "0.60078835", "0.59933394", "0.59770983", "0.5974069", "0.59726727", "0.59673804", "0.59495825", "0.5946735", "0...
0.673459
1
Obtenemos el siguiente valor de la secuencia relacionada a la tabla y lo actualiza.
private Integer getSecuencia(String nombreTabla) { Integer secuencia = null; // determinamos la secuencia a utilizar en base al nombre de la tabla if(secuencias.containsKey(nombreTabla)) { // si ya existe la recuperamos secuencia = secuencias.get(nombreTabla); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ParqueaderoEntidad actualizar(ParqueaderoEntidad parqueadero);", "public void ActaulizarTabla() {\n int id = Integer.parseInt(txtId.getText());\n int unidad = Integer.parseInt(txtUsuario.getText());\n String placa = txtCorreo.getText();\n\n try {\n PreparedStatement ps = nu...
[ "0.63411385", "0.6295406", "0.6249885", "0.621736", "0.6205486", "0.6137161", "0.6093092", "0.5967337", "0.59321547", "0.5925257", "0.58577305", "0.58107376", "0.58096695", "0.58031976", "0.5790974", "0.5776352", "0.57565296", "0.57556695", "0.575365", "0.5750083", "0.5742205...
0.59340876
8
Changes the GameObject's tile image for a walking animation.
void walkAnimation(int direction, int index) { switch (direction) { case 0: if (flip) { tile.setImg(upSprites1.get(index)); } else { tile.setImg(upSprites2.get(index)); } break; case 1: if (flip) { tile.setImg(downSprites2.g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void animateWalking() {\n if (seqIdx > 7) {\n seqIdx = 0;\n }\n if (walking) {\n this.setImage(\"images/bat/bat_\" + seqIdx + FILE_SUFFIX);\n } else {\n this.setImage(\"images/bat/bat_0.png\");\n }\n seqIdx++;\n ...
[ "0.72064453", "0.6480292", "0.5946465", "0.5866645", "0.5852269", "0.58366257", "0.5828732", "0.5820677", "0.57944703", "0.57912207", "0.57899743", "0.57628363", "0.5758984", "0.5758652", "0.57516265", "0.57371926", "0.5730826", "0.57217586", "0.56999826", "0.5699591", "0.569...
0.65773714
1
Creates an Emotion object above the GameObject.
void displayEmotion() { if (emotion.getLifetime() == 0) { emotion = null; } else { emotion.decreaseLifetime(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createPlayerExplosion() {\n\t\tAsteroidsExplosion explosion = new AsteroidsExplosion(GameObject.ROOT, this, 50, 20.0, 3.0);\n\t\texplosion.translate(player.getPositionVector());\n\t\totherObjects.add(explosion);\n\t}", "private void addHero()\n {\n // Initial horizontal position\n i...
[ "0.6155864", "0.5803539", "0.5610887", "0.56103224", "0.5491587", "0.54714316", "0.5471394", "0.54622686", "0.5444056", "0.542274", "0.54214895", "0.5385739", "0.5384524", "0.53475624", "0.53197896", "0.5319438", "0.5272553", "0.5270782", "0.52588505", "0.52540255", "0.523664...
0.4882154
66
Created by Tanner on 12/16/2016.
public interface SpriteInterface { void start(); void update(double timeChange); void draw(); void changeLocation(float xPos, float yPos, float rotation, float scaleX, float scaleY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpubl...
[ "0.6040784", "0.5958848", "0.5881894", "0.58776605", "0.5774199", "0.576116", "0.57297444", "0.57297444", "0.5694601", "0.56525165", "0.5597258", "0.55791086", "0.5566723", "0.55539477", "0.55524665", "0.5544612", "0.55429995", "0.5531344", "0.5528329", "0.5523306", "0.552330...
0.0
-1
TODO Autogenerated method stub
@Override public void action() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Output only. The unique identifier of this transition route. string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
java.lang.String getName();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRouteName() {\n return routeName;\n }", "String getRouteID();", "private String getName(String name) {\n\t\tint n;\n\t\tif (name.startsWith(\"place_\")) {\n\t\t\tn = Integer.parseInt(name.substring(6));\n\t\t} else if (name.startsWith(\"t_\")) {\n\t\t\tn = Integer.parseInt(name.subst...
[ "0.62862194", "0.6102271", "0.55974925", "0.554746", "0.54973716", "0.54911333", "0.54743516", "0.5458081", "0.5411409", "0.53935045", "0.53543043", "0.533562", "0.53257465", "0.5271917", "0.5269514", "0.52645105", "0.52191836", "0.52052146", "0.519653", "0.51896554", "0.5176...
0.0
-1
Output only. The unique identifier of this transition route. string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.ByteString getNameBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRouteName() {\n return routeName;\n }", "String getRouteID();", "private String getName(String name) {\n\t\tint n;\n\t\tif (name.startsWith(\"place_\")) {\n\t\t\tn = Integer.parseInt(name.substring(6));\n\t\t} else if (name.startsWith(\"t_\")) {\n\t\t\tn = Integer.parseInt(name.subst...
[ "0.6281736", "0.61005366", "0.55972904", "0.55465704", "0.5495915", "0.54883903", "0.5472104", "0.5456346", "0.5409681", "0.5391939", "0.5350923", "0.5338445", "0.53226674", "0.52709204", "0.52688926", "0.52614474", "0.5216372", "0.5204534", "0.51972795", "0.5189655", "0.5175...
0.0
-1
Optional. The description of the transition route. The maximum length is 500 characters. string description = 8 [(.google.api.field_behavior) = OPTIONAL];
java.lang.String getDescription();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRouteDescription() {\n\t\tFlightRoutePersistenceProvider routePersistor = FlightRoutePersistenceProvider.getInstance();\n\t\tByteArrayInputStream inStream;\n\t\tIFlightRoute froute;\n\n\t\tIFlightRouteplanningRemoteService service;\n\t\tBaseServiceProvider provider = MyUI.getProvider();\n\n\t\tStr...
[ "0.6964355", "0.626011", "0.626011", "0.6166057", "0.612911", "0.612911", "0.6104097", "0.60875314", "0.60809577", "0.6071495", "0.6068788", "0.6068788", "0.6068788", "0.6068788", "0.6068788", "0.60526425", "0.60526013", "0.6038845", "0.6012993", "0.6012993", "0.6012993", "...
0.0
-1
Optional. The description of the transition route. The maximum length is 500 characters. string description = 8 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.ByteString getDescriptionBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRouteDescription() {\n\t\tFlightRoutePersistenceProvider routePersistor = FlightRoutePersistenceProvider.getInstance();\n\t\tByteArrayInputStream inStream;\n\t\tIFlightRoute froute;\n\n\t\tIFlightRouteplanningRemoteService service;\n\t\tBaseServiceProvider provider = MyUI.getProvider();\n\n\t\tStr...
[ "0.69639283", "0.6259211", "0.6259211", "0.6164449", "0.61284757", "0.61284757", "0.6103329", "0.6087432", "0.60809195", "0.6071154", "0.60681975", "0.60681975", "0.60681975", "0.60681975", "0.60681975", "0.6052209", "0.60518515", "0.6038301", "0.60125506", "0.60125506", "0.6...
0.0
-1
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference]( At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are sp...
java.lang.String getCondition();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCondition(String condition) {\n\tthis.condition = condition;\n}", "public String getCondition() {\n return condition;\n }", "com.google.protobuf.ByteString getConditionBytes();", "public String getCondition() {\n\treturn condition;\n}", "public String getCondition() {\n\t\treturn c...
[ "0.59849197", "0.58912766", "0.5690656", "0.56535274", "0.5593838", "0.55488575", "0.5511378", "0.5393282", "0.5372991", "0.52916765", "0.51862913", "0.51843846", "0.5170743", "0.51554525", "0.50760627", "0.50559956", "0.50419074", "0.5037107", "0.50306493", "0.50150985", "0....
0.5791385
2
The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters]. See the [conditions reference]( At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are sp...
com.google.protobuf.ByteString getConditionBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCondition(String condition) {\n\tthis.condition = condition;\n}", "public String getCondition() {\n return condition;\n }", "java.lang.String getCondition();", "public String getCondition() {\n\treturn condition;\n}", "public String getCondition() {\n\t\treturn condition;\n\t}", ...
[ "0.5984156", "0.589085", "0.5791105", "0.56532186", "0.5593219", "0.5547993", "0.5509832", "0.5391938", "0.5373294", "0.52894974", "0.5185923", "0.5184032", "0.51710886", "0.51547515", "0.50745374", "0.505505", "0.50406057", "0.5035835", "0.5028903", "0.501441", "0.49854326",...
0.56898385
3
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first. .google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
boolean hasTriggerFulfillment();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.cloud.dialogflow.cx.v3beta1.Fulfillment getTriggerFulfillment();", "com.google.cloud.dialogflow.cx.v3beta1.FulfillmentOrBuilder getTriggerFulfillmentOrBuilder();", "public Builder setInitialPromptFulfillment(\n com.google.cloud.dialogflow.cx.v3beta1.Fulfillment value) {\n if (ini...
[ "0.775372", "0.75121325", "0.55707115", "0.50222677", "0.48693854", "0.48582926", "0.48277166", "0.4808744", "0.47890952", "0.47827345", "0.46985054", "0.46968833", "0.46882838", "0.4663628", "0.4650023", "0.45663157", "0.45433", "0.45127606", "0.44884115", "0.4483764", "0.44...
0.6390022
2
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first. .google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment getTriggerFulfillment();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.cloud.dialogflow.cx.v3beta1.FulfillmentOrBuilder getTriggerFulfillmentOrBuilder();", "boolean hasTriggerFulfillment();", "public Builder setInitialPromptFulfillment(\n com.google.cloud.dialogflow.cx.v3beta1.Fulfillment value) {\n if (initialPromptFulfillmentBuilder_ == null) {\n ...
[ "0.75118184", "0.6390851", "0.55707103", "0.50231856", "0.4869597", "0.48588994", "0.48283374", "0.48088425", "0.47888523", "0.47832134", "0.46987358", "0.46975455", "0.46901008", "0.46641925", "0.46521127", "0.45666906", "0.45439142", "0.45149878", "0.44908616", "0.44836113", ...
0.77540827
0
The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first. .google.cloud.dialogflow.cx.v3beta1.Fulfillment trigger_fulfillment = 3;
com.google.cloud.dialogflow.cx.v3beta1.FulfillmentOrBuilder getTriggerFulfillmentOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.cloud.dialogflow.cx.v3beta1.Fulfillment getTriggerFulfillment();", "boolean hasTriggerFulfillment();", "public Builder setInitialPromptFulfillment(\n com.google.cloud.dialogflow.cx.v3beta1.Fulfillment value) {\n if (initialPromptFulfillmentBuilder_ == null) {\n if (val...
[ "0.77528274", "0.6390219", "0.5570705", "0.50218284", "0.48690838", "0.48577476", "0.48273894", "0.48085552", "0.47885585", "0.47833169", "0.46985096", "0.46967518", "0.46885934", "0.46631703", "0.4650827", "0.45668608", "0.45428008", "0.45136872", "0.4489743", "0.44834584", ...
0.7511251
1
The ARN of the user.
public void setArn(String arn) { this.arn = arn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUserArn() {\n return this.userArn;\n }", "String getArn();", "public String getArn() {\n return this.arn;\n }", "public String getArn() {\n return this.arn;\n }", "public String getArn() {\n return this.arn;\n }", "public String getArn() {\n ...
[ "0.77716017", "0.7066828", "0.69880575", "0.69880575", "0.69880575", "0.69880575", "0.6489828", "0.63612413", "0.6148722", "0.61203575", "0.60555124", "0.6000592", "0.59179157", "0.58297867", "0.57366854", "0.5693056", "0.56469065", "0.5559157", "0.5542567", "0.54868937", "0....
0.53719413
28
The ARN of the user.
public String getArn() { return this.arn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUserArn() {\n return this.userArn;\n }", "String getArn();", "@Id\n @Output\n public String getArn() {\n return arn;\n }", "private String getRoleArn(String accout, String role){\n\t\treturn \"arn:aws:iam::\"+accout+\":role/\"+role;\n\t}", "public String getUserAl...
[ "0.77716017", "0.7066828", "0.6489828", "0.63612413", "0.6148722", "0.61203575", "0.60555124", "0.6000592", "0.59179157", "0.58297867", "0.57366854", "0.5693056", "0.56469065", "0.5559157", "0.5542567", "0.54868937", "0.5414682", "0.5414682", "0.5414682", "0.53850055", "0.537...
0.69880575
5
The ARN of the user.
public User withArn(String arn) { setArn(arn); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUserArn() {\n return this.userArn;\n }", "String getArn();", "public String getArn() {\n return this.arn;\n }", "public String getArn() {\n return this.arn;\n }", "public String getArn() {\n return this.arn;\n }", "public String getArn() {\n ...
[ "0.77737033", "0.70652616", "0.6986296", "0.6986296", "0.6986296", "0.6986296", "0.64879984", "0.63592315", "0.6151001", "0.6120382", "0.60542107", "0.6002722", "0.5919939", "0.5830687", "0.5737467", "0.5693264", "0.5559941", "0.55425185", "0.54842174", "0.5413874", "0.541387...
0.5649144
16
The email address of the user. Users' email addresses are casesensitive.
public void setUserName(String userName) { this.userName = userName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getUserEmailAddress() {\n\t\tUser user = UserDirectoryService.getCurrentUser();\n\t\tString emailAddress = user.getEmail();\n\n\t\treturn emailAddress;\n\t}", "public String getEmail() {\n return sp.getString(USER_EMAIL, null);\n }", "public java.lang.String getUserEmail() {\n j...
[ "0.84626836", "0.83725166", "0.83345735", "0.8331046", "0.822296", "0.8205672", "0.807341", "0.8008404", "0.8008404", "0.79544806", "0.7866207", "0.7823317", "0.77799344", "0.7766912", "0.77381146", "0.77204114", "0.7700737", "0.767039", "0.767039", "0.767039", "0.767039", ...
0.0
-1
The email address of the user. Users' email addresses are casesensitive.
public String getUserName() { return this.userName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getUserEmailAddress() {\n\t\tUser user = UserDirectoryService.getCurrentUser();\n\t\tString emailAddress = user.getEmail();\n\n\t\treturn emailAddress;\n\t}", "public String getEmail() {\n return sp.getString(USER_EMAIL, null);\n }", "public java.lang.String getUserEmail() {\n j...
[ "0.84626836", "0.83725166", "0.83345735", "0.8331046", "0.822296", "0.8205672", "0.807341", "0.8008404", "0.8008404", "0.79544806", "0.7866207", "0.7823317", "0.77799344", "0.7766912", "0.77381146", "0.77204114", "0.7700737", "0.767039", "0.767039", "0.767039", "0.767039", ...
0.0
-1
The email address of the user. Users' email addresses are casesensitive.
public User withUserName(String userName) { setUserName(userName); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getUserEmailAddress() {\n\t\tUser user = UserDirectoryService.getCurrentUser();\n\t\tString emailAddress = user.getEmail();\n\n\t\treturn emailAddress;\n\t}", "public String getEmail() {\n return sp.getString(USER_EMAIL, null);\n }", "public java.lang.String getUserEmail() {\n j...
[ "0.84626836", "0.83725166", "0.83345735", "0.8331046", "0.822296", "0.8205672", "0.807341", "0.8008404", "0.8008404", "0.79544806", "0.7866207", "0.7823317", "0.77799344", "0.7766912", "0.77381146", "0.77204114", "0.7700737", "0.767039", "0.767039", "0.767039", "0.767039", ...
0.0
-1
Specifies whether the user in the user pool is enabled.
public void setEnabled(Boolean enabled) { this.enabled = enabled; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEnabledByUser() {\n return mEnabledByUser;\n }", "@Override\n public boolean isEnabled() {\n return user.hasBeenActivated;\n }", "public void setEnabled(Boolean value) { this.myEnabled = value.booleanValue(); }", "@ApiModelProperty(value = \"User is enabled or ...
[ "0.67733914", "0.63554204", "0.6330268", "0.631168", "0.63031644", "0.6207997", "0.6186539", "0.6125218", "0.6122142", "0.6075562", "0.6028029", "0.60167027", "0.5976605", "0.5959231", "0.59317195", "0.59098494", "0.5894573", "0.5894573", "0.5815851", "0.5815704", "0.5815704"...
0.5572733
56
Specifies whether the user in the user pool is enabled.
public Boolean getEnabled() { return this.enabled; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEnabledByUser() {\n return mEnabledByUser;\n }", "@Override\n public boolean isEnabled() {\n return user.hasBeenActivated;\n }", "public void setEnabled(Boolean value) { this.myEnabled = value.booleanValue(); }", "@ApiModelProperty(value = \"User is enabled or ...
[ "0.6775098", "0.63565594", "0.6331958", "0.6313802", "0.63045305", "0.6209358", "0.6188251", "0.6127331", "0.612362", "0.60765254", "0.6029914", "0.60182935", "0.5979081", "0.59612423", "0.59327596", "0.59109956", "0.5895865", "0.5895865", "0.5816808", "0.5816808", "0.5815776...
0.0
-1