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
string moodMessage = 5;
public Builder setMoodMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } moodMessage_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getMoodMessage();", "public String getMessage(int chance){\n switch(chance){\n case 1: danger=5;\n pred = \"monkeys\";\n return \"A whole community of monkeys hide in the trees around you. They stare intently\";\n case 2: danger=5;\n pred = \"snakes\";\n...
[ "0.6857693", "0.63813376", "0.63598305", "0.6359161", "0.6303233", "0.6198951", "0.6013342", "0.5942704", "0.57468855", "0.57259774", "0.5585991", "0.5560629", "0.5558941", "0.55385005", "0.55331725", "0.55131674", "0.54949546", "0.54949546", "0.54949546", "0.5460265", "0.544...
0.5829592
8
string moodMessage = 5;
public Builder clearMoodMessage() { moodMessage_ = getDefaultInstance().getMoodMessage(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getMoodMessage();", "public String getMessage(int chance){\n switch(chance){\n case 1: danger=5;\n pred = \"monkeys\";\n return \"A whole community of monkeys hide in the trees around you. They stare intently\";\n case 2: danger=5;\n pred = \"snakes\";\n...
[ "0.6856912", "0.63816416", "0.636186", "0.6358488", "0.6301726", "0.6196058", "0.6011888", "0.5941296", "0.58280337", "0.57438177", "0.57243836", "0.55841213", "0.5562145", "0.555945", "0.55389345", "0.5531197", "0.55121624", "0.5492905", "0.5492905", "0.5492905", "0.5456709"...
0.0
-1
string moodMessage = 5;
public Builder setMoodMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); moodMessage_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getMoodMessage();", "public String getMessage(int chance){\n switch(chance){\n case 1: danger=5;\n pred = \"monkeys\";\n return \"A whole community of monkeys hide in the trees around you. They stare intently\";\n case 2: danger=5;\n pred = \"snakes\";\n...
[ "0.6856912", "0.63816416", "0.636186", "0.6358488", "0.6301726", "0.6196058", "0.6011888", "0.5941296", "0.58280337", "0.57438177", "0.57243836", "0.55841213", "0.5562145", "0.555945", "0.55389345", "0.5531197", "0.55121624", "0.5492905", "0.5492905", "0.5492905", "0.5456709"...
0.0
-1
int32 postNum = 6;
public int getPostNum() { return postNum_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPostNum();", "void mo107677b(Integer num);", "long mo107678c(Integer num);", "public int getPostNum() {\n return postNum_;\n }", "private static int getPayload()\n\t{\n\t\tint max = Integer.MAX_VALUE; // largest int we can get 2147483647\n\t\tint min = Integer.MIN_VALUE; // smallest int we c...
[ "0.70499706", "0.6268922", "0.6069124", "0.5955741", "0.5758866", "0.56437016", "0.56395686", "0.5617176", "0.5557072", "0.5541478", "0.55296683", "0.5494851", "0.54886717", "0.5475995", "0.5430935", "0.54142344", "0.5403537", "0.53991836", "0.53920144", "0.5389325", "0.53877...
0.58181226
4
int32 postNum = 6;
public Builder setPostNum(int value) { postNum_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPostNum();", "void mo107677b(Integer num);", "long mo107678c(Integer num);", "public int getPostNum() {\n return postNum_;\n }", "public int getPostNum() {\n return postNum_;\n }", "private static int getPayload()\n\t{\n\t\tint max = Integer.MAX_VALUE; // largest int we can get...
[ "0.70499706", "0.6268922", "0.6069124", "0.5955741", "0.58181226", "0.5758866", "0.56437016", "0.56395686", "0.5617176", "0.5557072", "0.5541478", "0.55296683", "0.5494851", "0.54886717", "0.5475995", "0.5430935", "0.54142344", "0.5403537", "0.53991836", "0.53920144", "0.5389...
0.525654
44
int32 postNum = 6;
public Builder clearPostNum() { postNum_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPostNum();", "void mo107677b(Integer num);", "long mo107678c(Integer num);", "public int getPostNum() {\n return postNum_;\n }", "public int getPostNum() {\n return postNum_;\n }", "private static int getPayload()\n\t{\n\t\tint max = Integer.MAX_VALUE; // largest int we can get...
[ "0.70499706", "0.6268922", "0.6069124", "0.5955741", "0.58181226", "0.5758866", "0.56437016", "0.56395686", "0.5617176", "0.5557072", "0.5541478", "0.55296683", "0.5494851", "0.54886717", "0.5475995", "0.5430935", "0.54142344", "0.5403537", "0.53991836", "0.53920144", "0.5389...
0.0
-1
string id = 6;
java.lang.String getId();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.63091016
100
string id = 6;
com.google.protobuf.ByteString getIdBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string userID = 5;
java.lang.String getUserID();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int ...
[ "0.71803474", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.68178654", "0.6784753", "0.6702823", ...
0.71280354
2
string userID = 5;
com.google.protobuf.ByteString getUserIDBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.0
-1
.HowMe.Region region = 1;
int getRegionValue();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.62361544
26
.HowMe.Region region = 1;
kr.pik.message.Profile.HowMe.Region getRegion();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIRegion region();", "public Region getRegion() {\n ...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832", "0.6308871...
0.6749579
6
bool isOccupation = 2;
boolean getIsOccupation();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isOccuped(){\n return this.occuped;\n }", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "public boolean isOccupied(){\n return this.occupied;\n }", "public boolean getIsOccupatio...
[ "0.74756175", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.70886594", "0.7031819", "0.6893283", "0.67243195", "0.6703081", "0.66117656", "0.65973467", "0.6572111", "0.65036863", "0.6483012", "0.6481155", "0.64171124", "0.64171124", "0.64171124", "0...
0.7861186
0
string playTime = 3;
java.lang.String getPlayTime();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsFramePeriodInMs)/1000.0f;\n ...
[ "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697815", "0.5757...
0.7073542
0
string playTime = 3;
com.google.protobuf.ByteString getPlayTimeBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697...
0.0
-1
string context = 4;
java.lang.String getContext();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex);//return parse context\r\n \r\n ...
[ "0.7309708", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.6032733", "0.6009...
0.72555923
1
string context = 4;
com.google.protobuf.ByteString getContextBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.603...
0.5716527
45
Use HowMe.newBuilder() to construct.
private HowMe(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private MyDataInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Who() {\n }", "private Builder() {}", "private Builder() {\n\t\t}", "private Builder()\n {\n }", "private DoLike(com.google.protobuf.GeneratedMessageLite.Builder builde...
[ "0.58621055", "0.5789732", "0.57694525", "0.5689589", "0.5684708", "0.56658435", "0.56539357", "0.56539357", "0.5623334", "0.55922616", "0.559121", "0.55580306", "0.553847", "0.5533433", "0.55281585", "0.55128664", "0.54919815", "0.54919815", "0.54919815", "0.54612213", "0.54...
0.7557559
0
string id = 6;
public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string id = 6;
public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string userID = 5;
public java.lang.String getUserID() { java.lang.Object ref = userID_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userID_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.6225009
93
string userID = 5;
public com.google.protobuf.ByteString getUserIDBytes() { java.lang.Object ref = userID_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.0
-1
.HowMe.Region region = 1;
public int getRegionValue() { return region_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.560416
71
.HowMe.Region region = 1;
public kr.pik.message.Profile.HowMe.Region getRegion() { kr.pik.message.Profile.HowMe.Region result = kr.pik.message.Profile.HowMe.Region.valueOf(region_); return result == null ? kr.pik.message.Profile.HowMe.Region.UNRECOGNIZED : result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.5630524
69
bool isOccupation = 2;
public boolean getIsOccupation() { return isOccupation_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean getIsOccupation();", "public boolean isOccuped(){\n return this.occuped;\n }", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "public boolean isOccupied(){\n return this.occupied;\n }", ...
[ "0.7861186", "0.74756175", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.70886594", "0.6893283", "0.67243195", "0.6703081", "0.66117656", "0.65973467", "0.6572111", "0.65036863", "0.6483012", "0.6481155", "0.64171124", "0.64171124", "0.64171124", "0...
0.7031819
8
string playTime = 3;
public java.lang.String getPlayTime() { java.lang.Object ref = playTime_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); playTime_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.57697815", "0.5757...
0.5798889
19
string playTime = 3;
public com.google.protobuf.ByteString getPlayTimeBytes() { java.lang.Object ref = playTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697...
0.5251296
71
string context = 4;
public java.lang.String getContext() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.6032733", "0.6009...
0.63848174
7
string context = 4;
public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); context_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.603...
0.58255583
30
string id = 6;
public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string id = 6;
public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string id = 6;
public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string id = 6;
public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string id = 6;
public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIdNumber();", "public String getId()\r\n\t{\n\t\treturn id.substring(2, 5);\r\n\t}", "public ID(String id) {\n this.type = id.charAt(0);\n this.UID = id;\n }", "java.lang.String getStringId();", "java.lang.String getStringId();", "String mo10312id();", "String getId();", "S...
[ "0.7108217", "0.7005788", "0.69965523", "0.68383914", "0.68383914", "0.67779493", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", "0.67177963", ...
0.0
-1
string userID = 5;
public java.lang.String getUserID() { java.lang.Object ref = userID_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userID_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.62448746
90
string userID = 5;
public com.google.protobuf.ByteString getUserIDBytes() { java.lang.Object ref = userID_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userID_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.0
-1
string userID = 5;
public Builder setUserID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userID_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.0
-1
string userID = 5;
public Builder clearUserID() { userID_ = getDefaultInstance().getUserID(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.0
-1
string userID = 5;
public Builder setUserIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userID_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUserID();", "int getUs...
[ "0.71803474", "0.71280354", "0.71280354", "0.71280354", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591", "0.6845591",...
0.0
-1
.HowMe.Region region = 1;
public int getRegionValue() { return region_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.5436953
94
.HowMe.Region region = 1;
public Builder setRegionValue(int value) { region_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76021767", "0.76021767", "0.76021767", "0.76021767", "0.6966356", "0.6792615", "0.67500347", "0.66628915", "0.66189015", "0.6571791", "0.6562688", "0.64458966", "0.6429574", "0.6429574", "0.6342011", "0.6342011", "0.63391596", "0.6325011", "0.6319425", "0.6319425", "0.6319...
0.55344063
76
.HowMe.Region region = 1;
public kr.pik.message.Profile.HowMe.Region getRegion() { kr.pik.message.Profile.HowMe.Region result = kr.pik.message.Profile.HowMe.Region.valueOf(region_); return result == null ? kr.pik.message.Profile.HowMe.Region.UNRECOGNIZED : result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.560507
70
.HowMe.Region region = 1;
public Builder setRegion(kr.pik.message.Profile.HowMe.Region value) { if (value == null) { throw new NullPointerException(); } region_ = value.getNumber(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.59590256
53
.HowMe.Region region = 1;
public Builder clearRegion() { region_ = 0; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Region region();", "Region region();", "Region region();", "Region region();", "IRegion getRegion();", "public void setRegion(String region);", "kr.pik.message.Profile.HowMe.Region getRegion();", "void tempInRegionUI();", "@NotNull\n @Generated\n @Selector(\"region\")\n public native UIReg...
[ "0.76034105", "0.76034105", "0.76034105", "0.76034105", "0.6967613", "0.67925876", "0.6749579", "0.6662819", "0.6619765", "0.6572314", "0.656354", "0.64469886", "0.6429926", "0.6429926", "0.63422984", "0.63422984", "0.6339061", "0.632487", "0.6319832", "0.6319832", "0.6319832...
0.0
-1
bool isOccupation = 2;
public boolean getIsOccupation() { return isOccupation_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean getIsOccupation();", "public boolean isOccuped(){\n return this.occuped;\n }", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "public boolean isOccupied(){\n return this.occupied;\n }", ...
[ "0.7861186", "0.74756175", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.70886594", "0.7031819", "0.67243195", "0.6703081", "0.66117656", "0.65973467", "0.6572111", "0.65036863", "0.6483012", "0.6481155", "0.64171124", "0.64171124", "0.64171124", "0...
0.6893283
9
bool isOccupation = 2;
public Builder setIsOccupation(boolean value) { isOccupation_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean getIsOccupation();", "public boolean isOccuped(){\n return this.occuped;\n }", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "public boolean isOccupied(){\n return this.occupied;\n }", ...
[ "0.7861186", "0.74756175", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.70886594", "0.7031819", "0.6893283", "0.67243195", "0.6703081", "0.66117656", "0.65973467", "0.6572111", "0.65036863", "0.6481155", "0.64171124", "0.64171124", "0.64171124", "0...
0.6483012
16
bool isOccupation = 2;
public Builder clearIsOccupation() { isOccupation_ = false; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean getIsOccupation();", "public boolean isOccuped(){\n return this.occuped;\n }", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "boolean hasOccupation();", "public boolean isOccupied(){\n return this.occupied;\n }", ...
[ "0.7861186", "0.74756175", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.73210126", "0.70886594", "0.7031819", "0.6893283", "0.67243195", "0.6703081", "0.66117656", "0.65973467", "0.6572111", "0.65036863", "0.6483012", "0.6481155", "0.64171124", "0.64171124", "0....
0.0
-1
string playTime = 3;
public java.lang.String getPlayTime() { java.lang.Object ref = playTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); playTime_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697815", "0.5757...
0.5923836
13
string playTime = 3;
public com.google.protobuf.ByteString getPlayTimeBytes() { java.lang.Object ref = playTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697...
0.5361159
49
string playTime = 3;
public Builder setPlayTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } playTime_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697815", "0.5757...
0.5951262
11
string playTime = 3;
public Builder clearPlayTime() { playTime_ = getDefaultInstance().getPlayTime(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697...
0.0
-1
string playTime = 3;
public Builder setPlayTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); playTime_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPlayTime();", "public int getPlayStartTime() { return _playStartTime; }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsF...
[ "0.7073542", "0.63991773", "0.6280141", "0.62648493", "0.6217199", "0.61669713", "0.61478704", "0.6137488", "0.6110173", "0.60211414", "0.601799", "0.5951262", "0.59501123", "0.5923836", "0.59206986", "0.59025127", "0.5868111", "0.58587193", "0.5848975", "0.5798889", "0.57697...
0.0
-1
string context = 4;
public java.lang.String getContext() { java.lang.Object ref = context_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.6032733", "0.6009...
0.64252883
6
string context = 4;
public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); context_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.603...
0.6009514
21
string context = 4;
public Builder setContext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } context_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.603...
0.0
-1
string context = 4;
public Builder clearContext() { context_ = getDefaultInstance().getContext(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.603...
0.0
-1
string context = 4;
public Builder setContextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); context_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getContextString();", "java.lang.String getContext();", "String getContextId();", "private String context(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n return iMessage.substring(0, iIndex)+\" ^ \"+iMessage.substring(iIndex)...
[ "0.7309708", "0.72555923", "0.67616355", "0.6707032", "0.66786045", "0.6580665", "0.64252883", "0.63848174", "0.63149023", "0.6290501", "0.62855625", "0.6264309", "0.6161767", "0.6120433", "0.6120433", "0.6120433", "0.6070401", "0.60506976", "0.60478956", "0.60427874", "0.603...
0.0
-1
SWITCH:0, SETTEMP:0, TIME:00.00.00, RSSI:0, TIMER1OPEN:0.00.00, TIMER1CLOSE:0.00.00, TIMER2OPEN:0.00.00, TIMER2CLOSE:0.00.00, CURRENTTEMP:0, FAULTMSG:E00",
private void parserReciverMsg(String msg){ String deviceMsg=null; if (!msg.startsWith("{")) return; try { deviceMsg=new JSONObject(msg).getString("MSG"); } catch (JSONException e) { e.printStackTrace(); return; } if (deviceMsg==null) return; if (deviceMsg.equals("logout")) return; if (deviceMsg.startsWith("upgrade")) return; if (!deviceMsg.startsWith("SWITCH")) return; String[] deviceInfoT = deviceMsg.split(","); Map<String,String> deviceInfo=new HashMap<>(); String key=""; String value=""; for(int i=0;i<deviceInfoT.length;i++){ key=deviceInfoT[i].substring(0,deviceInfoT[i].lastIndexOf(":")); value=deviceInfoT[i].substring(deviceInfoT[i].lastIndexOf(":") + 1); deviceInfo.put(key,value); } devSWITCH=deviceInfo.get("SWITCH").equals("1"); if (devSWITCH!=mSeekCircle.isStart()){ refreshDeviceImg(devSWITCH); } setTextMsg(deviceInfo.get("CURRENTTEMP")+"℃\n当前温度",txtCurT); setTextMsg(deviceInfo.get("SETTEMP")+"℃\n设置温度",txtSettingT); mSeekCircle.setProgress(Integer.parseInt(deviceInfo.get("CURRENTTEMP"))); String[] timeStart_1=deviceInfo.get("TIMER1OPEN").split("\\."); txtTimerStart[0].setText(timeStart_1[1]+":"+timeStart_1[2]); timerStartMap.put("0hh",Integer.parseInt(timeStart_1[1])); timerStartMap.put("0mm",Integer.parseInt(timeStart_1[2])); if (timeStart_1[0].equals("1")){ if (!tbTimeOpen[0].isToggleOn()) tbTimeOpen[0].setToggleOn(); }else { if (tbTimeOpen[0].isToggleOn()) tbTimeOpen[0].setToggleOff(); } String[] timeStart_2=deviceInfo.get("TIMER2OPEN").split("\\."); txtTimerStart[1].setText(timeStart_2[1]+":"+timeStart_2[2]); timerStartMap.put("1hh",Integer.parseInt(timeStart_2[1])); timerStartMap.put("1mm",Integer.parseInt(timeStart_2[2])); if (timeStart_2[0].equals("1")){ if (!tbTimeOpen[1].isToggleOn()) tbTimeOpen[1].setToggleOn(); }else { if (tbTimeOpen[1].isToggleOn()) tbTimeOpen[1].setToggleOff(); } String[] timeEnd_1=deviceInfo.get("TIMER1CLOSE").split("\\."); txtTimerEnd[0].setText(timeEnd_1[1]+":"+timeEnd_1[2]); timerEndMap.put("0hh",Integer.parseInt(timeEnd_1[1])); timerEndMap.put("0mm",Integer.parseInt(timeEnd_1[2])); if (timeEnd_1[0].equals("1")){ if (!tbTimeStop[0].isToggleOn()) tbTimeStop[0].setToggleOn(); }else { if (tbTimeStop[0].isToggleOn()) tbTimeStop[0].setToggleOff(); } String[] timeEnd_2=deviceInfo.get("TIMER2CLOSE").split("\\."); txtTimerEnd[1].setText(timeEnd_2[1]+":"+timeEnd_2[2]); timerEndMap.put("1hh",Integer.parseInt(timeEnd_2[1])); timerEndMap.put("1mm",Integer.parseInt(timeEnd_2[2])); if (timeEnd_2[0].equals("1")){ if (!tbTimeStop[1].isToggleOn()) tbTimeStop[1].setToggleOn(); }else { if (tbTimeStop[1].isToggleOn()) tbTimeStop[1].setToggleOff(); } faultmsg= deviceInfo.get("FAULTMSG"); if (faultmsg.equals("E00")||faultmsg.equals("E00|E00")){//正常 layoutErr.setVisibility(View.INVISIBLE); }else { if (faultmsg.contains("|")){ String[] faults = faultmsg.split("\\|"); // L.MyLog(TAG,"设备故障:faults:"+faults[0]+"-----"+faults[1]); if (faults[0].equals("E00")){ faultmsg=faults[1]; } if (faults[1].equals("E00")){ faultmsg=faults[0]; } } M_Dev_Err dererr = dbDeviceErrManager.getErr(devHexId, faultmsg); long t=0; if (dererr!=null) t=(System.currentTimeMillis()-dererr.getErrDoneTime())/1000; L.MyLog(TAG,"设备故障:"+t+"----"+faultmsg); if (dererr==null){ dererr = new M_Dev_Err(); dererr.setErrCode(faultmsg); dererr.setErrTime(System.currentTimeMillis()); dererr.setErrDoneTime(0); dererr.setErrDevIdHex(devHexId); dbDeviceErrManager.addErr(dererr); layoutErr.setVisibility(View.VISIBLE); }else if (t>30*30){ layoutErr.setVisibility(View.VISIBLE); }else { layoutErr.setVisibility(View.INVISIBLE); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void m29980i() {\n String str = \"TpnsChannel\";\n try {\n long currentTimeMillis = System.currentTimeMillis();\n if (f23269d == 0) {\n f23269d = currentTimeMillis;\n } else if (currentTimeMillis - f23269d < 30000) {\n retur...
[ "0.5603063", "0.52276593", "0.5123331", "0.5106899", "0.50825435", "0.5076467", "0.50482285", "0.4983408", "0.4977412", "0.49689403", "0.4954567", "0.49439025", "0.49365246", "0.49192956", "0.49075806", "0.4907172", "0.48998857", "0.48802438", "0.48582426", "0.48571175", "0.4...
0.62123585
0
TODO Autogenerated method stub
@Override public int getCount() { return 3; }
{ "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 Object getItem(int arg0) { 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
@Override public long getItemId(int arg0) { 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
A wrapper for DwClient usage. Wrapping calls to DwClient allows us to mock DwClient in testing.
public interface DataWarehouseRepository { List<DwPerson> searchPeople(String query); List<DwTerm> getTerms(); DwPerson getPersonByLoginId(String loginId); DwCourse findCourse(String subjectCode, String courseNumber, String effectiveTermCode); List<DwCourse> searchCourses(String query); List<DwSection> getSectionsByTermCodeAndUniqueKeys(String termCode, List<String> uniqueKeys); List<DwSection> getSectionsBySubjectCodeAndYear(String subjectCode, Long year); List<DwSection> getSectionsBySubjectCodeAndTermCode(String subjectCode, String termCode); List<DwCensus> getCensusBySubjectCodeAndTermCode(String subjectCode, String termCode); List<DwCensus> getCensusBySubjectCodeAndCourseNumber(String subjectCode, String courseNumber); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static DucktalesClient getClient() {\n \treturn client;\n }", "protected Client getRealClient() {\n\t\treturn client;\n\t}", "public static void setClient(DucktalesClient clientInstance) {\n \tclient = clientInstance;\n }", "private MockClientFacade() {\n\t\t//this.c = Client.getInstance()...
[ "0.6469734", "0.6004672", "0.5942733", "0.5891969", "0.58615565", "0.57412875", "0.57293934", "0.57241327", "0.5700608", "0.55923104", "0.55922043", "0.5552703", "0.549528", "0.54923373", "0.5476489", "0.5464789", "0.5443749", "0.54303813", "0.5427401", "0.53861666", "0.53494...
0.0
-1
creates new user with specified details
public User(String name, String email, String password){ this.name = name; this.email = email; this.password = password; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createUser(User user);", "UserCreateResponse createUser(UserCreateRequest request);", "public void createUser(User user) {\n\n\t}", "CreateUserResult createUser(CreateUserRequest createUserRequest);", "public void creatUser(String name, String phone, String email, String password);", "User c...
[ "0.7859281", "0.78420573", "0.7817631", "0.7725164", "0.7656275", "0.75932276", "0.7552943", "0.7505997", "0.74142504", "0.74113286", "0.7334091", "0.7302263", "0.7299948", "0.72829133", "0.72340405", "0.72169405", "0.7202122", "0.71952724", "0.71902317", "0.7168647", "0.7137...
0.0
-1
creates user with given name and email
public User(String name, String email){ this(name, email, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createUser(final String email, final String password) {\n\n }", "public void creatUser(String name, String phone, String email, String password);", "public void createUser(String firstName, String emailAddress) {\n\n this.firstName = firstName;\n this.emailAddress = emailAddress;...
[ "0.8087648", "0.7904528", "0.7774649", "0.7604972", "0.7553221", "0.74970865", "0.7489447", "0.7461781", "0.7356977", "0.7347863", "0.7319622", "0.7270466", "0.72255045", "0.72175366", "0.719392", "0.71932334", "0.7178383", "0.7156387", "0.7146046", "0.71447647", "0.71108234"...
0.71188
20
creates new user with null fields
public User(){ this(null, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n void createUserReturnsNull() {\n Address address = new Address(\"Earth\", \"Belgium\", \"City\", \"Street\", 0);\n User user = new User(\"Mira\", \"Vogelsang\", \"0412345678\", \"maarten@maarten\", \"pass\", address);\n\n assertNull(controller.createUser(user));\n }", "@Test\n ...
[ "0.7466559", "0.7419271", "0.72738206", "0.7251167", "0.72267395", "0.7222441", "0.72092503", "0.7183184", "0.7087451", "0.7077851", "0.707345", "0.70363075", "0.69601744", "0.6960136", "0.6937692", "0.693199", "0.6928776", "0.687274", "0.6849656", "0.68326855", "0.68324715",...
0.64364696
72
login the user with specified email and password
public static Call<AccessToken> login(String email, String password){ LoginCredentials credentials = new LoginCredentials(email, password); return ApiConfig.getService().login(credentials); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "User login(String email, String password) throws AuthenticationException;", "void login(String email, String password) throws InvalidCredentialsException, IOException;", "void loginAttempt(String email, String password);", "public void login(String email,String password) {\r\n\t\tthis.setChanged();\r\n\t\tth...
[ "0.82756764", "0.82213837", "0.8119796", "0.79404455", "0.7797873", "0.7781021", "0.772225", "0.76720196", "0.7608872", "0.7582401", "0.75519705", "0.7545695", "0.7505839", "0.74698657", "0.7432349", "0.74306333", "0.7417966", "0.7401839", "0.73716605", "0.73656154", "0.73478...
0.68487525
70
create an account for the specified user
public static Call<User> register(User user){ return ApiConfig.getService().createUser(user); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createUserAccount(UserAccount account);", "UserAccount createUserAccount(User user, double amount);", "public int createAccount(User user) throws ExistingUserException,\n UnsetPasswordException;", "private void createAccount()\n {\n // check for blank or invalid inputs\n ...
[ "0.8645682", "0.8028694", "0.799714", "0.779524", "0.7768531", "0.7670505", "0.7649307", "0.76385146", "0.74421704", "0.7384376", "0.7361431", "0.733252", "0.73299587", "0.7307054", "0.7260635", "0.7196868", "0.7185301", "0.7142339", "0.71337026", "0.7066635", "0.69915915", ...
0.0
-1
fetch the user with the given id
public static Call<User> getById(String id, String accessToken){ return ApiConfig.getService().getUserById(id, accessToken); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public User getUserFromId(final long id) {\n LOG.info(\"Getting user with id {}\", id);\n return userRepo.get(id);\n }", "@Override\r\n\tpublic User getUserById(int id) {\n\t\treturn userMapper.selById(id);\r\n\t}", "public User fetchById(int id)\n {\n String query = \"SELECT * FROM ...
[ "0.8102258", "0.8098636", "0.80611646", "0.80605006", "0.79977983", "0.79823947", "0.7961095", "0.79395527", "0.79311293", "0.79086053", "0.7888746", "0.787284", "0.78647685", "0.78602874", "0.78586614", "0.7849067", "0.7840306", "0.78394276", "0.7839215", "0.78181744", "0.77...
0.0
-1
/ 18 / 18 test cases passed. Status: Accepted Runtime: 38 ms 9%
public String countAndSay(int n) { String input = "1"; String immediate_str = ""; for (int i = 1; i < n; i++) { //System.out.println(input); char [] nums = input.toCharArray(); int count = 0; int prev = -1; for (int j = 0; j < nums.length; j++) { //System.out.println(j + ","+ nums[j]); if ((nums[j] - '0') == prev) { count ++; } else { if (prev != -1) immediate_str += Integer.toString(count) + Integer.toString(prev); count = 1; } prev = nums[j] - '0'; } immediate_str += Integer.toString(count) + Integer.toString(prev); input = immediate_str; immediate_str = ""; } return input; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testPerformance() {\n \t}", "public static void run() {\n testAlgorithmOptimality();\n// BenchmarkGraphSets.testMapLoading();\n //testAgainstReferenceAlgorithm();\n //countTautPaths();\n// other();\n// testLOSScan();\n //testRPSScan();\n }", "@Tes...
[ "0.6740818", "0.6647638", "0.6634811", "0.6633832", "0.6596583", "0.65554595", "0.65505695", "0.6545392", "0.6544164", "0.64976543", "0.6497617", "0.64790696", "0.64335155", "0.6424026", "0.6394095", "0.63759995", "0.63577116", "0.63393193", "0.63331693", "0.6246459", "0.6222...
0.0
-1
StatusMonitor.runShell("/home/ubuntu/soft/tomcat/bin/startup.sh"); String str = runShell("moac attach ws://47.98.144.109:8756/ "); String str = runShell("moac attach ws://47.98.144.109:8756/ exec txpool.inspect"); String str1 = runShell("moac attach ws://47.98.144.109:8756/ exec txpool.inspect.pending"); String str2 = runShell("moac attach ws://47.98.144.109:8756/ exec txpool.inspect.queued"); String str3 = runShell("moac attach ws://47.98.144.109:8756/ exec txpool.inspect.pending.xxxxxxxx"); String str4 = runShell("moac attach ws://47.98.144.109:8756/ exec txpool.inspect.queued.xxxxxxxx");
public static void main(String[] arge) throws Exception { String str; // str = runShell("E:\\work\\Research\\solidity\\solc\\run\\solc.exe contracts/spcToken.sol --bin --abi -o result"); str = runShell("E:\\work\\Research\\solidity\\solc\\run\\solc.exe E:\\work\\Research\\solidity\\solc\\run\\contracts\\spcToken.sol --bin --abi " + "-o E:\\work\\Research\\solidity\\solc\\run\\result"); // str = runShell("dir"); str = FormatUtils.formatJson(str); System.out.println(str); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<String> chkProcess(WmiConsole wmi) throws Throwable\r\n {\n\t\twmi.getWmicProcessId();\r\n\t\t\r\n\t\tList<String> listPIDs = wmi.getGetWmiOutList();\r\n\t\t\r\n\t\t//trim list itens...\r\n\t\tfor (int i = 0; i < listPIDs.size(); i++)\r\n\t\t{ \r\n\t\t\tlistPIDs.set(i, listPIDs.get(i).trim())...
[ "0.5117254", "0.50562847", "0.50118965", "0.49608514", "0.49544695", "0.49230248", "0.49142903", "0.4898678", "0.48244876", "0.4797013", "0.47626835", "0.4727565", "0.46830922", "0.46689907", "0.4634709", "0.46186176", "0.4618431", "0.46179867", "0.46026197", "0.46015248", "0...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Connect_String connect = new Connect_String(); String[] arr = {"1", "2", "3", ";", "4", "5", "6", "\"", "7", "8", "9"}; System.out.println(connect.connector(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
Checks if product is available. No real communication to service => Mock.
@Override public boolean checkAvailability(BasketEntryDto basketEntryDto) { // Add communication to product micro service here for product validation return Boolean.TRUE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasProduct() {\n return product_ != null;\n }", "public void isProductAvailable(String productName) {\n\n\t\tString text = WebUtility.getText(Locators.getLocators(\"loc.text.productNameAfterSearch\"));\n\t\tSystem.out.println(text);\n\t\tAssert.assertEquals(text, productName, \"product is not ...
[ "0.6862952", "0.6620217", "0.65367925", "0.64758915", "0.64647615", "0.6419405", "0.6407695", "0.6310315", "0.62923837", "0.62923837", "0.6292179", "0.6289156", "0.62122977", "0.62122977", "0.62122977", "0.62122977", "0.6193031", "0.6184478", "0.61518574", "0.60968286", "0.60...
0.63370854
7
Creates new form ListClassForm
public ListClassForm(java.awt.Frame parent, boolean modal, int classId, int courseId) { super(parent, modal); initComponents(); this._classId = classId; this._courseId = courseId; init(); onLoading(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Component buidListForm() throws BeanDAOException {\n\t\treturn new ListForm<BEAN, KEY>(this);\n\t}", "public FormListRemarking() {\n initComponents();\n }", "public Form(){\n\t\ttypeOfLicenseApp = new TypeOfLicencsApplication();\n\t\toccupationalTrainingList = new ArrayList<OccupationalTrainin...
[ "0.6348488", "0.58534145", "0.57250357", "0.56793976", "0.55656224", "0.55293816", "0.55187106", "0.5515767", "0.5496428", "0.5490024", "0.5484727", "0.5475708", "0.54755986", "0.54480714", "0.5415902", "0.53982425", "0.5347194", "0.5346252", "0.5339758", "0.53037363", "0.528...
0.60087883
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() { jScrollPane1 = new javax.swing.JScrollPane(); tbTrainee = new javax.swing.JTable(); jPanel1 = new javax.swing.JPanel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); txtTraineeId = new javax.swing.JTextField(); jSeparator1 = new javax.swing.JSeparator(); jPanel3 = new javax.swing.JPanel(); jLabel2 = new javax.swing.JLabel(); txtTraineeName = new javax.swing.JTextField(); jSeparator2 = new javax.swing.JSeparator(); jPanel4 = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); txtMark = new javax.swing.JTextField(); jSeparator3 = new javax.swing.JSeparator(); btnUpdate = new javax.swing.JButton(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); setTitle("Danh sách lớp"); setResizable(false); tbTrainee.setBackground(new java.awt.Color(204, 204, 204)); tbTrainee.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { }, new String [] { "Mã học viên", "Tên học viên", "Ngày vào học", "Điểm cuối khoá" } ) { boolean[] canEdit = new boolean [] { false, false, false, false }; public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit [columnIndex]; } }); tbTrainee.setFillsViewportHeight(true); tbTrainee.setGridColor(new java.awt.Color(204, 255, 255)); tbTrainee.setRowHeight(25); tbTrainee.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); tbTrainee.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { tbTraineeMouseClicked(evt); } }); jScrollPane1.setViewportView(tbTrainee); jPanel1.setBackground(new java.awt.Color(255, 255, 255)); jLabel1.setText("Mã học viên"); txtTraineeId.setEditable(false); txtTraineeId.setBackground(new java.awt.Color(204, 204, 255)); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addContainerGap() .addComponent(jLabel1) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addComponent(txtTraineeId) .addComponent(jSeparator1) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addContainerGap() .addComponent(jLabel1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(txtTraineeId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE) .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); jLabel2.setText("Tên học viên"); txtTraineeName.setEditable(false); txtTraineeName.setBackground(new java.awt.Color(204, 204, 255)); javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addContainerGap() .addComponent(jLabel2) .addContainerGap(214, Short.MAX_VALUE)) .addComponent(txtTraineeName) .addComponent(jSeparator2) ); jPanel3Layout.setVerticalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addContainerGap() .addComponent(jLabel2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(txtTraineeName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE) .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); jLabel3.setText("Điểm tốt nghiệp"); javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addContainerGap() .addComponent(jLabel3) .addContainerGap(199, Short.MAX_VALUE)) .addComponent(txtMark) .addComponent(jSeparator3) ); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addContainerGap() .addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(txtMark, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE) .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); btnUpdate.setText("Cập nhật"); btnUpdate.setEnabled(false); btnUpdate.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnUpdateActionPerformed(evt); } }); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(btnUpdate) .addContainerGap()) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(105, 105, 105) .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(31, 31, 31) .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(45, 45, 45) .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(btnUpdate) .addGap(24, 24, 24)) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 608, Short.MAX_VALUE) .addGap(0, 0, 0) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 452, Short.MAX_VALUE) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); pack(); setLocationRelativeTo(null); }
{ "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.7319396", "0.7290941", "0.7290941", "0.7290941", "0.7285927", "0.7248002", "0.72139066", "0.72086275", "0.71958303", "0.718997", "0.7184516", "0.7159095", "0.71481097", "0.709288", "0.70806605", "0.70578784", "0.6986726", "0.6977067", "0.6955257", "0.6954392", "0.6945326",...
0.0
-1
End of variables declaration//GENEND:variables
@Override public void displayListTraineeInClass(ArrayList<TraineeDto> list) { DefaultTableModel _dm = (DefaultTableModel) tbTrainee.getModel(); if (_dm.getRowCount() != 0) { _dm.getDataVector().removeAllElements(); _dm.fireTableDataChanged(); } Object rowData[] = new Object[4]; for (int i = 0; i < list.size(); i++) { rowData[0] = list.get(i).getId(); rowData[1] = list.get(i).getName(); rowData[2] = list.get(i).getStartedDate(); rowData[3] = list.get(i).getCourseMark(); _dm.addRow(rowData); } }
{ "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
/ In a 3x2 crosshatched grid, a total of 37 different rectangles could be situated within that grid as indicated in the sketch. There are 5 grids smaller than 3x2, vertical and horizontal dimensions being important, i.e. 1x1, 2x1, 3x1, 1x2 and 2x2. If each of them is crosshatched, the following number of different rectangles could be situated within those smaller grids: 1x1: 1 2x1: 4 3x1: 8 1x2: 4 2x2: 18 Adding those to the 37 of the 3x2 grid, a total of 72 different rectangles could be situated within 3x2 and smaller grids. How many different rectangles could be situated within 47x43 and smaller grids?
public static long cross_hatched(long W, long H) { long sum = 0; // horizontals for (long w = 1L; w <= W; w++) { for (long h = 1L; h <= H; h++) { sum += (W - w + 1) * (H - h + 1); //System.out.println("hSuma (" + w + "x" + h + ") = " + ((W - w + 1) * (H - h + 1))); } } // Diagonals for (long n = 1L; n <= Math.min(W, H) * 2; n++) { for (long m = 1L; m <= n; m++) { double ancho_alto = (n + m) / 2.0; // Ancho diagonal impar if (n % 2 == 1) { // empieza en Y = 0 double cabenx = Math.floor(W - 0.5 - ancho_alto + 1); double cabeny = Math.floor(H - ancho_alto + 1); if (cabenx > 0.0 && cabeny > 0.0) { sum += cabenx * cabeny * ((n != m) ? 2 : 1); } // empieza en Y = 0.5 cabenx = Math.floor(W - ancho_alto + 1); cabeny = Math.floor(H - 0.5 - ancho_alto + 1); if (cabenx > 0.0 && cabeny > 0.0) { sum += cabenx * cabeny * ((n != m) ? 2 : 1); } } // Ancho diagonal par else { // Empieza en Y = 0 double cabenx = Math.floor(W - ancho_alto + 1); double cabeny = Math.floor(H - ancho_alto + 1); if (cabenx > 0.0 && cabeny > 0.0) { sum += cabenx * cabeny * ((n != m) ? 2 : 1); } // Empieza en Y = 0.5 cabenx = Math.floor(W - 0.5 - ancho_alto + 1); cabeny = Math.floor(H - 0.5 - ancho_alto + 1); if (cabenx > 0.0 && cabeny > 0.0) { sum += cabenx * cabeny * ((n != m) ? 2 : 1); } } } } // Diagonals squared System.out.println("Suma (" + W + "x" + H + ") = " + sum); return sum; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createRectangles() {\r\n rectangles.clear();\r\n for (int i = 0; i < gridSize * gridSize; i++) {\r\n Rectangle r = new Rectangle(rectangleSize, rectangleSize, Color.BLUE);\r\n r.setStroke(Color.BLACK);\r\n rectangles.add(r);\r\n }\r\n }", "pub...
[ "0.625738", "0.6093996", "0.6008839", "0.6004307", "0.59694815", "0.59248614", "0.59162396", "0.5900531", "0.5866506", "0.58659035", "0.5848741", "0.5847196", "0.5814262", "0.58096224", "0.580572", "0.57979023", "0.5792684", "0.578981", "0.57681054", "0.576207", "0.5737448", ...
0.0
-1
int id for the next photo to be added to the Library Create instance of which contains the photos name, directory, originial name, extension, a unique id number, the tags it contains, the set of all previous names and the log file handler.
public Photo(String name, String dir){ this.name = name; this.dir = dir; this.extension = ImageTypeChecker.getExtension(name); this.originalName = ImageTypeChecker.removeExtension(name); this.id = nextId; nextId += 1; tags = new LinkedHashMap<String, Tag>(); //key: tag name, value: Tag object prevNames = new LinkedHashSet<String>(); //set handler for each instance of a photo try{ String workingDir = System.getProperty("user.dir"); String fileName = workingDir + this.originalName + ".log"; handler = new FileHandler(fileName, true); } catch (IOException e) { e.printStackTrace(); } handler.setFormatter(new SimpleFormatter()); logger.addHandler(handler); logger.setLevel(Level.ALL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getImageId(){\n \t\treturn imageId;\n \t}", "@Override\n\tpublic Serializable getId() {\n\t\treturn imageId;\n\t}", "public int getImageId() {\n return imageId_;\n }", "public int getImageId() {\n return imageId_;\n }", "public abstract long NewFileNumber();", "public int getImageI...
[ "0.59962785", "0.59773916", "0.58134216", "0.57636553", "0.5684798", "0.5667989", "0.5584931", "0.55750924", "0.5542768", "0.5539161", "0.5521326", "0.55025196", "0.54912704", "0.5482514", "0.542994", "0.54218125", "0.54218125", "0.54139835", "0.53988665", "0.53867847", "0.53...
0.6001846
0
Get the for the
public Logger getPhotoLogger(){ return logger; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getFor();", "public K get()\n {\n\treturn current.data(); \n }", "Object getFrom();", "Reserva Obtener();", "public java.lang.String getGet() {\n return instance.getGet();\n }", "public T get( int index ){\n return getNo( index ).getConteudo();\n }", "Object firstData() {...
[ "0.6791598", "0.62464464", "0.61721486", "0.615277", "0.61516464", "0.60975903", "0.60003716", "0.59720343", "0.59720343", "0.59720343", "0.59720343", "0.5936973", "0.5930362", "0.5893643", "0.5856296", "0.58065164", "0.5784673", "0.5784673", "0.5778494", "0.57658315", "0.573...
0.0
-1
Get the name of the
public String getName(){ return name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String g...
[ "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "0.8839174", "...
0.0
-1
get the parent directory of
public String getDir(){ return dir; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Directory getParent() {\n return parent;\n }", "private String getParentPath(String path) {\n int slash = path.lastIndexOf('/');\n if (slash == -1) {\n return null;\n } else {\n if (slash == 0) {\n // return \"root\" if parent path is ...
[ "0.71672374", "0.71667516", "0.7156076", "0.7136515", "0.7114703", "0.7100403", "0.6882293", "0.6840463", "0.6836598", "0.67735666", "0.6771228", "0.67492133", "0.67301416", "0.67301416", "0.6720057", "0.66182834", "0.6601578", "0.6584593", "0.65621567", "0.65469635", "0.6504...
0.0
-1
Get the unique ID for the
public int getId(){ return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUniqueId();", "String getUniqueID();", "String uniqueId();", "public static String getUniqueIdentifier() {\r\n UUID uuid = UUID.randomUUID();\r\n return uuid.toString();\r\n }", "public String getUniqueID ( ) { return _uniqueID; }", "UUID getUniqueId();", "public String getUn...
[ "0.85512453", "0.83065563", "0.82492524", "0.8129521", "0.8129049", "0.81175065", "0.8100901", "0.8046406", "0.8043848", "0.8029542", "0.7985357", "0.7964949", "0.7963569", "0.79496175", "0.79219234", "0.7897634", "0.78317773", "0.7802862", "0.77862805", "0.77640545", "0.7730...
0.0
-1
Returns a previous names of the photo
public LinkedHashSet<String> getPrevNames(){ return prevNames; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private File getPreviousPicture() {\r\n File retVal = null;\r\n\r\n if (listFiles.size() > 0) {\r\n if (fileList.getSelectedIndex() <= 0) {\r\n retVal = listFiles.get(listFiles.size() - 1);\r\n fileList.setSelectedIndex(listFiles.size() - 1);\r\n } ...
[ "0.6776686", "0.6762773", "0.6633938", "0.62863076", "0.6261656", "0.62384117", "0.6170591", "0.61433136", "0.60970306", "0.60055333", "0.6004765", "0.59779847", "0.5964958", "0.59613264", "0.5931185", "0.5893874", "0.5861329", "0.5825399", "0.58246124", "0.5739744", "0.57347...
0.6563582
3
Adds a name to the of previous names the has had
private void addPrevNames(String name){ if (!prevNames.contains(name)){ prevNames.add(name); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNames() {}", "public void addNames() {}", "private void removePrevNames(String name){\r\n\t\tif (prevNames.contains(name)){\r\n\t\t\tprevNames.remove(name);\r\n\t\t}\r\n\t}", "public org.hl7.fhir.String addNewName()\n {\n synchronized (monitor())\n {\n check_orphane...
[ "0.74051946", "0.74051946", "0.72110903", "0.68598825", "0.6859045", "0.67531323", "0.6436186", "0.6391823", "0.63715374", "0.63707274", "0.624386", "0.6236551", "0.6232927", "0.62162787", "0.62098366", "0.6191614", "0.61811846", "0.61714464", "0.6170602", "0.61585253", "0.61...
0.8602492
0
Removes a previous name from the set of previous names the photo has had, so that the previous names will not contain the current name, since it is not previous.
private void removePrevNames(String name){ if (prevNames.contains(name)){ prevNames.remove(name); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addPrevNames(String name){\r\n\t\tif (!prevNames.contains(name)){\r\n\t\t\tprevNames.add(name);\r\n\t\t}\r\n\t}", "public void removePatient(String name){\r\n current = front;\r\n afterCurrent = front.getNext();\r\n \r\n if (current.getPatient().getName().trim().equalsIgnoreCase(...
[ "0.7155877", "0.64134", "0.63067216", "0.6113709", "0.5997443", "0.59729326", "0.5914114", "0.5914114", "0.59026957", "0.58908683", "0.58882034", "0.5833374", "0.58264214", "0.58264214", "0.5795246", "0.5740348", "0.5723493", "0.56968975", "0.5673009", "0.5665067", "0.5635676...
0.84507436
0
Get the of objects the has
public Set<String> getTags(){ return tags.keySet(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection getRegisteredObjects() {\n return usedByObjects;\n }", "Collection<? extends WrappedIndividual> getHas();", "public Collection<GObject> getObjects();", "public StateVariable getRelevantObjects () {\n return relevantObjects;\n }", "private List<String> retrieveObjectsInRoom(Room ro...
[ "0.6493467", "0.63706535", "0.6158736", "0.6155863", "0.601206", "0.59970564", "0.5992091", "0.59904045", "0.59281045", "0.59281045", "0.59021914", "0.58852446", "0.5863494", "0.58201206", "0.5806768", "0.5800709", "0.5729579", "0.57286054", "0.5721715", "0.56718814", "0.5671...
0.0
-1
Set the name of the photo, constructs the name from the tags within the instance
private void setName(){ String tagString = new String(); for (String k : tags.keySet()){ tagString += "@" + k; } String newName = originalName + tagString +"."+ extension; if (!newName.equals(name)){ removePrevNames(newName); //if the new name is a previous name addPrevNames(name); updateLog(newName); name = newName; //notify the tag observer setChanged(); notifyObservers(); clearChanged(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setImageName(String name) {\n imageToInsert = name;\n}", "public String rename() throws IOException {\n StringBuilder newName = new StringBuilder();\n for (String tag : photo.getTags().getCurrentTags()) {\n newName.append(\"@\").append(tag).append(\" \");\n }\n String oldName = phot...
[ "0.6750816", "0.63798326", "0.62069684", "0.60396177", "0.58786315", "0.58359295", "0.57820827", "0.5761748", "0.5759496", "0.57490915", "0.57262784", "0.57262784", "0.57262784", "0.57262784", "0.5704844", "0.5704844", "0.5692026", "0.56663626", "0.56581163", "0.565517", "0.5...
0.67845947
0
Add a to the photo
public void addTags(Tag[] newTags){ String tagName; for (int i = 0; i < newTags.length; i++){ tagName = newTags[i].getName(); if (!tags.containsKey(tagName)){ //checks if photo is already tagged with the tag tags.put(tagName, newTags[i]); addObserver(newTags[i]); } } setName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addPhoto(User user, Photo photo);", "@Override\r\n\tpublic void addPhoto(String albumId, String photoFileName,\r\n\t\t\tString photoCaption) {\r\n\t\r\n\t}", "public void addPicture() {\n FileChooser chooser = new FileChooser();\n chooser.setTitle(\"Upload your pic for this post\");\n ...
[ "0.753447", "0.672897", "0.67054164", "0.663733", "0.6636935", "0.6603092", "0.65870535", "0.6557262", "0.6514991", "0.64647484", "0.64216125", "0.63658094", "0.63627654", "0.63467604", "0.63036615", "0.62851965", "0.6278083", "0.6218103", "0.62119466", "0.61886173", "0.61801...
0.0
-1
Delete a from the photo
public void deleteTag(Tag tag){ String tagName = tag.getName(); if (tags.containsKey(tagName)){ tags.remove(tagName); setName(); deleteObserver(tag); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void deletePressedPhoto() {\r\n if (lastPressedPhoto == null)\r\n return;\r\n\r\n int photoId = (int) lastPressedPhoto.getTag(R.integer.tag_event_photo);\r\n\r\n LinearLayout layoutPhotos = findViewById(R.id.layoutPhotos);\r\n layoutPhotos.removeView(lastPressedPhoto)...
[ "0.77725065", "0.7761986", "0.73286194", "0.73144567", "0.7113068", "0.70160633", "0.70053583", "0.6991127", "0.6988745", "0.6940863", "0.69206005", "0.68617386", "0.68321824", "0.67971927", "0.67888635", "0.67661035", "0.676269", "0.67534775", "0.6717682", "0.67110914", "0.6...
0.0
-1
Delete all the tags from this photo
public void deleteAllTags(boolean toResetName){ tags.clear(); setChanged(); notifyObservers(); clearChanged(); deleteObservers(); if (toResetName){ setName(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void deleteAllTag() {\n\t\tReaderDataBase.deleteAll(this);\n\t}", "void deleteUnusedTags();", "@Override\n\tpublic Integer delTagsByPhotoID(String photoID) throws BaseException {\n\t\treturn this.delete(\"Mapper.PhotoTag.deleteByphotoID\", photoID);\n\t}", "public void deleteTag(String t) {\n\t\tif...
[ "0.76077586", "0.7177209", "0.6816392", "0.6796679", "0.67933106", "0.67306966", "0.65890086", "0.65683204", "0.6562814", "0.6464321", "0.646099", "0.64208204", "0.63899875", "0.6323349", "0.6322889", "0.6293174", "0.6264993", "0.61833894", "0.61768335", "0.61605537", "0.6157...
0.6533592
9
Update the photos log with the new name of the photo, the previous name of the photo and the time at which the name was changed
public void updateLog(String newName){ String timeStamp = new SimpleDateFormat("yyyy/MM/dd HH:mm.ss").format(new java.util.Date()); logger.log(Level.SEVERE,"Previous name:{0}, New Name: {1}, Date: {2}", new Object[] {name, newName,timeStamp}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void writeLog(String oldName, ArrayList<String> changesLog) throws IOException {\n String logs = String.join(\"\\n \", changesLog);\n FileHandler handler = new FileHandler(\"PhotoRenaming.log\", true);\n SimpleFormatter formatterTxt = new SimpleFormatter();\n handler.setFormatter(formatterTx...
[ "0.6923744", "0.6060422", "0.5989895", "0.5921035", "0.5831031", "0.5781185", "0.57127", "0.56762606", "0.5560319", "0.5503561", "0.54669815", "0.54567885", "0.54507995", "0.54425377", "0.54095554", "0.540726", "0.5395489", "0.53940827", "0.53704965", "0.5333605", "0.5283733"...
0.73268586
0
Optional optionalConditionerEntity = conditionerRepository.findByUuidConditionerAndDeleted(conditionerUuid, false);
public ConditionerDto getConditionerById(String conditionerUuid) { Optional<ConditionerEntity> optionalConditionerEntity = conditionerRepository.findByUuidConditioner(conditionerUuid); if (!optionalConditionerEntity.isPresent()) { LOGGER.error(Messages.CONDITIONER + Messages.WITH_ID + conditionerUuid + Messages.NOT_FOUND); throw new ConditionerException(Messages.CONDITIONER + Messages.WITH_ID + conditionerUuid + Messages.NOT_FOUND); } ConditionerEntity conditioner = optionalConditionerEntity.get(); ConditionerDto conditionerDto = conditionerToDto(conditioner); try { LOGGER.info("Conditioner with id {} found", conditionerUuid); } catch (Exception e) { LOGGER.error(e.getMessage()); throw new ConditionerException(e.getMessage()); } return conditionerDto; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface InventoryLineRepository extends CrudRepository<InventoryLine, Long> {\n List<InventoryLine> findAllByInventoryAndDeleted(Inventory inventory, boolean deleted);\n}", "@Test(expected = NoSuchElementException.class)\r\n\tpublic void testFindByIdAndDeleted_Deleted() {\r\n\t\tOptional<Sector> foun...
[ "0.6198084", "0.6095415", "0.6082339", "0.60738176", "0.603106", "0.5967266", "0.5892629", "0.5892209", "0.5877717", "0.5724774", "0.56980395", "0.5666811", "0.560098", "0.55867434", "0.55650645", "0.5563859", "0.55608386", "0.553903", "0.55336016", "0.5518313", "0.551039", ...
0.5800716
9
List listOdMaintenancy = conditionerEntity.getMaintenance();
private void createForPlanningTypeMaintenance(ConditionerEntity conditionerEntity, String typeMaintenanceUuid) { List<TypeMaintenanceEntity> typeMaint = conditionerEntity.getMaintenance().stream() .filter(m -> m.getUuidTypeMaintenance().equals(typeMaintenanceUuid)).collect(Collectors.toList()); for (TypeMaintenanceEntity entity : typeMaint) { Integer hoursBeforeTypeMaintenance = entity.getHoursBeforeTypeMaintenance(); LocalDateTime startDate = conditionerEntity.getStartDate(); LocalDateTime nextTypeMaintenancy = startDate.plusHours(hoursBeforeTypeMaintenance); ForPlanningTypeMaintenanceEntity en = ForPlanningTypeMaintenanceEntity.builder() .inventoryNumber(conditionerEntity.getInventoryNumber()) .lastTypeMaintenanceDate(conditionerEntity.getStartDate()) .nameConditioner(conditionerEntity.getNameConditioner()) .nextTypeMaintenanceDate(nextTypeMaintenancy) .place(conditionerEntity.getPlace()) .uuidConditioner(conditionerEntity.getUuidConditioner()) .uuidTypeMaintenance(typeMaintenanceUuid) .uuidRecord(utils.createRandomUuid()) .build(); forPlanningTypeMaintenanceRepository.save(en); LOGGER.info(Messages.RECORD_FOR_PLANNING + Messages.CHECK_UNIQUE_CONDITIONER + conditionerEntity.getInventoryNumber() + Messages.CREATED); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<VehicleMaintenance> getVehicleMaintenances(){\n\n return vehicleMaintenanceRepository.findAll();\n }", "public List<VehicleMaintenance> getVehicleMaintenances() {\n return vehicleMaintenanceRepository.findAll();\n }", "public List getGestionStockList(Map criteria);", "public L...
[ "0.73816675", "0.6915587", "0.66470444", "0.6298525", "0.62703377", "0.61549926", "0.60793924", "0.5978981", "0.59719485", "0.5926496", "0.59235436", "0.58768606", "0.5871679", "0.5870046", "0.58674604", "0.58547527", "0.5807618", "0.5788335", "0.57643586", "0.5750347", "0.57...
0.0
-1
for clock and speaker
private void msg(String name, String message) { System.out.println("[" + (System.currentTimeMillis() - system_start_time) + "] " + name + ": " + message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getClock();", "public void clockChange(int time);", "public void clock(double period);", "private static void showClock(MicroBlazeProcessor mb) {\r\n Clock clock = mb.getClock();\r\n //System.out.println(\"Number o clock cycles:\"+clock.getLatency());\r\n console.print(\"Number o ...
[ "0.6653791", "0.6479432", "0.6467165", "0.63813716", "0.62814015", "0.62548137", "0.62526494", "0.6251824", "0.6237556", "0.6206755", "0.6172731", "0.6163696", "0.6145492", "0.61122894", "0.6102935", "0.60900474", "0.6019629", "0.6014191", "0.60091925", "0.596296", "0.5950864...
0.0
-1
for visitors because more than one visitors
private void msg2(String name, int id, String message) { System.out.println("[" + (System.currentTimeMillis() - system_start_time) + "] " + name + id +": " + message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getVisited(){return this.visited;}", "@Override\n\tpublic void accept(Visitor visitor) {\n\t\t\n\t}", "@Override\r\n\tpublic boolean isVisited() {\n\t\treturn false;\r\n\t}", "public boolean WasVisited() { return _visited; }", "public void visit() {\n\t\tvisited = true;\n\t}", "public void...
[ "0.55577976", "0.5551896", "0.54938215", "0.5436172", "0.54004043", "0.53184295", "0.52971584", "0.52563465", "0.52563465", "0.52488816", "0.5238751", "0.5225185", "0.5189496", "0.51876575", "0.509751", "0.5082645", "0.50684637", "0.50683725", "0.50540626", "0.5037533", "0.50...
0.0
-1
only out put time.
private String msg3() { return("[" + (System.currentTimeMillis() - system_start_time) + "] "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getIO_time();", "private void PrintTimeToET() {\n\t\tfinal Calendar c = Calendar.getInstance();\n\t\tjetztStdTxt.setText(Integer.toString(c.get(Calendar.HOUR_OF_DAY)));\n\t\tjetztMinTxt.setText(Integer.toString(c.get(Calendar.MINUTE)));\n\n\t}", "static public String soutAllTimer() {\n return HeartC...
[ "0.6839566", "0.67368805", "0.66452295", "0.6624371", "0.654736", "0.65178293", "0.64904493", "0.6469597", "0.64440775", "0.642042", "0.63816726", "0.6368728", "0.63561255", "0.6345226", "0.62530977", "0.62530977", "0.62510043", "0.6220718", "0.6206463", "0.6198071", "0.61814...
0.0
-1
reply for clock, speaker or visitor.
private void reply( OutputStream outputStream, MethodTable mt) throws IOException { ObjectOutputStream oos = new ObjectOutputStream(outputStream); if(mt.getID() == -1) { oos.writeObject(msg3() + "Hi, "+ mt.getThreadName() + ", Server already recevies and run your method that is " + mt.getMethodName()); } else { oos.writeObject(msg3() + "Hi, "+ mt.getThreadName() + mt.getID() + ", Server already recevies and run your method that is " + mt.getMethodName()); } oos.flush(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendReply(String cmd, String reply) {\n if (cmd.equals(\"ACTION_REPLY\")){\n long now = System.currentTimeMillis();\n long processTime = now - startTime;\n out.println(cmd + \"<<\"+processTime+\":\"+ reply);\n }else{\n //out.println(cmd + \"<<nu...
[ "0.63211715", "0.6099379", "0.5919573", "0.59016937", "0.57623386", "0.57242733", "0.5655467", "0.5584772", "0.55666375", "0.5524837", "0.5490151", "0.54473394", "0.54421204", "0.5437234", "0.54241586", "0.53802484", "0.5372528", "0.536086", "0.5331944", "0.53109497", "0.5299...
0.53055114
20
reply speaker or visitor that theater is open or not
private void reply2(OutputStream outputStream, MethodTable mt, boolean isOpen) throws IOException { ObjectOutputStream oos = new ObjectOutputStream(outputStream); if(isOpen) { oos.writeObject("TRUE"); } else { oos.writeObject("FALSE"); } oos.flush(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Boolean getIsAnswered();", "boolean hasReply();", "static private void TalkTo() {\n if (BSChristiansen.getCurrentRoom() == currentRoom) {\n System.out.println(BSChristiansen.getDescription() + \", yet he still gives you good advice:\\n\");\n System.out.println(BSChristiansen.getDia...
[ "0.5855361", "0.5838169", "0.5792785", "0.57161206", "0.5652358", "0.55605435", "0.5501485", "0.5471596", "0.54498625", "0.5446426", "0.542718", "0.5403842", "0.53785866", "0.53293294", "0.5303915", "0.53000444", "0.5278888", "0.52050006", "0.5200579", "0.51944864", "0.519271...
0.52305853
17
/ renamed from: a
public Bundle mo40307a() { Bundle bundle = new Bundle(); this.f3476d.mo40306a(bundle, this.f3475c, this.f3473a.mo40596g()); return bundle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
True is male, False is female Constructor
public Member(int memberID, String firstName, String lastName, String address, String email, String phoneNum, boolean gender) { this.memberID = memberID; this.firstName = firstName; this.lastName = lastName; this.address = address; this.email = email; this.phoneNum = phoneNum; this.gender = gender; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getGender() { return gender; }", "boolean hasGender();", "boolean hasGender();", "public Vegetarian(boolean female) {\n super(female);\n }", "boolean hasHasGender();", "public boolean isFemale() {\n return (gender);\n }", "public int gender()\r\n\t{\r\n\t\tif(male)\...
[ "0.71751547", "0.70981115", "0.70981115", "0.7019464", "0.697113", "0.68929154", "0.68031603", "0.6558953", "0.6558242", "0.65553176", "0.65531224", "0.6500324", "0.6475696", "0.6448249", "0.63356453", "0.6252064", "0.62137324", "0.61702824", "0.6168219", "0.6060109", "0.6056...
0.56697744
65
Registra el evento para manejo de request repetidos. Proceso para dispositivos Android
private void registerProcess(WebRequest webReq)throws Exception{ if( WebEnviroment.isSameProcess( webReq.getTipoPedido() ) ){ return; }else{ WebEnviroment.setProcess(webReq.getTipoPedido()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createEvents()\r\n\t{\r\n\t\teventsCount.add(new Event(RequestMethod.PUT, 0));\r\n\t\teventsCount.add(new Event(RequestMethod.GET, 0));\r\n\t\teventsCount.add(new Event(RequestMethod.POST, 0));\r\n\t}", "public void crear_un_evento_recurrente_para_el_dia_de_hoy() {\n\t\t\n\t}", "public void ingres...
[ "0.638047", "0.6124019", "0.6088471", "0.6014364", "0.5981559", "0.5893964", "0.58700144", "0.5831271", "0.5824719", "0.5746199", "0.5709325", "0.56577414", "0.56221217", "0.56197804", "0.5591238", "0.556263", "0.55291885", "0.5508717", "0.5506511", "0.55026215", "0.54856163"...
0.0
-1