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 |
|---|---|---|---|---|---|---|
A transferFrom transaction contains multiple outputs repeated .PlainOutput outputs = 2; | public java.util.List<? extends org.hyperledger.fabric.protos.token.Transaction.PlainOutputOrBuilder>
getOutputsOrBuilderList() {
if (outputsBuilder_ != null) {
return outputsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(output... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testTransfer() {\n\t\tAccount acc1 = new Account(00000, \"acc1\", true, 1000.00, 0, false);\n\t\tAccount acc2 = new Account(00001, \"acc2\", true, 1000.00, 0, false);\n\t\taccounts.add(acc1);\n\t\taccounts.add(acc2);\n\n\t\ttransactions.add(0, new Transaction(10, \"acc1\", 00000, 0, \"\"));\n\... | [
"0.63901246",
"0.620086",
"0.60396963",
"0.5946256",
"0.59061974",
"0.5892269",
"0.5866287",
"0.5866287",
"0.5866287",
"0.5864626",
"0.58603203",
"0.5846199",
"0.58139235",
"0.58112866",
"0.57759213",
"0.56866264",
"0.5564515",
"0.55585545",
"0.5546477",
"0.5543421",
"0.54932... | 0.0 | -1 |
A transferFrom transaction contains multiple outputs repeated .PlainOutput outputs = 2; | public org.hyperledger.fabric.protos.token.Transaction.PlainOutput.Builder addOutputsBuilder() {
return getOutputsFieldBuilder().addBuilder(
org.hyperledger.fabric.protos.token.Transaction.PlainOutput.getDefaultInstance());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testTransfer() {\n\t\tAccount acc1 = new Account(00000, \"acc1\", true, 1000.00, 0, false);\n\t\tAccount acc2 = new Account(00001, \"acc2\", true, 1000.00, 0, false);\n\t\taccounts.add(acc1);\n\t\taccounts.add(acc2);\n\n\t\ttransactions.add(0, new Transaction(10, \"acc1\", 00000, 0, \"\"));\n\... | [
"0.63891035",
"0.62033784",
"0.6041631",
"0.59456766",
"0.5909653",
"0.5891569",
"0.5869478",
"0.5869478",
"0.5869478",
"0.5867474",
"0.58632755",
"0.58443004",
"0.58135945",
"0.58119076",
"0.5774082",
"0.5687731",
"0.5561453",
"0.55595773",
"0.5544667",
"0.55413395",
"0.5493... | 0.0 | -1 |
A transferFrom transaction contains multiple outputs repeated .PlainOutput outputs = 2; | public org.hyperledger.fabric.protos.token.Transaction.PlainOutput.Builder addOutputsBuilder(
int index) {
return getOutputsFieldBuilder().addBuilder(
index, org.hyperledger.fabric.protos.token.Transaction.PlainOutput.getDefaultInstance());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testTransfer() {\n\t\tAccount acc1 = new Account(00000, \"acc1\", true, 1000.00, 0, false);\n\t\tAccount acc2 = new Account(00001, \"acc2\", true, 1000.00, 0, false);\n\t\taccounts.add(acc1);\n\t\taccounts.add(acc2);\n\n\t\ttransactions.add(0, new Transaction(10, \"acc1\", 00000, 0, \"\"));\n\... | [
"0.63914263",
"0.6203039",
"0.60423476",
"0.59475297",
"0.59079105",
"0.5893538",
"0.5866729",
"0.5866729",
"0.5866729",
"0.58666724",
"0.5862613",
"0.5847434",
"0.58157545",
"0.5813846",
"0.5776627",
"0.5687505",
"0.5564359",
"0.55579406",
"0.55483514",
"0.5544088",
"0.54938... | 0.0 | -1 |
A transferFrom transaction contains multiple outputs repeated .PlainOutput outputs = 2; | public java.util.List<org.hyperledger.fabric.protos.token.Transaction.PlainOutput.Builder>
getOutputsBuilderList() {
return getOutputsFieldBuilder().getBuilderList();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testTransfer() {\n\t\tAccount acc1 = new Account(00000, \"acc1\", true, 1000.00, 0, false);\n\t\tAccount acc2 = new Account(00001, \"acc2\", true, 1000.00, 0, false);\n\t\taccounts.add(acc1);\n\t\taccounts.add(acc2);\n\n\t\ttransactions.add(0, new Transaction(10, \"acc1\", 00000, 0, \"\"));\n\... | [
"0.63914263",
"0.6203039",
"0.60423476",
"0.59475297",
"0.59079105",
"0.5893538",
"0.5866729",
"0.5866729",
"0.5866729",
"0.58666724",
"0.5862613",
"0.5847434",
"0.58157545",
"0.5813846",
"0.5776627",
"0.5687505",
"0.5564359",
"0.55579406",
"0.55483514",
"0.5544088",
"0.54938... | 0.0 | -1 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public boolean hasDelegatedOutput() {
return delegatedOutputBuilder_ != null || delegatedOutput_ != null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.7454429",
"0.7346815",
"0.66955894",
"0.6355117",
"0.63432837",
"0.63183826",
"0.6163112",
"0.6032394",
"0.60303456",
"0.60247916",
"0.59323096",
"0.59169394",
"0.591505",
"0.5872517",
"0.5866327",
"0.5798035",
"0.57547575",
"0.5721224",
"0.57035804",
"0.5685098",
"0.56790... | 0.55709976 | 24 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput() {
if (delegatedOutputBuilder_ == null) {
return delegatedOutput_ == null ? org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput.getDefaultInstance() : delegatedOutput_;
} else {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.7453711",
"0.7346023",
"0.66943467",
"0.63558984",
"0.6316144",
"0.6161537",
"0.6032753",
"0.6028861",
"0.60233885",
"0.5932597",
"0.5918269",
"0.59134007",
"0.58727175",
"0.58667004",
"0.5798155",
"0.5753337",
"0.5720887",
"0.5703528",
"0.5685448",
"0.5677365",
"0.5662157... | 0.63413787 | 4 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public Builder setDelegatedOutput(org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput value) {
if (delegatedOutputBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
delegatedOutput_ = value;
onChanged();
} els... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.74533564",
"0.73458064",
"0.6693813",
"0.63554704",
"0.63411987",
"0.6315876",
"0.6161213",
"0.60324275",
"0.6029767",
"0.60243106",
"0.5932051",
"0.5916861",
"0.5913985",
"0.5872365",
"0.5866326",
"0.57985127",
"0.5753925",
"0.57205737",
"0.5702985",
"0.56862545",
"0.5678... | 0.5636631 | 23 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public Builder setDelegatedOutput(
org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput.Builder builderForValue) {
if (delegatedOutputBuilder_ == null) {
delegatedOutput_ = builderForValue.build();
onChanged();
} else {
delegatedOutputBuilder_.setM... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.74533564",
"0.73458064",
"0.6693813",
"0.63554704",
"0.63411987",
"0.6315876",
"0.6161213",
"0.60324275",
"0.6029767",
"0.60243106",
"0.5932051",
"0.5916861",
"0.5913985",
"0.5872365",
"0.5866326",
"0.57985127",
"0.5753925",
"0.57205737",
"0.5702985",
"0.56862545",
"0.5678... | 0.48055142 | 72 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public Builder mergeDelegatedOutput(org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput value) {
if (delegatedOutputBuilder_ == null) {
if (delegatedOutput_ != null) {
delegatedOutput_ =
org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput.new... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.7454429",
"0.7346815",
"0.66955894",
"0.6355117",
"0.63432837",
"0.63183826",
"0.6163112",
"0.6032394",
"0.60303456",
"0.60247916",
"0.59323096",
"0.59169394",
"0.591505",
"0.5872517",
"0.5866327",
"0.5798035",
"0.57547575",
"0.5721224",
"0.57035804",
"0.5685098",
"0.56790... | 0.5315495 | 38 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public Builder clearDelegatedOutput() {
if (delegatedOutputBuilder_ == null) {
delegatedOutput_ = null;
onChanged();
} else {
delegatedOutput_ = null;
delegatedOutputBuilder_ = null;
}
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.7453711",
"0.7346023",
"0.66943467",
"0.63558984",
"0.63413787",
"0.6316144",
"0.6161537",
"0.6032753",
"0.6028861",
"0.60233885",
"0.5932597",
"0.5918269",
"0.59134007",
"0.58727175",
"0.58667004",
"0.5798155",
"0.5753337",
"0.5720887",
"0.5703528",
"0.5685448",
"0.567736... | 0.0 | -1 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput.Builder getDelegatedOutputBuilder() {
onChanged();
return getDelegatedOutputFieldBuilder().getBuilder();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.74533564",
"0.73458064",
"0.6693813",
"0.63554704",
"0.63411987",
"0.6315876",
"0.6161213",
"0.60324275",
"0.6029767",
"0.60243106",
"0.5932051",
"0.5916861",
"0.5872365",
"0.5866326",
"0.57985127",
"0.5753925",
"0.57205737",
"0.5702985",
"0.56862545",
"0.5678034",
"0.5661... | 0.5913985 | 12 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder() {
if (delegatedOutputBuilder_ != null) {
return delegatedOutputBuilder_.getMessageOrBuilder();
} else {
return delegatedOutput_ == null ?
org.hyperledger.f... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.74533564",
"0.73458064",
"0.6693813",
"0.63554704",
"0.63411987",
"0.6315876",
"0.60324275",
"0.6029767",
"0.60243106",
"0.5932051",
"0.5916861",
"0.5913985",
"0.5872365",
"0.5866326",
"0.57985127",
"0.5753925",
"0.57205737",
"0.5702985",
"0.56862545",
"0.5678034",
"0.5661... | 0.6161213 | 6 |
A transferFrom transaction may contain one delegatable output .PlainDelegatedOutput delegated_output = 3; | private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput, org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput.Builder, org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder>
getDelegatedOutputFiel... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput getDelegatedOutput();",
"org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOrBuilder();",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutputOrBuilder getDelegatedOutputOr... | [
"0.7454429",
"0.7346815",
"0.66955894",
"0.6355117",
"0.63432837",
"0.63183826",
"0.6163112",
"0.6032394",
"0.60303456",
"0.60247916",
"0.59323096",
"0.59169394",
"0.591505",
"0.5872517",
"0.5866327",
"0.5798035",
"0.5721224",
"0.57035804",
"0.5685098",
"0.56790257",
"0.56616... | 0.57547575 | 16 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | com.google.protobuf.ByteString getOwner(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.7591395",
"0.7591395",
"0.7513304",
"0.7513293",
"0.7393305",
"0.7393305",
"0.7374634",
"0.7374634",
"0.7344834",
"0.7344834",
"0.721779",
"0.70949787",
"0.70949787",
"0.70738924",
"0.7012723",
"0.6996406",
"0.698243",
"0.6951355",
"0.6950449",
"0.6950278",
"0.6943031",
... | 0.75678825 | 3 |
The token type string type = 2; | java.lang.String getType(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.694656",
"0.693489",
"0.68807644",
"0.67926073",
"0.67028993",
"0.655457",
"0.649914",
"0.6474977",
"0.646284",
"0.6440986",
"0.6437045",
"0.63920283",
"0.6390941",
"0.63830614",
"0.63830256",
"0.63470745",
"0.62917143",
"0.62771606",
"0.62687886",
"0.6217488",
"0.618509",... | 0.6047891 | 34 |
The token type string type = 2; | com.google.protobuf.ByteString
getTypeBytes(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.694656",
"0.693489",
"0.68807644",
"0.67926073",
"0.67028993",
"0.655457",
"0.649914",
"0.6474977",
"0.646284",
"0.6440986",
"0.6437045",
"0.63920283",
"0.6390941",
"0.63830614",
"0.63830256",
"0.63470745",
"0.62917143",
"0.62771606",
"0.62687886",
"0.6217488",
"0.618509",... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 3; | long getQuantity(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public long numberOf (String type) {\n return this.numberOf(\"tokens\", type);\n }",
"public int length() {\n\treturn tokens.length;\n}",
... | [
"0.61159736",
"0.5973004",
"0.58305186",
"0.5771627",
"0.574339",
"0.56904393",
"0.5688006",
"0.5672831",
"0.56418455",
"0.5625479",
"0.5618725",
"0.5530742",
"0.55107325",
"0.55107325",
"0.5490586",
"0.5470963",
"0.54670113",
"0.5452622",
"0.5452622",
"0.5400658",
"0.5373062... | 0.54249334 | 19 |
Use PlainOutput.newBuilder() to construct. | private PlainOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Builder setOutput(org.hyperledger.fabric.protos.token.Transaction.PlainOutput value) {\n if (outputBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n output_ = value;\n onChanged();\n } else {\n outputBui... | [
"0.6819636",
"0.6613764",
"0.64820963",
"0.6384541",
"0.61300594",
"0.6071641",
"0.6069489",
"0.6069489",
"0.6069489",
"0.6062025",
"0.5987339",
"0.5967171",
"0.5847951",
"0.5833415",
"0.57901627",
"0.57643425",
"0.5750812",
"0.5676603",
"0.5649552",
"0.5642",
"0.5630305",
... | 0.7636813 | 0 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public com.google.protobuf.ByteString getOwner() {
return owner_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.759283",
"0.759283",
"0.75693065",
"0.75693065",
"0.75150275",
"0.75150126",
"0.73757625",
"0.73757625",
"0.73460925",
"0.73460925",
"0.72181916",
"0.70954734",
"0.70954734",
"0.7073836",
"0.70142204",
"0.69955283",
"0.69820106",
"0.6952177",
"0.6951268",
"0.69505346",
"0.... | 0.7394514 | 7 |
The token type string type = 2; | public java.lang.String getType() {
java.lang.Object ref = type_;
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();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.694656",
"0.693489",
"0.68807644",
"0.67926073",
"0.67028993",
"0.655457",
"0.649914",
"0.6474977",
"0.646284",
"0.6440986",
"0.6437045",
"0.63920283",
"0.6390941",
"0.63830614",
"0.63830256",
"0.63470745",
"0.62917143",
"0.62771606",
"0.62687886",
"0.6217488",
"0.618509",... | 0.0 | -1 |
The token type string type = 2; | public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.6945245",
"0.693355",
"0.6878982",
"0.6791157",
"0.6701783",
"0.6553013",
"0.6497565",
"0.64749223",
"0.6461795",
"0.64393663",
"0.64336956",
"0.63923043",
"0.6390352",
"0.63827854",
"0.63821846",
"0.6345179",
"0.6291582",
"0.6276713",
"0.6267283",
"0.6215739",
"0.6185049"... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 3; | public long getQuantity() {
return quantity_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public long numberOf (String type) {\n return this.numberOf(\"tokens\", type);\n }",
"public int length() {\n\treturn tokens.length;\n}",
... | [
"0.6113201",
"0.59702986",
"0.58299994",
"0.5769071",
"0.5740591",
"0.56887746",
"0.56883615",
"0.5669854",
"0.5638916",
"0.56226665",
"0.56184256",
"0.5529626",
"0.54873085",
"0.5468342",
"0.5464771",
"0.545379",
"0.545379",
"0.5426024",
"0.5426024",
"0.53992844",
"0.5370225... | 0.55117744 | 12 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public com.google.protobuf.ByteString getOwner() {
return owner_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.759283",
"0.759283",
"0.75693065",
"0.75693065",
"0.75150275",
"0.75150126",
"0.7394514",
"0.7394514",
"0.73757625",
"0.73757625",
"0.72181916",
"0.70954734",
"0.70954734",
"0.7073836",
"0.70142204",
"0.69955283",
"0.69820106",
"0.6952177",
"0.6951268",
"0.69505346",
"0.69... | 0.73460925 | 11 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public Builder setOwner(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
owner_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.759283",
"0.759283",
"0.75693065",
"0.75693065",
"0.75150275",
"0.75150126",
"0.7394514",
"0.7394514",
"0.73757625",
"0.73757625",
"0.73460925",
"0.73460925",
"0.72181916",
"0.70954734",
"0.70954734",
"0.7073836",
"0.70142204",
"0.69955283",
"0.69820106",
"0.6952177",
"0.6... | 0.6329431 | 79 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.75922567",
"0.75922567",
"0.75681573",
"0.75681573",
"0.7513719",
"0.75137097",
"0.7393712",
"0.7393712",
"0.73752517",
"0.73752517",
"0.7345293",
"0.7345293",
"0.7217914",
"0.70950127",
"0.70950127",
"0.70740396",
"0.7012647",
"0.69968396",
"0.69825244",
"0.6951974",
"0.6... | 0.0 | -1 |
The token type string type = 2; | public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.69466597",
"0.69350404",
"0.6881284",
"0.6793301",
"0.67031425",
"0.65548795",
"0.650016",
"0.64746684",
"0.6463048",
"0.6441103",
"0.64376",
"0.63921607",
"0.63899773",
"0.6383356",
"0.6383096",
"0.6347653",
"0.6291369",
"0.6277451",
"0.62692416",
"0.62177217",
"0.6186273... | 0.0 | -1 |
The token type string type = 2; | public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.694656",
"0.693489",
"0.68807644",
"0.67926073",
"0.67028993",
"0.655457",
"0.649914",
"0.6474977",
"0.646284",
"0.6440986",
"0.6437045",
"0.63920283",
"0.6390941",
"0.63830614",
"0.63830256",
"0.63470745",
"0.62917143",
"0.62771606",
"0.62687886",
"0.6217488",
"0.618509",... | 0.0 | -1 |
The token type string type = 2; | public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.694656",
"0.693489",
"0.68807644",
"0.67926073",
"0.67028993",
"0.655457",
"0.649914",
"0.6474977",
"0.646284",
"0.6440986",
"0.6437045",
"0.63920283",
"0.6390941",
"0.63830614",
"0.63830256",
"0.63470745",
"0.62917143",
"0.62771606",
"0.62687886",
"0.6217488",
"0.618509",... | 0.0 | -1 |
The token type string type = 2; | public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.6945245",
"0.693355",
"0.6878982",
"0.6791157",
"0.6701783",
"0.6553013",
"0.6497565",
"0.64749223",
"0.6461795",
"0.64393663",
"0.64336956",
"0.63923043",
"0.6390352",
"0.63827854",
"0.63821846",
"0.6345179",
"0.6291582",
"0.6276713",
"0.6267283",
"0.6215739",
"0.6185049"... | 0.0 | -1 |
The token type string type = 2; | public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public String getTokenType() {\n return tokenType;\n }",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.69466597",
"0.69350404",
"0.6881284",
"0.6793301",
"0.67031425",
"0.65548795",
"0.650016",
"0.64746684",
"0.6463048",
"0.6441103",
"0.64376",
"0.63921607",
"0.63899773",
"0.6383356",
"0.6383096",
"0.6347653",
"0.6291369",
"0.6277451",
"0.62692416",
"0.62177217",
"0.6186273... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 3; | public long getQuantity() {
return quantity_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public long numberOf (String type) {\n return this.numberOf(\"tokens\", type);\n }",
"public int length() {\n\treturn tokens.length;\n}",
... | [
"0.6112758",
"0.5970226",
"0.5829215",
"0.5769609",
"0.5740552",
"0.5689027",
"0.5687788",
"0.5669627",
"0.5639154",
"0.5622215",
"0.5619147",
"0.55299973",
"0.5512991",
"0.5512991",
"0.54876",
"0.5468857",
"0.5463771",
"0.54272217",
"0.54272217",
"0.5400386",
"0.53712523",
... | 0.5455061 | 18 |
The quantity of tokens uint64 quantity = 3; | public Builder setQuantity(long value) {
quantity_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public long numberOf (String type) {\n return this.numberOf(\"tokens\", type);\n }",
"public int length() {\n\treturn tokens.length;\n}",
... | [
"0.6112758",
"0.5970226",
"0.5829215",
"0.5769609",
"0.5740552",
"0.5689027",
"0.5687788",
"0.5669627",
"0.5639154",
"0.5622215",
"0.5619147",
"0.55299973",
"0.5512991",
"0.5512991",
"0.54876",
"0.5468857",
"0.5463771",
"0.5455061",
"0.5455061",
"0.54272217",
"0.54272217",
... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 3; | public Builder clearQuantity() {
quantity_ = 0L;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public long numberOf (String type) {\n return this.numberOf(\"tokens\", type);\n }",
"public int length() {\n\treturn tokens.length;\n}",
... | [
"0.61159736",
"0.5973004",
"0.58305186",
"0.5771627",
"0.574339",
"0.56904393",
"0.5688006",
"0.5672831",
"0.56418455",
"0.5625479",
"0.5618725",
"0.5530742",
"0.55107325",
"0.55107325",
"0.5490586",
"0.5470963",
"0.54670113",
"0.5452622",
"0.5452622",
"0.54249334",
"0.542493... | 0.0 | -1 |
The transaction ID string tx_id = 1; | java.lang.String getTxId(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.t... | [
"0.7966542",
"0.7882745",
"0.7764174",
"0.77011085",
"0.76212263",
"0.7481826",
"0.7380179",
"0.7357046",
"0.73448277",
"0.7313732",
"0.7219439",
"0.71906316",
"0.71407723",
"0.7116676",
"0.71133214",
"0.70781386",
"0.7051406",
"0.69086397",
"0.69086397",
"0.6899675",
"0.6899... | 0.83146673 | 0 |
The transaction ID string tx_id = 1; | com.google.protobuf.ByteString
getTxIdBytes(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.8314606",
"0.7966811",
"0.78829956",
"0.7764099",
"0.77009857",
"0.76207244",
"0.7481899",
"0.73803294",
"0.73573786",
"0.7345124",
"0.7313462",
"0.7219478",
"0.7140496",
"0.7116952",
"0.7113319",
"0.70783633",
"0.70518154",
"0.6909625",
"0.6909625",
"0.6900041",
"0.690004... | 0.71905404 | 12 |
The index of the output in the transaction uint32 index = 2; | int getIndex(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getIndex() {\n\t\treturn index & 0xffff;\n\t}",
"public int getIndex(){\r\n \treturn index;\r\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}",
"public int get... | [
"0.71384096",
"0.6696257",
"0.6645525",
"0.6645525",
"0.66439086",
"0.65985864",
"0.65985864",
"0.65985864",
"0.6598499",
"0.6593256",
"0.65739787",
"0.6564204",
"0.65634185",
"0.65510005",
"0.6546584",
"0.6541728",
"0.6532001",
"0.65206534",
"0.6498554",
"0.6473609",
"0.6441... | 0.6354406 | 33 |
Use InputId.newBuilder() to construct. | private InputId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.clarifai.grpc.api.InputIDs.Builder getInputIdsBuilder() {\n return getInputIdsFieldBuilder().getBuilder();\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n com.clarifai.grpc.api.InputIDs, com.clarifai.grpc.api.InputIDs.Builder, com.clarifai.grpc.api.InputIDsOrBuilder> \n ... | [
"0.6607775",
"0.61257786",
"0.6041866",
"0.60067207",
"0.59680223",
"0.5930662",
"0.5879398",
"0.58178055",
"0.5717222",
"0.5704639",
"0.56733775",
"0.5645544",
"0.564009",
"0.5615333",
"0.5516987",
"0.54957724",
"0.54957724",
"0.54957724",
"0.5474699",
"0.5474699",
"0.547469... | 0.73018736 | 0 |
The transaction ID string tx_id = 1; | public java.lang.String getTxId() {
java.lang.Object ref = txId_;
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();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.83146673",
"0.7966542",
"0.7882745",
"0.7764174",
"0.76212263",
"0.7481826",
"0.7380179",
"0.7357046",
"0.73448277",
"0.7313732",
"0.7219439",
"0.71906316",
"0.71407723",
"0.7116676",
"0.71133214",
"0.70781386",
"0.7051406",
"0.69086397",
"0.69086397",
"0.6899675",
"0.6899... | 0.77011085 | 4 |
The transaction ID string tx_id = 1; | public com.google.protobuf.ByteString
getTxIdBytes() {
java.lang.Object ref = txId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
txId_ = b;
return ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.8314606",
"0.7966811",
"0.78829956",
"0.7764099",
"0.77009857",
"0.76207244",
"0.7481899",
"0.73803294",
"0.73573786",
"0.7345124",
"0.7313462",
"0.7219478",
"0.71905404",
"0.7116952",
"0.7113319",
"0.70783633",
"0.70518154",
"0.6909625",
"0.6909625",
"0.6900041",
"0.69000... | 0.7140496 | 13 |
The index of the output in the transaction uint32 index = 2; | public int getIndex() {
return index_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getIndex() {\n\t\treturn index & 0xffff;\n\t}",
"public int getIndex(){\r\n \treturn index;\r\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}",
"public int get... | [
"0.71384096",
"0.6696257",
"0.6645525",
"0.6645525",
"0.66439086",
"0.65985864",
"0.65985864",
"0.65985864",
"0.6598499",
"0.6593256",
"0.65739787",
"0.6564204",
"0.65634185",
"0.65510005",
"0.6546584",
"0.6541728",
"0.6532001",
"0.65206534",
"0.6498554",
"0.6473609",
"0.6441... | 0.625542 | 66 |
The transaction ID string tx_id = 1; | public java.lang.String getTxId() {
java.lang.Object ref = txId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
txId_ = s;
return s;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n ... | [
"0.83145833",
"0.79664665",
"0.788275",
"0.770097",
"0.7621086",
"0.74818313",
"0.7380017",
"0.7356899",
"0.73446316",
"0.7313577",
"0.72194475",
"0.7190543",
"0.71406233",
"0.7116502",
"0.7113359",
"0.7078055",
"0.705122",
"0.6908569",
"0.6908569",
"0.6899481",
"0.6899481",
... | 0.77640486 | 3 |
The transaction ID string tx_id = 1; | public com.google.protobuf.ByteString
getTxIdBytes() {
java.lang.Object ref = txId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
txId_ = b;
r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.83146673",
"0.7966542",
"0.7882745",
"0.7764174",
"0.77011085",
"0.76212263",
"0.7481826",
"0.7380179",
"0.7357046",
"0.73448277",
"0.7219439",
"0.71906316",
"0.71407723",
"0.7116676",
"0.71133214",
"0.70781386",
"0.7051406",
"0.69086397",
"0.69086397",
"0.6899675",
"0.689... | 0.7313732 | 10 |
The transaction ID string tx_id = 1; | public Builder setTxId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
txId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.8314606",
"0.7966811",
"0.78829956",
"0.7764099",
"0.77009857",
"0.76207244",
"0.7481899",
"0.73803294",
"0.73573786",
"0.7345124",
"0.7313462",
"0.7219478",
"0.71905404",
"0.7140496",
"0.7116952",
"0.7113319",
"0.70783633",
"0.70518154",
"0.6909625",
"0.6909625",
"0.69000... | 0.6651602 | 38 |
The transaction ID string tx_id = 1; | public Builder clearTxId() {
txId_ = getDefaultInstance().getTxId();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.8314606",
"0.7966811",
"0.78829956",
"0.7764099",
"0.77009857",
"0.76207244",
"0.7481899",
"0.73803294",
"0.73573786",
"0.7345124",
"0.7313462",
"0.7219478",
"0.71905404",
"0.7140496",
"0.7116952",
"0.7113319",
"0.70783633",
"0.70518154",
"0.6909625",
"0.6909625",
"0.69000... | 0.0 | -1 |
The transaction ID string tx_id = 1; | public Builder setTxIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
txId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"String getTransactionID();",
"long getTxid();",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ... | [
"0.83145833",
"0.79664665",
"0.788275",
"0.77640486",
"0.770097",
"0.7621086",
"0.74818313",
"0.7380017",
"0.7356899",
"0.73446316",
"0.7313577",
"0.72194475",
"0.7190543",
"0.71406233",
"0.7116502",
"0.7113359",
"0.7078055",
"0.705122",
"0.6908569",
"0.6908569",
"0.6899481",... | 0.0 | -1 |
The index of the output in the transaction uint32 index = 2; | public int getIndex() {
return index_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getIndex() {\n\t\treturn index & 0xffff;\n\t}",
"public int getIndex(){\r\n \treturn index;\r\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}",
"public int get... | [
"0.71384096",
"0.6696257",
"0.6645525",
"0.6645525",
"0.66439086",
"0.65985864",
"0.65985864",
"0.65985864",
"0.6598499",
"0.6593256",
"0.65739787",
"0.6564204",
"0.65634185",
"0.65510005",
"0.6546584",
"0.6541728",
"0.6532001",
"0.65206534",
"0.6498554",
"0.6473609",
"0.6441... | 0.6097262 | 85 |
The index of the output in the transaction uint32 index = 2; | public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getIndex() {\n\t\treturn index & 0xffff;\n\t}",
"public int getIndex(){\r\n \treturn index;\r\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}",
"public int get... | [
"0.71384096",
"0.6696257",
"0.6645525",
"0.6645525",
"0.66439086",
"0.65985864",
"0.65985864",
"0.65985864",
"0.6598499",
"0.6593256",
"0.65739787",
"0.6564204",
"0.65634185",
"0.65510005",
"0.6546584",
"0.6541728",
"0.6532001",
"0.65206534",
"0.6498554",
"0.6473609",
"0.6441... | 0.0 | -1 |
The index of the output in the transaction uint32 index = 2; | public Builder clearIndex() {
index_ = 0;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getIndex() {\n\t\treturn index & 0xffff;\n\t}",
"public int getIndex(){\r\n \treturn index;\r\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex(){\n return index;\n }",
"public int getIndex() {\r\n \t\t\treturn index;\r\n \t\t}",
"public int get... | [
"0.71384096",
"0.6696257",
"0.6645525",
"0.6645525",
"0.66439086",
"0.65985864",
"0.65985864",
"0.65985864",
"0.6598499",
"0.6593256",
"0.65739787",
"0.6564204",
"0.65634185",
"0.65510005",
"0.6546584",
"0.6541728",
"0.6532001",
"0.65206534",
"0.6498554",
"0.6473609",
"0.6441... | 0.0 | -1 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | com.google.protobuf.ByteString getOwner(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.75922567",
"0.75922567",
"0.7513719",
"0.75137097",
"0.7393712",
"0.7393712",
"0.73752517",
"0.73752517",
"0.7345293",
"0.7345293",
"0.7217914",
"0.70950127",
"0.70950127",
"0.70740396",
"0.7012647",
"0.69968396",
"0.69825244",
"0.6951974",
"0.69510585",
"0.6950522",
"0.69... | 0.75681573 | 2 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | java.util.List<com.google.protobuf.ByteString> getDelegateesList(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int index) {\n return delegatees_.get(index);\n }",
"public com.goo... | [
"0.7032353",
"0.6608659",
"0.6521665",
"0.64682776",
"0.64611447",
"0.62905973",
"0.62197435",
"0.62180805",
"0.6206362",
"0.55096287",
"0.5492168",
"0.5484054",
"0.5458049",
"0.54223937",
"0.53869045",
"0.5382603",
"0.53615373",
"0.53609496",
"0.53438073",
"0.5324728",
"0.53... | 0.6696192 | 1 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | int getDelegateesCount(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.64614457",
"0.6292115",
"0.6220604",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
"0.53187805",... | 0.6219616 | 8 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | com.google.protobuf.ByteString getDelegatees(int index); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int index) {\n return delegatees_.get(index);\n }",
"pub... | [
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.64614457",
"0.6292115",
"0.6220604",
"0.6219616",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
"0.53187805",
... | 0.70314544 | 0 |
The token type string type = 3; | java.lang.String getType(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.70168966",
"0.69561166",
"0.69273627",
"0.6875457",
"0.6845035",
"0.676868",
"0.6750798",
"0.66301674",
"0.6479664",
"0.6427662",
"0.64203906",
"0.6417094",
"0.6403239",
"0.6398121",
"0.6392112",
"0.6378505",
"0.6370401",
"0.6343042",
"0.6326575",
"0.62837416",
"0.6214776"... | 0.5924978 | 75 |
The token type string type = 3; | com.google.protobuf.ByteString
getTypeBytes(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.7015538",
"0.6955548",
"0.6926146",
"0.6873071",
"0.68422693",
"0.67664975",
"0.67485785",
"0.6629556",
"0.6480225",
"0.64295894",
"0.6419163",
"0.6416681",
"0.6400579",
"0.63954556",
"0.63929385",
"0.6377273",
"0.63711214",
"0.63404214",
"0.6324745",
"0.628247",
"0.621397... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 4; | long getQuantity(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public int length() {\n\treturn tokens.length;\n}",
"public int size() {\n return tokens.size();\n }",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public int numTokens() {\n retu... | [
"0.6240934",
"0.61097187",
"0.59742254",
"0.5879452",
"0.5826442",
"0.5821417",
"0.5781128",
"0.572497",
"0.5717835",
"0.56691104",
"0.5668843",
"0.5647711",
"0.5578128",
"0.5573834",
"0.5565912",
"0.54766035",
"0.54667574",
"0.5447062",
"0.5440789",
"0.5440789",
"0.5427147",... | 0.5161343 | 51 |
Use PlainDelegatedOutput.newBuilder() to construct. | private PlainDelegatedOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private PlainOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public org.hyperledger.fabric.protos.token.Transaction.PlainDelegatedOutput.Builder getDelegatedOutputBuilder() {\n \n onChanged();\n return getDelegatedOutputFieldBuilder().getB... | [
"0.68649447",
"0.6843405",
"0.6793737",
"0.65479946",
"0.645763",
"0.64069384",
"0.6206675",
"0.6200364",
"0.6051152",
"0.6004506",
"0.5826188",
"0.5803146",
"0.5781999",
"0.57522285",
"0.5707384",
"0.57011",
"0.5697157",
"0.5663789",
"0.563756",
"0.5618898",
"0.5610515",
"... | 0.77146137 | 0 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public com.google.protobuf.ByteString getOwner() {
return owner_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.75922567",
"0.75922567",
"0.75681573",
"0.75681573",
"0.7513719",
"0.75137097",
"0.73752517",
"0.73752517",
"0.7345293",
"0.7345293",
"0.7217914",
"0.70950127",
"0.70950127",
"0.70740396",
"0.7012647",
"0.69968396",
"0.69825244",
"0.6951974",
"0.69510585",
"0.6950522",
"0.... | 0.7393712 | 6 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public java.util.List<com.google.protobuf.ByteString>
getDelegateesList() {
return delegatees_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public com.google.protobuf.ByteString getDelegatees(int index) {\n return delegatees_.get(index);\n }",
"public com.google.protobuf.ByteString getDelegatees(int index) {\... | [
"0.7032353",
"0.6696192",
"0.6521665",
"0.64682776",
"0.64611447",
"0.62905973",
"0.62197435",
"0.62180805",
"0.6206362",
"0.55096287",
"0.5492168",
"0.5484054",
"0.5458049",
"0.54223937",
"0.53869045",
"0.5382603",
"0.53615373",
"0.53609496",
"0.53438073",
"0.5324728",
"0.53... | 0.6608659 | 2 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public int getDelegateesCount() {
return delegatees_.size();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.64614457",
"0.6220604",
"0.6219616",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
"0.53187805",... | 0.6292115 | 6 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public com.google.protobuf.ByteString getDelegatees(int index) {
return delegatees_.get(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.6467841",
"0.64614457",
"0.6292115",
"0.6220604",
"0.6219616",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
"0.53187805",
... | 0.65211457 | 3 |
The token type string type = 3; | public java.lang.String getType() {
java.lang.Object ref = type_;
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();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.70168966",
"0.69561166",
"0.69273627",
"0.6875457",
"0.6845035",
"0.676868",
"0.6750798",
"0.66301674",
"0.6479664",
"0.6427662",
"0.64203906",
"0.6417094",
"0.6403239",
"0.6398121",
"0.6392112",
"0.6378505",
"0.6370401",
"0.6343042",
"0.6326575",
"0.62837416",
"0.6214776"... | 0.0 | -1 |
The token type string type = 3; | public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.7015538",
"0.6955548",
"0.6926146",
"0.6873071",
"0.68422693",
"0.67664975",
"0.67485785",
"0.6629556",
"0.6480225",
"0.64295894",
"0.6419163",
"0.6416681",
"0.6400579",
"0.63954556",
"0.63929385",
"0.6377273",
"0.63711214",
"0.63404214",
"0.6324745",
"0.628247",
"0.621397... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 4; | public long getQuantity() {
return quantity_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public int length() {\n\treturn tokens.length;\n}",
"public int size() {\n return tokens.size();\n }",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public int numTokens() {\n retu... | [
"0.6240934",
"0.61097187",
"0.59742254",
"0.5879452",
"0.5826442",
"0.5821417",
"0.5781128",
"0.572497",
"0.5717835",
"0.56691104",
"0.5668843",
"0.5647711",
"0.5578128",
"0.5573834",
"0.5565912",
"0.54766035",
"0.54667574",
"0.5447062",
"0.5440789",
"0.5440789",
"0.5427147",... | 0.5302979 | 32 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public com.google.protobuf.ByteString getOwner() {
return owner_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.759283",
"0.759283",
"0.75693065",
"0.75693065",
"0.75150275",
"0.75150126",
"0.7394514",
"0.7394514",
"0.73757625",
"0.73757625",
"0.72181916",
"0.70954734",
"0.70954734",
"0.7073836",
"0.70142204",
"0.69955283",
"0.69820106",
"0.6952177",
"0.6951268",
"0.69505346",
"0.69... | 0.73460925 | 10 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public Builder setOwner(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
owner_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.75922567",
"0.75922567",
"0.75681573",
"0.75681573",
"0.7513719",
"0.75137097",
"0.7393712",
"0.7393712",
"0.73752517",
"0.73752517",
"0.7345293",
"0.7345293",
"0.7217914",
"0.70950127",
"0.70950127",
"0.70740396",
"0.7012647",
"0.69968396",
"0.69825244",
"0.6951974",
"0.6... | 0.6328358 | 80 |
The owner is the serialization of a SerializedIdentity struct bytes owner = 1; | public Builder clearOwner() {
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public com.google.protobuf.ByteString\n getOwnerBytes() {\n java.lang.Object ref = owner_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n ... | [
"0.7591395",
"0.7591395",
"0.75678825",
"0.75678825",
"0.7513304",
"0.7513293",
"0.7393305",
"0.7393305",
"0.7374634",
"0.7374634",
"0.7344834",
"0.7344834",
"0.721779",
"0.70949787",
"0.70949787",
"0.70738924",
"0.7012723",
"0.6996406",
"0.698243",
"0.6951355",
"0.6950449",
... | 0.0 | -1 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public java.util.List<com.google.protobuf.ByteString>
getDelegateesList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(delegatees_) : delegatees_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.6292115",
"0.6220604",
"0.6219616",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
"0.53187805",
... | 0.64614457 | 5 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public int getDelegateesCount() {
return delegatees_.size();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.64614457",
"0.6292115",
"0.6220604",
"0.6219616",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
"0.53187805",... | 0.6207871 | 9 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public com.google.protobuf.ByteString getDelegatees(int index) {
return delegatees_.get(index);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.7032169",
"0.66952646",
"0.6607656",
"0.6521231",
"0.64603823",
"0.6290427",
"0.62194127",
"0.62181515",
"0.6206174",
"0.5509649",
"0.549284",
"0.54855084",
"0.5459426",
"0.5422791",
"0.5387266",
"0.5382519",
"0.53622305",
"0.53610826",
"0.534412",
"0.5325819",
"0.5317253"... | 0.6467864 | 4 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public Builder setDelegatees(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureDelegateesIsMutable();
delegatees_.set(index, value);
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.7032353",
"0.6696192",
"0.6608659",
"0.6521665",
"0.64682776",
"0.64611447",
"0.62905973",
"0.62197435",
"0.62180805",
"0.6206362",
"0.55096287",
"0.5492168",
"0.5484054",
"0.5458049",
"0.54223937",
"0.53869045",
"0.5382603",
"0.53615373",
"0.53609496",
"0.53438073",
"0.53... | 0.4898506 | 33 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public Builder addDelegatees(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureDelegateesIsMutable();
delegatees_.add(value);
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.64614457",
"0.6292115",
"0.6220604",
"0.6219616",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
... | 0.50562984 | 30 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public Builder addAllDelegatees(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
ensureDelegateesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, delegatees_);
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.70314544",
"0.6695685",
"0.6608696",
"0.65211457",
"0.6467841",
"0.64614457",
"0.6292115",
"0.6220604",
"0.6219616",
"0.6207871",
"0.5511351",
"0.54943055",
"0.54863",
"0.545917",
"0.5423945",
"0.5389005",
"0.5384083",
"0.5363176",
"0.5362533",
"0.53450257",
"0.53259254",
... | 0.0 | -1 |
The delegatees is an arrary of the serialized identities that can spend the output on behalf the owner repeated bytes delegatees = 2; | public Builder clearDelegatees() {
delegatees_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"com.google.protobuf.ByteString getDelegatees(int index);",
"java.util.List<com.google.protobuf.ByteString> getDelegateesList();",
"public java.util.List<com.google.protobuf.ByteString>\n getDelegateesList() {\n return delegatees_;\n }",
"public com.google.protobuf.ByteString getDelegatees(int ... | [
"0.7032169",
"0.66952646",
"0.6607656",
"0.6521231",
"0.6467864",
"0.64603823",
"0.6290427",
"0.62194127",
"0.62181515",
"0.6206174",
"0.5509649",
"0.549284",
"0.54855084",
"0.5459426",
"0.5422791",
"0.5387266",
"0.5382519",
"0.53622305",
"0.53610826",
"0.534412",
"0.5325819"... | 0.45420638 | 55 |
The token type string type = 3; | public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.7015538",
"0.6955548",
"0.6926146",
"0.6873071",
"0.68422693",
"0.67664975",
"0.67485785",
"0.6629556",
"0.6480225",
"0.64295894",
"0.6419163",
"0.6416681",
"0.6400579",
"0.63954556",
"0.63929385",
"0.6377273",
"0.63711214",
"0.63404214",
"0.6324745",
"0.628247",
"0.621397... | 0.0 | -1 |
The token type string type = 3; | public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.701584",
"0.6955653",
"0.69272506",
"0.68742836",
"0.68432057",
"0.6768197",
"0.6749522",
"0.6629188",
"0.6478191",
"0.6426968",
"0.64189726",
"0.6416414",
"0.64014214",
"0.6395869",
"0.63919866",
"0.637717",
"0.63711065",
"0.63431",
"0.63248235",
"0.6283773",
"0.62150234"... | 0.0 | -1 |
The token type string type = 3; | public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.701584",
"0.6955653",
"0.69272506",
"0.68742836",
"0.68432057",
"0.6768197",
"0.6749522",
"0.6629188",
"0.6478191",
"0.6426968",
"0.64189726",
"0.6416414",
"0.64014214",
"0.6395869",
"0.63919866",
"0.637717",
"0.63711065",
"0.63431",
"0.63248235",
"0.6283773",
"0.62150234"... | 0.0 | -1 |
The token type string type = 3; | public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.70168966",
"0.69561166",
"0.69273627",
"0.6875457",
"0.6845035",
"0.676868",
"0.6750798",
"0.66301674",
"0.6479664",
"0.6427662",
"0.64203906",
"0.6417094",
"0.6403239",
"0.6398121",
"0.6392112",
"0.6378505",
"0.6370401",
"0.6343042",
"0.6326575",
"0.62837416",
"0.6214776"... | 0.0 | -1 |
The token type string type = 3; | public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTokenType() {\n return tokenType;\n }",
"public String getToken_type() {\r\n\t\treturn token_type;\r\n\t}",
"public int getTokenType() {\n return type_;\n }",
"public TYPE tokenType(){\n\n return currentTokenType;\n }",
"public LexicalToken(TokenType type) {\n\t\... | [
"0.7015538",
"0.6955548",
"0.6926146",
"0.6873071",
"0.68422693",
"0.67664975",
"0.67485785",
"0.6629556",
"0.6480225",
"0.64295894",
"0.6419163",
"0.6416681",
"0.6400579",
"0.63954556",
"0.63929385",
"0.6377273",
"0.63711214",
"0.63404214",
"0.6324745",
"0.628247",
"0.621397... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 4; | public long getQuantity() {
return quantity_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public int length() {\n\treturn tokens.length;\n}",
"public int size() {\n return tokens.size();\n }",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public int numTokens() {\n retu... | [
"0.6240934",
"0.61097187",
"0.59742254",
"0.5879452",
"0.5826442",
"0.5821417",
"0.5781128",
"0.572497",
"0.5717835",
"0.56691104",
"0.5668843",
"0.5647711",
"0.5578128",
"0.5573834",
"0.5565912",
"0.54766035",
"0.54667574",
"0.5447062",
"0.5440789",
"0.5440789",
"0.5427147",... | 0.5240542 | 36 |
The quantity of tokens uint64 quantity = 4; | public Builder setQuantity(long value) {
quantity_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public int length() {\n\treturn tokens.length;\n}",
"public int size() {\n return tokens.size();\n }",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public int numTokens() {\n retu... | [
"0.6240934",
"0.61097187",
"0.59742254",
"0.5879452",
"0.5826442",
"0.5821417",
"0.5781128",
"0.572497",
"0.5717835",
"0.56691104",
"0.5668843",
"0.5647711",
"0.5578128",
"0.5573834",
"0.5565912",
"0.54766035",
"0.54667574",
"0.5447062",
"0.5440789",
"0.5440789",
"0.5427147",... | 0.0 | -1 |
The quantity of tokens uint64 quantity = 4; | public Builder clearQuantity() {
quantity_ = 0L;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getNumTokens() {\n \treturn numTokens;\n }",
"long tokenCount();",
"public int length() {\n\treturn tokens.length;\n}",
"public int size() {\n return tokens.size();\n }",
"public void addTokens(int amount) {\n \tnumTokens += amount;\n }",
"public int numTokens() {\n retu... | [
"0.62427557",
"0.61118245",
"0.5975465",
"0.5881322",
"0.5826872",
"0.58231425",
"0.57821065",
"0.57264227",
"0.5716725",
"0.56699336",
"0.5669308",
"0.56483096",
"0.55773026",
"0.5572639",
"0.5564662",
"0.5476745",
"0.546682",
"0.5447354",
"0.5442",
"0.5442",
"0.5427605",
... | 0.0 | -1 |
Acts as singleton factory for bean configuration access. All other access to databases should be static. | public static synchronized Database get() {
return instance;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static SQLDBConfig getInstance () {\n\t\tif ( sqldbconf == null ) {\n\t\t\tsynchronized ( SQLDBConfig.class ) {\n\t\t\t\tsqldbconf = new SQLDBConfig ();\n\t\t\t}\n\t\t}\n\t\treturn sqldbconf;\n\t}",
"private DatabaseConnectionService() {\n ds = new HikariDataSource();\n ds.setMaximumPoolSize... | [
"0.6755655",
"0.6743694",
"0.6511348",
"0.6454089",
"0.6431037",
"0.63274604",
"0.63098156",
"0.62463135",
"0.62310255",
"0.6200231",
"0.6183537",
"0.61661977",
"0.6146563",
"0.6140993",
"0.6138351",
"0.6119418",
"0.6119374",
"0.61133343",
"0.60999185",
"0.60950977",
"0.60843... | 0.0 | -1 |
Configures the named database by means of a data source. | public static void configure(String database, DataSource dataSource) {
configure(database, dataSource, false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void configure(String database, DataSource dataSource, boolean isOverride) {\n if (!isOverride && isConfigured(database)) {\n throw new IllegalStateException(\"Named database '\" + database + \"' already configured!\");\n }\n instance.dataSources.put(database, data... | [
"0.71513873",
"0.62421215",
"0.61500084",
"0.61011034",
"0.6099028",
"0.6066553",
"0.60447174",
"0.60396624",
"0.600617",
"0.600492",
"0.5996075",
"0.59624326",
"0.59613276",
"0.59392595",
"0.5928636",
"0.592461",
"0.5914556",
"0.5897269",
"0.5886065",
"0.58840185",
"0.587502... | 0.65701437 | 1 |
Configures the named database by means of a data source. | public static void configure(String database, DataSource dataSource, boolean isOverride) {
if (!isOverride && isConfigured(database)) {
throw new IllegalStateException("Named database '" + database + "' already configured!");
}
instance.dataSources.put(database, dataSource);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void configure(String database, DataSource dataSource) {\n configure(database, dataSource, false);\n }",
"public static void ensureConfigured(String database) {\n if (!isConfigured(database)) {\n throw new IllegalStateException(\"Named database '\" + database + \"' h... | [
"0.65701437",
"0.62421215",
"0.61500084",
"0.61011034",
"0.6099028",
"0.6066553",
"0.60447174",
"0.60396624",
"0.600617",
"0.600492",
"0.5996075",
"0.59624326",
"0.59613276",
"0.59392595",
"0.5928636",
"0.592461",
"0.5914556",
"0.5897269",
"0.5886065",
"0.58840185",
"0.587502... | 0.71513873 | 0 |
Determines whether a named database has been configured or not. | public static boolean isConfigured(String database) {
return instance.dataSources.containsKey(database);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean databaseExists() {\n\t\treturn defaultDatabaseExists();\n\t}",
"public boolean databaseExists() {\n return defaultDatabaseExists();\n }",
"boolean hasDatabaseSpec();",
"boolean dbExists(String dbName);",
"boolean hasDatabase();",
"public boolean databaseExists(String dbName) throws Exc... | [
"0.75887555",
"0.7525497",
"0.74065673",
"0.7378757",
"0.730465",
"0.72912216",
"0.7218793",
"0.71896935",
"0.7102705",
"0.6941383",
"0.6941383",
"0.6941383",
"0.6941383",
"0.6941383",
"0.6917988",
"0.6890197",
"0.6875543",
"0.671432",
"0.6664161",
"0.6647104",
"0.66065735",
... | 0.7438008 | 2 |
Ensures that a named database is configured by throwing an illegal state exception if it is not. | public static void ensureConfigured(String database) {
if (!isConfigured(database)) {
throw new IllegalStateException("Named database '" + database + "' has no configured data source!");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void checkDataBase() {\n final Config dbConfig = config.getConfig(\"db\");\n\n checkArgument(!isNullOrEmpty(dbConfig.getString(\"driver\")), \"db.driver is not set!\");\n checkArgument(!isNullOrEmpty(dbConfig.getString(\"url\")), \"db.url is not set!\");\n\n dbConfig.getString(\... | [
"0.67507416",
"0.6251607",
"0.62455285",
"0.62453365",
"0.62150306",
"0.6105047",
"0.60038584",
"0.5982106",
"0.5927843",
"0.5925112",
"0.58675665",
"0.5859255",
"0.5855613",
"0.58442414",
"0.5839647",
"0.5829243",
"0.58291626",
"0.57791835",
"0.57736886",
"0.5771935",
"0.576... | 0.74119514 | 0 |
Opens a thread local transaction for the given database name. If an open transaction already exists, it is reused. This method is idempotent when called from the same thread. | public static Transaction open(String database) {
HashMap<String, Transaction> transactions = instance.getTransactions();
Transaction transaction = transactions.get(database);
if (transaction == null) {
DataSource dataSource = instance.getDataSource(database);
if (da... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void openTheTransaction() {\n openTransaction();\n }",
"public Transaction startTransaction() {\n Transaction transaction = THREADED_TRANSACTION.get();\n if (transaction == null) {\n transaction = openOrRetrieveSessionForThread().beginTransaction();\n THREADED_TRANS... | [
"0.6120941",
"0.6054788",
"0.6024168",
"0.60013694",
"0.58021694",
"0.57576215",
"0.56007993",
"0.5592428",
"0.55871993",
"0.54745704",
"0.546665",
"0.5464259",
"0.5460912",
"0.54607403",
"0.54492456",
"0.5399985",
"0.5343662",
"0.52950144",
"0.5285685",
"0.5277201",
"0.52539... | 0.66629666 | 0 |
Commits the thread local transaction for the given database name if it has been opened. | public static Transaction commit(String database) throws SQLException {
HashMap<String, Transaction> transactions = instance.getTransactions();
Transaction transaction = transactions.get(database);
if (transaction != null) {
transaction.commit();
} else {
en... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void commit() throws SQLException {\n if (isTransActionAlive() && !getTransaction().getStatus().isOneOf(TransactionStatus.MARKED_ROLLBACK,\n TransactionStatus.ROLLING_BACK)) {\n // Flush synchronizes th... | [
"0.62623304",
"0.6090125",
"0.6052741",
"0.6052375",
"0.5977274",
"0.592525",
"0.58872217",
"0.58576715",
"0.5855257",
"0.5850282",
"0.58433956",
"0.58102036",
"0.5774658",
"0.5737033",
"0.573328",
"0.57259023",
"0.57084954",
"0.56773585",
"0.5672243",
"0.5671313",
"0.5648868... | 0.63593614 | 0 |
Closes the thread local transaction for the given database name if it has been opened. This method is idempotent when called from the same thread. | public static Transaction close(String database) {
HashMap<String, Transaction> transactions = instance.getTransactions();
Transaction transaction = transactions.get(database);
if (transaction != null) {
transaction.close();
} else {
ensureConfigured(databas... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void close(){\n\t\tif(tr != null && tr.inTransaction()){\n\t\t\ttr.rollback();\n\t\t}\n\t\ttry{\n\t\t\tif(db != null)\n\t\t\t\tdb.close();\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void closeDatabase() {\n\t\ttry {\n\t\t\tif (status == OPEN_SUCCESS) {\n\t\t\t\tif (... | [
"0.6854521",
"0.6354646",
"0.62434965",
"0.60687983",
"0.60532546",
"0.6049269",
"0.5941472",
"0.59270215",
"0.59124863",
"0.58915824",
"0.5763591",
"0.57278633",
"0.56815994",
"0.5677748",
"0.5665944",
"0.5665944",
"0.5665944",
"0.5665944",
"0.5654187",
"0.56479824",
"0.5643... | 0.66063344 | 1 |
Closes and destroys all transactions for the current thread. | public static void close() {
HashMap<String, Transaction> map = instance.getTransactions();
for (Transaction transaction : map.values()) {
transaction.destroy();
}
map.clear();
instance.transactions.remove();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void closeTransaction(){\n\t\ttr.rollback();\n\t\ttr = null;\n\t}",
"static void closeCurrentTransactionManager() {\n ExecutorDataMap.getDataMap().put(TRANSACTION, null);\n ExecutorDataMap.getDataMap().put(TRANSACTION_CONFIG, null);\n }",
"public void close(){\n\t\tif(tr != null && tr.i... | [
"0.70750284",
"0.64721984",
"0.6471782",
"0.62631994",
"0.6165598",
"0.61527133",
"0.6151483",
"0.61438674",
"0.60983896",
"0.60956883",
"0.60812914",
"0.604648",
"0.6039189",
"0.59350467",
"0.5916034",
"0.59120136",
"0.5911903",
"0.58932495",
"0.58848697",
"0.587987",
"0.587... | 0.7685623 | 0 |
/ jorm.properties database.moria.dataSource=org.apache.tomcat.jdbc.pool.DataSource database.moria.dataSource.driverClassName=org.postgresql.Driver database.moria.dataSource.url=jdbc:postgresql://sjhdb05b.jajja.local:5432/moria database.moria.dataSource.username=gandalf database.moria.dataSource.password=mellon database... | private static List<Configuration> configure() {
Map<String, Configuration> configurations = new HashMap<String, Configuration>();
try {
Enumeration<URL> resources = Thread.currentThread().getContextClassLoader().getResources("jorm.properties");
while (resources... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Bean\n public DataSource getDataSource() {\n HikariConfig config = new HikariConfig();\n config.setDriverClassName(\"org.postgresql.Driver\");\n config.setJdbcUrl(\"jdbc:postgresql://127.0.0.1:5432/beauty\");\n config.setUsername(\"testing\");\n config.setPassword(\"testing\"... | [
"0.600544",
"0.59053373",
"0.58531135",
"0.57204306",
"0.5688328",
"0.56493104",
"0.5637406",
"0.563458",
"0.5621105",
"0.5587062",
"0.5567719",
"0.5559523",
"0.5559405",
"0.55520886",
"0.5537688",
"0.5537071",
"0.55126464",
"0.5488719",
"0.547511",
"0.54606825",
"0.5452503",... | 0.5894167 | 2 |
Upsert doc by bulk. | @SneakyThrows
public BulkResponse upsertDocByBulk(String index, List<Map<String, Object>> sources) {
BulkRequest bulkRequest = new BulkRequest(index);
for (Map<String, Object> source : sources) {
UpdateRequest updateRequest = new UpdateRequest(index, (String) source.get(EsConstant.ID))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void testUpdateUpsert() {\n String[] updateShardActions = new String[] { UpdateAction.NAME + \"[s]\", BulkAction.NAME + \"[s][p]\", BulkAction.NAME + \"[s][r]\" };\n interceptTransportActions(updateShardActions);\n\n String indexOrAlias = randomIndexOrAlias();\n UpdateRequest upd... | [
"0.655185",
"0.62313",
"0.6013529",
"0.5791372",
"0.5770721",
"0.57240325",
"0.572061",
"0.5685268",
"0.56659406",
"0.5490049",
"0.5475595",
"0.52914274",
"0.5290593",
"0.5218632",
"0.5156139",
"0.5142247",
"0.5081418",
"0.50802475",
"0.5042537",
"0.5028132",
"0.5008178",
"... | 0.6326941 | 1 |
set up pipeline properties | @Bean(name = "dep")
public StanfordCoreNLP dep() throws IOException {
if (!Arrays.asList(env.getActiveProfiles()).contains("no-dep")
&& !Arrays.asList(env.getActiveProfiles()).contains("no-nlp")) {
Properties props = new Properties();
props.load(getClass().getClassLoader(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPipeline(Pipeline pipeline){\n this.pipeline = pipeline;\n }",
"public PipelineConfig() {\n super();\n }",
"public void setupProperties() {\n // left empty for subclass to override\n }",
"public void setPipelineConfiguration(PipelineConfiguration pipe) {\r\n ... | [
"0.68862426",
"0.6597791",
"0.6566907",
"0.6507752",
"0.61465",
"0.58690596",
"0.5842792",
"0.58364695",
"0.57614475",
"0.57506233",
"0.56640565",
"0.5659538",
"0.56460994",
"0.56437963",
"0.5633905",
"0.56207895",
"0.5610501",
"0.56002927",
"0.55735993",
"0.5566182",
"0.5563... | 0.0 | -1 |
set up pipeline properties | @Bean
public StanfordCoreNLPClient rest() throws IOException {
if (!Arrays.asList(env.getActiveProfiles()).contains("no-rest")
&& !Arrays.asList(env.getActiveProfiles()).contains("no-nlp")) {
// set up pipeline properties
Properties props = new Properties();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPipeline(Pipeline pipeline){\n this.pipeline = pipeline;\n }",
"public PipelineConfig() {\n super();\n }",
"public void setupProperties() {\n // left empty for subclass to override\n }",
"public void setPipelineConfiguration(PipelineConfiguration pipe) {\r\n ... | [
"0.68833256",
"0.65953267",
"0.6569711",
"0.65060115",
"0.61484456",
"0.5870429",
"0.58421606",
"0.5832682",
"0.5757626",
"0.5753029",
"0.56632787",
"0.5661312",
"0.5647167",
"0.5645413",
"0.5634553",
"0.56199986",
"0.5612794",
"0.5598858",
"0.5575868",
"0.5567592",
"0.556067... | 0.0 | -1 |
returns the selected client or the default client | private ClientOnboarded getClientOnboarded(String clientName) {
ClientOnboarded clientOnboarded = null;
try{
clientOnboarded = ClientOnboarded.valueOf(clientName);
} catch (Exception ex) {
clientOnboarded = ClientOnboarded.CONNSOCIO;
}
return clientOnboar... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getTargetClient();",
"private Client findClient() {\n if ( key != null )\n return clientConnections.getConnection(key);\n else { //use keyCluster to find client\n return clientConnections.getConnection( keyCluster.getCluster(), keyCluster.getIndex());\n... | [
"0.6776232",
"0.6629201",
"0.66238236",
"0.65841377",
"0.6539642",
"0.6527627",
"0.64776236",
"0.6386736",
"0.6283693",
"0.6271976",
"0.6236058",
"0.62196183",
"0.61104536",
"0.60604554",
"0.6048476",
"0.6048476",
"0.60471404",
"0.5988632",
"0.5983972",
"0.59814173",
"0.59759... | 0.5768089 | 45 |
skip first four zero bytes and frame size zero bytes | private List<GPSData> decodeMessageFrame(ChannelBuffer buff, Channel channel, int fSize, int wSize) {
buff.skipBytes(INITIAL_ZERO_BYTES + FRAME_BYTES_SIZE);
// codecId byte is ignored
buff.skipBytes(CODEC_BYTE);
short numberOfData = buff.readUnsignedByte();
// response to modem about data reception
ac... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ByteBuf skipBytes(int length)\r\n/* 521: */ {\r\n/* 522:532 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 523:533 */ return super.skipBytes(length);\r\n/* 524: */ }",
"private int skipFdocaBytes(int length) {\n\n checkForSplitRowAndComplete(length);\n dataBuffer_.s... | [
"0.64247805",
"0.6241808",
"0.6166516",
"0.60536647",
"0.6034277",
"0.57331985",
"0.56942976",
"0.56456226",
"0.56199926",
"0.5597584",
"0.5592753",
"0.5591436",
"0.5581912",
"0.55776584",
"0.5556651",
"0.5554893",
"0.552524",
"0.54691637",
"0.5453158",
"0.54291505",
"0.54261... | 0.0 | -1 |
acknowledges TELTONIKA modem about data reception | private static void acknowledgeTeltonikaModem(Channel ch, int recordsNum) {
ChannelBuffer buf = ChannelBuffers.buffer(4);
byte b[] = intToByteArray(recordsNum);
buf.writeBytes(b);
LOGGER.info("Response to device about data reception with package amount: " + recordsNum);
ch.write(buf);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void receiveAcknowledgement() {\n byte[] receiveBuffer = new byte[2048];\n DatagramPacket receivePacket = new DatagramPacket(receiveBuffer, receiveBuffer.length);\n try {\n recSocket.receive(receivePacket);\n String dataReceived = new String(receivePacket.getData()).trim(... | [
"0.616933",
"0.6125902",
"0.60090905",
"0.59500206",
"0.5937056",
"0.5790899",
"0.57117164",
"0.56934786",
"0.5692694",
"0.56014144",
"0.5568376",
"0.5558814",
"0.55443764",
"0.5537772",
"0.55369115",
"0.55214316",
"0.5500343",
"0.54904276",
"0.54725635",
"0.54668254",
"0.543... | 0.65510046 | 0 |
TODO Autogenerated method stub | @Override
public String generateJavaCode() {
return id + " = "+(tam>0? "new int[]": "")+expr+";";
} | {
"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 |
Utility class, don't instantiate. | private Listener() {
// unused
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Util() { }",
"private Utils() {}",
"private Utils() {}",
"private Utils() {}",
"private Utils() {}",
"private PluginUtils() {\n\t\t//\t\tthrow new IllegalAccessError(\"Don't instantiate me. I'm a utility class!\");\n\t}",
"private Utils() {\n\t}",
"private Utils() {\n\t}",
"private Util() {... | [
"0.8075997",
"0.7902852",
"0.7902852",
"0.7902852",
"0.7902852",
"0.7626228",
"0.76003367",
"0.76003367",
"0.75816303",
"0.75300086",
"0.75266445",
"0.74973154",
"0.74973154",
"0.7414145",
"0.74076176",
"0.7386177",
"0.7379534",
"0.72750777",
"0.7265412",
"0.72625774",
"0.724... | 0.0 | -1 |
Reads listener config from the config repository and caches its content in to the hash table. | public static void init() {
load();
registerEventListener();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void load() {\r\n\r\n log.info(\"Config : loading Listener info\"); //$NON-NLS-1$\r\n\r\n Collection children = Collections.EMPTY_LIST;\r\n\r\n try {\r\n\r\n Content startPage = ContentRepository.getHierarchyManager(ContentRepository.CONFIG).getContent(CONFIG_PAGE);\r\... | [
"0.7266821",
"0.6089632",
"0.59840524",
"0.58954763",
"0.58183944",
"0.57790047",
"0.5774797",
"0.56492823",
"0.56102484",
"0.5579696",
"0.5571447",
"0.55642086",
"0.5527128",
"0.5501531",
"0.55012137",
"0.54901576",
"0.5469131",
"0.545772",
"0.5396914",
"0.5369685",
"0.53386... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.