query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
optional int32 date_granularity = 18 [default = 1000]; | boolean hasDateGranularity(); | [
"@Test\n public void testGranularitySpecLegacy() {\n final HadoopDruidIndexerConfig cfg;\n \n try {\n cfg = jsonReadWriteRead(\n \"{\"\n + \"\\\"segmentGranularity\\\":\\\"day\\\",\"\n + \"\\\"intervals\\\":[\\\"2012-02-01/P1D\\\"]\"\n + \"}\",\n Had... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the annotation_set_item this structure currently contains. | @Override
public AnnotationSetItem getAnnotationSetItem() {
return annotationSetItem;
} | [
"private AnnotationAggregateItem getSrcAnnotationAggregate(AnnotationAggregateItem item) {\r\n if (item == null) { return null; }\r\n\r\n AnnotationAggregateDao aaDao = DiscourseDbDaoFactory.DEFAULT.getAnnotationAggregateDao();\r\n AnnotationAggregateItem result = aaDao.findBySourceId((Long)ite... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deze methode telt 1 op bij de sum, maar zonder dat die resource gelockt is op het moment dat er een Thread naartoe schrijft. | public void run(){
sum++;
} | [
"@Override\n public void run() {\n synchronized (sum) {\n sum++;\n }\n }",
"static long sum(int[] arr) throws InterruptedException{\r\n \tint sumValues=0;\r\n \t sumThread[] threads = new sumThread[4];\r\n for(int i=0;i<4;i++) {\r\n \tthread... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the Customer information if the given username (email) exists, as well as confirming username/password combination is correct. | private Customer confirmCustomerWithCredentials(String username, String password) {
Customer c = getCustomerByUsername(username);
// Confirm there is a customer with the given username (email)
if (c == null) throw new UserNotFoundException("Customer does not exist with the given username.");
... | [
"public String check(){\n\t\t\t\n\t\t// Retrieve username password and email of a User who has same email as the input\n\t\t\n\t\tString emailCheck = data.findEmail(this.email).getEmail();\n\t\t\t\n\t\t\t\n\t\tString message = null;\n\t\tString realUsername = null;\n\t\tString realPassword = null;\n\t\t\n\t\t// Che... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
open, setup of SocketChannels. If nc > servers.length open in round robin fashion. | public void open(int nc) throws IOException {
logger.debug("opening " + nc + " channels");
if (servers.length <= 1) {
throw new IOException("to few servers");
}
channels = new SocketChannel[nc];
int j = 1; // 0 is master
for (int i = 0; i < channels.length; i+... | [
"public void open() throws IOException {\n logger.debug(\"opening \" + servers.length + \" channels\");\n if (servers.length <= 1) {\n throw new IOException(\"to few servers\");\n }\n channels = new SocketChannel[servers.length - 1];\n for (int i = 1; i < servers.length... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
recursive check to see if there is a path from task1 to task2 | public boolean doesTask1DependOnTask2(QuestTask task1, QuestTask task2) {
ArrayList<QuestTaskDependency> list = questTaskDependencies.get(task1.getId());
if (list == null) return false;
for (QuestTaskDependency dep : list) {
if (dep.getDestinationId().equals(task2.getId())) {
... | [
"private boolean checkChildTaskRecursively(Date start, Date end, Set<Task> childTasks) {\n\t\t\n\t\tfor(Task childTask : childTasks){\n\t\t\t\n\t\t\t\t \n\t\t\t if(childTask.getEnd().before(childTask.getStart())) {\n\t\t\t \n\t\t\t\t isCorrect= false; \n\t\t\t\t\t\t\t\t\t\t \n\t\t\t }\n\t\t\t \n\t\t\t if(end... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Temperature scaling calibration. .object_detection.protos.TemperatureScalingCalibration temperature_scaling_calibration = 5; | object_detection.protos.Calibration.TemperatureScalingCalibration getTemperatureScalingCalibration(); | [
"object_detection.protos.Calibration.TemperatureScalingCalibrationOrBuilder getTemperatureScalingCalibrationOrBuilder();",
"@java.lang.Override\n public object_detection.protos.Calibration.TemperatureScalingCalibrationOrBuilder getTemperatureScalingCalibrationOrBuilder() {\n if (calibratorCase_ == 5) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert the String to byte | public static byte stringToByte(String str) {
if (str.length() == 1) {
return (byte) str.charAt(0);
}
if ("\\t".equals(str)) {
return 0x9;
}
if ("\\n".equals(str)) {
return 0xa;
}
if ("\\0".equals(str)) {
return 0x0;... | [
"public static byte str2byte(String s) {\r\n byte b = (byte) 0;\r\n int i;\r\n if (s.length() == 8 && s.matches(regex)) {\r\n i = Integer.parseInt(s, 2);\r\n if (i >= 0 && i <= 255) {\r\n b = (byte) i;\r\n } else {\r\n System.out.println(\"string out of range\");\r\n }\r\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column help_keyword.help_keyword_id | public void setHelp_keyword_id(Integer help_keyword_id) {
this.help_keyword_id = help_keyword_id;
} | [
"public Integer getHelp_keyword_id() {\n return help_keyword_id;\n }",
"Imports setKeywordsId(Short keywordsId);",
"public void setKeywordId(Long keywordId) {\r\n this.keywordId = keywordId;\r\n }",
"public void setFkKeywordId(int v) \r\n {\r\n\r\n if (this.fkKeywordId != v)\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
function for set first fragment run | private void setFirstFragment(){
Fragment fragment = null;
fragment = new FragmentOne();
FragmentManager fragmentManager = getSupportFragmentManager();
fragmentManager.beginTransaction()
.replace(R.id.frame_container, fragment).commit();
} | [
"private void setStartFragment() {\n Fragment startFragment = getFragment(APPLICATION_FRAGMENTS[0]);\n changeFragment(startFragment);\n }",
"private void setLastFragment() {\n Log.d(\"setLastFragments\", \"setLastFragments: start\");\n fragmentTransaction = getSupportFragmentManager... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Saves the averages of a scan into a format that is readable by the LIBSVM library. | public static void saveLibraryAverage(Context c, ScanManager scanManager, String filename) {
assert isExternalStorageWritable();
File file = new File(c.getExternalFilesDir(null), "libraryAverage" + filename);
String line = scanManager.getLabel();
int index = 1;
for (AnchorNode an... | [
"public void writeOverallAverageToFile() {\n\t\ttry {\n\t\t\tString filename = \"selectionAvg.txt\";\n\t\t\tString folder_name=\"2_Filter/selection/\";\t\t\n\t\t\t\n\t\t\n\t\t\tFile file = new File(filepath+folder_name);\n\t\t//\tFile file = new File(filepath+\"/selection\");\n\t\t\t//String folder_name=\"2_Filter/... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Fields should be in format of EntityName.fieldName, they will be translated to physical names. examples: groupBy("User.lastName", "Customer.id") | public ModelQuery groupBy(String... by) {
for (int i = 0; i < by.length; i++) {
by[i] = parseField(by[i]).getGeneratedName();
}
this.qb.groupBy(by);
return this;
} | [
"public String[] getGroupByFields(String queryString) {\n String[] output=null;\n int i=0;\n if(queryString.toLowerCase().contains(\" group by \")){\n String res = queryString.toLowerCase().split(\" group by \")[1];\n output = new String[1];\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
query to add entries with true in favourites column | public boolean addToFavourites(String name){
SQLiteDatabase db =this.getReadableDatabase();
ContentValues contentVal = new ContentValues();
contentVal.put(FAVOURITES,true);
db.update(Db_Table,contentVal, "movie_name = ?",new String[]{ name });
return true;
} | [
"public void addToFavorites(Query query);",
"private ArrayList<Movie> setFavorites(ArrayList<Movie> movieData) {\n // create a ContentValues instance to pass the values onto the insert query\n Cursor c;\n int i = 0;\n String[] tableColumns;\n String whereClause;\n String[... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Accessor method for the collector prototype object | @Override
public FeatureCollector getCollector() {
return FeatureCollector.prototype();
} | [
"default UPathCollectorElement getCollector() {\n return null;\n }",
"public abstract CollectionStatistics getCollectionStatistics();",
"public Collector() {\n \t\tsuper();\n \t}",
"public StatisticsCollector getStatisticsCollector();",
"Collect getColl();",
"protected CollectorProcessor<OUT> ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check whether the date is expired. | public boolean checkIfExpired() throws Exception {
String expiredDateStr
= localPerspectiveDriver.getLicenseInfo().getExpirationDateInfo().toString();
return compareToCurrent(expiredDateStr);
} | [
"public boolean validateDate() {\r\n\t\tDate now = new Date();\r\n\t\t// expire date should be in the future\r\n\t\tif (now.compareTo(getExpireDate()) != -1)\r\n\t\t\treturn false;\r\n\t\treturn true;\r\n\t}",
"public boolean isExpired() {\r\n if (expiresDate != null) {\r\n Date rightNow = new D... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handle 'Add Selected' prerequisites button for batch add courses to prerequisites list. Calls service object's addPrerequisites() method and redirects back to Edit page. This can be invoked by form submission OR a link, therefore request method is GET. | @RequestMapping(value = "/staff/addprerequisites/{id}", method = RequestMethod.GET)
public ModelAndView addPrerequisites(@PathVariable("id") Long courseID, Long[] courseIDs) {
ModelAndView modelAndView = new ModelAndView("staff/courseedit");
try {
courseService.addPrerequisites(courseID, courseIDs);
String i... | [
"@RequestMapping(value = \"/staff/removeprerequisites/{id}\", method = RequestMethod.POST)\n\tpublic ModelAndView removePrerequisites(@PathVariable(\"id\") Long courseID, Long[] prerequisiteIDs) {\n\t\tModelAndView modelAndView = new ModelAndView(\"staff/courseedit\");\n\t\ttry {\n\t\t\tcourseService.removePrerequi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of removeFortalezaEnAreaSector method, of class Area. | @Test
public void testRemoveFortalezaEnAreaSector_Fortaleza() {
System.out.println("removeFortalezaEnAreaSector");
Area instance = new Area();
instance.addFortalezaEnAreaSector(fortaleza);
instance.removeFortalezaEnAreaSector(fortaleza);
} | [
"@Test\r\n public void testRemoveAccionEnAreaSector_Accion() {\r\n System.out.println(\"removeAccionEnAreaSector\");\r\n List<Accion> AccionesEnAreaSector = new ArrayList<>();\r\n AccionesEnAreaSector.add(AMejora);\r\n AccionesEnAreaSector.add(ACorrectiva);\r\n AccionesEnAreaSe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the 'variantSetIds' field | public java.util.List<java.lang.CharSequence> getVariantSetIds() {
return variantSetIds;
} | [
"public java.util.List<java.lang.String> getVariantSetIds() {\n return variantSetIds;\n }",
"public java.util.List<java.lang.String> getVariantSetIds() {\n return variantSetIds;\n }",
"public java.util.List<java.lang.CharSequence> getVariantSetIds() {\n return variantSetIds;\n }",
"public void... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the 'CDC_KEY' field. | public java.lang.Double getCDCKEY() {
return CDC_KEY;
} | [
"public java.lang.String getCdkey() {\n java.lang.Object ref = cdkey_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toString... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Interface for grouping multiblock structures to a single energy net delegate. The energy net uses TileEntity to refer to a specific xyz+world position. If multiple of those positions should belong to the same functional structure, i.e. they consume or produce energy only once for the whole multiblock instead of once pe... | public interface IMetaDelegate extends IEnergyTile {
/**
* Get the sub-TileEntities belonging to this Meta TileEntity.
*
* @note The list has to be consistent between the EnergyNet Load and Unload events.
* @note The list must have at least 1 element.
* @note The parent te implementing IMe... | [
"List<TileEntity> getSubTiles();",
"@SubscribeEvent\n\tpublic static void registerBlocks(RegistryEvent.Register<Block> event){\t\t\t\t\n\t\t//Create the crafting bench wrappers and register them.\n\t\t//None of these will be TEs, so we don't have to check for that.\n\t\tfor(Field field : MTSRegistry.class.getFiel... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Takes the input of a key when it is released and removes it | public void keyReleased() {
while(keys.contains(keyCode))
keys.remove(new Integer(keyCode));
} | [
"void unsetKeyBox();",
"void keyReleaseEvent(String key);",
"void unbindKey(KeyStroke stroke);",
"public void removeKey() {\n \tthis.key =null;\n \tdungeon.keyLeft().set(\"Key possession: No\\n\");\n }",
"void unsetKeyWheel();",
"public void setKeyReleased(KeyCode code) {\r\n pressedKeys.r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the build number of the upstream where this integration is built. Since the relevant information might be already lost when this method is called, this code needs to be defensive. | public int getUpstreamBuildNumber() throws IOException {
Fingerprint f = Hudson.getInstance().getFingerprintMap().get(getFingerprintKey());
if(f==null) return -1;
FeatureBranchProperty p = getProperty();
RangeSet rs = new RangeSet(); // empty range set
if(p!=null)
... | [
"public static String getBuildNumber() {\n storeBuildInfo();\n return buildNumber;\n }",
"public static int getBuildNumber()\n {\n return buildNumber;\n }",
"public String pullBuildNumber()\n {\n String build = \"Build: \" + applicationBuildNumber;\n return build;\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
getDaogenVersion will return information about generator which created these sources. | public String getDaogenVersion() {
return "DaoGen version 2.4.1";
} | [
"int getVendorListVersion();",
"java.lang.String getSourceVersionId();",
"int getVer();",
"public String getDistributionVersion();",
"public String getAdapterBuildVersion();",
"public String getVersionNo();",
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
GET /shifts/:id : get the "id" shifts. | @GetMapping("/shifts/{id}")
@Timed
public ResponseEntity<ShiftsDTO> getShifts(@PathVariable Long id) {
log.debug("REST request to get Shifts : {}", id);
ShiftsDTO shiftsDTO = shiftsService.findOne(id);
return ResponseUtil.wrapOrNotFound(Optional.ofNullable(shiftsDTO));
} | [
"@GetMapping(\"/patient-to-shifts/{id}\")\n @Timed\n public ResponseEntity<PatientToShift> getPatientToShift(@PathVariable Long id) {\n log.debug(\"REST request to get PatientToShift : {}\", id);\n PatientToShift patientToShift = patientToShiftService.findOne(id);\n return Optional.ofNull... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
check whether this subString is the subString of T.key equal string is also considered as subString. eg."ABCD" is a subString of "ABCD" | protected boolean isSubString(BSTVertexOfBabyNames T,String subString)
{
String babyName=T.key;
int stringLength=subString.length();
boolean identical=false;
for(int i=0;i<babyName.length();i++)
{
if(i+stringLength>babyName.length())
return false;
for(int start=0;start<stringLength;sta... | [
"boolean isSubStr(String s, String t) {\n\t\tint k = 0;\n\t\tfor (int i = 0; i < s.length(); ++i) {\n\t\t\tboolean found = false;\n\t\t\tfor (; k < t.length(); ++k) if (found = (t.charAt(k) == s.charAt(i))) break;\n\t\t\tif (!found) return false;\n\t\t\t++k;\n\t\t}\n\t\treturn true;\n\t}",
"boolean containsSubkey... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a new droplet and record the time it was spawned | private void spawnDroplet() {
Droplet droplet;
//Randomly choose which kind of droplet to create
Random rand = new Random();
if (rand.nextInt(15) == 0) droplet = new Droplet("droplet_red.png", Type.BOMB);
else if (rand.nextInt(15) == 0) droplet = new Droplet("droplet_white.png", Type.HAIL);
else ... | [
"public void createPlateauSpawner() {\n\t\tif (!spawner) {\n\t\t\tsetPlateauSpawner(new PlateauSpawner(this, 1, 150));\n\t\t\tspawner = true;\n\t\t}\n\t}",
"public double generateDropTime() {\n return LOWERLIMTIME + (Math.random() * ((UPPERLIMTIME - LOWERLIMTIME) + 1));\n\n }",
"public TimeBlock() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .GetGlobalState.S2C s2c = 4; | boolean hasS2C(); | [
"com.futu.opend.api.protobuf.GetGlobalState.S2C getS2C();",
"com.futu.opend.api.protobuf.GetGlobalState.C2S getC2S();",
"public com.futu.opend.api.protobuf.GetGlobalState.S2C getS2C() {\n return s2C_;\n }",
"com.futu.opend.api.protobuf.GetGlobalState.C2SOrBuilder getC2SOrBuilder();",
"sz.futu.protoc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
GENLAST:event_registraUtenteMenuActionPerformed //MENUITEM MODIFICA UTENTE ActionPerformed del MenuItem Modifica Utente | private void modificaUtenteMenuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_modificaUtenteMenuActionPerformed
int rigaSelezionata = tabellaUtenti.getSelectedRow();//recupero la riga selezionata
if(rigaSelezionata != -1){
int idUtente = Integer.parseInt(tabellaUtenti.get... | [
"private void jMenuItemNuevoActionPerformed(java.awt.event.ActionEvent evt) {\n Nuevo();\n }",
"private void registraLibroMenuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_registraLibroMenuActionPerformed\n RegistraLibroGUI rL = new RegistraLibroGUI(BibliotecaGUI.this);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Computes the number of ellipses on the grid | protected abstract int totalEllipses( int numRows, int numCols ); | [
"int getSpanCountOfGridMode();",
"public int numPieces()\n {\n int count = 0;\n for(Piece[] p : Grid)\n {\n for(Piece piece : p)\n {\n if(piece!=null)\n count++;\n }\n }\n return count;\n }",
"public int ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Redirect the user to OIDC provider logout URL | private void redirectToIdPLogout(HttpServletRequest request, HttpServletResponse response) {
try {
response.sendRedirect(StrasbourgPropsUtil.getPublikLogoutURL()
+ "?post_logout_redirect_uri=" + this.getDomainRoot(request)
+ "&state=" + URLEncoder.encode(getPr... | [
"public Result logOut() {\n customerService().logout();\n return redirectToReturnUrl();\n }",
"public void doLogout() {\r\n\t\ttry {\r\n\t\t\tdestroy();\r\n\t\t\t//Context.get_instance().set_client_id(_client_id);\r\n\t\t\t//ConnectionUtil.logout();\r\n\r\n\t\t\tExecutions.sendRedirect(\"/j_sprin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ renamed from: com.qq.e.comm.pi.GWI | public interface GWI {
GridAPPWallListener getAdListener();
void setAdListener(GridAPPWallListener gridAPPWallListener);
void setDownAPPConfirmPolicy(DownAPPConfirmPolicy downAPPConfirmPolicy);
void show();
void showRelativeTo(int i, int i2);
void showRelativeTo(View view);
} | [
"Gogirl.GiftInfoP getGift();",
"public static String calcGWIP() {\n int subnet = 100 + CodeSourceTODOs.MY_GW_NO;\n String gwIP = GW_IP_BASE + subnet;\n return gwIP;\n }",
"Report.LocationOuterClass.Wifi getWifis(int index);",
"java.util.List<Report.LocationOuterClass.Wifi> \n ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates or finds a AlertSeverity from its string representation. | @JsonCreator
public static AlertSeverity fromLong(long name) {
return fromString(String.valueOf(name), AlertSeverity.class);
} | [
"@JsonCreator\n public static SeverityEnum fromString(String name) {\n return fromString(name, SeverityEnum.class);\n }",
"private static AlarmSeverity fromEpics(int severity) {\n Severity s = Severity.forValue(severity);\n if (s == null) {\n return AlarmSeverity.UNDEFINED;\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'Schema Component Type'. | SchemaComponentType createSchemaComponentType(); | [
"SchemaType createSchemaType();",
"ComponentsType createComponentsType();",
"ComponentType createComponentType();",
"StructureType createStructureType();",
"public FeatureTypeSchema_Impl() {\r\n schema = XMLTools.create();\r\n }",
"ComponentRuleType createComponentRuleType();",
"FieldType crea... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
How long it takes to cast the spell, in ticks | public default int getCastingTime(){ return Spell.STANDARD_ACTION; } | [
"public long TotalMilliseconds() { return ticks; }",
"public long getMillisPerUnit();",
"long getElapsedMillis();",
"private long getDuration() { return System.nanoTime() - start; }",
"protected int calcTime() {\n\t\tint resultTime;\n\t\tint pace = this.getPace();\n\t\tint distance = this.getDistance();\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
int vGeneNucleotideOffset = umsVGeneStartPos 1; int startCodonNucleotideOffset = vGeneNucleotideOffset % 3; | private int nucleotideCodonStartPos(int umsVGeneStartPos)
{
int startCodonNucleotideOffset = umsVGeneStartPos % 3;
if(startCodonNucleotideOffset == 1)
{
return 0;
}
if(startCodonNucleotideOffset == 2)
{
return 2;
}
if(... | [
"int positionInCodon() { return position_in_cdna%3;}",
"int codonStart() { return this.position_in_cdna - this.positionInCodon();}",
"int pcode_5(int[] pos, int hoff, int len, boolean isZ) {\n ArrayList<Dimension> dims = new ArrayList<>();\n // int vlen =len;\n\n Dimension sDim = new Dimension(\"windB... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use BigQueryExportResult.newBuilder() to construct. | private BigQueryExportResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | [
"com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult\n .BigQueryExportResultOrBuilder\n getBigqueryExportResultOrBuilder();",
"public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult\n .BigQueryExportResult.Builder\n getBigqueryExportRes... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tell Dagger when something depend on Command Dagger should provide Hello World Command Because of Command is an interface cannot inject itself | @Binds
@IntoMap
@StringKey("hello")
abstract Command helloWorldCommand(HelloWorldCommand command); | [
"public interface Command {\n \n public void ejecutar();\n public void configureContext(Contenedor container);\n public Command parser(String comando);\n public String help();\n \n}",
"public void poisonDagger () {\n \n }",
"public interface Command extends Plugin {\n\n /**\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column tbGameNotice.authUser | public void setAuthUser(String authUser) {
this.authUser = authUser == null ? null : authUser.trim();
} | [
"public void setJdbcUser(String val)\n {\n setValue(DataSourceDobj.FLD_JDBC_USER, val);\n }",
"private static void map( ResultSet resultSet,User user ) throws SQLException {\n\t\t\n\t\tuser.setId(resultSet.getLong(\"id\"));\n\t\tuser.setEmail(resultSet.getString(\"email\"));\n\t\tuser.setPassword(res... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the 'field705' field. | public void setField705(java.lang.CharSequence value) {
this.field705 = value;
} | [
"public com.maxpoint.cascading.avro.TestExtraLarge.Builder setField705(java.lang.CharSequence value) {\n validate(fields()[705], value);\n this.field705 = value;\n fieldSetFlags()[705] = true;\n return this; \n }",
"public com.maxpoint.cascading.avro.TestExtraLarge.Builder setField704(java.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets whether to consider all children, or just those in the VISIBLE or INVISIBLE state, when measuring. Defaults to false. | @android.view.RemotableViewMethod
public void setMeasureAllChildren(boolean measureAll) {
mMeasureAllChildren = measureAll;
} | [
"@InspectableProperty\n public boolean getMeasureAllChildren() {\n return mMeasureAllChildren;\n }",
"public abstract boolean getRendersChildren();",
"protected boolean isChildrenResizeDisabled() {\n return false; // by default must resize children upon setSize() on view\n }",
"public b... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add a rule mapping to Gnostic. | boolean add(RuleMap ruleMap) throws RemoteException; | [
"public void setMappedrule(java.lang.String mappedrule) {\n this.mappedrule = mappedrule;\n }",
"public void addRule(Rule rule) {\r\n rules.add(rule);\r\n }",
"@Override\n\tpublic void addRule(Rule newRule) {\n\t\tmyRuleManager.addRule(newRule);\n\t}",
"void addGroupmapping(Groupmapping gr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets Position of Room's Column | public void setPositionColumn(int value){this.positionColumn = value;} | [
"public void setColumnPosition(int value) {\n this.columnPosition = value;\n }",
"public int getPositionColumn(){return this.positionColumn;}",
"void setColumn(Column newColumn, int pos) { columns[pos] = newColumn; }",
"public void setColMove(int col);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method draws the text column headers for each column. The format of the Column header Content is specified by the html style class 'TABLESUBHEADER'. The following class properties control how the headers are rendered. This method accesses the following TableGenerator class properties: this.wrapColumnHeaders... | @Override
public String drawContentColumnHeaders(String tid){
int t = getRowcount();
HSSFRow row = this.ws.createRow(getRowcount());
t++;
setRowcount(t);
HSSFCell cell;
int cellcount = 0;
HSSFCellStyle cellstyle;
// if(indentSections && For... | [
"private void renderHeader() {\n int ncol = this.getColumnCount();\n for (int i = 0; i < ncol; i++) {\n TableColumn tc = this.getColumnModel().getColumn(i);\n tc.setHeaderRenderer(new EDFTableHeaderRenderer());\n }\n }",
"public void setHeaders(String[] column_names){... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__EmptyExpression__Group__2__Impl" $ANTLR start "rule__EmptyExpression__Group__3" InternalDsl.g:31376:1: rule__EmptyExpression__Group__3 : rule__EmptyExpression__Group__3__Impl rule__EmptyExpression__Group__4 ; | public final void rule__EmptyExpression__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalDsl.g:31380:1: ( rule__EmptyExpression__Group__3__Impl rule__EmptyExpression__Group__4 )
// InternalDsl.g:31381:2: rule__EmptyExpressio... | [
"public final void rule__EmptyExpression__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:31392:1: ( ( '(' ) )\n // InternalDsl.g:31393:1: ( '(' )\n {\n // InternalDsl.g:31393:1: ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get nodes of the given type where the authenticated user is admin. | protected List<Long> getNodesWhereIsAdmin(Class<?> nodeEntityClass) throws UnauthorizedException {
long userId = userBean.getAuthenticatedUser();
String query = "SELECT n.id FROM %s n INNER JOIN n.admins user WHERE user.id = :userId";
Query q = em.createQuery(String.format(query, nodeEntityClass.getName()));
q.... | [
"public List<JMeterTreeNode> getNodesOfType(Class<?> type) {\n List<JMeterTreeNode> nodeList = new ArrayList<>();\n traverseAndFind(type, (JMeterTreeNode) this.getRoot(), nodeList);\n return nodeList;\n }",
"public List<Node> getNodes(NodeType type, State ... inState) {\n return db.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
notify parse chore chore was missed (parse then need to notify the roommates) This method is called after the chore status was updated to missed, | public static void notifyMissedChore(Chore chore) throws ClientProtocolException, IOException{
//get users list
ParseRestClientImpl parse = new ParseRestClientImpl();
List<Roommate> roommates = parse.getApartmentRoommates(chore.getApartment());
String title = "Chore missed";
String message = chore.getAss... | [
"private void missedCall() {\n\n NotificationCompat.Builder nBuilder = new NotificationCompat.Builder(mContext);\n\n nBuilder.setSmallIcon(android.R.drawable.stat_notify_missed_call);\n\n nBuilder.setContentTitle(name);\n\n nBuilder.setContentText(resources.getString(R.string.missed_call... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional string user_first_name = 22; | java.lang.String getUserFirstName(); | [
"public void setUserFirstName(java.lang.String userFirstName) {\r\n this.userFirstName = userFirstName;\r\n }",
"public void setUserFirstName(String userFirstName) {\n this.userFirstName = userFirstName;\n }",
"public void setUserFirstName(String userFirstName) {\r\n \r\n this.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
gets the cpu cash | public int getCPUCash(){
return this.cash;
} | [
"public void setCPUCash(int cash){\n this.cash+=cash;\r\n }",
"public int getCPUCashWon(){\n return this.cpuCashWon;\r\n }",
"double getCash();",
"int getCash();",
"public double getCurrentCash() {\r\n return currentCash;\r\n }",
"public int getWorkCredCost();",
"public Int... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the returnStatus You can use getReturnStatus() to get the value of returnStatus | public void setReturnStatus(String returnStatus) {
this.returnStatus = returnStatus;
} | [
"public void setReturnCode(int returnCode) {\r\n this.returnCode = returnCode;\r\n }",
"public void setReturnCode(Integer returnCode) {\r\n this.returnCode = returnCode;\r\n }",
"public void setReturnCode(int returnCode) {\n this.returnCode = returnCode;\n }",
"public void setRet... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check for functional column. | private Method checkForFunctionalColumn(Field field) {
Annotation annotation = field.getAnnotation(Odoo.Functional.class);
if (annotation != null) {
Odoo.Functional functional = (Functional) annotation;
String method_name = functional.method();
try {
if (functional.store())
return getClass().getMe... | [
"public boolean supportsColumnCheck();",
"public boolean supportsColumnCheck() {\n \t\treturn true;\n \t}",
"boolean isUsingColumnIndex();",
"public boolean checkColumns(){ \n for(int i = 0; i < 9; i++){ //iterates through 9 columns\n if(!checkColumn(i)){ //checks if method return... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the bundle for a given bundle name, regardless whether the bundle is resolved or not. | public Bundle getBundle(String bundleName) {
Bundle[] bundles = getBundles(bundleName, null);
if (bundles != null && bundles.length > 0)
return bundles[0];
return null;
} | [
"private ResourceBundle getBundle(String name) {\n String bundleKey = getBundleKey(name);\n if (bundles.containsKey(bundleKey)) {\n return bundles.get(bundleKey);\n } else {\n ResourceBundle bundle = loadBundle();\n bundles.put(bundleKey, bundle);\n r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleTuplePart" $ANTLR start "entryRulePrimitiveExp" InternalDOcl.g:3102:1: entryRulePrimitiveExp returns [EObject current=null] : iv_rulePrimitiveExp= rulePrimitiveExp EOF ; | public final EObject entryRulePrimitiveExp() throws RecognitionException {
EObject current = null;
EObject iv_rulePrimitiveExp = null;
try {
// InternalDOcl.g:3102:53: (iv_rulePrimitiveExp= rulePrimitiveExp EOF )
// InternalDOcl.g:3103:2: iv_rulePrimitiveExp= rulePrimi... | [
"public final void entryRulePrimitiveExp() throws RecognitionException {\n try {\n // InternalOCLlite.g:1279:1: ( rulePrimitiveExp EOF )\n // InternalOCLlite.g:1280:1: rulePrimitiveExp EOF\n {\n before(grammarAccess.getPrimitiveExpRule()); \n pushFollow... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Appends childNodes such that the ConcatNode is compact | private static void appendChildNodes(ArrayList<DataNode> compactChildNodes, ArrayList<DataNode> childNodes) {
for (DataNode childNode : childNodes)
appendChildNode(compactChildNodes, childNode);
} | [
"public static DataNode createCompactConcatNode(ArrayList<DataNode> childNodes) {\n\t\tArrayList<DataNode> compactChildNodes = new ArrayList<DataNode>();\n\t\tappendChildNodes(compactChildNodes, childNodes);\n\t\t\n\t\tif (compactChildNodes.size() == 1)\n\t\t\treturn compactChildNodes.get(0);\n\t\telse\n\t\t\tretur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
sets whether editor should warn user before autosaving | public void setWarnBeforeSave(boolean warn) {
((JPythonEditor) textPane).setWarnBeforeSave(warn);
} | [
"public void markFileAsNotSaved()\r\n {\r\n saved = false;\r\n }",
"public void markFileAsNotSaved() {\r\n saved = false;\r\n }",
"public void warning() {\n\t\tLog.i(TAG, \"SafeSpeed.warning()\");\n\t\tLog.i(TAG, \"Screen on: \" + pm.isScreenOn() + \" isOpen: \" + !settings.getBoolean(\"i... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Save couple and counters to file | private void saveCounters() {
PrintWriter writer = null;
try {
FileOutputStream fos = openFileOutput(FILE_NAME, MODE_PRIVATE);
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(
fos)));
writer.println(currentPartner1);
... | [
"private void saveInFile() {\n\t\tthis.deleteFile();\n\t\tfor (CounterModel obj : counterListModel.getCounterList()) {\n\t\t\ttry {\n\t\t\t\tGson gson = new Gson();\n\t\t\t\tif (obj.getCounterName().equals(counterModel.getCounterName())) {\n\t\t\t\t\tobj = counterModel;\n\t\t\t\t}\n\t\t\t\tString json = gson.toJson... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The getRangeOfAttack method is used to return the spell's range. | public double getRangeOfAttack ()
{
return rangeOfAttack;
} | [
"int getAttackRange();",
"public int getAttackRange(){\n\t\treturn attackRange;\n\t}",
"public int damagedRangeLimit() {\r\n return fDamagedRange[1];\r\n }",
"public int getAttackRangeLowerLimit()\n {\n return attackRangeLowerLimit;\n }",
"public void setAttackRange(int range){\n\t\ta... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test the edit class output NOTE SOME OUTPUT RELIES ON FUNCTIONING MODEL | @Test
public void editClassCommand() {
// Create output stream for executing commands
ByteArrayOutputStream bos = new ByteArrayOutputStream();
PrintStream myout = new PrintStream(bos);
// Setup console and model
UMLClassManager model = new UMLClassManager();
ConsoleView console = new ConsoleView... | [
"@Test\n public void testEdit() {\n System.out.println(\"edit\");\n Alumno alumno = null;\n \n Alumno expResult = null;\n Alumno result = instance.edit(alumno);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieve the Phone fields from a Cursor | private void setPhoneFields(Cursor cur) {
int selectedColumn;
int selectedColumnType;
int preferredColumn;
int phoneType;
String customLabel = null;
//
// Get PhonesColums fields
//
selectedColumn = cur.getColumnIndex(Phone.NUMBER);
selectedColumnType = cur.getColumnIndex(Phone.TYPE);
preferredC... | [
"public Cursor fetchAllPhoneInfo(){\n Cursor nmCursor = mDb.query(LinkEntry.TABLE_NAME_PHONE, new String[] {\n LinkEntry.PHONE_ID, LinkEntry.COLUMN_PHONE_NAME, LinkEntry.COLUMN_PHONE_PHONENUM, LinkEntry.COLUMN_PHONE_TIME\n },null, null, null, null, null);\n if(nmCursor != null){\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Install a block archive into the repository cache. | public Manifest install( URL url ) throws RepositoryException
{
String path = url.getFile();
try
{
File temp = File.createTempFile( "avalon-", "-bar" );
temp.delete();
m_loader.getResource( url.toString(), temp, true );
temp.deleteOnExit();
... | [
"private Manifest expand( URL url, StringBuffer buffer ) throws RepositoryException\n {\n try\n {\n URL jurl = new URL( \"jar:\" + url.toString() + \"!/\" );\n JarURLConnection connection = (JarURLConnection) jurl.openConnection();\n Manifest manifest = connection.g... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the value of prenom | public void setPrenom(String prenom) {
this.prenom = prenom;
} | [
"public void setPrenom (String newVar) {\n prenom = newVar;\n }",
"public String getPrenom() {\n\t\treturn prenom;\n\t}",
"public void setPnr(int value) {\r\n this.pnr = value;\r\n }",
"void set(int posn) {\n _setting = posn;\n }",
"public String getPrenom() {\r\n return prenom;\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Contract the edge of the graph and modify edges/nodes accordingly. | private static void contractEdge(UndirectedGraph graph, Edge contractEdge) {
// remove the tail nodeId of the contractEdge
int removeNodeId = contractEdge.getTailNodeId();
graph.removeNodeId(removeNodeId);
// modify edges pointing from/to the removed tail node
for (Edge edge: gr... | [
"public abstract boolean putEdge(Edge incomingEdge);",
"public void updateEdge() {\n\t}",
"public void setEdge(Edge edge) {\n this.edge = edge;\n }",
"void addEdge(E edge);",
"public void setEdge(Edge edge)\n {\n elemEdge = edge;\n }",
"boolean changeEdge (String id, String graph, J... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the value associated with the column: inspected_date | public java.util.Date getInspectedDate () {
return inspectedDate;
} | [
"public Date getInspectDate() {\n\t\treturn inspectDate;\n\t}",
"Date getDateValue();",
"public String getInspectionDate()\r\n\t{\r\n\t\t return inspectionDate;\r\n\t}",
"public void setInspectedDate (java.util.Date inspectedDate) {\n\t\tthis.inspectedDate = inspectedDate;\n\t}",
"com.google.type.Date getDa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a list of all rooms with a given RoomType | List<Room> getRooms(RoomType roomType); | [
"public List<String> getRooms() {\n List<String> roomList = new ArrayList();\n List<Room> allRooms = facade.getAllRooms();\n java.util.Date utilDate = new java.util.Date();\n java.sql.Date currentDate = new java.sql.Date(utilDate.getTime());\n List<Integer> availableSingleRooms = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
private Integer mColors[]; private int mElementIndex; | IndexedColor() {
//resetElementIndex();
mCurrent = 0;
mTotalLoaded = 0;
} | [
"public int[] getColorIndexes()\n {\n return this.colorIndexes;\n }",
"public int[] getColorIndices();",
"public Color[] getColors();",
"@Override\n protected Color[] _getColors()\n {\n return colors;\n }",
"Integer getColorIndex();",
"public abstract int getColor(int index);"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of actionPerformed method, of class YakalamaPenceresi. | public void testActionPerformed() {
System.out.println("actionPerformed");
ActionEvent evt = null;
YakalamaPenceresi instance = null;
instance.actionPerformed(evt);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a protot... | [
"public void actionPerformed(ActionEvent e) {\n\t \t \t\tcheckCorrect();\n\t \t}",
"private void aramaActionPerformed(java.awt.event.ActionEvent evt) {\n }",
"private void biayaActionPerformed(java.awt.event.ActionEvent evt) {\n \n }",
"@Test\r\n public void testActionPerformed() {\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Remove all the routes. | public synchronized void removeAllRoutes()
{
if (routes == null) return ;
for (int i = 0;i < routes.length;i++)
{
routes[i] = null;
}
nRoutes = 0;
} | [
"public static void clear() {\n\t\trouteTo.remove();\n\t}",
"public void setRouteClear();",
"@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (BusRoute busRoute : findAll()) {\n\t\t\tremove(busRoute);\n\t\t}\n\t}",
"@Override\n public void onDetach() {\n super.onDetach();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return true if connection has been simply aborted on a tcp level by verifying if the given inbound error. | public static boolean isConnectionReset(Throwable err) {
return (err instanceof AbortedException && CONNECTION_CLOSED_BEFORE_SEND.equals(err.getMessage())) ||
(err instanceof IOException && (err.getMessage() == null ||
err.getMessage()
... | [
"boolean isError(int statusCode);",
"int tcpclient_error(urg_tcpclient_t cli, ByteBuffer error_message, int max_size);",
"protected static boolean inErrorStatus() {\n synchronized (lock) {\n return errorStatus;\n }\n }",
"public boolean isAbortable();",
"boolean hasGotError() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/============= Brute Force ============= / bruteForceMin() updates Class Variables for the minimum cost and its associated path. The reason for this design choice was because the amount of parameters to be passed to bruteForceStep() was already at the high number of 5. I felt that increasing this to 7 would just decrea... | public static void bruteForceMin(List<List<Integer>> costArray) {
int numTradingPosts = costArray.size();
int startingPoint = 0;
//For every trading post, rent a canoe from the starting point and travel to it.
//Then, recursively check all remaining paths that can be derived following that first rental.... | [
"public double solveBruteForce()\r\n\t{\r\n\t\tint total = points.length;\r\n\t\tdouble distanceSq = Double.MAX_VALUE;\r\n\t\t\r\n\t\t\r\n\t\tfor (int i = 0; i < total - 1; i++)\r\n\t\t\tfor (int j = i + 1; j < total; j++)\r\n\t\t\t\tdistanceSq = Math.min(distanceSq, points[j].distance(points[i]));\r\n\t\t\r\n\t\t/... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deletes all recorded data files. | public void clear() {
recordedFiles.forEach(RecordedFile::delete);
recordedFiles.clear();
crashRecordedFiles.clear();
} | [
"@Override\n public void clearAll() {\n File target = new File(\"saves/users\");\n if (!target.exists()) return;\n File[] files = target.listFiles();\n for (File file: files) {\n file.delete();\n }\n }",
"private void clearFiles() {\n File file = new File... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sends the donation of a letter to AmbientTalk. | public void sendDonateLetter(final String receiver, final String letter); | [
"void requestDonation(final String player, final String letter);",
"public void sendRefuseToDonateLetter(final String receiver, final String letter);",
"void notifyDonationAccepted(final String letter, final String donator);",
"ITalk getLetterTalk(LetterDate date, LetterText text, Username sender, Username re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get method for struct member 'hair_subdiv'. | public short getHair_subdiv() throws IOException
{
if ((__io__pointersize == 8)) {
return __io__block.readShort(__io__address + 3918);
} else {
return __io__block.readShort(__io__address + 3874);
}
} | [
"int getHair();",
"public void setHair_subdiv(short hair_subdiv) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeShort(__io__address + 3918, hair_subdiv);\n\t\t} else {\n\t\t\t__io__block.writeShort(__io__address + 3874, hair_subdiv);\n\t\t}\n\t}",
"public DensityFunction ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'field156' field has been set | public boolean hasField156() {
return fieldSetFlags()[156];
} | [
"public boolean hasField145() {\n return fieldSetFlags()[145];\n }",
"public boolean hasField158() {\n return fieldSetFlags()[158];\n }",
"public boolean hasField159() {\n return fieldSetFlags()[159];\n }",
"public boolean hasField148() {\n return fieldSetFlags()[148];\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the result of interpreting the object as an instance of 'Boundary Surface Property Type'. This implementation returns null; returning a nonnull result will terminate the switch. | public T caseBoundarySurfacePropertyType(BoundarySurfacePropertyType object) {
return null;
} | [
"public T caseAbstractBoundarySurfaceType(AbstractBoundarySurfaceType object) {\n\t\treturn null;\n\t}",
"public T caseGroundSurfaceType(GroundSurfaceType object) {\n\t\treturn null;\n\t}",
"public T caseFloorSurfaceType(FloorSurfaceType object) {\n\t\treturn null;\n\t}",
"public T caseWallSurfaceType(WallSur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Customer searches for the current balance of their account | public double searchBalance(int accountId) throws BusinessException; | [
"Money getBalance(String accountRef) throws AccountNotFoundException;",
"public Amount getCurrentBalance() { return balance; }",
"public double getBankAccountBalance() {\r\n\t\t\r\n\t\tdouble balance = 0.0;\r\n\t\t\r\n\t\t\t\tif( customerBankAccountList.contains(this.getCustomer() ) ) \r\n\t\t\t\t{\t\r\n\t\t\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructs a GeoPoint with the given longitude and latitude | public GeoPoint(double longitude, double latitude) {
Preconditions
.checkArgument(longitude >= -Math.PI && longitude <= Math.PI);
Preconditions.checkArgument(
latitude >= (-Math.PI / 2d) && latitude <= Math.PI / 2d);
this.longitude = longitude;
this.latitu... | [
"public GeoPoint(double lat, double lon){\n this(lat, lon, -1d);\n }",
"public static GeoPoint create(double latitude, double longitude) {\n return new GeoPoint().setCoordinates(Arrays.asList(longitude, latitude));\n }",
"private GeoPoint createNewGeoPoint(Location location) {\n\t\tdouble la... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Update an alert with the matching UUID | boolean updateAlert(Alert alert) throws SQLException; | [
"public void setAlertId(Long alertId);",
"public TypeAlert update(TypeAlert updated) throws EntityNotFoundException;",
"@PUT\n @UnitOfWork\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n @ApiOperation(\"Update an existing alert subscription\")\n @Path(Constants.A... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
we will use fileOutputId as the Id to locate the metadata file. | public MetadataFileUtil(String fileOutputId, String outputDir) {
metadataFileId = fileOutputId;
metadataFileDir = outputDir;
} | [
"private static File getAssetInfoFile(MD5Key id) {\n \t\treturn new File(cacheDir.getAbsolutePath() + File.separator + id + \".info\");\n \t}",
"private void doGetMetadata(Request request, Response response) {\n String idString = getParameter(request, JOB_ID_PARAMETER);\n // TODO in which case will ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Selection__InputsAssignment_4" $ANTLR start "rule__Selection__InputsAssignment_5_1" ../org.iobserve.rac.constraint.ui/srcgen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:4618:1: rule__Selection__InputsAssignment_5_1 : ( ruleSelectInput ) ; | public final void rule__Selection__InputsAssignment_5_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:4622:1: ( ( ruleSel... | [
"public final void rule__Selection__InputsAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:4607:1: (... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Access method for the number positive class label. | public int posClassLabel() {
return posClassLabel;
} | [
"public JLabel getNumeroLabel() {\r\n\t\treturn numeroLabel;\r\n\t}",
"public int getClassLabel() {\n\t\treturn classLabel;\n\t}",
"public T addNumericLabel(String name) {\n labels.add(new Feature(name, true));\n return self();\n }",
"double getLabelX();",
"public String label()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__QEmptyArrayProperty__Group__1__Impl" $ANTLR start "rule__QEmptyArrayProperty__Group__2" ../org.iworkz.qon.ui/srcgen/org/iworkz/qon/ui/contentassist/antlr/internal/InternalQonDsl.g:3595:1: rule__QEmptyArrayProperty__Group__2 : rule__QEmptyArrayProperty__Group__2__Impl rule__QEmptyArrayProperty__Group__... | public final void rule__QEmptyArrayProperty__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.iworkz.qon.ui/src-gen/org/iworkz/qon/ui/contentassist/antlr/internal/InternalQonDsl.g:3599:1: ( rule__QEmptyArrayProperty__Group__2__Impl rul... | [
"public final void rule__QEmptyArrayProperty__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.iworkz.qon.ui/src-gen/org/iworkz/qon/ui/contentassist/antlr/internal/InternalQonDsl.g:3568:1: ( rule__QEmptyArrayProperty__Group_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/////////////// 1st read: set degreeData, and calculate the largest label and the number of labels | public void readDataGraph(string aFileName){
try{
File queryFile = new File(aFileName);
FileReader reader = new FileReader(queryFile);
BufferedReader inFile = new BufferedReader(reader);
}catch(exception e){System.out.println("Exception raised in readDataGraph");}
... | [
"public void readDataGraph(string aFileName){\n\n\t\ttry{\n\t\t\tFile queryFile = new File(aFileName);\n\t\t\tFileReader reader = new FileReader(queryFile);\n\t\t\tBufferedReader inFile = new BufferedReader(reader);\n\t\t}catch(exception e){System.out.println(\"Exception raised in readDataGraph\");}\n\n\t\t//ifstre... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__MulExpr__OpAlternatives_1_1_0" $ANTLR start "rule__SimpleExpr__Alternatives" InternalMGPL.g:1027:1: rule__SimpleExpr__Alternatives : ( ( ruleUnaryExpr ) | ( ruleNumberExpr ) | ( ( rule__SimpleExpr__Group_2__0 ) ) | ( ( rule__SimpleExpr__Group_3__0 ) ) ); | public final void rule__SimpleExpr__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMGPL.g:1031:1: ( ( ruleUnaryExpr ) | ( ruleNumberExpr ) | ( ( rule__SimpleExpr__Group_2__0 ) ) | ( ( rule__SimpleExpr__Group_3__0 ) ) )
... | [
"public final void ruleSimpleExpr() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:717:2: ( ( ( rule__SimpleExpr__Alternatives ) ) )\n // InternalMGPL.g:718:2: ( ( rule__SimpleExpr__Alternatives ) )\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Metodo devolver Usuario. Este metodo nos sirve para retornar al usuario en este caso le estamos usando para los datos de l tabla de entrada en la interfaz. | public Usuario devolverUsuario() {
return usuario;
} | [
"public Usuario getUser(String idUser) throws ExceptionUsers;",
"public java.lang.String getUsuario();",
"public Usuario getUsuario(String username);",
"public void buscarUsuario() {\n\n //se pide el identificador del correo o cedula\n String id = vistaU.pedirIdentificador();\n\n //recibi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates an output thread that will asynchronously output utterances that are generated by this voice (and other voices). | public static OutputQueue createOutputThread() {
final OutputQueue queue = new OutputQueue();
Thread t = new Thread() {
public void run() {
Utterance utterance = null;
do {
utterance = queue.pend();
if (utterance != null) {
Voice voice = utterance.getVoice();
voice.log("OUT: " + utterance.... | [
"public void run() {\n\t\t\t Publisher<std_msgs.String> publisher = ROSControl.getPublisher(rosTopic);\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tint maxSentenceLength = 90; // in terms of the number of characters\n\t\t\t\t\tint timer = 0;\n\t\t\t\t\tint maxWaitingTime = 100; // 100 x sleep(100) = 10 seconds\n\t\t\t\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Caches the gdf tender sub fpp reg detailses in the entity cache if it is enabled. | public static void cacheResult(
List<GDFTenderSubFPPRegDetails> gdfTenderSubFPPRegDetailses) {
getPersistence().cacheResult(gdfTenderSubFPPRegDetailses);
} | [
"public static void cacheResult(\n\t\tGDFTenderSubFPPRegDetails gdfTenderSubFPPRegDetails) {\n\n\t\tgetPersistence().cacheResult(gdfTenderSubFPPRegDetails);\n\t}",
"public void cacheResult(GDFTenderSubSchedDetails gdfTenderSubSchedDetails);",
"private void resetTGCCache() {\n if (schemaGraph != null) {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets an instance of type Dinghy with the given name. Does not modify the underlying ontology. | public Dinghy getDinghy(String name) {
return delegate.getWrappedIndividual(name, Vocabulary.CLASS_DINGHY, DefaultDinghy.class);
} | [
"public Dinghy createDinghy(String name) {\n\t\treturn delegate.createWrappedIndividual(name, Vocabulary.CLASS_DINGHY, DefaultDinghy.class);\n }",
"public Dragon getDragon(String name) {\n\t\treturn delegate.getWrappedIndividual(name, Vocabulary.CLASS_DRAGON, DefaultDragon.class);\n }",
"OWLNamedClass get... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates new form myprofilePage | public myprofilePage() {
initComponents();
// fill in some info from the back end
usernameField.setText(backEnd.get_username());
majorField.setText(backEnd.get_major());
yearField.setText(backEnd.get_year());
genderField.setText(backEnd.get_gender());
tor... | [
"public CreateProfile() {\n initComponents();\n }",
"public void newProfile(View view) {\n newProfile.setClickable(false);\n Intent intent = new Intent(ProfilesActivity.this, CreateProfileActivity.class);\n startActivity(intent);\n finish();\n }",
"private void addNewPro... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets (as xml) the "foundingDate" element | org.apache.xmlbeans.XmlString xgetFoundingDate(); | [
"java.lang.String getFoundingDate();",
"org.apache.xmlbeans.XmlString xgetArrivedondate();",
"void xsetFoundingDate(org.apache.xmlbeans.XmlString foundingDate);",
"org.apache.xmlbeans.XmlString xgetIssuingDate();",
"org.apache.xmlbeans.XmlString xgetDate();",
"org.apache.xmlbeans.XmlString xgetDateOfClaim... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Starts the robot by starting the RobotThread if it has not already been started. | public void startup() {
if (thread != null) {
Log.i(TAG, "Robot already started ...");
return;
}
thread = new RobotThread(robotFace, kubiManager);
thread.start();
if(App.InWizardMode()) {
responses.Listen();
lessons.Listen();
... | [
"public void startRobot() {\r\n (new Thread(_robot)).start();\r\n }",
"public final void init() {\t\n\t\tmyRobotThread = new Thread(this);\n\t\tmyRobotThread.setDaemon(true);\n\t\tmyRobotThread.start();\n\t}",
"synchronized public void start() {\n\t\tstatus = GO; // Indicates that the applet is runnin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of setNombres method, of class Usuario. | @Test
public void testSetNombres() {
System.out.println("setNombres");
String nombres = "";
Usuario instance = new Usuario();
instance.setNombres(nombres);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype."... | [
"@Test\n public void testBoardSetsNBombs() {\n Board board = new Board();\n // assumes implementation where bombcount reflects hardcoded desired number of bombs\n int numBombsThatShouldBeSet = Board.bombCount;\n\n int numBombs = 0;\n for (int i = 0; i < board.width; i++) {\n for (int j = 0; j <... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleOpUnary" $ANTLR start "entryRuleXCastedExpression" ../org.xtext.mongobeans.ui/srcgen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:823:1: entryRuleXCastedExpression : ruleXCastedExpression EOF ; | public final void entryRuleXCastedExpression() throws RecognitionException {
try {
// ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:824:1: ( ruleXCastedExpression EOF )
// ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobea... | [
"public final void rule__XUnaryOperation__OperandAssignment_0_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../com.avaloq.tools.dslsdk.check.ui/src-gen/com/avaloq/tools/dslsdk/check/ui/contentassist/antlr/internal/InternalChe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes random nodes in order to have a set of maxSize size. | private HashSet<Integer> removeNodesFromSet(HashSet<Integer> set, int maxSize) {
ArrayList<Integer> list = new ArrayList<Integer>(set);
// Keep removing nodes while the set is too big.
while (list.size() > maxSize) {
list.remove(random.nextInt(list.size()));
}
return new HashSet<Integer>(list);
} | [
"public void removeRandomLimitedDepth(){\n Node[] nodes = getRandomNonterminalNode(true); //limited depth so suppress trunc's destructiveness.\n if (nodes == null)\n return;\n \n // Generate random DecisionNode to replace\n DecisionNode replacementNode = DecisionNode.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets a Pager of group members viewable by the authenticated user, including inherited members through ancestor groups. Returns multiple times the same user (with different member attributes) when the user is a member of the group and of one or more ancestor group. GitLab Endpoint: GET /groups/:id/members/all | public Pager<Member> getAllMembers(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException {
return (getAllMembers(groupIdOrPath, null, null, itemsPerPage));
} | [
"public Pager<Member> getMembers(Object groupIdOrPath, int itemsPerPage) throws GitLabApiException {\n return (new Pager<Member>(this, Member.class, itemsPerPage, null, \"groups\", getGroupIdOrPath(groupIdOrPath), \"members\"));\n }",
"public Stream<Member> getMembersStream(Object groupIdOrPath) throws ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
backButtonMouseClicked returns to Main Menu. | private void backButtonMouseClicked(java.awt.event.MouseEvent evt) {
MainMenu mm = new MainMenu();
mm.setLocationRelativeTo( this );
mm.setVisible(true);
this.setVisible(false);
this.dispose();
} | [
"public void backPressed()\n {\n gameLogic().getSettings().saveSettings();\n getMenuLayer().switchMenu(new MainMenu(rp));\n }",
"private void backButtonAction() {\n CurrentUI.changeScene(SceneNames.HOMEPAGE);\n }",
"public void clickBackButton() {\n\t\tbackButton.click();\n\t\tlog.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Expert: gets an execution hint to the aggregation. | public String executionHint() {
return executionHint;
} | [
"public TermsAggregationBuilder executionHint(String executionHint) {\n this.executionHint = executionHint;\n return this;\n }",
"Execution getExecution();",
"cn.infinivision.dataforce.busybee.pb.meta.Execution getExecution();",
"public String getHint() {\n\t\treturn hint;\n\t}",
"public St... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
add code to verify going into an existing note those fields are disabled | public void verifyNoteTypeandTaskareDisabled() throws Exception {
} | [
"private void validadeFields() {\n\t\tboolean enabled = textDescription.getText().trim().length() > 0 &&\n\t\ttextExpectedResults.getText().trim().length() > 0;\n\t\tgetOkayButton().setEnabled(enabled);\n\t}",
"private void enableAdd(){\n addSubmit.setDisable(false);\n removeSubmit.setDisable(true);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the street id. | public void setStreetId(final String streetId)
{
this.streetId = streetId;
} | [
"public void setStreetId(Long streetId) {\n this.streetId = streetId;\n }",
"public void setIdStreetType(int value) {\n this.idStreetType = value;\n }",
"public void setStreetNo(int value) {\n this.streetNo = value;\n }",
"void setStreet(au.gov.asic.types.StreetType street);",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
DelegationRewards queries the total rewards accrued by a delegation. | public void delegationRewards(cosmos.distribution.v1beta1.QueryOuterClass.QueryDelegationRewardsRequest request,
io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.QueryOuterClass.QueryDelegationRewardsResponse> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getDelegationRewardsMe... | [
"public cosmos.distribution.v1beta1.QueryOuterClass.QueryDelegationRewardsResponse delegationRewards(cosmos.distribution.v1beta1.QueryOuterClass.QueryDelegationRewardsRequest request) {\n return blockingUnaryCall(\n getChannel(), getDelegationRewardsMethod(), getCallOptions(), request);\n }",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This menu is used to select options for exporting by role | public void ExportByRoleMenu() {
calendar.updateRoles();
dateValue = "";
roleIndex = -1;
alert.setText("");
textArea.clear();
// creatinig the gird pane
GridPane gridPane = new GridPane();
gridPane.setAlignment(Pos.CENTER);
gridPane.setHga... | [
"public void ExportCalendarMenu() {\r\n calendar.updateRoles();\r\n textArea.clear();\r\n\r\n /**\r\n * used to export the calendar by role. Redirects to the export by role\r\n * menu\r\n */\r\n Button byRole = new Button(\"By Role\");\r\n byRole.setOnActio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.swisschain.sirius.vaultApi.transferValidationRequests.DestinationAddress destination_address = 7; | io.swisschain.sirius.vaultApi.generated.transferValidationRequests.TransferValidationRequestsOuterClass.DestinationAddress getDestinationAddress(); | [
"io.swisschain.sirius.vaultApi.generated.transferValidationRequests.TransferValidationRequestsOuterClass.SourceAddress getSourceAddress();",
"io.swisschain.sirius.vaultApi.generated.transferValidationRequests.TransferValidationRequestsOuterClass.DestinationAddressOrBuilder getDestinationAddressOrBuilder();",
"i... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |