query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Returns the characteristics that are handled specially and have their own fields in AbstractBioMaterial or one of its subclasses, rather than being placed in the general characteristics collection. These are returned as a map, with keys being category constants defining the category of the special characteristic, and t... | @Transient
protected Map<ExperimentOntologyCategory, Term> getSpecialCharacteristics() {
Map<ExperimentOntologyCategory, Term> builtins = new HashMap<ExperimentOntologyCategory, Term>();
builtins.put(ExperimentOntologyCategory.DISEASE_STATE, this.diseaseState);
builtins.put(ExperimentOnt... | [
"ProdCharacteristic getPhysicalCharacteristics();",
"public Set<AbstractCharacteristic> getCharacteristics(final Category category) {\r\n Set<AbstractCharacteristic> chars = new HashSet<AbstractCharacteristic>();\r\n Iterators.addAll(chars, Iterators.filter(characteristics.iterator(), new Predicate<... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column change_operation.new_entity_content | public void setNewEntityContent(String newEntityContent) {
this.newEntityContent = newEntityContent == null ? null : newEntityContent.trim();
} | [
"public void setChangedEntityContent(String changedEntityContent) {\r\n this.changedEntityContent = changedEntityContent == null ? null : changedEntityContent.trim();\r\n }",
"public String getNewEntityContent() {\r\n return newEntityContent;\r\n }",
"public void setNewEntity() {\r\n this... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Appends and returns a new empty "system" element | public org.hl7.fhir.ContactSystem addNewSystem()
{
synchronized (monitor())
{
check_orphaned();
org.hl7.fhir.ContactSystem target = null;
target = (org.hl7.fhir.ContactSystem)get_store().add_element_user(SYSTEM$0);
return target;
}
} | [
"public void addSystem(ISystem system)\n {\n if (system.start(this))\n {\n systems.add(system);\n }\n }",
"private SpaceSystemType addSpaceSystem(SpaceSystemType parentSystem,\n String systemName,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the booking button. | public JButton getBookButton() {
return this.bookButton;
} | [
"public GameObject getButton() {\n\t\treturn button;\n\t}",
"public JButton getButton() {\n\t\treturn pinButton;\n\t}",
"public Button getBuyButton() {\n return buyButton;\n }",
"public Button getButton(String key) {\n return buttons.get(key);\n }",
"public WebElement getGetQuoteButton()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets (as xml) array of all "ReverseGeocodePreference" element | void xsetReverseGeocodePreferenceArray(net.opengis.xls.ReverseGeocodePreferenceType[] reverseGeocodePreferenceArray); | [
"void xsetReverseGeocodePreferenceArray(int i, net.opengis.xls.ReverseGeocodePreferenceType reverseGeocodePreference);",
"net.opengis.xls.ReverseGeocodePreferenceType[] xgetReverseGeocodePreferenceArray();",
"net.opengis.xls.ReverseGeocodePreferenceType xgetReverseGeocodePreferenceArray(int i);",
"void setRev... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule___ReflexKey__Alternatives" $ANTLR start "rule___AssignmentKey__Alternatives" InternalGaml.g:4014:1: rule___AssignmentKey__Alternatives : ( ( '' ) ); | public final void rule___AssignmentKey__Alternatives() throws RecognitionException {
int rule___AssignmentKey__Alternatives_StartIndex = input.index();
int stackSize = keepStackSize();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 234) ) { return ; }
... | [
"public final void rule_AssignmentKey() throws RecognitionException {\n int rule_AssignmentKey_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 86) ) { return ; }\n // Interna... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
read the specified OperatorHub | @HTTP(
method = "GET",
path = "/apis/config.openshift.io/v1/operatorhubs/{name}"
)
@Headers({
"Accept: */*"
})
KubernetesCall<OperatorHub> readOperatorHub(
@Path("name") String name); | [
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/operatorhubs/{name}\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesCall<OperatorHub> readOperatorHub(\n @Path(\"name\") String name, \n @QueryMap ReadOperatorHub queryParameters);",
"@HTTP(\n method = \"GET\",\n p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add a data transfer download failed event. | public void addDataTransferDownloadFailedEvent(
String userId,
String path,
HpcDownloadTaskType downloadTaskType,
String downloadTaskId,
HpcFileLocation destinationLocation,
Calendar dataTransferCompleted,
String errorMessage)
throws HpcException; | [
"public void downloadFailed(Throwable t);",
"void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);",
"public void addDataTransferUploadFailedEvent(\n String userId,\n String path,\n HpcFileLocation sourceLocation,\n Calendar dataTransferCompleted,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column CTSCARDS_MGT_HST.DATE_HEATED | public Date getDATE_HEATED() {
return DATE_HEATED;
} | [
"public void setDATE_HEATED(Date DATE_HEATED) {\r\n this.DATE_HEATED = DATE_HEATED;\r\n }",
"public Date getDATE_HEATED_INIT() {\r\n return DATE_HEATED_INIT;\r\n }",
"public String getVALUE_DATE_HIJRI() {\r\n return VALUE_DATE_HIJRI;\r\n }",
"public Date getDateHeure() {\n\t\tret... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns whether this actor is in the middle of a cell in terms of ycoordinate | public boolean isVerticallyCentered() {
return (getY() - CELL_SIZE / 2) % CELL_SIZE == 0;
} | [
"boolean hasHasYCoordinate();",
"public boolean isCenteringY() {\r\n return centeringY;\r\n }",
"boolean hasWorldTileY();",
"public boolean borderAhead () {\r\n if ( myDirection == NORTH ) {\r\n return getY() == 0;\r\n } else if ( myDirection == EAST ) {\r\n retur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calculate and display the TVQ taxes | public void tvqTax() {
TextView tvqView = findViewById(R.id.checkoutPage_TVQtaxValue);
tvqTaxTotal = beforeTaxTotal * 0.09975;
tvqView.setText(String.format("$%.2f", tvqTaxTotal));
} | [
"public void tpsTax() {\n TextView tpsView = findViewById(R.id.checkoutPage_TPStaxValue);\n tpsTaxTotal = beforeTaxTotal * 0.05;\n tpsView.setText(String.format(\"$%.2f\", tpsTaxTotal));\n }",
"private double calcTax() {\r\n // tax = 15% of gross\r\n double taxrate = 0.15;\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
new activity created; force its orientation to portrait | @Override
public void onActivityCreated(Activity activity,
Bundle savedInstanceState) {
activity.setRequestedOrientation(
ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
} | [
"@Override\n public void onActivityCreated(Activity arg0, Bundle arg1) {\n arg0.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);\n }",
"private void lockScreenOrientation() {\n int currentOrientation = getResources().getConfiguration().orientation;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Ensures that metaData mutations are handled in the correct order | private PMetaData metaDataMutated(PName tenantId, String tableName, long tableSeqNum, Mutator mutator) throws SQLException {
synchronized (latestMetaDataLock) {
throwConnectionClosedIfNullMetaData();
PMetaData metaData = latestMetaData;
PTable table;
long endTime ... | [
"@Test\n public void testSwap() throws OperationException {\n // add a meta data record\n MetaDataEntry meta = new MetaDataEntry(\"a\", \"b\", \"typ\", \"thisid\");\n meta.addField(\"a\", \"x\");\n mds.add(context, meta);\n\n // create another entry with the same key but different field value\n M... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method is used to retrieve the basic information about a TV network. You can use this ID to search for TV shows with the discover method. | public Network getNetworkInfo(int networkId) throws MovieDbException {
return tmdbNetworks.getNetworkInfo(networkId);
} | [
"public static String getNetworkDetails() {\n\n WirelessAccessPoint tempWap = new WirelessAccessPoint(\"wap\");\n tempWap.getMACAddressAndDynamicIPAddressAndName(nodeTypeCounter(\"wap\"));\n\n String networkIPAddress = tempWap.getIPAddress().substring(0, 10) + \"0\";\n\n String firstOcte... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Ceffective__ProveedorNubeAssignment_3_1" $ANTLR start "rule__ProveedorNube__NombreAssignment_2_1" InternalCeffective.g:8235:1: rule__ProveedorNube__NombreAssignment_2_1 : ( ruleEString ) ; | public final void rule__ProveedorNube__NombreAssignment_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalCeffective.g:8239:1: ( ( ruleEString ) )
// InternalCeffective.g:8240:2: ( ruleEString )
{
// Interna... | [
"public final void rule__Empresa__NombreAssignment_2_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.catalogo.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalCatalogo.g:3316:1: ( ( ruleEString ) )\n /... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks list of groups for consistency, i.e. no characteristic of each group is involved in a conflict. | boolean checkConsistencyForSubGroups(final List<UiGroupData> subGroups); | [
"public void confirmAllStonesInGroupsClaimed(GoGroupSet groups) {\n\n NeighborAnalyzer na = new NeighborAnalyzer(board_);\n\n for (IGoGroup parentGroup : groups) {\n GoBoardPositionSet parentGroupStones = parentGroup.getStones();\n for (GoBoardPosition stone : parentGroupStones) ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
allocateExpIdToNode selectExpId Select ExpId for pSubtree and assign it to pSubtree. 60 void | ExpId
selectExpId(HIR pSubtree, ExpInf pExpInf)
{
ExpId lExpId;
int lHashCode, lSymExpCount;
String lExpIdName;
if (pSubtree == null)
return null;
//##60 lExpId = pSubtree.getExpId();
lExpId = getExpId(pSubtree); //##60
if (lExpId != null)
return lExpId;
if (fDbgLevel >... | [
"public ExpInf //##60\n allocateExpIdToNode(HIR pSubtree)\n {\n int lChild, lChildCount, lIndex;\n Stmt lStmt;\n ExpId lExpId = null; //##60\n if (pSubtree == null)\n return null;\n int lOpCode = pSubtree.getOperator();\n\n // ioRoot.dbgFlow.print(7, \"allocateExpIdToNode\", pSubtree.toSt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the abbreviated date string for the message delivery time. | String getDateString(Context context) {
int flags = DateUtils.FORMAT_NO_NOON_MIDNIGHT | DateUtils.FORMAT_SHOW_TIME |
DateUtils.FORMAT_ABBREV_ALL | DateUtils.FORMAT_SHOW_DATE |
DateUtils.FORMAT_CAP_AMPM;
return DateUtils.formatDateTime(context, mDeliveryTime, flags);
} | [
"private String getDeliverDate() {\n\t\tCalendar deliverDate = oDate;\n\t\tint days = random.nextInt(7) + 3;\n\t\tdeliverDate.add(Calendar.DATE, days);\n\t\t\n\t\treturn (deliverDate.getDisplayName(Calendar.MONTH, Calendar.LONG, Locale.US) + \" \" + \n\t\t\t\tdeliverDate.get(Calendar.DAY_OF_MONTH) + \", \" + delive... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
repeated .LoadGridBIL2016U02Info invoice_detail = 2; | public nta.med.service.ihis.proto.BillModelProto.LoadGridBIL2016U02Info.Builder addInvoiceDetailBuilder() {
return getInvoiceDetailFieldBuilder().addBuilder(
nta.med.service.ihis.proto.BillModelProto.LoadGridBIL2016U02Info.getDefaultInstance());
} | [
"nta.med.service.ihis.proto.BillModelProto.LoadGridBIL2016U02Info getInvoiceDetail(int index);",
"nta.med.service.ihis.proto.BillModelProto.LoadGridBIL2016U02InfoOrBuilder getInvoiceDetailOrBuilder(\n int index);",
"public Builder addInvoiceDetail(nta.med.service.ihis.proto.BillModelProto.LoadGridBIL2016... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
"Percorre" os campos da classe concatenando os seus valores espacadamente. Campos que tenham valores nulos nao sao considerados. | private String concatFields()
{
String concatedFields = "";
Integer intChecker;
String strChecker;
Double doubleChecker;
concatedFields += ( (intChecker = getCodigo()) == null ? "" : intChecker ) + " ";
concatedFields += ( (strChecker = getNome()) == null ? "... | [
"public String generateStringCamposFiltro() {\r\n\t\treturn inicializarCamposComunes();\r\n\t}",
"private String sezioneCampi() {\n /* variabili e costanti locali di lavoro */\n String stringa = \"\";\n\n try { // prova ad eseguire il codice\n\n /* invoca il metodo delegato in funz... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if a value has been set for currentPlayerNumber | public boolean hasCurrentPlayerNumber() {
return currentPlayerNumber != null;
} | [
"public boolean hasCurrentPlayerNumber() {\n return game.currentPlayerNumber != null;\n }",
"public boolean isSetPlayer() {\n return this.player != null;\n }",
"public boolean isSetPlayer() {\n return this.player != null;\n }",
"public boolean controlSetNPlayer() {\n int nPlayers = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column account_user.user_idcard_num | public void setUserIdcardNum(String userIdcardNum) {
this.userIdcardNum = userIdcardNum == null ? null : userIdcardNum.trim();
} | [
"public void setUserCardId(String userCardId) {\n this.userCardId = userCardId;\n }",
"public String getUserIdcardNum() {\n return userIdcardNum;\n }",
"public void setIdCardNo(String idCardNo) {\n this.idCardNo = idCardNo;\n }",
"public void setUserIdcardType(Integer userIdcardT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for f_ToggleSwitch73 called 1 times. Type: DEFAULT. Build precedence: 5. | private org.gwtbootstrap3.extras.toggleswitch.client.ui.ToggleSwitch get_f_ToggleSwitch73() {
return build_f_ToggleSwitch73();
} | [
"private org.gwtbootstrap3.extras.toggleswitch.client.ui.ToggleSwitch get_f_ToggleSwitch87() {\n return build_f_ToggleSwitch87();\n }",
"private org.gwtbootstrap3.extras.toggleswitch.client.ui.ToggleSwitch get_f_ToggleSwitch94() {\n return build_f_ToggleSwitch94();\n }",
"private org.gwtbootstra... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
tracks ID of next card created Constructors / REQUIRES: inputStartDate is current time because this constructor is used for creating a new card EFFECTS: constructs card object given inputFrontInfo (question) and inputBackInfo (answer) of the card. sets the card's startTime given inputStartDate Card ID is incremented fo... | public Card(String inputFrontInfo, String inputBackInfo, Date inputStartDate) {
frontInfo = inputFrontInfo;
backInfo = inputBackInfo;
startTime = inputStartDate;
cardID = nextCardID;
nextCardID++;
} | [
"public Card(String inputFrontInfo, String inputBackInfo, Date inputStartTime, int inputID) {\n frontInfo = inputFrontInfo;\n backInfo = inputBackInfo;\n startTime = inputStartTime;\n cardID = inputID;\n\n }",
"public void NewCard() {\n cardArray[cardCounter] = new Card(cardC... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Create BinaryTree: 40 / \ 20 60 / \ / \ 10 30 50 70 | private TreeNode createBinaryTree() {
TreeNode node1 = new TreeNode(10);
TreeNode node2 = new TreeNode(20);
TreeNode node3 = new TreeNode(30);
TreeNode node4 = new TreeNode(40);
TreeNode node5 = new TreeNode(50);
TreeNode node6 = new TreeNode(60);
TreeNode node7 =... | [
"public void createBinaryTree()\r\n\t{\n\t\t\r\n\t\tNode node = new Node(1);\r\n\t\tnode.left = new Node(2);\r\n\t\tnode.right = new Node(3);\r\n\t\tnode.left.left = new Node(4);\r\n\t\tnode.left.right = new Node(5);\r\n\t\tnode.left.right.right = new Node(10);\r\n\t\tnode.left.left.left = new Node(8);\r\n\t\tnode.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Interface for UIFormBuilder and UIMenuBuilder | public interface UIFormMenuBuilderInterface {
/**
* Return a new UIMenu object.
*
* @param heading String
* @return UIMenu UIMenu
*/
//UIFormMenu toUIMenu(String heading);
/**
* Return a new UIForm object.
*
* @param heading String
* @return UIForm UIForm
*/
UIFormMenu toUIF... | [
"public interface ActionMenuWidget extends IsWidget {\r\n\r\n\tpublic void hideAllActions();\r\n\r\n\t/**\r\n\t * Reset this action menu. This will clear all listeners and hide all action.\r\n\t */\r\n\tpublic void reset();\r\n\r\n\t/**\r\n\t * Show or hide an action.\r\n\t * \r\n\t * @param action\r\n\t * @param v... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
catFullPathToSbk assumes: lib is the path to the library sif backup file | static public String catFullPathToSbk(String lib, String mod, String version) {
String tempStr =null;
String templateWFullPath =null;
tempStr=catFullPathToSrc(lib,mod,version);
if (tempStr==null) {
return(null);
}
templateWFullPath = tempStr+File.separator+mod+".sbk";
return(templateWFullPath);
} | [
"static public String getSbkString(String fullPathToSif) {\n\n\tString tempStr =null;\n\n\tint lastDot=fullPathToSif.lastIndexOf('.');\n\tString base=fullPathToSif.substring(0,lastDot);\n\ttempStr=base+\".sbk\";\n\t//System.out.println(\"Debug:SCSUtility getSbkString \"+tempStr);\n\treturn(tempStr);\n }",
"sta... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column SYS.DBA_USERS.DEFAULT_TABLESPACE | public void setDefaultTablespace(String defaultTablespace) {
this.defaultTablespace = defaultTablespace == null ? null : defaultTablespace.trim();
} | [
"public String getDefaultTablespace() {\n\t\treturn defaultTablespace;\n\t}",
"public PgTablespace() {\n this(DSL.name(\"pg_tablespace\"), null);\n }",
"void setXMINamespace(String namespace);",
"public void setStationTableName(String value) {\n stationTableName = value;\n }",
"public vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Makes a new line item array with order and line items. | protected AbstractTransactionLineItemIfc[] makeNewLineItemArray(AbstractTransactionLineItemIfc[] orderLineItems,
AbstractTransactionLineItemIfc[] lineItems)
{
int newSize = orderLineItems.length + lineItems.length;
AbstractTransacti... | [
"private void addToLineItem(LineItem newLineItem) {\r\n LineItem[] tempItems = new LineItem[lineItems.length + 1];\r\n System.arraycopy(lineItems, 0, tempItems, 0, lineItems.length);\r\n tempItems[lineItems.length] = newLineItem;\r\n lineItems = tempItems;\r\n }",
"public Order(Arra... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Download an object When you download an object, you get all of the object's metadata and a stream from which to read the contents. It's important to read the contents of the stream as quickly as possibly since the data is streamed directly from Amazon S3 and your network connection will remain open until you read all... | public S3Object download(String bucketName, String key) throws AmazonServiceException {
System.out.println("Downloading an object");
S3Object object = s3Client.getObject(new GetObjectRequest(bucketName, key));
System.out.println("Content-Type: " + object.getObjectMetadata().getContentType());
return obj... | [
"private SdkHttpRequest createGetObjectRequest(String objectKey) {\n return SdkHttpRequest.builder()\n .protocol(\"https\")\n .host(S3_HOST)\n .method(SdkHttpMethod.GET)\n .encodedPath(objectKey)\n .build();\n }",
"@GetMapping(\"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Computes the covariance between two arrays of doubles, which are supposed to have zero means; the arrays might contain missing values (Double.NaN); those values are omitted in the computation the covariance (and the number of observations are adjusted). | public static double cov(double[] x, double[] y, int t)
{
// x and y must have the same Length...
if (t < 0) {
return cov(y, x, -t);
}
double v = 0;
int n = x.length - t;
int nm = 0;
for (int i = 0; i < n; ++i) {
double xcur ... | [
"public static double covariance(double[] x, double[] y) {\n double xmean = mean(x);\n double ymean = mean(y);\n\n double result = 0;\n\n for (int i = 0; i < x.length; i++) {\n result += (x[i] - xmean) * (y[i] - ymean);\n }\n\n result /= x.length - 1;\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'Response Restriction'. | ResponseRestriction createResponseRestriction(); | [
"RestrictionsType getRestrictions();",
"private Restriction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"protected abstract TResponse createResponseInstance();",
"RDFSNamedClass getOWLSomeValuesFromRestrictionClass();",
"Response createResponse();",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
An instance of this class provides access to all the operations defined in LivePipelineOperationStatusesClient. | public interface LivePipelineOperationStatusesClient {
/**
* Get the operation status of a live pipeline.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName The Azure Video Analyzer account name.
* @param livePipelineName Live pip... | [
"@ApiModelProperty(required = true, value = \"Tracks the lifecycle status of the product in the internal state machine of the processing system\")\n @NotNull\n public StatusEnum getStatus() {\n return status;\n }",
"public Integer getOperationStatus() {\n return operationStatus;\n }",
"Operation... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Method Name : ClickQviewAddtoCartbutton Purpose : Qview AddtoCart should be clicked Parameter : None Date Created: Created By : Modified By : Modified Date: | public void ClickQviewAddtoCartbutton(){
class Local {};
Reporter.log("TestStepComponent"+Local.class.getEnclosingMethod().getName());
Reporter.log("TestStepInput:-"+"NA");
Reporter.log("TestStepOutput:-"+"NA");
Reporter.log("TestStepExpectedResult:- Qview Add to cart button should be clicked");
try{
... | [
"public void clickOnAddToCartButton()\n \t{\n \t\tproductRequirementsPageLocators.clickAddToCartButton.click();\n\n \t}",
"public void clickProductDetailsAddToCartBtn(){\n clickElement(productDetailsAddToCart);\n }",
"public void clickProductDetailsViewInCartBtn(){\n clickElement(productD... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Changes iterator position to a record with a key lower than the given key. If the record is present and no errors occurred, returns true. If the record does not exist, false is returned and the iterator position is undefined. It internally aborts all uncommitted changes made to an element previously pointed by the iter... | public boolean seekLower(K key) throws DatabaseException {
ByteBuffer direct_key = getDirectKeyBuffer(keyConverter.toByteBuffer(key));
return iterator_seek_lower(it_ptr, direct_key);
} | [
"public boolean seekLowerEq(K key) throws DatabaseException {\n\t\t\tByteBuffer direct_key = getDirectKeyBuffer(keyConverter.toByteBuffer(key));\n\t\t\treturn iterator_seek_lower_eq(it_ptr, direct_key);\n\t\t}",
"public boolean seek(K key) throws DatabaseException {\n\t\t\tByteBuffer direct_key = getDirectKeyBuff... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Writes the value at the index of this planet's team array. Throws: ArrayOutOfBounds If the index of the array is out of bounds. It must be within [0, COMMUNICATION_ARRAY_LENGTH). | public void writeTeamArray(long index, int value) {
bcJNI.GameController_writeTeamArray(swigCPtr, this, index, value);
} | [
"public void sendTeam(Pokemon[] team)\t//TODO: make teams work\n {\n \tsendInt(team.length);\n \t\n \tfor(int i=0; i<team.length; i++)\n \t\tout.println(team[i].writeToString());\n }",
"public Veci32 getTeamArray(Planet planet) {\n long cPtr = bcJNI.GameController_getTeamArray(swigCPtr, this,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set value of JDBCURL | public final void setJDBCURL(java.lang.String jdbcurl)
{
setJDBCURL(getContext(), jdbcurl);
} | [
"public void setJdbcUrl(String val)\n {\n setValue(DataSourceDobj.FLD_JDBC_URL, val);\n }",
"public void setJdbcUrl(String jdbcUrl)\r\n {\r\n this.jdbcUrl = jdbcUrl;\r\n }",
"public void setJdbcURL(String jdbcURL) throws MBeanException;",
"public String getJdbcURL();",
"public void setURL(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets weights to the vertices. | public void setWeights() {
for (Square[] square : squares) {
for (Square square1 : square) {
try {
int i = Integer.parseInt(square1.getText());
square1.setV(new Vertex(square1.getXcoor(), square1.getYcoor(), i));
} catch (Number... | [
"public void setWeight(double weight)\n {\n for (int jointIdx = 0; jointIdx < joints.size(); jointIdx++)\n weights.set(jointIdx, weight);\n }",
"public void setWeights(Weight[] weights) {\n this.weights = weights;\n }",
"public void setEdgeWeight(Vertex Vtx1, Vertex Vtx2, double EdgeW... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A one sentence description of this Vex. string short_description = 2; | java.lang.String getShortDescription(); | [
"java.lang.String getShortDesc();",
"final public String getShortDesc()\n {\n return ComponentUtils.resolveString(getProperty(SHORT_DESC_KEY));\n }",
"protected String getShort() {\n return shortDesc;\n }",
"public String getShortExplanation()\r\n\t{\r\n\t\treturn this._shortExplanation;\r\n\t}... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Say whether this projectile is defunct (destroyed). | public boolean isDefunct()
{
return isDefunct;
} | [
"public boolean isDestroyed(){\n return destroyed;\n }",
"@Override\n public boolean destroyIgloo(){\n Game.log.format(\"! SnowyHole>destroyIgloo : SnowyHole (%d, %d) cannot have Igloo! Cannot destroy 'iglooOn=false'\\n\", x, y);\n return false;\n }",
"public boolean isDestroyed(){... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the user input to the id field | public String getIdInput() {
return idInput.getText();
} | [
"public String searchId(String type) {\n System.out.println(\"Please enter \" + type + \" ID: \");\n String id = Validate.sc.nextLine();\n return id;\n }",
"public void idInput()\n {\n idNumber = JOptionPane.showInputDialog(\"Your ID number must have 4 Integer Number.\\nEnter you... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the metric execution by alignment | @Override
public List<MetricExecutionTrigger> getMetricExecutionConfig(
Alignment alignment, UserDetails userDetails) throws MetricServiceException {
try{
if(null == alignment || alignment.getId() == null){
LOGGER.error("Missing Alignment Id");
throw new MetricServiceException(new Object[]{"Missing Ali... | [
"QueryAlignment getAlignment();",
"POGOProtos.Rpc.PokemonDisplayProto.Alignment getAlignment();",
"int getMetric();",
"public java.lang.Object getAlignment() {\n return alignment;\n }",
"public Alignment getAlignment() {\n return alignment;\n }",
"String getAlignment();",
"public S... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column lb01_pt.lbt82_kinken_sum.unitnm | public String getUnitnm() {
return unitnm;
} | [
"@javax.persistence.Column(name = \"unit\", precision = 5)\n\tpublic java.lang.String getUnit() {\n\t\treturn getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.UNIT);\n\t}",
"public String getUnit() {\r\n\r\n return data.getUnit();\r\n\r\n }",
"public int getUnitNr() {\n return unit... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check that Network Location Provider reports enabled | public static boolean isNetLocEnabled(Context context) {
LocationManager lm = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
return lm.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
} | [
"private void checkLocationEnabled () {\n LocationManager location_manager = (LocationManager)\n getSystemService(Context.LOCATION_SERVICE ) ;\n boolean gps_enabled = false;\n boolean network_enabled = false;\n try {\n gps_enabled = location_manager.isProviderEn... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Assign negative index as unique document ID to all configured sample clinical documents | private int assignNegativeIndexAsDocumentId(TryPolicyProperties.SampleDocData sampleDocData) {
int indexOfSampleDocuments = tryPolicyProperties.getSampleUploadedDocuments().indexOf(sampleDocData);
return (indexOfSampleDocuments + 1) * -1;
} | [
"@Override\n\tpublic void documentIndexed(IDocument document, long kimId) {\n\t\t// no action is required\n\t}",
"public IndexableDocument() {\n\t\tthis.id=new ObjectId();\n\t}",
"Long cleanIndex(Long index, List<Long> ids);",
"void createInitialFulltextIndex();",
"private void indexIDs() throws Exception {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
auto generated Axis2 call back method for entidadesFromNombre method override this method for handling normal response from entidadesFromNombre operation | public void receiveResultentidadesFromNombre(
es.mitc.redes.urbanismoenred.serviciosweb.v1_86.UrbrWSServiceStub.EntidadesFromNombreResponseE result
) {
} | [
"VOServicio obtenerDatosServicio(String nombre);",
"@GET\n\t@Produces({ MediaType.APPLICATION_JSON })\n\tpublic Response getServiciosDeAlojamiento() {\n\n\t\ttry {\n\t\t\tAlohAndesTransactionManager tm = new AlohAndesTransactionManager(getPath());\n\n\t\t\tList<ServicioDeAlojamiento> serviciosDeAlojamiento;\n\t\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Visit each files in directory and after that submit a job to worker to read the file. | @Override
public FileVisitResult visitFile(
Path aFile, BasicFileAttributes aAttrs) throws IOException {
/**
* skip .DS_Store file
* Print every 1000 jobs send to worker
*/
if (!aFile.getFileName().toString().equalsIgnoreCase(".DS_Store")) {
if (i %... | [
"public void run() {\n\n this.resultsQueue.registerProducer();\n\n for (;;) {\n\n File dir = directoryQueue.dequeue();\n if (dir == null) {\n resultsQueue.unregisterProducer();\n return;\n }\n\n File[] filesArr = dir.listFiles()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Linear interpolation, aka lerp. Set "result" to the interpolation by "weight" from "v0" (when weight=0) to "v1" (when weight=1). | static public final void interpolate (float weight,
MlVector3 v0, MlVector3 v1, MlVector3 result)
{
result.m_vector[0] = (v0.m_vector[0] * (MlScalar.ML_SCALAR_ONE - weight)) +
(v1.m_vector[0] * weight) ;
result.m_vector[1] = (v0.m_vector[1] * (MlScalar.ML_SCALAR_ONE - weight)) +
(v1... | [
"static final void interpolate_lsp_ver2(final float interp[], final float prev[], final float next[], final float weight, final int order)\n\t{\n\t\tfinal float weight1 = 1.0f - weight;// java\n\t\tfor( int i = 0; i < order; i++ ) {\n\t\t\tinterp[i] = weight1 * prev[i] + weight * next[i];\n\t\t}\n\t}",
"private ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template. | java.util.concurrent.Future<EstimateTemplateCostResult> estimateTemplateCostAsync(EstimateTemplateCostRequest estimateTemplateCostRequest); | [
"public abstract double monthlyCost();",
"java.util.concurrent.Future<EstimateTemplateCostResult> estimateTemplateCostAsync();",
"double getCost();",
"@Test public void estimatedMonthlyCostTest() throws NegativeValueException {\n PetBunny pb1 = new PetBunny(\"Floppy\", \"Holland Lop\", 3.5);\n \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The constructor for the Stats object. Contains a list of games. | public Stats()
{
games = new ArrayList();
} | [
"public GameManager() {\n this.games = new ArrayList<>();\n }",
"ScoreboardServer(ArrayList<ChallengeResponseGame> games) {\n this.games = games;\n }",
"public Game()\n {\n players = new ArrayList<>();\n diceNum = new Dice();\n }",
"public Player(){\n jerseyNum =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Start the RTCP receiver | public void startRtcpReceiver() {
rtcpReceiver = new RtcpReceiver(rtcpDatagramSocket, true);
} | [
"private void startChirp() {\n ChirpManager manager = ChirpManager.getInstance(getContext());\n mChirpStartMillis = System.currentTimeMillis();\n ChirpError error = manager.startReceiver();\n if (error.getCode() > 0) {\n Log.e(ChirpManager.TAG, \"ChirpError: \" + error.getMess... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the last encountered comment that is not an ASCII art. | @Nullable
public String getLastComment() {
return myLastComment;
} | [
"private static String unfinishedComment() {\r\n\t\treturn \"ERROR: File ended before closing comment.\";\r\n\t}",
"public abstract char getCommentChar();",
"public String getLastComment()\n \t{\n \t\treturn lastComment;\n \t}",
"private String endOfCommentOperator() {\n if( sourceLine.charAt(sourcePos... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Determines if this feature is conjunctive. | public boolean isConjunctive() { return true; } | [
"public boolean isConjunction() {\r\n\t\treturn conjunction;\r\n\t}",
"boolean hasIsConjured();",
"public abstract boolean isCongruent(LambdaTerm P);",
"public Boolean conjunction() {\n LOGGER.info(\"Started conjunction operation\");\n if (this.firstOne == null || this.secondOne == null) return ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the fixture for this Unidades Organicas test case. | private UnidadesOrganicas getFixture() {
return (UnidadesOrganicas)fixture;
} | [
"private CUsosSubsistemas getFixture() {\r\n\t\treturn (CUsosSubsistemas)fixture;\r\n\t}",
"protected SokobanService getFixture() {\n\t\treturn fixture;\n\t}",
"protected InformationCriteriaReferencesOrganizer getFixture() {\n\t\treturn fixture;\n\t}",
"private ActividadAbstracta getFixture() {\r\n\t\treturn ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
counts common buddies in a list using an accumulator | int countCommonBuddies(ILoBuddy that, int acc); | [
"int countCommonBuddiesCons(ConsLoBuddy that, int acc);",
"int countCommonBuddiesMT(MTLoBuddy that, int acc);",
"private void countCooccurrences() {\n cooccurrences = new HashMap<String, Map<String, Integer>>();\n\n for (KeywordCandidate cand : keywordCandidates) {\n for (String word : ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a new Merchant. | public Merchant() {
super("<NoName>");
} | [
"public SiloCreateMerchantGenerator()\n {\n m_pciMerchant = new SiloConfigPCIMerchant();\n }",
"@PostMapping(\"/merchants\")\n @Timed\n public ResponseEntity<Merchant> createMerchant(@Valid @RequestBody MerchantDTO merchantDTO) throws URISyntaxException {\n log.debug(\"REST request to save M... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
MovieAdapter constructor that takes the movieList to display within context | public MovieAdapter(Context context, List<Movie> moviesList) {
this.mContext = context;
this.moviesList = moviesList;
} | [
"public MovieAdapter(Context context, ArrayList<Movie> movie) {\n mContext = context;\n mMovie = movie;\n if (movie == null) {\n Log.v(LOG_TAG, \"null movie on MovieAdapter creation\");\n } else {\n Log.v(LOG_TAG, \"Created MovieAdapter (entry count = \" + mMovie.si... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieves station constants and station indices from given stations constant specifying two stations. stations specifies the stations of interest. On return, station will be filled with the corresponding singestation constants and stationIndex with a unique index in range 0 2. | void checkTwoStations(int stations, int[] stationIndex, int[] station) throws JposException {
switch (stations) {
case POSPrinterConst.PTR_S_JOURNAL_RECEIPT:
case POSPrinterConst.PTR_TWO_RECEIPT_JOURNAL:
Device.check(!Data.CapConcurrentJrnRec, JposConst.JPOS_E_ILLEGAL... | [
"public List<Station> stations() {\n return List.of(station1, station2);\n }",
"public VehicleTypeEnum getVehicleTypesViaStation(StationEntity station) {\n\n StringBuilder vehicleType = new StringBuilder();\n VehicleTypeEnum vehicleTypeEnum = VehicleTypeEnum.BUS;\n String stationNum... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Searches this type for the most derived method with a signature that matches the given parameters | public Method findMostDerivedMethod(final String methodName, final List<Type> parameterTypes) {
Checker.notNull("parameter:methodName", methodName);
Checker.notNull("parameter:parameterTypes", parameterTypes);
final MostDerivedMethodFinder finder = new MostDerivedMethodFinder();
finder.setMethodName(metho... | [
"public static Method findMethod(Class<?> clazz, String name, Class<?>... paramTypes) {\n Class<?> searchType = clazz;\n while (searchType != null) {\n Method[] methods = (searchType.isInterface() ? searchType.getMethods() : searchType.getDeclaredMethods());\n for (Method method ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
getdisablePaymentModes returns a list of Payment modes which merchant wants to disable. Currently this returns null. | public static List<PaymentMode> getdisablePaymentModes() {
List<PaymentMode> list = new ArrayList<PaymentMode>();
PaymentMode paymentMode1 = new PaymentMode("CC");
paymentMode1.setChannels(new ArrayList<String>());
paymentMode1.getChannels().add(EChannelId.WEB.getValue());
paymentMode1.getChannels().add(EChan... | [
"public static List<PaymentMode> getEnablePaymentModes() {\n\t\tList<PaymentMode> list = new ArrayList<PaymentMode>();\n\t\tPaymentMode paymentMode1 = new PaymentMode(\"CC\");\n\t\tpaymentMode1.setChannels(new ArrayList<String>());\n\t\tpaymentMode1.getChannels().add(EChannelId.WEB.getValue());\n\t\tpaymentMode1.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets (as xml) the "virtualized" attribute | public void xsetVirtualized(org.apache.xmlbeans.XmlString virtualized)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_sto... | [
"public void setVirtualized(java.lang.String virtualized)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Accuracy test for public BillingCostAuditService getBillingCostAuditService(). | public void testGetBillingCostAuditServiceAccuracy() throws Exception {
this.billingCostAuditService = new BillingCostAuditServiceMockImpl();
this.instance.setBillingCostAuditService(billingCostAuditService);
assertEquals("BillingCostAuditService should match.", billingCostAuditService,
... | [
"public void testSetBillingCostAuditServiceAccuracy() throws Exception {\r\n this.billingCostAuditService = new BillingCostAuditServiceMockImpl();\r\n this.instance.setBillingCostAuditService(billingCostAuditService);\r\n assertEquals(\"BillingCostAuditService should match.\", billingCostAuditS... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ / Change any adjacent triangle index that matches fromIndex, to toIndex / | public void ChangeAdjacentIndex(int fromIndex, int toIndex)
{
if (ab == fromIndex)
ab = toIndex;
else if (bc == fromIndex)
bc = toIndex;
else if (ac == fromIndex)
ac = toIndex;
else
assert(false);
} | [
"int toIndex(int x, int y);",
"abstract public void goToIndex(int index);",
"int toIndex(Position pos);",
"public void moveTo(int toIndex)\n\t{\n\t\tthis.grid.moveTo(toIndex);\t\t\n\t}",
"public IntIterator iterator(int fromIndex, int toIndex);",
"private void processIndex() {\r\n\t\tIntBuffer indexBuffer... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Show scheduled doctor appointments by doctor attribute. Makes a html table which contains, on each row, the details about the appointment that has been scheduled with a specified doctor.Each row is being followed by a "Cancel" button, to give patient the opportunity to cancel the appointment. Each row contains the foll... | public static void showScheduledAppointments(String showby, String value, HttpServletResponse response, HttpServletRequest request, DataSource datasource) throws IOException
{
HttpSession session = request.getSession(); //get session
try
{
connection = datasource.getConnection(... | [
"public List<Appointment> viewMyScheduledAppointments(int doctorId){\n\t\treturn this.appointmentRepository.findAllByDoctorAndStatus(doctorId);\n\t}",
"public static void showAppointmentHistory(String showby, String value, HttpServletResponse response, HttpServletRequest request, DataSource datasource) throws IOE... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Optional argument that when supplied must be a valid environment name in the `migrationenv` directory | private void validateEnv(String env) {
if (StringUtils.isNotBlank(env)) {
Path migrationEnvPath = Paths.get(getProject().getRootProject().getProjectDir().getAbsolutePath(), "/src/main/resources/db/migration-env");
File[] envDirs = migrationEnvPath.toFile().listFiles(File::isDirectory);
... | [
"@Test\n\t@DisplayName(\"test_env\")\n\t@EnabledIfEnvironmentVariable(named = \"ENVIRONMENT\", matches=\"dev\")\n\tvoid testEnv() {\n\t\t\n\t}",
"java.lang.String getEnvName();",
"public void setEnvName(String envName) {\n this.envName = envName == null ? null : envName.trim();\n }",
"private static... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Finds all messages of job by passed id | @Transactional
public List<JobMessage> findAllMessagesByJobId(long jobId) {
Job foundJob = findById(jobId);
return foundJob.getMessages()
.stream()
.sorted(Comparator.comparing(JobMessage::getId))
.collect(Collectors.toList());
} | [
"List<Message> findChildMessages(Message msg);",
"protected ActionMessage lookupJobInfo(String id, List<ActionMessage> messages){\n\t\tfor (ActionMessage message: messages){\n\t\t\tif (message.getMessageID().equals(id)){\n\t\t\t\treturn message;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"MJob findJob(long id);",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Validates the JSON Object and throws an exception if issues found | public static void validateJsonObject(JsonObject jsonObj) throws IOException {
if (jsonObj == null) {
if (SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.openapiRequiredFields.isEmpty()) {
return;
} else { // has required fields
throw new IllegalArgumentExcepti... | [
"public boolean JsonValidate(Json obj);",
"@Test\r\n void jsonInvalidValidateTest() {\r\n JSON reader = new JSON();\r\n Card card = new Card(\"Maxine\",\"0\");\r\n Card validate = reader.validate(card.getName(),card.getNum());\r\n assertNull(validate);\r\n }",
"public static vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the lunch start time of a specific shift | public void setLunchStart(LocalTime lunchStart) {
this.lunchStart = lunchStart;
} | [
"public void setLunchStop(LocalTime lunchStop) {\r\n this.lunchStop = lunchStop;\r\n }",
"public void setItStartingTime(long value) {\n this.itStartingTime = value;\n }",
"void setStartTime(java.util.Calendar startTime);",
"public void setStartedAtTime(java.util.Calendar value) {\r\n\t\tBa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initialize this class with an instance of StatsWriteService to push stats to. | public AmbrosePigProgressNotificationListener(StatsWriteService statsWriteService) {
this.statsWriteService = statsWriteService;
} | [
"public void setupStatsEndpoint() {\n HttpHandler handler =\n (httpExchange) -> {\n this.increaseEndpointHitFrequency(this.getStatsApiEndpoint());\n StringBuilder response = new StringBuilder();\n Set<Map.Entry<String, Integer>> frequencySet = this.getEndpointFrequencyEntrySet()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getSelectedBooks method, of class LibraryTable. | @Test
public void testGetSelectedBooks() {
System.out.println("getSelectedBooks");
List expResult = new ArrayList();
List result = testLibraryTable.getSelectedBooks();
assertEquals(expResult, result);
} | [
"public void setBooksInLibrary() {\n booksThatAreCurrentlyAvailable[0].setNameOfTheBook(\"Head First Java\");\n booksThatAreCurrentlyAvailable[0].setNameOfTheAuthorOfTheBook(\"Kathy Sierra & Bert Bates\");\n booksThatAreCurrentlyAvailable[0].setThirteenDigitISBNNumberOfTheBook(\"55rtxz34519y0\"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Pushes the ActionEventDispatcher onto the top of this stack. | private ActionEventDispatcher push(ActionEventDispatcher actionEventDispatcher) {
add(actionEventDispatcher);
return actionEventDispatcher;
} | [
"static void pushThreadLocalDispatcher(ActionEventDispatcher actionEventDispatcher) {\r\n getDispatcherStack().push(actionEventDispatcher);\r\n }",
"private void push(GameAction action) {\n this.queue.add(action);\n }",
"private ActionEventDispatcher peek() {\r\n int length = size... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the type of cargo of this temp no tice ship message. | public void setTypeOfCargo(java.lang.String typeOfCargo) {
_tempNoTiceShipMessage.setTypeOfCargo(typeOfCargo);
} | [
"@Override\n\tpublic void setTypeOfCargo(java.lang.String typeOfCargo) {\n\t\t_tempNoTiceShipMessage.setTypeOfCargo(typeOfCargo);\n\t}",
"public void setType(ShipType type) {\n\t\tthis.type = type; }",
"public void setType(ShipType type) {\r\n this.type = type;\r\n }",
"@Override\n\tpublic void setN... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Order subtotal. double subtotal = 11 [(.gen_bq_schema.description) = "Order subtotal."]; | double getSubtotal(); | [
"BigDecimal getSubtotal();",
"void setSubtotal(BigDecimal subtotal);",
"public BigDecimal getAmtSubtotalPO();",
"public static float getSubtotalPrice(){\n return subtotal;\n }",
"public Long getSubTotal() {\r\n return subTotal;\r\n }",
"public Double getSUBTOTAL() {\n return SUB... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Log a delivered message. | public void logDeliverMessage(RoutingHeader header); | [
"public void notifyOfDelivery(Message message) {\n logger.debug(\"entering notifyOfDelivery\");\n\n StringBuffer stringBuffer = new StringBuffer();\n stringBuffer.append(MESSAGE_DELIVERED);\n stringBuffer.append(\" \");\n stringBuffer.append(message.getMessageID());\n\n cha... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
string quxian_yun_id = 3; | java.lang.String getQuxianYunId(); | [
"public java.lang.String getQuxianYunId() {\n java.lang.Object ref = quxianYunId_;\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.toStringUtf8();\n quxianYunId_ ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get reporting period by reporting period id. | ReportingPeriod getReportingPeriod(Long reportingPeriodId); | [
"public long getPeriodId() {\n return periodId;\n }",
"public java.lang.String getPeriodId() {\n return periodId;\n }",
"public Integer getPeriodId() {\n\t\treturn periodId;\n\t}",
"public String getPeriodsId() {\n return periodsId;\n }",
"@Transactional(readOnly = true) \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR start "incompleteCardinalityRestriction" /Users/luigi/Documents/workspace/Parsers/src/ManchesterOWLSyntaxAutoComplete.g:635:1: incompleteCardinalityRestriction returns [List completions] : ^( INCOMPLETE_CARDINALITY_RESTRICTION . INTEGER propertyExpression ) ; | public final ManchesterOWLSyntaxAutoComplete.incompleteCardinalityRestriction_return incompleteCardinalityRestriction() {
ManchesterOWLSyntaxAutoComplete.incompleteCardinalityRestriction_return retval = new ManchesterOWLSyntaxAutoComplete.incompleteCardinalityRestriction_return();
retval.start = input.L... | [
"public final ManchesterOWLSyntaxAutoComplete.incompleteQualifiedRestriction_return incompleteQualifiedRestriction() {\n ManchesterOWLSyntaxAutoComplete.incompleteQualifiedRestriction_return retval = new ManchesterOWLSyntaxAutoComplete.incompleteQualifiedRestriction_return();\n retval.start = input.LT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Closes current client's socket and deletes static client Input: None Output: None | public static void deleteClient( ) {
if (ClientHandler.client != null) {
ClientHandler.client.closeSocket();
ClientHandler.client = null;
}
} | [
"void closeClient();",
"public void closeClient(){\n\t\tnetworkmanager.sendData(STCTransferMode.Exit);\n\t\tnetworkmanager.close();\n\t\tmain.removeClient(this);\n\t}",
"public void closeSocket() { \n try {\n this.os.close();\n this.is.close();\n this.clientSocket.close()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method returns the value of the database column st_door_real.notice | public String getNotice() {
return notice;
} | [
"public String getNotice() \n {\n return _notice;\n }",
"java.lang.String getNotice();",
"public String getNotice();",
"public java.lang.String getNotice() {\n java.lang.Object ref = notice_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of checkCard method, of class CreditCardAndCI. | @Test
public void testCheckCard3() {
System.out.println("checkCard");
String card = "4608003816501748";
boolean expResult = true;
boolean result = CreditCardAndCI.checkCard(card);
assertEquals(expResult, result);
} | [
"@Test\n public void testCheckCard1() {\n System.out.println(\"checkCard\");\n String card = \"4048598412673666\";\n boolean expResult = true;\n boolean result = CreditCardAndCI.checkCard(card);\n assertEquals(expResult, result);\n \n }",
"@Test\n public void tes... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Schema in Thrift format. .google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema thrift = 2; | @java.lang.Override
public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getThriftOrBuilder() {
if (schemaCase_ == 2) {
return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_;
}
return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefault... | [
"@java.lang.Override\n public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() {\n if (schemaCase_ == 2) {\n return (com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema) schema_;\n }\n return com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.getDefaultInstance... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Pretty empty (but valid) RTCA file | public File rtcaTest() throws IOException {
String config = "scan_plate_data.plt";
return new File(localPath + "/RTCA/" + config);
} | [
"default boolean alwaysFormatEntireFile() {\n return false;\n }",
"public BibFileFormatter() {\n this(\" \");\n }",
"protected void buildNCFile() {\n ncFile.empty();\n fillNCFile();\n ncFile.finish();\n }",
"public void createTestFileWithoutProperKeyFormat() {\n\t\tList<String> lines ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Close the Help Tour overlay. 14Jul2017 MR47140 Help Tour overlay is removed from search results page. | public static WebElement btn_closeHelpTourOverlay11() throws Exception{
try{
WebDriverWait wait = new WebDriverWait(driver, 25);
// wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[contains(@class, 'helpTourPopup none')]")));
wait.until(ExpectedConditions.elementToBeClick... | [
"public ImagePreviewDashlet closeHelpBallon()\n {\n try\n {\n findAndWait(DASHLET_HELP_BALLOON_CLOSE_BUTTON).click();\n waitUntilElementDisappears(DASHLET_HELP_BALLOON, TimeUnit.SECONDS.convert(getDefaultWaitTime(), TimeUnit.MILLISECONDS));\n return this;\n }... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
given a list of integers, return a list of the integers, omitting any that are less than 0 | public List<Integer> noNeg(List<Integer> nums) {
nums.removeIf(n -> n < 0);
return nums;
} | [
"public static ArrayList<Integer> removeZeros(ArrayList<Integer> p)\n\t{ The best way: Create a new empty integer array list and\n\t // only copy the non-zero numbers of parameter array list p into it. \n\t\t // Use a for loop\n\t\t //-----------Start below here. To do: approximate lines of code = 5\n\t\t //\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Paints boxes of random width and height in a random location. Narrow or short boxes are highlighted with a fill color. | public void paint(Graphics page)
{
final int NUM_BOXES = 50, THICKNESS = 5, MAX_SIDE = 50;
final int MAX_X = 350, MAX_Y = 250;
int x, y, width, height;
setBackground (Color.black);
Random generator = new Random();
for (int count = 0; count < NUM_BOXES; count++)
{
x ... | [
"public void createRect(){\r\n float determiner1 = this.rand.nextInt(500);\r\n float determiner2 = this.rand.nextInt(800);\r\n\r\n left = determiner1;\r\n top = determiner2;\r\n right = determiner1+100;\r\n bottom = determiner2+100;\r\n\r\n this.color = Color.RED;\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
remove the markings from all nodes | @AbstractCustomGlobal.CustomButton(buttonText="unmark", toolTipText="unmarks all nodes")
public void unMark() {
for(Node n : Tools.getNodeList()) {
n.setColor(Color.BLACK);
}
Tools.repaintGUI();
} | [
"public void removeMarks() {\r\n\t\tthis.marks.clear();\r\n\t}",
"public void clearNodeVisitedMarking() {\n\tfor (Node n : nodes)\n\t n.clearVisitedMark();\n }",
"public void clearMarks() {\r\n markedCoordinates.clear();\r\n }",
"public void clearMarks( int numbNodes ){\r\n\t\t\r\n\t\tArrayLis... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get Scaled Watts Generated: | public int getScaledWattsGenerated(int scale) {
return (int)(wattsGenerated * scale / wattGeneration);
} | [
"public int getConsuptiomKilowatts(){\n\treturn consuptiomKilowatts;\n}",
"float getW();",
"public int calStrikingPower() {\n // System.out.println(playerId+strike);\n return effectiveAbilities.getStrength() + randomGen.random1To10();\n }",
"int getLaserSwordPower();",
"public int getWounds(){\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Log event with provided eventName and parameters and indicator this is a timed event. Parameters are pairs of (String, String) value. This method uses tracker given in onCreate method. End this event with endTimedEvent method. | public static void logEvent(String eventName, Map<String, Object> parameters, boolean timed) {
if (parameters == null) {
parameters = new HashMap<String, Object>();
}
ADIN.$().tracker.save(eventName, parameters, timed);
} | [
"public static void logEvent(String eventName, Map<String, Object> parameters) {\n\t\tADIN.$().tracker.save(eventName, parameters, false);\n\t}",
"public static void logEvent(String eventName) {\n\t\tADIN.$().tracker.save(eventName, new HashMap<String, Object>(), false);\n\t}",
"public static void recordMetricE... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Funkcja sprawdza czy zdobyto bonus | public void sprawdzBonusy()
{
if(aktualnyNumerSciezki != -1)
{
pojazd.sprawdzBonus(droga.get(aktualnyNumerSciezki));
wyswietleniePunktow.setText("" + pojazd.pobierzPunkty());
}
} | [
"private void obsluga_bonusu()\n {\n if(bonusy_poziomu>0)\n {\n boolean numer= los.nextBoolean();\n if(numer){\n bon.add(new Bonus(w.getPolozenie_x(),w.getPolozenie_y(),getWidth(),getHeight()));\n bonusy_poziomu--;\n }\n }\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the measure equivalent to this measure but stated in the specified unit. | public Measure<Number,Q> to(Unit<Q> unit) {
if (unit == this.unit || unit.equals(this.unit)) {
return this;
}
ELContext elctx = ELEngine.getCurrentELContext();
UnitConverter cvtr = this.unit.getConverterTo(unit);
if (cvtr instanceof RationalCo... | [
"public String getMeasureUnit() {\n return measureUnit;\n }",
"java.lang.String getUnitOfMeasure();",
"public String unit() {\n return this.unit;\n }",
"public String getUnitOfMeasure() {\r\n return this.unitOfMeasure;\r\n }",
"public String getUnitOfMeasure() {\n return... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the specified service Endpoint Policies in a specified resource group. | ServiceEndpointPolicy getById(String id); | [
"ServiceEndpointPolicy getByResourceGroup(String resourceGroupName, String serviceEndpointPolicyName);",
"PagedIterable<ServiceEndpointPolicy> listByResourceGroup(String resourceGroupName);",
"PagedIterable<ServiceEndpointPolicy> listByResourceGroup(String resourceGroupName, Context context);",
"SecurityPolic... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
gets the list of publications in the conference corresponding to the filters | public List<PublicationMO> getPublicationsByFilters(List<PublicationMO> publicationList, Filters[] filters); | [
"public List<PublicationMO> getPublications(int conferenceId);",
"List<Publisher> getAllPublishers();",
"public ArrayList<Publication> getPublicationsVisibles(Utilisateur utilisateur) throws RemoteException;",
"public List<PublicationNew> readAllPublications();",
"public Collection findPublicPresentations(S... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new transmission | void create(Transmission transmission); | [
"public static TransactionID createNewRFC3489TransactionID() {\n TransactionID tid = new TransactionID(true);\n random.nextBytes(tid.transactionID);\n return tid;\n }",
"RteSendImplementation createRteSendImplementation();",
"public static TransactionID createNewTransactionID() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructors Create a detached StructureForUserRecord | public StructureForUserRecord() {
super(StructureForUser.STRUCTURE_FOR_USER);
} | [
"public StructureForUserRecord(String id, String userId, Integer structId, Timestamp lastRetrieved, Integer xcoord, Integer ycoord, Timestamp purchaseTime, Byte isComplete, String orientation, Byte fbInviteStructLvl) {\n\t\tsuper(StructureForUser.STRUCTURE_FOR_USER);\n\n\t\tsetValue(0, id);\n\t\tsetValue(1, userId)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a layer to display the tactical symbol. We add just one tactical symbol, but multiple tactical symbols and tactical graphics may be combined on the same RenderableLayer. | protected void addTacticalSymbols()
{
RenderableLayer layer = new RenderableLayer();
layer.setName("Tactical Symbols");
// Create a tactical symbol for the MIL-STD-2525 symbology set. The symbol identifier specifies a
// MIL-STD-2525 friendly Special O... | [
"protected TacticalGraphicSymbol createSymbol(String sidc)\n {\n TacticalGraphicSymbol symbol = new TacticalGraphicSymbol(sidc);\n symbol.setAttributes(this.activeSymbolAttributes);\n symbol.setDelegateOwner(this);\n return symbol;\n }",
"Layer createLayer();",
"public Button.L... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calling this will make a new window for resetting the master password | private void resetMasterPassword() {
new ResetMasterPassword(this);
} | [
"private void changePasswordActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_changePasswordActionPerformed\n new ResetPasswordFrame(db, agentID, loginEntityType).setVisible(true);\n }",
"public void onForgotPassword(ActionEvent event) throws IOException {\r\n\t\tClientMain.changeScene(\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the standardFormattingIndicator value for this TCRMOrganizationNameBObjType. | public void setStandardFormattingIndicator(java.lang.String standardFormattingIndicator) {
this.standardFormattingIndicator = standardFormattingIndicator;
} | [
"public java.lang.String getStandardFormattingIndicator() {\n return standardFormattingIndicator;\n }",
"public void setStandard(String standard) {\n this.standard = standard == null ? null : standard.trim();\n }",
"public void setStandard(Boolean standard) {\n this.standard = standard;... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Unregisters a property scribe. | public void unregister(VCardPropertyScribe<? extends VCardProperty> scribe) {
extendedByName.remove(scribe.getPropertyName().toUpperCase());
extendedByClass.remove(scribe.getPropertyClass());
extendedByQName.remove(scribe.getQName());
} | [
"public UnRegisterPropertyEventCommand unRegisterPropertyEventCommand() {\n return dispatchCommand(new UnRegisterPropertyEventCommand(getCameraRefInternal()));\n }",
"void removeProperty(String name);",
"public void removeProperty(String propertyName);",
"Object removeProperty(String name);"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if lOp is equal to rOp | public ResultValue equals(ResultValue lOp, ResultValue rOp) throws Exception
{
// Do string comparisons with strings and booleans
if (lOp.type == SubClassif.STRING || lOp.type == SubClassif.DATE || lOp.type == SubClassif.BOOLEAN)
{
if (lOp.value.equals(rOp.value))
... | [
"public boolean equals(IOperation op);",
"public ResultValue notEquals(ResultValue lOp, ResultValue rOp) throws Exception\r\n {\r\n // Do string comparisons with strings and booleans\r\n if (lOp.type == SubClassif.STRING || lOp.type == SubClassif.DATE || lOp.type == SubClassif.BOOLEAN)\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Read the text for the given chunk (derived classes may wish to override) | protected void loadText(int chunkNum, Chunk chunk) throws IOException {
chunk.text = reader.document(chunkNum).get(field);
} | [
"public String readText() throws IOException {\n if (maxReadSize == -1) {\n String txt = IOUtils.toString(reader);\n if (StringUtils.isEmpty(txt)) {\n return null;\n }\n return txt;\n }\n\n char[] text = new char[maxReadSize - buffer.le... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |