query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Tests that the end to end duration of a failed checkpoint is the duration until the failure. | @Test
void testEndToEndDuration() {
long duration = 123912931293L;
long triggerTimestamp = 10123;
long failureTimestamp = triggerTimestamp + duration;
Map<JobVertexID, TaskStateStats> taskStats = new HashMap<>();
JobVertexID jobVertexId = new JobVertexID();
taskStats... | [
"@Test\n void testCompleteOrFailWithoutInProgressCheckpoint() {\n CheckpointStatsCounts counts = new CheckpointStatsCounts();\n counts.incrementCompletedCheckpoints();\n assertThat(counts.getNumberOfInProgressCheckpoints())\n .as(\"Number of checkpoints in progress should neve... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Reading default coloring schemes for different components of application from settings.txt file | public ColorConstants() throws IOException {
File file = new File("settings.txt");
InputStream in = new FileInputStream(file);
BufferedReader reader = new BufferedReader(new InputStreamReader(in));
String line;
String content = ""; //Prints the string content read from inp... | [
"private void loadAppColors() {\n try {\n FileInputStream fis = openFileInput(\"COLORS.TXT\");\n BufferedReader br = new BufferedReader(new InputStreamReader(fis));\n\n PersonalColors c = new Gson().fromJson(br, PersonalColors.class);\n AppColors.getInstance().setC... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new instance of EspecialidadeCursoBean | public RhEspecialidadeCursoBean ()
{
} | [
"public ClasificacionBean() {\r\n }",
"public CadCategoriaBean() {\n }",
"public RegistroBean() {\r\n }",
"public ProductosBean() {\r\n }",
"public clientesBean() {\n this.clie = new Clientes();\n }",
"public FacturaBean() {\n }",
"private ProcesoDTO registrarProcesoCoactivo() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deletes and retrieves the rule indicated by its name, or null if it's not found | public String removeRule ( String ruleName ) {
return rules.get(ruleName) != null ? rules.remove(ruleName).asString() : null;
} | [
"void deleteRule(Integer ruleId);",
"public void deleteRule(String ruleName)\n throws IllegalArgumentException \n {\n GRule r = (GRule)rules.get(stripRuleName(ruleName));\n if (r == null) {\n throw new IllegalArgumentException(\"Unknown Rule: \" + ruleName);\n } else {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a detached, initialised PBuyTicketRecord | public PBuyTicketRecord(cn.vertxup.psi.domain.tables.pojos.PBuyTicket value) {
super(PBuyTicket.P_BUY_TICKET);
if (value != null) {
setKey(value.getKey());
setSerial(value.getSerial());
setType(value.getType());
setStatus(value.getStatus());
s... | [
"public PBuyTicketRecord() {\n super(PBuyTicket.P_BUY_TICKET);\n }",
"public PBuyTicketRecord(String key, String serial, String type, String status, LocalDateTime opAt, String opBy, String opDept, String source, String customerId, String currencyId, String companyId, String approvedBy, LocalDateTime app... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column product_lib_category.size_transform | public Integer getSizeTransform() {
return sizeTransform;
} | [
"public java.lang.String getSCALE_SIZE_m() {\n return SCALE_SIZE_m;\n }",
"@Override\n public String getProductSizeGuide(final ProductModel productModel) {\n if (null != productModel.getSupercategories() && !productModel.getSupercategories().isEmpty()) {\n final StringBuilder query ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the array of all valid dependency extensions for this tool's inputs. The array may be empty but will never be null. | public String[] getAllDependencyExtensions(); | [
"public String[] getAllInputExtensions();",
"public String[] getPrimaryInputExtensions();",
"abstract protected String[] getRequiredExtensionNames();",
"public String[] getAllOutputExtensions();",
"public String[] allowedExtensions()\n {\n String[] exts = new String[]{\".xml\"};\n return ex... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Scan the instance vector list and compute fisher score for every alphabet feature This is different from the same task for sequence feature because the alphabet feature has a form of a set of features, rather than a string Input: featureInstanceVectorListMap: instance vector in the feature space filteredActualFeatureAl... | private Map<String, Double> computeFisherScoreForAlphabetFeatures() throws Exception {
Map<String, Double> featureFisherScoreMap = new HashMap<String, Double>(); //key is feature, value is fisher score
Map<String, Double> featureClassAvgValueMap = new HashMap<String, Double>(); //key is feature + ":" + class, va... | [
"private Map<String, Double> computeFisherScoreForSequenceFeatures() throws Exception {\n\t\t\n\t\tMap<String, Double> featureFisherScoreMap = new HashMap<String, Double>(); //key is feature, value is fisher score\n\t\tMap<String, Double> featureClassAvgValueMap = new HashMap<String, Double>(); //key is feature + \... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a URL with the specified sort option | private static URL buildMovieUrl(String sort_option){
Uri builtUri = Uri.parse(BASE_URL).buildUpon()
.appendPath(sort_option)
.appendQueryParameter(api_key_sort,KEY)
.build();
URL url = null;
try {
url = new URL(builtUri.toString());
... | [
"private void createSortLink() {\n\n String newGrouping;\n\n if (\"plugin\".equals(grouping)) {\n newGrouping = \"publisher\";\n } else {\n newGrouping = \"plugin\";\n }\n String timeString = \"\";\n if (\"accurate\".equals(timeKey)) {\n timeString = \"&timeKey=\" + timeKey;... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Static functions This function initializes a vector clock with all zero's | private static ArrayList<Integer> initializeVC(int numOfProcInNetwork) {
ArrayList<Integer> vectorClock = new ArrayList<>();
for (int i = 0; i < numOfProcInNetwork ; i++) {
vectorClock.add(0);
}
return vectorClock;
} | [
"public VectorClock() {\n this(new ArrayList<ClockEntry>(0), System.currentTimeMillis());\n }",
"public static void resetVectorInit() {\r\n \t\tCPU.sp.setValue(0x0100 + (CPU.sp.getValue() & 0xFF)); // Stack High = 01\r\n \t\tCPU.dp.setValue(0); // Direct Page = 0000;\r\n \t\tCPU.pbr.setValue(0); // Prog... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets a Roman literal for witch this factory creates states. | public RomanNumberLiteral forLiteral(); | [
"public static TA_Numbering Roman(){\r\n\t\treturn new TA_Numbering() {\r\n\t\t\t@Override\r\n\t\t\tpublic String getNumber(int number) {\r\n\t\t\t\tValidate.validState(0<number && number<4001, \"numbering supported 0<number<4001 - number was: \" + number);\r\n\t\t\t\treturn Integer_To_RomanLiteral.convert(number);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
required bytes push_body = 5; | com.google.protobuf.ByteString getPushBody(); | [
"public com.google.protobuf.ByteString getPushBody() {\n return pushBody_;\n }",
"public Builder setPushBody(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000010;\n pushBody_ = value;\n onChanged();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'supportsNakedCredit' field has been set, however the value could be null | public boolean hasSupportsNakedCredit() {
return genClient.cacheHasKey(CacheKey.supportsNakedCredit);
} | [
"public boolean isNotNullSupportsNakedCredit() {\n return genClient.cacheValueIsNotNull(CacheKey.supportsNakedCredit);\n }",
"public Gateway setSupportsNakedCredit(java.lang.Boolean supportsNakedCredit) {\n return genClient.setOther(supportsNakedCredit, CacheKey.supportsNakedCredit);\n }",
"public boole... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column low_voltage_hitch_event.behitch_a_phase_voltage | public Integer getBehitchAPhaseVoltage() {
return behitchAPhaseVoltage;
} | [
"public Integer getBehitchBPhaseVoltage() {\n return behitchBPhaseVoltage;\n }",
"public Integer getBehitchCPhaseVoltage() {\n return behitchCPhaseVoltage;\n }",
"public double getVoltage () {\r\n return voltage;\r\n }",
"public double getVoltage();",
"public String getVoltage() {\r\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Register listener using the attributes from beanListenerAnnotation. | @Override
public void registerBeanListener(BeanListener beanListenerAnnotation,
Object listener) {
if (sourceObjectListenerRegister == null) {
beanListeners.put((Object) listener, beanListenerAnnotation
.value());
} else {
registerBeanListener(listener,
beanListenerAnnotation.value());
}
} | [
"private void registerListener() {\n PatientContext.getPatientContext().addListener((name, patient) -> {\n if (patient != null) {\n addPatient(patient, true);\n saveList(false);\n }\n });\n }",
"void addLifecycleListener(Object listener, Class[]... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
lista todos os status que seja == 1 no menu documento vinculado | public String listar() {
DocumentoVinculadoDAO documentoVinculadoDAO = new DocumentoVinculadoDAO();
lista = documentoVinculadoDAO.listarStatus(1);
return "listar";
} | [
"public List<Setor> listaTodos(StatusBinarioEnum status) {\n\n\t\tif (status.equals(StatusBinarioEnum.AMBOS)) {\n\t\t\tTypedQuery<Setor> query = getEntityManager().createNamedQuery(\"Setor.listarTodosSemStatus\", Setor.class);\n\t\t\treturn query.getResultList();\n\t\t}\n\t\tTypedQuery<Setor> query = getEntityManag... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TOC(TSTART) measures the time elapsed since the TIC command that generated TSTART. | public static double toc(double TSTART) {
return System.currentTimeMillis() / 1000d - TSTART;
} | [
"public TOC getTOC() {\r\n return toc;\r\n }",
"@Test\n public void tocSeqPrefix() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n // A TOC field can create an entry in its table of contents for each SEQ field found in... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds multiple relationships with a matching typeName to an item. | private void addRelationships(Context c, Item item, String typeName, List<String> values)
throws SQLException, AuthorizeException,
MetadataImportException {
for (String value : values) {
addRelationship(c, item, typeName, value);
}
} | [
"private void addRelationship(Context c, Item item, String typeName, String value)\n throws SQLException, AuthorizeException, MetadataImportException {\n if (value.isEmpty()) {\n return;\n }\n boolean left = false;\n\n // Get entity from target reference\n Entity... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Option__NameAssignment_4" $ANTLR start "rule__Option__IconAssignment_6_2" InternalMyDsl.g:14536:1: rule__Option__IconAssignment_6_2 : ( ruleEString ) ; | public final void rule__Option__IconAssignment_6_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMyDsl.g:14540:1: ( ( ruleEString ) )
// InternalMyDsl.g:14541:2: ( ruleEString )
{
// InternalMyDsl.g:14541:2:... | [
"public final void rule__Attribute__TypeAssignment_6_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:15785:1: ( ( ruleEString ) )\n // InternalMyDsl.g:15786:2: ( ruleEString )\n {\n // Inter... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
function that adjusts the slack and lateFinishTime of the tasks that have no out edges. A variable that stores the latest finish time from all tasks will be used. This method should be called after setSlack and setLateFinish. | public void adjustTasks() {
int endOfProject = -1;
for (Task task : taskList) {
if (task.getLateFinish() > endOfProject) {
endOfProject = task.getLateFinish();
}
}
for (Task task : taskList) {
if (task.getOutEdges().size() == 0) {
... | [
"private void endStuckTasks() {\n\t\tlog.info(\"I am gonna list planned and processing tasks and kill them if necessary...\");\n\n\t\tList<Task> suspiciousTasks = schedulingPool.getProcessingTasks();\n\t\tsuspiciousTasks.addAll(schedulingPool.getPlannedTasks());\n\n\t\tfor (Task task : suspiciousTasks) {\n\t\t\t// ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets all the events that are set in the current day. | public ArrayList<Event> getEventsOfToday()
{
if (findEvent() == true)
return currentDayEvents;
return currentDayEvents;
} | [
"public ArrayList<Event> getEventsByToday() {\n\t\tArrayList<Event> result = new ArrayList<Event>();\n\t\tCalendar today = Calendar.getInstance();\n\t\tfor (int i = 0; i < events.size(); i++) {\n\t\t\tif (events.get(i).getInitial_date().get(Calendar.YEAR) == today.get(Calendar.YEAR)\n\t\t\t\t\t&& events.get(i).getI... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__AnnotationValuePairs__Group_1__1" $ANTLR start "rule__AnnotationValuePairs__Group_1__1__Impl" ../org.ow2.mindEd.idt.editor.textual.ui/srcgen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6228:1: rule__AnnotationValuePairs__Group_1__1__Impl : ( ( rule__Annotatio... | public final void rule__AnnotationValuePairs__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g... | [
"public final void rule__AnnotationValuePairs__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalF... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
gets the next page of leaderboard scores | public void getNextPage(){
previousOperation = LeaderBoardDaoOperations.NEXT_PAGE;
getScores(pageNumber + 1);
} | [
"public void nextPage();",
"public WebPage getNextPage();",
"public void getPrevPage(){\r\n\t\tpreviousOperation = LeaderBoardDaoOperations.PREVIOUS_PAGE;\r\n\t\tgetScores( ((pageNumber - 1) >= 1) ? (pageNumber - 1) : 1 );\r\n\t}",
"public String getNextPage(){\n try {\n //print next page\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
load all components inside folder. This is used by components that are preloaded. These are saved as collections, and not within their own files | protected void loadAll() {
try {
loadGroups(this.folder, this.cls, this.cachedOnes);
/*
* we have to initialize the components
*/
for (Object obj : this.cachedOnes.values()) {
((Component) obj).getReady();
}
Tracer.trace(this.cachedOnes.size() + " " + this + " loaded.");
} catch (Exceptio... | [
"private void loadPlugins() {\n String check = File.separator + \"plugins\" + File.separator;\n Object[] params = new Object[] {null, null, -1, -1, -1};\n PluginClassLoader cl = new PluginClassLoader(DataCrow.pluginsDir);\n \n Directory dir = new Directory(DataCrow.pluginsDir, tru... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the Principal Node. | Node getPrincipal(); | [
"public String getPrincipalRoot() {\n return principalRoot;\n }",
"public java.lang.String getPrincipal()\r\n {\r\n return this._principal;\r\n }",
"@Override\n\tpublic Object getPrincipal() {\n\t\treturn principal;\n\t}",
"public Principal getLocalPrincipal();",
"public PrincipalEntity get... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
When invite nonusers button is clicked, display a text pop to input an email. This email will be sent a link to download the application. | public void onInviteNonusersButtonClick(View view) {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("Invite a Nonuser via Email");
// Set up the input
final EditText input = new EditText(this);
// Specify the type of input expected; this, for exampl... | [
"private void sendInvitationLink(){\n String invitationLink = mInvitationURL;\n String msg = \"Давайте вместе сыграем в Мюнхгаузена! Используйте мою реферерную ссылку: \"\n + invitationLink;\n\n System.out.println(msg);\n\n NSMutableArray<NSString> array = new NSMutableArr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
FML file to fm | @Test
public void testReader2() {
File file = new File("examples/testing/FMs/fmTestReader2.fml");
try {
BufferedWriter bw = new BufferedWriter(new FileWriter(file));
BufferedReader br = new BufferedReader(new StringReader(_fm));
String str;
while ((str = br.readLine()) != null) {
bw.write(str);
... | [
"public static FeatureModel getFM(String path){\t\r\n\t\t\treturn FMParser.getFM(path);\r\n\t\t}",
"private File createAfm2CoCoModel(){\n\t\tFile afm2cocoModel = null;\n\t\t\n\t\tif(this.famaPath != null) {\n\t\t\tint index = famaPath.lastIndexOf(\".\");\n\t\t\tString afm2cocoPath = famaPath.substring(0, index) +... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Process node containing vacuuming definition for table. | private void ProcessVacuumingDefinition(SimpleNode treeRoot) throws TSQL2TranslateException {
if (!_tableInfo.getTransactionTimeSupport().equals(STATE)) {
throw new TSQL2TranslateException("VACUUM definition is allowed only for transaction-time enabled tables.");
}
if (treeRoot.jjtG... | [
"private void processTableNode(NodeList tblNodeList) {\n \n Table table = null;\n String tblName = CARE.STR_UNDEFINED;\n \n boolean firstDataPnt = true;\n String dataPntName = CARE.STR_UNDEFINED;\n String dataPntType = CARE.STR_UNDEFINED;\n i... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Actualiza el tiempo que tardara el bus indicado en llegar a esta parada | public void actualizarTiempoBus(int numBus, int[] tiempo) {
for(Bus b : busesProximos) {
if(b.linea == numBus) {
b.tiempoSiguienteParada = tiempo;
}
}
} | [
"public static void ParaTimer(){\n tiempoTranscurrido = (System.nanoTime() - timer)/(1000000000.);\n }",
"protected void processingTimeExpired()\n {\n\n }",
"public static void ComienzaTimer(){\n timer = System.nanoTime();\n }",
"protected void setupTime() {\n this.start = Sys... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'If Stmt'. | IfStmt createIfStmt(); | [
"protected IfStatement createIfStatement() {\n IfStatement stmt = new IfStatement(maker);\n pushStatement(stmt);\n return stmt;\n }",
"IfStatement createIfStatement();",
"private Stmt ifStatement() {\n consume(LPAREN, \"Expect '(' after 'if'.\");\n\n Expr condition = expres... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor. Behaves like the HTTPBinding. The alias of the certificate that will be used is extrapolated from the address, the port and the path. | public HTTPSBinding(IPAddress ipAddress, int port, String path) {
super(ipAddress, port, path);
// TODO Auto-generated constructor stub
} | [
"public ProxyInitializer(String host, String port){\n this.host = host;\n this.port = port;\n }",
"public DNSClient(final Hashtable env) throws NamingException\n {\n this((DirContext) new DnsContextFactory().getInitialContext(env));\n\n }",
"public HttpClientWrapper(String url, Str... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the field foods. | public void setFoods(ch.ivyteam.ivy.scripting.objects.List<online.food.ordering.Food> _foods)
{
foods = _foods;
} | [
"public void setFoods(Food[] newFoods) {\n for (int i = 0; i < newFoods.length; i++) {\n foods.remove(i);\n foods.add(newFoods[i]);\n }\n }",
"public void setFoodList(Food[] foodList) {\n this.foodList = foodList;\n }",
"public void setFoodList(FoodList foodList) {\r\n this.foo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ xmsoriginalfile: specification/databoxedge/resourcemanager/Microsoft.DataBoxEdge/stable/20190801/examples/SACPut.json Sample code: SACPut. | public static void sACPut(com.azure.resourcemanager.databoxedge.DataBoxEdgeManager manager) {
manager
.storageAccountCredentials()
.define("sac1")
.withExistingDataBoxEdgeDevice("testedgedevice", "GroupForEdgeAutomation")
.withAlias("sac1")
.withSslSta... | [
"@Ignore\n\tpublic void testExecuteRequestClientActionPutBug181() throws Exception {\n\t\tString testFileName = \"test2.txt\";\n\t\tString irodsFileName = \"test2.txt\";\n\n\t\tString absPath = scratchFileUtils.createAndReturnAbsoluteScratchPath(IRODS_TEST_SUBDIR_PATH);\n\t\tString putFileName = FileGenerator.gener... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a new Spline instance with the X and Y path data. Additional spline data arrays can be added later on. Note that the interpolated spline points are calculated immediately, so this can be time consuming! | public Spline(double[] xs, double[] ys) {
if (xs.length == 0 || xs.length != ys.length)
throw new IllegalArgumentException("Array sizes equal to zero or do not match!");
pointData = new ArrayList<double[]>();
splineData = new ArrayList<double[]>();
intData = new ArrayList<dou... | [
"public static Spline createCubicSpline(double[] x, double[] y) {\n if (x == null || y == null || x.length != y.length || x.length < 2) {\n throw new IllegalArgumentException(\"There must be at least two control \"\n + \"points and the arrays must be of equal length.\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
launch a manager machine instances params: managerArn with EC2, S3, SQS permissions returns: the manager instance | public Instance launchManager_EC2Instance(String managerArn, String userDataPath) throws IOException {
if(Constants.DEBUG_MODE){
Runnable manager = new RunnableManager();
Thread managerThread = new Thread(manager);
managerThread.setName("Manager-Thread");
managerT... | [
"private static void runManagerInstance() {\n\t\tFilter tagFilter = new Filter(\"tag:Type\", Arrays.asList(\"Manager\"));\n Filter stateFilter = new Filter(\"instance-state-name\", Arrays.asList(\"stopped\", \"pending\", \"running\"));\n \n DescribeInstancesResult response = ec2.describeInstanc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
SQL query of all values in Guest table | public ResultSet queryAll() throws SQLException
{
String sql = "SELECT * FROM Guest";
Statement stat = conn.createStatement();
ResultSet result = stat.executeQuery(sql);
return result;
} | [
"public List<Guest> getAllGuests() {\n TypedQuery<Guest> query =\n em.createQuery(\"SELECT g FROM Guest g ORDER BY g.id\", Guest.class);\n return query.getResultList();\n }",
"public ArrayList<User> showAllGuests() throws Exception {\n // String sql = \"SELECT * FROM event_guest_list... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Update the toggle status of the main collection container if all the contained ElementView have the same one | void updateCommonToggleStatus(boolean shown); | [
"private void updateOnScreenCheckedViews() {\n final int firstPos = mFirstPosition;\n final int count = getChildCount();\n final boolean useActivated = getContext().getApplicationInfo().targetSdkVersion\n >= android.os.Build.VERSION_CODES.HONEYCOMB;\n for (int i = 0; i < c... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Stop all sound associated with a key. | public void stop(Object key) {
initKeyIfNeeded(key);
keyToSounds.get(key).forEach((s, sound) -> sound.stop());
keyToSounds.get(key).clear();
} | [
"public void stop(String key) {\n\t\t// Get the active sound for the key\n\t\tif (!actives.containsKey(key)) {\n\t\t\t//System.out.println(\"Returned\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tActiveSound snd = actives.get(key);\n\t\t\n\t\t// This is a workaround for the OS X sound bug\n\t\t//snd.sound.stop(snd.id);\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'Import Declaration'. | ImportDeclaration createImportDeclaration(); | [
"ImportDefinition createImportDefinition();",
"public Import createImport();",
"Import createImport();",
"ImportStatement createImportStatement();",
"private String importDeclaration()\r\n {\r\n String handle;\r\n\r\n matchKeyword(Keyword.IMPORTSY);\r\n handle = nextToken.string;\r\n matc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XParenthesizedExpression__Group__2" $ANTLR start "rule__XParenthesizedExpression__Group__2__Impl" ../com.avaloq.tools.dslsdk.check.ui/srcgen/com/avaloq/tools/dslsdk/check/ui/contentassist/antlr/internal/InternalCheck.g:11860:1: rule__XParenthesizedExpression__Group__2__Impl : ( ')' ) ; | public final void rule__XParenthesizedExpression__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../com.avaloq.tools.dslsdk.check.ui/src-gen/com/avaloq/tools/dslsdk/check/ui/contentassist/antlr/internal/InternalCheck.g:11864:1: (... | [
"public final void rule__XParenthesizedExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxcore.ui/src-gen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:8627:1... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
public void createInvoiceConcept(InvoiceConcept invcon) | public InvoiceConcept createInvoiceConcept(InvoiceConcept invcon) {
double cost = 0.0;
double tax = 0.0;
double retention = 0.0;
this.siigoFunctions = new SiigoFunctions(this.getEntityManager());
InvoiceConcept invConceptCreditNote = new InvoiceConcept();
invConceptCreditNote = (InvoiceConcept) invc... | [
"public Invoice createInvoice(Order order);",
"InvoiceSpecification createInvoiceSpecification();",
"@PostMapping(\"/invoices\")\n\tpublic ResponseEntity<Invoice> createInvoice(@RequestBody Invoice invoice) throws URISyntaxException {\n\t\tlog.debug(\"REST request to save Invoice : {}\", invoice);\n\t\tif (invo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__StringExp__SegmentsAssignment" $ANTLR start "rule__BooleanExp__SymbolAssignment_0" InternalOCLlite.g:11520:1: rule__BooleanExp__SymbolAssignment_0 : ( ( 'true' ) ) ; | public final void rule__BooleanExp__SymbolAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalOCLlite.g:11524:1: ( ( ( 'true' ) ) )
// InternalOCLlite.g:11525:2: ( ( 'true' ) )
{
// InternalOCLlite.g:... | [
"public final void rule__BooleanExp__SymbolAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalOCLlite.g:11543:1: ( ( ( 'false' ) ) )\n // InternalOCLlite.g:11544:2: ( ( 'false' ) )\n {\n // ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Build the rows from the rowTemplate passed in. This method uses regex to locate pieces of the row that need to be replaced with row specific content per row. | public void buildRows(View view, String rowTemplate, UifFormBase model) {
if (StringUtils.isBlank(rowTemplate)) {
return;
}
rowTemplate = StringUtils.removeEnd(rowTemplate, ",");
rowTemplate = rowTemplate.replace("\n", "");
rowTemplate = rowTemplate.replace("\... | [
"public WikiTable parseTable2(String content) throws ColRowSpanException\n {\n //System.out.println(\"\");\n //System.out.println(\"\");\n //System.out.println(\"\");\n try\n {\n content = content.trim();\n if(content.length() < 10) return null;\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns Web Feed metadata respective to the provided identifier. The callback will receive `null` if no matching recommended or followed Web Feed is found. | public void getWebFeedMetadata(String webFeedId, Callback<WebFeedMetadata> callback) {
// TODO(crbug/1152592): replace mock implementation.
boolean hasMetadata = sRandom.nextBoolean();
WebFeedMetadata metadata = hasMetadata ? new WebFeedMetadata() : null;
PostTask.postTask(UiThreadTaskTr... | [
"FeedData getFeedData(FeedIdentifier feedIdentifier);",
"private void extractMetadata(String identifier)\r\n {\r\n\r\n if (isStringNull(identifier)) { throw new IllegalArgumentException(String.format(\r\n Messagesl18n.getString(\"ErrorCodeRegistry.GENERAL_INVALID_ARG_NULL\"), \"Nodeidenti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the question ID of this f a q category question. | @Override
public void setQuestionId(long questionId) {
_faqCategoryQuestion.setQuestionId(questionId);
} | [
"public void setIdQuestion(int aIdQuestion){\n\t\tthis.idQuestion=aIdQuestion;\n\t}",
"public void setIdQuestion(int value) {\n this.idQuestion = value;\n }",
"@Override\n\tpublic void setId(long id) {\n\t\t_faqCategoryQuestion.setId(id);\n\t}",
"@Override\n\tpublic void setCategoryId(long categoryI... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Processes the HTTP Get request by dispatching it to a ServletForm. The specific ServletForm is determined by the requested url. This ServletApp uses a ServletFormFactory to parse the url and return the appropriate ServletForm to service the request. The request is simply passed to the ServletForm. After the request is ... | public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// Determine the Presentation Manager
try {
ServletForm form = factory.createServletForm(request.getPathInfo());
try {
form.doGet(request, response);
}
catch (Except... | [
"public abstract void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException;",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{\r\n\t perForm(request,response);\r\n\t}",
"@Override\r\n\tprotected void d... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get all the HTTP cookies in the session | Cookie[] getCookies(); | [
"@NonNull Collection<HttpCookie> cookies();",
"public List<Cookie> getCookies() {\n return header.getCookies();\n }",
"public List<HttpCookie> getCookies()\n\t{\n\t\tCookieStore cookieStore = getCookieStore();\n\t\tif(cookieStore == null)\n\t\t{\n\t\t\treturn new ArrayList<HttpCookie>();\n\t\t}\n\n\t\tre... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the activity roles as a comma delimited string. | String getActivityRolesAsString(); | [
"public String[] getListaRolesAsString() {\n\t\tString[] roles = new String[listaRoles.size()];\n\t\tIterator<Rol> it = listaRoles.iterator();\n\t\tint n = 0;\n\t\twhile (it.hasNext()) {\n\t\t\troles[n++] = it.next().getDescripcion();\n\t\t}\n\t\treturn roles;\n\t}",
"public static String getAccountRoles() {\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Query that takes category.tag and sum(amount) as amount.record where tag_id = category.id and groups by tag_id. Returns a List of the Display subclass for proper toString() display. | @Query("SELECT category.tag, sum(amount) as amount FROM record, category WHERE tag_id = category.id GROUP BY tag_id")
List<Record.Display> getSums(); | [
"@Query(\"SELECT category.tag, record.amount, record.info FROM record INNER JOIN category ON record.tag_id = category.id WHERE record.amount != 0.00\")\n List<Record.Display> getSummary();",
"List<ContentSum> findAll();",
"public List<BudgetTotals> getBudgetTotals() throws SQLException{\n BudgetTotals f... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get debug useful info. | public abstract String getDebugInfo(); | [
"java.lang.String getDebugInformation();",
"public void debugDump() {\n if (logger.isDebugEnabled()) {\n logger.debug(\"Command : {}\", getCommandString());\n logger.debug(\"System Return Code: {}\", getRc());\n logger.debug(\"Start time: {}\", getStartTime());\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Find alert by code. | public Alerts findByCode(Long code) {
Alerts saveAlert = alertsRepository.findOne(code);
if (saveAlert == null) {
throw new EmptyResultDataAccessException(1);
}
return saveAlert;
} | [
"public Alert findAlertByNameCode(String name, String code);",
"public Event getEventFromCode(String code) {\r\n // Gets the events collection and creates a query string for the event code\r\n MongoCollection<Document> events = mongoDB.getCollection(\"Events\");\r\n Document query = new Docum... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated for supporting the relationship role named localizacion. It will be deleted/edited when the relationship is deleted/edited. | public void setLocalizacion(java.util.Collection aLocalizacion); | [
"public void setLocalidad(String localidad) {\n this.localidad = localidad;\n }",
"public interface Regla_area_ges_cod_estadoLocal\n\textends javax.ejb.EJBLocalObject {\n\t/**\n\t * This method was generated for supporting the relationship role named area_gestion.\n\t * It will be deleted/edited when th... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create an instance of PreKddComponentDefinition | public javabramining.core.parser.generated.PreKddComponentDefinition createPreKddComponentDefinition()
throws javax.xml.bind.JAXBException
{
return new javabramining.core.parser.generated.impl.PreKddComponentDefinitionImpl();
} | [
"public javabramining.core.parser.generated.PosKddComponentDefinition createPosKddComponentDefinition()\n throws javax.xml.bind.JAXBException\n {\n return new javabramining.core.parser.generated.impl.PosKddComponentDefinitionImpl();\n }",
"public javabramining.core.parser.generated.MinKddCompo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
stages null. Used whenever the currently staged item was removed/equipped /sold | public void unstageItem() {
if (!stagedItemEmpty) {
stagedItem = null;
stagedItemSlotNum = 0;
stagedItemEmpty = true;
draw();
}
} | [
"public void stageItem(int slotNum) {\n stagedItemSlotNum = slotNum;\n logger.debug(\"Item is staged\");\n if (!(selectedInventory.checkIfItemInSlot(slotNum))) {\n logger.debug(\"Item in the slot is empty\");\n stagedItem = null;\n } else {\n logger.debug... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
We receive store files sorted in ascending order by seqId then scan the list of files. If the current file has a maxTimestamp older than last known maximum, treat this file as it carries the last known maximum. This way both seqId and timestamp are in the same order. If files carry the same maxTimestamps, they are orde... | private static List<ArrayList<StoreFile>> partitionFilesToBuckets(Iterable<StoreFile> storeFiles,
long baseWindowSizeMillis, int windowsPerTier, long now) {
List<ArrayList<StoreFile>> buckets = Lists.newArrayList();
Window window = getInitialWindow(now, baseWindowSizeMillis);
List<Pair<StoreFile, Lon... | [
"private Iterable<File> findUpdateFilesAfter(long minimumLastModified) {\r\n\t\t String dataFileName = dataFile.getName();\r\n\t\t int period = dataFileName.indexOf('.');\r\n\t\t String startName = period < 0 ? dataFileName : dataFileName.substring(0, period);\r\n\t\t File parentDir = dataFile.getParent... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds the photo to tag map. | private void addPhotoToTagMap(Map<String, Set<Photo>> map, String tag, Photo photo){
tag = tag.substring(0, 1).toUpperCase() + tag.substring(1).toLowerCase();
Set<Photo> set = map.get(tag);
if (set == null){
set = new HashSet<>();
}
set.add(photo);
map.put(tag, set);
} | [
"public void addPhoto(){\n\t\t\n\t}",
"public void addPhoto(Photo p){\n getPhotos().add(p);\n }",
"protected Place addPhoto(String photo) {\n this.photoRef = photo;\n return this;\n }",
"public void addPhoto(RecipePhoto photo) {\r\n\t\tif(hasPhoto == false) hasPhoto = true;\r\n\t\tt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of noscanner | public void setNoscanner(boolean argNoscanner) {
this.noscanner = argNoscanner;
} | [
"public boolean isNoscanner() {\n return this.noscanner;\n }",
"public void setNscan(Integer nscan) {\r\n this.nscan = nscan;\r\n }",
"public void notScanning()\n\t{\n\t\tstud.notScanning();\n\t}",
"@Override\n public void setScan(Scan scan) {\n this.scan = scan;\n }",
"publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Runs adaptor (with the hospital as exceptionProcessor) with nodes that should not throw any exceptions. Ensures the hospital is empty. | public void testHospitalIsEmpty2() throws Exception{
SystemTestUtil.runAdaptor(this, RESOURCE_LOCATION, HOSPITAL_WRITER_1);
verifyHospitalIsEmpty();
} | [
"private void failureDetectorTask() {\n\n CorfuRuntime corfuRuntime = getCorfuRuntime();\n corfuRuntime.invalidateLayout();\n\n // Fetch the latest layout view through the runtime.\n safeUpdateLayout(corfuRuntime.getLayoutView().getLayout());\n\n // Execute the failure detection p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Processes the activity node. | private void processActivityNode(Attributes attributes) {
// lets get the activity name, and add it to the list
String activityName = getAttributeValue(attributes,
AndroidManifest.ATTRIBUTE_NAME, true /* hasNamespace */);
if (activityName != null) {
activityName = AndroidManifest.combinePackageAndClas... | [
"public void postActivity(String activityType, String siteId, String appTool, NodeRef nodeRef);",
"public void postActivity(String activityType, String siteId, String appTool, NodeRef nodeRef, String name, QName typeQName, NodeRef parentNodeRef);",
"public void postActivity(String activityType, String siteId, ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Connects two nodes with a standard element by index | protected int connectNodes(int index1, int index2){
ELEMENT_COUNT++;
//Section
HollowCircleS c = model.createSection(ELEMENT_COUNT, baseRealtable.TYPE, Beam3D.TYPE);
c.setDiameter(baseRealtable.getDiameter());
c.setWTK(baseRealtable.getWTK());
//Create a new element
model.createElement(ELEMENT_COUNT, Beam... | [
"public void connectNodesByIndex(int origin, int dest) {\r\n\t\tNode originNode = getNode(origin);\r\n\t\tNode destNode = getNode(dest);\r\n\t\tthis.connectNodes(originNode, destNode);\r\n\t}",
"public Edge(Node a, Node b, int index) { \n\t\tthis.first=a; \n\t\tthis.second=b;\n\t}",
"public abstract void connec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the startNo value for this GenerateReceiptIssueSubVO. | public void setStartNo(java.lang.String startNo) {
this.startNo = startNo;
} | [
"public java.lang.String getStartNo() {\n return startNo;\n }",
"public void setGrnStartNo (java.lang.String grnStartNo) {\n\t\tthis.grnStartNo = grnStartNo;\n\t}",
"public AuditQuery setStartRowNum(int value) {\n this.startRowNum = value;\n return this;\n }",
"public void setStart_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inflate a view using layout inflater to inflate the fragment_survey_template.xml file | @Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.fragment_main, container, false);
// initialize buttons
createSurveyButton = (Button) v.findViewById(R.id.create_survey_button);
... | [
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_assessment, container, false);\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Finds all the e s trial shot datas where playerId = &63;. | public List<ESTrialShotData> findByG_TrialShotData(long playerId)
throws SystemException {
return findByG_TrialShotData(playerId, QueryUtil.ALL_POS,
QueryUtil.ALL_POS, null);
} | [
"public VwStatsPerGame[] findWherePlayerIdEquals(int playerId) throws VwStatsPerGameDaoException\n\t{\n\t\treturn findByDynamicSelect( SQL_SELECT + \" WHERE player_id = ? ORDER BY player_id\", new Object[] { new Integer(playerId) } );\n\t}",
"public int countByG_TrialShotData(long playerId) throws SystemExceptio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
and cst_add_time >= ? | public M cstAddTimeStart(Object start){this.put("cstAddTimeStart", start);return this;} | [
"public void setCscAddTime(Date cscAddTime) {\n this.cscAddTime = cscAddTime;\n }",
"public M csoqAddTimeStart(Object start){this.put(\"csoqAddTimeStart\", start);return this;}",
"public M cspAddTimeStart(Object start){this.put(\"cspAddTimeStart\", start);return this;}",
"public void setAdd_time(Int... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
When was the BlackLab.jar used for indexing built? | String indexBlackLabVersion(); | [
"String indexBlackLabBuildTime();",
"public interface IndexMetadata extends Freezable<IndexMetadata> {\n\t\n\tAnnotatedFields annotatedFields();\n\t\n\tdefault AnnotatedField mainAnnotatedField() {\n\t return annotatedFields().main();\n\t}\n\t\n default AnnotatedField annotatedField(String name) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a shape given a center with angle 0 | public Shape(Point center){
this(center,0);
} | [
"public Shape()\n {\n this(Anchor.CENTER.anchoredAt(Anchor.CENTER.ofView()).sized(100, 100));\n }",
"Shape createShape();",
"Ellipse createEllipse();",
"public Shape(Point center, double theta){\n\t\tthis.center = center;\n\t\tthis.theta = theta;\n\t}",
"Angle createAngle();",
"private Pol... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Is capable of VirtIO drive hot unplug (no reboot required). This works only for nonWindows virtual Machines. | @javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "Is capable of Virt-IO drive hot unplug (no reboot required). This works only for non-Windows virtual Machines.")
public Boolean getDiscVirtioHotUnplug() {
return discVirtioHotUnplug;
} | [
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"true\", value = \"Is capable of SCSI drive hot unplug (no reboot required). This works only for non-Windows virtual Machines.\")\n\n public Boolean getDiscScsiHotUnplug() {\n return discScsiHotUnplug;\n }",
"public java.lang.Boolean getNicHotUnPlug... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Provider for invalid programs. | private static Stream<Arguments> invalidProgramProvider()
{
return Stream.of(
Arguments.of("class {};"),
Arguments.of("class main {};"),
Arguments.of("class A { }"),
Arguments.of("class A { a : B; };"),
Arguments.of("class A inherits B {};"),
Arguments.of("class Main inherits B {\n" +
" i... | [
"@Test\r\n\tvoid test2PlayersMissingProgram() { \r\n\t\tinputHandler = new ReadCommands(new File(\"tests\\\\ReadCommands\\\\2players-missing-program.prg\"), acceptedUserInputs, true);\r\n\t\tif(!inputHandler.getTestingErrorHasOccurred()) {\r\n\t\t\tfail(\"Not yet implemented\");\r\n\t\t}\r\n\t}",
"void disableFor... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds a group of dependent drops to this drop, meaning that the truth of all the added dependent drops relies upon the truth of this drop. This method makes this drop a deponent for each of the dependent drops. | public final void addDependents(Collection<? extends Drop> dependents) {
synchronized (f_seaLock) {
if (!f_valid || dependents == null) {
return;
}
for (Drop drop : dependents) {
addDependent(drop);
}
}
} | [
"public final void addDeponents(Collection<? extends Drop> deponents) {\r\n synchronized (f_seaLock) {\r\n if (!f_valid || f_dependents == null) {\r\n return;\r\n }\r\n for (Drop drop : deponents) {\r\n drop.addDependent(this);\r\n }\r\n }\r\n }",
"public final void addDep... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if is employee primary assigned to station. | private boolean isEmployeePrimaryAssignedToStation(long stationId, EmployeeStatusModel employee) {
if (employee == null || employee.getStationIds() == null) {
return false;
}
for (long employeeStationId : employee.getStationIds()) {
if (stationId == employeeStationId) {
return true;
... | [
"public boolean isPrimaryAddress() {\n return ((identifyingAddressIndicator != null && identifyingAddressIndicator.equals(Constants.TRUE)) ? true : false);\n }",
"private boolean canEmployeeWorkInStation(long stationId, Date date, EmployeeStatusModel employee, List<RuleBaseEntity> rules) {\n if (is... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inserta un objeto de heroe en la tabla heroe | public void insertaHeroe(Heroe heroe){
try {
String sql = "INSERT INTO heroe(nombre, estatura, peso, nivel_poder, energia) ";
sql += "VALUES(?, ?, ?, ?, ?)";
PreparedStatement ps = this.conn.prepareStatement(sql);
ps.setString(1, heroe.ge... | [
"private void addHero()\n {\n // Initial horizontal position\n int initialX = TILE_SIZE;\n\n // Instantiate the hero object\n theHero = new Hero(initialX);\n\n // Add hero in bottom left corner of screen\n addObject(theHero, initialX, 8 * TILE_SIZE);\n }",
"private ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Training procedure construction a time series tree using the given input data. | @Override
public TimeSeriesForestClassifier call()
throws InterruptedException, AlgorithmExecutionCanceledException, TimeoutException, AlgorithmException {
TimeSeriesDataset dataset = this.getInput();
// Perform Training
final TimeSeriesTree[] trees = new TimeSeriesTree[this.numTrees];
ExecutorService... | [
"@Override\n public void train(final PreprocessedData ppd) {\n final HashMap attributes = ppd.getAttributes();\n // choose target - assuming that target is a last column\n final Attribute targetAttribute = (Attribute) attributes.get(ppd.getTargetName());\n final List<CSVRecord> dataSe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use BeginSeatWorkTestingResponse.newBuilder() to construct. | private BeginSeatWorkTestingResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | [
"private BeginSeatWorkTestingRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private SendSeatWorkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private SearchSeatWorksResponse(com.google.protobuf.Genera... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Given 2 strings, a and b, return a new string made of the first char of a and the last | public String lastChars(String a,String b) {
String result="";
int la=a.length(), lb=b.length();
if (la>0 && lb>0) {
result=a.substring(0,1)+b.substring(lb-1,lb);
}
if (la<=0 && lb<=0) {
result="@@";
} else if (lb<=0) {
result=a.substring(0,1)+"@";
} else if (la<=0) {
... | [
"public String lastChars(String a, String b) {\n\t\tif(a.length() == 0) {\n\t\t\ta = \"@\";\n\t\t} \n\t\t\n\t\tif(b.length() == 0) {\n\t\t\tb = \"@\";\n\t\t}\n\t\t\n\t\treturn a.charAt(0) + \"\" + b.charAt(b.length()-1);\n\t}",
"public String nonStart(String a, String b) {\n String result = a.substring (1,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the level of this code dto. | @Override
public java.lang.Integer getLevel() {
return _codeDto.getLevel();
} | [
"public String getLevel() {\n return getAttribute(ATTRIBUTE_LEVEL);\n }",
"public Integer getCodeLevel() {\n return codeLevel;\n }",
"public Long getLevel() {\r\n return (Long) getAttributeInternal(LEVEL);\r\n }",
"public String getLevelType() {\n return levelType;\n }"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method gets active user by mobileNumber | @Query("SELECT u FROM User u WHERE u.mobileNumber = ?1 and u.isActive = 1")
User findActiveUserByMobileNumber(String mobileNumber); | [
"public String getUserMobileNumber() {\n return userMobileNumber;\n }",
"public String getUserMobile() {\n return userMobile;\n }",
"public User getUserByActivationCode(String activationCode) throws UserManagementException;",
"String getUserIdByPhone(String phone);",
"@Override\n publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
repeated .swisschain.sirius.vaultApi.transferValidationRequests.TransferValidationRequest requests = 1; | io.swisschain.sirius.vaultApi.generated.transferValidationRequests.TransferValidationRequestsOuterClass.TransferValidationRequest getRequests(int index); | [
"io.swisschain.sirius.vaultApi.generated.transferValidationRequests.TransferValidationRequestsOuterClass.TransferValidationRequestOrBuilder getRequestsOrBuilder(\n int index);",
"@java.lang.Override\n public io.swisschain.sirius.vaultApi.generated.transferValidationRequests.TransferValidationRequestsOut... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/============================================================================ Function : FuzzifyDistance Params : fltDistance > The value of distance. strMembership > Returns : dblFuzzyDistance Description: This is the function where the necessary methods will be executed. ==============================================... | public double FuzzifyDistance(float fltDistance, String strMembership) {
//======================== Initialization ========================//
double dblFuzzyDistance = 0;
//================================================================//
//========================== Code Body ===================... | [
"@Test\n\tpublic void evalCrispDistanceWithFuzzyNumberOverlap1(){\n\t\tFuzzySet res = cs4.distance(dfn2);\n\t\tassertTrue(res instanceof FuzzyInterval);\n\t\tFuzzyInterval fuzzyRes = (FuzzyInterval)res;\n\t\t//Puntos limite\n\t\tassertTrue(fuzzyRes.getMembershipValue(0)==1);\n\t\tassertTrue(fuzzyRes.getMembershipVa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
computes the X coordinate of the upper left corner of a rectangle (represented as a Dimension) in a Bounding Box, when positioned just off the Left edge of the Bounding Box. | final static int xOffLeft(Rectangle limits, Dimension box) {
return limits.x + (limits.width / 4);
} | [
"final static int xLeft(Rectangle limits, Dimension box) {\n return limits.x + 1;\n }",
"public double getBoundingBoxLeft() {\n return boundingBoxLeft;\n }",
"public int getXLeftBound(){\n\t\treturn this.xLeftBound;\n\t}",
"public float getLowerLeftX()\n {\n return ((COSNumber)rectArra... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor del explorador en un directorio dado | public Explorador(String nombreDirectorio) {
// Define el directorio actual en la ruta definida que llega como parámetro
dirActual = new Directorio(nombreDirectorio);
actualizarInformacion();
} | [
"private Directories() {\n\n\t}",
"public Directory() {\n m_directory = new File(\".\");\n }",
"public CustomDirectoryFactory(){\n\t\tsuper();\n\t}",
"public Converter () {\n File dirOutput = new File(System.getProperty(\"user.dir\")+File.separator+\"output\");\n dirOutput.mkdirs();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column PACK_PACKAGES.pack_person | public void setPackPerson(String packPerson) {
this.packPerson = packPerson;
} | [
"public String getPackPerson() {\r\n\t\treturn packPerson;\r\n\t}",
"protected abstract void setChosenPackage(String chosenPackage);",
"public void setPerson(String person) {\n this.person = person;\n }",
"@Property(\"PackageType\")\r\n public abstract void setPackageType(String packageType);",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Mutator method for setting extends SQLEngine. | public void setExtends(final SQLEngine engine) {
_extends = engine;
} | [
"void set(Connection connection);",
"void setConnection(Connection con);",
"public abstract void setEncryptMode();",
"@SuppressWarnings(\"unchecked\")\n default void setUnderlyingSMREngine(ISMREngine<U> engine) {\n engineMap.put(this, engine);\n }",
"public void setSocket(SocketWrapper socket);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set Max Defrost Set Max Defrost | @Headers({
"Content-Type:application/json"
})
@POST("api/1/vehicles/{vehicle_id}/command/set_preconditioning_max")
Call<CommandResponse> setMaxDefrost(
@retrofit2.http.Body MaxDefrostRequest body, @retrofit2.http.Path("vehicle_id") String vehicleId
); | [
"public void setMaxAlturaCM(float max);",
"public static void setMaxDamage(int maxdamage) {\n\t\tif(maxdamage >= Monster.getMinDamage())\n\t\t\tMonster.MaxDamage = maxdamage;\n\t\telse\n\t\t\tMonster.MaxDamage = Monster.getMinDamage();\n\t}",
"private void setMaxLoss(float maxloss) \n\t{\n\t\tif (Math.abs(maxlo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ This candidate constructor initializes the Student fields to the values of the input paremeters canName, canAge, and canParty. | public Candidate(String canName, String canAge, String canParty, String isList)
{
canName = name;
canAge = age;
canParty = party;
isList = issueList;
} | [
"public Student(int idNo, String last, String first, char gen, String birthDate, String major){\n\n this.id=idNo;\n this.nameLast=last;\n this.nameFirst=first;\n this.gender=gen;\n this.dob=birthDate;\n this.major=major;\n\n }",
"public Student(String name, int age, String gender, String idNum,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the message window. Thanks to Lesstra for adding the borderlayout for nicer looking by resizing this window. | public Window getMsgWindow() {
int msgHeight = 260;
// if null, create the MessageWindow
if (msgWindow == null) {
msgWindow = new Window();
msgWindow.setId("msgWindow");
msgWindow.setTitle("Messages");
msgWindow.setSizable(true);
msgWindow.setClosable(true);
msgWindow.setWidth("400p... | [
"public static MessagePane getMessagePane() {\n\t\tif (messagePane == null) {\n\t\t\tinitScene();\n\t\t}\n\t\treturn messagePane;\n\t}",
"public String getWinMessage() {\r\n return this.winMessage;\r\n }",
"private JPanel messagePanel() {\r\n\t\tJPanel panel = new JPanel();\r\n\t\tJTextPane textPaneMe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
disconnect OfferApproval with department in Employee | protected OfferApproval breakWithEmployeeByDepartment(RetailscmUserContext userContext, String offerApprovalId, String departmentId, String [] tokensExpr)
throws Exception{
//TODO add check code here
OfferApproval offerApproval = loadOfferApproval(userContext, offerApprovalId, allTokens());
synchr... | [
"public boolean deActivateEmployee(String employeeId);",
"void declineInvitation(String eventId);",
"private void deactivateOldEmploymentPeriod(EmploymentPeriod ep) {\r\n EmploymentPeriodPersistence mepp = new EmploymentPeriodPersistence();\r\n mepp.deactivateEmploymentPeriod(ep);\r\n }",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Writes the node IDs of all nodes in the flattened tree into a map. | private static void getNodeIds(final ConditionNode root,
final Map<ConditionNode, Integer> map) {
map.put(root, map.size());
for (final ConditionNode child : root.getChildren()) {
getNodeIds(child, map);
}
} | [
"public Map<Node, Node> getIdoms() {\n\t\treturn this.idom;\n\t}",
"public Map<String, INode> getNodeMap() {\n\n return Collections.unmodifiableMap(nodeMap);\n }",
"private Map<String, Node> getNodeXmlIdTable() {\n\n if (this.nodeXmlIdTable == null) {\n this.nodeXmlIdTable = new Hash... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the AvailableSince field. The time after which the work item can be tried. Must be null on failed work items | @gw.internal.gosu.parser.ExtendedProperty
public java.math.BigDecimal getAvailableSince() {
return (java.math.BigDecimal)__getInternalInterface().getFieldValue(AVAILABLESINCE_PROP.get());
} | [
"public java.util.Date getAvailableSinceAsDate() {\n return ((com.guidewire.pl.domain.workqueue.WorkItemPublicMethods)__getDelegateManager().getImplementation(\"com.guidewire.pl.domain.workqueue.WorkItemPublicMethods\")).getAvailableSinceAsDate();\n }",
"public java.util.Date getAvailableSinceAsDate() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Write a double precision floating point value into the parcel at the current dataPosition(), growing dataCapacity() if needed. | public final void writeDouble(double val) {
throw new IllegalStateException("unimplemented");
} | [
"public Buffer putDouble(double value);",
"void writeDouble(double value);",
"BigByteBuffer putDouble(double value);",
"public abstract void writeAsDbl(int offset, double d);",
"public Buffer putDouble(int index, double value);",
"void writeDouble(double v) throws IOException;",
"void writeFloat(float v... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initializes a new TagIndex. | public TagIndex() {
this.allTags = new HashSet<>();
} | [
"public OlcDbIndex()\n {\n }",
"public SimpleIndexFactory() {\n\t}",
"public Index() {\n\t\t\n\t}",
"public NRIndexer2() { }",
"public Indexer() {\n }",
"public Indexer() {\n\t\tindex = new HashedIndex();\n\t\tlongIndex = new HashedIndex();\n\t}",
"public void init() throws IOException {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the filter profile messages received while members cache profile exchange was in progress. | public List getQueuedFilterProfileMsgs(InternalDistributedMember member) {
synchronized (filterProfileMsgQueue) {
if (filterProfileMsgQueue.containsKey(member)) {
return new LinkedList(filterProfileMsgQueue.get(member));
}
}
return Collections.emptyList();
} | [
"public List removeQueuedFilterProfileMsgs(InternalDistributedMember member) {\n synchronized (filterProfileMsgQueue) {\n if (filterProfileMsgQueue.containsKey(member)) {\n return new LinkedList(filterProfileMsgQueue.remove(member));\n }\n }\n return Collections.emptyList();\n }",
"publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates new form FrmInicioSesion | public FrmInicioSesion() {
initComponents();
} | [
"public FrmInicio() {\n initComponents();\n }",
"public frm_registro_admision_ingreso_registro() {\n }",
"public Frm_Inicio() {\n initComponents();\n }",
"public FrmCrearEmpleado() {\n initComponents();\n tFecha.setDate(new Date());\n }",
"public FrmNuevoEmpleado() {\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
grow is called when we need more nodes in the table. it first will try to make more room by a garbage collection. if that fails, the node table is resized | protected void grow() {
// if we have no dead nodes, we dont bother to collect garbage,
// but the dead-node counter is bot always accurate
if(dead_nodes > 0 || table_size > Configuration.nodetableSimpleDeadcountThreshold) {
int got = gc(false);
dead_nodes = 0;
// we might have had DEAD NODES, but tha... | [
"void growCells() {\n for (Cell cell : cells) {\n cell.grow();\n }\n }",
"private void resize() {\n if ((double) size / buckets.length > LOADFACTOR) {\n HashTableChained newTable = new HashTableChained(2 * buckets.length);\n for (int i = 0; i < buckets.leng... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a map of all the timers in the registry and their ids. | public SortedMap<MetricId, Timer> getTimers() {
return getTimers(MetricFilter.ALL);
} | [
"protected Map<String, Timer> getTimers() {\n return timers;\n }",
"public static Hashtable getTimersHashtable() {\r\n return _timers;\r\n }",
"public SortedMap<MetricId, Timer> getTimers(MetricFilter filter) {\n return getMetrics(Timer.class, filter);\n }",
"private SortedMap<Me... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Document__Group_10__0__Impl" $ANTLR start "rule__Document__Group_10__1" InternalMyDsl.g:13559:1: rule__Document__Group_10__1 : rule__Document__Group_10__1__Impl ; | public final void rule__Document__Group_10__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMyDsl.g:13563:1: ( rule__Document__Group_10__1__Impl )
// InternalMyDsl.g:13564:2: rule__Document__Group_10__1__Impl
{
... | [
"public final void rule__Document__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:13185:1: ( rule__Document__Group__0__Impl rule__Document__Group__1 )\n // InternalMyDsl.g:13186:2: rule__Document__Group__... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
From a given label in Model, returns the corresponding number Starts from first entity by Default, may start after a given number : this number may be given negative, its absolute value is then considered. Hence a loop on NumberFromLabel may be programmed (stop test is : returned value positive or null) Returns 0 if no... | public int NumberFromLabel(String val, int afternum) {
return OCCwrapJavaJNI.IFSelect_WorkSession_NumberFromLabel__SWIG_0(swigCPtr, this, val, afternum);
} | [
"private static long getImmediate(String label, ArrayList<LabelOffset> labels) {\n long imt = 0;\n for (LabelOffset curr : labels) {\n if (curr.label.equals(label)) {\n imt = curr.offset;\n }\n }\n return imt;\n }",
"public DrawStringObject\ngetN... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the CallID header (null if one does not exist) | public javax.sip.header.CallIdHeader getCallId()
{ return callIdHeader ; } | [
"public String getCallIdentifier() {\n return callIdHeader.getCallId();\n }",
"public Number getHeaderId() {\n return (Number) getAttributeInternal(HEADERID);\n }",
"public Number getHeaderId() {\n return (Number)getAttributeInternal(HEADERID);\n }",
"public java.lang.Integer getCall... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes the wsihash with the primary key from the database. Also notifies the appropriate model listeners. | public wsihash remove(long wsihashId) throws NoSuchwsihashException; | [
"public void removeByWsi(long wsiId);",
"public wsihash fetchByPrimaryKey(long wsihashId);",
"int removeByPrimaryKey(GenericPK primaryKey) throws GenericEntityException;",
"public ESTrialShotData remove(Serializable primaryKey)\n\t\tthrows NoSuchModelException, SystemException {\n\t\treturn remove(((Long)prim... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
POST /enquirys > Create a new enquiry. | @RequestMapping(value = "/enquirys",
method = RequestMethod.POST,
produces = MediaType.APPLICATION_JSON_VALUE)
@Timed
public ResponseEntity<Void> create(@Valid @RequestBody Enquiry enquiry) throws URISyntaxException {
log.debug("REST request to save Enquiry : {}", enquiry);
... | [
"@PostMapping(\"/addenquiry\")\r\n\tpublic String addEnquiry(@RequestBody Enquiry e)\r\n\t{\r\n\t\treturn es.addEnquiryData(e);\r\n\t}",
"IInquiry createInquiry(String description, String source);",
"org.hl7.fhir.Questionnaire addNewQuestionnaire();",
"@RequestMapping(value = \"/createInquiry\", method = Requ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__OpenCSV__Group__4__Impl" $ANTLR start "rule__OpenCSV__Group__5" InternalCsv.g:1353:1: rule__OpenCSV__Group__5 : rule__OpenCSV__Group__5__Impl rule__OpenCSV__Group__6 ; | public final void rule__OpenCSV__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalCsv.g:1357:1: ( rule__OpenCSV__Group__5__Impl rule__OpenCSV__Group__6 )
// InternalCsv.g:1358:2: rule__OpenCSV__Group__5__Impl rule__OpenCSV__G... | [
"public final void rule__OpenCSV__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCsv.g:1330:1: ( rule__OpenCSV__Group__4__Impl rule__OpenCSV__Group__5 )\n // InternalCsv.g:1331:2: rule__OpenCSV__Group__4__Impl ru... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |