query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Test case number: 24 /Coverage entropy=1.9102521673303827
@Test(timeout = 4000) public void test24() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); String string0 = "mn("; fBProcedureCall1.addParam(2, "mn("); fBProcedureCall0.equals(fBProcedureCall1); FBProcedureParam fBProcedureParam0 = new FBProcedureParam(); FBProcedureCall fBProcedureCall2 = new FBProcedureCall(); fBProcedureCall2.clone(); fBProcedureCall2.clone(); FBProcedureCall fBProcedureCall3 = new FBProcedureCall(); FBProcedureCall fBProcedureCall4 = new FBProcedureCall(); fBProcedureCall4.clone(); try { fBProcedureCall3.registerOutParam(3674, 3674); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Cannot find parameter with the specified position. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73894846", "0.72570306", "0.6971041", "0.6914302", "0.69097257", "0.6902295", "0.6901109", "0.6875403", "0.68446016", "0.6839118", "0.6816335", "0.6812971", "0.67888266", "0.6775035", "0.6768184", "0.6760446", "0.67487085", "0.6735191", "0.67199534", "0.67060894", "0.66972...
0.0
-1
Test case number: 25 /Coverage entropy=1.7562764023249788
@Test(timeout = 4000) public void test25() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3674, "250"); String string0 = "oyA6@hY>6JL<<"; FBProcedureParam fBProcedureParam1 = fBProcedureCall0.addParam(3674, "oyA6@hY>6JL<<"); fBProcedureParam1.clone(); fBProcedureCall0.addOutputParam(fBProcedureParam1); fBProcedureCall0.addParam(3674, "250"); FBProcedureParam fBProcedureParam2 = new FBProcedureParam(1726, "250"); fBProcedureParam2.clone(); fBProcedureParam0.setType(45); fBProcedureCall0.addOutputParam(fBProcedureParam2); fBProcedureCall0.addInputParam(fBProcedureParam0); fBProcedureCall0.getOutputParam(1726); int int0 = (-1587); // Undeclared exception! fBProcedureCall0.registerOutParam(3674, (-1587)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.74381286", "0.72133476", "0.70844775", "0.7000327", "0.6914766", "0.68715096", "0.6860318", "0.6843772", "0.68393004", "0.68211573", "0.68173265", "0.6814283", "0.68084526", "0.6788443", "0.67704445", "0.675509", "0.6710046", "0.6701595", "0.66932535", "0.66815114", "0.662...
0.0
-1
Test case number: 26 /Coverage entropy=1.7740376442826762
@Test(timeout = 4000) public void test26() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3, "FgZRnc2Yp%jU?C2`8"); fBProcedureParam0.setIndex(3); fBProcedureCall0.getSQL(false); fBProcedureParam0.setType(3); fBProcedureCall0.addInputParam(fBProcedureParam0); fBProcedureParam0.setValue("FgZRnc2Yp%jU?C2`8"); fBProcedureParam0.setIndex(1861); fBProcedureParam0.setIndex(1861); fBProcedureParam0.setIndex(547); fBProcedureParam0.setIndex(887); fBProcedureParam0.setIndex(547); fBProcedureParam0.setIndex(1625); fBProcedureParam0.setIndex(1967); fBProcedureParam0.setIndex(1625); fBProcedureCall0.registerOutParam(1625, 749); fBProcedureCall0.addOutputParam(fBProcedureParam0); fBProcedureParam0.setIndex((-1384)); fBProcedureParam0.setIndex(0); fBProcedureParam0.setIndex(887); fBProcedureParam0.setIndex((-1832)); fBProcedureParam0.setIndex(1967); fBProcedureParam0.setIndex(18); assertEquals(749, fBProcedureParam0.getType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7452271", "0.7273936", "0.70332164", "0.6985934", "0.6975004", "0.6940081", "0.6915194", "0.68660235", "0.68543273", "0.68484205", "0.6829878", "0.67992693", "0.67562276", "0.6720169", "0.671388", "0.67023015", "0.668004", "0.6668531", "0.6646523", "0.66203105", "0.6617671...
0.0
-1
Test case number: 27 /Coverage entropy=1.6051472703821856
@Test(timeout = 4000) public void test27() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(1107, "HLB0f"); fBProcedureCall0.addOutputParam(fBProcedureParam0); FBProcedureParam fBProcedureParam1 = new FBProcedureParam(); FBProcedureParam fBProcedureParam2 = fBProcedureCall0.addParam(1107, "HLB0f"); fBProcedureParam2.setType((-2355)); fBProcedureParam0.setIndex((-2353)); fBProcedureParam2.setType((-2355)); fBProcedureParam0.setIndex(547); fBProcedureParam2.setIndex(1107); fBProcedureParam0.setIndex((-2355)); fBProcedureCall0.registerOutParam(1107, 1107); Object object0 = new Object(); fBProcedureCall0.addOutputParam(fBProcedureParam2); assertEquals(1107, fBProcedureParam2.getType()); assertEquals(1107, fBProcedureParam2.getPosition()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7518465", "0.7305784", "0.7199116", "0.70455366", "0.70257455", "0.6992488", "0.698772", "0.6959294", "0.69537586", "0.6942335", "0.69253165", "0.69155586", "0.6913563", "0.6905702", "0.6903903", "0.68951905", "0.6858974", "0.6812221", "0.6812084", "0.68099016", "0.6808414...
0.0
-1
Test case number: 28 /Coverage entropy=1.7782333057997075
@Test(timeout = 4000) public void test28() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); fBProcedureCall0.equals(fBProcedureCall0); FBProcedureParam fBProcedureParam0 = new FBProcedureParam(); fBProcedureCall0.clone(); fBProcedureCall0.clone(); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); FBProcedureCall fBProcedureCall2 = new FBProcedureCall(); fBProcedureCall2.clone(); try { fBProcedureCall1.registerOutParam(2, 2); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Cannot find parameter with the specified position. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.735849", "0.7226709", "0.70756906", "0.700543", "0.69363946", "0.6901635", "0.68817395", "0.6850388", "0.6831853", "0.6828552", "0.6805421", "0.68044776", "0.6777445", "0.67554504", "0.6731981", "0.6726512", "0.6725006", "0.67202026", "0.6719419", "0.6717747", "0.6683259",...
0.0
-1
Test case number: 29 /Coverage entropy=1.0547209169068124
@Test(timeout = 4000) public void test29() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(1993, ""); fBProcedureParam0.setType(1993); fBProcedureCall0.addOutputParam(fBProcedureParam0); assertEquals(1993, fBProcedureParam0.getPosition()); Object object14 = fBProcedureCall0.clone(); assertNotSame(fBProcedureCall0, object14); assertTrue(object14.equals((Object)fBProcedureCall0)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71924156", "0.7068558", "0.6978314", "0.68676126", "0.68330985", "0.68193746", "0.6795421", "0.6765078", "0.67583674", "0.67376876", "0.6736838", "0.6717859", "0.67168224", "0.6709816", "0.6680898", "0.6672961", "0.6646572", "0.66315186", "0.66179764", "0.6604376", "0.6544...
0.0
-1
Test case number: 30 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test30() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); String string0 = "GNz"; FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); Object object10 = new Object(); // Undeclared exception! try { fBProcedureCall0.addInputParam((FBProcedureParam) null); fail("Expecting exception: NullPointerException"); } catch(NullPointerException e) { // // no message in exception (getMessage() returned null) // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.754593", "0.72932154", "0.7175146", "0.71271354", "0.709498", "0.70635396", "0.705726", "0.6970957", "0.6958484", "0.69457513", "0.6920991", "0.69204324", "0.6910777", "0.68989414", "0.68954", "0.6848588", "0.68423903", "0.6804963", "0.6794195", "0.6791611", "0.6773266", ...
0.0
-1
Test case number: 31 /Coverage entropy=1.6460124172766666
@Test(timeout = 4000) public void test31() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); int int0 = 3; FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3, "^gZRnc2Y!%jU?C2`8"); fBProcedureCall0.getSQL(false); int int1 = 1625; fBProcedureCall0.addInputParam(fBProcedureParam0); fBProcedureParam0.setValue("^gZRnc2Y!%jU?C2`8"); fBProcedureParam0.setIndex(1861); int int2 = (-1384); fBProcedureParam0.setIndex(1861); fBProcedureParam0.setIndex(547); fBProcedureParam0.setIndex((-201774121)); fBProcedureParam0.setType(1861); fBProcedureParam0.setIndex(547); fBProcedureParam0.setIndex(1967); fBProcedureParam0.setIndex((-201774121)); int int3 = 749; FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); fBProcedureCall0.getInputParams(); fBProcedureParam0.setValue("^gZRnc2Y!%jU?C2`8"); fBProcedureParam0.setIndex(1); fBProcedureParam0.setValue(fBProcedureCall1); // Undeclared exception! try { fBProcedureCall1.registerOutParam((-1384), 2); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -1385 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7247436", "0.7009193", "0.69803184", "0.67868835", "0.67805594", "0.6779225", "0.6775838", "0.6772618", "0.6746969", "0.6738932", "0.6736395", "0.6735647", "0.67337453", "0.6678942", "0.66540307", "0.66538346", "0.6640801", "0.66176486", "0.6611099", "0.65799165", "0.65722...
0.0
-1
Test case number: 32 /Coverage entropy=0.37677016125643675
@Test(timeout = 4000) public void test32() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); // Undeclared exception! try { fBProcedureCall0.addParam((-1), "Z2IY|A~e;ZDR\"8G"); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -1 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7403794", "0.7291005", "0.69887537", "0.686414", "0.6862366", "0.6819778", "0.68092424", "0.6807879", "0.680716", "0.6789353", "0.6742273", "0.67414016", "0.67211735", "0.67055684", "0.66932136", "0.6648672", "0.66387224", "0.6612611", "0.6607565", "0.6603141", "0.6593222"...
0.0
-1
Test case number: 33 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test33() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); Object object14 = new Object(); Object object15 = new Object(); Object object16 = new Object(); Object object17 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); int int0 = 843; FBProcedureParam fBProcedureParam0 = new FBProcedureParam((-201774121), "OUT"); fBProcedureParam0.setType(0); // Undeclared exception! try { fBProcedureCall0.addInputParam(fBProcedureParam0); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -201774121 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72853786", "0.7199764", "0.6931758", "0.688548", "0.685831", "0.67895234", "0.6781837", "0.6776397", "0.6769784", "0.6746006", "0.6730085", "0.6694444", "0.6692934", "0.66898656", "0.6687654", "0.66798395", "0.6677788", "0.66730297", "0.6664237", "0.662022", "0.6603112", ...
0.0
-1
Test case number: 34 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test34() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); Object object14 = new Object(); Object object15 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); String string0 = fBProcedureCall0.getName(); assertNull(string0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7567167", "0.73785996", "0.7195534", "0.7096882", "0.7088525", "0.70753855", "0.7061731", "0.70521796", "0.7025096", "0.6991953", "0.69810194", "0.6968849", "0.695948", "0.69477606", "0.69269043", "0.69257915", "0.6906435", "0.6889317", "0.68548036", "0.68455845", "0.68404...
0.0
-1
Test case number: 35 /Coverage entropy=1.2293362159076602
@Test(timeout = 4000) public void test35() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3674, "250"); FBProcedureParam fBProcedureParam1 = fBProcedureCall0.addParam(3674, "250"); FBProcedureParam fBProcedureParam2 = new FBProcedureParam(1, "250"); fBProcedureParam2.clone(); fBProcedureParam0.setType(45); fBProcedureParam2.setType((-587)); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); fBProcedureCall0.addInputParam(fBProcedureParam1); FBProcedureCall fBProcedureCall2 = new FBProcedureCall(); FBProcedureParam fBProcedureParam3 = new FBProcedureParam(); fBProcedureCall2.addOutputParam(fBProcedureParam3); FBProcedureCall fBProcedureCall3 = new FBProcedureCall(); FBProcedureParam fBProcedureParam4 = fBProcedureCall0.addParam(1048, "_0c*k6{e>T1hto_)3"); assertEquals(1048, fBProcedureParam4.getPosition()); Object object0 = fBProcedureCall2.clone(); assertTrue(object0.equals((Object)fBProcedureCall2)); assertNotSame(object0, fBProcedureCall2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73618424", "0.7208649", "0.70382816", "0.7026379", "0.6981698", "0.6952124", "0.693664", "0.6915168", "0.69122064", "0.6876184", "0.6861054", "0.68463385", "0.6829203", "0.6801759", "0.679431", "0.67911464", "0.6786146", "0.67852116", "0.6742251", "0.6729302", "0.6716612",...
0.0
-1
Test case number: 36 /Coverage entropy=1.7541823508852143
@Test(timeout = 4000) public void test36() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3, "HY105"); fBProcedureCall0.addOutputParam(fBProcedureParam0); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); fBProcedureCall1.getSQL(true); fBProcedureCall1.addParam(3, "[s~dI}(-N'Z}]0T( ."); fBProcedureCall1.addParam(37, "xk(*$z\"UCH%y0+y"); fBProcedureCall1.getSQL(false); FBProcedureCall fBProcedureCall2 = new FBProcedureCall(); FBProcedureCall fBProcedureCall3 = new FBProcedureCall(); fBProcedureCall3.addInputParam(fBProcedureParam0); FBProcedureCall fBProcedureCall4 = new FBProcedureCall(); try { fBProcedureCall4.registerOutParam(3674, 2); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Cannot find parameter with the specified position. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7538637", "0.7402437", "0.7099334", "0.70723885", "0.70656043", "0.7058529", "0.7041385", "0.702069", "0.6998128", "0.69818246", "0.6968264", "0.6962248", "0.6953893", "0.694656", "0.6898776", "0.68793005", "0.68302226", "0.68262917", "0.6822803", "0.68049777", "0.6784423"...
0.0
-1
Test case number: 37 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test37() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = new FBProcedureParam(); fBProcedureCall0.addInputParam(fBProcedureParam0); fBProcedureParam0.setType((-349)); fBProcedureParam0.setType((-134)); fBProcedureCall0.addInputParam(fBProcedureParam0); assertFalse(fBProcedureParam0.isParam()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7440884", "0.7356861", "0.70329845", "0.70177287", "0.6972301", "0.6971499", "0.6966937", "0.6936008", "0.69263226", "0.6906839", "0.68998027", "0.6871536", "0.6855019", "0.68318534", "0.68133605", "0.6776", "0.67733127", "0.6770717", "0.6770097", "0.67455053", "0.6719375"...
0.0
-1
Test case number: 38 /Coverage entropy=1.9094924996266924
@Test(timeout = 4000) public void test38() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3674, "sh"); FBProcedureParam fBProcedureParam1 = fBProcedureCall0.addParam(3674, "sh"); fBProcedureParam0.setType(3674); fBProcedureParam0.setType(45); fBProcedureParam0.setIndex(1); fBProcedureParam0.setType((-587)); fBProcedureParam1.setType(18); fBProcedureParam0.setIndex((-568)); fBProcedureParam0.setType(0); fBProcedureParam1.setIndex(2); fBProcedureParam0.setIndex(3674); fBProcedureCall0.addOutputParam(fBProcedureParam1); fBProcedureCall0.addInputParam(fBProcedureParam0); fBProcedureCall0.getOutputParam(1); fBProcedureCall0.registerOutParam(3674, (-1587)); fBProcedureCall0.mapOutParamIndexToPosition(2, true); try { fBProcedureCall0.mapOutParamIndexToPosition(2, false); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Specified parameter does not exist. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7422565", "0.72924256", "0.7075498", "0.7071534", "0.70540696", "0.6989245", "0.6988028", "0.69643766", "0.69426167", "0.69214046", "0.6916136", "0.69031537", "0.68778515", "0.6872779", "0.6838342", "0.6829843", "0.6828133", "0.6824577", "0.6817211", "0.6794566", "0.678777...
0.0
-1
Test case number: 39 /Coverage entropy=0.5623351446188083
@Test(timeout = 4000) public void test39() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); int int0 = (-1304); fBProcedureCall0.mapOutParamIndexToPosition((-39), true); try { fBProcedureCall0.mapOutParamIndexToPosition((-1304), false); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Specified parameter does not exist. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7422451", "0.7280451", "0.7015764", "0.7006697", "0.6995887", "0.6980223", "0.69272465", "0.69229084", "0.69110715", "0.68838793", "0.68838245", "0.68792194", "0.6850273", "0.68434", "0.6790433", "0.67797446", "0.6763933", "0.67601544", "0.67463195", "0.6742686", "0.672669...
0.0
-1
Test case number: 40 /Coverage entropy=1.874063207697293
@Test(timeout = 4000) public void test40() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = new FBProcedureParam(); fBProcedureCall0.addOutputParam(fBProcedureParam0); int int0 = (-31); fBProcedureCall0.mapOutParamIndexToPosition(3828); fBProcedureParam0.clone(); try { fBProcedureCall0.registerOutParam(3828, 1); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Cannot find parameter with the specified position. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7426649", "0.7196932", "0.7045453", "0.70297277", "0.7008574", "0.7000175", "0.69501406", "0.69208753", "0.6899532", "0.6839877", "0.6830109", "0.68300164", "0.68245083", "0.68234116", "0.681868", "0.6797405", "0.6793671", "0.67414886", "0.6736251", "0.66532105", "0.663417...
0.0
-1
Test case number: 41 /Coverage entropy=1.9292801145349803
@Test(timeout = 4000) public void test41() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(3, "gZbnc2Y!%jU?C2`8"); fBProcedureCall0.addOutputParam(fBProcedureParam0); fBProcedureCall0.getSQL(true); fBProcedureCall0.getSQL(true); fBProcedureCall0.getOutputParam(1702); fBProcedureCall0.mapOutParamIndexToPosition(1, true); fBProcedureCall0.getSQL(true); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); FBProcedureCall fBProcedureCall2 = new FBProcedureCall(); fBProcedureCall0.getSQL(true); FBProcedureCall fBProcedureCall3 = new FBProcedureCall(); fBProcedureCall3.getInputParam(1); fBProcedureCall2.addParam(1702, "Keu{9b0D\"p"); try { fBProcedureCall3.registerOutParam(1702, 1); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Cannot find parameter with the specified position. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7338508", "0.7200284", "0.6999662", "0.69460386", "0.688877", "0.6885534", "0.6881519", "0.68564016", "0.6807491", "0.6806425", "0.67978066", "0.6797604", "0.676681", "0.6761216", "0.67468536", "0.6737309", "0.6709062", "0.67076886", "0.6684009", "0.6675914", "0.66739565",...
0.0
-1
Test case number: 42 /Coverage entropy=1.7868083399845722
@Test(timeout = 4000) public void test42() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); fBProcedureCall0.equals(fBProcedureCall1); FBProcedureParam fBProcedureParam0 = new FBProcedureParam(); fBProcedureCall1.clone(); fBProcedureCall1.clone(); FBProcedureCall fBProcedureCall2 = new FBProcedureCall(); FBProcedureCall fBProcedureCall3 = new FBProcedureCall(); fBProcedureCall3.clone(); try { fBProcedureCall2.registerOutParam(2, 2); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Cannot find parameter with the specified position. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.74062485", "0.7219932", "0.69142437", "0.6882715", "0.6848759", "0.68483776", "0.68348026", "0.68269247", "0.68136084", "0.6790389", "0.67828685", "0.67547876", "0.6744205", "0.6738604", "0.67370474", "0.67362183", "0.67349523", "0.67344797", "0.670634", "0.6699686", "0.66...
0.0
-1
Test case number: 43 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test43() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); boolean boolean0 = fBProcedureCall0.equals("~}"); assertFalse(boolean0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72480595", "0.71733886", "0.6902429", "0.69001997", "0.6871452", "0.6803417", "0.6769355", "0.6766494", "0.67622435", "0.6742356", "0.67367643", "0.67105097", "0.6709057", "0.67057", "0.67004687", "0.66838235", "0.6675427", "0.6671083", "0.6667377", "0.6664225", "0.6618411...
0.0
-1
Test case number: 44 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test44() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); List<FBProcedureParam> list0 = fBProcedureCall0.getInputParams(); assertEquals(0, list0.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73965967", "0.7308518", "0.6986863", "0.69767857", "0.6959445", "0.6948282", "0.6920183", "0.6919145", "0.6903519", "0.68674064", "0.686094", "0.6852955", "0.68510866", "0.6848012", "0.6843991", "0.6807439", "0.68050045", "0.6796265", "0.67771846", "0.6744919", "0.67359287...
0.0
-1
Test case number: 45 /Coverage entropy=1.15374194270109
@Test(timeout = 4000) public void test45() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); Object object14 = new Object(); Object object15 = new Object(); Object object16 = new Object(); Object object17 = new Object(); Object object18 = new Object(); Object object19 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); // Undeclared exception! try { fBProcedureCall0.registerOutParam((-501), (-669)); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -502 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7194726", "0.7087181", "0.69145685", "0.68490845", "0.680071", "0.67921597", "0.6735897", "0.6707481", "0.66969806", "0.668243", "0.66641074", "0.66442543", "0.6613376", "0.6606134", "0.6605283", "0.6592557", "0.6586525", "0.6566272", "0.65559244", "0.65469205", "0.6537951...
0.0
-1
Test case number: 46 /Coverage entropy=0.6365141682948128
@Test(timeout = 4000) public void test46() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = new FBProcedureParam((-685), "c{G01mJsAqc1nb#f8G"); // Undeclared exception! try { fBProcedureCall0.addOutputParam(fBProcedureParam0); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -685 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7262388", "0.71696246", "0.68670756", "0.686563", "0.68654203", "0.68009347", "0.6766088", "0.6727734", "0.672303", "0.6720788", "0.6699076", "0.66974086", "0.66891867", "0.6688113", "0.66844577", "0.6668057", "0.66588193", "0.6621869", "0.6613111", "0.6598231", "0.6587100...
0.0
-1
Test case number: 47 /Coverage entropy=0.9433483923290392
@Test(timeout = 4000) public void test47() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); FBProcedureCall fBProcedureCall1 = new FBProcedureCall(); fBProcedureCall1.getInputParam(362); fBProcedureCall1.getInputParam(362); assertFalse(fBProcedureCall1.equals((Object)fBProcedureCall0)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7315824", "0.72152793", "0.6883366", "0.6853752", "0.68484175", "0.6845651", "0.6820904", "0.6786432", "0.67689764", "0.67674994", "0.6766263", "0.67532474", "0.67291844", "0.67042714", "0.6684205", "0.66760683", "0.66633147", "0.66610545", "0.6640974", "0.6633962", "0.659...
0.0
-1
Test case number: 48 /Coverage entropy=1.3306600933628874
@Test(timeout = 4000) public void test48() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.getInputParam(3); fBProcedureParam0.setIndex(3); fBProcedureCall0.getSQL(false); int int0 = 1861; int int1 = 1625; fBProcedureCall0.addInputParam(fBProcedureParam0); try { fBProcedureParam0.setValue("^gZRnc2Y!%jU?C2`8"); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // You cannot set value of an non-existing parameter. // verifyException("org.firebirdsql.jdbc.FBProcedureCall$NullParam", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73384845", "0.71999073", "0.6910684", "0.68183976", "0.6777229", "0.67693526", "0.6760433", "0.6750897", "0.67504257", "0.67415506", "0.6708753", "0.6701846", "0.6660457", "0.66426647", "0.66406524", "0.66406065", "0.66396564", "0.662347", "0.6547691", "0.6537609", "0.6533...
0.0
-1
Test case number: 49 /Coverage entropy=1.3321790402101223
@Test(timeout = 4000) public void test49() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); fBProcedureCall0.getOutputParam(0); int int0 = fBProcedureCall0.mapOutParamIndexToPosition(0, true); assertEquals(0, int0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7338687", "0.7165398", "0.6927529", "0.69218075", "0.692036", "0.68198603", "0.6815561", "0.6797904", "0.67936987", "0.67732537", "0.6766549", "0.67305833", "0.6710607", "0.6703767", "0.6676943", "0.665857", "0.665576", "0.66469204", "0.66419417", "0.65876806", "0.6555354"...
0.0
-1
Test case number: 50 /Coverage entropy=0.37677016125643675
@Test(timeout = 4000) public void test50() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); Object object14 = new Object(); Object object15 = new Object(); Object object16 = new Object(); Object object17 = new Object(); Object object18 = new Object(); Object object19 = new Object(); Object object20 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); // Undeclared exception! try { fBProcedureCall0.addParam((-2499), "OY><Qp{Bq@DB+Acd]<$"); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -2499 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.731375", "0.71381533", "0.711985", "0.7010411", "0.685839", "0.6841718", "0.6773253", "0.6751513", "0.6745154", "0.67285556", "0.6719581", "0.6678098", "0.66771203", "0.6674001", "0.66645867", "0.6651723", "0.6640334", "0.6633187", "0.66301686", "0.656191", "0.6527471", ...
0.0
-1
Test case number: 51 /Coverage entropy=0.8675632284814612
@Test(timeout = 4000) public void test51() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); Object object14 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); // Undeclared exception! try { fBProcedureCall0.getInputParam(0); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -1 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7382824", "0.728328", "0.7038854", "0.6965961", "0.69269896", "0.6905783", "0.6889992", "0.6825966", "0.68242806", "0.68175834", "0.6811762", "0.67688316", "0.676703", "0.67613953", "0.6693333", "0.6680242", "0.66697276", "0.66511714", "0.66507065", "0.6645642", "0.6626773...
0.0
-1
Test case number: 52 /Coverage entropy=1.7897275885480937
@Test(timeout = 4000) public void test52() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); int int0 = (-452); int int1 = 1; fBProcedureCall0.mapOutParamIndexToPosition(1, true); FBProcedureParam fBProcedureParam0 = new FBProcedureParam(); FBProcedureParam fBProcedureParam1 = fBProcedureCall0.getInputParam(1); FBProcedureParam fBProcedureParam2 = fBProcedureCall0.getOutputParam((-2608)); fBProcedureParam1.setIndex(1); fBProcedureParam0.clone(); fBProcedureParam0.clone(); fBProcedureParam1.setType(1); fBProcedureCall0.addOutputParam(fBProcedureParam0); int int2 = 0; fBProcedureCall0.mapOutParamIndexToPosition(0); fBProcedureParam0.setIndex(64); fBProcedureParam2.setType(2); fBProcedureParam2.setIndex(1451); fBProcedureCall0.addOutputParam(fBProcedureParam2); int int3 = (-201774121); String string0 = "Kx]|"; // Undeclared exception! try { fBProcedureCall0.addParam((-201774121), "Kx]|"); fail("Expecting exception: ArrayIndexOutOfBoundsException"); } catch(ArrayIndexOutOfBoundsException e) { // // -201774121 // verifyException("java.util.Vector", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7436871", "0.7317214", "0.6947506", "0.6937362", "0.6935983", "0.6935586", "0.68920517", "0.686436", "0.6845431", "0.6843476", "0.68349755", "0.68048", "0.6793168", "0.67922056", "0.67622757", "0.67496514", "0.6742531", "0.6723764", "0.6717224", "0.6715699", "0.6678375", ...
0.0
-1
Test case number: 53 /Coverage entropy=2.0884664513655467
@Test(timeout = 4000) public void test53() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); fBProcedureCall0.setName("2i95<~j!a("); fBProcedureCall0.hashCode(); fBProcedureCall0.getSQL(true); fBProcedureCall0.getOutputParam(1866); fBProcedureCall0.addParam(1866, "2i95<~j!a("); fBProcedureCall0.getName(); FBProcedureParam fBProcedureParam0 = fBProcedureCall0.getInputParam(1866); FBProcedureParam fBProcedureParam1 = fBProcedureCall0.addParam(274, "SELECT * FROM 2i95<~j!a("); fBProcedureCall0.addOutputParam(fBProcedureParam1); fBProcedureCall0.addParam(274, "2i95<~j!a("); fBProcedureCall0.getOutputParams(); FBProcedureParam fBProcedureParam2 = fBProcedureCall0.getInputParam(1866); assertSame(fBProcedureParam2, fBProcedureParam0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7405927", "0.7239794", "0.7029844", "0.695231", "0.6928185", "0.6917081", "0.69110703", "0.69049096", "0.6874793", "0.684709", "0.68211025", "0.68199253", "0.68162227", "0.6812633", "0.6803646", "0.6800108", "0.67681795", "0.6740529", "0.67359936", "0.6730944", "0.6729921"...
0.0
-1
Test case number: 54 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test54() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); fBProcedureCall0.hashCode(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7512764", "0.7330339", "0.70556086", "0.7051545", "0.7044868", "0.7043534", "0.7005642", "0.6974342", "0.6971225", "0.69283915", "0.692055", "0.6907768", "0.68555725", "0.6845715", "0.68384606", "0.6836245", "0.68284327", "0.68122554", "0.6798239", "0.67834866", "0.6762354...
0.0
-1
Test case number: 55 /Coverage entropy=0.9502705392332347
@Test(timeout = 4000) public void test55() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); fBProcedureCall0.mapOutParamIndexToPosition((-264)); try { fBProcedureCall0.mapOutParamIndexToPosition((-1), false); fail("Expecting exception: FBSQLException"); } catch(FBSQLException e) { // // Specified parameter does not exist. // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7302403", "0.7196395", "0.6975591", "0.68773663", "0.6863398", "0.6833401", "0.6793744", "0.6749061", "0.67332214", "0.67153424", "0.6708289", "0.6702785", "0.66833556", "0.6667713", "0.6663741", "0.6654313", "0.6644817", "0.6609354", "0.6602261", "0.6594496", "0.6586656",...
0.0
-1
Test case number: 56 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test56() throws Throwable { Object object0 = new Object(); Object object1 = new Object(); Object object2 = new Object(); Object object3 = new Object(); Object object4 = new Object(); Object object5 = new Object(); Object object6 = new Object(); Object object7 = new Object(); Object object8 = new Object(); Object object9 = new Object(); Object object10 = new Object(); Object object11 = new Object(); Object object12 = new Object(); Object object13 = new Object(); Object object14 = new Object(); Object object15 = new Object(); Object object16 = new Object(); Object object17 = new Object(); Object object18 = new Object(); Object object19 = new Object(); FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); // Undeclared exception! try { fBProcedureCall0.addParam(843, (String) null); fail("Expecting exception: NullPointerException"); } catch(NullPointerException e) { // // no message in exception (getMessage() returned null) // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7480956", "0.7336823", "0.69656205", "0.6928481", "0.6914523", "0.68811893", "0.68749094", "0.6873132", "0.68490136", "0.68455106", "0.6821835", "0.6805997", "0.6801675", "0.67989063", "0.677509", "0.6766149", "0.67609227", "0.6749379", "0.67302644", "0.6673755", "0.665243...
0.0
-1
Test case number: 57 /Coverage entropy=0.6931471805599453
@Test(timeout = 4000) public void test57() throws Throwable { FBProcedureCall fBProcedureCall0 = new FBProcedureCall(); // Undeclared exception! try { fBProcedureCall0.addOutputParam((FBProcedureParam) null); fail("Expecting exception: NullPointerException"); } catch(NullPointerException e) { // // no message in exception (getMessage() returned null) // verifyException("org.firebirdsql.jdbc.FBProcedureCall", e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.75577754", "0.7327262", "0.7127338", "0.7063067", "0.70468485", "0.7020125", "0.6968802", "0.6925635", "0.69163114", "0.69086987", "0.6898438", "0.6877405", "0.687121", "0.68661815", "0.6854981", "0.6826986", "0.68258834", "0.6824131", "0.6745829", "0.67432725", "0.6733733...
0.0
-1
private Integer matricula; // wrapper
public Funcionario(String nome, String funcao, int matricula) { super(); this.nome = nome; this.funcao = funcao; this.matricula = matricula; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getMatricula() {\r\n return matricula;\r\n }", "public int[][] getMatriuSolucio() {\n\t\treturn null;\n\t}", "public interface IMatrix {\n\n /**\n * Set coefficient\n * @param y row (0..height-1)\n * @param x column (0..width-1)\n * @param v value\n */\n public void set(int y,...
[ "0.70732373", "0.6203522", "0.6125816", "0.605948", "0.6056021", "0.5969998", "0.59628874", "0.5952112", "0.59187883", "0.58934826", "0.5835097", "0.581116", "0.5790593", "0.5782337", "0.57610464", "0.57578206", "0.57502246", "0.574266", "0.5740424", "0.57143897", "0.5692427"...
0.0
-1
testing service layer method to to add a plant
@Test void testAddPlant() { Plant plant = service.addPlant(new Plant(9.0, "Hibiscus", "Skin Benefits", 22.0, 8, 330.0, "Shurbs")); assertEquals("Hibiscus", plant.getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tvoid testGetPlant() {\n\t\tPlant plant = service.getPlant(53);\n\t\tassertNotEquals(\"Rose\", plant.getName());\n\t}", "public void harvestPlant(Plant plant) {\n\t\tgetListofplant().add(plant);\n\t}", "@Test\n\tvoid testUpdatePlant() {\n\t\tPlant plant = service.updatePlant(new Plant( 8.0, \"Lemon\", ...
[ "0.6475333", "0.6459971", "0.6418778", "0.6289155", "0.6209613", "0.60187876", "0.60032237", "0.5998235", "0.5984694", "0.5949218", "0.5945347", "0.5943786", "0.5931044", "0.59173", "0.59137166", "0.59135944", "0.5874485", "0.5854887", "0.58545434", "0.5851723", "0.5823956", ...
0.8211601
0
testing service layer method to upadte plant
@Test void testUpdatePlant() { Plant plant = service.updatePlant(new Plant( 8.0, "Lemon", "Antihairfall", 22.0, 5, 170.0, "shurb")); assertEquals(170.0, plant.getCost()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before\n public void setupService() {\n }", "@Test\n public void getStuff() {\n \n Assert.assertEquals(wService.work(), \"Parker\");\n Assert.assertEquals(aService.age(), 25);\n }", "public void testSetService() throws Exception {\n }", "public void testService() {\n\n\t...
[ "0.6951229", "0.67061263", "0.6625022", "0.65788436", "0.6498899", "0.648805", "0.6485223", "0.64261425", "0.6386894", "0.6383371", "0.63813955", "0.6371983", "0.6346965", "0.63458383", "0.63391775", "0.6328415", "0.631956", "0.6314268", "0.6308484", "0.6307896", "0.6289561",...
0.0
-1
testing service layer method to delete plant using id
@Test void testDeletePlant() { List<Plant> plant = service.deletePlant(50); assertFalse(plant.isEmpty()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void delete(Plant plant) throws Exception {\n\r\n\t}", "@Delete\n Single<Integer> delete(Collection<Plant> plant);", "@Delete\n Single<Integer> delete(Plant... plant);", "@Test\n void deleteById() {\n petTypeSDJpaService.deleteById(petType.getId());\n\n //Then\n ...
[ "0.75489473", "0.7439053", "0.7172957", "0.7131085", "0.6982281", "0.6915932", "0.689754", "0.6895982", "0.6882601", "0.68462694", "0.6802173", "0.67976594", "0.679065", "0.6786581", "0.6785595", "0.6781411", "0.6764643", "0.6752484", "0.6740916", "0.6733666", "0.6730827", ...
0.8031426
0
testing service layer method to view plant using id
@Test void testGetPlant() { Plant plant = service.getPlant(53); assertNotEquals("Rose", plant.getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t@Transactional\r\n\tpublic Planter viewPlanter(int planterId) throws ResourceNotFoundException {\r\n\t\tOptional<Planter> pl = planterRepo.findById(planterId);\r\n\t\tif(pl.isPresent()) {\r\n\t\t\treturn pl.get();\r\n\t\t\t\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthrow new ResourceNotFoundException(\"No Pla...
[ "0.6384169", "0.62502396", "0.6207595", "0.61480564", "0.61099637", "0.604725", "0.6024918", "0.60116", "0.6003418", "0.5930284", "0.59240377", "0.5881998", "0.5880843", "0.5873367", "0.58534205", "0.58527374", "0.5801741", "0.5792599", "0.57873464", "0.5786233", "0.5777416",...
0.6377837
1
testing service layer method to view all the plants present in database
@Test void testgetAllPlants() { List<Plant> plantlist = service.getAllPlant(); boolean result = true; if (plantlist.isEmpty()) { result = false; } assertTrue(result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<PlantDTO> fetchPlants(String filter);", "@Override\r\n\tpublic List<Object[]> searchPlantDetails() {\n\t\tList<Object[]> list = null;\r\n\t\ttry {\r\n\t\t\tsql = \"select p.plantId ,p.plantName,p.add1,p.add2,p.add3,p.city,p.state,p.phone,p.fax,p.mobile,p.organization,p.countrysList from Plant p\";\r\...
[ "0.6702721", "0.65442383", "0.65017736", "0.6214653", "0.61669004", "0.615177", "0.61332154", "0.6076721", "0.6072476", "0.6069505", "0.6060587", "0.60308385", "0.5976061", "0.5956226", "0.59492946", "0.5892223", "0.5872938", "0.58569986", "0.5856313", "0.5855977", "0.5844459...
0.71218157
0
testing service layer method to view all the plants present in database using plant name
@Test void testGetAllByName() { List<Plant> plant = service.getAllByName("Tulsi"); String name = plant.get(0).getName(); assertEquals("Tulsi", name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic List<Object[]> searchPlantDetails() {\n\t\tList<Object[]> list = null;\r\n\t\ttry {\r\n\t\t\tsql = \"select p.plantId ,p.plantName,p.add1,p.add2,p.add3,p.city,p.state,p.phone,p.fax,p.mobile,p.organization,p.countrysList from Plant p\";\r\n\t\t\tlist = getHibernateTemplate().find(sql);\r\n\t\t...
[ "0.7016748", "0.69380385", "0.6696785", "0.66837597", "0.64995795", "0.63183653", "0.62370765", "0.62369376", "0.6207595", "0.6092196", "0.5962542", "0.5938247", "0.5898643", "0.58418375", "0.58241564", "0.5823301", "0.5792906", "0.57630855", "0.5754405", "0.57506865", "0.573...
0.7246438
0
testing service layer method to view all the plants present in database using plant type
@Test void testGetAllByType() { List<Plant> plant = service.getAllByType("Shurbs"); String type = plant.get(0).getType(); assertEquals("Shurbs", type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tvoid testgetAllPlants() {\n\t\tList<Plant> plantlist = service.getAllPlant();\n\t\tboolean result = true;\n\t\tif (plantlist.isEmpty()) {\n\t\t\tresult = false;\n\t\t}\n\t\tassertTrue(result);\n\t}", "@Override\r\n\tpublic List<Object[]> searchPlantDetails() {\n\t\tList<Object[]> list = null;\r\n\t\ttry...
[ "0.7125296", "0.6968046", "0.6892701", "0.6693658", "0.66355544", "0.6368087", "0.62341595", "0.62086624", "0.61791766", "0.614104", "0.6075296", "0.60629416", "0.59751654", "0.59543693", "0.59205043", "0.59143084", "0.59114563", "0.5850118", "0.58315176", "0.5800833", "0.577...
0.7032135
1
TODO Autogenerated method stub
@Override public Map<String, Object> getSectInfo(Map<String, Object> requestMap) { Map<String,Object> responseMap = new HashMap<>(); VoteSectInfoExample voteSectInfoExample = new VoteSectInfoExample(); Criteria criteria = voteSectInfoExample.createCriteria(); if (!StringUtils.isEmpty((String)requestMap.get("sectName"))){ criteria.andSectNameLike((String)requestMap.get("sectName")); } voteSectInfoExample.setOrderByClause("sect_name asc"); List<VoteSectInfo> list = voteSectInfoMapper.selectByExample(voteSectInfoExample); responseMap.put("listInfo", list); responseMap.put("status", true); return responseMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> getBuildInfo(Map<String, Object> requestMap) { Map<String,Object> responseMap = new HashMap<>(); VoteHouseInfoExample voteHouseInfoExample = new VoteHouseInfoExample(); try { com.indihx.elecvote.entity.VoteHouseInfoExample.Criteria criteria = voteHouseInfoExample.createCriteria(); criteria.andSectNameEqualTo((String)requestMap.get("sectName")); voteHouseInfoExample.setOrderByClause("build_code asc"); voteHouseInfoExample.setDistinct(true); List<VoteHouseInfo> list = voteHouseInfoMapper.selectDistinctBuild(voteHouseInfoExample); responseMap.put("listInfo", list); responseMap.put("status", true); return responseMap; } catch (Exception e) { // TODO: handle exception logger.error("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); throw new BusinessException("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> getUnitInfo(Map<String, Object> requestMap) { Map<String,Object> responseMap = new HashMap<>(); VoteHouseInfoExample voteHouseInfoExample = new VoteHouseInfoExample(); try { com.indihx.elecvote.entity.VoteHouseInfoExample.Criteria criteria = voteHouseInfoExample.createCriteria(); criteria.andSectNameEqualTo((String)requestMap.get("sectName")); criteria.andBuildCodeEqualTo((String)requestMap.get("buildCode")); voteHouseInfoExample.setOrderByClause("build_code asc"); voteHouseInfoExample.setDistinct(true); List<VoteHouseInfo> list = voteHouseInfoMapper.selectDistinctUnit(voteHouseInfoExample); responseMap.put("listInfo", list); responseMap.put("status", true); return responseMap; } catch (Exception e) { // TODO: handle exception logger.error("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); throw new BusinessException("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> getFloorInfo(Map<String, Object> requestMap) { Map<String,Object> responseMap = new HashMap<>(); VoteHouseInfoExample voteHouseInfoExample = new VoteHouseInfoExample(); try { com.indihx.elecvote.entity.VoteHouseInfoExample.Criteria criteria = voteHouseInfoExample.createCriteria(); criteria.andSectNameEqualTo((String)requestMap.get("sectName")); criteria.andBuildCodeEqualTo((String)requestMap.get("buildCode")); criteria.andUnitCodeEqualTo((String)requestMap.get("unitCode")); voteHouseInfoExample.setOrderByClause("build_code asc"); voteHouseInfoExample.setDistinct(true); List<VoteHouseInfo> list = voteHouseInfoMapper.selectDistinctFloor(voteHouseInfoExample); responseMap.put("listInfo", list); responseMap.put("status", true); return responseMap; } catch (Exception e) { // TODO: handle exception logger.error("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); throw new BusinessException("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> getRoomInfo(Map<String, Object> requestMap) { Map<String,Object> responseMap = new HashMap<>(); VoteHouseInfoExample voteHouseInfoExample = new VoteHouseInfoExample(); try { com.indihx.elecvote.entity.VoteHouseInfoExample.Criteria criteria = voteHouseInfoExample.createCriteria(); criteria.andSectNameEqualTo((String)requestMap.get("sectName")); criteria.andBuildCodeEqualTo((String)requestMap.get("buildCode")); criteria.andUnitCodeEqualTo((String)requestMap.get("unitCode")); criteria.andFloorCodeEqualTo((String)requestMap.get("floorCode")); voteHouseInfoExample.setOrderByClause("build_code asc"); voteHouseInfoExample.setDistinct(true); List<VoteHouseInfo> list = voteHouseInfoMapper.selectDistinctRoom(voteHouseInfoExample); responseMap.put("listInfo", list); responseMap.put("status", true); return responseMap; } catch (Exception e) { // TODO: handle exception logger.error("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); throw new BusinessException("加载文件数据错误:"+ExceptionUtil.getErrorMsg(e)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class) @Override public Map<String, Object> bindHouseInfo(Map<String, Object> requestMap) { Map<String, Object> map = new HashMap<>(); map.put("status", false); /* VoteHouseInfo voteHouseInfo = new VoteHouseInfo(); voteHouseInfo.setLinkPhone((String)requestMap.get("linkPhone")); voteHouseInfo.setInfoStatus("01");*/ VoteHouseInfoExample voteHouseInfoExample = new VoteHouseInfoExample(); com.indihx.elecvote.entity.VoteHouseInfoExample.Criteria criteria = voteHouseInfoExample.createCriteria(); criteria.andSectNameEqualTo((String)requestMap.get("sectName")); criteria.andBuildCodeEqualTo((String)requestMap.get("buildCode")); criteria.andUnitCodeEqualTo((String) requestMap.get("unitCode")); criteria.andFloorCodeEqualTo((String)requestMap.get("floorCode")); criteria.andRoomCodeEqualTo((String)requestMap.get("roomCode")); criteria.andCertCodeEqualTo((String)requestMap.get("certCode")); List<VoteHouseInfo> list = voteHouseInfoMapper.selectByExample(voteHouseInfoExample); if (list.isEmpty()) { return map; } VoteHouseInfo houseInfo = list.get(0); VoteApplyInfoExample example = new VoteApplyInfoExample(); com.indihx.elecvote.entity.VoteApplyInfoExample.Criteria applyCriteria = example.createCriteria(); applyCriteria.andInfoIdEqualTo(houseInfo.getInfoId()); List<VoteApplyInfo> applyList = voteApplyInfoMapper.selectByExample(example); if (!applyList.isEmpty()) { logger.error("该房屋信息已经绑定过,不能继续绑定"); map.put("status", false); return map; } VoteApplyInfo voteApplyInfo = new VoteApplyInfo(); voteApplyInfo.setApplyId(new BigDecimal(primaryKey.getKeyBySequenceName("APPLY_ID_SEQ"))); voteApplyInfo.setInfoId(houseInfo.getInfoId()); voteApplyInfo.setRegisteDate(DateUtil.getSysDate()); voteApplyInfo.setRegisteTime(DateUtil.getSysTime()); voteApplyInfo.setOwnerName(houseInfo.getOwnerName()); voteApplyInfo.setCertCode(houseInfo.getCertCode()); voteApplyInfo.setLinkPhone((String)requestMap.get("linkPhone")); voteApplyInfo.setUserId((String)requestMap.get("openId")); int count = voteApplyInfoMapper.insertSelective(voteApplyInfo); if (count > 0) { map.put("status", true); } /* int count = voteHouseInfoMapper.updateByExampleSelective(voteHouseInfo, voteHouseInfoExample); if (count > 0) { map.put("status", true); }*/ return map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> getHouseInfoByOpenId(String openId) { List<VoteHouseInfo> listInfo = voteHouseInfoMapper.selectByOpenId(openId); Map<String, Object> map = new HashMap<>(); map.put("listInfo", listInfo); return map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> unbindHouseInfo(Map<String, Object> requestMap) { Map<String, Object> map = new HashMap<>(); map.put("status", false); String openId = (String)requestMap.get("openId"); String infoId = (String)requestMap.get("infoId"); logger.debug("openId: "+openId+" infoId: "+infoId); VoteApplyInfoExample voteApplyInfoExample = new VoteApplyInfoExample(); com.indihx.elecvote.entity.VoteApplyInfoExample.Criteria criteria = voteApplyInfoExample.createCriteria(); criteria.andUserIdEqualTo(openId); criteria.andInfoIdEqualTo(new BigDecimal(infoId)); int count = voteApplyInfoMapper.deleteByExample(voteApplyInfoExample); if (count > 0) { map.put("status", true); } return map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
/ access modifiers changed from: protected / renamed from: a
public void onEncodeSerialData(StreamWriter streamWriter) { this.transaction.mo44659c(streamWriter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void ...
[ "0.75464964", "0.73093235", "0.71735907", "0.692263", "0.68435764", "0.6787232", "0.67364866", "0.6659923", "0.6635336", "0.6635336", "0.65571475", "0.65408033", "0.65371394", "0.6500136", "0.6494878", "0.6494545", "0.6485399", "0.6476603", "0.64670885", "0.6403744", "0.63941...
0.0
-1
/ renamed from: a
public Transaction getTransaction() { return this.transaction; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
The class holding records for this type
@Override public Class<CheckoutRecord> getRecordType() { return CheckoutRecord.class; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}", "public Class<?> getRecordClass() \n\t{\n\t return recordClass ;\n\t}", "public DataRecord() {\n super(DataTable.DATA);\n }", "@Override\n public Class<Record> getRecordType() {\n return Re...
[ "0.68004626", "0.66954035", "0.64103794", "0.6398801", "0.6398801", "0.6398801", "0.6398801", "0.6393993", "0.6354873", "0.6192012", "0.61258304", "0.61258304", "0.61258304", "0.6104736", "0.60470754", "0.60470754", "0.60470754", "0.6040716", "0.6029211", "0.6020949", "0.6008...
0.0
-1
Create a CHECKOUT table reference
public Checkout() { this(DSL.name("CHECKOUT"), null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createCheckingAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE checkingAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 1000000001, INCREMENT BY 1 ), \" + \"owner INT, \"\n\t\t\t\t\t+ \"balance DOU...
[ "0.61897826", "0.5586242", "0.5561546", "0.5551247", "0.5548962", "0.55200106", "0.54111624", "0.5374146", "0.5362212", "0.5360875", "0.5328026", "0.5317023", "0.5256962", "0.5236888", "0.52298117", "0.52191067", "0.5218817", "0.5190571", "0.5184614", "0.5181919", "0.51756525...
0.60726285
1
Create an aliased CHECKOUT table reference
public Checkout(String alias) { this(DSL.name(alias), CHECKOUT); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Checkout(Name alias) {\n this(alias, CHECKOUT);\n }", "Table getReferencedTable();", "public Mytable(String alias) {\n this(DSL.name(alias), MYTABLE);\n }", "public String getNextTableSqlAlias() {\n return \"t\"+(aliasCounter++);\n }", "public Checkout() {\n this(DSL.n...
[ "0.5924073", "0.5098705", "0.50820035", "0.5071131", "0.50094", "0.5007164", "0.49854475", "0.49807757", "0.49759164", "0.49131972", "0.48691803", "0.48096415", "0.48051804", "0.47930044", "0.47577298", "0.4734907", "0.47324333", "0.4730588", "0.47196418", "0.46993187", "0.46...
0.5829866
1
Create an aliased CHECKOUT table reference
public Checkout(Name alias) { this(alias, CHECKOUT); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Checkout(String alias) {\n this(DSL.name(alias), CHECKOUT);\n }", "Table getReferencedTable();", "public Mytable(String alias) {\n this(DSL.name(alias), MYTABLE);\n }", "public String getNextTableSqlAlias() {\n return \"t\"+(aliasCounter++);\n }", "public Checkout() {\n ...
[ "0.5829866", "0.5098705", "0.50820035", "0.5071131", "0.50094", "0.5007164", "0.49854475", "0.49807757", "0.49759164", "0.49131972", "0.48691803", "0.48096415", "0.48051804", "0.47930044", "0.47577298", "0.4734907", "0.47324333", "0.4730588", "0.47196418", "0.46993187", "0.46...
0.5924073
0
Metodo que obtiene los datos de los formularios
public HttpServletRequest getRequest() { return request; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void readForm() {\n }", "public void limpiarCamposFormBusqueda() {\n\t}", "@Override\n\tpublic List<ERForm> getAllForms() {\nString sql = \"select * from project1.reimbursementInfo;\";\n\t\t\n\t\tPreparedStatement stmt;\n\t\t\n\t\tList<ERForm> allForms = new ArrayList<ERForm>();\n\t\t\n\t\ttry {\n\t...
[ "0.6760637", "0.6647674", "0.65822953", "0.6434747", "0.6432996", "0.64078444", "0.6259696", "0.6194113", "0.6139566", "0.6102759", "0.60852206", "0.60525537", "0.6008446", "0.60076684", "0.6001814", "0.5998213", "0.59964085", "0.59957415", "0.59846705", "0.5941919", "0.59413...
0.0
-1
Metodo que obtiene los datos del HashMap
public HashMap getDatos() { return datos; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public List<IMapData<Integer, String>> getHashMapData() {\n List<IMapData<Integer, String>> data = new ArrayList<>();\n\n data.add(this.getHashMapData1());\n data.add(this.getHashMapData2());\n\n return data;\n }", "public HashMap getMetaData() ;", "HashMap<String,...
[ "0.73345846", "0.7175683", "0.7097269", "0.70332295", "0.69945663", "0.6798243", "0.67705166", "0.67391646", "0.6540857", "0.6469484", "0.643365", "0.63774633", "0.6289932", "0.6282377", "0.62779903", "0.6236512", "0.62326455", "0.6212611", "0.62122613", "0.6189971", "0.61698...
0.76527435
0
Metodo que asigna los datos en el HashMap
public void setDatos(HashMap datos) { this.datos = datos; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setHashMap();", "public HashMap getDatos() {\r\n return datos;\r\n }", "HashMap<String, Object[]> getUbicaciones();", "private IMapData<Integer, String> getHashMapData1() {\n List<IKeyValueNode<Integer, String>> creationData = new ArrayList<>();\n List<IKeyValueNode<Integer, Stri...
[ "0.7294693", "0.7049627", "0.67333573", "0.65234387", "0.6430347", "0.64203423", "0.63889915", "0.63323706", "0.63159513", "0.6305959", "0.6218228", "0.61508834", "0.6144829", "0.6116879", "0.6093151", "0.6086096", "0.604139", "0.6039573", "0.5997021", "0.59867233", "0.598352...
0.7168077
1
TODO Autogenerated method stub
public void updateVentureCheckList(VentureChecklist ventureChecklist) { Sl = "UPDATE venture_checklist SET ventureChecklistContent = ? WHERE memberAccount= ? AND mapSubClassID = ?"; try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl); smt.setString(1, ventureChecklist.getContent()); smt.setString(2, ventureChecklist.getAccount()); smt.setInt(3, ventureChecklist.getClassID()); smt.executeUpdate(); rs.close(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public List<MapClass> getMapClassList(MapClass mapClass) { List<MapClass> mapClassList = new ArrayList<MapClass>(); //String Sl = "SELECT * FROM map_class LEFT JOIN venture_checklist ON map_class.mapClassID = venture_checklist.mapClassID WHERE mapID = ?"; Sl1 = "SELECT * FROM map_class WHERE mapID = ?"; Sl2 = "SELECT MAX(mapClassID) AS now FROM venture_checklist WHERE memberAccount = ? " + "GROUP BY memberAccount"; boolean now = false; try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl1); smt.setInt(1, mapClass.getId()); rs1 = smt.executeQuery(); while(rs1.next()){ MapClass mapClass2 = new MapClass(); mapClass2.setId(rs1.getInt("mapID")); mapClass2.setClassID(rs1.getInt("mapClassID")); mapClass2.setName(rs1.getString("mapClassName")); mapClass2.setUrl(rs1.getString("mapClassUrl")); mapClass2.setCss(rs1.getString("mapClassCss")); if(now == false){ now = true; smt = conn.prepareStatement(Sl2); smt.setString(1, mapClass.getAccount()); rs2 = smt.executeQuery(); while(rs2.next()){ mapClass2.setNow(rs2.getInt("now")); if(mapClass2.getNow()<13){ String Sl3 = "SELECT * FROM product WHERE memberAccount = ?"; smt = conn.prepareStatement(Sl3); smt.setString(1, mapClass.getAccount()); ResultSet rs3 = smt.executeQuery(); if(rs3.next()){ mapClass2.setNow(13); } } } } mapClassList.add(mapClass2); } rs1.close(); rs2.close(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } return mapClassList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void insertHumanResourceContent(HumanResourceContent humanResourceContent) { Sl = "INSERT INTO human_resource_content (memberAccount, M0, M1, M2, M3, M4, M5, M6, M7, M8, M9," + "M10, M11, M12, R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12," + "S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9," + "O10, O11, O12, total0, total1, total2, total3, total4, total5, total6, total7, " + "total8, total9, total10, total11, total12) " + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?," + " ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; try { System.out.println("123456"); conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl); smt.setString(1, humanResourceContent.getAccount()); smt.setInt(2, humanResourceContent.getM0()); smt.setInt(3, humanResourceContent.getM1()); smt.setInt(4, humanResourceContent.getM2()); smt.setInt(5, humanResourceContent.getM3()); smt.setInt(6, humanResourceContent.getM4()); smt.setInt(7, humanResourceContent.getM5()); smt.setInt(8, humanResourceContent.getM6()); smt.setInt(9, humanResourceContent.getM7()); smt.setInt(10, humanResourceContent.getM8()); smt.setInt(11, humanResourceContent.getM9()); smt.setInt(12, humanResourceContent.getM10()); smt.setInt(13, humanResourceContent.getM11()); smt.setInt(14, humanResourceContent.getM12()); smt.setInt(15, humanResourceContent.getR0()); smt.setInt(16, humanResourceContent.getR1()); smt.setInt(17, humanResourceContent.getR2()); smt.setInt(18, humanResourceContent.getR3()); smt.setInt(19, humanResourceContent.getR4()); smt.setInt(20, humanResourceContent.getR5()); smt.setInt(21, humanResourceContent.getR6()); smt.setInt(22, humanResourceContent.getR7()); smt.setInt(23, humanResourceContent.getR8()); smt.setInt(24, humanResourceContent.getR9()); smt.setInt(25, humanResourceContent.getR10()); smt.setInt(26, humanResourceContent.getR11()); smt.setInt(27, humanResourceContent.getR12()); smt.setInt(28, humanResourceContent.getS0()); smt.setInt(29, humanResourceContent.getS1()); smt.setInt(30, humanResourceContent.getS2()); smt.setInt(31, humanResourceContent.getS3()); smt.setInt(32, humanResourceContent.getS4()); smt.setInt(33, humanResourceContent.getS5()); smt.setInt(34, humanResourceContent.getS6()); smt.setInt(35, humanResourceContent.getS7()); smt.setInt(36, humanResourceContent.getS8()); smt.setInt(37, humanResourceContent.getS9()); smt.setInt(38, humanResourceContent.getS10()); smt.setInt(39, humanResourceContent.getS11()); smt.setInt(40, humanResourceContent.getS12()); smt.setInt(41, humanResourceContent.getO0()); smt.setInt(42, humanResourceContent.getO1()); smt.setInt(43, humanResourceContent.getO2()); smt.setInt(44, humanResourceContent.getO3()); smt.setInt(45, humanResourceContent.getO4()); smt.setInt(46, humanResourceContent.getO5()); smt.setInt(47, humanResourceContent.getO6()); smt.setInt(48, humanResourceContent.getO7()); smt.setInt(49, humanResourceContent.getO8()); smt.setInt(50, humanResourceContent.getO9()); smt.setInt(51, humanResourceContent.getO10()); smt.setInt(52, humanResourceContent.getO11()); smt.setInt(53, humanResourceContent.getO12()); smt.setInt(54, humanResourceContent.getTotal0()); smt.setInt(55, humanResourceContent.getTotal1()); smt.setInt(56, humanResourceContent.getTotal2()); smt.setInt(57, humanResourceContent.getTotal3()); smt.setInt(58, humanResourceContent.getTotal4()); smt.setInt(59, humanResourceContent.getTotal5()); smt.setInt(60, humanResourceContent.getTotal6()); smt.setInt(61, humanResourceContent.getTotal7()); smt.setInt(62, humanResourceContent.getTotal8()); smt.setInt(63, humanResourceContent.getTotal9()); smt.setInt(64, humanResourceContent.getTotal10()); smt.setInt(65, humanResourceContent.getTotal11()); smt.setInt(66, humanResourceContent.getTotal12()); smt.executeUpdate(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
public HumanResourceContent getHumanResourceContentByMember(Member member) { Sl = "SELECT * FROM human_resource_content WHERE memberAccount = ?"; HumanResourceContent humanResourceContent = new HumanResourceContent(); try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl); smt.setString(1, member.getAccount()); rs = smt.executeQuery(); if(rs.next()){ humanResourceContent.setM0(rs.getInt("M0")); humanResourceContent.setM1(rs.getInt("M1")); humanResourceContent.setM2(rs.getInt("M2")); humanResourceContent.setM3(rs.getInt("M3")); humanResourceContent.setM4(rs.getInt("M4")); humanResourceContent.setM5(rs.getInt("M5")); humanResourceContent.setM6(rs.getInt("M6")); humanResourceContent.setM7(rs.getInt("M7")); humanResourceContent.setM8(rs.getInt("M8")); humanResourceContent.setM9(rs.getInt("M9")); humanResourceContent.setM10(rs.getInt("M10")); humanResourceContent.setM11(rs.getInt("M11")); humanResourceContent.setM12(rs.getInt("M12")); humanResourceContent.setR0(rs.getInt("R0")); humanResourceContent.setR1(rs.getInt("R1")); humanResourceContent.setR2(rs.getInt("R2")); humanResourceContent.setR3(rs.getInt("R3")); humanResourceContent.setR4(rs.getInt("R4")); humanResourceContent.setR5(rs.getInt("R5")); humanResourceContent.setR6(rs.getInt("R6")); humanResourceContent.setR7(rs.getInt("R7")); humanResourceContent.setR8(rs.getInt("R8")); humanResourceContent.setR9(rs.getInt("R9")); humanResourceContent.setR10(rs.getInt("R10")); humanResourceContent.setR11(rs.getInt("R11")); humanResourceContent.setR12(rs.getInt("R12")); humanResourceContent.setS0(rs.getInt("S0")); humanResourceContent.setS1(rs.getInt("S1")); humanResourceContent.setS2(rs.getInt("S2")); humanResourceContent.setS3(rs.getInt("S3")); humanResourceContent.setS4(rs.getInt("S4")); humanResourceContent.setS5(rs.getInt("S5")); humanResourceContent.setS6(rs.getInt("S6")); humanResourceContent.setS7(rs.getInt("S7")); humanResourceContent.setS8(rs.getInt("S8")); humanResourceContent.setS9(rs.getInt("S9")); humanResourceContent.setS10(rs.getInt("S10")); humanResourceContent.setS11(rs.getInt("S11")); humanResourceContent.setS12(rs.getInt("S12")); humanResourceContent.setO0(rs.getInt("O0")); humanResourceContent.setO1(rs.getInt("O1")); humanResourceContent.setO2(rs.getInt("O2")); humanResourceContent.setO3(rs.getInt("O3")); humanResourceContent.setO4(rs.getInt("O4")); humanResourceContent.setO5(rs.getInt("O5")); humanResourceContent.setO6(rs.getInt("O6")); humanResourceContent.setO7(rs.getInt("O7")); humanResourceContent.setO8(rs.getInt("O8")); humanResourceContent.setO9(rs.getInt("O9")); humanResourceContent.setO10(rs.getInt("O10")); humanResourceContent.setO11(rs.getInt("O11")); humanResourceContent.setO12(rs.getInt("O12")); humanResourceContent.setTotal0(rs.getInt("total0")); humanResourceContent.setTotal1(rs.getInt("total1")); humanResourceContent.setTotal2(rs.getInt("total2")); humanResourceContent.setTotal3(rs.getInt("total3")); humanResourceContent.setTotal4(rs.getInt("total4")); humanResourceContent.setTotal5(rs.getInt("total5")); humanResourceContent.setTotal6(rs.getInt("total6")); humanResourceContent.setTotal7(rs.getInt("total7")); humanResourceContent.setTotal8(rs.getInt("total8")); humanResourceContent.setTotal9(rs.getInt("total9")); humanResourceContent.setTotal10(rs.getInt("total10")); humanResourceContent.setTotal11(rs.getInt("total11")); humanResourceContent.setTotal12(rs.getInt("total12")); } smt.executeQuery(); rs.close(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } return humanResourceContent; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public boolean checkHumanResourceContentByMember(Member member) { Sl = "SELECT * FROM human_resource_content WHERE memberAccount=?"; try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl); smt.setString(1, member.getAccount()); rs = smt.executeQuery(); if(rs.next()){ smt.setString(1, member.getAccount()); return true; } smt.executeQuery(); rs.close(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void updateHumanResourceContentByMember( HumanResourceContent humanResourceContent) { String Sl = "UPDATE human_resource_content SET memberAccount=?, M0=?, M1=?, M2=?, M3=?, M4=?, " + "M5=?, M6=?, M7=?, M8=?, M9=?, M10=?, M11=?, M12=?, R0=?, R1=?, R2=?, R3=?, R4=?, " + "R5=?, R6=?, R7=?, R8=?, R9=?, R10=?, R11=?, R12=?, S0=?, S1=?, S2=?, S3=?, S4=?, " + "S5=?, S6=?, S7=?, S8=?, S9=?, S10=?, S11=?, S12=?, O0=?, O1=?, O2=?, O3=?, O4=?, " + "O5=?, O6=?, O7=?, O8=?, O9=?, O10=?, O11=?, O12=?, total0=?, total1=?, total2=?, total3=?, total4=?, " + "total5=?, total6=?, total7=?, total8=?, total9=?, total10=?, total11=?, total12=? " + "WHERE memberAccount = ?"; try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl); smt.setString(1,humanResourceContent.getAccount()); smt.setInt(2,humanResourceContent.getM0()); smt.setInt(3, humanResourceContent.getM1()); smt.setInt(4, humanResourceContent.getM2()); smt.setInt(5, humanResourceContent.getM3()); smt.setInt(6, humanResourceContent.getM4()); smt.setInt(7, humanResourceContent.getM5()); smt.setInt(8, humanResourceContent.getM6()); smt.setInt(9, humanResourceContent.getM7()); smt.setInt(10, humanResourceContent.getM8()); smt.setInt(11, humanResourceContent.getM9()); smt.setInt(12, humanResourceContent.getM10()); smt.setInt(13, humanResourceContent.getM11()); smt.setInt(14, humanResourceContent.getM12()); smt.setInt(15, humanResourceContent.getR0()); smt.setInt(16, humanResourceContent.getR1()); smt.setInt(17, humanResourceContent.getR2()); smt.setInt(18, humanResourceContent.getR3()); smt.setInt(19, humanResourceContent.getR4()); smt.setInt(20, humanResourceContent.getR5()); smt.setInt(21, humanResourceContent.getR6()); smt.setInt(22, humanResourceContent.getR7()); smt.setInt(23, humanResourceContent.getR8()); smt.setInt(24, humanResourceContent.getR9()); smt.setInt(25, humanResourceContent.getR10()); smt.setInt(26, humanResourceContent.getR11()); smt.setInt(27, humanResourceContent.getR12()); smt.setInt(28, humanResourceContent.getS0()); smt.setInt(29, humanResourceContent.getS1()); smt.setInt(30, humanResourceContent.getS2()); smt.setInt(31, humanResourceContent.getS3()); smt.setInt(32, humanResourceContent.getS4()); smt.setInt(33, humanResourceContent.getS5()); smt.setInt(34, humanResourceContent.getS6()); smt.setInt(35, humanResourceContent.getS7()); smt.setInt(36, humanResourceContent.getS8()); smt.setInt(37, humanResourceContent.getS9()); smt.setInt(38, humanResourceContent.getS10()); smt.setInt(39, humanResourceContent.getS11()); smt.setInt(40, humanResourceContent.getS12()); smt.setInt(41, humanResourceContent.getO0()); smt.setInt(42, humanResourceContent.getO1()); smt.setInt(43, humanResourceContent.getO2()); smt.setInt(44, humanResourceContent.getO3()); smt.setInt(45, humanResourceContent.getO4()); smt.setInt(46, humanResourceContent.getO5()); smt.setInt(47, humanResourceContent.getO6()); smt.setInt(48, humanResourceContent.getO7()); smt.setInt(49, humanResourceContent.getO8()); smt.setInt(50, humanResourceContent.getO9()); smt.setInt(51, humanResourceContent.getO10()); smt.setInt(52, humanResourceContent.getO11()); smt.setInt(53, humanResourceContent.getO12()); smt.setInt(54, humanResourceContent.getTotal0()); smt.setInt(55, humanResourceContent.getTotal1()); smt.setInt(56, humanResourceContent.getTotal2()); smt.setInt(57, humanResourceContent.getTotal3()); smt.setInt(58, humanResourceContent.getTotal4()); smt.setInt(59, humanResourceContent.getTotal5()); smt.setInt(60, humanResourceContent.getTotal6()); smt.setInt(61, humanResourceContent.getTotal7()); smt.setInt(62, humanResourceContent.getTotal8()); smt.setInt(63, humanResourceContent.getTotal9()); smt.setInt(64, humanResourceContent.getTotal10()); smt.setInt(65, humanResourceContent.getTotal11()); smt.setInt(66, humanResourceContent.getTotal12()); smt.setString(67,humanResourceContent.getAccount()); smt.executeUpdate(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public double getVentureChecklistPercent(Member member1) { double mapSubclassCount; double mySubclassCount; double percentCount; Sl1 = "SELECT COUNT(*) AS count FROM map_subclass WHERE mapClassID=?"; try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl1); smt.setString(1, member1.getSetPercent()); System.out.println("getSetPercent()="+member1.getSetPercent()); rs1 = smt.executeQuery(); if(rs1.next()){ mapSubclassCount=rs1.getInt("count"); System.out.println("mapSubclassCount="+mapSubclassCount); Sl2 = "SELECT COUNT(*) AS count FROM venture_checklist WHERE mapClassID=? AND memberAccount =? "; smt = conn.prepareStatement(Sl2); smt.setString(1, member1.getSetPercent()); smt.setString(2, member1.getAccount()); rs2 = smt.executeQuery(); if(rs2.next()){ mySubclassCount=rs2.getInt("count"); //System.out.println("mySubclassCount="+mySubclassCount); percentCount = mySubclassCount/mapSubclassCount; //System.out.println("percentCount="+(mySubclassCount/mapSubclassCount)); return percentCount; } } smt.executeQuery(); rs1.close(); rs2.close(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
public boolean checkVentureCheckListByMemberSubID(String account, int id) { Sl = "SELECT * FROM venture_checklist WHERE memberAccount=? AND mapSubClassID=?"; try { conn = dataSource.getConnection(); smt = conn.prepareStatement(Sl); smt.setString(1, account); smt.setInt(2, id); rs = smt.executeQuery(); if(rs.next()){ return true; } smt.executeQuery(); rs.close(); smt.close(); } catch (SQLException e) { throw new RuntimeException(e); } finally { if (conn != null) { try { conn.close(); } catch (SQLException e) {} } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
convenience overload for the most common UTF8 misinterpretation
public static boolean isUTF8MisInterpreted( String input ) { return isUTF8MisInterpreted( input, "Windows-1252" ) ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testInvalidTextValueWithBrokenUTF8() throws Exception\n {\n final byte[] input = readResource(\"/data/clusterfuzz-cbor-35979.cbor\");\n try (JsonParser p = MAPPER.createParser(input)) {\n assertToken(JsonToken.VALUE_STRING, p.nextToken());\n p.getText();\n ...
[ "0.65922976", "0.65109247", "0.64923954", "0.6367582", "0.6367582", "0.6302799", "0.63024634", "0.6248446", "0.6244951", "0.6216444", "0.6103441", "0.60766613", "0.6071652", "0.60471565", "0.6038799", "0.60324055", "0.6008986", "0.59955096", "0.5962932", "0.5960486", "0.59335...
0.6353035
5
define symbols in this scope
public void enterFile(CymbolParser.FileContext ctx) { globals = new GlobalScope(null); currentScope = globals; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void define(Symbol sym);", "@Override\n public void define(Symbol symbol) {\n }", "@Override\n public void define(Symbol symbol) {\n }", "public SymbolTable() {\n\t\tclassScope = new Hashtable<String, Values>();\n\t\tsubScope = new Hashtable<String, Values>();\n\t\tcurrScope = classScope;\n\t\tsu...
[ "0.73861647", "0.73284364", "0.73284364", "0.6625465", "0.6462385", "0.6455517", "0.6279686", "0.6278546", "0.6231275", "0.6195824", "0.61885136", "0.6174541", "0.61600363", "0.6157886", "0.61264706", "0.61199397", "0.6058493", "0.6055728", "0.6054835", "0.60089636", "0.59782...
0.0
-1
push new local scope
public void enterBlock(CymbolParser.BlockContext ctx) { currentScope = new LocalScope(currentScope); saveScope(ctx, currentScope); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void pushScope() {\n Scope newScope = new Scope(currentScope);\n currentScope = newScope;\n }", "public void pushScope() {\n\t\tscopeStack.add(new Scope());\n\t\t\n\t}", "public void addNewScope(){\n List<String> varScope = new ArrayList<>();\n newVarInCurrentScope.add(varScope);...
[ "0.8396584", "0.8138171", "0.78224254", "0.72247934", "0.71386003", "0.7092773", "0.68642974", "0.6737621", "0.6602198", "0.6444328", "0.6401495", "0.6349265", "0.60050637", "0.5991126", "0.592055", "0.58071136", "0.5709486", "0.5626885", "0.557631", "0.5574015", "0.5525896",...
0.5394216
29
TODO Autogenerated method stub
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); char[][] map = new char[n][n]; for(int i = 0; i < n; i++) { String line = sc.next(); for(int j = 0; j < n; j++) { map[i][j] = line.charAt(j); } } int x = sc.nextInt(), y = sc.nextInt(); sc.close(); boolean[][] flag = new boolean[n][n]; dfs(map, flag, x, y, n); System.out.println(value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
We've bound to LocalService, cast the IBinder and get LocalService instance
@Override public void onServiceConnected(ComponentName className, IBinder service) { GrcBoxBinder binder = (GrcBoxBinder) service; grcBoxCli = binder.getService(); mBound = true; if(!grcBoxCli.isRegistered()){ grcBoxCli.register(getResources().getString(R.string.app_name)); } for(GrcBoxRule rule: pendingRules){ new NewRuleTask("").execute(rule); } pendingRules.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onServiceConnected(ComponentName className,\n IBinder service) {\n LocalService.LocalBinder binder = (LocalService.LocalBinder) service;\n mService = binder.getService();\n mBound = true;\n }", "@Override...
[ "0.6844528", "0.6844528", "0.68022645", "0.66364044", "0.6533302", "0.6315381", "0.62816405", "0.6274176", "0.6230017", "0.62189364", "0.6206358", "0.6195283", "0.6168687", "0.61273944", "0.60704756", "0.6053221", "0.6038579", "0.6032555", "0.6015566", "0.59158903", "0.590638...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); mMenu = menu; if(selectedTab == APPS_TAG){ if(mMenu != null){ MenuItem addButton = mMenu.findItem(R.id.action_add); addButton.setVisible(false); MenuItem loadButton = mMenu.findItem(R.id.action_load_profile); loadButton.setVisible(false); } } else if(selectedTab == RULES_TAG){ if(mMenu != null){ MenuItem addButton = mMenu.findItem(R.id.action_add); addButton.setVisible(true); MenuItem loadButton = mMenu.findItem(R.id.action_load_profile); loadButton.setVisible(true); } } else if(selectedTab == IFACES_TAG){ if(mMenu != null){ MenuItem addButton = mMenu.findItem(R.id.action_add); addButton.setVisible(false); MenuItem loadButton = mMenu.findItem(R.id.action_load_profile); loadButton.setVisible(false); } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); if (id == R.id.action_add) { if(grcBoxCli.isRegistered()){ Intent intent = new Intent(this, NewRule.class); startActivityForResult(intent, NEW_RULE_ACTION); } else{ Toast.makeText(MainActivity.this, "You are not connected to a GRCBOX you can't create new rules", Toast.LENGTH_SHORT).show(); } } else if(id == R.id.action_refresh){ refresh(); } else if(id == R.id.action_close){ final Intent intent = new Intent(this, GrcBoxClientService.class); new DeRegisterTask().execute(); stopService(intent); finish(); } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.7904231", "0.78061396", "0.7767007", "0.77273244", "0.76318634", "0.7621818", "0.7585249", "0.7531511", "0.7488678", "0.74574006", "0.74574006", "0.7439257", "0.7421747", "0.7403457", "0.73920685", "0.7387285", "0.7379893", "0.73710734", "0.7363068", "0.73565257", "0.73461...
0.0
-1
TODO Autogenerated method stub
@Override public void onTabReselected(Tab tab, FragmentTransaction ft) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO to be implemented
@Override public void validate() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void anularFact() {\...
[ "0.59761655", "0.5968062", "0.59193194", "0.5874404", "0.58493966", "0.57490444", "0.5664812", "0.56591034", "0.56256324", "0.56256324", "0.5610172", "0.5589765", "0.5579562", "0.5574415", "0.556244", "0.5536535", "0.55302966", "0.55221987", "0.55190253", "0.5509272", "0.5501...
0.0
-1
Crea el modo de juego
ModoJuego(int intentos, int numCasillas, boolean repetirColores, int maxColores) { this.intentos = intentos; this.numCasillas = numCasillas; this.repetirColores = repetirColores; this.maxColores = maxColores; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Jugador(ModoDeJuego modo) {\n\t\tthis.modo = modo;\n\t\ttablero = new Tablero(modo);\n\t}", "public Juego()\n {\n // crea la ventana principal del juego\n generaVentana();\n \n // genera las naves y los disparos del juego\n generaNaves();\n \n // respond...
[ "0.66709197", "0.64961416", "0.63929284", "0.6375227", "0.6325686", "0.62988555", "0.6263619", "0.6112591", "0.60978734", "0.6050241", "0.5992762", "0.5986057", "0.5970942", "0.59458476", "0.5939074", "0.5925918", "0.5921238", "0.5917402", "0.5916566", "0.5914889", "0.5909419...
0.0
-1
difference between start time and finish time ...maybe? Full constructor
public Session(int sessionID, int associatedUserID, String associatedUserName, int associatedTaskID, String associatedTaskName, String startTime, String finishTime, LocalDateTime startLDT, LocalDateTime finishLDT, int duration) { this.sessionID = sessionID; this.associatedUserID = associatedUserID; this.associatedUserName = associatedUserName; this.associatedTaskID = associatedTaskID; this.associatedTaskName = associatedTaskName; this.startTime = startTime; this.finishTime = finishTime; this.startLDT = startLDT; this.finishLDT = finishLDT; this.duration = duration; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract double calculateStartTime();", "protected double getElapsedTime() {\n\t\treturn Utilities.getTime() - startTime;\n\t}", "public double getFinishTime(){return finishTime;}", "public Double waitTimeCalculatior(long start) {\n\t\t\t\tdouble difference = (System.currentTimeMillis() - start);\n\t\...
[ "0.71554", "0.70164394", "0.6880278", "0.67932904", "0.6792336", "0.6791154", "0.67908", "0.6780393", "0.67668414", "0.672488", "0.67060673", "0.66478056", "0.661339", "0.66112506", "0.6602557", "0.6592766", "0.6585352", "0.6574078", "0.6566035", "0.6519379", "0.6518812", "...
0.0
-1
Ordering by DateTime constructor
public Session(int sessionID, int associatedTaskID, String associatedTaskName, LocalDateTime startLDT, LocalDateTime finishLDT) { this.sessionID = sessionID; // this.description = description; this.associatedTaskID = associatedTaskID; this.associatedTaskName = associatedTaskName; // Do I need this? this.startLDT = startLDT; this.finishLDT = finishLDT; // Do I need this? }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Timestamp getDateOrdered();", "int compare( IDateTimeValueType rhs );", "@Test\n void sortByDate() {\n }", "private ArrayList<Task> sortByDate(ArrayList<Task> toSort) {\n ArrayList<Task> sorted = new ArrayList<>();\n\n toSort = removeNoTimeTask(toSort);\n\n int size = toSort...
[ "0.660922", "0.58719003", "0.58557034", "0.5739564", "0.57091933", "0.56947565", "0.566914", "0.56095994", "0.5572463", "0.5538525", "0.5536244", "0.5493457", "0.54770076", "0.5459099", "0.5413597", "0.53739846", "0.5360587", "0.5355154", "0.53494215", "0.53443307", "0.534192...
0.0
-1
Interface that represents the entire bottom pane of the Skeleton and includes any components that are represented here.
public interface BottomRoot extends SkeletonObject{ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createBottomPanel() {\n humanPaquetView = new ViewDeckVisible(false);\n this.getContentPane().add(humanPaquetView);\n }", "protected View getBottomLayout() {\n\t\treturn new View(this);\n\t}", "public JPanel bottomPanel() {\n\t\tJPanel bpanel = new JPanel(null);\n\t\tbpanel.setBou...
[ "0.67200696", "0.65402883", "0.65038764", "0.6483274", "0.64206475", "0.62422377", "0.62422377", "0.6187505", "0.61499363", "0.612689", "0.61185783", "0.6079295", "0.605996", "0.5969293", "0.5948183", "0.5910116", "0.5887258", "0.5818308", "0.5817764", "0.5812841", "0.5801959...
0.5732956
27
runs static initialization block
public static void load() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void init() {}", "public static void init() {}", "public static void init() {\n }", "public static void init() {\n }", "public static void init() {\n\n }", "public static void init() {\n\t\t\n\t}", "public void init() {\n log.info(\"initialization\");\n }", "@SuppressWarning...
[ "0.8252461", "0.80456835", "0.7795296", "0.7795296", "0.7780827", "0.7716569", "0.7364399", "0.7307893", "0.73075104", "0.7305587", "0.7305587", "0.7305587", "0.7305587", "0.729788", "0.72709274", "0.72709274", "0.7185532", "0.7138806", "0.71197677", "0.70886236", "0.7042336"...
0.0
-1
This ChatList interface contains 6 methods, newChat, allChats, getVersion, newName, print, and registration.
public interface ChatList extends Remote { Chat newChat(String s) throws RemoteException; Vector allChats() throws RemoteException; int getVersion() throws RemoteException; boolean newName(String s) throws RemoteException; boolean deleteName(String s) throws RemoteException; void print() throws RemoteException; void registration(ChatList l) throws RemoteException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Chat {\n UUID getChatId();\n void setChatId(UUID chatId);\n UUID getObjectId();\n void setObjectId(UUID objectId);\n String getLocalActorType();\n void setLocalActorType(String localActorType);\n String getLocalActorPublicKey();\n void setLocalActorPublicKey(String localAct...
[ "0.6688228", "0.6637656", "0.654793", "0.65311605", "0.6387863", "0.62848526", "0.6251381", "0.61766994", "0.61130005", "0.6053125", "0.6013946", "0.5957776", "0.5942988", "0.59332424", "0.5887941", "0.5852296", "0.5829844", "0.58274275", "0.5800168", "0.57957286", "0.5790714...
0.74347425
0
create a Path object by calling static method get() in Paths class
public static void main(String[] args) throws IOException { Path testFilePath = Paths.get("/home/ilmir/Dropbox/Aliya_Ilmir/2дебила"); System.out.println("Path: "+testFilePath); line(); // retrieve basic information about path System.out.println("Printing file information: "); System.out.println("\t getFileName(): \t" + testFilePath.getFileName()); System.out.println("\t getRoot(): \t\t" + testFilePath.getRoot()); System.out.println("\t getParent(): \t\t" + testFilePath.getParent()); line(); // print path elements System.out.println("Printing elements of the path: "); for(Path element : testFilePath) { System.out.println("\t path element: " + element); } line(); //get a path object with relative path Path path = Paths.get("./src"); System.out.println("Path: "+path); System.out.println("1) getFileName(): " + path.getFileName()); System.out.println("2) toUri(): " + path.toUri()); System.out.println("3) toAbsolutePath(): " + path.toAbsolutePath()); System.out.println("4) normalize(): " + path.normalize()); // get another path object with normalized relative path Path testPathNormalized = Paths.get(path.normalize().toString()); System.out.println("Path normalized: "+testPathNormalized); System.out.println("5) normalized absolute path is: " + testPathNormalized.toAbsolutePath()); System.out.println("6) normalized real path is: " + path.toRealPath (LinkOption.NOFOLLOW_LINKS)); line(); Path dir = Paths.get("/home/ilmir/Dropbox/Aliya_Ilmir"); Path resolvedPath = dir.resolve("2дебила"); System.out.println("Resolved path: "+resolvedPath); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Path createPath();", "public static Paths getInstance(){\r\n if(instance == null){\r\n instance = new Paths();\r\n }\r\n return instance;\r\n }", "Path getPath();", "public Path getPath();", "public abstract Shape createPath();", "public interface Paths extends Construc...
[ "0.7454821", "0.68117875", "0.6695517", "0.66733783", "0.6611882", "0.653173", "0.65134835", "0.6421798", "0.64183515", "0.6415205", "0.6381878", "0.6379816", "0.6379816", "0.6232943", "0.62213176", "0.6185226", "0.608945", "0.6038039", "0.6006644", "0.6006644", "0.6006644", ...
0.0
-1
the listview from list_of_messages set the layout of messages to be sent
private void displayChatMessage() { ListView listOfMessage = (ListView) findViewById(R.id.list_of_messages); adapter = new FirebaseListAdapter<ChatMessage>(this, ChatMessage.class, R.layout.list_messages, FirebaseDatabase.getInstance().getReference()) { @Override protected void populateView(View v, ChatMessage model, int position) { TextView messageText,messageUser,messageTime; messageText = (TextView) v.findViewById(R.id.message_text); messageUser = (TextView) v.findViewById(R.id.message_user); messageTime = (TextView) v.findViewById(R.id.message_time); messageText.setText(model.getMessageText()); messageUser.setText(model.getMessageUser()); messageTime.setText(DateFormat.format("dd-MM-yyyy (HH:mm:ss)", model.getMessageTime())); } }; listOfMessage.setAdapter(adapter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateListViewLogWindow()\n {\n listViewMessageItems.clear();\n\n for(int i =0;i<= printResult.size() - 1;i++)\n {\n listViewMessageItems.add(printResult.get(i));\n }\n\n }", "private void updateLists(){\n subjects.clear();\n for(Message m :...
[ "0.6858625", "0.6781842", "0.676211", "0.6740817", "0.67321557", "0.6731074", "0.67256063", "0.6713065", "0.668972", "0.6548658", "0.6546866", "0.6545928", "0.6533708", "0.6519664", "0.65065134", "0.6483621", "0.64830047", "0.64745915", "0.64273196", "0.64083046", "0.63760954...
0.64197904
19
When a user clicks the logout button
@Override public void onClick(View view) { if (view == buttonLogout) { firebaseAuth.signOut(); finish(); startActivity(new Intent(this, LoginActivity.class)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void logout() {\n \n }", "void logout();", "void logout();", "void onLogout(boolean loggedIn);", "private void logout() {\n Utils.showConfirmationDialogCallBack(MainActivity.this, getString(R.string.logout_sure), this);\n }", "public void logout() {\n showLoginScreen();\...
[ "0.8312311", "0.8216633", "0.8216633", "0.81297", "0.8121437", "0.8115028", "0.80748653", "0.800248", "0.7981263", "0.7949581", "0.7906157", "0.7880334", "0.78765506", "0.7861495", "0.78612155", "0.7858123", "0.7833581", "0.78299963", "0.7819206", "0.78074837", "0.78011143", ...
0.0
-1
Retrieve events from Wavefront Monitoring tool for the specified duration of time along with the tags specified.
public List<WavefrontEvent> getEvents(Map<String, String> tags, String servieFamilyName, String serviceName, long startTime, long endTime) { log.info(" Querying events from Wavefront. "); WavefrontEventResponse response = metricProviderHelper.queryEvents(tags, servieFamilyName, serviceName, String.valueOf(startTime), String.valueOf(endTime)); if (null == response || response.getEvents().isEmpty()) { log.debug(" Event Query returned error OR no events found . "); return new ArrayList<>(); } List<WavefrontEvent> events = response.getEvents(); return filterEvents(events, startTime, endTime); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DescribeEventsResult describeEvents(DescribeEventsRequest describeEventsRequest);", "private List<WavefrontEvent> filterEvents(List<WavefrontEvent> wavefrontEvents, Long startTime, Long endTime) {\n List<WavefrontEvent> filterEvents = wavefrontEvents.stream()\n .filter(event -> event.getEnd...
[ "0.5380937", "0.5252974", "0.50014323", "0.49982154", "0.49974373", "0.49814913", "0.4963917", "0.49002567", "0.48683923", "0.4826601", "0.48243564", "0.4815689", "0.47509944", "0.47214094", "0.47134414", "0.46588725", "0.46576363", "0.4647894", "0.4626297", "0.46228307", "0....
0.6399061
0
The events retrieved from the method: retrieveEvents(..) contains events out of the time range specified. Hence, we will apply the filter to remove all the events those fall outside of time boundary specified
private List<WavefrontEvent> filterEvents(List<WavefrontEvent> wavefrontEvents, Long startTime, Long endTime) { List<WavefrontEvent> filterEvents = wavefrontEvents.stream() .filter(event -> event.getEnd() >= startTime && event.getEnd() <= endTime).collect(Collectors.toList()); log.debug("{} events were found out of time bound, startTime: {} and endTime: {}", wavefrontEvents.size() - filterEvents.size(), startTime, endTime); return filterEvents; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ObservableList<ReadOnlyEvent> getFilteredEventList();", "public List<TimeRange> getUnavailableTimesForAttendees(Collection<Event> events, Collection<String> listOfAttendees){\n List<TimeRange> unavailableTimes = new ArrayList<>();\n for(String attendee : listOfAttendees) {\n for(Event event : events) ...
[ "0.6256077", "0.6171599", "0.6010873", "0.59533465", "0.59399337", "0.5889694", "0.5883613", "0.5866596", "0.5835859", "0.5830047", "0.5813403", "0.56816125", "0.5649748", "0.5593654", "0.55749786", "0.5545306", "0.5537975", "0.5523402", "0.5488195", "0.54837257", "0.548188",...
0.7438216
0
Helper method to retrieve the time series data for the query specified between specified time range.
public WavefrontMetricQueryResponse queryMetric(String query, long startTimeInEpocMillis, long endTimeInEpochMillis, String granulirity) { log.info(" Running the query: " + query + " between start time: " + startTimeInEpocMillis + " and end time: " + endTimeInEpochMillis); WavefrontMetricQueryResponse queryResponse = metricProviderHelper.queryMetrics(query, startTimeInEpocMillis, endTimeInEpochMillis, granulirity); if (null == queryResponse) { log.error(" Query didn't return any thing. Please check the query. "); return null; } return queryResponse; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<TimeseriesData> getTimeSeriesData(String query, long startTimeInEpocMillis, long endTimeInEpochMillis,\n String granularity) {\n List<TimeseriesData> timeSeriesData = new ArrayList<>();\n WavefrontMetricQueryResponse queryResponse =\n queryMetric(query, startTime...
[ "0.7422926", "0.69073313", "0.6726744", "0.6259348", "0.61844176", "0.60671544", "0.59921455", "0.59760976", "0.5963128", "0.5922322", "0.5779738", "0.5668602", "0.56451863", "0.55550706", "0.55514175", "0.5539159", "0.55301315", "0.5501482", "0.54367894", "0.5405903", "0.538...
0.51493204
43
Retrieve only the time series data from the specified query in the specified time window. The Time Series data retrieved will have only tags and time series data in it. We will keep the "host" value as well in the tags list.
public List<TimeseriesData> getTimeSeriesData(String query, long startTimeInEpocMillis, long endTimeInEpochMillis, String granularity) { List<TimeseriesData> timeSeriesData = new ArrayList<>(); WavefrontMetricQueryResponse queryResponse = queryMetric(query, startTimeInEpocMillis, endTimeInEpochMillis, granularity); if (null != queryResponse && null != queryResponse.getTimeseries()) { for (Timeseries timeseries : queryResponse.getTimeseries()) { TimeseriesData data = new TimeseriesData(); if (CollectionUtils.isEmpty(timeseries.getTags())) { data.setTags(new HashMap<>()); } else { data.setTags(timeseries.getTags()); } data.setData(timeseries.getData()); data.getTags().put("host", timeseries.getHost()); timeSeriesData.add(data); } return timeSeriesData; } return timeSeriesData; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void queryTimeSeries(final Message<JsonObject> msg) {\n\n final JsonObject query = msg.body();\n LOG.debug(\"{}\\n{}\", address, query.encodePrettily());\n\n // get the paramsters from the query\n final Range range = rangeParser.parse(query.getJsonObject(\"range\").getString(\"from\"),\...
[ "0.6171575", "0.55987537", "0.5480419", "0.5446879", "0.54174364", "0.5200391", "0.51692146", "0.507658", "0.5052321", "0.504197", "0.4924245", "0.48087588", "0.48019508", "0.47994745", "0.47243932", "0.47099286", "0.47024313", "0.46828526", "0.46427166", "0.4617013", "0.4582...
0.6634777
0
BufferedImage image = ImageIO.read(new URL("
@RequestMapping(value = "/success", method = RequestMethod.POST) public String profileSave(@ModelAttribute("userForm") UserDetails userForm,Principal principal ) throws IOException { userService.saveEditProfile(userForm,principal); return "redirect:dashboard"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BufferedImage getImage();", "BufferedImage getImage();", "BufferedImage getImage();", "public static BufferedImage loadBufferedImage( URL theUrl )\n\t\tthrows IOException\n\t{\n\t\tBufferedImage im = null;\n\t\ttry\n\t\t{\n\t\t\tim = ImageIO.read( theUrl );\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tthrow...
[ "0.7411187", "0.7411187", "0.7411187", "0.7005876", "0.6946439", "0.6880731", "0.67483157", "0.6706313", "0.66786367", "0.66493946", "0.66446316", "0.65820736", "0.65758497", "0.65715945", "0.6524928", "0.6493948", "0.64621204", "0.6451544", "0.6439665", "0.64257216", "0.6371...
0.0
-1
Prepara los directorios al estado necesario antes de ejecutar los tests.
private void manageDirectories() throws IOException { FileManager.copyFolder(RefactoringPlugin.getDynamicRefactoringsDir(), "./testdata/XML/Writer/availableRefactorings"); FileManager.emptyDirectories(RefactoringPlugin .getDynamicRefactoringsDir()); FileManager.deleteDirectories( RefactoringPlugin.getDynamicRefactoringsDir(), false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createTestDir() {\n\t\tworkDir = new File(System.getProperty(\"test.dir\", \"target\"));\n\t}", "public void setUp() {\n new File(TEST_FILE).getParentFile().mkdirs();\n }", "@BeforeAll\n public static void setUp() throws IOException {\n Files.createDirectories(Paths.get(targetPa...
[ "0.6828656", "0.68183565", "0.6787437", "0.6523016", "0.645837", "0.6360713", "0.6309477", "0.62488633", "0.61331415", "0.6088947", "0.60697377", "0.603597", "0.6013712", "0.59729844", "0.5958554", "0.59562963", "0.5953468", "0.5951752", "0.5945769", "0.5926787", "0.5922813",...
0.0
-1
Devuelve el estado de los directorios al estado inicial antes de iniciar los tests.
private void restoreDirectories() throws IOException { // Reponemos las refactorizaciones que habia antes FileManager.emptyDirectories(RefactoringPlugin .getDynamicRefactoringsDir()); FileManager.deleteDirectories( RefactoringPlugin.getDynamicRefactoringsDir(), false); FileManager .copyFolder( "./testdata/XML/Writer/availableRefactorings/DynamicRefactorings", new File(RefactoringPlugin.getDynamicRefactoringsDir()) .getParent()); // Borramos la carpeta con las refactorizaciones del directorio temporal FileManager .emptyDirectories("./testdata/XML/Writer/availableRefactorings/DynamicRefactorings"); FileManager .deleteDirectories( "./testdata/XML/Writer/availableRefactorings/DynamicRefactorings", true); // Borramos el archivo generado para dejar la aplicaci�n como se // encontraba. FileManager.deleteFile(RefactoringConstants.REFACTORING_TYPES_FILE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUp() {\n new File(TEST_FILE).getParentFile().mkdirs();\n }", "public void createTestDir() {\n\t\tworkDir = new File(System.getProperty(\"test.dir\", \"target\"));\n\t}", "private void setUpDirectories() {\r\n\t\tFile creation = new File(\"Creations\");\r\n\t\tFile audio = new File(\"Au...
[ "0.6577574", "0.6569064", "0.6230737", "0.6212123", "0.60637397", "0.601466", "0.5992551", "0.59638506", "0.59279525", "0.5908334", "0.5905588", "0.58603245", "0.5789812", "0.57823616", "0.5768832", "0.5767888", "0.57396144", "0.5730653", "0.57177204", "0.57160586", "0.571567...
0.5350054
93
Comprueba que las refactorizaciones son las esperadas para el ambito especificado.
private void assertNumberOfRefactoringsExpectedForScope( String availableRefactoringsSomeScopesDir, Scope scope, int numberOfExpectedRefactorings) throws XMLRefactoringReaderException { HashMap<String, String> refactorings = JDOMXMLRefactoringReaderImp .readAvailableRefactorings(scope, RefactoringConstants.REFACTORING_TYPES_FILE); assertEquals(numberOfExpectedRefactorings, refactorings.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Problem prepare(RefactoringElementsBag refactoringElements) {\n if (semafor.get() != null) {\n return null;\n }\n semafor.set(new Object());\n try {\n rename = (RenameRefactoring)refactoring;\n \n Problem problem = null;\n Lo...
[ "0.62010413", "0.61496836", "0.61496836", "0.6052041", "0.53864366", "0.53802663", "0.5319793", "0.53054094", "0.5259883", "0.52141076", "0.517193", "0.5168359", "0.5167495", "0.51563805", "0.515035", "0.5129422", "0.5129144", "0.5115781", "0.5108605", "0.5101962", "0.5100509...
0.0
-1
Se asegura que la ruta de la refactorizacion concuerda con la obtenida en el mapa de refactorizaciones.
private void compareRefactoringPath(Scope scope, String availableRefactoringsSomeScopesDir, String refactoringName) throws XMLRefactoringReaderException { HashMap<String, String> refactorings = JDOMXMLRefactoringReaderImp .readAvailableRefactorings(scope, RefactoringConstants.REFACTORING_TYPES_FILE); assertEquals(refactorings.get(refactoringName), FilenameUtils.separatorsToSystem(RefactoringPlugin .getDynamicRefactoringsDir() + availableRefactoringsSomeScopesDir + File.separator + refactoringName + File.separator + refactoringName + ".xml")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Refactoring createRefactoring();", "protected abstract Refactoring createRefactoring();", "protected void buildMappings(android.icu.impl.coll.CollationData r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.icu.impl.coll...
[ "0.552975", "0.552975", "0.5428168", "0.5412989", "0.5123944", "0.5118397", "0.510558", "0.505546", "0.50275886", "0.5016887", "0.5001922", "0.49907446", "0.4974217", "0.49601665", "0.49588847", "0.49426186", "0.49068597", "0.4896053", "0.4895478", "0.48899317", "0.48878807",...
0.0
-1
Llamamos a la funcion que realiza el login
@Override public void onClick(View v) { userLogin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void login() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void login() {\n\t\t\r\n\t}", "public static void Login() \r\n\t{\n\t\t\r\n\t}", "protected synchronized void login() {\n\t\tauthenticate();\n\t}", "@Override\r\n\tpublic void login() {\n\r\n\t}", "@Override\n\tprotected void login() {\n\t\ts...
[ "0.8188545", "0.7866843", "0.7794111", "0.77082354", "0.7646634", "0.7542402", "0.7533234", "0.75108254", "0.7470332", "0.74238265", "0.7414085", "0.740653", "0.7367857", "0.73491514", "0.73363215", "0.73341876", "0.7307736", "0.72977346", "0.72972393", "0.72964334", "0.72871...
0.0
-1
Realiza el login del usuario
public void userLogin(){ StringRequest request = new StringRequest(StringRequest.Method.POST, loginUrl, new Response.Listener<String>() { @Override public void onResponse(String response) { if(!response.equals("error")){ if(response.equals("1")){ Intent intent = new Intent(getApplicationContext(),AdminActivity.class); startActivity(intent); } else{ Intent intent = new Intent(getApplicationContext(),UserActivity.class); intent.putExtra("username",username.getText().toString()); startActivity(intent); } }else{ Toast.makeText(getApplicationContext(),"Invalid username or Password",Toast.LENGTH_LONG).show(); } } }, new Response.ErrorListener() { @Override public void onErrorResponse(VolleyError error) { } }){ @Override protected Map<String, String> getParams() throws AuthFailureError { Map<String,String> params = new HashMap<>(); params.put("loginuser","true"); params.put("email",username.getText().toString().trim()); params.put("password",userpassword.getText().toString().trim()); return params; } }; Volley.newRequestQueue(this).add(request); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Role.ADMIN);\n\t\tuser.setEmail(\"admin@gibmit.ch\");\n\t\t\n\t\tif(user != null) {\n\t\t\tuserBean.setLoggedInUser(user);\n\t\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\t\tHttpServletRequest req = (HttpServletRequest)co...
[ "0.7486889", "0.73048425", "0.7253196", "0.72119546", "0.7210427", "0.7152157", "0.70410866", "0.6975809", "0.6953394", "0.6949801", "0.6943099", "0.691933", "0.68787795", "0.68298686", "0.6825594", "0.6819661", "0.6819367", "0.6817676", "0.6814218", "0.67751515", "0.677384",...
0.0
-1
CALCULO VALOR UTILIZADO EMENDA
public BigDecimal calcularValorUtilizado(Emenda e) { BigDecimal valorUsado = new BigDecimal(0); List<IndicacaoEmenda> indicacoes = indicacaoEService.findByEmenda(e); for (IndicacaoEmenda indicacao : indicacoes) { valorUsado = valorUsado.add(indicacao.getValorDestinado()); } return valorUsado; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void calcularQuinA(){\n sueldoQuinAd = sueldoMensual /2;\n\n }", "@Override\n public double calculaSalario() \n {\n double resultado = valor_base - ((acumulado * 0.05) * valor_base);\n resultado += auxilioProcriacao();\n //vale-coxinha\n resultado += 42;\n ...
[ "0.7077719", "0.7027359", "0.69795525", "0.69598025", "0.694137", "0.68585414", "0.68126714", "0.68093973", "0.6801673", "0.6721229", "0.6712352", "0.6661962", "0.6657814", "0.6626507", "0.6618338", "0.66102606", "0.6594064", "0.6590172", "0.6586196", "0.6579161", "0.6569963"...
0.62155604
65
CALCULO VALOR DISPONIVEL EMENDA
public BigDecimal calculaValorDisponivel(Emenda e) { BigDecimal valorDisponivel = new BigDecimal(0); BigDecimal valorUsado = calcularValorUtilizado(e); BigDecimal valorTotal = e.getValor(); valorDisponivel = valorTotal.subtract(valorUsado); return valorDisponivel; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void calcular() {\n long dias = Duration.between(retirada, devolucao).toDays();\n valor = veiculo.getModelo().getCategoria().getDiaria().multiply(new BigDecimal(dias));\n }", "public void calcular()\r\n/* 530: */ {\r\n/* 531:556 */ this.facturaProveedorSRI.setMontoIva(this....
[ "0.7367315", "0.7084708", "0.7059798", "0.69538283", "0.6936577", "0.690285", "0.6869526", "0.67515", "0.66733116", "0.66626763", "0.6662643", "0.6643921", "0.66249883", "0.6610353", "0.6609849", "0.66027695", "0.6592032", "0.6578711", "0.6565703", "0.6562549", "0.6505885", ...
0.6339265
37
Created by GreenTechAndroid on 2/20/2018.
public interface LoginPresenter { void onCreate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void onFirstUse() {}", "@Override\n public void perish() {\n \n }", "@Override\n protected void initialize() {\n\n \n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", ...
[ "0.5909002", "0.5709394", "0.56738955", "0.5649815", "0.5649815", "0.5649815", "0.5649815", "0.5649815", "0.5649815", "0.5618121", "0.5607903", "0.5589459", "0.55814457", "0.5530453", "0.5485388", "0.5475684", "0.5440144", "0.54385686", "0.5432443", "0.54273605", "0.5420208",...
0.0
-1
TODO Autogenerated method stub
@Override public void onCreate(SQLiteDatabase db) { db.execSQL( "create table contacts " + "(id integer primary key, roll text,ct1 text,ct2 text, ct3 text,ct4 text,days text, present text,exam text,ct1_2 text,ct2_2 text, ct3_2 text,ct4_2 text,days_2 text, present_2 text,exam_2 text,ct1_3 text,ct2_3 text, ct3_3 text,ct4_3 text,days_3 text, present_3 text,exam_3 text,ct1_4 text,ct2_4 text, ct3_4 text,ct4_4 text,days_4 text, present_4 text,exam_4 text,ct1_5 text,ct2_5 text, ct3_5 text,ct4_5 text,days_5 text, present_5 text,exam_5 text)" ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1