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 |
|---|---|---|---|---|---|---|
Created by ASUS on 2/24/2018. | public interface FragmentInterface {
void onCreate();
void initLayout();
void updateLayout();
void sendInitialRequest();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n public void perish() {\n \n }",
"public final void mo51373a() {\n }",
"protected MetadataUGWD() {/* intentionally empty block */}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"privat... | [
"0.5874029",
"0.5829695",
"0.5799866",
"0.57428527",
"0.5524777",
"0.5488595",
"0.54854167",
"0.54494214",
"0.5426325",
"0.54100895",
"0.54100895",
"0.5387453",
"0.53723216",
"0.5366306",
"0.53576946",
"0.5344394",
"0.5340627",
"0.5338802",
"0.5317351",
"0.53140986",
"0.52986... | 0.0 | -1 |
n floors and k eggs. (k = | static int minDrops(int n, int E) {
//f[n][k] = ?
//use one egg broken or not
//try floor 1 2 3 4 5 6 with one egg.
//floor i. ok if we broken something, didn't broken only go up. or it broke, then
// f[n][e] = min( max(f[n - i][e], f[i][e-1]) for i)
//
//
int[][] f = new int[n + 1][E + 1... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static int eggDrop(int n, int k) {\r\n if(k == 0 || k == 1) {\r\n return k;\r\n }\r\n\r\n // We need k trials for one egg \r\n // and k floors \r\n if(n == 1) {\r\n return k;\r\n }\r\n \r\n int min = Integer.MAX_VALUE;\r\n int i,... | [
"0.65375704",
"0.64122164",
"0.63258266",
"0.61845255",
"0.59860444",
"0.59649134",
"0.5940582",
"0.5922271",
"0.5907429",
"0.5869486",
"0.58582723",
"0.5849941",
"0.57908356",
"0.5784745",
"0.57613784",
"0.57504666",
"0.5733489",
"0.57147086",
"0.57145965",
"0.5702696",
"0.5... | 0.52078795 | 100 |
Create a randomized unique state string to be used while crafting the authorization request | private String createState(AbstractOAuth2AuthenticationProvider idp, Optional<String> redirectPage) {
if (idp == null) {
throw new IllegalArgumentException("idp cannot be null");
}
SecureRandom rand = new SecureRandom();
String base = idp.getId() + "~" + this.clock.millis()
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void generateStateToken() {\n\t\tSecureRandom sr1 = new SecureRandom();\n\t\tstateToken = \"google;\" + sr1.nextInt();\n\t}",
"private void generateStateToken() {\n\t\tSecureRandom sr1 = new SecureRandom();\n\n\t\tstateToken = \"google;\" + sr1.nextInt();\n\t}",
"protected String generateStateId() {\n\... | [
"0.8009981",
"0.79860646",
"0.79677266",
"0.75369406",
"0.7031722",
"0.6820454",
"0.6749161",
"0.6712277",
"0.66201687",
"0.64394987",
"0.64258504",
"0.63951254",
"0.63785154",
"0.63754195",
"0.63693184",
"0.63657063",
"0.6357756",
"0.63505924",
"0.63397855",
"0.63362134",
"0... | 0.6717337 | 7 |
Instantiates a new ray tracer engine. | public RayTracerEngine(Dimension image_size) {
this(image_size, null, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public RayTracer() {\n\t\tspheres = new ArrayList<Sphere>();\n\t\tspheres.add(new Sphere(-2.0f, 0.0f, -15.0f, 4.0f, 1.00f, 0.32f, 0.36f, 0.1f, 0.8f, 100.0f));\n\t\tspheres.add(new Sphere(5.0f, 5.0f, -15.0f, 2.0f, 0.00f, 0.92f, 0.36f, 0.1f, 0.8f, 100.0f));\n\t\tspheres.add(new Sphere(10.0f, -8.0f, -30.0f, 6.0f, 0.3... | [
"0.6805421",
"0.6364906",
"0.6364906",
"0.6102418",
"0.5823641",
"0.55823046",
"0.54840285",
"0.5441938",
"0.5409229",
"0.53761506",
"0.51610744",
"0.51173574",
"0.51027197",
"0.50538343",
"0.50538343",
"0.50286615",
"0.50009865",
"0.4999168",
"0.498935",
"0.49696353",
"0.493... | 0.6011056 | 4 |
Instantiates a new ray tracer engine. | public RayTracerEngine(Dimension image_size, Scene scene, Camera camera) {
this.scene = scene;
this.camera = camera;
this.width = image_size.width;
this.height = image_size.height;
forward = new Vector(0, 0, 1);
forward.normalise();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public RayTracer() {\n\t\tspheres = new ArrayList<Sphere>();\n\t\tspheres.add(new Sphere(-2.0f, 0.0f, -15.0f, 4.0f, 1.00f, 0.32f, 0.36f, 0.1f, 0.8f, 100.0f));\n\t\tspheres.add(new Sphere(5.0f, 5.0f, -15.0f, 2.0f, 0.00f, 0.92f, 0.36f, 0.1f, 0.8f, 100.0f));\n\t\tspheres.add(new Sphere(10.0f, -8.0f, -30.0f, 6.0f, 0.3... | [
"0.68035555",
"0.6363087",
"0.6363087",
"0.6100594",
"0.60109276",
"0.58188033",
"0.5488027",
"0.54367876",
"0.5406374",
"0.5381673",
"0.51650506",
"0.51214194",
"0.51093227",
"0.50580436",
"0.50580436",
"0.50294733",
"0.50060576",
"0.50037426",
"0.4990902",
"0.49728698",
"0.... | 0.55810314 | 6 |
Gets the percent complete. | public double getPercentComplete() {
this.percent_complete = ((double) lines_produced / (double) height) * 100.0;
return this.percent_complete;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Float percentComplete() {\n return this.percentComplete;\n }",
"public Double percentComplete() {\n return this.percentComplete;\n }",
"public Number getPercentageComplete()\r\n {\r\n return (m_percentageComplete);\r\n }",
"public String percentComplete() {\r\n\tdouble per... | [
"0.8544118",
"0.8497082",
"0.83284336",
"0.8124094",
"0.8080711",
"0.7971308",
"0.7919722",
"0.7855976",
"0.7697129",
"0.76813245",
"0.7653216",
"0.75915563",
"0.75783753",
"0.7518014",
"0.7459644",
"0.74122405",
"0.7376639",
"0.73708963",
"0.7353396",
"0.73533493",
"0.735280... | 0.833648 | 2 |
Checks if is finished. | public boolean isFinished() {
return finished;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected boolean isFinished()\n\t{\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n return true;\n }",
"p... | [
"0.8594389",
"0.8584736",
"0.8584736",
"0.8584736",
"0.85626066",
"0.85626066",
"0.85626066",
"0.85626066",
"0.85626066",
"0.85626066",
"0.85029334",
"0.846278",
"0.84516954",
"0.8428392",
"0.8421656",
"0.83916426",
"0.83794653",
"0.8379125",
"0.8373934",
"0.8368443",
"0.8368... | 0.80866915 | 91 |
Sets the ray tracer listener. | public void setRayTracerListener(RayTracerListener l) {
this.rtl = l;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Reflexion(final Ray ray, final Raytracer tracer){\n\t\tthis.ray = ray;\n\t\tthis.tracer = tracer;\n\t}",
"void setListener(Listener listener);",
"public void setListener(LineListener listener) {\n\t\tplayer.setListener(listener);\n\t}",
"private void setListener() {\n\t}",
"public void setListener(Listener... | [
"0.639393",
"0.6313022",
"0.61000246",
"0.6051982",
"0.5985449",
"0.5985449",
"0.5946719",
"0.5866389",
"0.57530874",
"0.5587871",
"0.5585344",
"0.5578225",
"0.5565055",
"0.5555176",
"0.55318743",
"0.5526015",
"0.5513177",
"0.54799366",
"0.54767394",
"0.54713386",
"0.54713386... | 0.76455647 | 0 |
Sets the super sampling. | public void setSuperSampling(boolean flag) {
this.supersampling = flag;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public Builder sampling(double sampling) {\n super.sampling(sampling);\n return this;\n }",
"public void setSamples(int samples){ \n this.samples = samples; \n }",
"public void setSamplingRate( int samplingRate ) {\r\n this.samplingRate = sampling... | [
"0.70146835",
"0.6303062",
"0.62883407",
"0.6204053",
"0.6128701",
"0.60063195",
"0.59787637",
"0.59446037",
"0.5906863",
"0.58599675",
"0.58081084",
"0.57563186",
"0.5708193",
"0.568678",
"0.56828123",
"0.56806874",
"0.55393076",
"0.55303115",
"0.5497463",
"0.5490007",
"0.54... | 0.76959485 | 0 |
Constructs and initializes an International Student object for use. Used for add, remove, pay. | public International(String name, Major major, int creditHours, boolean isStudyAbroad) {
super(name, major, creditHours);
this.isStudyAbroad = isStudyAbroad;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Student() {\r\n\t\t\r\n\t\t//populating country options\r\n\t\t//can also be done using a properties file\r\n\t\t\r\n\t\t/*\r\n\t\t * countryOptions = new LinkedHashMap<String, String>();\r\n\t\t * \r\n\t\t * countryOptions.put(\"BR\", \"Brazil\"); countryOptions.put(\"IN\", \"India\");\r\n\t\t * countryOpt... | [
"0.7407551",
"0.7138504",
"0.70003694",
"0.69035363",
"0.6902772",
"0.68696696",
"0.6789459",
"0.6789459",
"0.6789459",
"0.6786859",
"0.67402285",
"0.6671479",
"0.66460496",
"0.66407216",
"0.66192883",
"0.6618971",
"0.66085845",
"0.65938723",
"0.6578898",
"0.6575849",
"0.6493... | 0.0 | -1 |
Sets the International students study abroad status to true. | public void setIsStudyAbroad()
{
double initialValue = 0;
this.isStudyAbroad = true;
this.setCreditHours(MIN_FULL_TIME_CREDIT);
setTotalPayment(initialValue);
setLastPaymentDate(null);
this.tuitionDue();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setRoad(Boolean bool) {\r\n\t \tthis.road = bool;\r\n\t }",
"public IRoadSensor setRoadStatus(ERoadStatus s);",
"public void setAA(boolean value) {\n this.AA = value;\n }",
"public void setStatus(java.lang.String status) {\n\t\t_primarySchoolStudent.setStatus(status);\n\t}",
"public I... | [
"0.63272196",
"0.61253875",
"0.5809222",
"0.56734353",
"0.56304395",
"0.55926627",
"0.54191345",
"0.53658503",
"0.5353036",
"0.533448",
"0.53312206",
"0.5325907",
"0.53169155",
"0.5299824",
"0.5234305",
"0.52273494",
"0.5218162",
"0.51777494",
"0.51774573",
"0.5177005",
"0.51... | 0.7286011 | 0 |
Overrides the tuitionDue method in Student Parent class. Calculates the tuition for an international student. | @Override
public void tuitionDue()
{
// Studies Abroad
if(isStudyAbroad == true) {
this.setTuitionDue( Student.UNIVERSITY_FEE + Student.ADDITIONAL_FEE);
}
// Full-Time and Credits > 16 and Not Study Abroad
else if(this.getStatus() == FULL_TIME && this.getCredi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public void tuitionDue() {\r\n if (getTotalTuitionPaid() > 0)\r\n return;\r\n double _tuitionOwed = 0;\r\n if (getCredits() < MINIMUM_FULL_TIME_CREDITS)\r\n _tuitionOwed = (getCredits() * RESIDENT_TUITION_RATE_PER_CREDIT) + PART_TIME_UNIVERSITY_FEE;\r\n ... | [
"0.7167679",
"0.6395011",
"0.6054646",
"0.56963354",
"0.5680014",
"0.54090625",
"0.53045267",
"0.52689034",
"0.5262528",
"0.52001643",
"0.5175859",
"0.5166858",
"0.5155598",
"0.51529044",
"0.5138462",
"0.51378256",
"0.5121157",
"0.5109722",
"0.5106095",
"0.51010627",
"0.50970... | 0.74573886 | 0 |
Overrides toString method to represent Student objects. | @Override
public String toString() {
String isStudyAbroadTextRepresentation = (isStudyAbroad) ? ":study abroad" : "";
return String.format("%s:international%s", super.toString(), isStudyAbroadTextRepresentation);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public String toString() {\r\n return \"Student: \" + super.toString();\r\n }",
"@Override\n\tpublic String toString() {\n\t\treturn \" \" + getStudentId() + \":\" + getStudentName();\n\t}",
"public String toString()\n {\n return \"Student(\" + studentName + \", \" + currentPhone + \... | [
"0.8150002",
"0.8023176",
"0.79044026",
"0.78383946",
"0.7825696",
"0.76398057",
"0.7630769",
"0.75991446",
"0.75803643",
"0.7505548",
"0.7478934",
"0.7450032",
"0.73834705",
"0.73531055",
"0.7309723",
"0.730668",
"0.7258415",
"0.721573",
"0.71593714",
"0.71457535",
"0.709185... | 0.0 | -1 |
toString method for printing elements | public String toString()
{
return "Element name:\t "+elementName+"\nAtomic number:\t "+atomicNum+"\nSymbol:\t\t "+symbol+"\nBoiling Point:\t "+boilingPoint+" K"+"\nMelting Point:\t "+meltingPoint+" K"+"\nDensity:\t "
+density+" g/L"+"\nMolecular Weight: "+molecularWeight+" g/mole\n";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic String toString() {\r\n\t\tStringBuilder stb = new StringBuilder();\r\n\t\tfor (int i = 0; i < elements.size(); i++) {\r\n\t\t\tstb.append(\"Element \" + i + \":\" + elements.get(i) + \" \");\r\n\t\t}\r\n\t\treturn stb.toString();\r\n\t}",
"@Override\n public String toString() {\n ... | [
"0.8311141",
"0.8268132",
"0.81375873",
"0.80876106",
"0.80804247",
"0.8029597",
"0.8026954",
"0.7987256",
"0.79807544",
"0.79540324",
"0.79540324",
"0.79496306",
"0.7916548",
"0.7878071",
"0.78589994",
"0.7815526",
"0.7815526",
"0.7788681",
"0.77862155",
"0.77862155",
"0.778... | 0.7684811 | 42 |
firing a pop up message if user clicks on already booked seat | @FXML
private void selectSeat(MouseEvent e) {
if (((Node) e.getSource()).getStyle()
.equals("-fx-fill:#c9b3b3; -fx-font-family: 'Material Icons'; -fx-font-size: 40.0;")) {
Alert alert = new Alert(AlertType.WARNING,
"The seat " + ((Node) e.getSource()).getId() ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void onAddClicked() {\r\n\t\t\r\n\t\tString givenName = Window.showStudentDialog();\r\n\t\t\r\n\t\tif (givenName != null) {\r\n\t\t\t\r\n\t\t\tif(!chart.addStudentName(givenName)) {\r\n\t\t\t\tWindow.msg(\"There are no seats available.\");\r\n\t\t\t}\r\n\t\t\tupdate();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Overrid... | [
"0.6758962",
"0.6744569",
"0.64979637",
"0.62860394",
"0.60674036",
"0.5846941",
"0.5803901",
"0.5745679",
"0.5663188",
"0.56472147",
"0.5644295",
"0.56222755",
"0.5613107",
"0.5596944",
"0.55917037",
"0.5587278",
"0.55708015",
"0.5563499",
"0.55599374",
"0.5559844",
"0.55159... | 0.61656046 | 4 |
Method that gets called when a customer clicks on the book seat button to make a booking. | @FXML
private void bookSeat(MouseEvent e) throws IOException, GeneralSecurityException {
if (Main.getSelectedSeats().size() == 0){
throwAlert();
return;
}
try {
datePicker.getValue().equals(null);
filmDropDownList.getValue().equals(null);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onSeatClick(Seat seat) {\n }",
"private void bookSeats() {\n\t\tint numSeats;\n\n\t\tSystem.out.print(\"Please enter the number of seats to book: \");\n\t\tnumSeats = Integer.parseInt(sc.nextLine());\n\t\t\n\t\t// Reject attempt to book more seats than are available\n\t\tif (numSeat... | [
"0.6919938",
"0.6837328",
"0.6628562",
"0.66012967",
"0.65746164",
"0.6371486",
"0.6311218",
"0.6250911",
"0.61840373",
"0.61626786",
"0.6156107",
"0.6093723",
"0.60845476",
"0.6029663",
"0.5986393",
"0.59704185",
"0.5903268",
"0.58989143",
"0.58833414",
"0.5838885",
"0.57855... | 0.5861261 | 19 |
Method that gets called when a date is selected from the date picker. | @FXML
private void populateFilmDropDownList(ActionEvent event) throws ParseException {
Main.resetFilmList();
Main.readJSONFile("filmsJSON.txt");
try {
Main.setSelectedDate(datePicker.getValue().toString());
ObservableList<String> filmTitles = FXCollections.observabl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSelectedDate(Date selectedDate);",
"public Date getSelectedDate();",
"public void onDateSelect(SelectEvent event) {\r\n\t\t/**\r\n\t\t * FacesContext facesContext = FacesContext.getCurrentInstance();\r\n\t\t * SimpleDateFormat format = new SimpleDateFormat(\"dd/MM/yyyy\");\r\n\t\t * facesContext... | [
"0.7959755",
"0.7854773",
"0.75268424",
"0.73921645",
"0.7363889",
"0.7329713",
"0.7279211",
"0.72642696",
"0.7211577",
"0.719749",
"0.7196108",
"0.7192612",
"0.717365",
"0.7162749",
"0.7147311",
"0.71404195",
"0.7131403",
"0.71297973",
"0.7125176",
"0.711259",
"0.7106747",
... | 0.0 | -1 |
Method that gets called when a film is selected from the dropdown list. | @FXML
private void populateTimeDropDownList(ActionEvent event) {
try {
Main.setSelectedFilmTitle(filmDropDownList.getValue());
Film selectedFilm = Main.getFilmByTitle(Main.getSelectedFilmTitle());
ObservableList<String> timesList = FXCollections.observableArrayList(sele... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void onItemSelected(MovieModel movieModel);",
"@FXML\n private void handleEditFilm() {\n \tFilmItem selectedFilm = filmTable.getSelectionModel().getSelectedItem();\n if (selectedFilm != null) {\n boolean okClicked = mainApp.showFilmEditDialog(selectedFilm, false);\n if (... | [
"0.65262693",
"0.6424058",
"0.6423551",
"0.63855076",
"0.6323113",
"0.60459334",
"0.59629637",
"0.59492195",
"0.58602947",
"0.5843773",
"0.5819393",
"0.57999647",
"0.57456046",
"0.5718648",
"0.57155114",
"0.5707251",
"0.56829387",
"0.5649276",
"0.56397396",
"0.56264365",
"0.5... | 0.0 | -1 |
Methode permettant d'executer une action OCM | public Object execute(OcmAction<T> action, boolean autoSave) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void execute() {\n\t\tempfaengerA.doAction1();\n\t\tempfaengerA.doAction2();\n\t\tempfaengerA.doAction3();\n\n\t}",
"protected void execute()\n\t{\n\t}",
"@Override\n\tpublic void doExecute(Runnable action) {\n\t\t\n\t}",
"public void execute(){\n\t\t\n\t}",
"public void execute() {\n\n... | [
"0.69075257",
"0.67987573",
"0.6781129",
"0.6772217",
"0.6745014",
"0.67293197",
"0.6673299",
"0.66671443",
"0.6660754",
"0.66573614",
"0.66573614",
"0.6654184",
"0.6644713",
"0.6644713",
"0.6644713",
"0.66352016",
"0.6627838",
"0.66029036",
"0.659898",
"0.65898603",
"0.65895... | 0.6606762 | 17 |
Methode permettant d'executer une action OCM | public Object execute(OcmAction<T> action) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void execute() {\n\t\tempfaengerA.doAction1();\n\t\tempfaengerA.doAction2();\n\t\tempfaengerA.doAction3();\n\n\t}",
"protected void execute()\n\t{\n\t}",
"@Override\n\tpublic void doExecute(Runnable action) {\n\t\t\n\t}",
"public void execute(){\n\t\t\n\t}",
"public void execute() {\n\n... | [
"0.6908615",
"0.6798909",
"0.67819977",
"0.6772249",
"0.6745099",
"0.67293036",
"0.6675272",
"0.6667392",
"0.6660834",
"0.66575384",
"0.66575384",
"0.66541713",
"0.6644851",
"0.6644851",
"0.6644851",
"0.6635359",
"0.662824",
"0.66089475",
"0.66032046",
"0.65904605",
"0.659026... | 0.6601004 | 19 |
Methode permettant d'inserer l'entite dans le depot | public T insert(T entity) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void insertData() {\r\n \r\n TeatroEntity teatro = factory.manufacturePojo(TeatroEntity.class);\r\n em.persist(teatro);\r\n FuncionEntity funcion = factory.manufacturePojo(FuncionEntity.class);\r\n List<FuncionEntity> lista = new ArrayList();\r\n lista.add(funcion)... | [
"0.6498546",
"0.6437039",
"0.6431186",
"0.64171624",
"0.63100225",
"0.63050324",
"0.6288508",
"0.6281461",
"0.6251776",
"0.6220931",
"0.62009186",
"0.61926883",
"0.6151685",
"0.6150873",
"0.6133588",
"0.61332947",
"0.61317843",
"0.611952",
"0.6115942",
"0.60909665",
"0.608397... | 0.0 | -1 |
Methode permettant de mettre a jour une entite du depot | public T update(T entity) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract void depComponent(DepComponent depComponent);",
"void depComponent(DepComponent depComponent);",
"public void zugInsDepot() {\n depot++;\n }",
"public void aplicarDescuento();",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"public DepControlar() {\n \n initComponents... | [
"0.6595286",
"0.65593815",
"0.6492639",
"0.609575",
"0.59510565",
"0.59053123",
"0.5903478",
"0.5875723",
"0.58487374",
"0.58087134",
"0.57380265",
"0.5733778",
"0.57143915",
"0.5710116",
"0.56966835",
"0.56957054",
"0.5681961",
"0.56775945",
"0.56585044",
"0.5610238",
"0.560... | 0.0 | -1 |
Methode permettant de supprimer une entite du depot | public void remove(T entity) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void delete(ComplitedOrderInfo arg0) {\n\t\t\n\t}",
"public void deleteEquipoComunidad(EquipoComunidad equipoComunidad);",
"@Override\n\tpublic void delete(Integer deptno) {\n\t\t\n\t}",
"public void destory(){\n \n }",
"public void remove() {\n\n\t\t\tsuprimirNodo(ant... | [
"0.6798758",
"0.67355406",
"0.673069",
"0.66546655",
"0.6617164",
"0.6602872",
"0.6584617",
"0.65371174",
"0.64825416",
"0.6468445",
"0.6436874",
"0.6410944",
"0.6410939",
"0.6389247",
"0.6368781",
"0.63444054",
"0.6341891",
"0.6341411",
"0.63337857",
"0.63330805",
"0.6320554... | 0.0 | -1 |
Methode permettant de rechercher une entite a partir de son chemin | public T findByPath(String path) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void interagit() {\n super.interagit();\n ArrayList<EtreVivant> cibles = this.ciblesPotentiellesAdjacentes(this.getPosition(),this.nombreVoisins);\n cibles.stream().filter((vivants) -> (vivants.getEtat().equals(EtatEtreVivant.MALADE))).forEach((vivants) -> {\n this... | [
"0.6201125",
"0.60802495",
"0.599108",
"0.59070057",
"0.5886277",
"0.5828396",
"0.5810226",
"0.57464975",
"0.57451916",
"0.56841743",
"0.5674861",
"0.5636891",
"0.56362754",
"0.56066495",
"0.5602055",
"0.55789024",
"0.55729055",
"0.55448866",
"0.5543161",
"0.5538049",
"0.5537... | 0.0 | -1 |
Methode permettant de filtrer des entites du depot | public Collection<T> filter(Query query) throws DataAccessException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<PedidoIndividual> filtrar(PedidoIndividual filtro);",
"@Override\n public List<Produto> filtrarProdutos() {\n\n Query query = em.createQuery(\"SELECT p FROM Produto p ORDER BY p.id DESC\");\n\n// query.setFirstResult(pageRequest.getPageNumber() * pageRequest.getPageSize());\n// ... | [
"0.6551343",
"0.6295074",
"0.6220416",
"0.6020513",
"0.5948642",
"0.59188443",
"0.5880084",
"0.5865196",
"0.5818973",
"0.5806275",
"0.57920426",
"0.57207155",
"0.57158095",
"0.56948346",
"0.566332",
"0.5646434",
"0.5633895",
"0.56139123",
"0.5612946",
"0.5601631",
"0.55713147... | 0.0 | -1 |
is it a point click? | private void showPopupMenu(MouseEvent event) {
boolean isPointClick = drawnX1.equals(drawnX2) && drawnY1.equals(drawnY2);
miEditStaircaseGroup.setEnabled(false);
if (isPointClick) {
miAddRoom.setEnabled(false);
miAddLink.setEnabled(false);
miAddStaircase.s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Point userClickPoint();",
"public boolean mouseClicked(MouseEvent e)\r\n {\r\n double x = e.getX();\r\n double y = e.getY();\r\n \r\n //find if coordinates are in a \"button\"\r\n for (int i = 0; i < towerButtons.length; i++)\r\n {\r\n if (towerButtons[i].c... | [
"0.7608663",
"0.7085061",
"0.70775145",
"0.703197",
"0.6918311",
"0.67917824",
"0.67325795",
"0.6673336",
"0.6666412",
"0.6630225",
"0.66126543",
"0.6578784",
"0.65785515",
"0.6573499",
"0.6570288",
"0.6563961",
"0.6555263",
"0.6536522",
"0.6501802",
"0.6487072",
"0.64635444"... | 0.0 | -1 |
check whether a document is already open and, if so, try to close it | private void tryToCreateNew() {
if (current != null) {
if (!this.tryToClose()) return;
}
//enter a name for this scenario
String name = (String) JOptionPane.showInputDialog(
this,
"Name of the scenario",
"Next",
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void closeDocument()\n {\n try\n {\n // close our document\n if ( m_document != null )\n {\n XCloseable closeDoc = (XCloseable)UnoRuntime.queryInterface( XCloseable.class,\n m_document.getDocument() );\n clos... | [
"0.6964336",
"0.6447902",
"0.6125684",
"0.6125684",
"0.6117552",
"0.59752375",
"0.59752375",
"0.59750766",
"0.5958146",
"0.59304625",
"0.58676726",
"0.5831801",
"0.581167",
"0.5796406",
"0.57935655",
"0.578968",
"0.57824785",
"0.5731609",
"0.5731609",
"0.57292366",
"0.5667282... | 0.0 | -1 |
check whether a document is already open and, if so, try to close it | private void tryToOpen() {
if (current != null) {
if (!this.tryToClose()) return;
}
//open an existing file...
JFileChooser chooser = new JFileChooser(new File("."));
chooser.setDialogTitle("Select model file");
chooser.setFileFilter(new FileNameExtensionFilt... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void closeDocument()\n {\n try\n {\n // close our document\n if ( m_document != null )\n {\n XCloseable closeDoc = (XCloseable)UnoRuntime.queryInterface( XCloseable.class,\n m_document.getDocument() );\n clos... | [
"0.69648504",
"0.6449817",
"0.6125967",
"0.6125967",
"0.61179566",
"0.59759766",
"0.59759766",
"0.59749407",
"0.59583473",
"0.5931799",
"0.5868255",
"0.58312297",
"0.5812687",
"0.5797614",
"0.5789741",
"0.5783971",
"0.57305783",
"0.57305783",
"0.5730292",
"0.56676006",
"0.565... | 0.5793167 | 14 |
initialises Map based on data | @Override
public void start(final Stage primaryStage) {
loadDemoData(demoDataFile);
ProcessingProfiler.setVerboseOutputState(true);
ProcessingProfiler.setLoggerOutputState(true);
ProcessingProfiler.setDebugState(false);
DefaultErrorDataSet bubbleDataSet1a = new DefaultError... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Map initMap(){\n\t\tif (map == null){\n\t\t\tmap = createMap();\n\t\t}\n\t\treturn map;\n\t}",
"private static void initializeMaps()\n\t{\n\t\taddedPoints = new HashMap<String,String[][][]>();\n\t\tpopulatedList = new HashMap<String,Boolean>();\n\t\tloadedAndGenerated = new HashMap<String,Boolean>();\n\t}... | [
"0.7555387",
"0.7204864",
"0.71369654",
"0.6990948",
"0.69277",
"0.69098556",
"0.687907",
"0.6851686",
"0.6830019",
"0.6811185",
"0.67502874",
"0.6668687",
"0.6645965",
"0.66290015",
"0.6612709",
"0.6588077",
"0.6579133",
"0.6570574",
"0.6564436",
"0.6541919",
"0.6528441",
... | 0.0 | -1 |
Use nested for loops to create a square that is 4 4 | public static void main(String Args[]) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n // **\r\n\r\n int rows = 6;\r\n int columns = 4;\r\n int i;\r\n int j;\r\n\r\n for (i = 1; i <= rows; i++) {\r\n //System.out.print(\"*\");\r\n //this inner loop runs its course (completely) for EACH TIME the... | [
"0.67458975",
"0.66819984",
"0.6629231",
"0.65628386",
"0.6489601",
"0.6476295",
"0.63325536",
"0.62806886",
"0.6271943",
"0.62716013",
"0.6263503",
"0.62319905",
"0.622995",
"0.6216099",
"0.6215063",
"0.6200041",
"0.6183899",
"0.61773586",
"0.61735636",
"0.6167504",
"0.61522... | 0.0 | -1 |
System.out.println("Setting up")); score += 5;} | @Before
public void setUp() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void hitAlienScore() {\r\n //Add 5 to the score\r\n score += 5;\r\n System.out.println(\"Current Score = \"+score);\r\n }",
"public void addScore()\n {\n score += 1;\n }",
"public static void incrementScore() {\n\t\tscore++;\n\t}",
"void increaseScore(){\n\t\t cur... | [
"0.7210809",
"0.7193922",
"0.7177763",
"0.7021652",
"0.68845195",
"0.6788975",
"0.6728954",
"0.66268426",
"0.65340745",
"0.65258676",
"0.65161043",
"0.65102154",
"0.6502849",
"0.64501506",
"0.64367586",
"0.64363307",
"0.6421206",
"0.6417718",
"0.6413713",
"0.63987726",
"0.639... | 0.0 | -1 |
Ang's suggestion on getting annotation values | public static String getClassAnnotationValue(Class<RegExp> classType,
Class<Author> annotationType,
String attributeName) {
String value = null;
Annotation annotation = classType.getAnnotation(annotationType);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAnnotation();",
"public Object handleAnnotation(AnnotationMirror annotation) {\n @SuppressWarnings(\"unchecked\")\n List<AnnotationValue> arrayMembers = (List<AnnotationValue>)annotation.getElementValues().values().iterator().next().getValue();\n ... | [
"0.7063759",
"0.6972973",
"0.69667536",
"0.6811737",
"0.64701676",
"0.64121985",
"0.63828677",
"0.634164",
"0.630248",
"0.626618",
"0.6253825",
"0.6247944",
"0.62264603",
"0.61959",
"0.61359394",
"0.60949373",
"0.60948247",
"0.60853034",
"0.5953995",
"0.5942778",
"0.5941738",... | 0.5144161 | 82 |
Gets the data repository in write mode | public static boolean insertData(SQLiteOpenHelper dbHelper, String date, long nowTimestamp) {
SQLiteDatabase db = dbHelper.getWritableDatabase();
// Create a new map of values, where column names are the keys
ContentValues values = new ContentValues();
//日期
values.put(StepCountC... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public WriteMode getWriteMode()\n {\n return writeMode;\n }",
"public LdDaoWritable getDaoWritable() {\r\n return getMyDao();\r\n }",
"Path getWritePath()\n {\n return writePath;\n }",
"public DatabaseField getWriteLockField() {\r\n return writeLockField;\r\n }",... | [
"0.6290822",
"0.6120451",
"0.595885",
"0.58538646",
"0.58458114",
"0.5841957",
"0.5746884",
"0.5737026",
"0.5720388",
"0.5709278",
"0.5705298",
"0.5642926",
"0.5629342",
"0.56252414",
"0.56147224",
"0.55951107",
"0.556929",
"0.55675375",
"0.5556779",
"0.5540779",
"0.5517618",... | 0.0 | -1 |
ByteStream.test(); CharStream.test(); ProcessStream.test(); RandomAccess.test(); DecoratorPattern.test(); MyThread.test(); SynThread.test(); Singleton.test(); DeallockThread.test(); ProducerConsumer.test(); TimerThread.test(); NativeHello.test(); InetAddress01.test(); Datagram.test(); Test.test(); security.Test.test();... | public static void main(String[] args) {
nio.Test.test();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testClasses() throws Exception {\n\t\ttestWith(String.class);\n\t}",
"public static void main (String[] args) {\n \n doTest (\"hello\");\n doTest (\"query\");\n doTest (\"Mississippi\");\n doTest (\"elephant\");\n doTest (\"Qatar\");\n System.out.println();\n \n }",
... | [
"0.5860477",
"0.5751892",
"0.56756604",
"0.55022603",
"0.54303277",
"0.5429744",
"0.5402908",
"0.53902614",
"0.5385037",
"0.53420204",
"0.5310177",
"0.5297083",
"0.5280433",
"0.5279506",
"0.5271147",
"0.5267354",
"0.5259463",
"0.5255861",
"0.52558035",
"0.52479905",
"0.524571... | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
ArrayTest at = new ArrayTest();
int[] array = new int[300000];
at.creatArray(array);
// at.printArray(array);
Calendar cal = Calendar.getInstance();
System.out.println(cal.getTime());
// at.insertSort(array);
// at.bubbleSort(array);
// at.selectSort(array);
... | {
"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 |
name; surname; forename; email; address1; address2; address3; phone; fax; mobile; bio; | private void initBroker() throws URISyntaxException, IOException {
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
// InputStream is = classloader.getResourceAsStream("data/merchant.csv");
URL brokerURL = classloader.getResource("data/broker/");
String[] mer... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) throws IOException {\n\t\tint id_telefone = 4;\n\t\t\n\t\tFileInputStream fis = new FileInputStream(SAMPLE_CSV_FILE_PATH);\n\t\tInputStreamReader isr = new InputStreamReader(fis, \"UTF-8\");\n\t\t\n\t\t@SuppressWarnings(\"deprecation\")\n\t\tCSVReader reader = new CSVReader(i... | [
"0.5498037",
"0.54877734",
"0.54413325",
"0.53885984",
"0.5354947",
"0.53299135",
"0.52457184",
"0.5242399",
"0.5127876",
"0.5044463",
"0.504343",
"0.5040293",
"0.50250256",
"0.4993873",
"0.49768114",
"0.49492046",
"0.49360564",
"0.4921858",
"0.49117503",
"0.48958272",
"0.488... | 0.0 | -1 |
Must run in AWT thread (BaseKit.install() checks for that) | @Override
protected boolean runInEQ() {
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private AWTBridge() {\n\t}",
"private static native Object setupMainThread0(Object thread);",
"@Override\n public void runInit() {\n }",
"void connectServiceUnknownThread() {\n mMainHandler.post(() -> {\n try {\n final IAccessibilityServiceClient serviceInte... | [
"0.6528792",
"0.63402724",
"0.6273298",
"0.6211527",
"0.61992824",
"0.61992824",
"0.61992824",
"0.61121947",
"0.6087573",
"0.6025567",
"0.5987274",
"0.5923513",
"0.5916144",
"0.5914881",
"0.58933914",
"0.5888144",
"0.5883405",
"0.58788395",
"0.5868807",
"0.5868807",
"0.586177... | 0.0 | -1 |
Returns the privilege definitions retrieved from the input stream. | public PrivilegeDefinition[] getPrivilegeDefinitions() {
return privilegeDefinitions;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<String> getDefinitions () throws FileNotFoundException {\n String inputFile = getInputFile();\r\n Scanner scanner = new Scanner (new File (inputFile));\r\n ArrayList<String> terms = new ArrayList<String>();\r\n ArrayList<String> definitions = new ArrayList<String>();\r\n w... | [
"0.5219212",
"0.5001496",
"0.4950489",
"0.48561096",
"0.47986516",
"0.47567493",
"0.47258073",
"0.4717442",
"0.4707205",
"0.4653357",
"0.45850366",
"0.4558051",
"0.45407683",
"0.45052585",
"0.44862142",
"0.44404337",
"0.4439315",
"0.4436307",
"0.4382834",
"0.4381761",
"0.4380... | 0.661199 | 0 |
Returns the namespace mappings such as retrieved during parsing. | public Map<String,String> getNamespaces() {
return namespaces;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Map getNamespaceMap() {\n/* 130 */ return this.nsMap;\n/* */ }",
"public java.util.Map<String,String> getNamespaces() {\n return (_namespaces);\n }",
"public Map<Integer, String> getAllBindingNamespaces()\n {\n Map<Integer, String> allNs = new HashMap<Integer, String>();\n ... | [
"0.79569095",
"0.76673186",
"0.73380196",
"0.712745",
"0.698386",
"0.6982168",
"0.69658655",
"0.69658655",
"0.69658655",
"0.69658655",
"0.6943951",
"0.69292355",
"0.69235533",
"0.69170624",
"0.69140404",
"0.68532586",
"0.6846072",
"0.6572876",
"0.6499687",
"0.63240284",
"0.63... | 0.7690272 | 1 |
Editors are placed for free. | private void defineLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
IFolderLayout folder;
// Place remote system view to left of editor area.
folder = layout.createFolder(NAV_FOLDER_ID, IPageLayout.LEFT, 0.2F, editorArea);
folder.addView(getRemoveS... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void initializeEditors() {\n\t}",
"public void createFieldEditors()\n\t{\n\t}",
"public void createFieldEditors() {\n\t\t\n\t\taddField(new IntegerFieldEditor(PreferenceConstants.SPACES_PER_TAB, \"Spaces per tab (Re-open editor to take effect.)\", getFieldEditorParent(), 2 ) );\n\t\taddField(new Inte... | [
"0.7361424",
"0.6961136",
"0.67128104",
"0.6590276",
"0.6378281",
"0.63432145",
"0.63340324",
"0.6322914",
"0.62047946",
"0.6143161",
"0.61367524",
"0.6122038",
"0.60979456",
"0.6091285",
"0.60869664",
"0.60584617",
"0.60539037",
"0.60511106",
"0.5956875",
"0.59167516",
"0.58... | 0.0 | -1 |
creates a SQL User Authenticator from the global properties | RemoteUserManager() { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ToLAuthenticator(String user, String pw) {\n username = user;\n password = pw;\n }",
"public Person authenticateAndGetUser(String numCc, String password) throws RemoteException;",
"abstract public AuthInfo createAuthInfo(String username, String userid, String passwd, String ha1, String ... | [
"0.641283",
"0.5965148",
"0.5707399",
"0.5660991",
"0.56554615",
"0.56212044",
"0.55973107",
"0.5583596",
"0.55410975",
"0.54881895",
"0.54716015",
"0.54647917",
"0.5455054",
"0.545173",
"0.5451399",
"0.54281706",
"0.5365143",
"0.53559625",
"0.53500617",
"0.53500617",
"0.5335... | 0.5025373 | 56 |
attempts to authenticate a user | public final String authenticateUser(final String email, final String tok)
throws BackendRequestException {
if ((email == null) || (tok == null)) {
throw new InvalidDataException(
"one or more parameters was null or empty");
}
final Map<String, String... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void authenticateAction() {\n if (requestModel.getUsername().equals(\"superuser\")\n && requestModel.getPassword().equals(\"\")) {\n Collection<Webres> webres = getAllWebres();\n proceedWhenAuthenticated(new User(null, null, null, \"superuser\", \"\", null) {\n ... | [
"0.7472019",
"0.7153129",
"0.71081567",
"0.7088493",
"0.6957968",
"0.6880301",
"0.68190575",
"0.67551",
"0.67518854",
"0.67274904",
"0.67012465",
"0.6664736",
"0.6633426",
"0.6619435",
"0.6567889",
"0.6549771",
"0.6526036",
"0.6524758",
"0.6523633",
"0.65131915",
"0.65131915"... | 0.0 | -1 |
gets a user property from the database | public String getUserProperty(final UserDataAttrib dataAttrib,
final User user)
throws BackendRequestException {
return getUserProperty(dataAttrib, user.getEmail(), user.getTok());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"UserProperty getUserProperty(BaseUser u);",
"public StringProperty userProperty() {\n return user;\n }",
"public SUser selectOneByProperty(String property, String value) {\n\t\treturn (SUser) super.selectOneByProperty(className, property,\n\t\t\t\tvalue);\n\t}",
"public final StringProperty userPro... | [
"0.8058678",
"0.68899006",
"0.66614026",
"0.655956",
"0.64569277",
"0.6393975",
"0.6337479",
"0.6333624",
"0.63283235",
"0.6312287",
"0.6302009",
"0.6289078",
"0.6280881",
"0.62559676",
"0.62459606",
"0.62459606",
"0.6200459",
"0.61941993",
"0.61857855",
"0.61622494",
"0.6158... | 0.57933813 | 78 |
gets a user property from the database | public String getUserProperty(final UserDataAttrib dataAttrib,
final String email,
final String tok)
throws BackendRequestException {
final String property = dataAttrib.toString().toLowerCase();
final Map<String, String> att... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"UserProperty getUserProperty(BaseUser u);",
"public StringProperty userProperty() {\n return user;\n }",
"public SUser selectOneByProperty(String property, String value) {\n\t\treturn (SUser) super.selectOneByProperty(className, property,\n\t\t\t\tvalue);\n\t}",
"public final StringProperty userPro... | [
"0.8057702",
"0.68889123",
"0.66600364",
"0.6557864",
"0.6455771",
"0.63931364",
"0.6335724",
"0.6332935",
"0.6327166",
"0.6310159",
"0.6300312",
"0.6289676",
"0.6280227",
"0.6255138",
"0.62461364",
"0.62461364",
"0.62007916",
"0.61930025",
"0.61838067",
"0.61611015",
"0.6133... | 0.6157935 | 20 |
gets the user type from a post request TODO abstract away generic protected property fetch | public final String getUserType(final String email,
final String tok)
throws BackendRequestException {
if ((email == null) || (tok == null)) {
throw new InvalidDataException(
"one or more parameters was null or empty");
}
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getUserType() {\n return userType;\n }",
"public String getUserType() {\n return userType;\n }",
"public String getUserType() {\n return userType;\n }",
"public String getUserType() {\n return userType;\n }",
"public String getUserType() {\n\t\treturn _... | [
"0.6518277",
"0.6518277",
"0.6518277",
"0.6518277",
"0.63402045",
"0.62188053",
"0.6178791",
"0.6107844",
"0.6065923",
"0.6058777",
"0.59583914",
"0.5856216",
"0.5796023",
"0.5721726",
"0.5710215",
"0.56877387",
"0.56468743",
"0.5629846",
"0.56128585",
"0.5600142",
"0.5560962... | 0.55849826 | 20 |
generates exceptions based on the results of a RESTReport NOTE: this is not done in the constructor of the RR because response codes vary by implementation and context. | protected final void delegateExceptionGeneration(final RESTReport rr)
throws BackendRequestException {
if (rr.wasInternalError()) {
throw new BackendRequestException(
"internal error during user creation: "
+ rr.getInternalErrorMessage());
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract R createFailedResult(Status status);",
"private void handleExceptions(Exception e,String uri) throws ServiceProxyException {\n \n //Step 1: Is error AdfInvocationRuntimeException, AdfInvocationException or AdfException? \n String exceptionPrimaryMessage = e.getLo... | [
"0.6191881",
"0.5697029",
"0.56438315",
"0.56103307",
"0.5592545",
"0.5384996",
"0.53458023",
"0.53273284",
"0.53205675",
"0.5319803",
"0.53088415",
"0.53088415",
"0.5286482",
"0.52705646",
"0.5261943",
"0.526037",
"0.5259201",
"0.5257424",
"0.5256749",
"0.5249057",
"0.524768... | 0.6636375 | 0 |
(\x y. x (x y)) (\x y. x) ((\x. x) (\x. x)) | @Test
public void prettyPrintingParserLamApp() throws UnsupportedEncodingException {
Concrete.LocalVariable cx = ref("x");
Concrete.LocalVariable cy = ref("y");
Concrete.Expression expected = cApps(cLam(cargs(cTele(cvars(cx, cy), cPi(cUniverseInf(1), cUniverseInf(1)))), cApps(cVar(cx), cApps(cVar(cx), cVa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ParenthesisExpr createParenthesisExpr();",
"@Override\n\tpublic void visit(Parenthesis arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void visit(Parenthesis arg0) {\n\n\t}",
"@Override\n public Expression simplifyMore() {\n Expression left = super.getLeft();\n Expression right = super.getRight();... | [
"0.5307635",
"0.50877124",
"0.50563806",
"0.5035672",
"0.48603737",
"0.48044983",
"0.47776884",
"0.47439566",
"0.4654429",
"0.46533525",
"0.46225262",
"0.4584397",
"0.4569791",
"0.4554836",
"0.4546299",
"0.4488765",
"0.4466306",
"0.44504154",
"0.4447648",
"0.44425127",
"0.444... | 0.0 | -1 |
(x y z : \Type1 > \Type1 > \Type1) > \Type1 > \Type1 > (x y > y x) > z x y | @Test
public void prettyPrintingParserPi() throws UnsupportedEncodingException {
Concrete.LocalVariable x = ref("x");
Concrete.LocalVariable y = ref("y");
Concrete.LocalVariable z = ref("z");
Concrete.Expression expected = cPi(ctypeArgs(cTele(cvars(x, y, z), cPi(cUniverseInf(1), cPi(cUniverseInf(1), c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void collissions(int x, int y, int z, \n int xWidth, int yWidth, int zWidth) {\n LinkedNode first = tail;\n LinkedNode second = first.previous();\n while (first.previous() != null) {\n while (second != null) {\n int xCoordinate;\n int ... | [
"0.49801034",
"0.49729592",
"0.49478114",
"0.4946458",
"0.4834569",
"0.4814623",
"0.4744922",
"0.47361174",
"0.4707162",
"0.46869227",
"0.46652538",
"0.4657258",
"0.46471897",
"0.46446776",
"0.46008405",
"0.45806503",
"0.45518798",
"0.45272753",
"0.45211148",
"0.45182517",
"0... | 0.0 | -1 |
A : \Type a : A D : (A > A) > A > A \Pi (x : \Pi (y : A) > A) > D x (\lam y => a) | @Test
public void prettyPrintPiLam() throws UnsupportedEncodingException {
SingleDependentLink A = singleParam("A", Universe(0));
SingleDependentLink D = singleParam("D", Pi(Pi(Ref(A), Ref(A)), Pi(Ref(A), Ref(A))));
SingleDependentLink x = singleParam("x", Pi(singleParam("y", Ref(A)), Ref(A)));
Single... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"@Ignore\n @Test\n public void... | [
"0.61952585",
"0.57273847",
"0.54756886",
"0.53706443",
"0.5162605",
"0.5137068",
"0.5125915",
"0.51072675",
"0.51012295",
"0.49076223",
"0.49072313",
"0.4854957",
"0.48195058",
"0.48089176",
"0.48053494",
"0.4758982",
"0.474164",
"0.47377682",
"0.47309172",
"0.4728625",
"0.4... | 0.5446074 | 3 |
Getters and Setters methods ArrayList authors method | public void addAuthors(String author) {
if (authorsList.contains(author)) {
System.out.println("Author exist!!!");
}
else {
authorsList.add(author);
System.out.println("Add author successfully!!!");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<String> getAuthors() {\n\t\treturn authors;\n\t}",
"public List applyAuthorRule () {\n\t\treturn authors;\n\t}",
"public List<String> getAuthors() {\n return authors;\n }",
"public Item2Vector<Author> getAuthorss() { return authorss; }",
"public String[] getAuthors() {\n r... | [
"0.77952",
"0.7539974",
"0.74781716",
"0.7399213",
"0.73950696",
"0.7278098",
"0.72491246",
"0.7185341",
"0.7178411",
"0.7152821",
"0.7152821",
"0.7128309",
"0.7087664",
"0.7066501",
"0.7051254",
"0.7051254",
"0.70099044",
"0.69862974",
"0.6981273",
"0.6976826",
"0.69601816",... | 0.0 | -1 |
Si cambian las preferencia de frecuencia, hay que comunicar con el servicio que gestiona la descarga del XML | @Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
if(key.equals(context.getResources().getString(R.string.preferences_key_actualizacion))){
String actualizacion = sharedPreferences.getString(
context.getResources().getString(R... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static boolean ReescrituraConfig(String ruta, String ws, String ip_bd, String id_portico, String chapa, String dispo, String idAdmin, List<EventoPuertaMagnetica> eventos, String loc_geo){\n try{\n DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();\n Docume... | [
"0.6317517",
"0.6250145",
"0.61672914",
"0.61348605",
"0.60797113",
"0.6077549",
"0.59921914",
"0.59790325",
"0.5885835",
"0.5883005",
"0.5844027",
"0.5831026",
"0.5799474",
"0.5794634",
"0.576894",
"0.5761776",
"0.57505804",
"0.57237196",
"0.5723686",
"0.57174957",
"0.567835... | 0.0 | -1 |
Restituisce una lista di tutti i videogiochi presenti nel database | List<Videogioco> findAllVideogioco(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<Videoinfo> selectAll();",
"List<Video> getAll();",
"public List<Video> getAllVideos() {\n\t\tList<Video> videoList = new ArrayList<Video>();\n\t\t// Select All Query\n\t\tString selectQuery = \"SELECT * FROM \" + VivaFrame.TABLE_NAME;\n\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\t\tCursor cur... | [
"0.7432705",
"0.71596426",
"0.6805747",
"0.6732882",
"0.667564",
"0.66367745",
"0.6590352",
"0.6549141",
"0.64701885",
"0.63200116",
"0.6283969",
"0.62658405",
"0.617175",
"0.6164192",
"0.6158822",
"0.6093411",
"0.6093016",
"0.6088282",
"0.60733724",
"0.60708225",
"0.60371214... | 0.54475135 | 90 |
Restituisce una lista limitata di videogiochi compresi tra i valori "min" e "max" passati come parametri | List<Videogioco> doRetriveVideogiocoAllRange(int min, int max); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Limits limits();",
"public void setVideoPortRange(int minPort, int maxPort);",
"public Range getVideoPortsRange();",
"Range controlLimits();",
"Range alarmLimits();",
"public void initMaxMin(){\n\t\tmax = dja.max();\n\t\tmin = dja.min();\n\t}",
"protected void checkMinMax(StreamParams streamParam, Stre... | [
"0.6928117",
"0.678455",
"0.65076",
"0.5901774",
"0.5900288",
"0.5868028",
"0.58605474",
"0.5852694",
"0.5819102",
"0.5777416",
"0.5758803",
"0.57424515",
"0.57345027",
"0.5704137",
"0.56377923",
"0.56288666",
"0.56144804",
"0.56119764",
"0.56084734",
"0.5591371",
"0.55676854... | 0.70053315 | 0 |
restituisce il videogioco che ha come id l'intero passato come parametro | Videogioco findVideogiocoById(int id); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void agregarVotoPlayLIst(Voto voto) throws ExceptionDao;",
"MovieVideo getMovieVideoByVideoid(String videoid);",
"private native void iniciarCamara(int idCamera);",
"void setVideoResourceId(@RawRes int resId);",
"Videoinfo selectByPrimaryKey(Integer videoid);",
"public Video getVideo(int id) {\n\t\tSQLit... | [
"0.6206375",
"0.60931134",
"0.6053025",
"0.5919079",
"0.5828608",
"0.58245516",
"0.58206505",
"0.5796192",
"0.5789724",
"0.5786047",
"0.5771847",
"0.5716012",
"0.5701352",
"0.56975305",
"0.56467444",
"0.5646181",
"0.5644238",
"0.5626309",
"0.56194717",
"0.56054515",
"0.557802... | 0.63022166 | 0 |
Restitusce una lista di videogiochi avente come nome la stringa passata come argomento | List<Videogioco> retriveByNome(String nome); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static VideoHolder getAllVideo(String ligne) throws IOException {\n String[] vid = ligne.split(\" \");\n VideoHolder videoHolder = new VideoHolder();\n for (int i = 0; i < vid.length; i++) {\n videoHolder.add(new Video(i, Integer.parseInt(vid[i])));\n }\n retur... | [
"0.69653493",
"0.59752125",
"0.59187955",
"0.5773424",
"0.56912726",
"0.56583375",
"0.557679",
"0.5456093",
"0.5428445",
"0.5404419",
"0.5402295",
"0.5392314",
"0.53494036",
"0.5346366",
"0.5323921",
"0.5286793",
"0.5280338",
"0.524876",
"0.523367",
"0.5214296",
"0.5207272",
... | 0.0 | -1 |
Restitusce una lista di videogiochi avente come genere la stringa passata come argomento | List<Videogioco> retriveByGenere(String genere); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static VideoHolder getAllVideo(String ligne) throws IOException {\n String[] vid = ligne.split(\" \");\n VideoHolder videoHolder = new VideoHolder();\n for (int i = 0; i < vid.length; i++) {\n videoHolder.add(new Video(i, Integer.parseInt(vid[i])));\n }\n retur... | [
"0.62373555",
"0.5889751",
"0.56044585",
"0.54957896",
"0.5345298",
"0.53435916",
"0.5342712",
"0.5279507",
"0.5271787",
"0.5262263",
"0.5248681",
"0.5244611",
"0.520149",
"0.51974225",
"0.5197011",
"0.518518",
"0.51680446",
"0.5153861",
"0.51495624",
"0.51446986",
"0.5143638... | 0.5516283 | 3 |
Restitusce una lista di videogiochi avente come piattaforma la stringa passata come argomento | List<Videogioco> retriveByPiattaforma(String piattaforma); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static VideoHolder getAllVideo(String ligne) throws IOException {\n String[] vid = ligne.split(\" \");\n VideoHolder videoHolder = new VideoHolder();\n for (int i = 0; i < vid.length; i++) {\n videoHolder.add(new Video(i, Integer.parseInt(vid[i])));\n }\n retur... | [
"0.68336034",
"0.57674855",
"0.56504023",
"0.5502987",
"0.5486491",
"0.5429566",
"0.5415875",
"0.5399947",
"0.5392713",
"0.53457826",
"0.5337894",
"0.5318914",
"0.5306696",
"0.5298852",
"0.5292465",
"0.52765065",
"0.52577597",
"0.5217203",
"0.5215847",
"0.5207255",
"0.5204130... | 0.50109434 | 36 |
TODO Autogenerated method stub | @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentFrame(R.layout.activity_breezing_test);
initValues();
initViews();
valueToView();
initListeners();
} | {
"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 initValues() {
} | {
"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 initViews() {
setActionBarTitle(R.string.my_energy_metabolism);
mViewPager = (CustomViewPager) findViewById(R.id.viewPager);
} | {
"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.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0... | 0.0 | -1 |
TODO Autogenerated method stub | private void valueToView() {
mViewPager.setAdapter(new BreezingTestPagerAdapter(getSupportFragmentManager()));
} | {
"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 initListeners() {
mViewPager.setOnPageChangeListener(new OnPageChangeListener() {
@Override
public void onPageSelected(int arg0) {
// TODO Auto-generated method stub
if (arg0 == 1) {
mViewPager.setPagingEnabled... | {
"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 onPageSelected(int arg0) {
if (arg0 == 1) {
mViewPager.setPagingEnabled(false);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onPageScrolled(int arg0, float arg1, int arg2) {
} | {
"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.66708666",
"0.65675074",
"0.65229905",
"0.6481001",
"0.64770633",
"0.64584893",
"0.6413091",
"0.63764185",
"0.6275735",
"0.62541914",
"0.6236919",
"0.6223816",
"0.62017626",
"0.61944294",
"0.61944294",
"0.61920846",
"0.61867654",
"0.6173323",
"0.61328775",
"0.61276996",
"0... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onPageScrollStateChanged(int arg0) {
} | {
"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 Browser driver path | public static void main(String[] args) throws InterruptedException {
System.setProperty("webdriver.chrome.driver", "./drivers/chromedriver.exe");
// invoke Chrome Driver
ChromeDriver driver = new ChromeDriver();
// Adjust Window size
driver.manage().window().maximize();
driver.manage(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setDriverPathForBrowser(String browserName) {\n \t\n \tif ( !binariesPath.exists() ) throw new IllegalStateException(\"No path at \" + binariesPath.getAbsolutePath() );\n \t\n switch (browserName.toLowerCase()) {\n case \"firefox\":\n {\n if (is... | [
"0.7122715",
"0.6723498",
"0.67169034",
"0.63424855",
"0.629862",
"0.62612045",
"0.62270856",
"0.62223256",
"0.6217355",
"0.6180016",
"0.6175324",
"0.61741936",
"0.61446",
"0.6132166",
"0.6110257",
"0.6087831",
"0.6064648",
"0.6053266",
"0.60385126",
"0.601452",
"0.6003021",
... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public List<MusicRecom> findSmallClass(String code) {
return musicRecomDao.findSmallClass(code);
} | {
"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 |
Method to insert chat messages into database | public int insertChatMessage(String username, String message)throws SQLException {
String query = "INSERT INTO "+TABLE+" VALUES(?,?,?)";
java.sql.Timestamp date = new java.sql.Timestamp(new java.util.Date().getTime());
PreparedStatement ps = connection.prepareStatement(query);
ps.setTime... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void insertarBd(Chats chat) {\n\t\tString sql = \"INSERT INTO chats (chat,fecha,idUsuario) VALUES(?,?,?)\";\n\n\t\ttry (PreparedStatement ps = con.prepareStatement(sql)) {\n\t\t\tps.setString(1, chat.getTexto());\n\t\t\tps.setDate(2,chat.getFecha() );\n\t\t\tps.setLong(3, chat.getIdUsuario());\n\t\t\t\n\t\... | [
"0.7290451",
"0.69202584",
"0.66802347",
"0.6485427",
"0.64634067",
"0.6433583",
"0.63922215",
"0.6388261",
"0.634314",
"0.63400114",
"0.632426",
"0.63175595",
"0.6314667",
"0.6246957",
"0.6212168",
"0.61990553",
"0.6195061",
"0.61940074",
"0.6178424",
"0.61539096",
"0.613191... | 0.69265443 | 1 |
/ Sending a single StreamItem object through the kafka channel. Please note that this method is using JAXB Marshaller object, that is NOT thread safe. For now this method is "synchronized". | public synchronized void send(StreamItem item) {
// The EventBuilder is used to build an event using the
// the raw JSON of a tweet
//LOGGER.info(item.getTweet().getUserScreenName() + ": " + item.getTweet().getText());
// create object to be send
// StreamItem si = new StreamItem();
// si.setDataChannelId(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public synchronized void send(Tweet tweet) {\n\t\t// The EventBuilder is used to build an event using the\n\t\t// the raw JSON of a tweet\n\t\t// LOGGER.info(status.getUser().getScreenName() + \": \" +\n\t\t// status.getText());\n\n\t\t// create object to be send\n\t\tStreamItem si = new StreamItem();\n\t\t// si.s... | [
"0.63246715",
"0.52873313",
"0.521774",
"0.50863427",
"0.504039",
"0.50047946",
"0.48965636",
"0.48587024",
"0.47280872",
"0.47232568",
"0.4696392",
"0.4694876",
"0.46658143",
"0.46470842",
"0.4630338",
"0.4622355",
"0.45833707",
"0.45733914",
"0.45486093",
"0.45343947",
"0.4... | 0.7357183 | 0 |
/ Sending a single Tweet object through the kafka channel. Please note that this method is using JAXB Marshaller object, that is NOT thread safe. For now this method is "synchronized". | public synchronized void send(Tweet tweet) {
// The EventBuilder is used to build an event using the
// the raw JSON of a tweet
// LOGGER.info(status.getUser().getScreenName() + ": " +
// status.getText());
// create object to be send
StreamItem si = new StreamItem();
// si.setDataChannelId(dataChannelId... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public synchronized void send(StreamItem item) {\n\t\t// The EventBuilder is used to build an event using the\n\t\t// the raw JSON of a tweet\n\t\t//LOGGER.info(item.getTweet().getUserScreenName() + \": \" + item.getTweet().getText());\n\n\t\t// create object to be send\n\t\t// StreamItem si = new StreamItem();\n\... | [
"0.60291094",
"0.5768799",
"0.5503733",
"0.5440622",
"0.5389107",
"0.53437203",
"0.534216",
"0.5292822",
"0.52793396",
"0.5247027",
"0.5217504",
"0.5192642",
"0.51624954",
"0.51323557",
"0.5111561",
"0.5101794",
"0.50988483",
"0.5077094",
"0.5055566",
"0.5002153",
"0.49786377... | 0.735499 | 0 |
Interface to mark classes that allow to perform additional logic on created researcher profile. | public interface AfterResearcherProfileCreationAction {
/**
* Perform some actions on the given researcher profile and returns the updated
* profile.
*
* @param context the DSpace context
* @param researcherProfile the created researcher profile
* @param owner ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ProfileInterface recommend();",
"@Override\n public String getClassType(){\n return \"Assistant Professor\";\n }",
"interface WithRosterProfile {\n /**\n * Specifies the rosterProfile property: The lab user list management profile..\n *\n * @param rost... | [
"0.5719343",
"0.5668751",
"0.5426005",
"0.53189886",
"0.52826136",
"0.5249872",
"0.52119803",
"0.51933146",
"0.51339823",
"0.5116564",
"0.51058006",
"0.508955",
"0.50880414",
"0.5081815",
"0.50393885",
"0.50155824",
"0.49884757",
"0.4987176",
"0.4982817",
"0.49690366",
"0.495... | 0.532351 | 3 |
Perform some actions on the given researcher profile and returns the updated profile. | void perform(Context context, ResearcherProfile researcherProfile, EPerson owner) throws SQLException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ProfileStatusReader getProfileUpdate( String profileId );",
"public void editTheirProfile() {\n\t\t\n\t}",
"Update withRosterProfile(RosterProfile rosterProfile);",
"private void editProfile() {\n Log.d(TAG, \"Starting volley request to API\");\n try {\n String authority = String.for... | [
"0.68127245",
"0.6315149",
"0.6256384",
"0.6200494",
"0.6168351",
"0.6024603",
"0.6024397",
"0.601464",
"0.6014083",
"0.5992239",
"0.59853476",
"0.5978763",
"0.59688705",
"0.5959704",
"0.59206206",
"0.5896759",
"0.5879588",
"0.5866722",
"0.585739",
"0.58342403",
"0.58300495",... | 0.60597175 | 5 |
/ renamed from: a | protected Void doInBackground(Void... voidArr) {
CacheService.putToDiskCache(this.a, this.b);
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
double t=Double.parseDouble(args[0]);
double p =Math.toRadians(t) ;
double a;
a=Math.sin(2*t)+ Math.sin(3*t);
System.out.println(a);
} | {
"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 |
Prepares echo service for requests from client. | public void launch(int port) {
try {
Registry registry = LocateRegistry.createRegistry( port );
EchoService service = new ReversedEchoServiceImpl();
EchoService stub = (EchoService) UnicastRemoteObject.exportObject(service, 0);
registry.bind("com.anotheria.strel... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public EchoClientHandler() {\n firstMessage = Unpooled.buffer(EchoClient.SIZE);\n for (int i = 0; i < firstMessage.capacity(); i ++) {\n firstMessage.writeByte((byte) i);\n }\n }",
"private CdsHooksPreparedRequest prepareRequest(IGenericClient fhirClient, Service service, CdsHo... | [
"0.57798046",
"0.57381856",
"0.5646721",
"0.54619265",
"0.52992815",
"0.51986355",
"0.5160832",
"0.51177704",
"0.50605124",
"0.5058954",
"0.50564814",
"0.50212806",
"0.4986931",
"0.49745414",
"0.49583656",
"0.49524483",
"0.49126026",
"0.49110693",
"0.4882331",
"0.48755118",
"... | 0.0 | -1 |
Set up a simple configuration that logs on the console. | public static void main(String[] args) {
BasicConfigurator.configure();
if (args.length < 1) {
log.error("Please specify port number for Echo service");
System.exit(1);
}
EchoServiceLauncher echoService = new EchoServiceLauncher();
echoService.launch( In... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void loggingExample() {\n\t\tSystem.out.println(\"This is running with the default logger!\");\n\t\tnewLogger.fatal(\"This is fatal\");\n\t\tnewLogger.warn(\"This is the warn level\");\n\t\tnewLogger.info(\"This is the info level\");\n\t\t\n\t}",
"public void setup (SProperties config) throws IOExc... | [
"0.6867819",
"0.68051684",
"0.6665442",
"0.6585558",
"0.65792656",
"0.653996",
"0.65322083",
"0.6493576",
"0.6466359",
"0.63594717",
"0.6288696",
"0.62729067",
"0.62547886",
"0.61758065",
"0.61597705",
"0.6148449",
"0.6119451",
"0.6095249",
"0.60842484",
"0.6078765",
"0.60601... | 0.0 | -1 |
Spring Data repository for the GOtherVoucherDetails entity. | @SuppressWarnings("unused")
@Repository
public interface GOtherVoucherDetailsRepository extends JpaRepository<GOtherVoucherDetails, UUID>, GOtherVoucherDetailsRepositoryCustom {
@Query(value = "select * from GOtherVoucherDetail where GOtherVoucherID = ?1 order by OrderPriority ", nativeQuery = true)
List<GOthe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface VoucherCodeRepository extends BaseRepository<VoucherCode,Long> {\n\n public VoucherCode findByVocId(Long vocId);\n\n public VoucherCode findByVocMerchantNoAndVocVoucherSourceAndVocIndex(Long vocMerchantNo,Long vocVoucherSource,Long vocIndex );\n\n}",
"@Repository\npublic interface Vendors... | [
"0.67616606",
"0.6691278",
"0.667857",
"0.64850205",
"0.6435807",
"0.62968326",
"0.6159788",
"0.61170286",
"0.6098516",
"0.60981137",
"0.60759765",
"0.6049179",
"0.6046928",
"0.60324985",
"0.60296804",
"0.602245",
"0.599685",
"0.59830207",
"0.59751785",
"0.59719694",
"0.59696... | 0.6687631 | 2 |
private static final int SERVER_PORT = 8088; private static final String CONTEXT_PATH = "rest"; | public static void main(final String[] args) throws Exception {
Resource.setDefaultUseCaches(false);
Integer SERVER_PORT = Integer.parseInt(ManejadorPropiedades.leerPropiedad("app_cfg.properties", "app.port"));
String SERVER_HOST = ManejadorPropiedades.leerPropiedad("app_cfg.properties", "app.ho... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"default int getPort()\n {\n return getInt(\"port\", 80);\n }",
"default int getPort() {\n return getServer().getPort();\n }",
"public int getServerPortNumber(){\n return this.serverPortNumber;\n }",
"public int getServerPort(){\n\t\treturn serverPort; \n\t}",
"@Before\n public... | [
"0.63200504",
"0.6303059",
"0.624861",
"0.6116605",
"0.6099029",
"0.5977317",
"0.5958608",
"0.5948126",
"0.5924759",
"0.5918692",
"0.5910274",
"0.59050477",
"0.5901958",
"0.589927",
"0.5893556",
"0.58908343",
"0.5882727",
"0.58575773",
"0.5846089",
"0.58456683",
"0.58315104",... | 0.565642 | 44 |
This is currently expected to fail, we could fix this, but it may be failing correctly. This class has many duplicate get methods such as : String getDisplayName(Locale inLocale) String getDisplayName() The Java Bean spec (to me) isn't clear that this is an issue, but it does indicate that a matching 'get' and 'set' in... | @Test
public void localeIssues() { This is currently expected to fail, we could fix this, but it may be failing correctly.
// This class has many duplicate get methods such as :
// - String getDisplayName(Locale inLocale)
// - String getDisplayName()
//
// The Java Bean spec (to me) isn't clear th... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isPropertyAccessorMethod(Method paramMethod, Class paramClass) {\n/* 225 */ String str1 = paramMethod.getName();\n/* 226 */ Class<?> clazz = paramMethod.getReturnType();\n/* 227 */ Class[] arrayOfClass1 = paramMethod.getParameterTypes();\n/* 228 */ Class[] arrayOfClass2 = paramMethod... | [
"0.67762023",
"0.6123293",
"0.59372294",
"0.58805895",
"0.5854185",
"0.5761384",
"0.57417226",
"0.573813",
"0.5720659",
"0.5644726",
"0.56157815",
"0.5359964",
"0.535794",
"0.53025925",
"0.52663696",
"0.5261965",
"0.52269524",
"0.51883084",
"0.51625407",
"0.5161895",
"0.51601... | 0.85179263 | 0 |
private WatchRepo watchRepo = new WatchRepo(); private Object monO= new Object(); | @Override
public void initialize(URL url, ResourceBundle resourceBundle) {
downloadProgress.setProgress(0.0);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private ObjectRepository() {\n\t}",
"private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}",
"public Repo() {\n //this.app = Init.application;\n }",
"private CNWatch() {\n }",
"public Repository() {\n\n }",
"private Mongopool() {\n\t}",
"public Wat... | [
"0.6208651",
"0.6042335",
"0.59437305",
"0.5535091",
"0.5420296",
"0.541205",
"0.53993464",
"0.5380011",
"0.53333586",
"0.53048587",
"0.53042954",
"0.5295015",
"0.52918726",
"0.5273646",
"0.5271207",
"0.5271061",
"0.52608895",
"0.5246158",
"0.52387595",
"0.52229303",
"0.51730... | 0.0 | -1 |
The single parameter here is the minimum required, for the current prerelease SDK version implementing myBlocks. It will generate an idle socket in the purple myBlock. | public static double getVoltage(LinearOpMode myLOM) {
HardwareMap hardwareMap = myLOM.hardwareMap;
// Use enum to access the voltage sensor without knowing its
// name in the hardwareMap. Only one sensor will be found.
List <VoltageSensor> voltageSensors;
voltageSensors = hard... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\tpublic void onBlock(User arg0, User arg1) {\n\t\t\t\n\t\t}",
"public abstract void start_block();",
"@Override\r\n\tpublic void blockId() {\n\t\t\r\n\t\tSystem.out.println(\"Here you have information about blockID\");\r\n\t\t\r\n\t}",
"BAnyBlock createBAnyBlock();",
"@Override\n public void... | [
"0.62504905",
"0.5797488",
"0.56783473",
"0.5631799",
"0.55562896",
"0.5513737",
"0.54913944",
"0.54392797",
"0.54392797",
"0.54392797",
"0.5411843",
"0.54012334",
"0.5401153",
"0.5394554",
"0.53933257",
"0.53054106",
"0.5291981",
"0.5271251",
"0.52166766",
"0.5208547",
"0.51... | 0.0 | -1 |
private String sqlBuscaPorNome="from Funcionario as f where f.nome like :nome"; | public List<Funcionario> buscaPorNome(String nome) {
session = HibernateConexao.getSession();
session.beginTransaction().begin();
// Query query=session.createSQLQuery(sqlBuscaPorNome).setParameter("nome", nome);
List list = session.createCriteria(classe).add(Restrictions.like("nome",... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface OrdineRepository extends JpaRepository<Ordine,Long> {\n\n //Ricerca ordini associati ad un determinato cliente\n @Query(\"select o from Ordine o \" +\n \"where lower(o.cliente.nomeCliente) like lower(concat('%', :searchTerm, '%')) \" )\n List<Ordine> searchForCliente(@Param(\"... | [
"0.7450743",
"0.74501306",
"0.7443945",
"0.73295116",
"0.7274666",
"0.7222256",
"0.70845044",
"0.70808786",
"0.7032206",
"0.7015899",
"0.69663894",
"0.67579144",
"0.6747933",
"0.6723514",
"0.6723283",
"0.66963863",
"0.6690228",
"0.66744",
"0.65039325",
"0.6383624",
"0.6373617... | 0.7687959 | 0 |
Created by brucexia on 20170105. | public interface FaceInterface {
List<PointF> getFacePoints();
List<PointF> getLeftEyePoints();
List<PointF> getRightEyePoints();
public List<PointF> transformPoints(DrawingViewConfig config, boolean mirrorPoints);
public RectF getEyesRect();
public Emotions getEmotions();
Emojis getEmoj... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpubli... | [
"0.60040426",
"0.59361416",
"0.5856797",
"0.58476067",
"0.5810809",
"0.5755518",
"0.5755518",
"0.5735961",
"0.5732784",
"0.5664898",
"0.56545466",
"0.56456393",
"0.56419367",
"0.56374764",
"0.56243706",
"0.56161445",
"0.56021434",
"0.5602091",
"0.5589305",
"0.5580785",
"0.557... | 0.0 | -1 |
In host1 > vm1 and vm2 In host2 > vm3 and vm4 | public static void restoreDefaultProperties() {
results = new HashMap<String, Map<String, Object>>();
{
Map<String, Object> host1 = new HashMap<String, Object>();
results.put(HOST1_URL, host1);
host1.put(P_COMMON_ID.toString(), HOST1_ID);
host1.put(P_HOST... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void testParallelPropagationLoopBack3SitesNtoNTopologyPutFromOneDS() {\n Integer lnPort = vm0.invoke(() -> WANTestBase.createFirstLocatorWithDSId(1));\n Integer nyPort = vm1.invoke(() -> WANTestBase.createFirstRemoteLocator(2, lnPort));\n Integer tkPort = vm2.invoke(() -> WANTestBase.creat... | [
"0.5930315",
"0.5919294",
"0.58929795",
"0.58117837",
"0.57550687",
"0.5744977",
"0.57139546",
"0.56702006",
"0.557704",
"0.5547124",
"0.5488152",
"0.5465144",
"0.5412058",
"0.52915764",
"0.52318454",
"0.5203266",
"0.51873726",
"0.5166983",
"0.5166563",
"0.5149495",
"0.513766... | 0.5417962 | 12 |
Created by luozhihui on 2017/9/21. | public interface ProAbilityService {
PageInfo findProAbilitiesByPage(ProAbilitySearch search, PageObject pageObject);
boolean saveProAbility(ProAbility proAbility);
List<ProAbility> findProAbilitiesById(String id);
boolean updateProAbilityById(ProAbility proAbility);
boolean deleteProAbilitiesB... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Over... | [
"0.62042016",
"0.6167399",
"0.5958326",
"0.58787596",
"0.58527005",
"0.58469707",
"0.58469707",
"0.5825521",
"0.5810311",
"0.5809166",
"0.579823",
"0.57646596",
"0.5760451",
"0.5752884",
"0.5717128",
"0.5716197",
"0.5693269",
"0.56904966",
"0.56904966",
"0.568921",
"0.5688106... | 0.0 | -1 |
player = new WormCharacter(width/2,length/2,10,10, width, length); | WormCharacter(int inx, int iny, int inw, int inl, int sw, int sl){
x = inx;
y = iny;
width = inw;
length = inl;
isVisible = true;
screenwidth = sw;
screenlength = sl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Character()\n\t{\n\t\tthis(450,810);\n\t}",
"public Player(){\n this.health = 9;\n this.orientation = Orientation.FACING_NORTH;\n evaluateSprite();\n }",
"public Player(int width, int height)\n {\n this.width = width;\n this.height = height;\n createImage(... | [
"0.6660229",
"0.6466042",
"0.6446519",
"0.64373714",
"0.643398",
"0.643061",
"0.6396389",
"0.6387114",
"0.634693",
"0.6337585",
"0.6215892",
"0.61811334",
"0.61811334",
"0.6181013",
"0.61743057",
"0.6161528",
"0.61501247",
"0.61499685",
"0.61499685",
"0.61499685",
"0.61499685... | 0.7318341 | 0 |
/ renamed from: h | private void m17251h() {
this.f13994d.unregisterReceiver(this.f13995e);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void h() {}",
"public void h() {\n }",
"public abstract long h();",
"float getH() {\n return _h;\n }",
"H1 createH1();",
"@Override\n public String toString() {\n return \"H\";\n }",
"public void add2Hash( Hashtable h, String source ) {\n \n AstCursor c = new Ast... | [
"0.7006457",
"0.6376803",
"0.6152193",
"0.6099337",
"0.599903",
"0.5976422",
"0.5881053",
"0.5878019",
"0.5851139",
"0.5840173",
"0.58104765",
"0.57935345",
"0.5784397",
"0.577195",
"0.5760394",
"0.5758641",
"0.57195157",
"0.5717094",
"0.5712681",
"0.57083744",
"0.5691357",
... | 0.0 | -1 |
/ access modifiers changed from: protected / renamed from: b | public final void mo31290b() {
C5108gb gbVar = C5108gb.this;
int i = C5116c.f14001c;
int i2 = C5116c.f14000b;
gbVar.mo31283a(i);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n public void b() {\n }",
"@Override\n\tpublic void b() {\n\n\t}",
"public abstract void mo70713b();",
"@Override\n protected void prot() {\n }",
"protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }",
"@Ov... | [
"0.72647965",
"0.70757526",
"0.69538903",
"0.6843598",
"0.6814932",
"0.6797555",
"0.678733",
"0.678733",
"0.67240256",
"0.66868144",
"0.66532105",
"0.6633965",
"0.6575914",
"0.6544083",
"0.6537197",
"0.6515595",
"0.6515595",
"0.64513147",
"0.64497304",
"0.6440768",
"0.6413821... | 0.0 | -1 |
/ access modifiers changed from: protected / renamed from: c | public final void mo31291c() {
C5108gb gbVar = C5108gb.this;
if (gbVar.f13978c == this) {
gbVar.f13978c = null;
}
if (C5108gb.this.f13977b == C5116c.f14001c) {
C5108gb gbVar2 = C5108gb.this;
int i = C5116c.f13999a;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void prot() {\n }",
"public abstract void mo27385c();",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"private stendhal() {\n\t}",
"@Override\n public void func_104112_b() {\n ... | [
"0.66924864",
"0.66411537",
"0.65851027",
"0.6580517",
"0.65778816",
"0.6472804",
"0.6470441",
"0.63714427",
"0.63621235",
"0.6345467",
"0.6340551",
"0.6321844",
"0.6311739",
"0.6311739",
"0.6306555",
"0.6302653",
"0.62911993",
"0.62734205",
"0.6258664",
"0.62205344",
"0.6200... | 0.0 | -1 |
/ access modifiers changed from: protected / JADX WARNING: Exception block dominator not found, dom blocks: [] / JADX WARNING: Missing exception handler attribute for start block: B:11:0x004e / JADX WARNING: Removed duplicated region for block: B:17:0x0064 A[SYNTHETIC, Splitter:B:17:0x0064] / JADX WARNING: Removed dupl... | public final void mo31292d() {
/*
r7 = this;
com.tapjoy.internal.gb r0 = com.tapjoy.internal.C5108gb.this
com.tapjoy.internal.gb$a r0 = r0.mo31282a()
android.content.Context r0 = r0.f13987a
r7.f13994d = r0
androi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg... | [
"0.6180847",
"0.6116066",
"0.5969414",
"0.59651595",
"0.5951053",
"0.5934575",
"0.58812034",
"0.5868394",
"0.5857444",
"0.58565927",
"0.5848016",
"0.5767215",
"0.5765949",
"0.5745094",
"0.57194626",
"0.5708709",
"0.56929463",
"0.5682206",
"0.5681707",
"0.5641022",
"0.5614942"... | 0.0 | -1 |
/ access modifiers changed from: protected / renamed from: a | public final void mo31289a() {
this.f13992b = true;
C5108gb.this.mo31286b();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n public void ... | [
"0.75464964",
"0.73093235",
"0.71735907",
"0.692263",
"0.68435764",
"0.6787232",
"0.67364866",
"0.6659923",
"0.6635336",
"0.6635336",
"0.65571475",
"0.65408033",
"0.65371394",
"0.6500136",
"0.6494878",
"0.6494545",
"0.6485399",
"0.6476603",
"0.64670885",
"0.6403744",
"0.63941... | 0.0 | -1 |
/ renamed from: a | public static int[] m17256a() {
return (int[]) f14004f.clone();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.6249595",
"0.6242955",
"0.61393225",
"0.6117684",
"0.61140615",
"0.60893875",
"0.6046927",
"0.60248226",
"0.60201806",
"0.59753186",
"0.5947817",
"0.5912414",
"0.5883872",
"0.5878469",
"0.587005",
"0.58678955",
"0.58651674",
"0.5857262",
"0.58311176",
"0.58279663",
"0.5827... | 0.0 | -1 |
/ renamed from: a | public abstract boolean mo31194a(Context context, String str, Hashtable hashtable, TJConnectListener tJConnectListener); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
/ renamed from: b | public final boolean mo31287b(Context context, String str, Hashtable hashtable, TJConnectListener tJConnectListener) {
this.f13976a.lock();
if (tJConnectListener != null) {
try {
this.f13982g.addLast(C5087fn.m17200a(tJConnectListener, TJConnectListener.class));
} ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo2508a(bxb bxb);",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n public void b() {\n }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"@Override\n\tpublic void b2() {\n\t\t\n\t}",
"v... | [
"0.64558864",
"0.6283203",
"0.6252635",
"0.6250949",
"0.6244743",
"0.6216273",
"0.6194491",
"0.6193556",
"0.61641675",
"0.6140157",
"0.60993093",
"0.60974354",
"0.6077849",
"0.6001867",
"0.5997364",
"0.59737104",
"0.59737104",
"0.5905105",
"0.5904295",
"0.58908087",
"0.588663... | 0.0 | -1 |
/ JADX WARNING: Code restructure failed: missing block: B:2:0x0015, code lost: r3 = r2.f13984a; / Code decompiled incorrectly, please refer to instructions dump. | public final void update(java.util.Observable r3, java.lang.Object r4) {
/*
r2 = this;
com.tapjoy.internal.fs$a r3 = com.tapjoy.internal.C5096fs.f13949b
r3.deleteObserver(r2)
java.lang... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(Proces... | [
"0.6892645",
"0.68348897",
"0.6683956",
"0.6677536",
"0.6617159",
"0.6555686",
"0.6548365",
"0.65187836",
"0.6506713",
"0.6481324",
"0.6468834",
"0.64685845",
"0.64508814",
"0.64057153",
"0.6388195",
"0.6371574",
"0.6362525",
"0.6357843",
"0.6347948",
"0.6338392",
"0.6331037"... | 0.0 | -1 |
/ access modifiers changed from: packageprivate / renamed from: a | public final void mo31283a(int i) {
this.f13976a.lock();
try {
this.f13977b = i;
} finally {
this.f13976a.unlock();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"@Override\n public void func_104112_b() {\n \n }",
"public b... | [
"0.726614",
"0.7028642",
"0.6933734",
"0.6797219",
"0.6743934",
"0.66733205",
"0.6584452",
"0.6570101",
"0.6557708",
"0.6544726",
"0.6517904",
"0.65065676",
"0.64968956",
"0.6494875",
"0.6490343",
"0.64685714",
"0.6464895",
"0.64589024",
"0.6456748",
"0.645063",
"0.64302754",... | 0.0 | -1 |
/ access modifiers changed from: packageprivate / renamed from: a | public final C5112a mo31282a() {
this.f13976a.lock();
try {
if (this.f13983h != null) {
this.f13980e = this.f13983h;
this.f13983h = null;
}
return this.f13980e;
} finally {
this.f13976a.unlock();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"@Override\n public void func_104112_b() {\n \n }",
"public b... | [
"0.72647583",
"0.7027308",
"0.6932353",
"0.67963594",
"0.6744744",
"0.66718376",
"0.65831935",
"0.6568693",
"0.6556423",
"0.65451646",
"0.6518747",
"0.650733",
"0.64985996",
"0.64938843",
"0.64893854",
"0.64701945",
"0.6464074",
"0.6460309",
"0.6458465",
"0.64509946",
"0.6431... | 0.0 | -1 |
/ access modifiers changed from: packageprivate / renamed from: a | public final void mo31284a(boolean z) {
this.f13976a.lock();
try {
if (this.f13982g.size() != 0) {
ArrayList arrayList = new ArrayList(this.f13982g);
this.f13982g.clear();
this.f13976a.unlock();
Iterator it = arrayList.iterator(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"@Override\n public void func_104112_b() {\n \n }",
"public b... | [
"0.72647583",
"0.7027308",
"0.6932353",
"0.67963594",
"0.6744744",
"0.66718376",
"0.65831935",
"0.6568693",
"0.6556423",
"0.65451646",
"0.6518747",
"0.650733",
"0.64985996",
"0.64938843",
"0.64893854",
"0.64701945",
"0.6464074",
"0.6460309",
"0.6458465",
"0.64509946",
"0.6431... | 0.0 | -1 |
/ access modifiers changed from: packageprivate / renamed from: b | public final void mo31286b() {
this.f13976a.lock();
try {
this.f13979d = 1000;
this.f13981f.signal();
} finally {
this.f13976a.unlock();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n public void b() {\n }",
"public abstract void mo70713b();",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"@Override\n\tpublic void b() {\n\n\t}",
"public np a()\r\n/*... | [
"0.71655",
"0.6648464",
"0.65830326",
"0.6510913",
"0.6505194",
"0.6490603",
"0.64902574",
"0.648904",
"0.6482411",
"0.6421281",
"0.6419241",
"0.6412395",
"0.6381937",
"0.637991",
"0.6367403",
"0.6367403",
"0.635312",
"0.63344365",
"0.63042736",
"0.63023925",
"0.62962645",
... | 0.0 | -1 |
/ access modifiers changed from: packageprivate / renamed from: a | public final boolean mo31285a(long j) {
this.f13976a.lock();
try {
int i = C5116c.f14002d;
int i2 = C5116c.f14001c;
mo31283a(i);
if (this.f13981f.await(j, TimeUnit.MILLISECONDS)) {
this.f13979d = 1000;
}
} catch (Interru... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"@Override\n public void func_104112_b() {\n \n }",
"public b... | [
"0.726614",
"0.7028642",
"0.6933734",
"0.6797219",
"0.6743934",
"0.66733205",
"0.6584452",
"0.6570101",
"0.6557708",
"0.6544726",
"0.6517904",
"0.65065676",
"0.64968956",
"0.6494875",
"0.6490343",
"0.64685714",
"0.6464895",
"0.64589024",
"0.6456748",
"0.645063",
"0.64302754",... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.