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 |
|---|---|---|---|---|---|---|
Sets the str profile attrib id. | public void setStrProfileAttribId(String strProfileAttribId) {
this.strProfileAttribId = strProfileAttribId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getStrProfileAttribId() {\r\n\t\treturn strProfileAttribId;\r\n\t}",
"public void setProfileAttribute(String profileAttribute) {\r\r\n\t\tthis._profileAttribute = profileAttribute;\r\r\n\t}",
"public void setProfileId(Integer profileId) {\n _profileId = profileId;\n }",
"public void s... | [
"0.7167569",
"0.61943835",
"0.6161331",
"0.6016512",
"0.5980688",
"0.58442533",
"0.5818295",
"0.5807287",
"0.57524073",
"0.5720107",
"0.5708341",
"0.5669881",
"0.564885",
"0.5630793",
"0.56081384",
"0.56081384",
"0.5582198",
"0.5579384",
"0.5569642",
"0.5568109",
"0.5566197",... | 0.7573261 | 0 |
Gets the str attrib type. | public String getStrAttribType() {
return strAttribType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getType () { return getAttributeOrDefault(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , \"\"); }",
"public void setStrAttribType(String strAttribType) {\r\n\t\tthis.strAttribType = strAttribType;\r\n\t}",
"public final String getTypeAttribute() {\n return getAttributeValue(\"type\");\n }",... | [
"0.75138354",
"0.72954506",
"0.70267016",
"0.6941527",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6876951",
"0.6858517",
"0.6854036",
"0.6848084",
"0.6745185",
... | 0.8711898 | 0 |
Sets the str attrib type. | public void setStrAttribType(String strAttribType) {
this.strAttribType = strAttribType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setType (String type) { n.setAttribute(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , type); }",
"public String getStrAttribType() {\r\n\t\treturn strAttribType;\r\n\t}",
"public void setAttributeType(final String attributeType);",
"void setType(java.lang.String type);",
"public void setType(String... | [
"0.7730597",
"0.7581105",
"0.7446793",
"0.709839",
"0.7006781",
"0.69832236",
"0.6889264",
"0.6812095",
"0.6806772",
"0.68051016",
"0.67330134",
"0.6728345",
"0.6720805",
"0.67201763",
"0.67201763",
"0.67201763",
"0.6706681",
"0.66924846",
"0.6666592",
"0.6647735",
"0.6630337... | 0.8290153 | 0 |
Getter for the name field. | public String getName() {
return name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getName(){\n\n //returns the value of the name field\n return this.name;\n }",
"public String getName() { return name.get(); }",
"public String getName() {\r\n\t\treturn name.get();\r\n\t}",
"public String getName() {\n return name.get();\n }",
"PropertyName getName();",
... | [
"0.8404591",
"0.8180093",
"0.8139232",
"0.81318563",
"0.8063437",
"0.80438507",
"0.80030763",
"0.80014485",
"0.8000715",
"0.79985684",
"0.79748446",
"0.7973473",
"0.7969857",
"0.7969857",
"0.7969857",
"0.7967183",
"0.7958005",
"0.7958005",
"0.79561895",
"0.7943691",
"0.793874... | 0.0 | -1 |
TODO is this method still OK? | @Override
public boolean wasCellEdited(final int row, final int column) {
if(COLUMN_TITLES.get(column).equals(COLUMN_TITLE_THR_SEQUENCE) ||
COLUMN_TITLES.get(column).equals(COLUMN_TITLE_CF) ||
COLUMN_TITLES.get(column).equals(COLUMN_TITLE_SR)) {
return adjustedThr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"public void method_4270() {}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"protected boolean func_70814_o() { return true; }",
"private ste... | [
"0.58068234",
"0.5714903",
"0.55571723",
"0.55412513",
"0.54842126",
"0.5469792",
"0.54611164",
"0.54570127",
"0.54179734",
"0.5411412",
"0.53771156",
"0.5310915",
"0.5270871",
"0.52277786",
"0.52225447",
"0.52225447",
"0.52225447",
"0.52225447",
"0.52225447",
"0.52225447",
"... | 0.0 | -1 |
Create the NotificationChannel, but only on API 26+ because the NotificationChannel class is new and not in the support library | private void createNotificationChannel(Context context) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
CharSequence name = context.getString(R.string.channel_name);
String description = context.getString(R.string.channel_description);
int importance = NotificationMan... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void createNotificationChannel(){\n // Create the NotificationChannel, but only on API 26+ because\n // the NotificationChannel class is new and not in the support library\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O){\n Log.v(\"notification_channel \", \"true\");\n ... | [
"0.8666422",
"0.85721886",
"0.8558765",
"0.85503405",
"0.85198104",
"0.85151505",
"0.85130966",
"0.8512462",
"0.8512462",
"0.8499976",
"0.8489578",
"0.8489578",
"0.8482767",
"0.8479264",
"0.8476509",
"0.84698135",
"0.8444986",
"0.84303325",
"0.84175026",
"0.84150475",
"0.8370... | 0.80122423 | 37 |
Create an explicit intent for an Activity in your app | public void generarNotifiacion(Context context,String tittle,String text,int icon,int notificationId){
Intent intent = new Intent(this.context, context.getClass());
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
PendingIntent pendingIntent = PendingIntent.getAc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void startNewActivity(Intent intent);",
"public static Intent makeIntent(Context context) {\n return new Intent(context, AddEvent.class);\n }",
"private void startNewAcitivity(Intent intent, ActivityOptionsCompat options) {\n ActivityCompat.startActivity(this, intent, options.toBundle());\n }",
... | [
"0.7747001",
"0.715144",
"0.7134224",
"0.7064338",
"0.69926673",
"0.69914174",
"0.6951268",
"0.6821643",
"0.67942613",
"0.6645294",
"0.66328377",
"0.66034716",
"0.6601229",
"0.65746737",
"0.6572076",
"0.65631825",
"0.655799",
"0.6543007",
"0.6534419",
"0.65255964",
"0.6518431... | 0.0 | -1 |
/ xmsoriginalfile: specification/dnc/resourcemanager/Microsoft.DelegatedNetwork/stable/20210315/examples/putDelegatedSubnet.json Sample code: put delegated subnet. | public static void putDelegatedSubnet(com.azure.resourcemanager.delegatednetwork.DelegatedNetworkManager manager) {
manager
.delegatedSubnetServices()
.define("delegated1")
.withRegion("West US")
.withExistingResourceGroup("TestRG")
.withSubnetDetails(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Update withDestinationAddressPrefix(String cidr);",
"@Required\n public String getSubnet() {\n return subnet;\n }",
"@HTTP(\n method = \"PUT\",\n path = \"/apis/config.openshift.io/v1/networks/{name}\",\n hasBody = true\n )\n @Headers({ \n \"Content-Type: application/json\",\n \"A... | [
"0.55015075",
"0.5477879",
"0.52995247",
"0.5139963",
"0.50871545",
"0.50625056",
"0.5050835",
"0.50403726",
"0.5021916",
"0.50163347",
"0.50128484",
"0.49877888",
"0.49579626",
"0.49390242",
"0.4938799",
"0.4938799",
"0.48803526",
"0.487014",
"0.487014",
"0.487014",
"0.48693... | 0.80118734 | 0 |
getter para visualizar a taxa dessa conta | public static double getRendimento() {
return rendimento;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"double getTax();",
"public Double getTax();",
"public double getTaxa() {\n\t\treturn taxa;\n\t}",
"public double getTax(){\n\n return this.tax;\n }",
"@Override\n\tpublic double getTax() {\n\t\treturn 0.04;\n\t}",
"public double getTax() {\r\n\r\n return getSubtotal() * 0.06;\r\n\r\n ... | [
"0.7625568",
"0.7539455",
"0.75153494",
"0.73609024",
"0.73476607",
"0.7297615",
"0.7284693",
"0.71515954",
"0.7132351",
"0.7097249",
"0.7084256",
"0.7039805",
"0.6997172",
"0.6976812",
"0.6969584",
"0.6932786",
"0.69003403",
"0.68882126",
"0.6843487",
"0.6795107",
"0.678534"... | 0.0 | -1 |
SELECT FROM `boletas` WHERE folio = 1 | public int Verificar(Boletas obj) {
com.mysql.jdbc.Connection con = null;
try {
String sql = "SELECT COUNT(folio) FROM boletas WHERE folio = ?";
con = getConection();
ps = con.prepareStatement(sql);
ps.setInt(1, obj.getFolio());
rs = ps.execu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"QuartoConsumo[] busca(Object dadoBusca, String coluna) throws SQLException;",
"public static Cancion selectAllForNombre(String nombre) {\n\t\tCancion result = null;\n\n\t\ttry {\n\t\t\tmanager = Connection.connectToMysql();\n\t\t\tmanager.getTransaction().begin();\n\n\t\t\tString q = \"FROM Cancion WHERE nombre ... | [
"0.6097292",
"0.60542667",
"0.6034096",
"0.58148193",
"0.5746412",
"0.5746101",
"0.5701291",
"0.5647079",
"0.5635147",
"0.5633105",
"0.55674803",
"0.5556322",
"0.5554827",
"0.55480206",
"0.5535467",
"0.55308014",
"0.54666203",
"0.54663295",
"0.5429655",
"0.54293144",
"0.54049... | 0.5320178 | 26 |
/ Construct a new ClientController object | public ClientController(ClientModel clientModel, ClientView clientView) {
this._clientModel = clientModel;
this._clientView = clientView;
this._clientView.addActionListener(new ClientListener());
clientModel.addPropertyChangeListener(ClientModel.INPUT, new ServerListener());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ClientController() {\n }",
"@Override\r\n\tprotected ICardController createController() {\n\t\treturn new ClientCtrl();\r\n\t}",
"private ClientController(){\n\n }",
"private ClientController() {\n }",
"public NewClientController() {\n this.clientParser = NewClientView.getClientParse... | [
"0.8264261",
"0.808263",
"0.80790365",
"0.8074113",
"0.80480117",
"0.70249575",
"0.6859608",
"0.6857111",
"0.6846133",
"0.67022157",
"0.6695461",
"0.666103",
"0.66214037",
"0.66214037",
"0.6553432",
"0.6535743",
"0.6490539",
"0.6487792",
"0.642128",
"0.6420326",
"0.6418433",
... | 0.670563 | 9 |
/ Private method to add the new client to the chat room | private void joinNewClient() {
String clientName = _clientView.getUserName();
if(clientName == null)
return;
_clientModel.connectToServer();
_clientModel.joinChat(clientName);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void addclient(Client client) {\n\t\t\r\n\t}",
"@Override\n\tpublic void addClient(Client c, String msg) throws RemoteException {\n\t\tif(!users.contains(c)){\n\t\t\tusers.add(c);\n\t\t\tfor(int i=0;i<users.size();i++) {\t \n\t //sendMessage((Client)users.get(i),msg);\n\t\t\t\tS... | [
"0.738162",
"0.7261603",
"0.7138451",
"0.70766455",
"0.69024724",
"0.6870057",
"0.68699354",
"0.6846732",
"0.67847323",
"0.6733101",
"0.6723142",
"0.671725",
"0.66989565",
"0.66648215",
"0.65507",
"0.6502299",
"0.6498418",
"0.646519",
"0.645642",
"0.6447224",
"0.64436287",
... | 0.7252596 | 2 |
Constructor Takes and keeps a reference of the passed context in order to access to the application assets and resources. | public DatabaseHelper (Context context) {
super(context, DB_NAME, null, DATABASE_VERSION);
this.myContext = context;
TABLE_TERMS = context.getString(R.string.TABLE_TERMS);
TABLE_FAVOURITES = context.getString(R.string.TABLE_FAVOURITES);
TABLE_RECENTS = context.getString(R.string... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MediaWSDemoApplication(BundleContext context) {\n\t\ttheContext = context ;\n\t}",
"public static synchronized void initialize(Context context) {\n instance.context = context;\n initInternal();\n }",
"public void initializeContext(Context context) {\n this.context = context;\n }",
"public S... | [
"0.6980281",
"0.6742619",
"0.6682147",
"0.6643508",
"0.6637402",
"0.6636378",
"0.6634277",
"0.6581803",
"0.64269006",
"0.642009",
"0.6413867",
"0.63740504",
"0.63513565",
"0.63258564",
"0.6321806",
"0.63135266",
"0.6307454",
"0.6285153",
"0.62829727",
"0.62792027",
"0.625673"... | 0.0 | -1 |
Load all terms from CSV Source: | public void loadTermsFromCSV(String table, String dictionary) {
// Get csv file
String[] dictionaryList = myContext.getResources().getStringArray(R.array.dictionary_names);
String[] csvList = myContext.getResources().getStringArray(R.array.dictionary_csv);
int index = Arrays.asList(dicti... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loadListFromCsv() {\n List<Publication> list = new ArrayList<>();\n String line;\n try(BufferedReader bufferedReader = new BufferedReader(new FileReader(\"saves/data.csv\"))){\n while ((line = bufferedReader.readLine()) != null){\n String[] attributes = li... | [
"0.6527803",
"0.6258044",
"0.62218773",
"0.6196276",
"0.6166802",
"0.59967315",
"0.59696",
"0.59635013",
"0.5849386",
"0.5827666",
"0.58167005",
"0.5765708",
"0.57471514",
"0.57217145",
"0.5715835",
"0.5668474",
"0.5666241",
"0.5654377",
"0.5642887",
"0.5637332",
"0.56074715"... | 0.66737837 | 0 |
Check if a table is empty | public boolean checkEmptyTable(String table) {
// Select query
String selectQuery = "SELECT count(*) FROM " + table;
SQLiteDatabase db = this.getReadableDatabase();
Cursor cursor = db.rawQuery(selectQuery, null);
if (cursor != null) { cursor.moveToFirst(); }
int countR... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isEmptyTable() {\r\n return emptyTable;\r\n }",
"public synchronized boolean fempty() {\n return table.isEmpty( ); // return if table is empty\n }",
"@Override\n\tpublic boolean isEmpty() {\n\t\tif (entityType2tableName.isEmpty())\n\t\t\treturn true;\n\t\t\n\t\t// the hard wa... | [
"0.8277062",
"0.81569284",
"0.79806066",
"0.7719546",
"0.7700122",
"0.74835086",
"0.7480862",
"0.73043126",
"0.71980715",
"0.7191906",
"0.7145191",
"0.6934444",
"0.6931946",
"0.69028956",
"0.686809",
"0.68257755",
"0.6808576",
"0.6806245",
"0.67638266",
"0.66402125",
"0.66238... | 0.8131475 | 2 |
Adding new term (only used for table terms) | public void addTerm(Term term, String table) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues values = new ContentValues();
values.put(KEY_DICTIONARY, term.getDictionary());
values.put(KEY_TERM, term.getTerm());
values.put(KEY_SUBJECT, term.getSubject());
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addTerm(Term newTerm)\r\n\t{\r\n\t\tArrayList<Term> terms = new ArrayList<Term>(Arrays.asList(this.terms));\r\n\t\tif(!terms.contains(newTerm))\r\n\t\t{\r\n\t\t\tterms.add(newTerm);\r\n\t\t\tthis.terms = terms.toArray(new Term[0]);\r\n\t\t}\r\n\t}",
"public void addTermWithId(Term term, String table)... | [
"0.78243154",
"0.7242903",
"0.72185564",
"0.7005934",
"0.6960779",
"0.69506997",
"0.6920054",
"0.6860457",
"0.67702335",
"0.6755402",
"0.66412073",
"0.6569565",
"0.65239",
"0.6502914",
"0.6496393",
"0.6401183",
"0.6393432",
"0.622711",
"0.6225053",
"0.6164485",
"0.61583525",
... | 0.74027795 | 1 |
Add new term with id (only used for tables favourites and recents) | public void addTermWithId(Term term, String table) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues values = new ContentValues();
values.put(KEY_ID, term.getId());
values.put(KEY_DICTIONARY, term.getDictionary());
values.put(KEY_TERM, term.getTerm());
valu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addTerm(Term term, String table) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_DICTIONARY, term.getDictionary());\n values.put(KEY_TERM, term.getTerm());\n values.put(KEY_SUBJECT, term.getSubject()... | [
"0.71525687",
"0.6687707",
"0.6672664",
"0.6622095",
"0.6544918",
"0.6538519",
"0.65381575",
"0.64432865",
"0.61599106",
"0.61542284",
"0.6068271",
"0.604297",
"0.5986767",
"0.598134",
"0.59423846",
"0.591998",
"0.59085846",
"0.58504915",
"0.58299255",
"0.5811663",
"0.5810393... | 0.789468 | 0 |
Add a term to the table favourites and update the favourited flag in the table terms | public void addTermToFavourites(Term term) {
// Set the favourited status of the term
term.setFavourited(1);
// Add the term to the table favourites
addTermWithId(term, TABLE_FAVOURITES);
// Update the favourite status of the term in the table terms
updateTermFavouritedFl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int updateTermFavouritedFlag (Term term, String table) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_FAVOURITED, term.getFavourited());\n\n // updating row\n return db.update(table, values, KEY_ID + \" ... | [
"0.77745014",
"0.68537045",
"0.6772409",
"0.6732557",
"0.66941804",
"0.64775294",
"0.6339109",
"0.62621516",
"0.6239477",
"0.61910427",
"0.6174543",
"0.611754",
"0.6055477",
"0.60364705",
"0.60291487",
"0.5933372",
"0.58855355",
"0.5883794",
"0.57954663",
"0.5769234",
"0.5768... | 0.859012 | 0 |
Update the favourited flag of a term | public int updateTermFavouritedFlag (Term term, String table) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues values = new ContentValues();
values.put(KEY_FAVOURITED, term.getFavourited());
// updating row
return db.update(table, values, KEY_ID + " = ?", new Str... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addTermToFavourites(Term term) {\n // Set the favourited status of the term\n term.setFavourited(1);\n // Add the term to the table favourites\n addTermWithId(term, TABLE_FAVOURITES);\n // Update the favourite status of the term in the table terms\n updateTermF... | [
"0.724192",
"0.635853",
"0.603539",
"0.5978605",
"0.5903906",
"0.5855817",
"0.58295226",
"0.582123",
"0.58067435",
"0.5765028",
"0.5749817",
"0.57420594",
"0.57303405",
"0.5703369",
"0.57013816",
"0.56709814",
"0.5666971",
"0.56620544",
"0.56517756",
"0.55817103",
"0.5571503"... | 0.7776838 | 0 |
Find a term and return a cursor | public Cursor findTermCursor (String table, String constraint) {
// Select All Query
// Source: http://stackoverflow.com/questions/5186310/android-nearest-match-query-from-sqlite-db-if-input-string-value-is-bigger-tha
String selectQuery = "SELECT " + KEY_ID + " FROM " + table
+ "... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getId(String term) {\n\n int id = 99999;\n String query = \"SELECT * FROM \" + TABLE_NAME + \" WHERE name LIKE '\" + term + \"'\";\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(query, null);\n\n if (cursor.moveToFirst()) {\n ... | [
"0.599399",
"0.5870193",
"0.5843857",
"0.578009",
"0.5739574",
"0.5718944",
"0.56995165",
"0.56949884",
"0.56814355",
"0.5677419",
"0.5666791",
"0.56303656",
"0.5591731",
"0.5572913",
"0.5556969",
"0.5556205",
"0.5552378",
"0.5538341",
"0.5537275",
"0.55117583",
"0.54859173",... | 0.6654423 | 0 |
Get single random term | public Term getRandomTerm (String table) {
// Select Query
String selectQuery = "SELECT * FROM " + table + " WHERE " + KEY_TERM + " NOT NULL AND " +
"LENGTH(" + KEY_TERM + ") <= 16 " + "ORDER BY RANDOM() LIMIT 1";
SQLiteDatabase db = this.getReadableDatabase();
Cursor c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getRandom() {\n\t return word.get(new Random().nextInt(word.size()));}",
"public String getRandomWord() {\r\n Random rand = new Random();\r\n return possibleWords[rand.nextInt(possibleWords.length)]; // Word from a random index\r\n }",
"String selectRandomSecretWord();",
... | [
"0.6956764",
"0.67195064",
"0.6334642",
"0.6320143",
"0.6278951",
"0.6263384",
"0.6253282",
"0.6238216",
"0.6165636",
"0.61535317",
"0.6143661",
"0.6122741",
"0.6090712",
"0.60878754",
"0.60837656",
"0.6037655",
"0.59344864",
"0.5910983",
"0.5907702",
"0.5903995",
"0.5882092"... | 0.706988 | 0 |
Get all terms by dictionary | public List<Term> getAllTermsByDictionary(String table, String dictionary) {
List<Term> termList = new ArrayList<Term>();
// Select All Query
String selectQuery = "SELECT * FROM " + table + " WHERE " + KEY_DICTIONARY + " = '" + dictionary + "' ORDER BY " + KEY_TERM;
SQLiteDatabase db ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract Set<String> getTerms(Document doc);",
"public Collection<Term> getAll() {\n\t\treturn terms.values();\n\t}",
"public Term[] getTerms() { return terms; }",
"public List<RIOntoTerm> getRIontoTermsForKeyWord (String keyWord) throws PreferencesException;",
"public List<TermListItem> getAllTermL... | [
"0.6945963",
"0.6835621",
"0.6390243",
"0.6374559",
"0.6315025",
"0.62462205",
"0.60735315",
"0.60665303",
"0.6036165",
"0.601966",
"0.6014037",
"0.6001362",
"0.5963773",
"0.5910478",
"0.58889365",
"0.5854257",
"0.5820021",
"0.5778886",
"0.5761808",
"0.56625205",
"0.5648389",... | 0.6799082 | 2 |
Get all terms list items | public List<TermListItem> getAllTermListItems(String table) {
List<TermListItem> termListItems = new ArrayList<TermListItem>();
// Select All Query
String selectQuery = "SELECT " + KEY_ID + ", " + KEY_TERM + " FROM " + table + " ORDER BY " + KEY_TERM;
SQLiteDatabase db = this.getWritab... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Collection<Term> getAll() {\n\t\treturn terms.values();\n\t}",
"public abstract Set<String> getTerms(Document doc);",
"public List<Term> getAllTerms() {\n\t\tsession.beginTransaction();\n\t\tList<Term> lis = session.createQuery(\"from Term\").list();\n\n\t\tfor (Term tm : lis) {\n\t\t\tSystem.out.printl... | [
"0.7829754",
"0.75064856",
"0.7438613",
"0.72964877",
"0.72224605",
"0.7216378",
"0.70781595",
"0.69499326",
"0.6902576",
"0.6757816",
"0.6599294",
"0.6544807",
"0.6362558",
"0.6327437",
"0.6223596",
"0.6152277",
"0.6104104",
"0.6052393",
"0.60499793",
"0.6043817",
"0.6041344... | 0.6673967 | 10 |
Get all term list items by dictionary | public List<TermListItem> getAllTermListItemsByDictionary(String table, String dictionary) {
List<TermListItem> termListItems = new ArrayList<TermListItem>();
// Select All Query
String selectQuery = "SELECT " + KEY_ID + ", " + KEY_TERM + " FROM " + table + " WHERE " + KEY_DICTIONARY + " = '" +... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Collection<Term> getAll() {\n\t\treturn terms.values();\n\t}",
"public List<Term> getAllTermsByDictionary(String table, String dictionary) {\n List<Term> termList = new ArrayList<Term>();\n\n // Select All Query\n String selectQuery = \"SELECT * FROM \" + table + \" WHERE \" + KEY_DI... | [
"0.65837014",
"0.6528237",
"0.643077",
"0.640595",
"0.6186057",
"0.6168949",
"0.61687016",
"0.60872453",
"0.60599786",
"0.60574025",
"0.5950236",
"0.5922893",
"0.5915658",
"0.5903712",
"0.58468974",
"0.5828426",
"0.5818889",
"0.57171",
"0.5682406",
"0.5638295",
"0.5600059",
... | 0.70336735 | 0 |
Get all terms cursor | public Cursor getAllTermListItemsCursor(String table) {
// Select All Query
String selectQuery = "SELECT " + KEY_ID + ", " + KEY_TERM + " FROM " + table + " ORDER BY " + KEY_TERM;
SQLiteDatabase db = this.getWritableDatabase();
Cursor cursor = db.rawQuery(selectQuery, null);
//... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Cursor getAllTermsCursor(String table) {\n // Select All Query\n String selectQuery = \"SELECT * FROM \" + table + \" ORDER BY \" + KEY_TERM;\n\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(selectQuery, null);\n\n // return the cursor\n ... | [
"0.7347419",
"0.71756464",
"0.6844652",
"0.6799999",
"0.6799697",
"0.66700834",
"0.666764",
"0.6502252",
"0.64348453",
"0.62331533",
"0.6172067",
"0.61357224",
"0.61117744",
"0.6064432",
"0.59621656",
"0.59230405",
"0.58641416",
"0.58299106",
"0.580635",
"0.579587",
"0.578311... | 0.69284964 | 2 |
Get all terms list items cursor with a filter | public Cursor getAllTermListItemsCursorWithFilter(String table, String constraint) {
// Select All Query
// Source: http://stackoverflow.com/questions/5186310/android-nearest-match-query-from-sqlite-db-if-input-string-value-is-bigger-tha
String selectQuery = "SELECT " + KEY_ID + ", " + KEY_TERM ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<TermListItem> getAllTermListItemsWithFilter(String table, String constraint) {\n List<TermListItem> termListItems = new ArrayList<TermListItem>();\n\n // Select All Query\n // Source: http://stackoverflow.com/questions/5186310/android-nearest-match-query-from-sqlite-db-if-input-str... | [
"0.6800785",
"0.66735744",
"0.6456659",
"0.6290035",
"0.6149394",
"0.6099556",
"0.60925484",
"0.60371697",
"0.60141516",
"0.5912177",
"0.58408785",
"0.58037716",
"0.5802464",
"0.5794746",
"0.57788086",
"0.57490927",
"0.5690254",
"0.5676045",
"0.5657634",
"0.56246597",
"0.5623... | 0.6625128 | 2 |
Get all terms list items with a filter | public List<TermListItem> getAllTermListItemsWithFilter(String table, String constraint) {
List<TermListItem> termListItems = new ArrayList<TermListItem>();
// Select All Query
// Source: http://stackoverflow.com/questions/5186310/android-nearest-match-query-from-sqlite-db-if-input-string-value... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Set<String> getFilterTerms() {\n\t\tSet<String> filterTerms = new HashSet<String>();\n\t\tfor(String filters : sessionBean.getFilters()) {\n\t\t\t// split by 0 or more spaces, followed by either 'and','or', comma or more spaces\n\t\t\tString[] filterTermsArray = filters.split(\"\\\\s*(and|or|,)\\\\s*\");\n\... | [
"0.69004595",
"0.6554578",
"0.6418306",
"0.6163034",
"0.6108537",
"0.60664266",
"0.60620934",
"0.5989417",
"0.59704936",
"0.5951024",
"0.59453976",
"0.59420496",
"0.5937546",
"0.5907131",
"0.587828",
"0.5850369",
"0.58438003",
"0.58095133",
"0.58002436",
"0.5797748",
"0.57966... | 0.6470266 | 2 |
Get all terms cursor | public Cursor getAllTermsCursor(String table) {
// Select All Query
String selectQuery = "SELECT * FROM " + table + " ORDER BY " + KEY_TERM;
SQLiteDatabase db = this.getWritableDatabase();
Cursor cursor = db.rawQuery(selectQuery, null);
// return the cursor
return curs... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ArrayList<Term> getTerms() {\n ArrayList<Term> terms = new ArrayList<>();\n String[] columns = {\"id\", \"name\", \"start_date\", \"end_date\"};\n Cursor cursor = db.query(\"term\", columns, null, null, null, null, null);\n while (cursor.moveToNext()) {\n Term term = new Term... | [
"0.71756464",
"0.69284964",
"0.6844652",
"0.6799999",
"0.6799697",
"0.66700834",
"0.666764",
"0.6502252",
"0.64348453",
"0.62331533",
"0.6172067",
"0.61357224",
"0.61117744",
"0.6064432",
"0.59621656",
"0.59230405",
"0.58641416",
"0.58299106",
"0.580635",
"0.579587",
"0.57831... | 0.7347419 | 0 |
Get all terms by dictionary cursor | public Cursor getAllTermListItemsByDictionaryCursor(String table, String dictionary) {
// Select All Query
String selectQuery = "SELECT " + KEY_ID + ", " + KEY_TERM + " FROM " + table + " WHERE " + KEY_DICTIONARY + " = '" + dictionary + "' ORDER BY " + KEY_TERM;
SQLiteDatabase db = this.getWrit... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Term> getAllTermsByDictionary(String table, String dictionary) {\n List<Term> termList = new ArrayList<Term>();\n\n // Select All Query\n String selectQuery = \"SELECT * FROM \" + table + \" WHERE \" + KEY_DICTIONARY + \" = '\" + dictionary + \"' ORDER BY \" + KEY_TERM;\n\n ... | [
"0.69925064",
"0.69805",
"0.66734064",
"0.655463",
"0.6508212",
"0.6462569",
"0.6259477",
"0.6251492",
"0.61973304",
"0.6116997",
"0.601311",
"0.5954532",
"0.5952824",
"0.59471184",
"0.59238017",
"0.5884719",
"0.5756538",
"0.5737281",
"0.5733449",
"0.5723588",
"0.5708927",
... | 0.71061844 | 0 |
Delete single term from favourites | public void deleteTermFromFavourites(int id) {
// Get the term
Term term = getTerm(id, TABLE_FAVOURITES);
// Set the favourited status of the term
term.setFavourited(0);
// Update the favourite status of the term in the table terms
updateTermFavouritedFlag(term, TABLE_TER... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void deleteFav() {\n\n // Call the ContentResolver to delete the favourite at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentFavUri\n // content URI already identifies the fav that we want.\n int rowsDeleted = getContentResolver... | [
"0.70831597",
"0.68153846",
"0.6482059",
"0.64225227",
"0.6366474",
"0.6306242",
"0.627491",
"0.62520957",
"0.6246455",
"0.62249416",
"0.6219425",
"0.62062454",
"0.62048155",
"0.61989266",
"0.6159828",
"0.6133114",
"0.6073222",
"0.6011685",
"0.5993848",
"0.5988008",
"0.597390... | 0.7778986 | 0 |
CHeck if user dictionary is installed | public boolean isUserDictionaryInstalled(String dictionary) {
List<String> userDictionaries = getAllUserDictionaries();
return userDictionaries.contains(dictionary);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isInstalled();",
"public boolean existInItinerary() {\n\t\t\n\t\tlong position = mPref.getLong(\"KEY_DATA_POSITION\", 0);\n\t\t\n\t\tif (mPref.contains(\"USER_DATA_\" + position)) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean isNotFirstInstallation(){\n r... | [
"0.668883",
"0.603964",
"0.60043204",
"0.5952345",
"0.59385645",
"0.59006274",
"0.5832292",
"0.5829387",
"0.56762546",
"0.5616173",
"0.56133455",
"0.5593001",
"0.5572958",
"0.55522496",
"0.55522496",
"0.55410355",
"0.55086297",
"0.5496714",
"0.54786783",
"0.543625",
"0.543261... | 0.7782638 | 0 |
Adding new user dictionary | public void addUserDictionary(String dictionary) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues values = new ContentValues();
values.put(KEY_DICTIONARY, dictionary);
// Inserting Row
db.insert(TABLE_USER_DICTIONARIES, null, values);
db.close(); // Closi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void addNewUser(User user) {\n\t\tusersHashtable.put(user.getAccount(),user);\n\t}",
"public void addUser(String u, String p) {\n \t//users.put(\"admin\",\"12345\");\n users.put(u, p);\n }",
"void addUserInfo(String user, String password) {\r\n if (!userInfo.containsKey(... | [
"0.68380934",
"0.67933065",
"0.67077565",
"0.6625036",
"0.6625036",
"0.6533506",
"0.6521558",
"0.64889324",
"0.64884657",
"0.64189017",
"0.6380546",
"0.6370346",
"0.63125783",
"0.62870526",
"0.62774307",
"0.62725955",
"0.6265504",
"0.62415475",
"0.62394565",
"0.6223539",
"0.6... | 0.73127747 | 0 |
Get all user dictionaries | public List<String> getAllUserDictionaries() {
List<String> userDictionariesList = new ArrayList<String>();
String dictionary;
// Select All Query
String selectQuery = "SELECT * FROM " + TABLE_USER_DICTIONARIES + " ORDER BY " + KEY_DICTIONARY;
SQLiteDatabase db = this.getWrita... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic List<Map<String, Object>> findAllUser() {\n\t\treturn userMapper.findAllUser();\r\n\t}",
"public List<Map<String, Object>> getAllUsers() {\n Result<Record2<Long, String>> result = getDbContext().select(USER.USER_ID, USER.USER_NAME).from(USER).fetch();\n return result.intoMaps();\n... | [
"0.76551944",
"0.76309353",
"0.74681115",
"0.7372491",
"0.72881633",
"0.7212956",
"0.71451783",
"0.7144002",
"0.70552284",
"0.6960562",
"0.6867605",
"0.68231434",
"0.67789984",
"0.67650807",
"0.674891",
"0.6733353",
"0.67124605",
"0.66908574",
"0.66382766",
"0.6617476",
"0.66... | 0.7167842 | 6 |
Delete single user dictionary | public void deleteUserDictionary(String dictionary) {
SQLiteDatabase db = this.getWritableDatabase();
db.delete(TABLE_TERMS, KEY_DICTIONARY + " = ?",
new String[] { dictionary });
db.delete(TABLE_FAVOURITES, KEY_DICTIONARY + " = ?",
new String[] { dictionary });
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void delete(User user);",
"void delete(User user);",
"@Override\n\tpublic void deleteUser(user theUser) {\n\t\t\n\t}",
"public static void deleteUser() {\n REGISTRATIONS.clear();\n ALL_EVENTS.clear();\n MainActivity.getPreferences().edit()\n .putString(FACEBOOK_ID.get(... | [
"0.7170793",
"0.7170793",
"0.70787615",
"0.70541674",
"0.7000012",
"0.69559306",
"0.69499475",
"0.6947132",
"0.6943114",
"0.69409245",
"0.69080275",
"0.6907799",
"0.6905798",
"0.68879545",
"0.6871987",
"0.6868694",
"0.68632275",
"0.6848934",
"0.6843522",
"0.68404114",
"0.6799... | 0.75773746 | 0 |
/ Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation | @Override
public boolean equalsRemote(IPolylineDelegate iPolylineDelegate) throws RemoteException {
boolean bl2 = false;
Parcel parcel = Parcel.obtain();
Parcel parcel2 = Parcel.obtain();
try {
parcel.writeInterfaceToken("co... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void updateEliminations() {\n\n }",
"private PerfectMergeSort() {}",
"@Test\r\n @Override\r\n @ConditionalIgnore(condition = IgnoreTreeDeferredIssue.class)\r\n public void testSortedAddDiscontinous() {\r\n super.testSortedAddDiscontinous();\r\n }",
"private void opt... | [
"0.55357516",
"0.54847836",
"0.54518634",
"0.54286635",
"0.5360879",
"0.53091925",
"0.5284715",
"0.52695996",
"0.5230102",
"0.51923716",
"0.5191439",
"0.5188387",
"0.5168468",
"0.5143426",
"0.5143426",
"0.5109729",
"0.5067646",
"0.5067495",
"0.50652677",
"0.50624096",
"0.5047... | 0.0 | -1 |
c Created by raheel on 5/18/16. | public interface AppScheduler {
Scheduler getNewThread();
Scheduler getMainThread();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void cajas() {\n\t\t\n\t}",
"private void kk12() {\n\n\t}",
"public void mo12628c() {\n }",
"public final void mo51373a() {\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public void gored() {\n\t\t\n\t}",
"public void mo38117a() {\n }",
"p... | [
"0.6263225",
"0.5994328",
"0.59395415",
"0.58956045",
"0.58900297",
"0.5865909",
"0.58648825",
"0.58368677",
"0.58309835",
"0.5830741",
"0.58094954",
"0.58094954",
"0.57830304",
"0.5780381",
"0.57803583",
"0.5767039",
"0.5733893",
"0.57127637",
"0.56938356",
"0.5683178",
"0.5... | 0.0 | -1 |
Constructor to generate new Control view based on a SimulationController object | public ControlView (SimulationController sc){
myProperties = ResourceBundle.getBundle("english");
myStartBoolean = false;
mySimulationController = sc;
myRoot = new HBox();
myPropertiesList = sc.getMyPropertiesList();
setView();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public SimulationView() {\n initComponents();\n }",
"public ViewClass() {\n\t\tcreateGUI();\n\t\taddComponentsToFrame();\n\t\taddActionListeners();\n\t}",
"public Controller(ViewIF view) {\n\t\tthis.view = view;\n\t\tthis.dao = new DAO();\n\t\tthis.stats = new Statistics(this.dao);\n\t\tthis.gameStar... | [
"0.7132687",
"0.66191083",
"0.6561613",
"0.65319335",
"0.6511343",
"0.6501619",
"0.6493793",
"0.64752984",
"0.6464781",
"0.6447658",
"0.6439723",
"0.64111835",
"0.63679314",
"0.6321717",
"0.6319011",
"0.62647974",
"0.6245598",
"0.6240206",
"0.6212328",
"0.6204762",
"0.6196379... | 0.78639114 | 0 |
Function to return root of the Control View | public HBox getMyRoot(){
return myRoot;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public View getRootView(){\n return this.rootView;\n }",
"public abstract int getRootView();",
"public View getRootView() {\n return mRootView;\n }",
"public Pane getRoot() {\n \treturn _root;\n }",
"protected abstract Widget getRootWidget();",
"public View getRootView() {\n ... | [
"0.7862225",
"0.77922255",
"0.7635152",
"0.75484824",
"0.72474396",
"0.71155024",
"0.7088739",
"0.69870275",
"0.6972428",
"0.6931066",
"0.6856046",
"0.6851367",
"0.68385977",
"0.68385977",
"0.68381983",
"0.6783633",
"0.67752963",
"0.66679955",
"0.6616422",
"0.65203035",
"0.65... | 0.6195619 | 39 |
Function to return boolean as to whether or not start has been pressed | public boolean getMyStartBoolean(){
return myStartBoolean;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isStartable () ;",
"boolean hasStart();",
"boolean isStarted();",
"boolean isStarted();",
"public boolean isStart() {\n\t\treturn start;\n\t}",
"boolean hasStartGameRequest();",
"public boolean canStart(){\r\n try {\r\n return start.take();\r\n } catch (Exception... | [
"0.7707033",
"0.7640734",
"0.73773694",
"0.73773694",
"0.7364156",
"0.72789824",
"0.7261982",
"0.7223412",
"0.7216005",
"0.7115482",
"0.70868456",
"0.69911987",
"0.6953826",
"0.69389236",
"0.69263166",
"0.6922192",
"0.68885285",
"0.68867755",
"0.6835554",
"0.67690545",
"0.675... | 0.6375921 | 62 |
Use MakeCityAskHomeReq.newBuilder() to construct. | private MakeCityAskHomeReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"pb4server.MakeCityAskReqOrBuilder getMakeCityAskReqOrBuilder();",
"pb4server.MakeCityAskReq getMakeCityAskReq();",
"pb4server.MoveCityAskReqOrBuilder getMoveCityAskReqOrBuilder();",
"pb4server.HalfWayHomeAskReqOrBuilder getHalfWayHomeAskReqOrBuilder();",
"pb4server.MoveCityAskReq getMoveCityAskReq();",
"... | [
"0.74670345",
"0.6283613",
"0.60712445",
"0.5651822",
"0.5500832",
"0.54349333",
"0.5427266",
"0.54272425",
"0.53960794",
"0.5280035",
"0.5206133",
"0.50402516",
"0.5026679",
"0.49882203",
"0.49604404",
"0.49449837",
"0.4835831",
"0.47951382",
"0.47847405",
"0.47112074",
"0.4... | 0.82860386 | 0 |
int64 playerId = 1; | public long getPlayerId() {
return playerId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getPlayerId();",
"int getPlayerId();",
"int getPlayerId();",
"public int getPlayerId();",
"public byte getPlayerId() {\n return playerId;\n }",
"java.lang.String getPlayerId();",
"long getSteamID();",
"public int getId() {\n return playerId;\n }",
"public long getPlayerId()... | [
"0.8134994",
"0.7794592",
"0.7794592",
"0.7665332",
"0.7068617",
"0.70640403",
"0.6937295",
"0.69355565",
"0.6861908",
"0.6734425",
"0.6622659",
"0.6598899",
"0.65957385",
"0.65128917",
"0.6502422",
"0.6487673",
"0.63539106",
"0.6332608",
"0.6302628",
"0.62826794",
"0.6236487... | 0.70976806 | 4 |
int64 castleId = 2; | public long getCastleId() {
return castleId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getCastleId() {\n return castleId_;\n }",
"long decodeLong();",
"long mo1685a(C2369e c2369e);",
"long getSteamID();",
"long getCodeId();",
"long getCodeId();",
"long getCodeId();",
"public Builder setCastleId(long value) {\n \n castleId_ = value;\n onChanged();\n ... | [
"0.6808456",
"0.62000936",
"0.61560553",
"0.61221117",
"0.6065056",
"0.6065056",
"0.6065056",
"0.6000529",
"0.59374803",
"0.5912227",
"0.589836",
"0.58659005",
"0.5865329",
"0.5846785",
"0.5808454",
"0.5807631",
"0.57806224",
"0.57770514",
"0.5709675",
"0.56909174",
"0.566343... | 0.6981255 | 0 |
int64 worldId = 3; | public long getWorldId() {
return worldId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getWorldid();",
"long getWorldid();",
"long getWorldId();",
"public long getWorldid() {\n return worldid_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public byte getWorldId()\r\n\t{\r\n\t\treturn mWorldId;\r\n\t}",
"public long getWorldid() {\n return worldi... | [
"0.80477726",
"0.80477726",
"0.78493583",
"0.6978214",
"0.6978214",
"0.6909054",
"0.6849238",
"0.6849238",
"0.6826216",
"0.64950186",
"0.64256763",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938"... | 0.70173514 | 3 |
string playerName = 4; | public java.lang.String getPlayerName() {
java.lang.Object ref = playerName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.61988944 | 67 |
string playerName = 4; | public com.google.protobuf.ByteString
getPlayerNameBytes() {
java.lang.Object ref = playerName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playerName_ = b;
retur... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.0 | -1 |
string account = 5; | public java.lang.String getAccount() {
java.lang.Object ref = account_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
account_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.56225383 | 31 |
string account = 5; | public com.google.protobuf.ByteString
getAccountBytes() {
java.lang.Object ref = account_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
account_ = b;
return b;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.5191595 | 82 |
string channelId = 6; | public java.lang.String getChannelId() {
java.lang.Object ref = channelId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
chan... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.67530775",
"0.6748282",
"0.67218375",
"0.66830826",
"0.6622889",
"0.6601989",
"0.65665",
"0.64877313",
"0.64459115",
"0.6445... | 0.68161213 | 11 |
string channelId = 6; | public com.google.protobuf.ByteString
getChannelIdBytes() {
java.lang.Object ref = channelId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channelId_ = b;
return b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.68161213",
"0.67530775",
"0.6748282",
"0.67218375",
"0.66830826",
"0.6622889",
"0.6601989",
"0.65665",
"0.64877313",
"0.6445... | 0.5948454 | 53 |
int32 accOpId = 7; | public int getAccOpId() {
return accOpId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getAccOpId() {\n return accOpId_;\n }",
"int getHjOpId();",
"long getApikeyOpId();",
"int getOperationValue();",
"public Builder setAccOpId(int value) {\n \n accOpId_ = value;\n onChanged();\n return this;\n }",
"public Long getOpId() {\n return opId;\n ... | [
"0.73798776",
"0.64246756",
"0.62341785",
"0.6153535",
"0.60453695",
"0.56944394",
"0.56944394",
"0.56944394",
"0.56944394",
"0.5687474",
"0.56397754",
"0.5635486",
"0.5572003",
"0.5567567",
"0.5512121",
"0.5492205",
"0.5492205",
"0.5492205",
"0.54864293",
"0.54768085",
"0.54... | 0.75703216 | 0 |
int32 areaNo = 8; | public int getAreaNo() {
return areaNo_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final int getArea()\n\t{\n\t\treturn address >>> 12;\n\t}",
"public int getAreaNo() {\n return areaNo_;\n }",
"public int getArea()\n {\n return area;\n }",
"public void setCodigoArea(int p) { this.codigoArea = p; }",
"public void setCodigoArea(int p) { this.codigoArea = p; }",
... | [
"0.67428845",
"0.6495831",
"0.62999296",
"0.6287935",
"0.6287935",
"0.6275035",
"0.6270482",
"0.61211544",
"0.6103234",
"0.60504115",
"0.59595495",
"0.5944982",
"0.5933555",
"0.5925646",
"0.5925646",
"0.59073514",
"0.589469",
"0.58680016",
"0.58644783",
"0.58530116",
"0.58401... | 0.6668759 | 1 |
int64 playerId = 1; | public long getPlayerId() {
return playerId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getPlayerId();",
"int getPlayerId();",
"int getPlayerId();",
"public int getPlayerId();",
"public long getPlayerId() {\n return playerId_;\n }",
"public byte getPlayerId() {\n return playerId;\n }",
"java.lang.String getPlayerId();",
"long getSteamID();",
"public int getId() {\n ... | [
"0.8134994",
"0.7794592",
"0.7794592",
"0.7665332",
"0.70976806",
"0.7068617",
"0.70640403",
"0.6937295",
"0.69355565",
"0.6734425",
"0.6622659",
"0.6598899",
"0.65957385",
"0.65128917",
"0.6502422",
"0.6487673",
"0.63539106",
"0.6332608",
"0.6302628",
"0.62826794",
"0.623648... | 0.6861908 | 9 |
int64 playerId = 1; | public Builder setPlayerId(long value) {
playerId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getPlayerId();",
"int getPlayerId();",
"int getPlayerId();",
"public int getPlayerId();",
"public long getPlayerId() {\n return playerId_;\n }",
"public byte getPlayerId() {\n return playerId;\n }",
"java.lang.String getPlayerId();",
"long getSteamID();",
"public int getId() {\n ... | [
"0.8134994",
"0.7794592",
"0.7794592",
"0.7665332",
"0.70976806",
"0.7068617",
"0.70640403",
"0.6937295",
"0.69355565",
"0.6861908",
"0.6734425",
"0.6622659",
"0.6598899",
"0.65957385",
"0.65128917",
"0.6502422",
"0.6487673",
"0.63539106",
"0.6332608",
"0.6302628",
"0.6282679... | 0.5841359 | 84 |
int64 playerId = 1; | public Builder clearPlayerId() {
playerId_ = 0L;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getPlayerId();",
"int getPlayerId();",
"int getPlayerId();",
"public int getPlayerId();",
"public long getPlayerId() {\n return playerId_;\n }",
"public byte getPlayerId() {\n return playerId;\n }",
"java.lang.String getPlayerId();",
"long getSteamID();",
"public int getId() {\n ... | [
"0.8134994",
"0.7794592",
"0.7794592",
"0.7665332",
"0.70976806",
"0.7068617",
"0.70640403",
"0.6937295",
"0.69355565",
"0.6861908",
"0.6734425",
"0.6622659",
"0.6598899",
"0.65957385",
"0.65128917",
"0.6502422",
"0.6487673",
"0.63539106",
"0.6332608",
"0.6302628",
"0.6282679... | 0.0 | -1 |
int64 castleId = 2; | public long getCastleId() {
return castleId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getCastleId() {\n return castleId_;\n }",
"long decodeLong();",
"long mo1685a(C2369e c2369e);",
"long getSteamID();",
"long getCodeId();",
"long getCodeId();",
"long getCodeId();",
"public Builder setCastleId(long value) {\n \n castleId_ = value;\n onChanged();\n r... | [
"0.6981255",
"0.62000936",
"0.61560553",
"0.61221117",
"0.6065056",
"0.6065056",
"0.6065056",
"0.6000529",
"0.59374803",
"0.5912227",
"0.589836",
"0.58659005",
"0.5865329",
"0.5846785",
"0.5808454",
"0.5807631",
"0.57806224",
"0.57770514",
"0.5709675",
"0.56909174",
"0.566343... | 0.6808456 | 1 |
int64 castleId = 2; | public Builder setCastleId(long value) {
castleId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getCastleId() {\n return castleId_;\n }",
"public long getCastleId() {\n return castleId_;\n }",
"long decodeLong();",
"long mo1685a(C2369e c2369e);",
"long getSteamID();",
"long getCodeId();",
"long getCodeId();",
"long getCodeId();",
"long getTxid();",
"com.google.protob... | [
"0.6981255",
"0.6808456",
"0.62000936",
"0.61560553",
"0.61221117",
"0.6065056",
"0.6065056",
"0.6065056",
"0.59374803",
"0.5912227",
"0.589836",
"0.58659005",
"0.5865329",
"0.5846785",
"0.5808454",
"0.5807631",
"0.57806224",
"0.57770514",
"0.5709675",
"0.56909174",
"0.566343... | 0.6000529 | 8 |
int64 castleId = 2; | public Builder clearCastleId() {
castleId_ = 0L;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getCastleId() {\n return castleId_;\n }",
"public long getCastleId() {\n return castleId_;\n }",
"long decodeLong();",
"long mo1685a(C2369e c2369e);",
"long getSteamID();",
"long getCodeId();",
"long getCodeId();",
"long getCodeId();",
"public Builder setCastleId(long value)... | [
"0.6981255",
"0.6808456",
"0.62000936",
"0.61560553",
"0.61221117",
"0.6065056",
"0.6065056",
"0.6065056",
"0.6000529",
"0.59374803",
"0.5912227",
"0.589836",
"0.58659005",
"0.5865329",
"0.5846785",
"0.5808454",
"0.5807631",
"0.57806224",
"0.57770514",
"0.5709675",
"0.5690917... | 0.0 | -1 |
int64 worldId = 3; | public long getWorldId() {
return worldId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getWorldid();",
"long getWorldid();",
"long getWorldId();",
"public long getWorldId() {\n return worldId_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public byte getWorldId()\r\n\t{\r\n\t\treturn mWorldId;\r\... | [
"0.80477726",
"0.80477726",
"0.78493583",
"0.70173514",
"0.6978214",
"0.6978214",
"0.6909054",
"0.6849238",
"0.6849238",
"0.64950186",
"0.64256763",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938... | 0.6826216 | 9 |
int64 worldId = 3; | public Builder setWorldId(long value) {
worldId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getWorldid();",
"long getWorldid();",
"long getWorldId();",
"public long getWorldId() {\n return worldId_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public byte getWorldId()\r\n\t{\r\n\t\treturn mWorldId;\r\... | [
"0.80477726",
"0.80477726",
"0.78493583",
"0.70173514",
"0.6978214",
"0.6978214",
"0.6909054",
"0.6849238",
"0.6849238",
"0.6826216",
"0.64950186",
"0.64256763",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938... | 0.5942177 | 76 |
int64 worldId = 3; | public Builder clearWorldId() {
worldId_ = 0L;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getWorldid();",
"long getWorldid();",
"long getWorldId();",
"public long getWorldId() {\n return worldId_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public long getWorldid() {\n return worldid_;\n }",
"public byte getWorldId()\r\n\t{\r\n\t\treturn mWorldId;\r\... | [
"0.80477726",
"0.80477726",
"0.78493583",
"0.70173514",
"0.6978214",
"0.6978214",
"0.6909054",
"0.6849238",
"0.6849238",
"0.6826216",
"0.64950186",
"0.64256763",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938",
"0.6392938... | 0.0 | -1 |
string playerName = 4; | public java.lang.String getPlayerName() {
java.lang.Object ref = playerName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
playerName_ = s;
return s;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.61292475 | 76 |
string playerName = 4; | public com.google.protobuf.ByteString
getPlayerNameBytes() {
java.lang.Object ref = playerName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playerName_ = b;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.0 | -1 |
string playerName = 4; | public Builder setPlayerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
playerName_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.0 | -1 |
string playerName = 4; | public Builder clearPlayerName() {
playerName_ = getDefaultInstance().getPlayerName();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.0 | -1 |
string playerName = 4; | public Builder setPlayerNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
playerName_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String player1GetName(){\n return player1;\n }",
"String getPlayerName();",
"String getNewPlayerName();",
"String player2GetName(){\n return player2;\n }",
"String randomPlayer1GetName(){\n return randomPlayer1;\n }",
"String getPlayer();",
"private String getPlayerName(in... | [
"0.7705774",
"0.7490482",
"0.7340762",
"0.7330857",
"0.7293667",
"0.71975154",
"0.71266174",
"0.7124095",
"0.71097004",
"0.7035907",
"0.7012261",
"0.7010144",
"0.6956305",
"0.69314945",
"0.69218063",
"0.68839985",
"0.68038297",
"0.6789941",
"0.67594457",
"0.67489195",
"0.6730... | 0.0 | -1 |
string account = 5; | public java.lang.String getAccount() {
java.lang.Object ref = account_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
account_ = s;
return s;
} else... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.5571375 | 35 |
string account = 5; | public com.google.protobuf.ByteString
getAccountBytes() {
java.lang.Object ref = account_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
account_ = b;
return b... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.0 | -1 |
string account = 5; | public Builder setAccount(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
account_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.5180983 | 86 |
string account = 5; | public Builder clearAccount() {
account_ = getDefaultInstance().getAccount();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.0 | -1 |
string account = 5; | public Builder setAccountBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
account_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getAccountNumber();",
"java.lang.String getAccount();",
"public String getAccountNo();",
"String getAccountID();",
"String getAccountID();",
"public java.lang.String getAccountNumberString()\r\n\t{\r\n\t\t\r\n\t}",
"public void setAccountId(String s) { accountId = s;}",
"static void ... | [
"0.6617625",
"0.6355595",
"0.634699",
"0.6207759",
"0.6207759",
"0.61917007",
"0.6172555",
"0.6151859",
"0.5976285",
"0.597367",
"0.5920122",
"0.59198636",
"0.588708",
"0.57542306",
"0.57469875",
"0.5720848",
"0.57049704",
"0.56991875",
"0.56991214",
"0.5670692",
"0.56441003"... | 0.0 | -1 |
string channelId = 6; | public java.lang.String getChannelId() {
java.lang.Object ref = channelId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
channelId_ = s;
return s;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.68161213",
"0.67530775",
"0.6748282",
"0.67218375",
"0.6622889",
"0.6601989",
"0.65665",
"0.64877313",
"0.64459115",
"0.6445... | 0.66830826 | 15 |
string channelId = 6; | public com.google.protobuf.ByteString
getChannelIdBytes() {
java.lang.Object ref = channelId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channelId_ = b;
re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.68161213",
"0.67530775",
"0.6748282",
"0.67218375",
"0.66830826",
"0.6622889",
"0.6601989",
"0.65665",
"0.64877313",
"0.6445... | 0.5807822 | 64 |
string channelId = 6; | public Builder setChannelId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
channelId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.68161213",
"0.67530775",
"0.6748282",
"0.67218375",
"0.66830826",
"0.6622889",
"0.6601989",
"0.64877313",
"0.64459115",
"0.6... | 0.65665 | 18 |
string channelId = 6; | public Builder clearChannelId() {
channelId_ = getDefaultInstance().getChannelId();
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.68161213",
"0.67530775",
"0.6748282",
"0.67218375",
"0.66830826",
"0.6622889",
"0.6601989",
"0.65665",
"0.64877313",
"0.6445... | 0.0 | -1 |
string channelId = 6; | public Builder setChannelIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
channelId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getChannelId();",
"public String getChannelId()\n {\n return channelId;\n }",
"public int getChannelId( ) {\r\n return channelId;\r\n }",
"public String getChannelId() {\n return channelId;\n }",
"public Integer getChannelid() {\n return channelid;\n... | [
"0.79470026",
"0.7462387",
"0.7295292",
"0.72175145",
"0.71510446",
"0.70768946",
"0.7043704",
"0.69632345",
"0.6959327",
"0.6937446",
"0.68498194",
"0.68161213",
"0.67530775",
"0.6748282",
"0.67218375",
"0.66830826",
"0.6622889",
"0.6601989",
"0.65665",
"0.64877313",
"0.6445... | 0.0 | -1 |
int32 accOpId = 7; | public int getAccOpId() {
return accOpId_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getAccOpId() {\n return accOpId_;\n }",
"int getHjOpId();",
"long getApikeyOpId();",
"int getOperationValue();",
"public Builder setAccOpId(int value) {\n \n accOpId_ = value;\n onChanged();\n return this;\n }",
"public Long getOpId() {\n return opId;\n }",... | [
"0.75703216",
"0.64246756",
"0.62341785",
"0.6153535",
"0.60453695",
"0.56944394",
"0.56944394",
"0.56944394",
"0.56944394",
"0.5687474",
"0.56397754",
"0.5635486",
"0.5572003",
"0.5567567",
"0.5512121",
"0.5492205",
"0.5492205",
"0.5492205",
"0.54864293",
"0.54768085",
"0.54... | 0.73798776 | 1 |
int32 accOpId = 7; | public Builder setAccOpId(int value) {
accOpId_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getAccOpId() {\n return accOpId_;\n }",
"public int getAccOpId() {\n return accOpId_;\n }",
"int getHjOpId();",
"long getApikeyOpId();",
"int getOperationValue();",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"... | [
"0.75703216",
"0.73798776",
"0.64246756",
"0.62341785",
"0.6153535",
"0.56944394",
"0.56944394",
"0.56944394",
"0.56944394",
"0.5687474",
"0.56397754",
"0.5635486",
"0.5572003",
"0.5567567",
"0.5512121",
"0.5492205",
"0.5492205",
"0.5492205",
"0.54864293",
"0.54768085",
"0.54... | 0.60453695 | 5 |
int32 accOpId = 7; | public Builder clearAccOpId() {
accOpId_ = 0;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getAccOpId() {\n return accOpId_;\n }",
"public int getAccOpId() {\n return accOpId_;\n }",
"int getHjOpId();",
"long getApikeyOpId();",
"int getOperationValue();",
"public Builder setAccOpId(int value) {\n \n accOpId_ = value;\n onChanged();\n return this;\n ... | [
"0.75703216",
"0.73798776",
"0.64246756",
"0.62341785",
"0.6153535",
"0.60453695",
"0.56944394",
"0.56944394",
"0.56944394",
"0.56944394",
"0.5687474",
"0.56397754",
"0.5635486",
"0.5572003",
"0.5567567",
"0.5512121",
"0.5492205",
"0.5492205",
"0.5492205",
"0.54864293",
"0.54... | 0.0 | -1 |
int32 areaNo = 8; | public int getAreaNo() {
return areaNo_;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final int getArea()\n\t{\n\t\treturn address >>> 12;\n\t}",
"public int getAreaNo() {\n return areaNo_;\n }",
"public int getArea()\n {\n return area;\n }",
"public void setCodigoArea(int p) { this.codigoArea = p; }",
"public void setCodigoArea(int p) { this.codigoArea = p; }",
"@... | [
"0.67428845",
"0.6668759",
"0.62999296",
"0.6287935",
"0.6287935",
"0.6275035",
"0.6270482",
"0.61211544",
"0.6103234",
"0.60504115",
"0.59595495",
"0.5944982",
"0.5933555",
"0.5925646",
"0.5925646",
"0.59073514",
"0.589469",
"0.58680016",
"0.58644783",
"0.58530116",
"0.58401... | 0.6495831 | 2 |
int32 areaNo = 8; | public Builder setAreaNo(int value) {
areaNo_ = value;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final int getArea()\n\t{\n\t\treturn address >>> 12;\n\t}",
"public int getAreaNo() {\n return areaNo_;\n }",
"public int getAreaNo() {\n return areaNo_;\n }",
"public int getArea()\n {\n return area;\n }",
"public void setCodigoArea(int p) { this.codigoArea = p; }",
"publ... | [
"0.67428845",
"0.6668759",
"0.6495831",
"0.62999296",
"0.6287935",
"0.6287935",
"0.6275035",
"0.6270482",
"0.61211544",
"0.6103234",
"0.60504115",
"0.59595495",
"0.5944982",
"0.5933555",
"0.5925646",
"0.5925646",
"0.59073514",
"0.589469",
"0.58680016",
"0.58644783",
"0.585301... | 0.54546607 | 67 |
int32 areaNo = 8; | public Builder clearAreaNo() {
areaNo_ = 0;
onChanged();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final int getArea()\n\t{\n\t\treturn address >>> 12;\n\t}",
"public int getAreaNo() {\n return areaNo_;\n }",
"public int getAreaNo() {\n return areaNo_;\n }",
"public int getArea()\n {\n return area;\n }",
"public void setCodigoArea(int p) { this.codigoArea = p; }",
"publ... | [
"0.67428845",
"0.6668759",
"0.6495831",
"0.62999296",
"0.6287935",
"0.6287935",
"0.6275035",
"0.6270482",
"0.61211544",
"0.6103234",
"0.60504115",
"0.59595495",
"0.5944982",
"0.5933555",
"0.5925646",
"0.5925646",
"0.59073514",
"0.589469",
"0.58680016",
"0.58644783",
"0.585301... | 0.0 | -1 |
Returns the given date/time (calendar) as a byte sequence, suitable for sending to the Mi Band 2 (or derivative). The band appears to not handle DST offsets, so we simply add this to the timezone. | public static byte[] getTimeBytes(Calendar calendar, TimeUnit precision) {
byte[] bytes;
if (precision == TimeUnit.MINUTES) {
//bytes = shortCalendarToRawBytes(calendar, true);
bytes = shortCalendarToRawBytes(calendar, false);
} else if (precision == TimeUnit.SECONDS) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static byte[] calendarToRawBytes(Calendar timestamp, boolean honorDeviceTimeOffset) {\n\n // The mi-band device currently records sleep\n // only if it happens after 10pm and before 7am.\n // The offset is used to trick the device to record sleep\n // in non-standard hours.\n ... | [
"0.6233877",
"0.6231338",
"0.6181608",
"0.59168625",
"0.5818265",
"0.5755498",
"0.566131",
"0.56093997",
"0.55969536",
"0.55969536",
"0.5406735",
"0.53921056",
"0.53817976",
"0.5343826",
"0.5338133",
"0.52346987",
"0.5234643",
"0.5220773",
"0.5175365",
"0.51609343",
"0.513244... | 0.5940491 | 3 |
Converts a timestamp to the byte sequence to be sent to the current time characteristic | public static byte[] calendarToRawBytes(Calendar timestamp, boolean honorDeviceTimeOffset) {
// The mi-band device currently records sleep
// only if it happens after 10pm and before 7am.
// The offset is used to trick the device to record sleep
// in non-standard hours.
// If y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static byte[] getExactTime(long timestamp) {\n DATA1++;\n return new String(String.valueOf(DATA1) + \" zac[1]!!!\").getBytes();\n }",
"com.google.protobuf.ByteString\n getTimestampBytes();",
"com.google.protobuf.ByteString\n getTimestampBytes();",
"com.google.protobuf.By... | [
"0.71872747",
"0.689017",
"0.689017",
"0.689017",
"0.6555382",
"0.65465415",
"0.6518184",
"0.6518184",
"0.65154356",
"0.64841306",
"0.6417812",
"0.63993686",
"0.63993686",
"0.6296929",
"0.6243292",
"0.6180648",
"0.6158372",
"0.6158372",
"0.6157343",
"0.6157343",
"0.6142127",
... | 0.6260431 | 14 |
Similar to calendarToRawBytes, but only up to (and including) the MINUTES. | public static byte[] shortCalendarToRawBytes(Calendar timestamp, boolean honorDeviceTimeOffset) {
// The mi-band device currently records sleep
// only if it happens after 10pm and before 7am.
// The offset is used to trick the device to record sleep
// in non-standard hours.
//... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static byte[] calendarToRawBytes(Calendar timestamp, boolean honorDeviceTimeOffset) {\n\n // The mi-band device currently records sleep\n // only if it happens after 10pm and before 7am.\n // The offset is used to trick the device to record sleep\n // in non-standard hours.\n ... | [
"0.5314072",
"0.51197594",
"0.5065946",
"0.5051613",
"0.50458926",
"0.48756644",
"0.47225773",
"0.46862018",
"0.46665078",
"0.46665078",
"0.46665078",
"0.46507487",
"0.46256447",
"0.46256447",
"0.45817545",
"0.45255414",
"0.4523691",
"0.45153072",
"0.4501612",
"0.44986108",
"... | 0.54226583 | 0 |
main method to process multiple requests and span a new thread for a new request | public static void main(String args[]) throws Exception {
// Get the port to listen on
int port = Integer.parseInt(args[0]);
// Create a ServerSocket to listen on that port.
ServerSocket ss = new ServerSocket(port);
System.out.println("Listening");
// Now enter an infinite loop, waiting for & handling conne... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void run() {\n long creationInterval = MILLISEC_PER_SEC / this.generationRate;\n\n int curIndex = 0;\n long startTime, endTime, diff, sleepTime, dur = this.test_duration;\n\n do {\n // startTime = System.nanoTime();\n startTime = System.currentTimeMillis();\n\n Request r = new Dat... | [
"0.7134637",
"0.7102171",
"0.7089999",
"0.6820331",
"0.6736078",
"0.6721321",
"0.66411084",
"0.64992833",
"0.64958185",
"0.6427629",
"0.6364154",
"0.63267946",
"0.6325253",
"0.63013023",
"0.62766767",
"0.62726545",
"0.62438446",
"0.6209317",
"0.6201666",
"0.6186036",
"0.61854... | 0.0 | -1 |
This method run per thread for the client server request handling | public void run() {
try {
// Get input and output streams to talk to the client
BufferedReader in = new BufferedReader(new InputStreamReader(csocket.getInputStream()));
PrintWriter out = new PrintWriter(csocket.getOutputStream());
/*
* read the input lines from client and perform respective action bas... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void run() {\n handleClientRequest();\n }",
"@Override\n\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tList<String> headers = readRequest(client);\n\t\t\t\t\t\t\tif (headers != null && headers.size() >= 1) {\n\t\t\t\t\t\t\t\tString requestURL = getRequestURL(hea... | [
"0.77130944",
"0.7709748",
"0.73224735",
"0.7299408",
"0.72726583",
"0.7106324",
"0.7084939",
"0.70762175",
"0.7059476",
"0.70076364",
"0.7005067",
"0.69774455",
"0.6974133",
"0.6928878",
"0.68808526",
"0.6864905",
"0.68567646",
"0.6855216",
"0.684685",
"0.683525",
"0.682494"... | 0.6828676 | 20 |
Pass the event to ActionBarDrawerToggle, if it returns true, then it has handled the app icon touch event | @Override
public boolean onOptionsItemSelected(MenuItem item) {
if (mDrawerToggle.onOptionsItemSelected(item)) {
return true;
}
// Handle your other action bar items...
switch (item.getItemId()) {
case R.id.add_note:
newNote();
return true;
case R.id.search:
sv.setOnQueryTextListener(new Search... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Pass the event to ActionBarDrawerToggle, if it returns\n // true, then it has handled the app icon touch event\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n\n // Handle ... | [
"0.73662925",
"0.6544404",
"0.64493454",
"0.6343993",
"0.6341852",
"0.631515",
"0.631515",
"0.6290323",
"0.62793446",
"0.6261653",
"0.6261653",
"0.6241942",
"0.6241942",
"0.62197936",
"0.6215462",
"0.6215462",
"0.6215462",
"0.6215462",
"0.6215462",
"0.6215462",
"0.6215462",
... | 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.list_actions, menu);
sv = (SearchView) menu.findItem(R.id.search).getActionView();
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {... | [
"0.7246102",
"0.7201358",
"0.7194834",
"0.7176498",
"0.71066517",
"0.7039537",
"0.7037961",
"0.70112145",
"0.70094734",
"0.69807225",
"0.6944953",
"0.69389373",
"0.6933199",
"0.6916928",
"0.6916928",
"0.6891486",
"0.68831646",
"0.68754137",
"0.68745375",
"0.68621665",
"0.6862... | 0.0 | -1 |
poshidstates := sample using poshidprobs | public Matrix getHidStates(Matrix poshidprobs) {
return poshidprobs.gibsSampling();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void genNeighStateProbability() {\n double[] metrics = new double[STATES.length * STATES.length];\n double sum = 0;\n Random rand = new Random();\n for (int i = 0; i < metrics.length; i++) {\n int x = i / STATES.length;\n int y = i % STATES.length... | [
"0.564052",
"0.55501235",
"0.554452",
"0.54394466",
"0.543604",
"0.5421226",
"0.52685964",
"0.5248213",
"0.5170808",
"0.5162613",
"0.51537263",
"0.5109142",
"0.51049495",
"0.5086765",
"0.5084107",
"0.50655586",
"0.5040881",
"0.5009056",
"0.49691284",
"0.49670756",
"0.49439946... | 0.72293997 | 0 |
hidden unit probabilities given X (use Equation 3) | public Matrix getHidProbs(Matrix X) {
List<List<Double>> hiddenUnitsProbs = X
.getMatrixAsCollection()
.stream()
.map(this::computeAllUnitsProbabilitiesFromHiddenLayer)
.collect(toList());
Matrix hp = new Matrix2D(hiddenUnitsProbs);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private List<Double> computeAllUnitsProbabilitiesFromHiddenLayer(List<Double> sample) {\n return Stream.iterate(0, j -> j = j + 1)\n .limit(cfg.numhid)\n .map(j -> equation3.evaluate(j, sample))\n .collect(toList());\n }",
"private double sigmoidPrime(double... | [
"0.6899467",
"0.6293985",
"0.62198347",
"0.5777664",
"0.56771684",
"0.5670222",
"0.56157017",
"0.5588594",
"0.550173",
"0.5495534",
"0.5475638",
"0.5446884",
"0.54348224",
"0.54329383",
"0.5423446",
"0.54228354",
"0.5400932",
"0.53990436",
"0.53799117",
"0.5337763",
"0.532689... | 0.5842065 | 3 |
iterate on all hidden units and compute each hidden unit probability using equation3 | private List<Double> computeAllUnitsProbabilitiesFromHiddenLayer(List<Double> sample) {
return Stream.iterate(0, j -> j = j + 1)
.limit(cfg.numhid)
.map(j -> equation3.evaluate(j, sample))
.collect(toList());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void calculateProbabilities(){\n\t}",
"public double getObservationProbability(){\r\n double ret=0;\r\n int time=o.length;\r\n int N=hmm.stateCount;\r\n for (int t=0;t<=time;++t){\r\n for (int i=0;i<N;++i){\r\n ret+=fbManipulator.alpha[t][i]*fbManipula... | [
"0.57338345",
"0.5483387",
"0.53793263",
"0.53592956",
"0.53239036",
"0.5320891",
"0.53144366",
"0.5281638",
"0.52768344",
"0.5269008",
"0.52565914",
"0.5236222",
"0.52358896",
"0.52338743",
"0.5226414",
"0.52187854",
"0.52025473",
"0.5184966",
"0.5180133",
"0.5176342",
"0.51... | 0.75087106 | 0 |
default last writer wins, path _ts | @Test(groups = "multi-master", timeOut = TIMEOUT)
public void conflictResolutionPolicyCRUD() {
DocumentCollection collection = new DocumentCollection();
collection.setId(UUID.randomUUID().toString());
collection = getResource(client.createCollection(getDatabaseLink(database), collection, nul... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static PrintWriter erstelleWriterInDatei(File datei)\r\n\t{\r\n\t\tPrintWriter schreiber = null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tschreiber = new PrintWriter(datei);\r\n\t\t} catch (FileNotFoundException e)\r\n\t\t{\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn schreiber;\r\n\t}",
"private static void setLast... | [
"0.5648372",
"0.54593307",
"0.5412408",
"0.540813",
"0.54045117",
"0.53952897",
"0.5349102",
"0.5294607",
"0.52917737",
"0.52739394",
"0.52736235",
"0.52571905",
"0.52557474",
"0.5223688",
"0.51700586",
"0.51595175",
"0.5152942",
"0.5150148",
"0.51303095",
"0.5125876",
"0.512... | 0.0 | -1 |
set up the client | @BeforeClass(groups = {"multi-master"}, timeOut = SETUP_TIMEOUT)
public void beforeClass() {
client = this.clientBuilder().build();
database = createDatabase(client, databaseId);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Before\n\tpublic void setup() {\n\n\t\tclient = ClientBuilder.newClient();\n\n\t}",
"private ClientBootstrap() {\r\n init();\r\n }",
"void startClient(String name, Config.ClientConfig config);",
"private void createClient() {\n tc = new TestClient();\n }",
"public UPKClient() {\n ... | [
"0.7479617",
"0.71200335",
"0.7050086",
"0.69794595",
"0.6913694",
"0.6876192",
"0.68616396",
"0.68394154",
"0.6746244",
"0.66745424",
"0.6672587",
"0.65738994",
"0.6555559",
"0.6532194",
"0.6518901",
"0.65090287",
"0.64706635",
"0.645975",
"0.6458532",
"0.6456983",
"0.643799... | 0.0 | -1 |
do something with connectivity you can call connectivity.getState(); connectivity.getType(); or connectivity.toString(); | @Override public void accept(final Connectivity connectivity) {
if(connectivity.getState().equals(NetworkInfo.State.CONNECTED)){
if(alertInfoDialog != null){
if(alertInfoDialog.isShowing()){
alertInfo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void connecting() {\n\n }",
"public interface OnConnectivityChangedListener {\n void onConnectivityChanged(NetworkMonitor.State state);\n}",
"public void connect() {}",
"private void updateConnectedState() {\n NetworkInfo activeNetworkInfo = this.mConnectivityManager.getActiveNetworkInfo(... | [
"0.6759492",
"0.6713592",
"0.6695562",
"0.6674251",
"0.6647492",
"0.6630991",
"0.6619538",
"0.6578856",
"0.6578856",
"0.6578856",
"0.65768003",
"0.6543635",
"0.6535179",
"0.65259826",
"0.6493949",
"0.64785534",
"0.64606154",
"0.64430386",
"0.6421982",
"0.6413748",
"0.6401663"... | 0.65689754 | 11 |
Create an entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity. | public static Acheteur createEntity(EntityManager em) {
Acheteur acheteur = new Acheteur()
.typeClient(DEFAULT_TYPE_CLIENT)
.nom(DEFAULT_NOM)
.prenom(DEFAULT_PRENOM)
.tel(DEFAULT_TEL)
.cnib(DEFAULT_CNIB)
.email(DEFAULT_EMAIL)
.a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Entity createEntity();",
"T createEntity();",
"protected abstract ENTITY createEntity();",
"void create(E entity);",
"void create(T entity);",
"E create(E entity);",
"E create(E entity);",
"TestEntity buildEntity () {\n TestEntity testEntity = new TestEntity();\n testEntity.setName(\"Te... | [
"0.7723166",
"0.7504988",
"0.74878716",
"0.736129",
"0.7314297",
"0.71558934",
"0.71558934",
"0.71511424",
"0.7150503",
"0.70786893",
"0.701654",
"0.6803336",
"0.6753162",
"0.6739586",
"0.6739586",
"0.67124563",
"0.6680862",
"0.6664647",
"0.664115",
"0.66240543",
"0.6623747",... | 0.60750717 | 64 |
Create an updated entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity. | public static Acheteur createUpdatedEntity(EntityManager em) {
Acheteur acheteur = new Acheteur()
.typeClient(UPDATED_TYPE_CLIENT)
.nom(UPDATED_NOM)
.prenom(UPDATED_PRENOM)
.tel(UPDATED_TEL)
.cnib(UPDATED_CNIB)
.email(UPDATED_EMAIL)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Student createUpdatedEntity(EntityManager em) {\n Student student = new Student()\n .firstName(UPDATED_FIRST_NAME)\n .middleName(UPDATED_MIDDLE_NAME)\n .lastName(UPDATED_LAST_NAME)\n .studentRegNumber(UPDATED_STUDENT_REG_NUMBER)\n .dateOfB... | [
"0.69451517",
"0.6788456",
"0.6788399",
"0.6719122",
"0.66941375",
"0.66920644",
"0.6663383",
"0.6637166",
"0.66222155",
"0.6515608",
"0.6510221",
"0.64486396",
"0.6424878",
"0.64218825",
"0.64217436",
"0.64165294",
"0.6412185",
"0.6411173",
"0.64052176",
"0.6395039",
"0.6391... | 0.62707776 | 33 |
Create the Acheteur with an existing ID | @Test
@Transactional
void createAcheteurWithExistingId() throws Exception {
acheteur.setId(1L);
AcheteurDTO acheteurDTO = acheteurMapper.toDto(acheteur);
int databaseSizeBeforeCreate = acheteurRepository.findAll().size();
// An entity with an existing ID cannot be created, so t... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public org.oep.cmon.dao.dvc.model.ThuTuc2GiayTo create(long id);",
"@Test\n @Transactional\n void createAutorWithExistingId() throws Exception {\n autor.setId(1L);\n AutorDTO autorDTO = autorMapper.toDto(autor);\n\n int databaseSizeBeforeCreate = autorRepository.findAll().size();\n\n ... | [
"0.63304",
"0.62453514",
"0.6184512",
"0.60642457",
"0.6025838",
"0.5971018",
"0.5965131",
"0.58743274",
"0.58592135",
"0.5847189",
"0.5830852",
"0.5820124",
"0.5818887",
"0.580129",
"0.5777753",
"0.5772479",
"0.5753204",
"0.5727272",
"0.57122356",
"0.5694401",
"0.56885993",
... | 0.69467324 | 0 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
TestHttpPost();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
TestDownload();
} | {
"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 SendSMS(getApplicationContext(), savedInstanceState); String print = getStringFromJNI(); | @Override
public void onClick(View arg0) {
JSONObject jsonObject = getJsonObject();
tranformJson(jsonObject.toString());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public native String stringFromJNI(Activity activity, String data);",
"void requestSendSMSCode(Context context,String phone);",
"@Override\n\tpublic void envia(String mensagem) {\n\t\tSystem.out.println(\"Mensagem enviada por SMS\");\n\t\tSystem.out.println(mensagem);\n\t}",
"public native String stringFrom... | [
"0.66221863",
"0.6243229",
"0.60849315",
"0.6041387",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
"0.6026445",
... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.