query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
type=SystemSettings.STROKE_CURVE; type=SystemSettings.STROKE_CIRCLE; type= SystemSettings.STROKE_LINE; | private void init() {
type = SystemSettings.STROKE_ELLIPSE2;
// type=SystemSettings.STROKE_LINE;
// type= SystemSettings.STROKE_ELLIPSE;
eTolerance = 1e5;
dmax = 0;
} | [
"public void setStroke(Stroke trazo){ \r\n this.stroke = trazo; \r\n }",
"public void set_as_bezier() {\n surface_type = 1;\n }",
"public void setStroke(Stroke stroke);",
"Stroke createStroke();",
"public interface SeriesLines {\n\n public BasicStroke[] getSeriesLines();\n\n public stati... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
here we get notified by the PictureInfo object that something has changed. | @Override
public void pictureInfoChangeEvent(PictureInfoChangeEvent e) {
if (e.getDescriptionChanged()) {
descriptionJTextArea.setText(pictureInfo.getDescription());
}
if (e.getHighresLocationChanged()) {
highresLocationJTextField.setText(pictu... | [
"@Override\r\n\tpublic void pictureUpdated() {\r\n\t\tif(mDialog != null)\r\n\t\t\tmDialog.loadPicture();\r\n\t\t\r\n\t}",
"public interface PictureGeneratedListener {\n void onPictureGenerated(Bitmap bitmap);\n }",
"void notifyFrameUpdated();",
"private void updatePicture() {\n \tif (!picture.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the text string of the resource with the given path. | protected String getText(String path) throws IOException {
return IOUtils.toString(getClass().getResourceAsStream(path));
} | [
"public String loadResourceAsString(String path) throws IOException;",
"protected String getBundleText (String path) {\n // FIXME - This will break in HTML5 due to deferred asset loading.\n try {\n return PlayN.assets().getTextSync(path);\n } catch (Throwable t) {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
//GENEND:initComponents creates rule page from button click | private void rulesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rulesActionPerformed
// TODO add your handling code here:
} | [
"public void onRulesClicked() \n\t{\n\t\tnew RulesFrame();\n\t}",
"public void setRulesBtnClicked(){\n pe.getStaticBoard().getNextGeneration().\n decodeRuleset(born.getText(), survives.getText());\n \n pe.draw();\n }",
"@Override\n public void onRulesButtonClick() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column order_company_journal.pay_type | public Integer getPayType() {
return payType;
} | [
"public String getPayType() {\n return payType;\n }",
"public String getPayType() {\n\t\treturn payType;\n\t}",
"public void queryByPaymentType(String payType) {\n\t\tPAYMENT_TYPE = payType;\n\t}",
"public String getPayTypeCd() {\n return payTypeCd;\n }",
"public String getLBR_Transactio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds a Template to the library. | public boolean addTemplate(Template template) {
if (!doesTemplateExist(template)) {
return library.add(template);
}
return false;
} | [
"void addTemplate(String key, Template template);",
"public void addTemplate(PodTemplate t) {\n this.templates.add(t);\n // t.parent = this;\n }",
"public static void addTemplate(final ITemplate t) {\n\t\ttry {\n\t\t\tStorageService.addTemplate(t);\n\t\t} catch (final StorageServiceException e)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Inserts macrons into special verba which follow a pattern E.g. 1 conj verbs have long a in 3rd and 4th pp | public void specialMacs(Verbum w){
int cd = w.cd;
int variant = w.variant;
int i = 0;
int index = 0;
if(w.pos.equals("V")){
//3rd conjugation have long vowel if the 1st pp stem and 3rd pp stem are one syllable
if(cd==3 && countSyllables(w.form2)<2 && countSyllables(w.form3)<2){
do {
... | [
"private String addPatternSpaces(byte[] hint) {\n\t\tString hintStr = new String(hint);\n\t\t\n\t\t// Replace all characters, except for the last one\n\t\t// with the character itself followed by a whitespace\n\t\treturn hintStr.replaceAll(\".(?=.)\", \"$0 \");\n\t}",
"public static void LetterPattern(){\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__ECapabilityType__Group__1__Impl" $ANTLR start "rule__ECapabilityType__Group__2" InternalAADMParser.g:7498:1: rule__ECapabilityType__Group__2 : rule__ECapabilityType__Group__2__Impl rule__ECapabilityType__Group__3 ; | public final void rule__ECapabilityType__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalAADMParser.g:7502:1: ( rule__ECapabilityType__Group__2__Impl rule__ECapabilityType__Group__3 )
// InternalAADMParser.g:7503:2: rule__EC... | [
"public final void rule__ECapabilityType__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:7475:1: ( rule__ECapabilityType__Group__1__Impl rule__ECapabilityType__Group__2 )\n // InternalAADMParser.g:74... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__RelationDom__Group__4__Impl" $ANTLR start "rule__RelationDom__Group__5" InternalMyDsl.g:3774:1: rule__RelationDom__Group__5 : rule__RelationDom__Group__5__Impl rule__RelationDom__Group__6 ; | public final void rule__RelationDom__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMyDsl.g:3778:1: ( rule__RelationDom__Group__5__Impl rule__RelationDom__Group__6 )
// InternalMyDsl.g:3779:2: rule__RelationDom__Group__5__I... | [
"public final void rule__RelationDom__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3751:1: ( rule__RelationDom__Group__4__Impl rule__RelationDom__Group__5 )\n // InternalMyDsl.g:3752:2: rule__RelationDo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
all methods are static so prohibit instantiation Gets the nth Laguerre polynomial. If the polynomial has already been calculated it is returned from the list. Uses the recurrence relationship to construct new polynomials based on lower order polynomials. | public static synchronized Polynomial getPolynomial(int n) {
if(n<0) {
throw new IllegalArgumentException(Messages.getString("Laguerre.neg_degree")); //$NON-NLS-1$
}
if(n<laguerreList.size()) {
return laguerreList.get(n);
}
Polynomial pk = new Polynomial(new double[] {(2.0*n-1.0)/n, -1.0... | [
"public static ArrayList<BiFunction<Double[], Double[], Double>> lagrangeCoefficientPolynomials(int n) {\n\t\tArrayList<BiFunction<Double[], Double[], Double>> coefficientPolynomials = new ArrayList<>(n);\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\t/* f is the kth Lagrange coefficient polynomial and is\n\t\t\t * defi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a criteria to make a request on the table mapped with the received class | public Criteria createCriteria(Class<?> clazz){
return new Criteria(this, db, clazz);
} | [
"public Criteria createCriteria(Class clazz) throws OtmException;",
"public Criteria createCriteria(Class persistentClass);",
"public Criteria createCriteria(Class persistentClass, String alias);",
"protected Criteria crearCriteria() {\n logger.debug(\"Criteria creado\");\n return getSesion().cr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
constructor for Sprinter class referencing to Athlete Class | public Sprinter(String sprinterID, String sprinterName, int sprinterAge, String sprinterState, String athleteType) {
super(sprinterID, sprinterName, sprinterAge, sprinterState, athleteType);
this.sprinterID = sprinterID;
this.sprinterName = sprinterName;
this.sprinterAge = sprinterAge;
this.sprinterState... | [
"public Billete() {\n\t\t\n\t}",
"public Printer() {\n }",
"public Printer(){ }",
"public static void main(String[] args) {\n\nAthlete athlete1 = new Athlete(name, speed);\nAthlete athlete2 = new Athlete(name, speed);\n\nSystem.out.println(\"This athlete is \" + name , \"and runs at \" + speed);\n}",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
method uses a random generator to generate s amounts of random variables and searches for that variable with binary search | public static double binSearchT(int s, Integer[] a){
Random rand = new Random();
int searchVar;
Stopwatch timer = new Stopwatch();
Arrays.sort(a);
for (int i = 0; i < s; i++){
searchVar = (int)(rand.nextDouble()*a.length);
Arrays.binarySearch(a, searchVar)... | [
"private void testSearch(final Random random, final int size) {\n final List<Integer> data = generateUniqueValues(random, size);\n\n // Search for each value in the data\n for (int expectedIndex = 0; expectedIndex < data.size(); expectedIndex++) {\n\n // Choose random start/end posit... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the year from the file location. Mostly looks at the parent directory to grab the year if it matches the year regex | public String getYearFromFile(File file) {
// check to see if we're in a multi disk album
if (file.getPath().matches(FILENAME_MULTIPLE_CD_FILEPATH)) {
file = file.getParentFile();
}
// grab the year from the parent file
// this regex covers both [1234] Artist - Album... | [
"java.lang.String getYear();",
"public String getFileYear() {\n return fileYear;\n }",
"private String getYear(String date) {\n\t\tString[] values = date.split(\"\\\\.\");\n\t\treturn values[2];\n\t}",
"public static int getYear(){\r\n\t\tint val = read(year);\r\n\t\treturn (val & 0xF) + ((val >> 4)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for f_AnchorListItem67 called 1 times. Type: DEFAULT. Build precedence: 9. | private org.gwtbootstrap3.client.ui.AnchorListItem get_f_AnchorListItem67() {
return build_f_AnchorListItem67();
} | [
"private org.gwtbootstrap3.client.ui.AnchorListItem get_f_AnchorListItem68() {\n return build_f_AnchorListItem68();\n }",
"private org.gwtbootstrap3.client.ui.AnchorListItem get_f_AnchorListItem61() {\n return build_f_AnchorListItem61();\n }",
"private org.gwtbootstrap3.client.ui.AnchorListItem ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The broker node info. | public BrokerNodeInfo getBrokerNodeInfo() {
return this.brokerNodeInfo;
} | [
"public com.google.protobuf.ByteString\n getNodeinfoBytes() {\n java.lang.Object ref = nodeinfo_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n no... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Interface for classes which change the spaces substitution setting. | public interface InsertSpacesSetter {
/**
* Sets whether typing tab in the editor should substitute the tab
* character with a string of space characters. The number of spaces
* inserted is controlled by the tab width setting.
* @param substitute True if tabs should be substituted with spaces.
*/
public v... | [
"void setSpace(String name);",
"public void setVspace(String newVspace) {\r\n _vspace = newVspace;\r\n}",
"public void setHspace(String hspace) {\r\n _hspace = hspace;\r\n}",
"public void setSpace(final int newSpace) {\n this.space = newSpace;\n }",
"void setSpacing( int spacing... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Displays the "favorite" state of the stock and adds an OnClickListener to the button in order to toggle the state of the isFavorite field. | private void displayFavoriteButton(@NotNull StockViewHolder holder, @NotNull Stock stock) {
if (stock.getIsFavorite()) {
holder.favoriteButton.setImageResource(R.drawable.ic_stock_favorite);
} else {
holder.favoriteButton.setImageResource(R.drawable.ic_stock_not_favorite);
... | [
"public void onFavoriteButtonClick(View v) {\n if (showAllStocks) {\n setStockButtonsClickable(false);\n progressBar.setVisibility(View.INVISIBLE);\n showAllStocks = false;\n changeItemHighlight(findViewById(R.id.favouriteStocksButton),\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
if depth<maxDepth, call this method for each child for each child get children sum and if their sum<child weight use their sum | protected long getChildSum(int minDepth, int depth, long start) {
if (depth > minDepth) {
long sum = 0;
int blockSize = 1 << gran;
long itemShift = start << gran;
// assumes that gran is an exact multiple of the bit dept
for (int i = 0; i < blockSize; ... | [
"private double getChildrenTotalAlternativeWeight() {\n double totalWeight = 0.0;\n for (DependencyDescription child : this.getChildren()) {\n totalWeight += child.getAlternativeProbability();\n }\n return totalWeight;\n }",
"public int getTotalWeight() {\n\t\tif (_cached... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for the Bundle creation Timestamp for this Bundle | public DTNBundleTimestamp creation_ts() {
return creation_ts_;
} | [
"public String getCreationTimestamp() {\n return jsonContent.path(META_KEY).path(META_CREATION_TIMESTAMP_KEY).asText(null);\n }",
"@java.lang.Override\n public java.lang.String getCreationTimestamp() {\n java.lang.Object ref = creationTimestamp_;\n if (ref instanceof java.lang.String) {\n re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
POST /mplywoodgrades : Create a new mPlywoodGrade. | @PostMapping("/m-plywood-grades")
@Timed
public ResponseEntity<MPlywoodGrade> createMPlywoodGrade(@Valid @RequestBody MPlywoodGrade mPlywoodGrade) throws URISyntaxException {
log.debug("REST request to save MPlywoodGrade : {}", mPlywoodGrade);
if (mPlywoodGrade.getId() != null) {
thr... | [
"@Override\r\n\tpublic ResponseEntity<?> postNewGrade(GradeEntity geBody) {\r\n\t\ttry {\r\n\t\t\tGradeEntity grade=new GradeEntity();\r\n\r\n\t\t\tgrade.setGradeName(geBody.getGradeName());\r\n\t\t\tgrade.setGradeValue(geBody.getGradeValue());\r\n\t\t\r\n\t\t\tgradeRep.save(grade);\r\n\t\t\treturn new ResponseEnti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Defines a new beanstalk | public void setBeanstalk(String newValue); | [
"LoadBalancer.DefinitionStages.Blank define(String name);",
"@Bean\n @Scope(\"prototype\")\n //each Bean has a name through which you can call it, standard is same name as the method\n //so method \"broom()\" will make sure that the Bean is also called \"broom\"\n // can give a different name by addin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor for class ServiceEvent | protected ServiceEvent(ServiceEvent event) {
eventSenderClass=event.eventSenderClass;
eventSenderID=event.eventSenderID;
} | [
"public ServiceEvent() {\n // eventSenderID and eventSenderClass are initialized by the OperatingSystem! \n }",
"public Event() {\r\n\r\n\t}",
"public StoredServiceEventsRecord() {\n super(StoredServiceEvents.STORED_SERVICE_EVENTS);\n }",
"public EventRequest() {}",
"public EventObject()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Company__Group__14__Impl" $ANTLR start "rule__Company__Group__15" InternalMyDsl.g:1301:1: rule__Company__Group__15 : rule__Company__Group__15__Impl rule__Company__Group__16 ; | public final void rule__Company__Group__15() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMyDsl.g:1305:1: ( rule__Company__Group__15__Impl rule__Company__Group__16 )
// InternalMyDsl.g:1306:2: rule__Company__Group__15__Impl rule__Co... | [
"public final void rule__Company__Group__14() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1278:1: ( rule__Company__Group__14__Impl rule__Company__Group__15 )\n // InternalMyDsl.g:1279:2: rule__Company__Group__14_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This interface is used in order to implement items that are able to be switched. | public interface Switchable {
public void Switched();
} | [
"public interface Switchable {\n\n /**\n * This method connects device to energy network, and change flag (to true) responsible for the condition of the network device.\n */\n public void switchOn();\n\n /**\n * This method disconnects device from energy network, and change flag (to false) resp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Lista los roles que se encuentran en estado activo | @Override
public List<Rol> listarRoles() {
Query query = manager.createQuery("SELECT entidad FROM Rol entidad WHERE entidad.estado=:x ORDER BY entidad.id DESC");
query.setParameter("x", true);
return query.getResultList();
} | [
"public List<Role> getAllRoles();",
"Role getRoles();",
"public List<SecRole> getAllRoles();",
"public Set<String> getCurrentRoles();",
"List<RoleEntity> getSystemRoles();",
"public RolesList() {\n em = Session.emf.createEntityManager();\n em.getTransaction().begin();\n initComponents... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Import__Group__2__Impl" $ANTLR start "rule__QualifiedName__Group__0" ../org.caltoopia.frontend.ui/srcgen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4154:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; | public final void rule__QualifiedName__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4158:1: ( rule__QualifiedName__Group__0__Impl ru... | [
"public final void rule__QualifiedName__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14997:1: ( rule__QualifiedN... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column TB_SITE_SR_SITE_TEMP.SR_SEQ | public String getSR_SEQ() {
return SR_SEQ;
} | [
"public Long getSEQ_NBR() {\n return SEQ_NBR;\n }",
"public Integer getNextSeqNo() {\r\n\t\tInteger retSeqNo = 0;\r\n\r\n\t\tString queryString = \"SELECT ALS.ALS_SABHRS_ENTRIES_SEQ.NEXTVAL seq FROM DUAL\";\r\n\r\n\t\ttry {\r\n\t\t\tQuery query = HibernateSessionFactory.getSession()\r\n\t\t\t\t\t.create... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds fish feed to the tank. Measured by grams. | public static void addFishFeed(double feedAmount) {
ec += feedAmount * 0.01;
} | [
"public void addFish(Fish f) {\n hasNew = true; //to know that another thread add a fish (just the main thread can add it at the view)\n fishes.add(f);\n }",
"void feed(int food) {\n weight = weight + food;\n }",
"public void addFish(Fish fish)\n {\n /*\n add the ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets travel bundle commerce cart facade. | protected TravelBundleCommerceCartFacade getTravelBundleCommerceCartFacade()
{
return travelBundleCommerceCartFacade;
} | [
"protected BundleCartFacade getBundleCartFacade()\n\t{\n\t\treturn bundleCartFacade;\n\t}",
"protected TravelCartService getTravelCartService()\n\t{\n\t\treturn travelCartService;\n\t}",
"public static ShoppingCart getShoppingcart() {\n return data.getShoppingCart();\n }",
"public Cart getCart(){\r\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method returns the average cRadius of the vertices in a community. Since the DEFAULT_VERTEX_RADIUS is a UI dependent, we would not define that in backend. | private double getAverageRadius(LinkedList<V> pllCommunity) {
double average = 0.0;
for (V v : pllCommunity) {
average += v.getWeight();
}
average /= pllCommunity.size();
return average;
// return average * VertexShapeTransformer.DEFAULT_VERTEX_RADIUS;
} | [
"public double radius(){\n\t\tif(radius == 0.0){\n\t\t\t// triangle sides length\n\t\t\tdouble a = (vertex1.x-vertex2.x)*(vertex1.x-vertex2.x) + \n\t\t\t\t\t (vertex1.y-vertex2.y)*(vertex1.y-vertex2.y);\n\t\t\t\t a = Math.sqrt(a); // |p1--p2|\n\t\t\tdouble b = (vertex1.x-vertex3.x)*(vertex1.x-vertex3.x) + \n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This function blocks until movement is complete TODO: WARNING: spins this thread! Preferable use this in a single thread, eg the main thread | public void waitForMovementComplete() {
while (motorLeft.isMoving()) {
Utils.Sleep(20);
}
} | [
"private void updateMovement() {\n if (_movementTask == null) {\n return;\n }\n\n if (getOwner().isDead() || _followTarget != null && _followTarget.isDead()) {\n cancelMoveTask2(true);\n return;\n }\n\n // Movement is invalid! Queue a new movement ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes a criminal_sentence_properties property value. | void removeCriminal_sentence_properties(Object oldCriminal_sentence_properties); | [
"public String removeStringProperty(String propertyName);",
"public void RemoveProperty(String propName) {}",
"boolean clearProperty(String tcProperty);",
"PropertiesTask removeProperty( String key );",
"public Object removeProperty( String key );",
"void graphRemoveProperty( int propertyKey );",
"Form ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
We set each app's suggested version to the latest available that is compatible, or the latest available if none are compatible. If the suggested version is null, it means that we could not figure it out from the upstream vercode. In such a case, fall back to the simpler algorithm as if upstreamVercode was 0. | private void updateSuggestedFromLatest(@Nullable String packageName) {
Utils.debugLog(TAG, "Calculating suggested versions for all apps which don't specify an upstream version code.");
final String apk = getApkTableName();
final String app = getTableName();
final String installed = Inst... | [
"private void updateSuggestedFromUpstream(@Nullable String packageName) {\n Utils.debugLog(TAG, \"Calculating suggested versions for all NON-INSTALLED apps which specify an upstream version code.\");\n\n final String apk = getApkTableName();\n final String app = getTableName();\n final S... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the room view | public RoomView getRoomView() {
return roomView;
} | [
"public String getRoomView() {\n\t\t// From room 1 to 4 (include)\n\t\tif (this.getAccommodationNumber() == 101 || this.getAccommodationNumber() == 102\n\t\t\t\t|| this.getAccommodationNumber() == 103 || this.getAccommodationNumber() == 104) {\n\t\t\treturn \"street view\";\n\t\t}\n\t\t// From room 5 to 8 (include)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
shows the bottom secondary label | public void setBottomSecondaryLabel(final String bottomSecondaryLabel) {
setText(this.bottomSecondaryLabel, bottomSecondaryLabel);
} | [
"public void hideBottomSecondaryLabel() {\n bottomSecondaryLabel.setVisibility(GONE);\n }",
"public void hideBottomPrimaryLabel() {\n bottomPrimaryLabel.setVisibility(GONE);\n }",
"public void hideBottomTopLabel() {\n bottomTopLabel.setVisibility(GONE);\n }",
"private void labels... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Position the trace to the event at the given position (rank). NOTE : Seeking by position is very slow in LTTng, consider seeking by timestamp. | @Override
public synchronized TmfContext seekEvent(final long rank) {
if (PRINT_DEBUG)
System.out.println("seekEvent(rank) rank -> " + rank); //$NON-NLS-1$
// Position the trace at the checkpoint
final ITmfContext checkpointContext = getIndexer().seekIndex(rank);
... | [
"public void testSeekOnRankNotOnCacheBoundary() throws Exception {\n \tTmfContext context = fTrace.seekEvent(9);\n assertEquals(\"Event rank\", 9, context.getRank());\n \t\n TmfEvent event = fTrace.parseEvent(context);\n assertEquals(\"Event timestamp\", 10, event.getTimestamp().getV... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method used for filling jsp page of tariffs by records of tariffs begin with row number startIndex till endIndex from params. It used for showing tariffs of user`s for CSR. | @RequestMapping(value = {"userTariffs"})
@ResponseBody
public TariffsDataPartitionDTO showTariffsForUser(@RequestParam(name = "start") int startIndex, @RequestParam(name = "end") int endIndex, HttpSession session) {
TariffsDataPartitionDTO dto = new TariffsDataPartitionDTO();
Integer userId = (I... | [
"private int loadSubmissionImageFieldsSequentially(SubmissionImage submissionImage, Object[] row, int startIndex) {\n submissionImage.setImageId((Integer) row[startIndex++]);\n submissionImage.setSortOrder((Integer) row[startIndex++]);\n submissionImage.setModifyDate((Date) row[startIndex++]);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Distributed Hash Table (DHT) partition topology. | @GridToStringExclude
public interface GridDhtPartitionTopology {
/**
* @return Total cache partitions.
*/
public int partitions();
/**
* Locks the topology, usually during mapping on locks or transactions.
*/
public void readLock();
/**
* Unlocks topology locked by {@link... | [
"public void passingDHT(Packet packet) {\r\n\t\tjava.util.Date passDHTDate = new java.util.Date();\r\n\t\tSystem.out.println(passDHTDate + \": Received Peer Node \" + packet.packetSenderID+\"'s Distributed Hash Table\");\r\n\t\t\r\n\t\t// Iterate through Distribution Hash Table sent in packet and add to Peer Node's... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the 'stream_failed' field. | public void setStreamFailed(java.lang.Integer value) {
this.stream_failed = value;
} | [
"public com.twc.bigdata.views.avro.viewing_info.Builder setStreamFailed(java.lang.Integer value) {\n validate(fields()[6], value);\n this.stream_failed = value;\n fieldSetFlags()[6] = true;\n return this; \n }",
"public java.lang.Integer getStreamFailed() {\n return stream_failed;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO(bcorso): Consider moving all of this logic into ComponentGenerator? | private void generateComponents() throws IOException {
TypeSpec.Builder componentsWrapper =
TypeSpec.classBuilder(getComponentsWrapperClassName())
.addModifiers(Modifier.PUBLIC, Modifier.FINAL)
.addMethod(MethodSpec.constructorBuilder().addModifiers(Modifier.PRIVATE).build());
P... | [
"abstract protected void processComponents();",
"ComponentOutput createComponentOutput();",
"Component createComponent();",
"public interface Component {\n\n /**\n * Generates the content of the component which is sent to the client for execution/rendering.\n * \n * @return the generated javascript whi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column oim_household_price_rule.operate_region | public String getOperateRegion() {
return operateRegion;
} | [
"public BigDecimal getREGION_CODE()\r\n {\r\n\treturn REGION_CODE;\r\n }",
"public BigDecimal getKYC_FINANC_RESID_OP_REGION() {\r\n return KYC_FINANC_RESID_OP_REGION;\r\n }",
"java.lang.String getRegion();",
"java.lang.String getRegionCode();",
"public String getRegionNo() {\n return ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO enclosing_package.MailingListDAOTest.createEntityForSearchParams(enclosing_method_arguments) throw new EMagineException("exception.unimplementedMethod", "enclosing_package.MailingListDAOTest.createEntityForSearchParams(enclosing_method_arguments)"); | @Override
protected MailingList createEntityForSearchParams(SearchParams params, int index) {
return null;
} | [
"public void testSearchAddresses() throws Exception {\r\n try {\r\n this.dao.searchAddresses(null);\r\n fail(\"IllegalArgumentException expected\");\r\n } catch (IllegalArgumentException e) {\r\n //good\r\n }\r\n }",
"@Test\n public void testNewEntity_0arg... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the value of the batch property. | public void setBatch(Boolean batch) {
this.batch = batch;
this.handleConfig("batch", batch);
} | [
"public void setBatch(Integer batch) {\n this.batch = batch;\n }",
"public void setBatch(String batch) {\n this.batch = batch == null ? null : batch.trim();\n }",
"void setBatchId(long batchId);",
"public void setBatchId(Number value) {\n setAttributeInternal(BATCHID, value);\n }... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
get the logs of executing the given command | public String[] getLog(String[] command) {
ArrayList<String> logLines = new ArrayList<String>();
Process mLogcatProc = null;
BufferedReader reader = null;
if (null == command) {
return null;
}
try {
mLogcatProc = Runtime.getRuntime().exec(command);... | [
"com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildToolLogs getBuildToolLogs();",
"private void LogCommand(String[] command) throws IOException\r\n {\r\n if (!command[0].equals(\"--\"))\r\n {\r\n String value = \"Command: \";\r\n for (String sub : co... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calculates the differences of all attributes for two instances. | private List<Double> diffInstances(Instance firstInstance, Instance secondInstance){
List<Double> difference = new ArrayList<>();
for (int i=0; i< firstInstance.numAttributes(); i++){
difference.add(firstInstance.value(i) - secondInstance.value(i));
}
retu... | [
"private void diffAttributes(int attrCount1, int attrCount2) {\n if ((attrCount1 == 1) && (attrCount2 == 1)) {\n long ah1 = _xtree1.getHashValue(_attrList1[0]);\n long ah2 = _xtree2.getHashValue(_attrList2[0]);\n if (ah1 == ah2)\n return;\n\n String tag1 = _xtree1.getTag(_attrList1[0])... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Example for outside code: t.sendTransToServer(); | void sendTransactionToServer()
{
//json + sql magic
} | [
"public void doSend(){\n\t}",
"void sendTransaction(IUserAccount target, ITransaction trans, IUserAccount user);",
"public FutureResult sendToServer(String onTheWireFormat) throws IOException;",
"public void doSend()\r\n { \r\n message = jtaMessage.getText();\r\n out.println(message... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Reads the block at the given offset in the file with the given ondisk size and uncompressed size. | HFileBlock readBlockData(long offset, long onDiskSize, int uncompressedSize, boolean pread)
throws IOException; | [
"void readBlock(int blockId, byte[] buffer, int offset) throws IOException;",
"int read(int blockOffset, byte[] buffer, int bufferOffset, int length) throws IOException;",
"void readBytes(int fileOffset, byte[] buffer, int bufferOffset, int dataLength);",
"long readRegular(int blockSize,int totalFileSizeInByt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
convert this object to a ParseObject | ParseObject toParseObject(); | [
"Object parseObject(PemObject obj)\n throws IOException;",
"public Object convert(Object obj) {\n return null;\n }",
"Parse createParse();",
"private Posts toPostfromGson(String result) {\n\t\tPosts post = null;\n\t\tgsonb = new GsonBuilder();\n \tGson gson = gsonb.create();\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the MIME type of the original origin raw bytes for the record if available. | public String getRawMimeType(); | [
"MimeType getProducedMimeType();",
"String getMimeType();",
"public String getBinaryMimeType();",
"String getMime_type();",
"public String getMimeType();",
"static String computeMimeType(String filename) {\n try {\n return getMimeMap().getContentTypeFor(filename);\n } catch (Excep... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column base_key_property.key_property_code | public void setKey_property_code(String key_property_code) {
this.key_property_code = key_property_code == null ? null : key_property_code.trim();
} | [
"public void setKey_property_code(String key_property_code) {\n\t\tthis.key_property_code = key_property_code == null ? null : key_property_code.trim();\n\t}",
"public String getKey_property_code() {\n return key_property_code;\n }",
"public String getKey_property_code() {\n\t\treturn key_property_cod... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use FundList.newBuilder() to construct. | private FundList() {
initFields();
} | [
"java.util.List<cosmos.base.v1beta1.CoinOuterClass.Coin> \n getFundsList();",
"private List(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private IndividualList(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }",
"pr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check header of CSV | public static void checkValidHeader(String header)
throws DataConversionException {
String[] headerCheck = header.split(";", CsvAdaptedPerson.ATTRIBUTE_ORDERING.keySet().size());
String[] headerValid = CsvAdaptedPerson.headerOrder();
if (headerCheck.length == 1) {
throw ... | [
"private void validateHeaderRow() {\n if (this.headerRow == null) {\n throw new CSVMapException(\"Failed to find the header row. Please check the specified header row index, maybe it does not exist in the given CSV format...\");\n }\n\n // check for duplicate header columns:\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ basic spell SQL method | private void spellSQL(SQLHelper sh,PosPrice posPrice)
{
if(posPrice != null){
if(posPrice.getId()!= null){
sh.appendSql(" AND obj.id = ? ");
sh.insertValue(posPrice.getId());
}
if(posPrice.getHotelGroupId()!= null){
sh.appendSql(" AND obj.hotelGroupId = ?... | [
"public String createSqlQuery(String enteredWord) {\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n // split entered string into letters\n String[] array = enteredWord.split(\"(?!^)\");\n // get lenght of entered letters\n int arrLen = array.length;\n\n String sqlQu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get accessor for persistent attribute: descripcion | public java.lang.String getDescripcion(); | [
"public String getDescripcion(){\r\n return descripcion;\r\n }",
"public java.lang.String getDescripcion(){\n\t\treturn descripcion;\n\t}",
"public String getDescripcion(){\n\t\treturn descripcion;\n\t}",
"public String getDescription(){\n\n //returns the value of the description field\n retur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Two violations with different initialization values should be inequal. | @Test
public void testEqualsDifferentInitializationValue() {
final InvalidVariableInitializationViolation first = createViolation(variableName, null);
final InvalidVariableInitializationViolation second = new InvalidVariableInitializationViolation(variableName,
StringUtils.reverse(in... | [
"private static final Object[] getInvalidInitTestCases() {\n return new Object[] {\n new Object[] {0, 2},\n new Object[] {-10, 20},\n new Object[] {10, 0},\n new Object[] {10, -20}\n };\n }",
"@Test\n @DisplayName(\"Test should detect... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the 'downloaded' field. | public java.lang.Long getDownloaded() {
return downloaded;
} | [
"public java.lang.Long getDownloaded() {\n return downloaded;\n }",
"public long getDownloaded() {\n\t\treturn bytes_downloaded;\n\t}",
"public void setDownloaded(java.lang.Long value) {\n this.downloaded = value;\n }",
"public final boolean getDownload()\r\n\t{\r\n\t\treturn download;\r\n\t}",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a new palette from the given root Node. | public static PaletteController createPalette( Node paletteRoot, PaletteActions customActions ) {
return createPalette( paletteRoot, customActions, null, DragAndDropHandler.getDefault() );
} | [
"static PaletteRoot createPalette() {\n\t\tPaletteRoot palette = new PaletteRoot();\n\t\tpalette.add(createToolsGroup(palette));\n\t\tpalette.add(createStatesDrawer());\n\t\treturn palette;\n\t}",
"@Override\n\tprotected PaletteRoot getPaletteRoot() \n\t{\n\t\tif(palette == null) palette = new OSCARGraphicalEdito... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the true end time as a J2K. | public double getEndTimeJ2K() {
return Util.ewToJ2K(getEndTime());
} | [
"public double getStartTimeJ2K() {\n\t\treturn Util.ewToJ2K(getStartTime());\n\t}",
"@JsonGetter(\"end_clockin_time\")\r\n public String getEndClockinTime() {\r\n return this.endClockinTime;\r\n }",
"public java.lang.String getTime_end() {\r\n return time_end;\r\n }",
"long getEndTimest... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to archive new vehicles that don't get parked or queued and are turned away | public void archiveNewVehicle(Vehicle v) throws SimulationException {
if (v.isQueued() == true) {
throw new SimulationException("The vehicle is already in queue.");
} else if (v.isParked() == true) {
throw new SimulationException("The vehicle is already parked.");
}
dissatifiedVehicles.add(v);
} | [
"public void archiveNewVehicle(Vehicle v) throws SimulationException {\n\t\tif (v.isParked() || v.isQueued()){\n\t\t\tthrow new SimulationException(\"Error: Vehicle to be archived is currently parked or queued.\");\n\t\t} else {\n\t\t\ttheArchive.add(v.getVehID());\n\t\t}\n\t}",
"@Test\n\tpublic void testCarArchi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Adds user to list of voiced users in this channel | void addVoice(User user) {
voice.add(user);
} | [
"public void addUser(User user){\n \tuserList.add(user);\n }",
"public void putUserInList(User u) {\n usersList.addUserToList(u);\n }",
"public void addUser(User user) {\n this.accounts.putIfAbsent(user, new ArrayList<>());\n }",
"public void addUser(User user) {\n\t\tuserList.addUse... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if field methodName is set (has been assigned a value) and false otherwise | public boolean isSetMethodName() {
return this.methodName != null;
} | [
"public boolean isSetMethod() {\n return this.method != null;\n }",
"public static Boolean isSetter(final String methodName) {\n\t\t// Returns if the method name matches the setter regular expression.\n\t\treturn methodName.matches(SETTER_REGEX);\n\t}",
"public boolean isValidMethod(String methodName) {\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the selected operation from list view. | private Optional<Operation> getSelectedOperation() {
return Optional.ofNullable(operationListView.getSelectionModel().getSelectedItem());
} | [
"private String currentOperation() {\n if (this.operations.size() > this.address) {\n return this.operations.get(this.address);\n } else {\n return null;\n }\n }",
"public Operation getOperation();",
"public int getOperation() {\r\n return m_op;\r\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Called when an error occurs during the sync session. | public void onSyncError(); | [
"@Override\n public void SyncError() {\n Log.e(TAG, \"SyncError\");\n }",
"public void onSyncError(T object);",
"void onSynchronizationFailed(SyncException e);",
"@Override\n public void handleTransportError(StompSession session, Throwable exception) {\n logger.e... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Interface to be implemented by objects to be passed to subscribe/presence as callback | public interface Callback {
/**
* This callback will be invoked when a message is received on the channel
* @param channel Channel Name
* @param message Message
* @return True to keep listening on channel, False to stop listening on channel
*/
public abstract boolean successCallback(St... | [
"public interface SimpleCallback {\nvoid call();\n}",
"public interface ChatCallbackOperations \n{\n void callback (String message);\n}",
"public interface JourneySelectedCallback {\n\n void onSelected(@Nullable Journey journey);\n}",
"public interface JsonObjectCallback {\n\n\tvoid callback(final JsonObj... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set value to socialNetwork attribute of Share object | public void setSocialNetwork(String socialNetwork) {
this.socialNetwork = socialNetwork;
} | [
"public void setSocialNetwork(int value) {\n this.socialNetwork = value;\n }",
"public Builder setSocialNetwork(com.example.tittle_tattle.algorithm.proto.SocialNetwork value) {\n if (socialNetworkBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
store an array of Assets in to the DB. | private void storeAssetsArray(ArrayList<AssetType> ass, long event_id, String storage_location) throws JDBCException, StorageDriverException{
if(ass != null){
ArrayList<Long> assetIds = new ArrayList<>();
for( AssetType at : ass){
assetIds.add(((Identifiable)at).getId());
assetIds.add(at... | [
"public int putAssets(List<Asset> assets) {\n ContentValues contentValues = new ContentValues();\n int count = 0;\n for (Asset asset : assets) {\n contentValues.put(SCWallDatabaseContract.Assets.COLUMN_ID, asset.getObjectId());\n contentValues.put(SCWallDatabaseContract.As... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the azureTableRowKeyName property: Azure Table row key name. Type: string (or Expression with resultType string). | public Object getAzureTableRowKeyName() {
return this.azureTableRowKeyName;
} | [
"public Object getAzureTablePartitionKeyName() {\n return this.azureTablePartitionKeyName;\n }",
"public String getRowKey() {\n Property p = getProperty(\"RowKey\");\n return p == null ? null : (String) p.getValue();\n }",
"private Object _getRowKey()\n {\n Object data = getRowDat... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sends the data to the bStats server. | private static void sendData(Plugin plugin, JsonObject data) throws Exception {
if (data == null) {
throw new IllegalArgumentException("Data cannot be null!");
}
if (Server.getInstance().isPrimaryThread()) {
throw new IllegalAccessException("This method must not be called... | [
"public void sendData()\n {\n try {\n Gson gson = new Gson();\n String json = gson.toJson(this);\n GameClient.send_to_server.writeUTF(json);\n } catch (IOException e) {\n System.out.println(\"Server not found.\");\n }\n }",
"public abstract vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
closeSubpHeader Finalize the header part of subprogram. This method will set subprogram type for this subprogram and set other inevitable information for this subprogram. Before calling this method, addParam, setOptionalParam, setVisibility should be called if required and return value type should be given if required ... | void
closeSubpHeader(); | [
"void\n closeSubpPrototype();",
"void setSubpKind( int pSubpKind );",
"public void close()\nthrows HdfException\n{\n if (bugs >= 1) {\n prtf(\"HdfFileWriter.close: filePath: \\\"\" + filePath + \"\\\"\\n\");\n }\n statTimea = printStat( statTimea, \"wtr.close.entry\",\n \"filePath: \" + filePath);\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the RailroadClassDescription field. Class Description | @gw.internal.gosu.parser.ExtendedProperty
public java.lang.String getRailroadClassDescription(); | [
"public void setRailroadClassDescription(java.lang.String value);",
"public String getCargoClassDesc() {\n\t\treturn cargoClassDesc;\n\t}",
"public String getClassDescription() {\n return classDescription;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getClassDescriptio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of main method, of class StoreControl. | @Test
public void testMain() {
System.out.println("main");
boolean[] args = null;
StoreControl.main(args);
} | [
"@Test\r\n public void testGetStoreControl() {\r\n System.out.println(\"getStoreControl\");\r\n int[][] tableOfElements = null;\r\n StoreControl instance = new StoreControl();\r\n long expResult = 0L;\r\n long result = instance.getStoreControl(tableOfElements);\r\n asser... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column groups_other.g_other_pay_type_id | public void setgOtherPayTypeId(Integer gOtherPayTypeId) {
this.gOtherPayTypeId = gOtherPayTypeId;
} | [
"public Integer getgOtherPayTypeId() {\n return gOtherPayTypeId;\n }",
"public void setOtherType(String otherType) {\n\t\tthis.otherType = otherType;\n\t}",
"public void setgOtherId(Integer gOtherId) {\n this.gOtherId = gOtherId;\n }",
"private void setOtherId(int value) {\n \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
guess: edit distance deletion answer: contains no special symbols | @Test
void CorrectGuessEditDistanceDeletion() {
Question testQuestion = new Question(Round.JEOPARDY, "Test Category", new GregorianCalendar(2018, 7, 7), "test question", "testtesting", 0);
String guess = "Testesing";
assertTrue(testQuestion.acceptAnswer(guess));
} | [
"public ArrayList<String> deleteDistance(String word)\n {\n int tier;\n int wordLength = word.length();\n ArrayList<String> candidates = new ArrayList<>();\n if (wordLength > 1)\n {\n for (tier = 0; tier < wordLength; tier++)\n {\n StringBui... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Binds a single color texture of this FBO for rendering. You can write to this texture by setting either `gl_FragColor` or `gl_FragData[0]` from your shaders. While bound for rendering, the specified texture cannot be used for texturing operations. | public void bindOne(GL2 gl, int colorTextureIndex) throws OpenGLException
{
/* Sanity check. */
if (colorTextureIndex < 0 || colorTextureIndex >= getColorTextureCount())
{
throw new AssertionError("Color texture index out of range: required that 0 <= " + colorTextureIndex + " < " + getColorTextureCount() + ".... | [
"public void bind()\n {\n glBindTexture(GL_TEXTURE_2D, texture);\n }",
"void glBindTexture(int target, int texture);",
"public void bind()\r\n\t{\r\n\t\tVector3f color;\r\n\r\n\t\tcolor = ambient;\r\n\t\tglColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT);\r\n\t\tglColor4f(color.x, color.y, color.z, tra... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Process Adjustment Subtract event message and send back ack as accepted | @Test
public void processAdjustmentEventMessageWithOperation_SUBTRACT() throws Exception {
insertDataIntoDataStore();
this.mockMvc.perform(MockMvcRequestBuilders.post("/processor/processMessage/")
.accept(MediaType.APPLICATION_JSON)
.contentType(MediaType.APPLICATIO... | [
"private void processACK(TimeStampedMessage ack_msg)\n\t{\n\t\tSystem.out.println(\"Proccess ACK\");\n\t\tString msg_key = new String(ack_msg.getOriginalSrc()+ ack_msg.getSeqNum());\n\t\t\n\t\tboolean checkACKs = false;\n\t\t\n\t\tupdateACKMap(ack_msg);\n\t\t\n\t\tArrayList<Integer> ACKList = null;\n\t\tString actu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Helper for running the crawler from the command line. | private static final void doMain(PageCrawler crawler, String arg) {
final CrawledPage page = crawler.fetch(arg);
if (page == null) {
System.out.println(arg + " --> FAILED!");
}
else {
System.out.println(arg);
System.out.println("\tresponseCode=" + page.getResponseCode());
System... | [
"public static void main(String[] args) {\n\n //// Patch to get crawler working on most sites ========================\n // System.setProperty(\"line.separator\", \"\\r\\n\");\n \n // make sure we only had 2 arguments\n if (args.length != 2) {\n usage();\n } \n\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get a KeyedRecord list of geographies for UI selection menus. Study and source context are provided as in getGeographies() above. A mode argument is also provided to customize the list to an appropriate set of types. | public static ArrayList<KeyedRecord> getGeographyList(String theDbID, int theStudyKey, int theSourceKey,
int theMode) {
return getGeographyList(theDbID, theStudyKey, theSourceKey, theMode, null);
} | [
"public static ArrayList<Geography> getGeographies(String theDbID, int theType, int theStudyKey, int theSourceKey) {\n\t\treturn getGeographies(theDbID, theType, theStudyKey, theSourceKey, null);\n\t}",
"public static ArrayList<KeyedRecord> getTypes(int theMode) {\n\n\t\tArrayList<KeyedRecord> result = new ArrayL... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Table__Group_6__3__Impl" $ANTLR start "rule__Table__Group_7__0" InternalMyDsl.g:2948:1: rule__Table__Group_7__0 : rule__Table__Group_7__0__Impl rule__Table__Group_7__1 ; | public final void rule__Table__Group_7__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMyDsl.g:2952:1: ( rule__Table__Group_7__0__Impl rule__Table__Group_7__1 )
// InternalMyDsl.g:2953:2: rule__Table__Group_7__0__Impl rule__Table_... | [
"public final void rule__Table__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2844:1: ( rule__Table__Group_6__0__Impl rule__Table__Group_6__1 )\n // InternalMyDsl.g:2845:2: rule__Table__Group_6__0__Imp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Instantiates a new note request. | public NoteRequest(List<Note> notesParam)
{
setNotes(notesParam);
} | [
"public NoteRequest(Note note)\r\n\t{\r\n\t\taddNote(note);\r\n\t}",
"public NoteRequest()\r\n\t{\r\n\t}",
"public NoteRequest(Note note, SortExpression sortExpression)\r\n\t{\r\n\t\tthis(note);\r\n\t\taddSortExpressions(sortExpression);\r\n\t}",
"public NoteRequest(UserContext userContext)\r\n\t{\r\n\t\tsupe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of setNextFinishButtonEnabled method, of class Wizard. | public void testSetNextFinishButtonEnabled() {
System.out.println("setNextFinishButtonEnabled");
boolean newValue = false;
Wizard instance = new Wizard();
instance.setNextFinishButtonEnabled(newValue);
} | [
"void onClickNextStep(int fromStepNumber, boolean isCurrentStepValid);",
"public void nextButton() {\n next.click();\n if (previous.isDisplayed()) {\n ExtentTestManager.log(\"NEXT Button has been clicked\", this.getClass());\n\n } else {\n Assert.fail();\n }\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
is User's current Program in CM_PROGRAM_ASSIGN? | public boolean programAssignmentExistsForStudent(final int userId) throws Exception {
String sql = CmMultiLinePropertyReader.getInstance().getProperty("CM_PROGRAM_ASSIGN_EXISTS_FOR_STUDENT");
boolean progExists = false;
try {
progExists = this.getJdbcTemplate().queryForObject(
sql,
... | [
"public boolean isProgramActive(String programId);",
"public boolean isSetTaskProgram() {\r\n return this.taskProgram != null;\r\n }",
"public boolean isProgramRegistration() {\n return program != null && program.isRegistration();\n }",
"boolean hasWritingprogram();",
"boolean hasApplicationProcessN... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Editer le statut d'une formation | @Override
public void editerStatutFormation(Formation formation,String statut) {
this.formationFacade.find(formation.getIdformation()).setStatut(statut);
} | [
"public void lireinformationCompte(){\n\t\t\n\t}",
"public void aggiornaStato() {\n switch (this.stato) {\n case \"IN_PREPARAZIONE\":\n this.stato = \"IN_TRANSITO\";\n break;\n case \"IN_TRANSITO\":\n Random rand = new Random();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Build the list of CompositeValuesSourceBuilder. | public List<CompositeValuesSourceBuilder<?>> build(
List<Pair<NamedExpression, SortOrder>> groupList) {
ImmutableList.Builder<CompositeValuesSourceBuilder<?>> resultBuilder =
new ImmutableList.Builder<>();
for (Pair<NamedExpression, SortOrder> groupPair : groupList) {
TermsValuesSourceBuilde... | [
"private void buildBundle() {\n // Get the SPIA reference sets which contain the source data.\n Map<DistributionEntry, Refset> refsets = spiaDistribution.getRefsets();\n List<Resource> resources = new ArrayList<>();\n\n // Build each of the ValueSets and ConceptMaps using the source reference sets.\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getPaseos method, of class Usuario. | @Test
public void testGetPaseos() {
System.out.println("getPaseos");
Usuario instance = new Usuario();
Set expResult = null;
Set result = instance.getPaseos();
assertEquals(expResult, result);
// TODO review the generated test code and remove the default call to fail.... | [
"@Test\n public void testGetPatologia() {\n System.out.println(\"getPatologia\");\n Usuario instance = new Usuario();\n String expResult = \"\";\n String result = instance.getPatologia();\n assertEquals(expResult, result);\n // TODO review the generated test code and rem... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Writes the cutscene aliases to a file. | private void writeAliases(ArrayList<Cutscene> cutscenes)throws FileHandlingException{
PrintWriter pw;
try {
pw = new PrintWriter("ext/aliases.txt");
} catch (FileNotFoundException e) {
throw new FileHandlingException("Unable to write ALIASES file: " + e.getMessage());
}
for(Cutscene cutscene:cutscenes){... | [
"private void copyAliasesFile() throws IOException {\n\t\t// Create the aliases.properties in the target folder\n\t\tFile aliasesFile = getAliasesFile();\n\t\tFileWriter file = null;\n\t\tBufferedWriter buffer = null;\n\t\tPrintWriter aliasesFileOut = null;\n\t\ttry {\n\t\t\tfile = new FileWriter(aliasesFile);\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets (as xml) the "realizationEpoch" element | public void xsetRealizationEpoch(org.apache.xmlbeans.XmlDate realizationEpoch)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(REALIZATIONEPOCH$0, 0);
... | [
"public void setRealizationEpoch(java.util.Calendar realizationEpoch)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REALIZATIONEPOCH$0... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Given a workspace, find the amount of free credits that the workspace creator has left. | public double getWorkspaceCreatorFreeCreditsRemaining(DbWorkspace dbWorkspace) {
Double creatorCachedFreeTierUsage = this.getCachedFreeTierUsage(dbWorkspace.getCreator());
Double creatorFreeTierDollarLimit = this.getUserFreeTierDollarLimit(dbWorkspace.getCreator());
double creatorFreeCreditsRemaining =
... | [
"public int getWorkCredCost();",
"public double getTotalCreditsUsed()\n\t{\n\t\treturn totalCreditsUsed;\n\t}",
"public double getTimeSpent(int year){\r\n double timeSpent = 0;\r\n for(int client = 0; client < numClients; client++){\r\n timeSpent += clients.get(client).getTimeSpent(year... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__AstNetwork__InstancesAssignment_12" $ANTLR start "rule__AstNetwork__StructureAssignment_13" ../org.caltoopia.frontend.ui/srcgen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:22926:1: rule__AstNetwork__StructureAssignment_13 : ( ruleAstStructure ) ; | public final void rule__AstNetwork__StructureAssignment_13() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:22930:1: ( ( ruleAstStructure ) )
... | [
"public final void rule__AstNetwork__Group__13__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:4755:1: ( ( ( rule__AstNetwork__... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Rich text record of type CDEMBEDDEDVIEW | @StructureDefinition(name = "CDEMBEDDEDVIEW", members = {
@StructureMember(name = "Header", type = WSIG.class),
@StructureMember(name = "Flags", type = CDEmbeddedView.Flag.class, bitfield = true),
@StructureMember(name = "SpareFontID", type = FontStyle.class),
@StructureMember(name = "RestrictFormulaLen... | [
"public String getRecordText();",
"public interface IReciteWordView {\n\t/**\n\t * Set the result info text and set visible.\n\t * \n\t * @param info\n\t */\n\tpublic void setCorrectInfoText(String info);\n\n\t/**\n\t * Set the paraphrase Chinese meaning. Simultaneously hide the correct info\n\t * text.\n\t * \n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Split a space delimit name value pair, with name followed by value. The name could have space too. | private String[] splitSpaceDelemitNameValuePair(String str)
{
if(str==null||str.isEmpty())return null;
String str2 = str.trim();
int idx = str2.lastIndexOf(' ');//since we trimmed, it cannot be the last one
if(idx<=0)return null;
String name = str2.substring(0, idx);
String val = str2.substri... | [
"private static String[] splitNameTag(String nametag) {\n String[] rtn = new String[2];\n rtn[0] = nametag; // Fallback name is the whole string\n rtn[1] = \"\"; // Fallback tag is empty\n if (nametag != null && nametag.startsWith(\":\")) {\n StringTokenizer t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Finishes and removes the WebAPK's task. Returns true on success. | @Override
public boolean finishAndRemoveTaskSdk23() throws android.os.RemoteException {
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
boolean _result;
try {
_dat... | [
"public boolean finishAndRemoveTaskSdk23() throws android.os.RemoteException;",
"@Override\n public boolean finishAndRemoveTaskSdk23() throws android.os.RemoteException {\n return false;\n }",
"void removeTask();",
"private void deleteAndFinish() {\n this.new DeleteTaskTask().e... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Spring Data JPA repository for the ItemSubCategoryMaster entity. | public interface ItemSubCategoryMasterRepository extends JpaRepository<ItemSubCategoryMaster,Long> {
} | [
"@SuppressWarnings(\"unused\")\npublic interface SubMenuRepository extends JpaRepository<SubMenu,Long> {\n\n}",
"List<EmailTemplateSubCategoryMaster> findAll();",
"public interface CustomerCategoryRepository extends JpaRepository<CustomerCategory,Long> {\n\n}",
"@SuppressWarnings(\"unused\")\n@Repository\npub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the Info Hash. | public void setInfoHash(final byte[] infoHashId) {
this.infoHash = infoHashId;
} | [
"public String getInfoHash() {\r\n \t\treturn this.info_hash;\r\n \t}",
"public void setUsedHash(int h)\n\t{\tused_hash = h;\t}",
"void setHashData(java.lang.String hashData);",
"public Sha1Hash getInfoHash() {\n return new Sha1Hash(ti.info_hash());\n }",
"byte[] getInfoHash();",
"public static ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method checks, if the given Document is a valid Request of type Abort. | public static boolean isAbortRequest(Document document) {
if (document == null) {
throw new NullPointerException("Input parameter document is null.");
}
if (!SearchBoosterXML.isValid(document)) {
throw new RuntimeException(
"Input parameter document is an invalid Document.");
}
return (Requ... | [
"public boolean isTxnAbort() {\n /* no type if not a commit or abort */\n return LOG_TXN_ABORT.equals(type);\n }",
"final public void abort()\n {\n _shouldAbort = true;\n }",
"public boolean isAbortable();",
"boolean abortRequested();",
"private boolean maybeAbort()\n {\n if ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initialize the service registry cache. | public static void init() {
try {
if (m_init) {
return;
}
Bundle bundle = FrameworkUtil.getBundle(ServiceRegistryCacheManager.class);
if (bundle != null) {
if (bundle.getState() != Bundle.STARTING && bundle.getState() != Bundle.ACTIVE) {
bundle.start(); // take care: may callback our register... | [
"@PostConstruct\n public void initCache() {\n cache = Collections.synchronizedMap(new HashMap<>(cacheCapacity, 1));\n }",
"private void initialize() {\n updateCache();\n }",
"public static synchronized void init() {\n String registryClassName = System.getProperty(REGISTRY_CLASS_NAME,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initializes and validates the configuration parameters. It retrieves an instance of object store from mule objectStoreManager. | @Start
public void init() throws ObjectStoreException, JSONException, IOException {
if (config.getIsMQ()) {
JsonLoggerWithMQConfig amqConf = (JsonLoggerWithMQConfig) config;
amq = new AnypointMQHelper(amqConf.getClientAppId(), amqConf.getClientSecret(), amqConf.getMqEndpoint(), amqConf.getDestination(), regist... | [
"public void initializeStore() {\n try {\n if (store != null) {\n LOG.info(\"IIDMStore service {} was found\", store.getClass().getName());\n new StoreBuilder(store).init();\n }\n } catch (final IDMStoreException e) {\n LOG.error(\"Failed ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
////////////////////////////////////////////////////////////// Test of EagerNoResultCaseMatchercaseIs(boolean, Runnable) // ////////////////////////////////////////////////////////////// | @Test
public void testCaseIsBool() {
String o = "";
AtomicBoolean success = new AtomicBoolean(false);
match(o).caseIs(true, () -> success.set(true));
assertTrue(success.get());
} | [
"@Test\n public void testCaseIsPredicateBool() {\n AtomicBoolean success = new AtomicBoolean(false);\n match(42L).caseIs(s -> true, () -> success.set(true));\n assertTrue(success.get());\n }",
"@Test\n public void testCaseOfBool() {\n AtomicBoolean success = new AtomicBoolean(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method retrieves CPS Investigation Conclusion page data when given either id event or id stage. STGAP00009662 combine outcomes from retrieve by id event and id stage since cps_invst_detail row now gets created and populated when id event created. Before, each of these methods only set certain fields to output. The... | private ROWCINV10DOG00 RetrieveCpsInvstDetail(int idEvent, int idStage) throws ServiceException {
CpsInvstDetail cpsInvstDetail;
ROWCINV10DOG00 rowcinv10dog00;
if (idEvent != 0) {
cpsInvstDetail = cpsInvstDetailDAO.findCpsInvstDetailByIdEvent(idEvent);
} else {
cpsInvstDetail = cpsInvs... | [
"private ROWCINV10DOG01 RetrieveCpsInvstDetailResource(int idEvent, int idStage) throws ServiceException {\r\n /*CpsInvstDetail cpsInvstDetail;\r\n \r\n if (idEvent != 0) {\r\n cpsInvstDetail = cpsInvstDetailDAO.findCpsInvstDetailByIdEvent(idEvent);\r\n } else {\r\n cpsInvstDetail = cpsInvstDe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ This Unlink methods purpose is to delete a file from the file system. This is done by locating the file and determining if any process is currently using the file. If no process is using it, the file is removed and the memory space allocated for that file is now available for another file. If the file has is being us... | private int handleUnlink(int address) {
Lib.debug(dbgProcess, "handleUnlink()");
boolean returnValue = true;
// address is address of filename
String filename = readVirtualMemoryString(address, maxFileD);
Lib.debug(dbgProcess, "filename: " + filename);
... | [
"private int handleUnlink(int namePtr) {\n\t\t// check null or wrong addr\n\t\tif(!isPtrValid(namePtr)) {\n\t\t\treturn -1;\n\t\t}\n\n\t\t// check name validity\n\t\tString name = readVirtualMemoryString(namePtr, 256);\n\t\tif(!isFileNameValid(name)) {\n\t\t\treturn -1;\n\t\t}\n\n\t\t// check is actually removed\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |