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
Write code here that turns the phrase above into concrete actions
@Quando("a entrega atrasar em {int} dias") public void aEntregaAtrasarEmDias(Integer dia, String tempo) throws Throwable { Calendar cal = Calendar.getInstance(); cal.setTime(entrega); if (tempo.equals("dias")) { cal.add(Calendar.DAY_OF_MONTH, dia); } if (tempo.equals("meses")) { cal.add(Calendar.MONTH,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Quando("a entrega atrasar em {int} meses") public void aEntregaAtrasarEmMeses(Integer meses) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Então("a entrega será efetuada em {int}\\/{int}\\/{int}") public void aEntregaSeráEfetuadaEm(String data) throws Throwable { DateFormat format = new SimpleDateFormat("dd/MM/yyyy"); String dataFormatada = format.format(entrega); Assert.assertEquals(data, dataFormatada); throw new cucumber.api.PendingExcepti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o ticket é AF{int}") public void que_o_ticket_é_AF(Integer int1) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o ticket é AB{int}") public void que_o_ticket_é_AB(Integer int1) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o ticket especial é AB{int}") public void que_o_ticket_especial_é_AB(Integer int1) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o valor da passagem é R$ {double}") public void queOValorDaPassagemÉR$(Double valorPassagem) throws Throwable { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o nome do passageiro é {string}") public void queONomeDoPassageiroÉ(String nomePassageiro) throws Throwable { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o telefone do passageiro é {int}{int}") public String queOTelefoneDoPassageiroÉ(Integer num1, Integer num2) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o ticket é CD{int}") public void queOTicketÉCD(Integer int1) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o ticket é AG{int}") public void queOTicketÉAG(Integer int1) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Dado("que o valor da passagem é R$ {double}{double}") public void queOValorDaPassagemÉR$(Double double1, Double double2) { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Quando("criar os steps") public void criarOsSteps() { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Então("o teste vai funcionar") public void oTesteVaiFuncionar() { throw new cucumber.api.PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6991314", "0.64687526", "0.6402487", "0.6356066", "0.6353187", "0.6338022", "0.63262784", "0.63262784", "0.63262784", "0.63202477", "0.6241218", "0.6177627", "0.6173425", "0.6154606", "0.6113951", "0.6073232", "0.60672504", "0.6061888", "0.60393214", "0.60393214", "0.60393...
0.0
-1
C++: bool cv::GraphicalCodeDetector::detect(Mat img, Mat& points) Detects graphical code in image and returns the quadrangle containing the code.
public boolean detect(Mat img, Mat points) { return detect_0(nativeObj, img.nativeObj, points.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String detectAndDecode(Mat img, Mat points, Mat straight_code) {\n return detectAndDecode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj);\n }", "public String detectAndDecode(Mat img, Mat points) {\n return detectAndDecode_1(nativeObj, img.nativeObj, points.nativeO...
[ "0.65927035", "0.5963691", "0.5692793", "0.55124366", "0.5502837", "0.52901703", "0.5147652", "0.5029314", "0.50240904", "0.49220714", "0.4864818", "0.4847034", "0.4811697", "0.48094952", "0.48004127", "0.47872102", "0.47758207", "0.47593197", "0.47200918", "0.47139016", "0.4...
0.5705311
2
C++: string cv::GraphicalCodeDetector::decode(Mat img, Mat points, Mat& straight_code = Mat()) Decodes graphical code in image once it's found by the detect() method. Returns UTF8encoded output string or empty string if the code cannot be decoded.
public String decode(Mat img, Mat points, Mat straight_code) { return decode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String detectAndDecode(Mat img, Mat points, Mat straight_code) {\n return detectAndDecode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj);\n }", "public String detectAndDecode(Mat img) {\n return detectAndDecode_2(nativeObj, img.nativeObj);\n }", "public String...
[ "0.8092232", "0.7335308", "0.72948116", "0.7192751", "0.6921615", "0.6782853", "0.6670781", "0.662725", "0.5849544", "0.5750611", "0.57085574", "0.5658062", "0.56516117", "0.5651504", "0.56189215", "0.558759", "0.55517906", "0.55469084", "0.54905355", "0.548454", "0.54524505"...
0.8178172
0
Decodes graphical code in image once it's found by the detect() method. Returns UTF8encoded output string or empty string if the code cannot be decoded.
public String decode(Mat img, Mat points) { return decode_1(nativeObj, img.nativeObj, points.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String detectAndDecode(Mat img) {\n return detectAndDecode_2(nativeObj, img.nativeObj);\n }", "private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "public String decode(String path, String name) {\n ...
[ "0.69202834", "0.66048706", "0.6270264", "0.6039944", "0.6026987", "0.59137154", "0.5753226", "0.5751967", "0.5719767", "0.5663715", "0.5602768", "0.54816717", "0.5395488", "0.53819704", "0.5359143", "0.5353572", "0.53063494", "0.528559", "0.5250542", "0.5238631", "0.5238631"...
0.5359847
14
C++: string cv::GraphicalCodeDetector::detectAndDecode(Mat img, Mat& points = Mat(), Mat& straight_code = Mat()) Both detects and decodes graphical code
public String detectAndDecode(Mat img, Mat points, Mat straight_code) { return detectAndDecode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String detectAndDecode(Mat img, Mat points) {\n return detectAndDecode_1(nativeObj, img.nativeObj, points.nativeObj);\n }", "public String decode(Mat img, Mat points, Mat straight_code) {\n return decode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj);\n }", "p...
[ "0.79610443", "0.7828245", "0.7564687", "0.75239044", "0.73820937", "0.69801897", "0.684983", "0.6783208", "0.6680721", "0.6553433", "0.62913823", "0.59935087", "0.5895062", "0.58673024", "0.58078295", "0.5553901", "0.54749936", "0.5414112", "0.5390853", "0.5376994", "0.53455...
0.8523063
0
Both detects and decodes graphical code
public String detectAndDecode(Mat img, Mat points) { return detectAndDecode_1(nativeObj, img.nativeObj, points.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "private static native String decode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "public void paintCode() {\n\t\tint maxEr...
[ "0.6494408", "0.5775395", "0.5756827", "0.5717434", "0.5545533", "0.55110055", "0.55078566", "0.54994875", "0.5440935", "0.54335433", "0.53870404", "0.53850377", "0.53645307", "0.53496313", "0.5303144", "0.53006923", "0.5296524", "0.52869713", "0.5270739", "0.5264797", "0.525...
0.5192985
23
Both detects and decodes graphical code
public String detectAndDecode(Mat img) { return detectAndDecode_2(nativeObj, img.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "private static native String decode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "public void paintCode() {\n\t\tint maxEr...
[ "0.6494408", "0.5775395", "0.5756827", "0.5717434", "0.5545533", "0.55110055", "0.55078566", "0.5440935", "0.54335433", "0.53870404", "0.53850377", "0.53645307", "0.53496313", "0.5303144", "0.53006923", "0.5296524", "0.52869713", "0.5270739", "0.5264797", "0.5254236", "0.5206...
0.54994875
7
C++: bool cv::GraphicalCodeDetector::detectMulti(Mat img, Mat& points) Detects graphical codes in image and returns the vector of the quadrangles containing the codes.
public boolean detectMulti(Mat img, Mat points) { return detectMulti_0(nativeObj, img.nativeObj, points.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points, List<Mat> straight_code) {\n Mat straight_code_mat = new Mat();\n boolean retVal = detectAndDecodeMulti_0(nativeObj, img.nativeObj, decoded_info, points.nativeObj, straight_code_mat.nativeObj);\n Converters.Mat...
[ "0.69729584", "0.64502615", "0.64392376", "0.61358947", "0.59805787", "0.59126484", "0.5784025", "0.5768534", "0.5611797", "0.5603992", "0.5402923", "0.53182644", "0.5298051", "0.5230985", "0.5220954", "0.5202089", "0.51957095", "0.50189054", "0.49018797", "0.48937187", "0.48...
0.6140876
3
C++: bool cv::GraphicalCodeDetector::decodeMulti(Mat img, Mat points, vector_string& decoded_info, vector_Mat& straight_code = vector_Mat()) Decodes graphical codes in image once it's found by the detect() method.
public boolean decodeMulti(Mat img, Mat points, List<String> decoded_info, List<Mat> straight_code) { Mat straight_code_mat = new Mat(); boolean retVal = decodeMulti_0(nativeObj, img.nativeObj, points.nativeObj, decoded_info, straight_code_mat.nativeObj); Converters.Mat_to_vector_Mat(straight_co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points, List<Mat> straight_code) {\n Mat straight_code_mat = new Mat();\n boolean retVal = detectAndDecodeMulti_0(nativeObj, img.nativeObj, decoded_info, points.nativeObj, straight_code_mat.nativeObj);\n Converters.Mat...
[ "0.84974426", "0.78516746", "0.7819859", "0.77997154", "0.7517559", "0.7467243", "0.7394678", "0.7111581", "0.69605875", "0.6903781", "0.6688996", "0.6586961", "0.6232708", "0.5848124", "0.5761253", "0.55882496", "0.54025465", "0.52927965", "0.5262179", "0.5233367", "0.513692...
0.8292856
1
Decodes graphical codes in image once it's found by the detect() method.
public boolean decodeMulti(Mat img, Mat points, List<String> decoded_info) { return decodeMulti_1(nativeObj, img.nativeObj, points.nativeObj, decoded_info); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "public String detectAndDecode(Mat img) {\n return detectAndDecode_2(nativeObj, img.nativeObj);\n }", "public String detectAndDecode(Mat img, Mat points, Mat stra...
[ "0.70271426", "0.69342816", "0.64710474", "0.62931347", "0.6001634", "0.59829265", "0.59342164", "0.585248", "0.5833436", "0.57202995", "0.57052314", "0.5570768", "0.55372", "0.55344534", "0.5522291", "0.5513882", "0.5510819", "0.54958993", "0.5438833", "0.5409744", "0.539579...
0.0
-1
C++: bool cv::GraphicalCodeDetector::detectAndDecodeMulti(Mat img, vector_string& decoded_info, Mat& points = Mat(), vector_Mat& straight_code = vector_Mat()) Both detects and decodes graphical codes
public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points, List<Mat> straight_code) { Mat straight_code_mat = new Mat(); boolean retVal = detectAndDecodeMulti_0(nativeObj, img.nativeObj, decoded_info, points.nativeObj, straight_code_mat.nativeObj); Converters.Mat_to_vect...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean decodeMulti(Mat img, Mat points, List<String> decoded_info, List<Mat> straight_code) {\n Mat straight_code_mat = new Mat();\n boolean retVal = decodeMulti_0(nativeObj, img.nativeObj, points.nativeObj, decoded_info, straight_code_mat.nativeObj);\n Converters.Mat_to_vector_Mat(str...
[ "0.78994447", "0.7814422", "0.7676921", "0.7569249", "0.745575", "0.7271322", "0.72486466", "0.70818335", "0.6978838", "0.67126", "0.6655607", "0.6552764", "0.6084078", "0.59688514", "0.5741385", "0.56853753", "0.55718833", "0.5472388", "0.54576707", "0.5454512", "0.53995335"...
0.83681697
0
Both detects and decodes graphical codes
public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points) { return detectAndDecodeMulti_1(nativeObj, img.nativeObj, decoded_info, points.nativeObj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "public abstract String visualize(byte input);", "public void paintCode() {\n\t\tint maxErr, lenErr, tot, pad;\n\t\tif ((options & PDF417_USE_RAW_CODEWORDS) != 0) {\n\t\t\t...
[ "0.6474923", "0.587374", "0.5838794", "0.58331066", "0.568407", "0.5595924", "0.55483913", "0.5531226", "0.55188733", "0.54725313", "0.54489666", "0.54195744", "0.5391097", "0.5339741", "0.5328745", "0.528109", "0.5280383", "0.5233884", "0.5233338", "0.52326906", "0.5232368",...
0.0
-1
Both detects and decodes graphical codes
public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info) { return detectAndDecodeMulti_2(nativeObj, img.nativeObj, decoded_info); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);", "public abstract String visualize(byte input);", "public void paintCode() {\n\t\tint maxErr, lenErr, tot, pad;\n\t\tif ((options & PDF417_USE_RAW_CODEWORDS) != 0) {\n\t\t\t...
[ "0.6477305", "0.58739954", "0.5835916", "0.58337265", "0.5685895", "0.5594156", "0.55463827", "0.55311245", "0.55219424", "0.54714864", "0.5451459", "0.5418756", "0.5388303", "0.53401864", "0.5328756", "0.5280227", "0.52793205", "0.5233888", "0.5232678", "0.52314854", "0.5230...
0.0
-1
C++: bool cv::GraphicalCodeDetector::detect(Mat img, Mat& points)
private static native boolean detect_0(long nativeObj, long img_nativeObj, long points_nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean detect(Mat img, Mat points) {\n return detect_0(nativeObj, img.nativeObj, points.nativeObj);\n }", "public String detectAndDecode(Mat img, Mat points) {\n return detectAndDecode_1(nativeObj, img.nativeObj, points.nativeObj);\n }", "protected Mat detect(Mat gray, Mat rgba) {\n...
[ "0.80578333", "0.73217016", "0.7240819", "0.7182272", "0.69489336", "0.672047", "0.6660515", "0.656493", "0.6533299", "0.6459625", "0.64315355", "0.6412141", "0.6341902", "0.62804455", "0.6256785", "0.6250945", "0.62403834", "0.6179053", "0.61784005", "0.5987882", "0.59756047...
0.6995882
4
C++: string cv::GraphicalCodeDetector::decode(Mat img, Mat points, Mat& straight_code = Mat())
private static native String decode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String detectAndDecode(Mat img, Mat points, Mat straight_code) {\n return detectAndDecode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj);\n }", "public String decode(Mat img, Mat points, Mat straight_code) {\n return decode_0(nativeObj, img.nativeObj, points.native...
[ "0.8553245", "0.83861536", "0.77505976", "0.7365282", "0.7249394", "0.72484577", "0.72459465", "0.70683956", "0.6363033", "0.63595647", "0.62607306", "0.61042243", "0.55064714", "0.54190224", "0.5418615", "0.54049647", "0.5244553", "0.52348894", "0.5210852", "0.5182964", "0.5...
0.69954586
8
C++: string cv::GraphicalCodeDetector::detectAndDecode(Mat img, Mat& points = Mat(), Mat& straight_code = Mat())
private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String detectAndDecode(Mat img, Mat points, Mat straight_code) {\n return detectAndDecode_0(nativeObj, img.nativeObj, points.nativeObj, straight_code.nativeObj);\n }", "public String detectAndDecode(Mat img, Mat points) {\n return detectAndDecode_1(nativeObj, img.nativeObj, points.nativeO...
[ "0.877276", "0.8131333", "0.80352193", "0.7492125", "0.74088496", "0.7116635", "0.6930333", "0.6806928", "0.66470605", "0.6643304", "0.62884974", "0.6262088", "0.60977507", "0.5984156", "0.57959044", "0.56862336", "0.5515268", "0.54952437", "0.5428663", "0.54211766", "0.54192...
0.7535334
3
C++: bool cv::GraphicalCodeDetector::detectMulti(Mat img, Mat& points)
private static native boolean detectMulti_0(long nativeObj, long img_nativeObj, long points_nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean detectMulti(Mat img, Mat points) {\n return detectMulti_0(nativeObj, img.nativeObj, points.nativeObj);\n }", "public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points) {\n return detectAndDecodeMulti_1(nativeObj, img.nativeObj, decoded_info, points.native...
[ "0.8216133", "0.7749583", "0.75411355", "0.73512036", "0.71035874", "0.6988348", "0.6879054", "0.68270177", "0.67183477", "0.6671456", "0.65470153", "0.63527644", "0.632079", "0.6251177", "0.61651874", "0.61625195", "0.61598605", "0.6038536", "0.60237324", "0.6013216", "0.597...
0.7728581
2
C++: bool cv::GraphicalCodeDetector::decodeMulti(Mat img, Mat points, vector_string& decoded_info, vector_Mat& straight_code = vector_Mat())
private static native boolean decodeMulti_0(long nativeObj, long img_nativeObj, long points_nativeObj, List<String> decoded_info, long straight_code_mat_nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points, List<Mat> straight_code) {\n Mat straight_code_mat = new Mat();\n boolean retVal = detectAndDecodeMulti_0(nativeObj, img.nativeObj, decoded_info, points.nativeObj, straight_code_mat.nativeObj);\n Converters.Mat...
[ "0.8529453", "0.83757216", "0.7897133", "0.77981263", "0.75454974", "0.7537243", "0.72287273", "0.71766096", "0.71604896", "0.69882655", "0.68327564", "0.64414644", "0.64014995", "0.59532344", "0.5686704", "0.5541245", "0.5524336", "0.5302015", "0.5233631", "0.5202096", "0.51...
0.80035067
2
C++: bool cv::GraphicalCodeDetector::detectAndDecodeMulti(Mat img, vector_string& decoded_info, Mat& points = Mat(), vector_Mat& straight_code = vector_Mat())
private static native boolean detectAndDecodeMulti_0(long nativeObj, long img_nativeObj, List<String> decoded_info, long points_nativeObj, long straight_code_mat_nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean detectAndDecodeMulti(Mat img, List<String> decoded_info, Mat points, List<Mat> straight_code) {\n Mat straight_code_mat = new Mat();\n boolean retVal = detectAndDecodeMulti_0(nativeObj, img.nativeObj, decoded_info, points.nativeObj, straight_code_mat.nativeObj);\n Converters.Mat...
[ "0.8656481", "0.8183857", "0.7971123", "0.77981025", "0.7662217", "0.7393351", "0.7319657", "0.7297633", "0.71529424", "0.68858606", "0.6635588", "0.6541994", "0.6402462", "0.61149096", "0.59806585", "0.57755214", "0.5661906", "0.5655201", "0.56027424", "0.55557376", "0.54188...
0.7988309
2
native support for java finalize()
private static native void delete(long nativeObj);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private native void finalize(long pointer);", "public abstract void finalize();", "public void finalize();", "@Override// opcional\n public void finalize(){\n\n }", "protected final void finalize() {\n if (native_lock != null) {\n synchronized(native_lock) {\n String ...
[ "0.88562703", "0.8464909", "0.8400887", "0.8341032", "0.83311486", "0.8309452", "0.8284691", "0.79973495", "0.7872344", "0.78596044", "0.78572685", "0.7841005", "0.7798943", "0.7796416", "0.7750903", "0.77275574", "0.76885456", "0.7615059", "0.7601743", "0.7555846", "0.755537...
0.0
-1
200 File upload successfully 400 Bad request. Missing some parameters 500 Internal error. Please send me the error. I will fix it
@Multipart @POST("v1/user/avatar/upload") Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public void uploadFailed() {\n }", "@Multipart\n @POST(\"/SaveServiceRequest\")\n void saveServicesDetai...
[ "0.7327673", "0.69530785", "0.6850741", "0.6850106", "0.67710817", "0.6735076", "0.67294633", "0.67097974", "0.668954", "0.6682956", "0.6657675", "0.65901583", "0.6573692", "0.6571939", "0.65625054", "0.6464359", "0.6442356", "0.6420294", "0.6415523", "0.63947904", "0.6390038...
0.0
-1
200 File upload successfully 400 Bad request. Missing some parameters 500 Internal error. Please send me the error. I will fix it
@Multipart @POST("v1/user/avatar/uploadKid") Call<UpdateKidRepEntity> uploadKidAvatar( @PartMap() Map<String, RequestBody> pramPart, @Part MultipartBody.Part filePart);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public void uploadFailed() {\n }", "@Multipart\n @POST(\"/SaveServiceRequest\")\n void saveServicesDetai...
[ "0.73275465", "0.6951791", "0.68514025", "0.6849851", "0.67721087", "0.67361164", "0.67272097", "0.67086965", "0.6689596", "0.66820925", "0.6657762", "0.6591813", "0.65734535", "0.65707093", "0.656305", "0.6464577", "0.6442121", "0.6421047", "0.64130735", "0.6395595", "0.6389...
0.0
-1
Returns whether a key which uses animation system is being held. Used to restore key input after calling offset.set()
private static boolean isHoldingAnimationKey(){ return KeyState.isHeld(GuiHelper.keyHome) || KeyState.isHeld(GuiHelper.keyEnd); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean handleMovementByKey() {\n\t\tboolean moved = false;\n\t\tif (keyCode != 0) {\n\t\t\tmoved = true;\n\t\t\tdouble moveRate = 10.0 / 1000;\t// degrees per second\n\t\t\t\n\t\t\tif ((keyStateMask & SWT.SHIFT) != 0) {\n\t\t\t\tmoveRate = moveRate * 10.0;\n\t\t\t}\n\t\t\telse if ((keyStateMask & SWT.ALT)...
[ "0.71552134", "0.70388734", "0.70176697", "0.68610334", "0.68601567", "0.68028724", "0.6800973", "0.67908585", "0.6771806", "0.6596513", "0.65344125", "0.651043", "0.6505691", "0.65040284", "0.6481783", "0.6461887", "0.6456911", "0.64399654", "0.6428687", "0.6397269", "0.6392...
0.77911526
0
examples using the factory methods of Optional
public static void createOptionals() { String nullString = null; String emptyString = ""; Optional.ofNullable(nullString); Optional.of(emptyString); try { Optional.of(nullString); } catch (NullPointerException e) { } Optional.empty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\t\tOptional<Object> empty = Optional.empty();\r\n\t\tSystem.out.println(empty.isPresent()); // returns false, since Object is null\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t// Using the of(value) method for a String that is Not null\r\n\t\tOptional<String> helloString =...
[ "0.650741", "0.62998426", "0.6285289", "0.6197499", "0.6160639", "0.6143673", "0.6143209", "0.60810935", "0.5980876", "0.5936333", "0.59040487", "0.58879846", "0.5824231", "0.5796319", "0.5788492", "0.5770518", "0.56808144", "0.565993", "0.56284285", "0.56238985", "0.55789334...
0.6774622
0
operate on a stringargument that might be null
public static void filterMap(final String testString) { // filter if (testString != null && testString.contains("Hello")) { System.out.println(testString); } Optional.ofNullable(testString).filter(s -> s.contains("Hello")).ifPresent(System.out::println); // map ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testWithNullString() throws org.nfunk.jep.ParseException\n {\n String string = null;\n Stack<Object> parameters = CollectionsUtils.newParametersStack(string);\n function.run(parameters);\n assertEquals(TRUE, parameters.pop());\n }", "public void testCheckS...
[ "0.72527796", "0.69214624", "0.69214624", "0.6917228", "0.67820054", "0.66656494", "0.65889287", "0.65444034", "0.6531006", "0.6449634", "0.63975894", "0.6383815", "0.6382775", "0.63671964", "0.6364395", "0.63611794", "0.6333885", "0.6333885", "0.6327287", "0.6324376", "0.630...
0.0
-1
The maximal size of the shapes
public ShapeGraphics() { //A random object to set random measures for the shapes Random rn = new Random(); //Creating two instances of every shape using the random object and adding them to the list for (int i = 0; i <2 ; i++) { MyLine line = new MyLine(rn.nextInt(MAX_SI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Dimension getMaximumSize()\n {\n return new Dimension(32767, 32767);\n }", "public int getMaximalSize() {\n return maximalSize;\n }", "public static int getMaxSize(){\n\t\treturn 2* 4;\n\t}", "abstract int calculateMaximumSize(int axis);", "public Dimension getMaximumSize() {\...
[ "0.74773085", "0.74171925", "0.7322136", "0.7261602", "0.71835923", "0.7170872", "0.71469516", "0.70552605", "0.70552605", "0.7045501", "0.7009705", "0.6982753", "0.6921852", "0.68856084", "0.68040645", "0.6781355", "0.67752874", "0.67752874", "0.6755331", "0.6738514", "0.673...
0.0
-1
Using this paint component method, we will draw all the shapes in the two lists in the same JPanel
public void paintComponent(Graphics g){ super.paintComponent(g); for (int i = 0; i < list.size(); i++) {//draw the shapes of the original list list.get(i).draw(g); } for (int i = 0; i <clonedList.size() ; i++) {//draw the shapes of the cloned list clonedLi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void paintComponent(Graphics g) {\n super.paintComponent(g);\n\n Graphics2D g2d = (Graphics2D)g;\n\n if (shapeList != null) {\n shapeList.sort(Comparator.comparing(Shape::getLayer));\n for (Shape shape : shapeList) {\n if (shape.getType() == ShapeType.RECTANGLE) {\n...
[ "0.7438214", "0.73436755", "0.7279843", "0.6938113", "0.68106", "0.678307", "0.6749887", "0.67121893", "0.65817", "0.6577731", "0.6500705", "0.64970285", "0.6469362", "0.645237", "0.6381087", "0.6373789", "0.63726735", "0.63507545", "0.6337242", "0.63038164", "0.6293736", "...
0.79302394
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { PanalNew = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jSeparator1 = new...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73192346", "0.7290526", "0.7290526", "0.7290526", "0.7285891", "0.72480357", "0.7213616", "0.7207808", "0.71955067", "0.71891475", "0.71844363", "0.7159038", "0.71474695", "0.7092269", "0.7079923", "0.70560205", "0.69864315", "0.697697", "0.69552195", "0.6953691", "0.69458...
0.0
-1
End of variables declaration//GENEND:variables
private void viewFileChooser() { try { JFileChooser chooser = new JFileChooser(); chooser.showOpenDialog(null); f = chooser.getSelectedFile(); // this.attachmentName = f.getName(); // this.attachmentPath = f.getAbsolutePath();//dan mokdda karanna ona// m...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359889", "0.6279971", "0.6187572", "0.60946643", "0.6091784", "0.60693496", "0.6051178", "0.6051116", "0.60025823", "0.59882265", "0.5969506", "0.5967291", "0.5966852", "0.5964883", "0.5961025", "0.5940938", "0.5907547", "0.5895275", "0.5889831", "0.5881641", "0.5879958",...
0.0
-1
TODO Autogenerated method stub
@Override public void remove() { }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density 120" }); return null; }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density 160" }); return null; }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density 240" }); return null; }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density 320" }); return null; }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density 480" }); return null; }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density 640" }); return null; }
{ "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 protected Void doInBackground(Void... params) { suResult = Shell.SU.run(new String[] { "wm density reset" }); return null; }
{ "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 "dumpsys display | grep \"mOverrideDisplayInfo\""
@Override protected Void doInBackground(Void... params) { ValResult = Shell.SU.run(new String[]{ "wm density | grep \"Override\"" }); if(ValResult.isEmpty()){ System.out.println("Entered in isEmpty"); ValResult = Shell.SU.ru...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setDisplay() {\n\t\tDisplayOpt.add(\"-sd\");\n\t\tDisplayOpt.add(\"/sd\");\n\t\tDisplayOpt.add(\"showdetails\");\n\n\t}", "public void initializeDisplayOverrideConfiguration() {\n ActivityDisplay activityDisplay = this.mAcitvityDisplay;\n if (activityDisplay != null) {\n act...
[ "0.6786755", "0.6355628", "0.6123913", "0.60570914", "0.6005029", "0.5829238", "0.5807508", "0.5781998", "0.57361263", "0.56982684", "0.5657772", "0.564684", "0.5631486", "0.5606189", "0.5604669", "0.5579634", "0.55370855", "0.5461333", "0.5363831", "0.5363576", "0.5321672", ...
0.0
-1
Inflate the layout for this fragment
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { LinearLayout ll = (LinearLayout) inflater.inflate(R.layout.density, container, false); Bundle bundle = this.getArguments(); filename = bundle.getString("filename"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
Do something with the selection
@Override public void onClick(DialogInterface dialog, int item) { switch (item) { case 0 : new original().execute(); break; case 1 : ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateSelection() {\n\t\t\n\t}", "protected void onSelectionPerformed(boolean success) {\n }", "protected abstract void doSelection() throws IOException;", "Object getSelection();", "public void select() {}", "public void run() {\n\t\t\t\t\tif (currentViewer != null) {\r\n\t\t\t\t\t\tcurre...
[ "0.78891337", "0.76337844", "0.74886596", "0.7359611", "0.73324174", "0.7306083", "0.7226723", "0.71949494", "0.7177132", "0.713858", "0.7118329", "0.71047646", "0.7096097", "0.70601565", "0.7040722", "0.70346296", "0.6985065", "0.69523776", "0.6948769", "0.69383043", "0.6936...
0.0
-1
/ 41: / 42:
protected void doPost(HttpServletRequest request, HttpServletResponse response) /* 43: */throws ServletException, IOException /* 44: */{ /* 45:48 */doGet(request, response); /* 46: */}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int p_()\r\n/* 96: */ {\r\n/* 97:117 */ return 64;\r\n/* 98: */ }", "@Test(timeout = 4000)\n public void test108() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.minus();\n assertEquals(\":\", token0.getT...
[ "0.5339947", "0.5209091", "0.5204026", "0.5160566", "0.51377463", "0.5010999", "0.49361923", "0.4932329", "0.48965937", "0.48875034", "0.4877629", "0.4873787", "0.4871664", "0.48647928", "0.484392", "0.4843051", "0.48384988", "0.48063517", "0.48024985", "0.4800099", "0.479891...
0.0
-1
Created by bin.shen on 10/12/2016.
public interface MongoBase<T> { public void insert(T object,String collectionName); public T findOne(Map<String,Object> params, String collectionName); public List<T> findAll(Map<String,Object> params, String collectionName); public void update(Map<String,Object> params,String collectionName); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tp...
[ "0.61946714", "0.60687906", "0.5823329", "0.57765925", "0.57765925", "0.5761328", "0.5747794", "0.5747794", "0.5742018", "0.57240117", "0.5679709", "0.5654498", "0.56414795", "0.56412524", "0.56218547", "0.5618614", "0.5605506", "0.5586393", "0.5575066", "0.5573278", "0.55670...
0.0
-1
end Constructor Check BlankSpace
public void checkBlankSpace() { if (xOffset < 0) { xOffset = 0; } else if (xOffset > handler.getWorld().getWidth() * Tile.TILEWIDTH - handler.getWidth()) { xOffset = handler.getWorld().getWidth() * Tile.TILEWIDTH - handler.getWidth(); } if (yOffset < 0) { yOffset = 0; } else if (yOffset > handler....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected BlankRecord(Cell c)\r\n/* 25: */ {\r\n/* 26: 72 */ super(Type.BLANK, c);\r\n/* 27: */ }", "public Field(){\n\n // this(\"\",\"\",\"\",\"\",\"\");\n }", "public abstract boolean isBlank() throws Exception;", "protected BlankRecord(int c, int r)\r\n/* 15: */ {\r\n/* 1...
[ "0.61712617", "0.61709225", "0.61502934", "0.612417", "0.6101396", "0.60850173", "0.6016349", "0.5981489", "0.59585357", "0.59491473", "0.5880287", "0.58783525", "0.5876241", "0.5850624", "0.58502907", "0.58472764", "0.583429", "0.58173", "0.58050215", "0.577967", "0.573987",...
0.5890821
10
/ BEGIN Getters and Setters
public float getxOffset() { return xOffset; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n public void get() {}", "@Override\n\tpublic void getData() {\n\t\t\n\t}", "@Override\n\n // <editor-fold defaultstate=\"collapsed\" desc=\" UML...
[ "0.65992194", "0.636376", "0.6304055", "0.62031835", "0.6021414", "0.5876016", "0.5818816", "0.5808886", "0.5798924", "0.5795755", "0.57944095", "0.5744341", "0.57405156", "0.57318443", "0.57190716", "0.5710082", "0.5704097", "0.56931865", "0.56686974", "0.56650376", "0.56534...
0.0
-1
TODO Autogenerated method stub
public void del(String id) throws SQLException { TiaoxiushenqingDao dao = new TiaoxiushenqingDao(); dao.delete(id); }
{ "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 add(Tiaoxiushenqing t) throws SQLException { TiaoxiushenqingDao dao = new TiaoxiushenqingDao(); dao.add(t); }
{ "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 update(Tiaoxiushenqing t) throws SQLException { TiaoxiushenqingDao dao = new TiaoxiushenqingDao(); dao.update(t); }
{ "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
Constructor that encapsulates the api
@Autowired public FoDRestConnectionService(final HubFoDConfigProperties appProps) { this.appProps = appProps; client = Create(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public API() {}", "public api() {}", "private APIClient() {\n }", "private Api() {\n // Implement a method to build your retrofit\n buildRetrofit(BASE_URL);\n }", "public ApiResponse() {\n }", "private ParkingLotApi()\r\n {\r\n }", "public APIOperation()\n {\n sup...
[ "0.8429768", "0.8420282", "0.7929529", "0.772094", "0.7625294", "0.7613127", "0.74973905", "0.74641514", "0.74130476", "0.73862135", "0.7362942", "0.73347425", "0.7198998", "0.7179196", "0.716277", "0.7143562", "0.71259713", "0.71086717", "0.70500475", "0.7027352", "0.697419"...
0.0
-1
Used for authenticating in the case of a time out using the saved api credentials.
public void authenticate() throws Exception { try { // Build the form body final FormBody.Builder formBodyBuilder = new FormBody.Builder().add("scope", "api-tenant"); // Has username/password if (appProps.getFodGrantType().equals(VulnerabilityReportConstants.GRA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getInvalidLoginLockoutTime();", "@Override\n public void onCanceled() {\n\n logOutNow();\n\n }", "@Override\n public void authenticate() throws IOException, BadAccessIdOrKeyException {\n try{\n HttpPost post ...
[ "0.5957977", "0.59431934", "0.5921656", "0.5810938", "0.5770081", "0.5770081", "0.5770081", "0.57637167", "0.5704793", "0.56458956", "0.5635232", "0.56253755", "0.56243736", "0.56220835", "0.55941945", "0.5577058", "0.5569377", "0.5553128", "0.5531341", "0.5495715", "0.549507...
0.554089
18
Creates a okHttp client to connect with.
private OkHttpClient Create() { final OkHttpClient.Builder baseClient = new OkHttpClient().newBuilder() .connectTimeout(CONNECTION_TIMEOUT, TimeUnit.SECONDS) .writeTimeout(WRITE_TIMEOUT, TimeUnit.SECONDS) .readTimeout(READ_TIMEOUT, TimeUnit.SECONDS); // I...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private OkHttpClient createClient(){\n HttpLoggingInterceptor logging = new HttpLoggingInterceptor();\n logging.setLevel(HttpLoggingInterceptor.Level.BODY);\n return new OkHttpClient.Builder()\n .addInterceptor(logging)\n .readTimeout(30, TimeUnit.SECONDS)\n ...
[ "0.75693256", "0.71367306", "0.70405763", "0.7028086", "0.6802701", "0.67185616", "0.66654813", "0.6617919", "0.65194494", "0.65022343", "0.64216995", "0.64101994", "0.64082825", "0.63741016", "0.6359769", "0.629671", "0.6293052", "0.62072325", "0.6173505", "0.6111774", "0.60...
0.7360327
1
Charger le pilote JDBC d'Oracle
public static void main (String args []) throws SQLException, ClassNotFoundException, java.io.IOException { Class.forName ("oracle.jdbc.driver.OracleDriver"); // Connexion à une BD Connection uneConnection = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:ora9i", "godin", "ora...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Connection abrirOracle(){\r\n \r\n \r\n try{\r\n \r\n DriverManager.registerDriver(new oracle.jdbc.OracleDriver()); //usando el JDBC de oracle\r\n con=DriverManager.getConnection(\"jdbc:oracle:thin:@localhost:1521:orcl\",\"system\",\"system\");//consiguiendo una conexion en el local...
[ "0.6894095", "0.61826503", "0.6019269", "0.6010089", "0.598516", "0.59564", "0.5947188", "0.59437245", "0.5909322", "0.58852273", "0.58619004", "0.58564955", "0.57942843", "0.5761766", "0.5754466", "0.5743116", "0.5737718", "0.5737566", "0.5698475", "0.56740654", "0.5671181",...
0.6156945
2
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.satellite_cloud_imagery); init_titlebar(); init_webview(); startLoad(); }
{ "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
@SuppressLint({ "SetJavaScriptEnabled", "NewApi" }) private void init_webview() { mWebView = (WebView) findViewById(R.id.webView1); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY); mWebView.setHorizontalScrollBarEnabled(true); mWebView.getSett...
{ "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
private void startLoad() { if (getIntent().getFlags()==8) { titleTv.setText(R.string.WXYT); mWebView.loadUrl(UrlLib.CLI); } else if (getIntent().getFlags()==5) { titleTv.setText(R.string.reservior); mWebView.loadUrl(UrlLib.CLI5); } mWebView.setWebViewClient(new WebViewClient() { /* ...
{ "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 void onProgressChanged(WebView view, int newProgress) { super.onProgressChanged(view, newProgress); progressBar.setProgress(newProgress); progressBar.postInvalidate(); if(newProgress==100) progressBar.setVisibility(View.GONE); }
{ "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
private void init_titlebar() { backBtn = (Button) findViewById(R.id.titlebar_back); titleTv = (TextView) findViewById(R.id.titlebar_title); otherBtn = (Button) findViewById(R.id.titlebar_other); backBtn.setOnClickListener(this); titleTv.setText(R.string.WXYT); otherBtn.setVisibility(View.GONE); progressB...
{ "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 void onClick(View v) { if (v == backBtn) finish(); }
{ "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
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.details_cliente_menu, menu); 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
Ustaw czas ostatniego wykonania Taska.
protected void setLastTimeExecute(long lastTimeExecute) { this.lastTimeExecute = lastTimeExecute; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int createTask() {\n Calendar cal = Calendar.getInstance();\n String taskName = \"Task-\" + cal.getTimeInMillis();\n\n return TaskServiceClient.createTask(\n projObjKey, // projObjKey-新建立工作項目所在的專案key值\n parentObjKey, // parentObjKey-新建立工作項目所屬的子專案/專案key值\n ...
[ "0.6533482", "0.64929724", "0.6460155", "0.64444244", "0.63968545", "0.6392323", "0.6392007", "0.6390246", "0.6390246", "0.63847226", "0.6329037", "0.6293907", "0.62915987", "0.6281265", "0.6276985", "0.62655103", "0.6202641", "0.6202641", "0.61874723", "0.61619496", "0.61576...
0.0
-1
ex : ACD contient "AC" ou "CD" int count = 0;
public boolean usesItem(Item item){ for (char c : item.getName().toCharArray()){ if(!content.contains( String.valueOf(c) )){ return false; }else { // count++; } } // System.out.println(item + " est utilisé " + count + " fois"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int countABC(String str) {\n int x = 0;\n char[] chars = str.toCharArray();\n for (char c : chars) {\n if (c == 'a' || c == 'b' || c == 'c') {\n x += 1;\n }\n }\n return x;\n }", "public static int countABC(String str) {\n ...
[ "0.7212601", "0.72024435", "0.7084817", "0.6980777", "0.6976103", "0.6900494", "0.68134785", "0.6728318", "0.6725789", "0.66979873", "0.66705954", "0.66681737", "0.6659999", "0.66366786", "0.6628187", "0.66238433", "0.66201824", "0.6618931", "0.65457565", "0.65372", "0.652044...
0.0
-1
Get the student details based on the their year and call assign() method Call writeOutput() method to write the data
public void assignCourses() { // Check for Third Year Student queue and if its not empty assign course while (!tyStudents.isEmpty()) { Student student = tyStudents.poll(); assign(student); } // Check for Second Year Student queue and if its not empty assign course while (!syStudents.isEmpty()) { St...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() { return \"StudentYear: ...\"; }", "public RegisteredStudent getStudentAndRegistration(int stID, String year) {\r\n RegisteredStudent reg = null;\r\n DBConnectionManager cm = new DBConnectionManager(this.dbMgr.getDBConnectionData(DBManager.MYSQL));\r\n ResultSet rs =...
[ "0.62317306", "0.6140014", "0.6136434", "0.60324806", "0.59662914", "0.5923123", "0.5900499", "0.5865806", "0.58463806", "0.58453995", "0.5819738", "0.58187556", "0.58077663", "0.5806555", "0.5802068", "0.57873374", "0.57741004", "0.57741004", "0.57731295", "0.5766124", "0.57...
0.63094103
0
This method will check for addtion/deletion/modifications of smart connector
public static List<ReviewReportResponse> smartConnectorComparision(List<Connection> sourceConnections, List<Connection> targetConnections) { List<ReviewReportResponse> operatorList = new ArrayList<>(); List<Fields> fieldsList = new ArrayList<>(); try { ArrayList<Connection> deletedSmartConnector = new ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void checkUpdateClient() {\n\t}", "private boolean isValidConnectors() {\n\n\t\tint countBoardCardInConnectors = 0;\n\n\t\tfor (CardModel cardModel : boardModel.getCards()) {\n\t\t\tif (connectors.contains(cardModel)) {\n\t\t\t\tcountBoardCardInConnectors++;\n\t\t\t}\n\t\t}\n\n\t\treturn (cou...
[ "0.6095171", "0.57101643", "0.5707268", "0.5647516", "0.56301844", "0.562278", "0.5562954", "0.5534038", "0.5511652", "0.5480252", "0.5427215", "0.5424863", "0.53910327", "0.53829896", "0.53824294", "0.53728426", "0.53372663", "0.5295464", "0.5294137", "0.52924705", "0.529247...
0.0
-1
This method will compare UI attributes for smart connector.
private static void smartConnectorAttributeCheck(UIAttributes sourceUIAttributes, UIAttributes targetUIAttributes, boolean isAdded, boolean isDeleted, List<Fields> fieldsList) { try { if (isAdded) { if (!StringUtils.isEmpty(targetUIAttributes.getName())) fieldsList.add( BPDesignerService...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void setGUIAttributesHelper();", "protected final void setGUIAttributes(){\r\n\t\t\r\n\t\tbtnOnOff.setEnabled( device.getOn() != null && device.getOn().getActor() != null);\r\n\t\tif(device.getOn() == null){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// if the device is On\r\n\t\tif( device.getOnValue()...
[ "0.55895096", "0.5516496", "0.5320261", "0.5150665", "0.51352483", "0.50854063", "0.49744827", "0.49578854", "0.4924581", "0.4911273", "0.48977345", "0.48942974", "0.48768592", "0.48747683", "0.4845888", "0.4797395", "0.47509298", "0.47266367", "0.47201437", "0.47063646", "0....
0.57480043
0
This method will compare linkProperties for smart connector.
private static List<Fields> smartConnectorLinkPropertyCheck(LinkProperties sourceLinkProperty, LinkProperties targetLinkProperty, boolean isAdded, boolean isDeleted) { List<Fields> fieldsList = new ArrayList<>(); try { BusinessSettings sourceBusinessSettings = sourceLinkProperty.getBusinessSettings(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean compareProperties (Properties props1 , Properties props2){\n boolean propertiesAreEqual = true;\n Properties props2Clone = (Properties)props2.clone();\n Iterator<Object> itProps1Name = props1.keySet().iterator();\n while (propertiesAreEqual && itProps1Name.hasNext()){\n String prop...
[ "0.6177114", "0.55195194", "0.55090195", "0.53603375", "0.53577423", "0.53271174", "0.53007203", "0.52401656", "0.5185337", "0.5143023", "0.5087107", "0.5086059", "0.5069116", "0.5065442", "0.505838", "0.5055286", "0.50321984", "0.50217223", "0.49687478", "0.4965121", "0.4945...
0.63588595
0
objekt das Kontaktinformationen verwaltet /
public String getName() { return name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ZeigeAlleKontakte() throws Exception {\n\t\r\n\t\tList<Kontakt> kontaktarray = new ArrayList<Kontakt>();\r\n\t\r\n\t\tKontaktService service = (KontaktService) Naming.lookup (\"rmi://localhost:1099/KontaktService\");\r\n\t\t\r\n\t\tkontaktarray = service.getKontakte();\r\n\t\r\n\t\tKontakt k = new Kon...
[ "0.66192883", "0.6512521", "0.6325575", "0.6289222", "0.6196416", "0.6122269", "0.60739356", "0.6051105", "0.59383154", "0.59319484", "0.59266967", "0.59128505", "0.5901495", "0.58705753", "0.58662856", "0.58650476", "0.58418745", "0.58394474", "0.5818063", "0.57954645", "0.5...
0.0
-1
1. Use the bubble sorting algorithm to sort the array. You can use display.updateDisplay() to show the current progress on the graph.
@Override void sort(int[] arr, SortingVisualizer display) { int current = 0; int x; int y; boolean complete = false; while(complete == false) { current = 0; complete = true; for(int i = 0 ; i < arr.length; i ++) { display.updateDisplay(); if(arr[current] > arr[i]) { x = arr[i]; y =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tvoid sort(int[] array, SortingVisualizer display) {\n\t\tSystem.out.println(\"a\");\n\t\tboolean sorted = false;\n\t\tboolean h = true;\n\t\twhile (sorted == false) {\nh=true;\n\t\t\t// System.out.println(\"1\");\n\t\t\tRandom x = new Random();\n\t\t\tint y = x.nextInt(array.length);\n\n\t\t\tint el1 ...
[ "0.75629914", "0.7550453", "0.7479273", "0.74694544", "0.74434066", "0.7429868", "0.73452467", "0.7269857", "0.7245312", "0.7230623", "0.7228093", "0.7223201", "0.72108155", "0.7207601", "0.716401", "0.7155703", "0.7151934", "0.70930743", "0.70774996", "0.7072522", "0.706994"...
0.8135132
0
~ Methods ////////////////////////////////////////////////////////////////// Insert doc ...
public void paint(Graphics g) { iconMain.paintIcon( this, g, INT_ICON_X, INT_ICON_Y); iconRed.paintIcon( this, g, iconMain.getX() + iconMain.getIconWidth() + 5, INT_ICON_Y); iconOrange.paintIcon( this, g, iconRed.getX() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void insert() {\n\t\t\n\t}", "public void insert()\n\t{\n\t}", "@Override\n\tpublic void insertar() {\n\t\t\n\t}", "@Override\n\tpublic void preInsert() {\n\n\t}", "@Override\n\tpublic void insertProcess() {\n\t\t\n\t}", "@Override\r\n\tpublic String insert() {\n\t\treturn \"insert\";...
[ "0.75633895", "0.71887594", "0.71594995", "0.7110828", "0.6872321", "0.68208486", "0.6491917", "0.64301944", "0.6424052", "0.6419576", "0.64162755", "0.6394142", "0.63787574", "0.6352641", "0.63319135", "0.63301265", "0.63184047", "0.631001", "0.6307643", "0.630355", "0.62790...
0.0
-1
constructs a new MutualFund investment with the given symbol and price per share
public MutualFund(String symbol, double currentPrice) { super(symbol, currentPrice); this.totalShares = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StockPortfolio(double valueOfPortfolio, double transferFee, double amount) {\n\n }", "public Company(int shares, int hoursPerMonth){\n\t\tthis.shares = shares;\n\t\tthis.hoursPerMonth = hoursPerMonth;\n\t}", "public void purchase(double shares, double pricePerShare)\n {\n this.totalShares += s...
[ "0.6019315", "0.58181286", "0.5511488", "0.54700214", "0.53642637", "0.5304421", "0.5052252", "0.5048715", "0.50297683", "0.50164735", "0.4999321", "0.49959943", "0.4959259", "0.4902493", "0.4886777", "0.48847392", "0.4881727", "0.48448262", "0.48368353", "0.48243174", "0.480...
0.72740203
0
returns the market value of this mutual fund, which is the number of shares times the price per share
public double getMarketValue() { return this.totalShares * super.getCurrentPrice(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getValue() {\n\t\tfloat value = 0;\n\t\tQueue<Transaction> temp = new LinkedQueue<>(); //Temp queue to keep all dequeued elements.\n\t\twhile (!shares.isEmpty()) {\n\t\t\tTransaction t = shares.dequeue(); //Dequeue the first transaction from the portfolio\n\t\t\tvalue += t.getSharePrice() * t.getShare...
[ "0.7547677", "0.7150767", "0.6840038", "0.6817841", "0.67877454", "0.6607086", "0.6541229", "0.6521337", "0.6474537", "0.6468469", "0.6377682", "0.6323099", "0.626343", "0.625191", "0.62488765", "0.6134956", "0.61090773", "0.61073494", "0.61020815", "0.6089738", "0.60718846",...
0.79832834
0
returns the number of shares of this mutual fund
public double getTotalShares() { return this.totalShares; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getAmountOfShares() {\n\t\treturn amountOfShares;\n\t}", "public BigDecimal getTotalSharePct() {\n\t\treturn totalSharePct;\n\t}", "public int getShare(){\n\t\treturn this.shares;\n\t}", "public double getSharesTraded() {\n return sharesTraded;\n }", "public BigDecimal getSharePct() {\...
[ "0.7439524", "0.67306364", "0.6721514", "0.6600976", "0.6552888", "0.6501102", "0.6283487", "0.6283487", "0.6089238", "0.59391266", "0.5863301", "0.5863301", "0.5757481", "0.57019407", "0.56913364", "0.5679042", "0.565754", "0.5654155", "0.5649577", "0.5615923", "0.5599874", ...
0.7408124
1
records purchase of the given shares at the given price
public void purchase(double shares, double pricePerShare) { this.totalShares += shares; super.addCost(shares * pricePerShare); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void buyStock(double askPrice, int shares, int tradeTime) {\n }", "@Override\r\n\t\t\tpublic void buy(String security, double price, int volume) {\n\t\t\t\tSystem.out.println(\"buy is\"+price+volume);\r\n\t\t\t\t\r\n\t\t\t}", "public void buyShare(BigDecimal priceDecimal, Stock stock) {\n List...
[ "0.6805873", "0.6368713", "0.6142371", "0.6119956", "0.6083223", "0.6037367", "0.5938999", "0.59298503", "0.5844914", "0.58445144", "0.57144094", "0.5661339", "0.5634919", "0.560249", "0.5601988", "0.5592282", "0.5574101", "0.5551308", "0.55458933", "0.5545145", "0.5529282", ...
0.6846234
0
String on navigators public String ManageServiceNavigator = "Manage Services";
public void addRgion(String regionName) throws InterruptedException { // Wait for page load waitTillElemenyVisibility(sidebar); if(verifyElementIsDisplayed(alertify_popup)) { clickOnElement(button_dismiss); clickOnElement(button_dismissConfirmationOK); } waitTillElemenyVisibility(tab_setUp); clickOnEle...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String validerChoixModule() {\r\n\r\n\t\tString v$navigation = \"Contexte\";\r\n\r\n\t\treturn v$navigation;\r\n\t}", "String getMenuName();", "protected String getPageNavigation()\n {\n return \"\";\n }", "public String getActivationMenu();", "java.lang.String getService();", "java.l...
[ "0.57319254", "0.5703074", "0.5552736", "0.5535454", "0.54887885", "0.54887885", "0.54887885", "0.5477722", "0.54604316", "0.53594446", "0.53426915", "0.5321878", "0.5284493", "0.526548", "0.52421474", "0.5218757", "0.52172613", "0.5213108", "0.521232", "0.52117145", "0.51891...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { final View rootView = inflater.inflate(R.layout.fragment_prediction, container, false); localPreferences = new LocalPreferences(getActivity()); Predicti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.67412704", "0.6726197", "0.672271", "0.6699313", "0.669242", "0.6689314", "0.6688617", "0.6686282", "0.66776836", "0.66766965", "0.6668088", "0.6667029", "0.66656464", "0.6662109", "0.66548616", "0.66512775", "0.66439325", "0.66397613", "0.6638282", "0.6634949", "0.6626262...
0.0
-1
Test main loop conditional. We have a partial match so we break out of the nested loop at not matching character. Then apply main loop test. Here we verify that if matching string is at the end we still enter the loop for last final match attempt.
@Test public void shouldFindSubstringAtTheEndOfTheStringAfterOneCharacterPartialMatch() { // Given String string = "AABc"; CharSequence charSequence = new StringBuilder("ABc"); // When boolean containsCharSequence = string.contains(charSequence); // Then ass...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean tailOfCellMatches(int index, String toMatch) {\n int cellOffset = index - toMatch.length();\n if (cellOffset < lineMark) {\n return false;\n }\n // Scan backwards to see if characters before matches. Start at character before current.\n for (int i = toM...
[ "0.6016364", "0.5791328", "0.5684146", "0.56381756", "0.56062335", "0.5596676", "0.5582854", "0.54971516", "0.545227", "0.5348908", "0.5308201", "0.5263271", "0.5240962", "0.52339226", "0.5229846", "0.52291286", "0.52090967", "0.5205209", "0.52021873", "0.51705164", "0.516503...
0.5514261
7
This verifies break condition in loop that searches for occurrence of first matching character. If we break too soon, second loop assumes we found first matching character and reports invalid match.
@Test public void shouldNotFindSubstringWithMismatchedFirstCharacterAtTheEndOfThString() { // Given String string = "123ABc"; CharSequence charSequence = new StringBuilder("cBc"); // When boolean containsCharSequence = string.contains(charSequence); // Then ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Character findFirstNonRepetedCharacter(String str){\n Map<Character,Integer> map = new HashMap<>();\n\n char[] chars = str.toCharArray();\n for(Character ch: chars){\n //Terinery operator if chracter contains value increment by one\n var count = map.contains...
[ "0.58314073", "0.58118343", "0.56484497", "0.5524315", "0.5492865", "0.54667866", "0.54544795", "0.54438597", "0.54334134", "0.5428717", "0.54147935", "0.5379584", "0.5379553", "0.53753704", "0.5370773", "0.53529185", "0.5320795", "0.5298621", "0.5298306", "0.52974707", "0.52...
0.5219874
25
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main, menu); 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.7249559", "0.7204226", "0.71981144", "0.7180145", "0.7110589", "0.70431244", "0.7041351", "0.70150685", "0.70118093", "0.69832", "0.6947845", "0.69419056", "0.6937257", "0.6920975", "0.6920975", "0.68938893", "0.68867826", "0.6878929", "0.6877472", "0.68656766", "0.6865676...
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(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } 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.79041415", "0.7806607", "0.7766601", "0.7726997", "0.76317257", "0.7621966", "0.75851256", "0.753119", "0.74884796", "0.7458151", "0.7458151", "0.74387676", "0.74214053", "0.74029565", "0.73919135", "0.73871326", "0.73794", "0.7370643", "0.73621583", "0.7356208", "0.734578...
0.0
-1
I was getting NullPointerExceptions that were crashing the program It is okay for the program to get one, I just don't want it to crash the program To fix the program crashing, I add a try/catch that keeps the program running when there is a NullPointerException if there is a null pointer exception, ignore it
@Override public void run() { try{ // reset all the activity when the start button is pushed // this is needed because the service is started upon the app being opened if(bool2 == true){ bool2 = false; mySe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo5385r() {\n throw null;\n }", "public static void main(String [] args) throws NullPointerException, ClassNotFoundException, IOException{\n\t\t\t//window console\n\t System.out.println(\"Handling the same exception\");\n\t //In here calling the check method.\n\t checkE...
[ "0.607836", "0.6005248", "0.5923011", "0.5849681", "0.5822308", "0.5808349", "0.58018035", "0.5799134", "0.5791052", "0.5739147", "0.5690472", "0.5665003", "0.5663228", "0.5640208", "0.5636023", "0.561892", "0.5612481", "0.55951947", "0.5588176", "0.5573188", "0.5551085", "...
0.0
-1
Set the IP range(s) to authenticate as particular principals.
public void setMappings(@Nullable @NonnullElements final Map<String,Collection<IPRange>> newMappings) { checkSetterPreconditions(); if (newMappings != null) { mappings = new HashMap<>(newMappings.size()); for (final Map.Entry<String,Collection<IPRange>> e : newMappings.entrySet()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValidRange (int lowerBounds, int upperBounds)\r\n\t{\r\n\t\tm_lowerBounds = lowerBounds;\r\n\t\tm_upperBounds = upperBounds;\r\n\t}", "public void setRange(AddressInfo range) {\r\n this.range = range;\r\n }", "public void setRanges(List<Range> ranges) {\n this.ranges = ranges;\n }"...
[ "0.5666543", "0.5629043", "0.5481041", "0.54499775", "0.54481095", "0.54271054", "0.5396271", "0.53957325", "0.5394096", "0.52216727", "0.51991343", "0.51308215", "0.5130688", "0.51244134", "0.51091", "0.51018566", "0.5045707", "0.504408", "0.49710032", "0.49710032", "0.49669...
0.46042898
63
Checks whether the given IP address meets a set of IP range requirements.
private boolean isAuthenticated(@Nonnull final InetAddress address, @Nonnull @NonnullElements final Collection<IPRange> ranges) { final byte[] resolvedAddress = address.getAddress(); for (final IPRange range : ranges) { if (range.contains(resolvedAddress)) { retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkRangeAddress(int address) {\r\n return (address >= startAddress && address < endAddress);\r\n }", "protected boolean isAddressInRange(String range, String address) \r\n\t\t\tthrows ServletException {\r\n\t\t\r\n\t\tString network;\r\n\t\tString mask;\r\n\t\t\r\n\t\tint slashPos = r...
[ "0.7145726", "0.68131036", "0.66151637", "0.63016456", "0.626873", "0.62649554", "0.62014586", "0.6105054", "0.60938823", "0.60607284", "0.60291165", "0.60267705", "0.6005862", "0.5963983", "0.5960711", "0.5909307", "0.5841923", "0.583579", "0.583579", "0.583579", "0.583579",...
0.63251406
3
Constructor for the operator. Calls the super class constructor.
public findDetectorPeaks(){ super("findDetectorPeaks"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ChainOperator(){\n\n }", "public Operation() {\n super();\n }", "public OperatorNode(final Operator operator,\n final int pos) {\n super(pos);\n this.operator = operator;\n }", "private OperatorManager() {}", "public Unary() {\n ...
[ "0.7468196", "0.68632954", "0.6625963", "0.66195583", "0.6540802", "0.6499404", "0.6461458", "0.6453816", "0.6450075", "0.6440366", "0.6434587", "0.6416391", "0.639236", "0.6390793", "0.63389975", "0.6320039", "0.6294791", "0.6266277", "0.62380284", "0.6237815", "0.62168664",...
0.0
-1
Gives the user the command for the operator.
public String getCommand(){ return "findDetectorPeaks"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getOperator()\r\n\t{\r\n\t\tSystem.out.println(\"Choose the any operation from the following operations:\");\r\n System.out.println(\"1.+\");\r\n System.out.println(\"2.-\");\r\n System.out.println(\"3.*\");\r\n System.out.println(\"4./\");\r\n \r\n\t\tString op=sc....
[ "0.73017573", "0.7210698", "0.70717716", "0.7051548", "0.7034742", "0.69644344", "0.6954587", "0.69242513", "0.68835384", "0.6873833", "0.68693477", "0.68409073", "0.67923564", "0.67923564", "0.67923564", "0.67923564", "0.67923564", "0.67923564", "0.67715544", "0.6718193", "0...
0.0
-1
Sets the default parameters for the operator.
public void setDefaultParameters(){ clearParametersVector(); addParameter( new DataSetPG("Data Set",DataSetTools.dataset.DataSet.EMPTY_DATA_SET)); addParameter( new IntegerPG("Detector ID",1)); addParameter( new IntegerPG("Min Time Channel",1)); addParameter( new IntegerPG("Max Time Channe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setParametersToDefaultValues()\n/* 65: */ {\n/* 66:104 */ super.setParametersToDefaultValues();\n/* 67:105 */ this.placeholder = _placeholder_DefaultValue_xjal();\n/* 68: */ }", "public void setDefaultParameters()\n {\n parameters = new Vector(); // must do this to clear an...
[ "0.7205161", "0.698378", "0.69192725", "0.6626155", "0.658782", "0.6416033", "0.6322684", "0.62976724", "0.6284635", "0.62533563", "0.6244488", "0.6226647", "0.6205918", "0.6127798", "0.6111613", "0.60839874", "0.60781854", "0.6073599", "0.60650545", "0.60410964", "0.59012055...
0.66041225
4
Writes a string for the documentation of the operator provided by the user.
public String getDocumentation(){ StringBuffer S = new StringBuffer(); S.append("@overview "); S.append("This finds a bunch of peaks in a data set for a given detector number."); S.append("\r\n"); S.append(" This operator wraps the method DataSetTools.operator.Generic.TOF_SCD.FindPeak...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void writeOperator(String op) {\n\t\t// FileWriter fw;\n\t\tArrayList<String> al = new ArrayList<String>();\n\t\tal.add(op);\n\t\ttry {\n\t\t\tFiles.write(new File(Call.class.getResource(CONFIG_FILE).getPath()).toPath(), al, Charset.forName(\"UTF-8\"));\n\t\t\t// fw = new FileWriter(CONFIG_FILE);\n\t...
[ "0.6348007", "0.5974598", "0.59468853", "0.58407384", "0.5681654", "0.5565959", "0.5549435", "0.5523037", "0.55189955", "0.5499729", "0.5497795", "0.5495557", "0.5418574", "0.54071194", "0.53983045", "0.53819907", "0.53660333", "0.5357021", "0.53529006", "0.5351944", "0.53519...
0.49377218
76
Returns a string array with the category the operator is in.
public String[] getCategoryList(){ return new String[]{ "HIDDENOPERATOR" }; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] getCategoryList(){\n return new String[]{\n \"Macros\",\n \"Instrument Type\",\n \"TOF_NSCD\",\n \"NEW_SNS\"\n };\n }", "String category();", "public String toString() {\n\t\treturn ...
[ "0.71741605", "0.6583879", "0.65002954", "0.64238656", "0.637386", "0.6071351", "0.6071351", "0.6066853", "0.60633236", "0.6051888", "0.6022142", "0.5903001", "0.5869034", "0.5863672", "0.57796276", "0.577814", "0.57004607", "0.5677082", "0.5666284", "0.56014067", "0.5601173"...
0.70802337
1
WRONG setPersonPersonTypes( memberTypes );
public void setMemberTypes( java.util.List memberTypes ) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPersonType(PersonType_Tp type) { this.personType = type; }", "void addIsPersonType(Integer newIsPersonType);", "public void setMemberTypes(java.util.List memberTypes)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xm...
[ "0.75201017", "0.6272709", "0.6256757", "0.62282753", "0.62121826", "0.60841334", "0.6079993", "0.60493", "0.60493", "0.60188967", "0.6015647", "0.59519035", "0.59510344", "0.5873702", "0.587114", "0.57789516", "0.57778823", "0.5681973", "0.5673933", "0.5652999", "0.55819154"...
0.68725556
1
finish node means end of current subtree for example, postorder = [9,15,7,20,3], numbers just before 3 is it's right subtree (20, 7, 15), and their finish node is 3.
private TreeNode helper(int[] inorder, int[] inIdx, int[] postorder, int[] postIdx, TreeNode finish) { if (postIdx[0] < 0 || (finish != null && inorder[inIdx[0]] == finish.val)) { return null; } TreeNode root = new TreeNode(postorder[postIdx[0]--]); root.right = helper(inor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void finish(Node n) {}", "public int getEndNode(){\n\t\treturn endNode;\n\t}", "Node getEndNode() {\n return end;\n }", "public void postorder()\r\n {\r\n postorder(root);\r\n }", "private static boolean postOrderTraversal(Node current) {\n //Break if the node is nul...
[ "0.69990796", "0.58339936", "0.5763041", "0.57279474", "0.5696577", "0.56179935", "0.5617057", "0.5612637", "0.55462235", "0.55462235", "0.55341804", "0.55051154", "0.5492303", "0.5418648", "0.5416719", "0.53975654", "0.53817767", "0.53810376", "0.53782016", "0.53602767", "0....
0.63071615
1