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
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.PARENT_ASSIGN_LOG_ID
public void setParentAssignLogId(Long parentAssignLogId) { this.parentAssignLogId = parentAssignLogId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getParentAssignLogId() {\n return parentAssignLogId;\n }", "public void setAssignLogId(Long assignLogId) {\n this.assignLogId = assignLogId;\n }", "public Long getAssignLogId() {\n return assignLogId;\n }", "public void setReparentTransactionRecordId( int reparentTra...
[ "0.7090601", "0.62055767", "0.6109832", "0.5640912", "0.5410921", "0.537981", "0.53352016", "0.5271616", "0.5265231", "0.52313805", "0.51598305", "0.5153361", "0.5134303", "0.51313186", "0.5095953", "0.50737697", "0.5060556", "0.50592786", "0.50549763", "0.5041793", "0.503152...
0.7420611
0
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.ORG_ID
public Long getOrgId() { return orgId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getp_org_id() {\n return (String)getNamedWhereClauseParam(\"p_org_id\");\n }", "public Number getOrgId() {\n return (Number)getAttributeInternal(ORGID);\n }", "public Number getOrgId() {\n return (Number) getAttributeInternal(ORGID);\n }", "public java.lang.String ...
[ "0.7003095", "0.6857118", "0.6809044", "0.6792788", "0.6670086", "0.66101795", "0.655351", "0.65372765", "0.6486771", "0.6465292", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", "0.6413836", ...
0.6635799
9
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.ORG_ID
public void setOrgId(Long orgId) { this.orgId = orgId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOrgId(Number value) {\n setAttributeInternal(ORGID, value);\n }", "public void setOrgId(Number value) {\n setAttributeInternal(ORGID, value);\n }", "public void setAD_Org_ID (int AD_Org_ID);", "public void setAD_Org_ID (int AD_Org_ID);", "public void setAD_Org_ID (int AD_...
[ "0.670631", "0.670631", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.6651149", "0.66179293", "0.65883255", "0.6474194", "0.6264809", "0.61987585", "0.61664855", ...
0.59087735
35
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.OP_ID
public Long getOpId() { return opId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getAccOpId() {\n return accOpId_;\n }", "public int getAccOpId() {\n return accOpId_;\n }", "public int getCurrentOperationId(){\n int nmr = 1;\n operationLock.lock();\n try (\n Statement s = rawDataSource.getConnection().createStatement(ResultSet.TYPE...
[ "0.62030476", "0.61497474", "0.6146427", "0.59941936", "0.59283566", "0.588748", "0.5814992", "0.5805181", "0.5762818", "0.5723037", "0.57042485", "0.56864166", "0.56712586", "0.56509435", "0.5608965", "0.5593473", "0.5593473", "0.5593473", "0.5593473", "0.5592325", "0.558059...
0.6759422
2
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.OP_ID
public void setOpId(Long opId) { this.opId = opId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setAccOpId(int value) {\n \n accOpId_ = value;\n onChanged();\n return this;\n }", "public void setOp(int op) {\n\t\tthis.op = op;\n\t}", "public void setOperationID(String operaionId) {\n\t\tthis.operationId = operaionId;\n\t}", "public Long getOpId() {\n return ...
[ "0.5740879", "0.5677488", "0.5664484", "0.5661473", "0.5661473", "0.5661473", "0.5661473", "0.5453204", "0.53702825", "0.53436846", "0.5340674", "0.53185886", "0.529451", "0.52796817", "0.5218067", "0.5190077", "0.5177313", "0.5168576", "0.5141894", "0.5141894", "0.5117624", ...
0.6383032
2
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.DONE_DATE
public Date getDoneDate() { return doneDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date getFinishDate() {\n if (this.finishDate == null) {\n return null;\n }\n return new Date(this.finishDate.getTime());\n }", "public String getCompletedDate(int position) {\n HashMap<String, String> map = list.get(position);\n return m...
[ "0.60686344", "0.5934143", "0.5861271", "0.5831406", "0.5758756", "0.57326716", "0.5722831", "0.570311", "0.56490284", "0.5645071", "0.56016463", "0.55728203", "0.55700713", "0.55700713", "0.55414635", "0.55293936", "0.5502103", "0.545218", "0.545218", "0.545218", "0.545218",...
0.64984465
2
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.DONE_DATE
public void setDoneDate(Date doneDate) { this.doneDate = doneDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCompletedDate(Date value) {\n this.completedDate = value;\n }", "public Date getDoneDate() {\n return doneDate;\n }", "public Date getDoneDate() {\n return doneDate;\n }", "public Date getDoneDate() {\n return doneDate;\n }", "public Date getDoneDate()...
[ "0.63226813", "0.62081444", "0.62081444", "0.62081444", "0.62081444", "0.5888365", "0.58092016", "0.5699533", "0.5647734", "0.55488515", "0.55282134", "0.5523977", "0.5461161", "0.5410263", "0.53760105", "0.5369526", "0.53657967", "0.53570867", "0.53570867", "0.5331986", "0.5...
0.6812489
2
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.DONE_CODE
public String getDoneCode() { return doneCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getDoneCode() {\n return doneCode;\n }", "public Long getDoneCode() {\n return doneCode;\n }", "public Long getDoneCode() {\n return doneCode;\n }", "public void setDoneCode(Long doneCode) {\n this.doneCode = doneCode;\n }", "public void setDoneCode(Long ...
[ "0.6807248", "0.6807248", "0.6807248", "0.60129875", "0.60129875", "0.60129875", "0.56314486", "0.5570864", "0.55458677", "0.54438007", "0.53893244", "0.5356085", "0.52870196", "0.52870196", "0.52870196", "0.52870196", "0.52870196", "0.52391046", "0.518619", "0.5145745", "0.5...
0.67202103
3
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.DONE_CODE
public void setDoneCode(String doneCode) { this.doneCode = doneCode == null ? null : doneCode.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDoneCode(Long doneCode) {\n this.doneCode = doneCode;\n }", "public void setDoneCode(Long doneCode) {\n this.doneCode = doneCode;\n }", "public void setDoneCode(Long doneCode) {\n this.doneCode = doneCode;\n }", "public Long getDoneCode() {\n return doneCod...
[ "0.70587593", "0.70587593", "0.70587593", "0.6228662", "0.6228662", "0.6228662", "0.6189622", "0.5399529", "0.5360703", "0.5261524", "0.5170903", "0.50325763", "0.5028615", "0.49822968", "0.4865922", "0.48645055", "0.48598707", "0.48422277", "0.4792979", "0.47927728", "0.4784...
0.6586605
3
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.STATE
public Long getState() { return state; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getSqlState();", "public java.lang.String getSqlState() {\n java.lang.Object ref = sqlState_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref...
[ "0.6787798", "0.6311447", "0.63069105", "0.6190556", "0.58802783", "0.5816539", "0.5816539", "0.5812245", "0.5812245", "0.5811928", "0.5811928", "0.5811928", "0.58006805", "0.58006805", "0.58005905", "0.58005905", "0.58005905", "0.58005905", "0.5779363", "0.5777747", "0.57760...
0.58251756
5
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.STATE
public void setState(Long state) { this.state = state; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void changeStatus(String state)\n { call_state=state;\n printLog(\"state: \"+call_state,Log.LEVEL_MEDIUM); \n }", "public void setState(String state);", "public void setState(String state){\n this.state = state;\n }", "public void setStateCode(java.lang.String stateCode) {\n\t\t...
[ "0.57828504", "0.56271327", "0.5610628", "0.558339", "0.5534821", "0.553197", "0.553197", "0.5504279", "0.5504279", "0.55017334", "0.5488967", "0.5488967", "0.5488967", "0.5488967", "0.5488967", "0.5488967", "0.5488967", "0.5488967", "0.5487572", "0.5484708", "0.54809046", ...
0.5746439
1
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.REMARKS
public String getRemarks() { return remarks; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRemarks() {\n return (String)getAttributeInternal(REMARKS);\n }", "public String getRemarks() {\n return (String)getAttributeInternal(REMARKS);\n }", "public String getRemarks() {\n return (String)getAttributeInternal(REMARKS);\n }", "public String getRemarks() ...
[ "0.6505421", "0.6505421", "0.6505421", "0.6505421", "0.6440379", "0.6385697", "0.6385697", "0.62903196", "0.627778", "0.62580967", "0.61428726", "0.6068694", "0.60570306", "0.60570306", "0.60570306", "0.60570306", "0.60570306", "0.60570306", "0.6038897", "0.5982564", "0.59766...
0.62430036
16
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.REMARKS
public void setRemarks(String remarks) { this.remarks = remarks == null ? null : remarks.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRemarks(String value) {\r\n setAttributeInternal(REMARKS, value);\r\n }", "public void setRemarks(String value) {\n setAttributeInternal(REMARKS, value);\n }", "public void setRemarks(String value) {\n setAttributeInternal(REMARKS, value);\n }", "public void setRe...
[ "0.69466984", "0.692934", "0.692934", "0.692934", "0.692934", "0.692934", "0.692934", "0.6517145", "0.65086424", "0.6501556", "0.64443403", "0.64030385", "0.6275705", "0.62446237", "0.61687404", "0.6031123", "0.59897995", "0.5974299", "0.5974299", "0.59449875", "0.59402156", ...
0.64213264
15
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.SUB_OBJECT_TYPE
public String getSubObjectType() { return subObjectType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSubSubType() {\r\n\t\treturn subSubType;\r\n\t}", "public byte getSubType() {\n return this.subType;\n }", "public void setSubObjectType(String subObjectType) {\n this.subObjectType = subObjectType == null ? null : subObjectType.trim();\n }", "public String getSubType() {...
[ "0.61735165", "0.6133804", "0.6068773", "0.5921486", "0.58587116", "0.5784199", "0.57687205", "0.56993306", "0.56842524", "0.56794876", "0.5676447", "0.56552905", "0.56272453", "0.55698955", "0.5564378", "0.55631256", "0.55470073", "0.5536643", "0.55134267", "0.5465509", "0.5...
0.7025657
0
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.SUB_OBJECT_TYPE
public void setSubObjectType(String subObjectType) { this.subObjectType = subObjectType == null ? null : subObjectType.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSubSubType(String subSubType) {\r\n\t\tthis.subSubType = subSubType;\r\n\t}", "public T caseFieldSubsetType(FieldSubsetType object) {\n\t\treturn null;\n\t}", "public String getSubObjectType() {\n return subObjectType;\n }", "public T caseDomainSubsetType(DomainSubsetType object) {\n...
[ "0.6196725", "0.60790354", "0.6031086", "0.59919906", "0.58223814", "0.58145726", "0.55336285", "0.546612", "0.5459808", "0.53974485", "0.53157103", "0.5288724", "0.5259374", "0.5228709", "0.5226863", "0.52228886", "0.5190978", "0.5185143", "0.5057345", "0.5024118", "0.500720...
0.68573916
0
This method was generated by MyBatis Generator. This method returns the value of the database column msm_trac_log.STATE_TRAC
public Long getStateTrac() { return stateTrac; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTrace() {\n return trace;\n }", "public TransactionType getLogCode () {\n return logCode;\n }", "public String getTraceId() {\n return traceId;\n }", "public int getTraceID(){\r\n\t\treturn this.traceID;\r\n\t}", "@Override\n public String getTrace() {\n ...
[ "0.5539713", "0.5406396", "0.531323", "0.5273793", "0.5260341", "0.5229393", "0.5072995", "0.50584203", "0.50522244", "0.5041494", "0.5026224", "0.4940364", "0.49302548", "0.49281475", "0.4846149", "0.48406097", "0.48394716", "0.4825953", "0.4796156", "0.47955507", "0.4787923...
0.6332244
0
This method was generated by MyBatis Generator. This method sets the value of the database column msm_trac_log.STATE_TRAC
public void setStateTrac(Long stateTrac) { this.stateTrac = stateTrac; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setLogTracer(LogTracer log) {\n\n }", "public Long getStateTrac() {\n return stateTrac;\n }", "public Builder setTraceTag(long value) {\n bitField0_ |= 0x00004000;\n traceTag_ = value;\n onChanged();\n return this;\n }", "public static ...
[ "0.5051461", "0.5007365", "0.4803734", "0.4685249", "0.46164685", "0.45661944", "0.4507736", "0.43945622", "0.4394024", "0.439042", "0.43749", "0.43683705", "0.4357012", "0.43473554", "0.4338845", "0.43191335", "0.43162084", "0.4312851", "0.42824528", "0.4273428", "0.42649418...
0.6414962
0
If the logout request comes, then no need to go through and doing complete the flow.
@Override public AuthenticatorFlowStatus process(HttpServletRequest request, HttpServletResponse response, AuthenticationContext context) throws AuthenticationFailedException { if (context.isLogoutRequest()) { return AuthenticatorFlowStatus.SUCCESS_COMP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void logoutDone();", "@Override\n public void performLogout(){\n }", "void logoutRequest() throws Exception;", "@Override\r\n\tpublic void logout() {\n\t\t\r\n\t}", "private void logout() {\n LogoutTask mAuthTask = new LogoutTask();\n mAuthTask.execute((Void) null);\n }", "private ...
[ "0.74623585", "0.73576295", "0.7264452", "0.72289705", "0.7181375", "0.7160561", "0.7137007", "0.7037898", "0.7037571", "0.6974515", "0.69720614", "0.6959243", "0.6946851", "0.6946851", "0.6944301", "0.69041896", "0.68323123", "0.68243355", "0.68243355", "0.6809166", "0.67954...
0.0
-1
This will prompt user to accept terms and conditions.
private AuthenticatorFlowStatus initiateAuthRequest(HttpServletResponse response, AuthenticationContext context, String errorMessage) throws AuthenticationFailedException { // Find the authenticated user. AuthenticatedUser authenticate...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void checkFromUser() {\n\t\tif (askUser(\"Please type y to execute program and any other key to stop\").contentEquals(\"y\")) {\n\t\t\tSystem.out.println(\"Continuing\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"Terminating program\");\n\t\t\tSystem.exit(0); \n\t\t}\n\t\tSystem.out.println(\"Ca...
[ "0.6320039", "0.61202", "0.608278", "0.60576236", "0.6047721", "0.580565", "0.5735119", "0.5722257", "0.57051605", "0.56723887", "0.5671786", "0.5667168", "0.5649191", "0.5587615", "0.5585979", "0.5575309", "0.55715936", "0.5568761", "0.5551797", "0.5551797", "0.5551797", "...
0.0
-1
/ In here we can process the request submitted from terms and condition page.
@Override protected void processAuthenticationResponse(HttpServletRequest request, HttpServletResponse response, AuthenticationContext context) { AuthenticatedUser authenticatedUser = getUser(context); String input = request.getParameter("tcInput"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void processRequest(HttpServletRequest request, HttpServletResponse response) {\n }", "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n preprocess(request, response);\n User loggedIn = getUserFro...
[ "0.6362314", "0.6245045", "0.6210094", "0.6094351", "0.6000555", "0.5970033", "0.5942481", "0.5930734", "0.5930528", "0.59071285", "0.58844", "0.5878137", "0.5855499", "0.5854174", "0.5854174", "0.5854172", "0.5853644", "0.58362263", "0.5822773", "0.5798075", "0.57912904", ...
0.66413754
0
Get the username from authentication context.
private AuthenticatedUser getUser(AuthenticationContext context) { StepConfig stepConfig = context.getSequenceConfig().getStepMap().get(context.getCurrentStep() - 1); return stepConfig.getAuthenticatedUser(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getUsername(AuthenticationContext context) {\n String username = null;\n for (Integer stepMap : context.getSequenceConfig().getStepMap().keySet())\n if (context.getSequenceConfig().getStepMap().get(stepMap).getAuthenticatedUser() != null\n && context.getSe...
[ "0.8387022", "0.7970334", "0.78586805", "0.78586805", "0.78586805", "0.78586805", "0.78586805", "0.78586805", "0.78586805", "0.78586805", "0.78586805", "0.76857483", "0.7664064", "0.76153415", "0.76153415", "0.76153415", "0.7496409", "0.74393576", "0.7427375", "0.73976445", "...
0.0
-1
Update the authenticated user context.
private void updateAuthenticatedUserInStepConfig(AuthenticationContext context, AuthenticatedUser authenticatedUser) { Map<Integer, StepConfig> stepConfigMap = context.getSequenceConfig().getStepMap(); for (int i = 1; i <= stepConfigMap.size(); i++) {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUserContext(UserContext userContext);", "private static void updateUser() {\n\t currentUser = Structure.User(currentUser);\n\t CRUDUsers.compareWithRemote(currentUser).subscribe(new SingleSubscriber<User>() {\n\t\t @Override\n\t\t public void onSuccess(User value) {\n\t\t\t\tConnection...
[ "0.7018803", "0.6717839", "0.6655909", "0.64494634", "0.6360545", "0.6329185", "0.6268164", "0.6246006", "0.6228221", "0.6150678", "0.61477846", "0.6104042", "0.60106975", "0.60097903", "0.59995466", "0.59523195", "0.5927542", "0.59086365", "0.5901091", "0.58800733", "0.58800...
0.6617727
3
TODO Autogenerated method stub
public Fuel getFuel(long id) { return fuelDao.findOne(id); }
{ "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
public String getNom() { return null; }
{ "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
public Object setAge(int i) { return null; }
{ "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
public int getAge(int i) { return 0; }
{ "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
Note: NOT called by FXMLLoader!
public void initialize(@Nullable KeyParameter aesKey) { if (aesKey == null) { if(Main.bitcoin.wallet().isEncrypted()){ log.info("Wallet is encrypted, requesting password first."); // Delay execution of this until after we've finished initialising this screen. ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void initialize() {\n \n }", "@FXML\n\tprivate void initialize() {\n\t\t\n\t}", "@FXML\n\tprivate void initialize() {\n\t\t\n\t}", "@FXML\n private void initialize() {\n }", "@FXML\n private void initialize() {\n }", "@FXML\n\tprivate void initialize(){\n\t}", "...
[ "0.7537394", "0.749767", "0.749767", "0.7493775", "0.7493775", "0.7296251", "0.72954017", "0.72315395", "0.71236557", "0.66634166", "0.66626865", "0.6625633", "0.66143733", "0.6613892", "0.6605761", "0.65731543", "0.6561856", "0.6536009", "0.6523428", "0.6507799", "0.6491117"...
0.0
-1
set weather show cancel button, if true,the Dialog show two buttons
public ComDialogBuilder showCancelButton(boolean showCancelButton) { this.showCancelButton = showCancelButton; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void cancelButtonAction(ActionEvent event) {\n //Change cancel button to help button\n cancelButton.setVisible(false);\n cancelButton.setDisable(true);\n helpButton.setVisible(true);\n helpButton.setDisable(false);\n \n help = false;\n\n //...
[ "0.7009042", "0.6894163", "0.68904227", "0.68693703", "0.68642247", "0.66026676", "0.65942633", "0.6579767", "0.6556672", "0.6466813", "0.64643544", "0.64630353", "0.64626956", "0.6436473", "0.64311194", "0.6403236", "0.6375673", "0.6273942", "0.62477505", "0.62423193", "0.62...
0.0
-1
set wheather dialog cancelable when touch outside
public ComDialogBuilder setTouchOutSideCancelable(boolean touchOutSideCancel) { this.touchOutSideCancel = touchOutSideCancel; if (DIALOG_STYLE_CURRENT == DIALOG_STYLE_NORMAL) { this.dialog.setCanceledOnTouchOutside(touchOutSideCancel); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCanceledOnTouchOutside(boolean z) {\n Dialog dialog = getDialog();\n if (dialog != null) {\n dialog.setCanceledOnTouchOutside(z);\n }\n }", "@Override\n\t\t\t\t\tpublic boolean onTouchEvent(MotionEvent event) {\n\t\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\t\treturn t...
[ "0.79725426", "0.6867882", "0.68298054", "0.6766945", "0.6715538", "0.6637185", "0.6633541", "0.6589614", "0.6583787", "0.65685606", "0.6533765", "0.6527296", "0.6527296", "0.6519158", "0.65156585", "0.6509099", "0.6499261", "0.6496734", "0.6491185", "0.6477072", "0.64723307"...
0.6788159
3
set the dialog wheather can cancelable;
public ComDialogBuilder setCancelable(boolean cancleable) { this.dialog.setCancelable(cancleable); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onCancel(DialogInterface dialog) {\n cancel(true);\n }", "@Override\n public void onClick(DialogInterface dialog,\n int which)...
[ "0.7422689", "0.7375365", "0.7364493", "0.73504245", "0.7327772", "0.7258055", "0.72503585", "0.723168", "0.7224874", "0.7214361", "0.721211", "0.72090745", "0.72090745", "0.72090745", "0.72045594", "0.720215", "0.71962345", "0.71926343", "0.7168903", "0.71662956", "0.716242"...
0.704597
31
set Confirm Button TextColor
public ComDialogBuilder setConfirmButtonTextColor(int color) { if (confrimBtn == null) { confrimBtn = getView(R.id.dialog_posi_btn); } if(this.confrimBtn!=null){ this.confrimBtn.setTextColor(color); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void changeResumeButtonColor(Color color);", "public ComDialogBuilder setCancelButtonTextColor(int color) {\n if (cancelBtn == null) {\n cancelBtn = getView(R.id.dialog_neg_btn);\n }\n if(this.cancelBtn!=null){\n this.cancelBtn.setTextColor(color);\n }\n r...
[ "0.6243463", "0.62197274", "0.62044406", "0.61430424", "0.6044121", "0.60282785", "0.600792", "0.600067", "0.598153", "0.59479946", "0.5947129", "0.5941793", "0.59388554", "0.5918962", "0.5918147", "0.5879439", "0.58586425", "0.5849384", "0.5843481", "0.58277774", "0.5815005"...
0.7931925
0
set Cancel Button TextColor
public ComDialogBuilder setCancelButtonTextColor(int color) { if (cancelBtn == null) { cancelBtn = getView(R.id.dialog_neg_btn); } if(this.cancelBtn!=null){ this.cancelBtn.setTextColor(color); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void decorateCancelButton() {\n cancelButton.setVisible(false);\n ResourceUtils.resButton(cancelButton, Res.getString(\"cancel\"));\n cancelButton.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(73, 113, 196)));\n cancelButton.setForeground(new Color(73, 113,...
[ "0.68581116", "0.6833663", "0.68156374", "0.67318404", "0.6650203", "0.6368422", "0.6323954", "0.6283788", "0.62103945", "0.6174779", "0.6172339", "0.6172333", "0.6084219", "0.60361946", "0.6030675", "0.60222507", "0.6021753", "0.6011029", "0.5989449", "0.5970647", "0.5970036...
0.7705129
0
set message text size
public ComDialogBuilder setMessageTextSize(int textsize) { if(dialogMsg!=null){ dialogMsg.setTextSize(TypedValue.COMPLEX_UNIT_SP,textsize); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTextSize(float size) {\n\n if (size > 24f)\n size = 24f;\n if (size < 6f)\n size = 6f;\n\n mTextSize = Utils.convertDpToPixel(size);\n }", "private void setDefaultTextSize() {\n this.text_size = (int) default_text_size;\n }", "public void s...
[ "0.7348592", "0.7313439", "0.72633153", "0.7227451", "0.7036686", "0.6958073", "0.68536866", "0.6767855", "0.67621994", "0.6654609", "0.6609147", "0.65618837", "0.651933", "0.64784425", "0.6472017", "0.6445632", "0.63834226", "0.63811153", "0.63659495", "0.6352882", "0.632426...
0.77507627
0
set message text size
public ComDialogBuilder setMessageTextColor(int color) { if(dialogMsg!=null){ dialogMsg.setTextColor(color); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ComDialogBuilder setMessageTextSize(int textsize) {\n if(dialogMsg!=null){\n dialogMsg.setTextSize(TypedValue.COMPLEX_UNIT_SP,textsize);\n }\n return this;\n }", "public void setTextSize(float size) {\n\n if (size > 24f)\n size = 24f;\n if (size ...
[ "0.77507627", "0.7348592", "0.7313439", "0.72633153", "0.7227451", "0.7036686", "0.6958073", "0.68536866", "0.6767855", "0.67621994", "0.6654609", "0.6609147", "0.65618837", "0.651933", "0.64784425", "0.6472017", "0.6445632", "0.63834226", "0.63811153", "0.63659495", "0.63528...
0.0
-1
set title text size
public ComDialogBuilder setTitleTextSize(int textsize) { if(dialogTitle!=null){ dialogTitle.setTextSize(TypedValue.COMPLEX_UNIT_SP,textsize); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTitleFontSize(int size) {\n\t\tthis.title_fontsize = size;\n\t}", "public int getTitleFontSize() {\n\t\treturn this.title_fontsize;\n\t}", "public void setSubtitleFontSize(int size) {\n\t\tthis.subtitle_fontsize = size;\n\t}", "private void setupTitle(){\n\t\tJLabel title = new JLabel(quiz_typ...
[ "0.8238397", "0.7122603", "0.69031227", "0.6720976", "0.6686943", "0.66030073", "0.6570764", "0.65221304", "0.65160394", "0.63565373", "0.6316098", "0.6310936", "0.6308724", "0.6304169", "0.63021547", "0.62654793", "0.6217323", "0.6206083", "0.6206083", "0.6206083", "0.620608...
0.7505754
1
set title text size
public ComDialogBuilder setTitleTextColor(int color) { if(dialogTitle!=null){ dialogTitle.setTextColor(color); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTitleFontSize(int size) {\n\t\tthis.title_fontsize = size;\n\t}", "public ComDialogBuilder setTitleTextSize(int textsize) {\n if(dialogTitle!=null){\n dialogTitle.setTextSize(TypedValue.COMPLEX_UNIT_SP,textsize);\n }\n return this;\n }", "public int getTitleFon...
[ "0.8238397", "0.7505754", "0.7122603", "0.69031227", "0.6720976", "0.6686943", "0.66030073", "0.6570764", "0.65221304", "0.65160394", "0.63565373", "0.6316098", "0.6310936", "0.6308724", "0.6304169", "0.63021547", "0.62654793", "0.6217323", "0.6206083", "0.6206083", "0.620608...
0.0
-1
set positive btn BackgroundResouce
public ComDialogBuilder setConfirmBackgroundResouce(int resID) { if (confrimBtn == null) { confrimBtn = getView(R.id.dialog_posi_btn); } if (confrimBtn != null && resID != -1) { confirmBtnBG = resID; confrimBtn.setBackgroundResource(resID); } r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tbtnPrincipal.setBackgroundResource(R.drawable.est_premier_goles);\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tbtnPrincipal.setBackgroundResource(R.drawable.est_premier_rojas);\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(...
[ "0.71045816", "0.7094422", "0.6886284", "0.6878574", "0.6782073", "0.6677122", "0.66624206", "0.65982693", "0.64791864", "0.6452627", "0.6422506", "0.6422013", "0.63793904", "0.63419825", "0.6316363", "0.63002884", "0.63002884", "0.63002884", "0.62859154", "0.6254489", "0.625...
0.6585371
8
set negative btn BackgroundResouce
public ComDialogBuilder setCancelBackgroundResouce(int resID) { if (cancelBtn == null) { cancelBtn = getView(R.id.dialog_neg_btn); } if (cancelBtn != null && resID != -1) { cancelBtnBG = resID; cancelBtn.setBackgroundResource(resID); } return t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tbtnPrincipal.setBackgroundResource(R.drawable.est_premier_goles);\n\t\t\t}", "private void changeButtonBackground(final int row, final int col, final boolean mode){\n runOnUiThread(new Runnable() {\n @Override\n public void r...
[ "0.64506364", "0.64462596", "0.64431083", "0.64399576", "0.63006186", "0.6285685", "0.62720704", "0.6263771", "0.6248271", "0.62455016", "0.61887467", "0.6177592", "0.6158966", "0.6157447", "0.607227", "0.60540193", "0.60525733", "0.60465765", "0.6044177", "0.599944", "0.5977...
0.6543625
0
set progress style dialog has timeout limit
public ComDialogBuilder setProgressTimeOutLimit(boolean TimeOutLimit){ this.progressTimeOutLimit = TimeOutLimit; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showSpinerProgress() {\n dialog.setMessage(\"Loading\");\n//\n// dialog.setButton(ProgressDialog.BUTTON_POSITIVE, \"YES\", new DialogInterface.OnClickListener() {\n// @Override\n// public void onClick(DialogInterface dialog, int which) {\n//\n// }\n// ...
[ "0.6826092", "0.6426566", "0.63540685", "0.6272871", "0.6228815", "0.61570036", "0.61545765", "0.613054", "0.6116076", "0.609378", "0.60851634", "0.60451114", "0.6027038", "0.5947963", "0.59471816", "0.59428126", "0.58631915", "0.5856935", "0.5848357", "0.5832779", "0.5805428...
0.7366894
0
Construct a new ActionModeCallback
public TagSelectedActionModeCallback(@NonNull TagEditorFragment caller, @NonNull LinearLayout rows) { super(caller, rows); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Action createAction();", "Action createAction();", "Action createAction();", "static interface ActionRequestObserverFactory {\n MultiViewElementCallback createElementCallback(MultiViewDescription desc);\n }", "public ActionState createActionState();", "CaseAction createCaseAction();", "public...
[ "0.6285135", "0.6285135", "0.6285135", "0.6118889", "0.5903171", "0.58311963", "0.5830903", "0.5778315", "0.5625966", "0.5616043", "0.55976754", "0.5595659", "0.554261", "0.55197746", "0.5504972", "0.5477317", "0.5437551", "0.54175806", "0.54061127", "0.53994983", "0.53899896...
0.0
-1
Copy tags to the internal and system clipboard
private void copyTags(@NonNull List<TagEditRow> selectedRows, boolean deleteEachRow) { if (!selectedRows.isEmpty()) { TagEditorFragment fragment = (TagEditorFragment) caller; Map<String, String> copiedTags = new LinkedHashMap<>(); for (TagEditRow row : selectedRows) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void copy() {\n clipboard.setContents(getSelectionAsList(false));\n }", "public void copySelection() {\n RTGraphComponent.RenderContext myrc = (RTGraphComponent.RenderContext) (getRTComponent().getRTRenderContext()); if (myrc == null) return;\n Clipboard clipboard...
[ "0.63926214", "0.6349195", "0.62323546", "0.6218228", "0.62121654", "0.6041182", "0.6037461", "0.60213894", "0.59420526", "0.5927928", "0.58839977", "0.58756244", "0.58384085", "0.5832372", "0.5826057", "0.5805135", "0.5803859", "0.5715895", "0.56527245", "0.5651472", "0.5611...
0.4788649
100
Build a map of the keys and values to add to the clipboards
private void addKeyValue(@NonNull Map<String, String> tags, @NonNull final TagEditRow row) { String key = row.getKey().trim(); if (!"".equals(key)) { tags.put(key, row.getValue().trim()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Map<String,Boolean> copyMapFromPreferenceStore(){\n \tMap<String,Boolean> preferences = new HashMap<String,Boolean>();\n \tIPreferenceStore store = EMFTextEditUIPlugin.getDefault().getPreferenceStore();\n \tpreferences.put(ResourcePackageGenerator.GENERATE_PRINTER_STUB_ONLY_NAME,store.getBoolea...
[ "0.5729559", "0.5606878", "0.5587624", "0.5432009", "0.53962606", "0.5380115", "0.53657776", "0.5293852", "0.5277772", "0.5268455", "0.51977885", "0.5163469", "0.51582605", "0.5152403", "0.5133646", "0.5116195", "0.5083972", "0.5079812", "0.50687546", "0.5058627", "0.50525063...
0.0
-1
Perform whatever was selected on the menu
private boolean performAction(int action) { TagEditorFragment tagEditorFragment = (TagEditorFragment) caller; final int size = rows.getChildCount(); List<TagEditRow> selected = new ArrayList<>(); for (int i = 0; i < size; ++i) { View view = rows.getChildAt(i); Tag...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void selected(String action);", "private void optionSelected(MenuActionDataItem action){\n \t\tString systemAction = action.getSystemAction();\n \t\tif(!systemAction.equals(\"\")){\n \t\t\t\n \t\t\tif(systemAction.equals(\"back\")){\n \t\t\t\tonBackPressed();\n \t\t\t}else if(systemAction.equals(\"home\")...
[ "0.7679045", "0.759307", "0.7402322", "0.7402322", "0.7336232", "0.7182099", "0.70760673", "0.70628226", "0.7026349", "0.700215", "0.6969819", "0.6927075", "0.69259125", "0.69074327", "0.6862163", "0.6851109", "0.6842173", "0.6830213", "0.68054944", "0.6800413", "0.6767077", ...
0.0
-1
Sets the month, provided it is between 0 and 11; otherwise no changes are made. month must be consistent with the year and day of month. For example, if month is 1 (Februray), but year is 2016 and day of month is 30 as stored in the DateInterface object, the month stored in the DateInterface object must not be changed....
@Override public boolean setMonth(int month) { try { GregorianCalendar tempCalendar =(GregorianCalendar) calendar.clone(); tempCalendar.setLenient(false); tempCalendar.set(Calendar.MONTH, month); tempCalendar.getTime(); } catch ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMonth(int month) {\n if(month < 1 || month > 12) {\n this.month = 1;\n } else {\n this.month = month;\n }\n }", "public void setMonth(int month)\n {\n this.month = month;\n }", "public void setMonth(int month) {\n\t\tthis.date.setMonth(month...
[ "0.76652247", "0.75799286", "0.75550914", "0.75256556", "0.74927694", "0.7477999", "0.7477999", "0.74282056", "0.73804843", "0.7378452", "0.7345561", "0.7097163", "0.7094455", "0.7094455", "0.7094455", "0.7077449", "0.7072431", "0.70204735", "0.69860065", "0.6951002", "0.6902...
0.7628366
1
Sets the hour. Should be between 0 and 23 or no action is taken
@Override public boolean setHours(int hours) { if(hours<0||hours>23) { return false; } calendar.set(Calendar.HOUR_OF_DAY, hours); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHour(int hour){\n if(hour < 0 || hour > 23) {System.out.println(\"wrong input!\"); return;}\n this.hour = hour;\n }", "public void setHour(int hour) \n { \n if (hour < 0 || hour >= 24)\n throw new IllegalArgumentException(\"hour must be 0-23\");\n\n this.hour =...
[ "0.8486753", "0.84648514", "0.8195641", "0.81142384", "0.81136924", "0.801033", "0.7987016", "0.7957913", "0.78854746", "0.785114", "0.7753492", "0.73335105", "0.7290565", "0.72451025", "0.7203493", "0.7193073", "0.7151544", "0.71288115", "0.71231943", "0.70901364", "0.690199...
0.7266072
13
Create a new MdParser which uses the specified provider
@Inject public MdParser(ParserStateProvider provider) { this.provider = provider; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Provider createProvider();", "Provider createProvider(Provider prov, Aggregator agr) throws RepoxException;", "Provider createProvider(Provider prov, Aggregator agr) throws RepoxException;", "protected static IParser getParser(final FhirContext ctx, FHIRMediaType mt) {\n\t\tIParser parser = null;\n\n\t\tfina...
[ "0.5674803", "0.5364007", "0.5364007", "0.52711654", "0.49225816", "0.4911476", "0.49095905", "0.4870372", "0.48546124", "0.47945076", "0.47816977", "0.4779985", "0.47707394", "0.47371677", "0.47143626", "0.46950006", "0.467965", "0.46488765", "0.46047172", "0.45980442", "0.4...
0.7511606
0
Parse the markdown into the document tree
public DocumentNode parse(Reader reader) throws IOException { DocumentRoot root = new DocumentRoot(); ParserState state = provider.get("root", root); int ch; while ((ch = reader.read()) != -1) state = state.accept((char) ch); return root; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DocumentNode parse(String markdown) {\n Reader reader = new StringReader(markdown);\n DocumentNode ret = null;\n try {\n ret = parse(reader);\n reader.close();\n } catch (IOException e) {\n throw new Error(\"StringReader threw exception\", e);\n }...
[ "0.6972723", "0.5797385", "0.56383806", "0.5567019", "0.55035275", "0.5435764", "0.53937346", "0.53754777", "0.5281835", "0.5280323", "0.5230259", "0.5175711", "0.51697886", "0.5163803", "0.5150021", "0.512046", "0.50825703", "0.5082218", "0.50666225", "0.50387573", "0.498483...
0.43585756
96
Wrapper around parser function which automatically creates a reader around the string
DocumentNode parse(String markdown) { Reader reader = new StringReader(markdown); DocumentNode ret = null; try { ret = parse(reader); reader.close(); } catch (IOException e) { throw new Error("StringReader threw exception", e); } return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StringParser getStringParser();", "public abstract T parse(String str);", "public abstract T parse(String s);", "public StringParseable getParser(String input) {\n\t\treturn new XMLStringParser(input);\n\t}", "public JsonParser createParser(String content)\n/* */ throws IOException, JsonPar...
[ "0.72515666", "0.65586704", "0.6505846", "0.64113283", "0.6309066", "0.6206018", "0.61810243", "0.61516833", "0.610817", "0.6062693", "0.6032586", "0.59973454", "0.5940186", "0.593554", "0.59188116", "0.589705", "0.58727616", "0.58619964", "0.58581716", "0.5852609", "0.583119...
0.53205675
84
Start the connection and use the plaintext upgrade mechanism from HTTP/1.1 to HTTP2.
private void startPlaintextUpgrade(final Http2Codec http2Codec) { // Register the plaintext upgrader Http2ClientUpgradeCodec upgradeCodec = new Http2ClientUpgradeCodec(http2Codec); HttpClientCodec httpClientCodec = new HttpClientCodec(); final HttpClientUpgradeHandler upgrader = new HttpClientUpgradeHan...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void startPlaintext(final Http2Codec http2Codec) {\n connect(new ChannelInitializer<SocketChannel>() {\n @Override\n public void initChannel(SocketChannel ch) throws Exception {\n ch.pipeline().addLast(http2Codec);\n }\n });\n }", "public void upgrade(HttpClientConnection con...
[ "0.6452769", "0.5835286", "0.56072587", "0.5582879", "0.5578654", "0.54487073", "0.5443237", "0.5420704", "0.5367233", "0.5337619", "0.5301033", "0.527952", "0.52162075", "0.5176833", "0.5124579", "0.51178247", "0.50875634", "0.50362694", "0.5021053", "0.5004174", "0.49827933...
0.76129735
0
Start the connection and simply assume the protocol to already be negotiated.
private void startPlaintext(final Http2Codec http2Codec) { connect(new ChannelInitializer<SocketChannel>() { @Override public void initChannel(SocketChannel ch) throws Exception { ch.pipeline().addLast(http2Codec); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void startConnect() {\n if (tcp) {\n connection = new TCPConnection(this);\n } else {\n connection = new UDPConnection(this, udpSize);\n }\n connection.connect(remoteAddr, localAddr);\n }", "@ Override\r\n\tpublic void start(Connection connection)\r\...
[ "0.625869", "0.59606624", "0.5890276", "0.5881293", "0.58701545", "0.5770565", "0.5759169", "0.5723266", "0.5713405", "0.5699178", "0.5690135", "0.56802934", "0.56494075", "0.5563003", "0.5548065", "0.5537912", "0.5505542", "0.55018544", "0.5490213", "0.548487", "0.54362637",...
0.5455291
20
Configure the bootstrap options for the connection.
private Channel connect(ChannelInitializer<SocketChannel> handler) { // Configure worker pools and buffer allocator EventLoopGroup workerGroup = new NioEventLoopGroup(); Bootstrap b = new Bootstrap(); b.group(workerGroup); b.channel(NioSocketChannel.class); b.option(ChannelOption.SO_KEEPALIVE, t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBootstrapProperties(BootstrapProperties bootstrapProperties);", "private ClientBootstrap() {\r\n init();\r\n }", "@Override\r\n public void initialize(Bootstrap<Configuration> bootstrap) {\n }", "@Override\n public void initialize(Bootstrap<SkyeWorkerConfiguration> bootstrap...
[ "0.6580267", "0.642084", "0.6185133", "0.603646", "0.5807243", "0.57621133", "0.57526946", "0.56517583", "0.5581851", "0.5564333", "0.55438393", "0.55307287", "0.5507309", "0.54349196", "0.54032534", "0.53569716", "0.52938", "0.52806264", "0.52798444", "0.52530485", "0.524349...
0.0
-1
Find Jetty's TLS NPN/ALPN extensions and attempt to use them
private static boolean installJettyTLSProtocolSelection(final SSLEngine engine, final SettableFuture<Void> protocolNegotiated) { for (String protocolNegoClassName : JETTY_TLS_NEGOTIATION_IMPL) { try { Class<?> negoClass; try { negoClass = Class.forName(protocolNegoClassName...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Nullable\n @Generated\n @Selector(\"negotiatedTLSProtocolVersion\")\n public native NSNumber negotiatedTLSProtocolVersion();", "private void registerCustomProtocolHandler() {\n try {\n URL.setURLStreamHandlerFactory(new URLStreamHandlerFactory() {\n @Override\n ...
[ "0.54989064", "0.52412826", "0.50494057", "0.50033194", "0.49157125", "0.48929048", "0.4855658", "0.48435143", "0.48434573", "0.48318762", "0.48264503", "0.47967246", "0.4779623", "0.477519", "0.4772979", "0.47535944", "0.47230515", "0.47118974", "0.4711582", "0.47027943", "0...
0.7121157
0
TODO Autogenerated method stub
public static void main(String[] args) { TestOwner to = new TestOwner(); //to.insert(); to.update1(); }
{ "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
Initialize the contents of the frame.
private void initialize() { frame = new JFrame(); frame.setBounds(100, 100, 912, 418); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setResizable(true); plf=new PlistFiles(false,true,false,true); list = new JList<String>(plf.vfiles); JMenuBar menuBar = new JMenuBar(); frame.se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BreukFrame() {\n super();\n initialize();\n }", "public MainFrame() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "private void initialize() {\n\t\tthis.setSize(211, 449);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame\");\n\t}", "public SiscobanFrame() {\r\n\t\tsuper();\r...
[ "0.77704835", "0.75652915", "0.7442664", "0.7369101", "0.7366378", "0.7358479", "0.73146075", "0.73096764", "0.72987294", "0.72978777", "0.7278321", "0.72729623", "0.7269468", "0.7269468", "0.7215727", "0.7180792", "0.71682984", "0.7140954", "0.7140953", "0.7126852", "0.71079...
0.0
-1
Pone valor al primer operador.
public void setX(int x) { this.x = x; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int operar() {\n\t\treturn this.valor;\r\n\t}", "private int getPrio(int op){\n return ((Integer)opPrio.get(new Integer(op))).intValue();\n }", "@Override\r\n\tpublic int operar() {\n\t\treturn 0;\r\n\t}", "public String getOperador() {\n\t\treturn operador;\n\t}", "int getO...
[ "0.74781513", "0.69018894", "0.67388", "0.6577487", "0.6374738", "0.6295473", "0.6219436", "0.62130076", "0.6113707", "0.61050546", "0.6076546", "0.6055204", "0.6052199", "0.60321563", "0.6024422", "0.6004875", "0.598492", "0.59790754", "0.59790754", "0.59790754", "0.59790754...
0.0
-1
Pone valor al segundo operador.
public void setY(int y) { this.y = y; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int operar() {\n\t\treturn this.valor;\r\n\t}", "public String getOperador() {\n\t\treturn operador;\n\t}", "public int getValor() {\r\n return valor;\r\n }", "public int getValor() {\n return valor;\n }", "int getOperationValue();", "public java.lang.String getV...
[ "0.74326557", "0.65182394", "0.6405971", "0.6309212", "0.6256582", "0.6253255", "0.62481976", "0.6239835", "0.6239155", "0.62314427", "0.6223334", "0.61690843", "0.6134475", "0.6093929", "0.6091208", "0.60634655", "0.60609", "0.60394025", "0.6023454", "0.5995884", "0.5989324"...
0.0
-1
Este metodo realiza una suma y lo muestra por pantalla.
public void suma(){ System.out.println(this.getX() + this.getY()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSumaAdunata();", "public void sumaPuntos() {\r\n int rojo = 0;\r\n int azul = 0;\r\n for (int i = 1; i < 10; i++) {\r\n\r\n if (tablero[1][i].getTipo().equals(\"Rojo\")) {\r\n rojo += tablero[1][i].getValor();\r\n }\r\n\r\n if (tablero[8...
[ "0.7460277", "0.74362326", "0.7339229", "0.7339229", "0.71971166", "0.7166386", "0.70282036", "0.6954082", "0.6943667", "0.6933946", "0.6922338", "0.68950427", "0.68597203", "0.6714783", "0.667316", "0.66689426", "0.66256386", "0.6606288", "0.6573647", "0.6569226", "0.6558293...
0.0
-1
Este metodo realiza una resta y lo muestra por pantalla.
public void resta(){ System.out.println("Esta es la :"); System.out.println(this.getX() - this.getY()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void remplirPrestaraireData() {\n\t}", "@Override\n\tpublic void recreo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "private void limpiarDatos() {\n\t\t\n\t}", "private static void cajas() {\n\t\t\n\t}", "privat...
[ "0.6567296", "0.6501452", "0.6410025", "0.62252575", "0.61441237", "0.6133753", "0.611239", "0.6091769", "0.60687214", "0.5994966", "0.5971783", "0.59672576", "0.5936294", "0.5893424", "0.58729655", "0.5864107", "0.58529747", "0.5846332", "0.5845998", "0.5834249", "0.5833296"...
0.0
-1
(var peremennaya = 1; peremennaya < 12; peremennaya = peremennaya +1)
private boolean for_cond(){ int save = position; boolean for_cond = false; if (getNextLexeme() == Lexeme.LP) { if(init()){ if(log_exp() && getNextLexeme() == Lexeme.END){ if(getNextLexeme() == Lexeme.VAR && assign_op()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int potencia(int x, int y){\r\n int potencia = x;\r\n if (y!=0){\r\n for (int i = 1; i<y; i++){\r\n potencia = potencia * x;\r\n }\r\n }else {\r\n potencia = 1;\r\n }\r\n return potencia;\r\n}", "public void plum() {\n pl...
[ "0.57993186", "0.5736528", "0.5653789", "0.55852765", "0.5516325", "0.54699206", "0.54632443", "0.54578984", "0.5423806", "0.5416574", "0.53975207", "0.53964686", "0.5361847", "0.53457135", "0.5327015", "0.5325496", "0.5321146", "0.5316633", "0.5313416", "0.5308347", "0.52906...
0.0
-1
/ Events Adds EventSource(s) to this model's eventList.
public void addEvents(EventSource... events) { for (EventSource e : events) { // Create a deep-copy of each addition. this.eventList.add(new EventSource(e)); } notifyEventListListeners(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ListEventSourcesResult listEventSources() throws AmazonServiceException, AmazonClientException {\n return listEventSources(new ListEventSourcesRequest());\n }", "public void addEvents(List<TimelineEvent> events) {\n this.events.addAll(events);\n }", "public void addEvent(Event e){\r\n\t\ta...
[ "0.63438714", "0.62702096", "0.57705826", "0.5750346", "0.568427", "0.5684003", "0.565544", "0.5520026", "0.5429888", "0.54139066", "0.5375177", "0.53606683", "0.529171", "0.5231014", "0.5163576", "0.51473844", "0.5103193", "0.51012635", "0.50972265", "0.50764334", "0.5062613...
0.71775407
0
Removes an EventSource from this model.
public void removeEvent(EventSource event) { this.eventList.remove(event); notifyEventListListeners(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeEventSource(RemoveEventSourceRequest removeEventSourceRequest) {\n ExecutionContext executionContext = createExecutionContext(removeEventSourceRequest);\n AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();\n awsRequestMetrics.startEvent(Field.Clien...
[ "0.6520315", "0.6091856", "0.60753065", "0.5981235", "0.5925472", "0.57340646", "0.5638244", "0.55516565", "0.55205333", "0.543016", "0.5368821", "0.5321286", "0.51443166", "0.51324844", "0.51074487", "0.510336", "0.50809354", "0.5065056", "0.5058826", "0.5054917", "0.5023380...
0.69569516
0
Replaces an EventSource in this model with another EventSource.
public void replaceEvent(EventSource event, EventSource replacement) { // Create a deep-copy of the replacement. this.eventList.replace(event, new EventSource(replacement)); notifyEventListListeners(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void replaceDataSource(DataSource newsource) {\n removeDataSourcesWithSameOrigin(newsource);\n datasources.add(newsource);\n }", "public void replaceDataSource(DataSource oldsource, DataSource newsource) {\n int i=datasources.indexOf(oldsource);\n if (i>=0) datasources.set(i...
[ "0.6200124", "0.6018221", "0.5359659", "0.51523167", "0.51436514", "0.5061386", "0.50345886", "0.49822402", "0.49608594", "0.49064925", "0.4887259", "0.48809758", "0.48560745", "0.47897235", "0.47851273", "0.47728857", "0.4756152", "0.47514564", "0.47272357", "0.4707659", "0....
0.56165695
2
Replaces the entire EventList in this model with a list of events.
public void setEventList(List<EventSource> events) { this.eventList.reset(events); notifyEventListListeners(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEvents(AbstractList<Event> events) {\r\n\t\tthis.events = (ArrayList<Event>) events;\r\n\t}", "public void updateListView(List<Event> list) {\n this.eventsList = list;\n notifyDataSetChanged();\n }", "public void insert(List<Event> eventsList);", "public void setData(List<Even...
[ "0.6626983", "0.6606987", "0.6164072", "0.6050452", "0.5944032", "0.572725", "0.5659727", "0.5651758", "0.5600058", "0.5596154", "0.5578663", "0.54868424", "0.5459116", "0.54413915", "0.5439297", "0.53902537", "0.53797543", "0.5376802", "0.53627247", "0.53602326", "0.5351998"...
0.6703334
0
Returns an unmodifiable, deep copy of this model's EventList.
public List<EventSource> getEventList() { List<EventSource> result = new ArrayList<>(); for (EventSource event : this.eventList) { // Create a deep-copy of each EventSource. result.add(new EventSource(event)); } // Return an unmodifiable list. return Colle...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AbstractList<Event> getEvents() {\r\n\t\treturn (AbstractList<Event>) events;\r\n\t}", "public ArrayList<Event> getEvents(){return new ArrayList<Event>(events);}", "public List<EventDesc> getEvents()\r\n {\r\n return Collections.unmodifiableList(events);\r\n }", "public ArrayList<Event> g...
[ "0.6629449", "0.650435", "0.63751954", "0.6317883", "0.608182", "0.60390276", "0.5925363", "0.58804727", "0.5806072", "0.5787839", "0.57821286", "0.57443804", "0.57274073", "0.56629616", "0.56607985", "0.56564593", "0.56090206", "0.5563368", "0.55019844", "0.5495422", "0.5488...
0.671003
0
Notify all listeners whenever the EventList is changed.
private void notifyEventListListeners() { this.eventListListeners.forEach(listener -> listener.onEventListChange(this.getEventList())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void notifyListeners() \n\t{\n\t\tSystem.out.println(\"Event Source: Notifying all listeners\");\n\n\t\tfor(IListener listener : listeners)\n\t\t{\n\t\t\tlistener.eventOccured(new Event(this));//passing and object of source\n\t\t}\n\n\t}", "private void notifyListeners() {\n\t\tfor(ModelListener l:listen...
[ "0.7656236", "0.75768167", "0.72562486", "0.7070277", "0.69691974", "0.6935792", "0.6882607", "0.687498", "0.68565226", "0.6855639", "0.6827037", "0.68248665", "0.6793905", "0.67756456", "0.67563194", "0.6726934", "0.67259204", "0.66790503", "0.66646653", "0.66627777", "0.666...
0.8813536
0
Main method of TCPClient
public static void main(String argv[]) { CategoriesFrame categoriesFrame; TasksFrame tasksFrame = null; String demandForServer = ""; try { TCPClient tcpClient = new TCPClient(); DemandService service; service = new DemandService(tcpClient.clientSocket...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args)throws IOException{\n new Client(\"localhost\", 12000);\n }", "public static void main(String[] args) {\n new ClientMain();\n\n }", "public static void main(String[] args){\r\n\t\tnew Client();\r\n\t}", "public static void main(String[] args) throws Excep...
[ "0.736403", "0.72977096", "0.72100663", "0.71574056", "0.7155957", "0.7032257", "0.70309556", "0.70145434", "0.6884002", "0.68635994", "0.68465567", "0.6844126", "0.68293476", "0.6820564", "0.68161297", "0.68141764", "0.67753047", "0.67634", "0.67486733", "0.674272", "0.67337...
0.0
-1
Overrided method close(), closing socket.
@Override public void close() throws IOException { if (clientSocket != null) { clientSocket.close(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void close() {\r\n\t\tthis.socket.close();\r\n\t}", "public void close() {\n try {\n closeConnection(socket);\n } catch (IOException ioe) {\n ioe.printStackTrace();\n }\n }", "@Override\r\n public void close() {\r\n sock.close();\r\n...
[ "0.86658746", "0.8366694", "0.83140504", "0.8217652", "0.81671995", "0.8109045", "0.80947196", "0.80615485", "0.8057993", "0.80135196", "0.79216605", "0.78864855", "0.7844825", "0.77761906", "0.776364", "0.77429324", "0.77038354", "0.75970197", "0.757559", "0.74758834", "0.74...
0.75785524
18
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() { l1 = new javax.swing.JLabel(); l2 = new javax.swing.JLabel(); l3 = new javax.swing.JLabel(); l4 = 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.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "...
0.0
-1
For Animation and BMP direction = 0 up, 1 left, 2 down, 3 right, animation = 3 back, 1 left, 0 front, 2 right
private int getAnimationRow() { double dirDouble = (Math.atan2(xSpeed, ySpeed) / (Math.PI / 2) + 2); int direction = (int) Math.round(dirDouble) % BMP_ROWS; return DIRECTION_TO_ANIMATION_MAP[direction]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void animateMovementDown()\n {\n if(animationCount%frameRate == 0)\n {\n imageNumber = (imageNumber + 1)% (downMvt.length);\n setImage(downMvt[imageNumber]);\n } \n }", "void walkAnimation(int direction, int index) {\n switch (direction) {\n ...
[ "0.6415181", "0.64096016", "0.6272949", "0.62549746", "0.6220366", "0.619357", "0.6043252", "0.6034398", "0.5970017", "0.5970017", "0.59483", "0.59239376", "0.5909644", "0.59069604", "0.59026265", "0.58852136", "0.5855119", "0.5851217", "0.58409864", "0.58099025", "0.58047634...
0.5583239
46
Constructor for the Credits world. Create one button.
public Credits(GameSettings gs) { // set screen to 512x512 with 1x1 pixels super(512, 512, 1); gameSettings = gs; // make the background addObject(new GifDisplayer(BG_IMAGE_PATH), 256, 256); // make the back button GreenfootImage te...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Credits()\n {\n GreenfootImage creditsButton = new GreenfootImage(120,60);\n Font adjustedFont = new Font(true,false,20);\n creditsButton.setFont(adjustedFont);\n creditsButton.setColor(Color.BLACK);\n creditsButton.drawString(\"Credits (\\\"C\\\")\",0,50);\n set...
[ "0.74292994", "0.6712384", "0.65080106", "0.64860755", "0.647106", "0.64331377", "0.64090407", "0.63520783", "0.6285741", "0.624184", "0.62369365", "0.62200946", "0.620725", "0.61984694", "0.617241", "0.61719763", "0.6161397", "0.6153321", "0.61238676", "0.6110712", "0.610922...
0.6088904
22
Every act, this World reads whether the back button is pressed.
public void act() { // back button if (Greenfoot.isKeyDown("escape") || Greenfoot.mouseClicked(backButton)) { Greenfoot.setWorld(new Title(gameSettings)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean onBackPressed();", "boolean onBackPressed();", "public void keyBackIsPressed(){}", "public abstract boolean onBackPressed(boolean isSystemBackKey);", "public abstract boolean onBackPressed();", "public boolean onBackPressed() {\n \treturn m_renderer.onBackPressed();\n }", "public Boolea...
[ "0.76588225", "0.76588225", "0.74201965", "0.74009824", "0.73557043", "0.73314106", "0.7271377", "0.7228904", "0.6975654", "0.69422746", "0.69422746", "0.6925324", "0.68913", "0.6836502", "0.6835339", "0.6802555", "0.6790436", "0.6766259", "0.6762021", "0.6720117", "0.6705472...
0.69947106
8
Loads a tiled map from the source provided
TiledMap loadMap(String path);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadMap(Player player) {\r\n\tregionChucks = RegionBuilder.findEmptyChunkBound(8, 8); \r\n\tRegionBuilder.copyAllPlanesMap(235, 667, regionChucks[0], regionChucks[1], 8);\r\n\t\r\n\t}", "public void loadMap() {\n\n try {\n new File(this.mapName).mkdir();\n FileUtils.copyDirectory(\n ...
[ "0.67119646", "0.6381383", "0.6354181", "0.63302433", "0.6241537", "0.6225625", "0.6202245", "0.61801285", "0.6146444", "0.6137051", "0.6077096", "0.6073917", "0.6041924", "0.6021893", "0.6012048", "0.59971344", "0.59891015", "0.59876406", "0.5980192", "0.58963007", "0.589499...
0.83490425
0
Loads the collision objects from the Map into the physics engine
void loadMapToPhysics(TiledMap map, World physics);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setCollision(){\n\t\tMapObjects mapObjects = map.getLayers().get(\"COLLISION\").getObjects();\n\t\tfor (int ii = 0; ii < mapObjects.getCount(); ++ii){\n\t\t\tRectangleMapObject rectangle_map_object = (RectangleMapObject) mapObjects.get(ii);\n\t\t\tareaCollision.add(new Rectangle(rectangle_map_object.g...
[ "0.6812273", "0.6710824", "0.6481224", "0.62998956", "0.6222025", "0.6184738", "0.6120909", "0.609414", "0.6055452", "0.60329014", "0.60315883", "0.60258776", "0.6014229", "0.6010647", "0.5976097", "0.59544516", "0.5824207", "0.5811691", "0.57194054", "0.5716298", "0.5715772"...
0.7330055
0
This method was generated by MyBatis Generator. This method corresponds to the database table sm_account
int updateAccountInfo(Account account);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "ShopAccount selectByPrimaryKey(Integer spAccount);", "@Query(\"select a from Account a where a.role = 'ADMIN'\")\n List<Account> getAllAdminsAccount();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", ...
[ "0.6253999", "0.6129804", "0.58676064", "0.58455527", "0.5801033", "0.5792081", "0.5766738", "0.5737847", "0.57350147", "0.57012546", "0.5696075", "0.5678417", "0.56097835", "0.5594857", "0.5586489", "0.55768406", "0.5576571", "0.55730176", "0.5559832", "0.5542734", "0.554174...
0.0
-1
Recurse provides a flag by which generation of TCO can be triggered. The compiler enables this flag if it detects a tail call.
public void compile(final MethodVisitor mv) { writeLineInfo(mv); if (isTailRecursive) { // In case of TCO don't push 'this' onto stack, as we don't want to // do a recursive method call! } else { // push 'this' mv.visitVarInsn(ALOAD, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isRecursive();", "@Test public void mixedSelfRecursive() {\n check(\"declare function local:inc($i) { $i + 1 };\" +\n \"declare function local:f($i) { if($i eq 12345) then $i \" +\n \"else local:f(local:inc($i)) };\" +\n \"local:f(0)\",\n\n 12345,\n\n exists(Util.cla...
[ "0.6035966", "0.58607334", "0.5828558", "0.5820106", "0.5701729", "0.56879216", "0.56704414", "0.5551337", "0.5523319", "0.54992443", "0.53487873", "0.53463525", "0.5216182", "0.52138585", "0.51614463", "0.5108183", "0.5092928", "0.5092687", "0.50208515", "0.5002498", "0.4999...
0.471161
40
add EAX, EBX, ECX Return CPUID this function full name INPUT: Reserved array OUTPUT: String, CPUID function full name
@Override public String getCommandLongName(long[] dummy ) { return F_NAME; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getUID();", "String generateUID();", "void mo8712a(C9714a c9714a);", "long mo1685a(C2369e c2369e);", "void mo86a(C0163d c0163d);", "public abstract java.lang.String getIdpc();", "void mo5289a(C5102c c5102c);", "public abstract void mo53562a(C18796a c18796a);", "C2451d mo3408a(C2457e c2457e);",...
[ "0.5399462", "0.5316068", "0.5208489", "0.5182574", "0.5153381", "0.5041225", "0.5013857", "0.49059728", "0.4850916", "0.48431048", "0.48408398", "0.48399642", "0.48271945", "0.48247528", "0.48212755", "0.48010013", "0.4795567", "0.47786012", "0.47733405", "0.47685298", "0.47...
0.0
-1
Return CPUID this function parameters table up string INPUT: Reserved array OUTPUT: String, CPUID function details table up string
@Override public String[] getCommandUp1( long[] dummy ) { return COMMAND_UP_1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public String[][] getCommandText1( long[] array )\n {\n // Scan binary dump, find entry for this function\n int x = CPUID.findFunction( array, 0x80000007 );\n // Return \"n/a\" if this function entry not found\n if (x<0) { return NO_RESULT; }\n // Build and pre-blank result text array\n...
[ "0.59476525", "0.54922897", "0.52606326", "0.52601314", "0.5235747", "0.51804763", "0.515462", "0.51535434", "0.5148426", "0.51483834", "0.5131315", "0.5127246", "0.51167095", "0.51055634", "0.50730896", "0.5068444", "0.5066848", "0.5042079", "0.504196", "0.50405806", "0.5030...
0.0
-1
Build and return CPUID this function detail information table INPUT: Binary array = CPUID dump data OUTPUT: Array of strings = CPUID this function detail information table
@Override public String[][] getCommandText1( long[] array ) { // Scan binary dump, find entry for this function int x = CPUID.findFunction( array, 0x80000007 ); // Return "n/a" if this function entry not found if (x<0) { return NO_RESULT; } // Build and pre-blank result text array String[][]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void buildFieldTable() throws FatalException\r\n\t{\r\n\t\tString [] colNames = m_dbManager.getFieldNames(Constants.chipTableName);\r\n\t\tfieldIdTable = new Hashtable(colNames.length);\r\n\t\tfor (int i=0; i< colNames.length; i++)\r\n\t\t{\r\n\t\t\tInteger id = new Integer(i);\r\n\t\t\tfieldIdTable.put(co...
[ "0.5325162", "0.519003", "0.5158043", "0.5112108", "0.50386506", "0.5024541", "0.4988662", "0.49683723", "0.48697147", "0.48443636", "0.48427674", "0.4836372", "0.48319036", "0.48195794", "0.4795996", "0.47884658", "0.47827804", "0.47341618", "0.47301263", "0.4727083", "0.472...
0.6121501
0
api for going to home page
@RequestMapping(value= {"/flight-home","/"}) public ModelAndView flightSearchPage() { return new ModelAndView ("home"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void goHome();", "public void gotoHome(){ application.gotoHome(); }", "@RequestMapping(value = \"/home\", method = RequestMethod.GET)\n\tpublic String openhomePage() {\n/*\t\tlogger.debug(\"Inside Instruction page\");\n*/\t\treturn \"home\";\n\t}", "public void home_index()\n {\n Home.index(homer)...
[ "0.81048286", "0.7826247", "0.756454", "0.7496216", "0.74064577", "0.7371423", "0.7272931", "0.7264458", "0.719238", "0.7152742", "0.7137739", "0.7109992", "0.7078736", "0.70765483", "0.7027215", "0.7026002", "0.7013456", "0.70115334", "0.7004455", "0.6999428", "0.6991474", ...
0.0
-1
api for going to results page
@PostMapping("/search") public ModelAndView search(String departureLocation, String arrivalLocation, String dateOfJourney, String flightClass,String sortingType) throws ParseException { ModelAndView mv=new ModelAndView("flightresults"); List<Flight> flights=flightService.searchFlights(departureLocation,arrivalLo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Given(\"I am on the search results page\")\n\t\tpublic void i_am_on_the_search_results_page() {\n\t\t\t//I am on the results page\n\t\t\tdriver.get(ResultsUrl);\n\n\t\t}", "public void toResults(View view) {\n Log.i(\"@#@#@#@#@#MAIN\", \"to results navigation item clicked\");\n Intent intent = new...
[ "0.69259834", "0.6558448", "0.632266", "0.6298551", "0.6278351", "0.6273761", "0.61893374", "0.5986157", "0.5980971", "0.59579587", "0.5957673", "0.5881658", "0.58384985", "0.58180076", "0.5755386", "0.575226", "0.5735272", "0.5722543", "0.5722431", "0.57064724", "0.56899333"...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7249559", "0.7204226", "0.71981144", "0.7180145", "0.7110589", "0.70431244", "0.7041351", "0.70150685", "0.70118093", "0.69832", "0.6947845", "0.69419056", "0.6937257", "0.6920975", "0.6920975", "0.68938893", "0.68867826", "0.6878929", "0.6877472", "0.68656766", "0.6865676...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //done: set a button to open drawer //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { if (!drawerLayout.isDrawerOpen(drawer)) drawerLayout.openDrawer(draw...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79052806", "0.7806316", "0.7767438", "0.772778", "0.76324606", "0.7622031", "0.758556", "0.7531728", "0.7489057", "0.74576724", "0.74576724", "0.743964", "0.7422121", "0.74037784", "0.73926556", "0.7387903", "0.73803806", "0.73715395", "0.7362778", "0.7357048", "0.7346653"...
0.0
-1
click on drawer to go to specific activity copy this into every activity
public void drawerClickAndGo(int position) { Context a= MainActivity.this; Class b = Agenda.class ;//just init so there is no error if (position==0) //current position return; if (position==1) b = Agenda.class; Intent intent= new Inten...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void moveToMainActivity(){\r\n Intent goToMainActivity = new Intent(workoutActivity.this, BodyGroups.class);\r\n startActivity(goToMainActivity);;\r\n }", "protected void changeActivity() {\n\t\tIntent intent = new Intent();\r\n\t\tintent.setClass(this,MainActivity.class);\r\n\t\t//inten...
[ "0.6919802", "0.69040596", "0.6713172", "0.67119205", "0.6672583", "0.66580194", "0.6641014", "0.66215456", "0.6611169", "0.66002584", "0.65910274", "0.6590958", "0.6584189", "0.6566663", "0.6535487", "0.65213645", "0.6512934", "0.65116066", "0.651156", "0.6510766", "0.650094...
0.73145163
0
Get the keyType property: The access key to regenerate.
public KeyType keyType() { return this.keyType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getKeyType() {\n return keyType;\n }", "public java.lang.String getKeyType() {\n return keyType;\n }", "public String getKeyType() \n {\n return DBFactory.getKeyTypeName(this.keyType);\n }", "private String createTypeKey(int type, String key) {\r\n\t\treturn t...
[ "0.7355866", "0.7340253", "0.6867013", "0.64815235", "0.6479051", "0.6427986", "0.6264537", "0.6264537", "0.6262351", "0.6230576", "0.6215645", "0.6178192", "0.61315507", "0.607307", "0.6051033", "0.6029059", "0.5997918", "0.59085375", "0.5833456", "0.58115315", "0.5811228", ...
0.72215813
2
Set the keyType property: The access key to regenerate.
public RegenerateAccessKeyParameters withKeyType(KeyType keyType) { this.keyType = keyType; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setKeyClass(Type keyType) {\n this.keyType = keyType;\n return this;\n }", "public com.opentext.bn.converters.avro.entity.ContentKey.Builder setKeyType(java.lang.String value) {\n validate(fields()[2], value);\n this.keyType = value;\n fieldSetFlags()[2]...
[ "0.6813773", "0.66903985", "0.6645802", "0.6192003", "0.6093347", "0.60753155", "0.60698056", "0.6063535", "0.60226536", "0.60226536", "0.5935015", "0.5867235", "0.5848219", "0.57156205", "0.5676", "0.56662893", "0.56448", "0.5591994", "0.5570837", "0.55502146", "0.5546149", ...
0.7248751
0
Get the key property: Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.
public String key() { return this.key; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public KeyType keyType() {\n return this.keyType;\n }", "public java.lang.String getKeyType() {\n return keyType;\n }", "public java.lang.String getKeyType() {\n return keyType;\n }", "public org.apache.calcite.avatica.proto.Common.DatabaseProperty getKey() {\n return key_ == null ...
[ "0.70759314", "0.6828642", "0.6781025", "0.66240156", "0.6545229", "0.6497841", "0.6433203", "0.6433203", "0.6433203", "0.6433203", "0.6433203", "0.6433203", "0.6431987", "0.6431987", "0.64197534", "0.6364929", "0.6364929", "0.6364929", "0.6364929", "0.6353264", "0.6349601", ...
0.0
-1
Set the key property: Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.
public RegenerateAccessKeyParameters withKey(String key) { this.key = key; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setKey(Key key) {\n this.key = key;\n }", "public K setKey(K key);", "public com.opentext.bn.converters.avro.entity.ContentKey.Builder setKeyType(java.lang.String value) {\n validate(fields()[2], value);\n this.keyType = value;\n fieldSetFlags()[2] = true;\n return thi...
[ "0.71559614", "0.7014795", "0.69546086", "0.69369024", "0.69369024", "0.69286907", "0.68079984", "0.6791368", "0.6769407", "0.67426103", "0.6742485", "0.6723986", "0.6712085", "0.6712085", "0.6712085", "0.6703676", "0.66849786", "0.6684596", "0.6681383", "0.6665858", "0.66547...
0.0
-1
TODO Autogenerated method stub
@Override public void keyReleased(KeyEvent arg0) { }
{ "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 keyTyped(KeyEvent arg0) { }
{ "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: get nondefault host from command line argument
@Override public void start(Stage primaryStage) { initGUI(primaryStage); connectToServer(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Host getHost();", "java.lang.String getHost();", "java.lang.String getHost();", "String getHost();", "String getIntegHost();", "String host();", "default String getHost()\n {\n return getString( \"host\", \"localhost:80\");\n }", "public String getHost();", "public String getHost();", ...
[ "0.72655284", "0.72616506", "0.72616506", "0.71128047", "0.7092505", "0.692847", "0.69006246", "0.68688184", "0.68688184", "0.6861288", "0.6861288", "0.66980565", "0.66195625", "0.651734", "0.6513314", "0.6497551", "0.6449947", "0.63905793", "0.63864577", "0.6364641", "0.6361...
0.0
-1
Update one cell of the table
@Override public void update(final ViewerCell cell) { // AlarmTableProvider should always provide "AlarmTreePV" elements final AlarmTreePV alarm = (AlarmTreePV) cell.getElement(); // Special handling of 'info' entry that has no parent switch (column) { case PV: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateDataCell();", "void editCell(Coord coord, String string);", "@SuppressWarnings(\"unchecked\")\r\n\tprivate void editFocusedCell() {\r\n\t\tfinal TablePosition<ArbeitspaketTableData, ?> focusedCell = tabelle.focusModelProperty().get()\r\n\t\t\t\t.focusedCellProperty().get();\r\n\t\ttabelle.edi...
[ "0.7831409", "0.7131963", "0.7004087", "0.6665567", "0.6595531", "0.6575318", "0.6511517", "0.6511517", "0.6464961", "0.6461204", "0.6454725", "0.64131445", "0.6396817", "0.63947237", "0.6332778", "0.6318792", "0.6309309", "0.6277733", "0.6233791", "0.62319636", "0.6220443", ...
0.0
-1
Created by kurt on 2015/11/23.
@RemoteServiceClient(SimpleHttpService.class) public interface ISimpleHttpServiceClient extends IServiceClient { @RemoteMessageClient(SimpleHttpService.REQUEST_START) void bootup(int port); @RemoteMessageClient(SimpleHttpService.REQUEST_STOP) void shutdown(); @RemoteMessageClient(SimpleHttpServic...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \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 bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.6060789", "0.59318745", "0.59106827", "0.59058285", "0.57741195", "0.57741195", "0.57456756", "0.5732779", "0.57257587", "0.5702698", "0.5696344", "0.56808484", "0.56722426", "0.56604105", "0.5655072", "0.56550443", "0.56345403", "0.56345403", "0.56345403", "0.56345403", "...
0.0
-1
Apply the changes from UI to model.
void applyChanges() { trainFunction.setAlias(txtAlias.getText()); trainFunction.getConfiguration().setAddress(txtAddress.getValue()); trainFunction.getConfiguration().setBit(selectBit.getSelected().orElse(null)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateModelFromView();", "public void updateModel() {\n\t\t// Set the mode to validation\n\t\tmode = UPDATE;\n\t\t// Traverses the source and updates the model when UML elements are\n\t\t// missing\n\t\tinspect();\n\t}", "void updateViewFromModel();", "@Override\r\n\tpublic void setModel() {\n\t\tnew Up...
[ "0.72113824", "0.7179049", "0.7102483", "0.70047444", "0.6966252", "0.6601221", "0.648613", "0.64731765", "0.6376489", "0.63408685", "0.63299376", "0.62228364", "0.6208263", "0.6165557", "0.6149638", "0.6136932", "0.609286", "0.60756004", "0.60673934", "0.60360307", "0.603303...
0.64289254
8
Creates new form TelaPacientePesquisa
public TelaPreAtendimentoPesquisa(TelaPreAtendimento parent, boolean modal) { super(parent, modal); initComponents(); this.preAtendimento = parent; this.daoPre = new PreAtendimentoDAO(); this.paciente = new PacienteBean(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors()) {\n return status(409, frm.errorsAsJson());\n }\n\n Paso nuevoPaso = frm.get();\n\n // Comprobar...
[ "0.7330022", "0.7097308", "0.6797164", "0.6781162", "0.66945773", "0.6668395", "0.66238046", "0.6602345", "0.65881103", "0.6586858", "0.6565723", "0.65049756", "0.6473351", "0.6469651", "0.64081967", "0.6404923", "0.6398026", "0.6396543", "0.63350254", "0.6334234", "0.632273"...
0.0
-1
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() { jPanel1 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); txPesquisar = new javax.swing.JTextField(); btnPesquis...
{ "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.73191524", "0.7290383", "0.7290383", "0.7290383", "0.7286656", "0.72480965", "0.72141695", "0.72080517", "0.7195647", "0.7190378", "0.71841127", "0.71591616", "0.71478844", "0.7093131", "0.70816", "0.70577854", "0.6987355", "0.69769996", "0.69551086", "0.69545007", "0.6945...
0.0
-1
projectile = new Projectile(game.assetManager.get( "data/projectile.png", Texture.class));
private void initiateProjectile() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Texture() {\n }", "@Override\n public void loadTexture() {\n\n }", "public abstract TextureObject getTexture();", "SurfaceTexture mo17006a();", "public interface IGameAsset {\n\t\n\t/**\n\t * abstract method for load all game's resources in startup time.\n\t */\n\tpublic void load();\n\n\t/...
[ "0.6892844", "0.68412626", "0.66846836", "0.6618945", "0.6575167", "0.6562741", "0.62387294", "0.6236771", "0.62229085", "0.62151825", "0.62141424", "0.61895186", "0.61791956", "0.61632836", "0.61221415", "0.6115871", "0.6099061", "0.60897094", "0.6061906", "0.6042945", "0.60...
0.5700167
69
If pond/tank go to environmental
public void onClickedNet(View view) { Class<?> next = "cage".equals(ca.getCageType()) ? EnterNetCheckActivity.class : EnvironmentalContainerMenuActivity.class; Intent i = new Intent(this, next); i.putExtra("cageAllocationId", cageAllocationId); startActivity(i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean development() {\n final String mode = mode();\n return \"dev\".equalsIgnoreCase(mode);\n }", "private void randomizeEnvironment() {\n }", "@Before\n public void setupEnvironment() {\n TestEnvironment testEnvironment;\n switch (mode) {\n cas...
[ "0.5568406", "0.55269414", "0.54672176", "0.546719", "0.546576", "0.5408094", "0.5343838", "0.5314811", "0.52759576", "0.5258975", "0.5157153", "0.50920796", "0.50833374", "0.5079553", "0.5072052", "0.5067137", "0.50607663", "0.50232935", "0.50197154", "0.49972683", "0.499480...
0.0
-1
Constructor for queue of given size
public BoundedQueue(int size){ queueArray = (T[]) new Object[size]; tail = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "myQueue(int size){\n }", "public Queue(int size)\n\t{\n\t\tlist = new String[size];\n\t\trear = size - 1;\n\t}", "public Queue(int size){\r\n\t\tthis.maxSize = size;\r\n\t\tthis.queueArray = new long[size];\r\n\t\tthis.front = 0; //index pos of the first slot of array\r\n\t\tthis.rear = -1; // there's no item...
[ "0.83054394", "0.8263977", "0.81641686", "0.8041046", "0.80007476", "0.791695", "0.7843932", "0.7831646", "0.775514", "0.7713408", "0.7627687", "0.7609012", "0.75693125", "0.74778193", "0.7476374", "0.7442957", "0.7386989", "0.7358156", "0.7339935", "0.733377", "0.7332386", ...
0.80795306
3
return the number of elements in the queue
int size(){ return tail; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int size(){\r\n\t\treturn queue.size();\r\n\t}", "public int size() {\n return queue.size();\n }", "public int size() {\n\t\treturn queue.size();\n\t}", "public int size() {\n return _queue.size();\n }", "public int size() {\n return this.queue.size();\n }", "public i...
[ "0.84412354", "0.82808983", "0.8245116", "0.821761", "0.8182177", "0.8157369", "0.79931134", "0.7960584", "0.7923569", "0.79086787", "0.7820503", "0.779916", "0.7670427", "0.75745755", "0.75431305", "0.752689", "0.75117755", "0.7449031", "0.7435618", "0.73463833", "0.7343401"...
0.0
-1
check if the queue is empty
boolean isEmpty(){ return tail==0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isEmpty() {\n return queue.isEmpty();\n }", "@Override\n public boolean isEmpty() {\n return queue.isEmpty();\n }", "public boolean isEmpty() \n {\n\treturn queue.size() == 0;\n }", "public boolean queueEmpty() {\r\n\t\tif (vehiclesInQueue.size() == 0) {\r\n\t\t\treturn true;\r\n\t\t} ...
[ "0.8558963", "0.8503415", "0.83926964", "0.831774", "0.8315382", "0.8275619", "0.8243737", "0.82242405", "0.81682605", "0.81622714", "0.8157458", "0.8157458", "0.8157458", "0.8157458", "0.8157458", "0.8157458", "0.8157458", "0.81539166", "0.81539166", "0.81539166", "0.8153916...
0.0
-1