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
TODO Autogenerated method stub
@Override public void onLoad() { requestTime++; refreshFromServer(ListViewCompat.LOAD); }
{ "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 onRefresh() { requestTime = 1; refreshFromServer(ListViewCompat.REFRESH); }
{ "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
Gets the value of the connectionKey property.
public long getConnectionKey() { return connectionKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getConnectionId() {\n return this.connectionId;\n }", "public String getConnectionId() {\n return connectionId;\n }", "public long getConnectionId() {\n return connectionId;\n }", "public long connectionId()\n {\n return connectionId;\n }", "public j...
[ "0.7238508", "0.71745425", "0.6860504", "0.68040633", "0.6721761", "0.6721761", "0.6721761", "0.66909647", "0.66909647", "0.6653388", "0.6653388", "0.6653388", "0.66106224", "0.66106224", "0.66106224", "0.66023093", "0.6582032", "0.6582032", "0.6582032", "0.65674335", "0.6472...
0.81709325
0
Sets the value of the connectionKey property.
public void setConnectionKey(long value) { this.connectionKey = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setConnectionId(String connectionId) {\n this.connectionId = connectionId;\n }", "public void setConnectionId(String connectionId) throws IOException {\n this.connectionId = connectionId;\n unregisterMBean();\n name = createObjectName();\n registerMBean();\n ...
[ "0.63261974", "0.60586286", "0.60308015", "0.59750617", "0.58826405", "0.58410144", "0.5826456", "0.5822425", "0.5794525", "0.5794356", "0.5793089", "0.5786101", "0.57786304", "0.57786304", "0.57786304", "0.5775966", "0.57443154", "0.5737932", "0.573701", "0.5716236", "0.5716...
0.7256608
0
Gets the value of the destinationPortKey property.
public long getDestinationPortKey() { return destinationPortKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDestinationPortKey(long value) {\n\t\tthis.destinationPortKey = value;\n\t}", "public long getSourcePortKey() {\n\t\treturn sourcePortKey;\n\t}", "public int getDestinationPort() {\n return destinationPort_;\n }", "public int getDestinationPort() {\n return destinationPort_;\n...
[ "0.71144533", "0.7094116", "0.69759387", "0.69586295", "0.6736695", "0.65014946", "0.65014946", "0.6284876", "0.6221925", "0.60942584", "0.6066222", "0.605547", "0.6000261", "0.59512466", "0.59099585", "0.5895931", "0.58476186", "0.5758237", "0.5684609", "0.5660611", "0.56577...
0.8737591
0
Sets the value of the destinationPortKey property.
public void setDestinationPortKey(long value) { this.destinationPortKey = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getDestinationPortKey() {\n\t\treturn destinationPortKey;\n\t}", "public void setSourcePortKey(long value) {\n\t\tthis.sourcePortKey = value;\n\t}", "public Builder setDestinationPort(int value) {\n \n destinationPort_ = value;\n onChanged();\n return this;\n }", ...
[ "0.6947503", "0.59770817", "0.58286077", "0.56451976", "0.54656327", "0.5358221", "0.5291549", "0.5277343", "0.52384394", "0.5169167", "0.50749516", "0.5016902", "0.4996428", "0.48996603", "0.48962632", "0.48629242", "0.48383427", "0.4832516", "0.47621572", "0.4745138", "0.47...
0.7574152
0
Gets the value of the index property.
public int getIndex() { return index; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@JsOverlay\n\tpublic final int getIndex() {\n\t\t// checks if there is the property\n\t\tif (ObjectType.UNDEFINED.equals(JsHelper.get().typeOf(this, \"index\"))) {\n\t\t\treturn Undefined.INTEGER;\n\t\t}\n\t\treturn getNativeIndex();\n\t}", "public int getIndex()\n {\n return getInt(\"Index\");\n }"...
[ "0.863933", "0.836758", "0.83581865", "0.8271238", "0.82652897", "0.82652897", "0.82475793", "0.8201368", "0.8201368", "0.8201368", "0.8201368", "0.8201368", "0.8201368", "0.81896466", "0.81896466", "0.81896466", "0.81896466", "0.81896466", "0.81896466", "0.81571394", "0.8157...
0.80707425
24
Sets the value of the index property.
public void setIndex(int value) { this.index = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIndex(Integer index) {\n this.index = index;\n }", "public void setIndex(Integer index) {\n this.index = index;\n }", "public void setIndex(int index) {\n _index = index;\n }", "public void setIndex(int index){\r\n \tthis.index = index;\r\n }", "public void setI...
[ "0.8695175", "0.8695175", "0.86728626", "0.86379606", "0.8630997", "0.86275536", "0.8530599", "0.85115886", "0.8466952", "0.8413146", "0.8275918", "0.8044893", "0.7835081", "0.77123535", "0.77123535", "0.77123535", "0.77123535", "0.77117187", "0.7696355", "0.76510537", "0.764...
0.82356846
11
Gets the value of the parentKey property.
public long getParentKey() { return parentKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getParentKey() {\n\n return this.parentKey;\n }", "public String getParentId() {\n return getProperty(Property.PARENT_ID);\n }", "public Integer getParentid() {\n\t\treturn parentid;\n\t}", "public void setParentKey(String parentKey) {\n\n this.parentKey = parentKey;\n }...
[ "0.8720514", "0.7476389", "0.7172938", "0.71453303", "0.70557404", "0.70557404", "0.70557404", "0.70557404", "0.70557404", "0.70557404", "0.70557404", "0.70557404", "0.70557404", "0.7001567", "0.7001567", "0.7001567", "0.6976375", "0.6960731", "0.6951871", "0.692166", "0.6910...
0.84957796
1
Sets the value of the parentKey property.
public void setParentKey(long value) { this.parentKey = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setParentKey(String parentKey) {\n\n this.parentKey = parentKey;\n }", "public long getParentKey() {\n\t\treturn parentKey;\n\t}", "public String getParentKey() {\n\n return this.parentKey;\n }", "protected void setParent(CodeItem codeItem) {\n this.parent = codeItem;\n...
[ "0.8619985", "0.71623814", "0.71393543", "0.66947716", "0.66808146", "0.6656627", "0.661026", "0.6609767", "0.65982264", "0.65560186", "0.6520747", "0.6484038", "0.64691573", "0.6417054", "0.6404262", "0.6382556", "0.6363757", "0.63514465", "0.6345729", "0.6342364", "0.634027...
0.7890301
1
Gets the value of the sourcePortKey property.
public long getSourcePortKey() { return sourcePortKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSourcePortKey(long value) {\n\t\tthis.sourcePortKey = value;\n\t}", "public long getDestinationPortKey() {\n\t\treturn destinationPortKey;\n\t}", "public int getSrcPort() {\n\t\tlog.trace(\"Get srcPort, returns [{}]\", srcPort);\n\t\treturn srcPort;\n\t}", "public String getSourcePortFigId() {...
[ "0.7514267", "0.7113136", "0.6856316", "0.67404026", "0.62380475", "0.607852", "0.60282886", "0.6003314", "0.5990782", "0.59782404", "0.59782404", "0.5967878", "0.58115184", "0.5798335", "0.56941533", "0.5682881", "0.56736034", "0.5658174", "0.56385314", "0.5617864", "0.56122...
0.85674095
0
Sets the value of the sourcePortKey property.
public void setSourcePortKey(long value) { this.sourcePortKey = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getSourcePortKey() {\n\t\treturn sourcePortKey;\n\t}", "public void setSrcPort(int srcPort) {\n\t\tlog.trace(\"Set srcPort to [{}]\", srcPort);\n\t\tthis.srcPort = srcPort;\n\t}", "public void setDestinationPortKey(long value) {\n\t\tthis.destinationPortKey = value;\n\t}", "public void setSrcKey(...
[ "0.69358176", "0.6680546", "0.6384505", "0.6193137", "0.6062191", "0.5642457", "0.5568071", "0.5505739", "0.5476741", "0.5476675", "0.5474049", "0.53550184", "0.52828336", "0.5255695", "0.52526766", "0.52418417", "0.52220875", "0.5157833", "0.5153442", "0.51426524", "0.512512...
0.8042491
0
TODO Autogenerated method stub
@Override protected void onPreExecute() { super.onPreExecute(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPostExecute(Boolean result) { super.onPostExecute(result); if (result == true) { loginButton.setEnabled(true); Toast.makeText(LoginActivity.this, R.string.refreshed, Toast.LENGTH_SHORT) .show(); } else { Toast.m...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected Boolean doInBackground(Void... params) { return saveSoforTable(); }
{ "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 finish() { newhelper.close(); super.finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Tabla letrehozo metodus, elso inditaskor mindekepp lefut
private void createTables() { AutoDao.createTable(db, true); AutoKepDao.createTable(db, true); MunkaDao.createTable(db, true); MunkaEszkozDao.createTable(db, true); MunkaKepDao.createTable(db, true); MunkaTipusDao.createTable(db, true); PartnerDao.createTable(db, true); PartnerKepDao.createTable(db, tr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tablero(){\r\n System.out.println(\" X \");\r\n System.out.println(\" 1 2 3\");\r\n System.out.println(\" | |\");\r\n //imprimir primera fila\r\n System.out.println(\" 1 \"+gato[0][0]+\" | \"+gato[0][1]+\" | \"+gato[0][2]+\"...
[ "0.68880147", "0.6838781", "0.68257445", "0.6782374", "0.6767958", "0.6754065", "0.67502093", "0.67387164", "0.67143524", "0.6705185", "0.66087586", "0.6608016", "0.6602412", "0.6597209", "0.6594909", "0.65871394", "0.657876", "0.65412885", "0.6506334", "0.6489062", "0.646249...
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.login, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
one List for each row
public BasicTableModel() { colNames = new ArrayList<String>(); data = new ArrayList<List>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<String>\n getRowsList();", "public List<List<Object>> rows() {\n List<List<Object>> rows = new ArrayList<List<Object>>();\n for (List<String> rawRow : getRawRows()) {\n List<Object> newRow = new ArrayList<Object>();\n for (int i = 0; i < rawRow.size(); i+...
[ "0.71624076", "0.7065649", "0.69717646", "0.68035984", "0.66533494", "0.6636702", "0.66109675", "0.6586618", "0.65429753", "0.64763", "0.6411872", "0.6348981", "0.63366747", "0.6336241", "0.63284165", "0.63099563", "0.6257075", "0.62481046", "0.6247085", "0.6237647", "0.62262...
0.0
-1
/ Basic getXXX methods required by an class implementing TableModel Returns the name of each col, numbered 0..columns1
public String getColumnName(int col) { return colNames.get(col); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getColumnName();", "public String getColumnName();", "@Override\n public String getColumnName(int aColumn) {\n return model.getColumnName(aColumn); \n }", "public String getColumnName(int col) { return columnNames[col]; }", "java.lang.String getColumn();", "@Override\r\n public Str...
[ "0.73708457", "0.7283797", "0.71722114", "0.7156517", "0.7107774", "0.71037775", "0.70074195", "0.6969131", "0.6965042", "0.6962234", "0.696216", "0.69383377", "0.6933311", "0.6891877", "0.68742996", "0.68456244", "0.6845157", "0.6845088", "0.68361837", "0.6824222", "0.682422...
0.0
-1
Returns the number of columns
public int getColumnCount() { return(colNames.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getColumnsCount();", "int getColumnsCount();", "int getColumnCount();", "int getColumnCount();", "public abstract int numColumns();", "public abstract int getNumColumns();", "public int columnCount() {\n\t\treturn n_;\n\t}", "int colCount();", "public int getNumColumns() { return columns.length...
[ "0.90187746", "0.90187746", "0.8728086", "0.8728086", "0.8640635", "0.86338544", "0.86239696", "0.86158085", "0.8582652", "0.85465956", "0.84947836", "0.82998204", "0.828189", "0.82557553", "0.8219746", "0.82087153", "0.81878436", "0.81224597", "0.8120223", "0.8098528", "0.80...
0.0
-1
Returns the number of rows
public int getRowCount() { return(data.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getRowsCount();", "public abstract int getNumOfRows();", "public abstract int getNumRows();", "public int getNumRows() {\n\t\treturn NUM_ROWS; \n\t}", "public int totalRowsCount();", "public int getTotalRows();", "public int getNumRows() { \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Getter for the number of...
[ "0.90299755", "0.86182785", "0.8577508", "0.85336244", "0.84401286", "0.844004", "0.8372811", "0.8361218", "0.8349691", "0.8270309", "0.82622206", "0.82349694", "0.8210408", "0.82096785", "0.8188218", "0.81804687", "0.81615233", "0.81615233", "0.81530976", "0.81530976", "0.81...
0.7872029
67
Returns the data for each cell, identified by its row, col index.
public Object getValueAt(int row, int col) { List rowList = data.get(row); Object result = null; if (col<rowList.size()) { result = rowList.get(col); } // _apparently_ it's ok to return null for a "blank" cell return(result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getDataValue(final int row, final int column);", "Object[] getDataRow(final int index);", "protected abstract double getCell(\r\n int row,\r\n int col);", "public abstract T getCell(int row, int column);", "public String getCellData(int rowIndex, int cellIndex){\n\t\t\n\t\tHSSF...
[ "0.69870824", "0.68026066", "0.6747063", "0.67434573", "0.66264296", "0.66062933", "0.660189", "0.66003585", "0.65723526", "0.6500595", "0.6422051", "0.63990307", "0.6398603", "0.63798004", "0.6378048", "0.63353807", "0.6331681", "0.6331681", "0.6330469", "0.6320772", "0.6288...
0.5983375
40
Returns true if a cell should be editable in the table
public boolean isCellEditable(int row, int col) { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isCellEditable(int row, int column) {\n return editable;\n }", "@Override\n public boolean isCellEditable(int row, int column) {\n return editable;\n }", "public boolean isCellEditable(int row, int column){ \r\n return false; ...
[ "0.8488502", "0.8488502", "0.847226", "0.84664047", "0.8463356", "0.84329057", "0.8420533", "0.8419855", "0.8395177", "0.8387123", "0.83802223", "0.8372387", "0.8344077", "0.8344077", "0.83425534", "0.83425534", "0.8337644", "0.83348346", "0.8334714", "0.83239067", "0.8314101...
0.81979287
33
Changes the value of a cell
public void setValueAt(Object value, int row, int col) { List rowList = data.get(row); // make this row long enough if (col>=rowList.size()) { while (col>=rowList.size()) rowList.add(null); } // install the data rowList.set(col, value); // notify model listeners of cell change fireTableCellUpd...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void setCellValue(int cellValue, int row, int col);", "public synchronized void setCellValue(GoLCell in_cell)\n {\n cellValue = in_cell.getCellValue();\n }", "public void setCell(Object value, int col, int row) {\n ((DefaultTableModel) getModel()).setValueAt(value, row, col)...
[ "0.8319567", "0.7725348", "0.7670282", "0.74276924", "0.73848987", "0.7384167", "0.73674464", "0.7301436", "0.725434", "0.725382", "0.721614", "0.7181552", "0.71797514", "0.71313304", "0.71115875", "0.7073248", "0.7070643", "0.70496625", "0.6995304", "0.69504017", "0.69462043...
0.6771867
35
/ Convenience methods of BasicTable Adds the given column to the right hand side of the model
public void addColumn(String name) { colNames.add(name); fireTableStructureChanged(); /* At present, TableModelListener does not have a more specific notification for changing the number of columns. */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addColumn(String column) {\n tableModel.addColumn(column);\n this.setModel(tableModel);\n\n }", "public abstract void addColumn(Column c);", "IColumnBinding addColumn(SpecialBinding columnType, int width);", "IColumnBinding addColumn(IColumnBinding baseColumn, EStructuralFeature feature, i...
[ "0.67973864", "0.6783626", "0.6721618", "0.6622891", "0.6569135", "0.65123355", "0.64628124", "0.6461519", "0.6315726", "0.6271378", "0.6159218", "0.61562407", "0.61431867", "0.60815436", "0.6040123", "0.59761685", "0.58944833", "0.5880704", "0.58402824", "0.5816966", "0.5787...
0.56451255
34
Adds the given row, returns the new row index
public int addRow(List row) { data.add(row); fireTableRowsInserted(data.size()-1, data.size()-1); return(data.size() -1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int addRow() {\n\t\t// Create a new row with nothing in it\n\t\tList row = new ArrayList();\n\t\treturn(addRow(row));\n\t}", "int addRow(RowData row_data) throws IOException;", "public void addRow(String rowName);", "public void addRow(ResultRow row) {\r\n rows.add(row);\r\n }", "public vo...
[ "0.75982845", "0.7267934", "0.68779445", "0.68383205", "0.67924166", "0.67747563", "0.675186", "0.6731132", "0.66915774", "0.6681391", "0.65453494", "0.6470138", "0.6424651", "0.64187366", "0.6379905", "0.6301139", "0.6215935", "0.6215346", "0.618858", "0.6168549", "0.6163531...
0.7303705
1
Adds an empty row, returns the new row index
public int addRow() { // Create a new row with nothing in it List row = new ArrayList(); return(addRow(row)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void addRow() {\n\t\tif(this.numCols == 0){\n\t\t\tthis.numCols++;\n\t\t}\n\t\tthis.numRows++;\n\t}", "public void addRow () {\n CSVRow row = CSVRow.createEmptyLine(nbOfColumns, this);\n addRow(row);\n }", "int addRow(RowData row_data) throws IOException;", "private void ...
[ "0.67467564", "0.6561985", "0.6491481", "0.63365585", "0.62671053", "0.62499887", "0.6155099", "0.6155099", "0.60702085", "0.6058075", "0.6048211", "0.6006123", "0.5985131", "0.595043", "0.5881953", "0.5873677", "0.58708984", "0.58170515", "0.58093363", "0.57871157", "0.57735...
0.7474254
0
Deletes the given row
public void deleteRow(int row) { if (row == -1) return; data.remove(row); fireTableRowsDeleted(row, row); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public native void deleteRow(int row) /*-{\n\t\tvar jso = this.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()();\n\t\tjso.deleteRow(row);\n }-*/;", "public void deleteRow(String row) {\n database.delete(ORDER_MASTER, ORDER_ID + \"=\" + row, null);\n }", "public void deleteRow(Row _deleteThi...
[ "0.8028225", "0.7938111", "0.7859887", "0.7835917", "0.7621239", "0.7569429", "0.7546432", "0.7546227", "0.75256467", "0.7518315", "0.7502141", "0.7481361", "0.7461443", "0.7434762", "0.7360189", "0.73231447", "0.72607553", "0.72504616", "0.72498834", "0.72455055", "0.7224566...
0.7993451
1
/ Utility. Given a text line of tabdelimited strings, build an ArrayList of the strings.
private static List<String> stringToList(String string) { // Create a tokenize that uses \t as the delim, and reports // both the words and the delimeters. StringTokenizer tokenizer = new StringTokenizer(string, "\t", true); List<String> row = new ArrayList<String>(); String elem = null; String last =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ArrayList<String> splitCSVLine(String textLine) {\n\t\tArrayList<String> entries = new ArrayList<String>();\n\t\tint lineLength = textLine.length();\n\t\tStringBuffer nextWord = new StringBuffer();\n\t\tchar nextChar;\n\t\tboolean insideQuotes = false;\n\t\tboolean insideEntry= false;\n\t\t\n\t\t//it...
[ "0.6202296", "0.61371475", "0.6126228", "0.6090229", "0.58513874", "0.5818003", "0.5760014", "0.569647", "0.5657203", "0.56512475", "0.56317973", "0.5627454", "0.5622698", "0.55448174", "0.5532809", "0.55218416", "0.5512826", "0.55083585", "0.5502095", "0.54982823", "0.548935...
0.68614465
0
/ Utility Given a collection of strings, writes them out as a line of text, separated by tabs. Null strings are interpreted as a zerolength strings.
private static void writeStrings(BufferedWriter out, Collection strings) throws IOException { Iterator it = strings.iterator(); while (it.hasNext()) { String string = (String)it.next(); if (string!=null) out.write(string); if (it.hasNext()) out.write('\t'); } out.newLine(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void write(List<StringBuilder> values);", "private void writeArrayToLine(String[ ] args) {\r\n\t\tStringBuilder buf = new StringBuilder();\r\n\t\tif (args.length>0) buf.append(args[0]);\r\n\t\tint k = 1;\r\n\t\twhile(k < args.length) buf.append(delim).append(args[k++]);\r\n\t\tout.println(buf.toString());\r\n\t}...
[ "0.55549395", "0.5472583", "0.5460528", "0.5379993", "0.5348645", "0.53441554", "0.53398144", "0.5339395", "0.532322", "0.5307578", "0.53050417", "0.5281789", "0.525396", "0.525122", "0.52408606", "0.5219936", "0.52186596", "0.5201341", "0.519988", "0.51688653", "0.5158455", ...
0.662654
0
/ Loads the whole model from a file of tabdelimited text.
public void loadFile(File file) { try { BufferedReader in = new BufferedReader(new FileReader(file)); // read the column names List<String> first = stringToList(in.readLine()); colNames = first; // each line makes a row in the data model String line; data = new ArrayList<List>(); while...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StillModel loadModel(String filepath);", "abstract public boolean loadModelFromString(List<String> lines);", "public Model loadModel( File modelFile ) throws FileNotFoundException, ParseException, LemException, IOException {\n Lem l = new Lem();\n FileInputStream fis = new FileInputStream(...
[ "0.6750126", "0.6374324", "0.62799025", "0.624548", "0.62304676", "0.62065935", "0.615291", "0.60914797", "0.6085704", "0.5962766", "0.5956209", "0.59479344", "0.5911021", "0.5846818", "0.57814705", "0.5779558", "0.5610988", "0.55859566", "0.5556771", "0.5547738", "0.5491553"...
0.6181984
6
/ Saves the model to the given file as tabdelimited text.
public void saveToFile(File file) { try { BufferedWriter out = new BufferedWriter(new FileWriter(file)); // write the column names writeStrings(out, colNames); // write all the data for (int i=0; i<data.size(); i++) { writeStrings(out, data.get(i)); } out.close(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void saveToFile(File file, Model model) throws IOException;", "void exporter(JTable tab, File file) {\n try {\r\n\r\n TableModel model = tab.getModel();\r\n FileWriter out = new FileWriter(file);\r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n ...
[ "0.69583863", "0.6396175", "0.6332589", "0.6225058", "0.61869067", "0.5953245", "0.5735086", "0.5728486", "0.55878544", "0.5532124", "0.5509678", "0.5472724", "0.5438954", "0.5411466", "0.5411277", "0.5394225", "0.5394012", "0.53829914", "0.5375017", "0.53681993", "0.53643566...
0.52247906
35
TODO Autogenerated method stub
public ICancellable sync(RepositorySyncRequest arg0, ResponseHandler<RepositorySyncResponse> arg1) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Start the sample, to show the printing function of the result of comparison between 2 PDF files with some print settings
public static void main( String[] args ) { SampleUtil.filterServerPlugins(); File[] files = getFileOfArguments( args ); //Used the current i-net PDFC configuration. If no configuration has been previously set then the default configuration will be used. //set up Printer service ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void startPrinting()\n {\n printerSimulator.startPrintingProcess();\n }", "public static void main(String[] args) {\n\t\tString path = \"Test1.pdf\";\n\t\t\n\n\t}", "public static void main( String[] args ) throws Exception\n {\n if( args.length != 2 )\n {\n System.o...
[ "0.66039526", "0.5941836", "0.5912553", "0.591091", "0.58796066", "0.5853064", "0.5785657", "0.5778338", "0.5772483", "0.576029", "0.5755232", "0.5727041", "0.56837344", "0.56557965", "0.5636279", "0.5620109", "0.5615625", "0.5595325", "0.5525125", "0.55048764", "0.5503739", ...
0.64400584
1
Get 2 files that are to be checked for comparisons
public static File[] getFileOfArguments( final String[] args ) { if( args == null || args.length != 2 ) { throw new IllegalArgumentException( "Usage: CompareAndPrintWithPrintsetting <PDF-File1> <PDF-File2>" ); } return new File[] { checkAndGetFile( args[0] ), checkAndGetFile( args[1]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean compareFiles(String file1, String file2)\r\n throws IOException {\r\n \r\n BufferedReader reader1 = new BufferedReader(new FileReader(file1));\r\n BufferedReader reader2 = new BufferedReader(new FileReader(file2));\r\n \r\n\r\n String line1 = reader1.re...
[ "0.703256", "0.6844771", "0.6563242", "0.6522484", "0.64619064", "0.6446004", "0.63842285", "0.6353565", "0.63431674", "0.6332086", "0.62843543", "0.6278027", "0.619896", "0.61615205", "0.6160767", "0.6150238", "0.6059045", "0.60573953", "0.604872", "0.60217834", "0.60141015"...
0.5800145
32
Returns a File object based on a string path The file must not be null, must exist and must not be a directory
public static File checkAndGetFile( final String file ) { if( file == null ) { throw new IllegalArgumentException( "The parameter is empty.\n parameter = " + file ); } final File fileObject = new File( file ); if( !fileObject.exists() ) { throw new IllegalArgumen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static File getFile(String pathFile) {\n\t\tif(!pathFile.isEmpty()){\n\t\t\treturn new File(pathFile);\n\t\t}\n\t\treturn null;\n\t}", "public static File fileFromPathOrCreate(String path) throws IOException {\n File propFile = new File(path);\n if (!propFile.exists()) {\n propFi...
[ "0.7813383", "0.7118493", "0.6979797", "0.69793135", "0.6711277", "0.6627211", "0.65857816", "0.65769744", "0.656904", "0.64858866", "0.64580214", "0.6452321", "0.6371451", "0.6321516", "0.6239201", "0.6207134", "0.61532176", "0.61474335", "0.6116625", "0.6074682", "0.6072152...
0.6900647
4
Creates new form NewJDialog
public GraphDialog(java.awt.Frame parent, boolean modal, String[] graphVarNames, NewResultsFrame newResultsFrame) { super(parent, modal); this.newResultsFrame = newResultsFrame; //Contains variable names to select the x and y values for the graph. this.graphVarNames = new String[1000]; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract JDialog createDialog();", "public NewDialog() {\n\t\t\t// super((java.awt.Frame)null, \"New Document\");\n\t\t\tsuper(\"JFLAP 7.0\");\n\t\t\tgetContentPane().setLayout(new GridLayout(0, 1));\n\t\t\tinitMenu();\n\t\t\tinitComponents();\n\t\t\tsetResizable(false);\n\t\t\tpack();\n\t\t\tthis.setL...
[ "0.758768", "0.721582", "0.7111982", "0.6763936", "0.6691862", "0.66630346", "0.65133464", "0.6469415", "0.6450934", "0.64486724", "0.64365023", "0.6410599", "0.6406415", "0.63880074", "0.63660187", "0.6297741", "0.62581146", "0.6197769", "0.61961484", "0.61895955", "0.616369...
0.5811204
80
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { yValuesAvail = new javax.swing.JComboBox(graphVarNames); xValuesAvail = new javax.swing.JComboBox(graphVarNames); jButton1AddItem = new javax.swing.JB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73208135", "0.7291972", "0.7291972", "0.7291972", "0.7287118", "0.72494483", "0.7214677", "0.72086734", "0.7197058", "0.71912485", "0.7185818", "0.71596724", "0.71489036", "0.7094215", "0.7082007", "0.70579666", "0.6988024", "0.6978225", "0.6955616", "0.6955434", "0.694586...
0.0
-1
Object tmp = listModelXvalue.firstElement();
public String getxValueAdded() { String text = xValueAdded.getText(); if(text == null) { return("numGenerations"); } else { return (text); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object firstElement();", "public E getFirst() {\r\n\t\t// element checks to see if the list is empty\r\n\t\treturn element();\r\n\t}", "public JspElement getFirst() {\r\n\treturn _first;\r\n}", "protected T getFirstValue(List<T> list) {\n\t\treturn list != null && !list.isEmpty() ? list.get(0) : null;...
[ "0.6980446", "0.6354467", "0.61129636", "0.5965166", "0.59574485", "0.59318274", "0.5875742", "0.5874451", "0.58555984", "0.5785623", "0.5781823", "0.5781823", "0.5777639", "0.57674086", "0.5760008", "0.5749458", "0.5743548", "0.57337093", "0.57192457", "0.5709668", "0.570703...
0.0
-1
ArrayList stringSel = new ArrayList();
public LinkedList<String> getyValuesAdded() { LinkedList<String> str = new LinkedList<String>(); // Get the index of all the selected items int[] selectedIx = yValuesAdded.getSelectedIndices(); // Get all the selected items using the indices int size = listModelYvalue.getSize(); for (int i=0; i<size; i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ArrayListOfStrings () {\n list = new ArrayList<String>();\n }", "StringList createStringList();", "Dialogue(ArrayList<String> text){\n this.text = text;\n }", "ArrayList<String> createList(String finalInput);", "public ArrayList<String> menuComBox();", "public void genericStringArray() ...
[ "0.6782216", "0.6451738", "0.6418148", "0.6209007", "0.618121", "0.6136194", "0.613394", "0.611433", "0.6015967", "0.59647954", "0.5964554", "0.59364706", "0.58642745", "0.5845561", "0.5788733", "0.57364726", "0.57222253", "0.57083297", "0.56889457", "0.5667242", "0.56447583"...
0.52961284
41
Get active indicators number in the row. As that is row with one blinking indicator the result will be 1 if indicator is active or 0 if not.
@Override protected int getActiveCount(long units) { return units % period == 0 ? 1 : 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumActive();", "int getNumActive();", "public int getNumActive() {\n return numActive;\n }", "public int active() {\n return this.active;\n }", "public Integer getrowStatus() {\n byte entityState = this.getEntity(0).getEntityState();\n return new Inte...
[ "0.63187546", "0.62180525", "0.6147042", "0.5821004", "0.5769415", "0.57050186", "0.5561131", "0.5547332", "0.5489896", "0.5456229", "0.545356", "0.54307353", "0.5372983", "0.53457487", "0.5342664", "0.51997554", "0.5184315", "0.5180249", "0.518009", "0.51750094", "0.51274145...
0.0
-1
Get updated units value of appropriate dimension for the next row.
@Override protected long getUpdatedUnits(long units) { return units; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Unit getUnits( int dimension );", "public int getUnits() {\r\n return units;\r\n }", "public int getUnits()\n {\n return m_cCurUnits;\n }", "final Unit getUnits() {\n Unit units = null;\n for ( int i = getDimension(); --i >= 0; ) {\n fin...
[ "0.6212621", "0.613783", "0.6045514", "0.5996153", "0.5982325", "0.5958019", "0.5873985", "0.58473456", "0.57473236", "0.5639103", "0.55548614", "0.55251276", "0.5496371", "0.54563594", "0.54542106", "0.5441718", "0.5433444", "0.54283834", "0.54013175", "0.5396538", "0.537118...
0.6343076
0
Get color for indicator on given position.
@Override protected char getColor(int position) { return color; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int getColorPosition(int position){\n int color;\n switch(position){\n case 1: color = Color.RED;\n break;\n case 2: color = Color.BLACK;\n break;\n case 3: color = Color.BLUE;\n break;\n case 4: color = ...
[ "0.72603625", "0.6687774", "0.6687774", "0.6590599", "0.65516084", "0.6511595", "0.6503137", "0.6496928", "0.6484365", "0.6484365", "0.6484365", "0.6484365", "0.6484365", "0.6435659", "0.6430249", "0.63911873", "0.6369419", "0.6345198", "0.63083255", "0.6298806", "0.6295474",...
0.66069216
3
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view= inflater.inflate(layout.fragment_signup, container, false); alreadyhaveanaccoutn=view.findViewById(id.tv_already_have_an_account); parentframelayout=get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
todo send data to fire base
@Override public void onClick(View view) { checkEmailAndPassword(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendGuideRegDataToFireBase(){\n }", "private void sendUserData() {\n FirebaseDatabase firebaseDatabase = FirebaseDatabase.getInstance();\n DatabaseReference myref = firebaseDatabase.getReference(Objects.requireNonNull(firebaseAuth.getUid()));\n UserProfile userProfile = new U...
[ "0.70332533", "0.6715914", "0.6201111", "0.60936964", "0.60278136", "0.5930295", "0.5828704", "0.578265", "0.5742812", "0.57250607", "0.5713689", "0.57128406", "0.5705379", "0.56715906", "0.566647", "0.5664018", "0.5644264", "0.5619412", "0.560409", "0.5543506", "0.55394614",...
0.0
-1
Create ElementXy, and if ptSets is null or is needed to update, this function will trigger the regenerateElementXY, In the function regenerateElementXY, ptSets will be calculated by invoking createDataPointPeriodically, createDataPointCircumferential or createDataPointCircumferentialRunway
public abstract void setDataToElementXY();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createXVertices() {\n\n\t\tfor (int i = 0; i < this.numXVertices; i++) {\n\t\t\t// determine external degree -- random number between d_0 and d_1\n\t\t\tint upperBoundAdjusted = this.d1 - this.d0; // Shift to 0 so that the randomGen can be used\n\t\t\tint externalDegree = this.randomGen(upperBoundAdju...
[ "0.48369467", "0.4824276", "0.4760661", "0.47373116", "0.46402577", "0.4616682", "0.4609936", "0.46085626", "0.46084258", "0.4607663", "0.4594837", "0.45708278", "0.4537653", "0.44827572", "0.44784206", "0.44770947", "0.44690743", "0.4434941", "0.4404208", "0.44012547", "0.43...
0.53153753
0
make sure all the
public void setCircumferentialNumber(boolean isDriven, boolean isOuter) { this._heightOuter = this._point3DEndSection2.Y(); this._widthOuter = Math.abs(this._point3DEndSection1.X() - _heightOuter); this._heightInner = this._point3DStartSection2.Y(); this._widthInner = Math.abs(this._...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic boolean CheckConditions() {\n\t\treturn true;\r\n\t}", "@Override\n\tpublic void check() {\n\t\t\n\t}", "@Override\n\tpublic void check() {\n\t\t\n\t}", "private void assertAll() {\n\t\t\n\t}", "@Override\n\tvoid checkConsistency()\n\t{\n\t\t\n\t}", "@Override\n\t\tpublic void check...
[ "0.66332537", "0.65006703", "0.65006703", "0.63228357", "0.62984234", "0.62323225", "0.6222004", "0.61956066", "0.61579484", "0.6152834", "0.61244017", "0.6102017", "0.60719407", "0.6069873", "0.5983073", "0.5885925", "0.5878706", "0.5869129", "0.5868126", "0.5835727", "0.583...
0.0
-1
Save All Data into the FileWirter, don't need to concern about the file address
public abstract void save(FileWriter fw) throws IOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void save() {\n UTILS.write(FILE.getAbsolutePath(), data);\n }", "public void saveData(){\r\n file.executeAction(modelStore);\r\n }", "private void saveData() {\n\t\tdataSaver.save(data);\n\t}", "void saveAs() {\n writeFile.Export();\n }", "public void saveData() {\n\t\...
[ "0.7762367", "0.7286056", "0.7262777", "0.7037448", "0.6992549", "0.6975447", "0.6965463", "0.69002074", "0.6866432", "0.68523216", "0.68315005", "0.68313336", "0.67711765", "0.6770365", "0.6759711", "0.6721914", "0.67113954", "0.6652769", "0.6625484", "0.6624706", "0.6580509...
0.0
-1
Open Data into the BufferedReader, don't need to concern about the file address
public abstract void open(BufferedReader br) throws IOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void openAndReadFile() throws IOException {\n\t\tFileReader fr = new FileReader(path);\n\t\tBufferedReader textreader = new BufferedReader(fr);\n\t\tString line;\n\t\tString[] parsedLine;\n\t\twhile ((line = textreader.readLine()) != null) {\n\t\t\tparsedLine = pattern.split(line);\n\t\t\tif (parsedLine.le...
[ "0.6441657", "0.6419358", "0.6211582", "0.60762894", "0.60256094", "0.5958544", "0.59577996", "0.5839251", "0.58378065", "0.57745886", "0.57506114", "0.5749599", "0.5743612", "0.57345223", "0.5709471", "0.56661016", "0.5598032", "0.5564191", "0.5557485", "0.5546298", "0.55384...
0.66511947
0
Get compaction plan for the provided compactable tablet and possibly submit for compaction. Plans get added to the planning queue before calling the planningExecutor to get the plan. If no files are selected, return. Otherwise, submit the compaction job.
public void submitCompaction(CompactionKind kind, Compactable compactable, Consumer<Compactable> completionCallback) { Objects.requireNonNull(compactable); // add tablet to planning queue and use planningExecutor to get the plan if (queuedForPlanning.get(kind).putIfAbsent(compactable.getExtent(), com...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void submitCompactionJob(CompactionPlan plan, Compactable.Files files,\n Compactable compactable, Consumer<Compactable> completionCallback) {\n var execIds = plan.getJobs().stream().map(cj -> (CompactionExecutorIdImpl) cj.getExecutor());\n if (compactable.getExtent().isMeta()\n && execIds...
[ "0.6120977", "0.47129485", "0.4604119", "0.4524908", "0.44755486", "0.4411856", "0.44030493", "0.43849492", "0.43508497", "0.4328184", "0.43187115", "0.42964363", "0.42709994", "0.4247517", "0.42043266", "0.4179818", "0.41753617", "0.4130632", "0.40883026", "0.40860748", "0.4...
0.59360754
1
log error if tablet is metadata and compaction is external
private void submitCompactionJob(CompactionPlan plan, Compactable.Files files, Compactable compactable, Consumer<Compactable> completionCallback) { var execIds = plan.getJobs().stream().map(cj -> (CompactionExecutorIdImpl) cj.getExecutor()); if (compactable.getExtent().isMeta() && execIds.anyMatch...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void onDataError(Throwable t) {\n Log.i(\"MyLog\", \"onDataError \" + t.toString());\n }", "@Override\n public void onError(Throwable error) {\n Log.e(\"REALM\", \" ERROR .\" + error.toString());\n }", "@Override\n public void onError(Throwable ...
[ "0.57787246", "0.5672625", "0.54047316", "0.53344077", "0.5334243", "0.52866673", "0.5252153", "0.5226357", "0.5215467", "0.5193299", "0.51630694", "0.5161652", "0.51615626", "0.5129599", "0.51271695", "0.5117528", "0.51102036", "0.5108876", "0.5108876", "0.5108696", "0.51029...
0.0
-1
number is the ref value and number2 is the value fetched.
@Override public Boolean getValue(Number number, Number number2) { if(number==number2){ return true; } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSecondNumber();", "public Object getValue2() { return this.value2; }", "public int getNum2() {\r\n\t\t\treturn num2_;\r\n\t\t}", "public int getNum2() {\r\n\t\t\t\treturn num2_;\r\n\t\t\t}", "int getNumber () { return number; }", "public long getNumber(){\n return number;\r\n }", "public jav...
[ "0.6187694", "0.6095057", "0.59667456", "0.5946305", "0.5899966", "0.5882561", "0.58666503", "0.56957924", "0.5688689", "0.56875795", "0.56843257", "0.5673188", "0.567274", "0.56481916", "0.5629701", "0.56184417", "0.5586124", "0.5548752", "0.551325", "0.54633486", "0.5461013...
0.6041151
2
fix flash status bar by set it as shared element <a href="
public static void openVideoDetail(Activity activity, View sharedView, VideoModel videoModel) { sharedView = sharedView.findViewById(R.id.itemThumbnailView); Intent intent = new Intent(activity, DetailActivity.class); intent.putExtra(DetailActivity.ARG_DATA, videoModel); View navigationB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setActionBar() {\n headView.setText(\"消息中心\");\n headView.setGobackVisible();\n headView.setRightGone();\n // headView.setRightResource();\n }", "private static void invasionStatusBar(Activity activity) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIP...
[ "0.58186305", "0.57008845", "0.5670154", "0.5480463", "0.542348", "0.5402104", "0.5338396", "0.53108466", "0.51861376", "0.516967", "0.5146762", "0.5114628", "0.51006", "0.50899446", "0.50750077", "0.5047957", "0.5036768", "0.50005245", "0.4993604", "0.49614", "0.49556538", ...
0.0
-1
add item to cart
public void add(CartItem cartItem){ String book_id = cartItem.getBook().getBook_id(); int count = cartItem.getCount(); // if book exist in cart , change count if(map.containsKey(book_id)){ map.get(book_id).setCount( map.get(book_id).getCount() + count); }else{ // book not exist in cart, put it...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add() {\n\t\tcart.add(item.createCopy());\n\t}", "public void addItemToCart(Item item) {\n itemList.add(item);\n this.totalTaxes = totalTaxes.add(item.getTaxes());\n this.totalPrices = totalPrices.add(item.getTtcPrice());\n }", "@Override\n public void addCart(Items cartI...
[ "0.8607997", "0.75863785", "0.75356513", "0.75038034", "0.7328076", "0.73136026", "0.73131925", "0.7294668", "0.7271865", "0.7260397", "0.72417104", "0.72239685", "0.71965355", "0.7180522", "0.7113063", "0.7106403", "0.71049523", "0.710344", "0.7101517", "0.7055485", "0.70502...
0.70714796
19
remove item from cart
public void delete(String book_id){ map.remove(book_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeCartItem(int cartItemId);", "public void removeFromCart(final Item item) {\n for (Item f : cart) {\n if (f.getName().equals(item.getName())) {\n if (\n f.getQuantity() == item.getQuantity()) {\n cart.remove(f);\n return;...
[ "0.86247796", "0.77780646", "0.7724412", "0.7680742", "0.7669386", "0.7665084", "0.765656", "0.75985545", "0.7449234", "0.7396886", "0.73785317", "0.7373447", "0.7331831", "0.72535926", "0.7230649", "0.7212203", "0.71561867", "0.7139497", "0.7085771", "0.7042949", "0.70012784...
0.0
-1
return list of item
public Collection<CartItem> getCartItems(){ return map.values(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Item> getItemList();", "java.util.List<com.rpg.framework.database.Protocol.Item> \n getItemsList();", "java.util.List<io.opencannabis.schema.commerce.OrderItem.Item> \n getItemList();", "java.util.List<java.lang.Integer> getItemList();", "private static List<Item> getItems() {\n\t...
[ "0.8309433", "0.81256855", "0.79666823", "0.7249915", "0.72446316", "0.7238651", "0.722777", "0.718695", "0.7186479", "0.7157711", "0.7157546", "0.7052899", "0.70456994", "0.6967067", "0.6955069", "0.69107926", "0.68922246", "0.68883586", "0.68878734", "0.68863225", "0.687948...
0.0
-1
return total for items in cart
public double getTotal(){ BigDecimal total =BigDecimal.valueOf(0); for(CartItem cartItem : map.values()){ total = total.add(BigDecimal.valueOf(cartItem.getSubtotal())) ; } return total.doubleValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getTotalAmount() {\n float amt = 0.0f;\n for (Item e : cart) {\n amt += e.getQuantity() * getPrice(e.getName());\n }\n return amt;\n }", "public BigDecimal getTotal() {\n BigDecimal total = new BigDecimal(0);\n for (Item item : items){\n ...
[ "0.7785623", "0.77695787", "0.7674921", "0.75602305", "0.75233066", "0.7352048", "0.72853255", "0.72498053", "0.7229256", "0.71260536", "0.7109988", "0.7097833", "0.6962503", "0.69373447", "0.6918384", "0.6889055", "0.6887192", "0.68627125", "0.682502", "0.6796784", "0.678740...
0.721226
9
TODO Autogenerated method stub
@Override protected void handleResult(JSONObject obj) { }
{ "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 onNewPrice(double price) { }
{ "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 nativeKeyTyped(NativeKeyEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void nativeKeyReleased(NativeKeyEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Creates a state that can handle inputs
public State(Parent root) { super(root); input = new ArrayList<String>(); mouse = new Point2D.Double(); this.setOnKeyPressed(new EventHandler<KeyEvent>() { public void handle(KeyEvent e) { String code = e.getCode().toString(); // only add once... prevent duplicates ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void create( State state );", "Input createInput();", "public interface State {\n void enter(Unit unit, InputHandler input);\n State handleInput(Unit unit, InputHandler input);\n void update(Unit unit, float delta);\n void exit(Unit unit, InputHandler input);\n}", "INPUT createINPUT();", "publi...
[ "0.6750172", "0.67066866", "0.63906085", "0.6307573", "0.62848985", "0.62735224", "0.62339044", "0.6199908", "0.61687654", "0.60273933", "0.6021276", "0.594909", "0.585547", "0.58044195", "0.5769976", "0.57697326", "0.5754714", "0.5736183", "0.5716863", "0.5706232", "0.570068...
0.570039
21
Save current datetime in UTC
public static void main(String args[]) { Instant start = Instant.now(); QueueStudentIDs studentsInLine = new QueueStudentIDs(8); studentsInLine.insertStudent(885475); // first-in studentsInLine.insertStudent(290451); studentsInLine.insertStudent(500324); studentsInLine.i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DateTime nowUtc();", "static String getCurrentDateTimeInUTC() {\n TimeZone utcTimeZone = TimeZone.getTimeZone(\"UTC\");\n Date now = Calendar.getInstance(utcTimeZone).getTime();\n DateFormat formatter = new SimpleDateFormat(\"yyyy-MM-DD HH:mm:ss z\");\n formatter.setTimeZone(utcTimeZo...
[ "0.7099414", "0.6868452", "0.6421227", "0.6356314", "0.6131368", "0.6098817", "0.6018121", "0.5995498", "0.58921444", "0.58041716", "0.57145303", "0.5705325", "0.56915927", "0.5680201", "0.5651598", "0.5646101", "0.5637205", "0.56332207", "0.56156784", "0.560814", "0.55830437...
0.0
-1
Final initialization, once all dependencies are set.
public void init() { super.init(); M_log.info("init()"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setDependencies() {\n\t\t\n\t}", "public void initialize() {\n // empty for now\n }", "protected void initialize() {\n \t\n }", "private void initialize() {\n }", "private void initialize() {\n\t}", "protected void initialize() {}", "protected void initialize() {}", ...
[ "0.7585253", "0.7254421", "0.721855", "0.7148605", "0.7141647", "0.7107982", "0.7107982", "0.7102473", "0.7034388", "0.7034388", "0.7034388", "0.7034388", "0.7024826", "0.702379", "0.70014566", "0.6996272", "0.6983165", "0.6966184", "0.6959835", "0.6959835", "0.6937259", "0...
0.0
-1
TODO Autogenerated method stub
@Override public void onFinish(ITestContext arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onStart(ITestContext arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onTestFailedButWithinSuccessPercentage(ITestResult arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onTestSkipped(ITestResult arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onTestStart(ITestResult arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onTestSuccess(ITestResult arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
/ access modifiers changed from: private
public static native void _bindingJs(String str, JsCallback jsCallback);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public static native void _removeBindingJs(String str);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: packageprivate
public void bindingJs(String func, JsCallback cb) { synchronized (BlitzPlugin.class) { if (!this.mJsFuncTable.containsKey(func)) { BlitzPlugin._bindingJs(func, cb); } if (cb != null) { this.mJsFuncTable.put(func, new Wea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397"...
0.0
-1
/ access modifiers changed from: packageprivate
public void removeBinding(String func) { synchronized (BlitzPlugin.class) { if (this.mJsFuncTable.containsKey(func)) { this.mJsFuncTable.remove(func); BlitzPlugin._removeBindingJs(func); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397"...
0.0
-1
/ access modifiers changed from: packageprivate
public boolean callJsBinding(String func, String param, long cbData) { boolean z; synchronized (BlitzPlugin.class) { WeakReference<JsCallback> wcb = this.mJsFuncTable.get(func); JsCallback cb = wcb != null ? (JsCallback) wcb.get() : null; Log.i("ca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397"...
0.0
-1
Communication drops in percent, (0%: 0, 100%: 10'000), (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV
public void drop_rate_comm_SET(char src) { set_bytes((char)(src) & -1L, 2, data, 4); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void onNetworkDisConnected() {\n\n\t}", "@Override\r\n\tpublic void packetLost(Connection connection, BaseDatagram lostDatagram)\r\n\t{\n\t\t\r\n\t}", "public void onNetDisConnect() {\n\n\t}", "protected void processDisconnection(){}", "private void connectionLost() {\n // Sen...
[ "0.5703308", "0.5514095", "0.5476199", "0.5396145", "0.5331559", "0.5267502", "0.5240934", "0.5228601", "0.51964056", "0.5190152", "0.51589084", "0.5146398", "0.5114084", "0.50547606", "0.5052209", "0.505156", "0.50326365", "0.50219643", "0.50048965", "0.49866992", "0.4983198...
0.0
-1
Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV
public void errors_comm_SET(char src) { set_bytes((char)(src) & -1L, 2, data, 6); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void connectionFailed() {\n // Send a failure message back to the Activity\n Message msg = handler.obtainMessage(SdlRouterService.MESSAGE_LOG);\n Bundle bundle = new Bundle();\n bundle.putString(LOG, \"Unable to connect device\");\n msg.setData(bundle);\n handler.s...
[ "0.62942606", "0.62125814", "0.5903216", "0.5879266", "0.58312947", "0.580653", "0.58045113", "0.5785605", "0.5746206", "0.5718813", "0.57142365", "0.57005304", "0.5644855", "0.56263304", "0.5600332", "0.5569023", "0.5558911", "0.5555261", "0.5509861", "0.54857165", "0.548478...
0.0
-1
Bitmask showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSO
public void onboard_control_sensors_present_SET(@MAV_SYS_STATUS_SENSOR int src) { set_bits(- 1 + src, 26, data, 152); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onboard_control_sensors_enabled_SET(@MAV_SYS_STATUS_SENSOR int src)\n { set_bits(- 1 + src, 26, data, 178); }", "String getSwstatus();", "public String getUiStatus() {\n\t\tif (switchInfo.getType().compareTo(\"thermostat\") == 0) {\r\n\t\t\ttry {\r\n\t\t\t\tDouble tmp = new Double((Strin...
[ "0.6110094", "0.5560532", "0.55281174", "0.54689807", "0.5390216", "0.5222502", "0.5206129", "0.5143307", "0.51290196", "0.51228875", "0.5049335", "0.5049045", "0.5044607", "0.5027451", "0.5014941", "0.49928936", "0.4969394", "0.4969394", "0.496338", "0.49367395", "0.49343738...
0.6165213
0
Bitmask showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSO
public void onboard_control_sensors_enabled_SET(@MAV_SYS_STATUS_SENSOR int src) { set_bits(- 1 + src, 26, data, 178); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onboard_control_sensors_present_SET(@MAV_SYS_STATUS_SENSOR int src)\n { set_bits(- 1 + src, 26, data, 152); }", "void updateControllersStatus(boolean enabled);", "String getSwstatus();", "public static boolean[] getSensorStates() {\n\t\tboolean[] retVal = new boolean[mSensors.size()];\...
[ "0.5872425", "0.5815926", "0.5699891", "0.5583529", "0.55728644", "0.54811454", "0.53726417", "0.5361851", "0.5335146", "0.5264996", "0.5238719", "0.5207486", "0.51854473", "0.51812", "0.51780814", "0.51384187", "0.51332223", "0.51300615", "0.51235455", "0.51066095", "0.51012...
0.679084
0
Bitmask showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSO
public void onboard_control_sensors_health_SET(@MAV_SYS_STATUS_SENSOR int src) { set_bits(- 1 + src, 26, data, 204); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onboard_control_sensors_enabled_SET(@MAV_SYS_STATUS_SENSOR int src)\n { set_bits(- 1 + src, 26, data, 178); }", "public String getUiStatus() {\n\t\tif (switchInfo.getType().compareTo(\"thermostat\") == 0) {\r\n\t\t\ttry {\r\n\t\t\t\tDouble tmp = new Double((String) myISY.getCurrValue(myISY...
[ "0.65039283", "0.58571327", "0.5810571", "0.5770515", "0.56168705", "0.5546425", "0.5491391", "0.54800653", "0.54800653", "0.54090273", "0.5386186", "0.53243345", "0.530674", "0.52847683", "0.5252005", "0.52271897", "0.52184397", "0.51722264", "0.51641864", "0.5159587", "0.51...
0.5221023
16
0: request ping from all receiving systems, if greater than 0: message is a ping response and number is the system id of the requesting syste
public void target_system_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 12); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void ping() {\n\t\tHeader.Builder hb = Header.newBuilder();\n\t\thb.setNodeId(999);\n\t\thb.setTime(System.currentTimeMillis());\n\t\thb.setDestination(-1);\n\n\t\tCommandMessage.Builder rb = CommandMessage.newBuilder();\n\t\trb.setHeader(hb);\n\t\trb.setPing(true);\n\n\t\ttry {\n\t\t\t// direct no queue\n\...
[ "0.6211321", "0.6105076", "0.6027991", "0.5832937", "0.5831979", "0.5829446", "0.5829446", "0.57779837", "0.57151276", "0.56798035", "0.5666307", "0.5662243", "0.56563735", "0.5652027", "0.5620936", "0.55816764", "0.55653644", "0.55628777", "0.5484417", "0.5476319", "0.542144...
0.0
-1
0: request ping from all receiving components, if greater than 0: message is a ping response and number is the system id of the requesting syste
public void target_component_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 13); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void ping() {\n\t\tHeader.Builder hb = Header.newBuilder();\n\t\thb.setNodeId(999);\n\t\thb.setTime(System.currentTimeMillis());\n\t\thb.setDestination(-1);\n\n\t\tCommandMessage.Builder rb = CommandMessage.newBuilder();\n\t\trb.setHeader(hb);\n\t\trb.setPing(true);\n\n\t\ttry {\n\t\t\t// direct no queue\n\...
[ "0.6226078", "0.61359626", "0.58731675", "0.586913", "0.5803223", "0.57856697", "0.57856697", "0.5782919", "0.57716197", "0.5737169", "0.5737079", "0.5722328", "0.5683053", "0.56410027", "0.55834484", "0.5580093", "0.55638725", "0.5549843", "0.5537304", "0.5500344", "0.547783...
0.0
-1
0: key as plaintext, 1255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch
public void version_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Encryption encryption();", "String encryption(Long key, String encryptionContent);", "@Test\n public void testCryptographyNegative()\n {\n byte[] sensitiveBytes = sensitiveString.getBytes();\n byte[] secure = StateUtils.encrypt(sensitiveBytes, externalContext);\n \n secure[sec...
[ "0.6125788", "0.60467196", "0.6031988", "0.6022342", "0.5985448", "0.58424217", "0.57964337", "0.57290584", "0.5712045", "0.5687579", "0.56635207", "0.56377804", "0.5629184", "0.5596834", "0.55949897", "0.5583742", "0.55832595", "0.5542122", "0.5528671", "0.5484977", "0.54769...
0.0
-1
Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve AZ, az, 09, and "!?,.
public void passkey_SET(String src, Bounds.Inside ph) {passkey_SET(src.toCharArray(), 0, src.length(), ph);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String encodePassword(String normalPassword, String key);", "String password();", "private static String getEncryptedStoredPassword(String args[]) {\n return args[1].trim() ;\n }", "java.lang.String getPassword();", "java.lang.String getPassword();", "java.lang.String getPass...
[ "0.7201718", "0.67902505", "0.6662974", "0.666033", "0.666033", "0.666033", "0.666033", "0.666033", "0.666033", "0.666033", "0.6648294", "0.6638155", "0.66052526", "0.64765334", "0.64765334", "0.64765334", "0.64765334", "0.64765334", "0.64765334", "0.64765334", "0.64765334", ...
0.0
-1
Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve AZ, az, 09, and "!?,.
public void passkey_SET(char[] src, int pos, int items, Bounds.Inside ph) { if(ph.field_bit != 24 && insert_field(ph, 24, items) || ! try_visit_item(ph, 0)) insert_item(ph, 0, items); for(int BYTE = ph.BYTE, src_max = pos + ph.items; pos < src_max; pos++, BYTE += 2) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String encodePassword(String normalPassword, String key);", "String password();", "private static String getEncryptedStoredPassword(String args[]) {\n return args[1].trim() ;\n }", "java.lang.String getPassword();", "java.lang.String getPassword();", "java.lang.String getPass...
[ "0.7200928", "0.6789008", "0.6662049", "0.66589004", "0.66589004", "0.66589004", "0.66589004", "0.66589004", "0.66589004", "0.66589004", "0.6647462", "0.6637112", "0.6605032", "0.6474944", "0.6474944", "0.6474944", "0.6474944", "0.6474944", "0.6474944", "0.6474944", "0.647494...
0.0
-1
0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under contro
public void ack_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendKeys() throws Exception{\n ATMMessage atmMessage = (ATMMessage)is.readObject();\r\n System.out.println(\"\\nGot response\");\r\n \r\n //System.out.println(\"Received second message from the client with below details \");\r\n //System.out.println(\"Response Nonce value : \"+atmMessage...
[ "0.62007254", "0.6157103", "0.6003724", "0.5922061", "0.5921665", "0.5915659", "0.5894775", "0.5886214", "0.5840608", "0.58311933", "0.57679486", "0.5760718", "0.5729594", "0.57071346", "0.57041174", "0.5700125", "0.56920534", "0.56064194", "0.5605399", "0.55552876", "0.55055...
0.0
-1
Onboard parameter id, terminated by NULL if the length is less than 16 humanreadable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars applications have to provide 16+1 bytes storage if the ID is stored as strin
public void param_id_SET(String src, Bounds.Inside ph) {param_id_SET(src.toCharArray(), 0, src.length(), ph);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getParameterIdBytes();", "java.lang.String getParameterId();", "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (in...
[ "0.6459863", "0.5974476", "0.5629082", "0.56222665", "0.55391604", "0.5534945", "0.55303097", "0.55170095", "0.5505557", "0.539647", "0.53809613", "0.53809613", "0.5352035", "0.53485733", "0.5348107", "0.533619", "0.53348225", "0.5301741", "0.52975863", "0.5276729", "0.527025...
0.0
-1
Onboard parameter id, terminated by NULL if the length is less than 16 humanreadable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars applications have to provide 16+1 bytes storage if the ID is stored as strin
public void param_id_SET(char[] src, int pos, int items, Bounds.Inside ph) { if(ph.field_bit != 32 && insert_field(ph, 32, items) || ! try_visit_item(ph, 0)) insert_item(ph, 0, items); for(int BYTE = ph.BYTE, src_max = pos + ph.items; pos < src_max; pos++, BYTE += 2) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getParameterIdBytes();", "java.lang.String getParameterId();", "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (in...
[ "0.646023", "0.59741414", "0.56290704", "0.56226903", "0.5539953", "0.55353725", "0.5530206", "0.55183727", "0.550589", "0.5397569", "0.53821754", "0.53821754", "0.53534317", "0.5349348", "0.5348623", "0.5336329", "0.5334003", "0.53018564", "0.5298926", "0.5276295", "0.527015...
0.0
-1
Onboard parameter id, terminated by NULL if the length is less than 16 humanreadable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars applications have to provide 16+1 bytes storage if the ID is stored as strin
public void param_id_SET(String src, Bounds.Inside ph) {param_id_SET(src.toCharArray(), 0, src.length(), ph);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getParameterIdBytes();", "java.lang.String getParameterId();", "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (in...
[ "0.6459038", "0.59724236", "0.5628866", "0.56216836", "0.55391556", "0.5534554", "0.5529071", "0.5517307", "0.55053675", "0.53973866", "0.538219", "0.538219", "0.53524727", "0.534841", "0.53475356", "0.53354424", "0.5333739", "0.5300818", "0.5298386", "0.5277878", "0.52700967...
0.0
-1
Onboard parameter id, terminated by NULL if the length is less than 16 humanreadable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars applications have to provide 16+1 bytes storage if the ID is stored as strin
public void param_id_SET(char[] src, int pos, int items, Bounds.Inside ph) { if(ph.field_bit != 68 && insert_field(ph, 68, items) || ! try_visit_item(ph, 0)) insert_item(ph, 0, items); for(int BYTE = ph.BYTE, src_max = pos + ph.items; pos < src_max; pos++, BYTE += 2) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getParameterIdBytes();", "java.lang.String getParameterId();", "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (in...
[ "0.6459376", "0.5974015", "0.56294024", "0.5621949", "0.5539233", "0.5534314", "0.5529723", "0.55159044", "0.5505876", "0.5395389", "0.5380874", "0.5380874", "0.535163", "0.5348184", "0.53480554", "0.5335757", "0.533393", "0.5301537", "0.52967054", "0.5275794", "0.52705747", ...
0.0
-1
Onboard parameter id, terminated by NULL if the length is less than 16 humanreadable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars applications have to provide 16+1 bytes storage if the ID is stored as strin
public void param_id_SET(String src, Bounds.Inside ph) {param_id_SET(src.toCharArray(), 0, src.length(), ph);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getParameterIdBytes();", "java.lang.String getParameterId();", "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (in...
[ "0.6459863", "0.5974476", "0.5629082", "0.56222665", "0.55391604", "0.5534945", "0.55303097", "0.55170095", "0.5505557", "0.539647", "0.53809613", "0.53809613", "0.5352035", "0.53485733", "0.5348107", "0.533619", "0.53348225", "0.5301741", "0.52975863", "0.5276729", "0.527025...
0.0
-1
Onboard parameter id, terminated by NULL if the length is less than 16 humanreadable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars applications have to provide 16+1 bytes storage if the ID is stored as strin
public void param_id_SET(char[] src, int pos, int items, Bounds.Inside ph) { if(ph.field_bit != 52 && insert_field(ph, 52, items) || ! try_visit_item(ph, 0)) insert_item(ph, 0, items); for(int BYTE = ph.BYTE, src_max = pos + ph.items; pos < src_max; pos++, BYTE += 2) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getParameterIdBytes();", "java.lang.String getParameterId();", "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (in...
[ "0.646023", "0.59741414", "0.56290704", "0.56226903", "0.5539953", "0.55353725", "0.5530206", "0.55183727", "0.550589", "0.5397569", "0.53821754", "0.53821754", "0.53534317", "0.5349348", "0.5348623", "0.5336329", "0.5334003", "0.53018564", "0.5298926", "0.5276295", "0.527015...
0.0
-1
Course over ground (NOT heading, but direction of movement) in degrees 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MA
public void cog_SET(char src) { set_bytes((char)(src) & -1L, 2, data, 6); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMinAlturaCM(float max);", "double getCompass(double magnetic);", "public float getMaxAlturaCM();", "public Unit<Angle> microradian() {return microradian;}", "public float mo520d() {\n return (Math.max(this.f410k, this.f407h + ((float) this.f402b) + (this.f410k / 2.0f)) * 2.0f) + (...
[ "0.5842226", "0.57285863", "0.5648895", "0.56209356", "0.561048", "0.5608959", "0.5597464", "0.55955505", "0.5587957", "0.5477477", "0.54542917", "0.5441829", "0.5440804", "0.54220784", "0.5377012", "0.53693926", "0.53617233", "0.53243786", "0.5323971", "0.5319227", "0.531196...
0.0
-1
Altitude (AMSL, NOT WGS84), in meters 1000 (positive for up). Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude
public void alt_SET(int src) { set_bytes((int)(src) & -1L, 4, data, 24); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getAltitude();", "public double getAltitude();", "public float altitude_amsl_GET()\n { return (float)(Float.intBitsToFloat((int) get_bytes(data, 12, 4))); }", "public long getAltitude() {\n return altitude_;\n }", "public long getAltitude() {\n return altitude_;\n }", "p...
[ "0.7684314", "0.7648552", "0.75313526", "0.74967796", "0.74930304", "0.74653846", "0.74653846", "0.740377", "0.7344035", "0.7330525", "0.73226964", "0.73118854", "0.7297043", "0.7263323", "0.72574866", "0.72365916", "0.7229698", "0.7219956", "0.71485853", "0.71057093", "0.698...
0.0
-1
Altitude in meters, expressed as 1000 (millimeters), AMSL (not WGS84 note that virtually all GPS modules provide the AMSL as well
public void alt_SET(int src) { set_bytes((int)(src) & -1L, 4, data, 14); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getAltitude();", "public double getAltitude();", "public float altitude_amsl_GET()\n { return (float)(Float.intBitsToFloat((int) get_bytes(data, 12, 4))); }", "int getAltitude();", "public double getAltitudeRadians() {\n return altitude * Math.PI / 180d;\n }", "public double getAl...
[ "0.77007896", "0.76252663", "0.75058", "0.73049086", "0.7195085", "0.7077329", "0.7077329", "0.7052403", "0.7017392", "0.7015601", "0.7009589", "0.6991705", "0.6975104", "0.6946691", "0.6943859", "0.6857114", "0.6843675", "0.68176436", "0.6796843", "0.67912894", "0.67684764",...
0.0
-1
Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows for more than 8 servos
public void port_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 4); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "OutputPort createOutputPort();", "public SiLabsC8051F320_USBIO_ServoController() {\r\n interfaceNumber=0;\r\n if(UsbIoUtilities.usbIoIsAvailable){\r\n pnp=new PnPNotify(this);\r\n pnp.enablePnPNotification(GUID);\r\n }\r\n Runtime.getRuntime().addShutdownHook(new...
[ "0.6271281", "0.6146628", "0.6041275", "0.5892511", "0.5862012", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.57109547", "0.5696774", "0.56656766", "0...
0.0
-1
Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows for more than 8 servos
public void port_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 20); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "OutputPort createOutputPort();", "public SiLabsC8051F320_USBIO_ServoController() {\r\n interfaceNumber=0;\r\n if(UsbIoUtilities.usbIoIsAvailable){\r\n pnp=new PnPNotify(this);\r\n pnp.enablePnPNotification(GUID);\r\n }\r\n Runtime.getRuntime().addShutdownHook(new...
[ "0.627156", "0.6147331", "0.6041224", "0.58931917", "0.5860392", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5708989", "0.5694689", "0.5666292", "0.564464", "0...
0.0
-1
Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos
public void port_SET(char src) { set_bytes((char)(src) & -1L, 1, data, 20); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "OutputPort createOutputPort();", "public SiLabsC8051F320_USBIO_ServoController() {\r\n interfaceNumber=0;\r\n if(UsbIoUtilities.usbIoIsAvailable){\r\n pnp=new PnPNotify(this);\r\n pnp.enablePnPNotification(GUID);\r\n }\r\n Runtime.getRuntime().addShutdownHook(new...
[ "0.6405157", "0.6060326", "0.60118705", "0.58611214", "0.58122176", "0.5736774", "0.5732226", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5716181", "0.5667199", ...
0.0
-1
Parameter index. Send 1 to use the param ID field as identifier (else the param id will be ignored), send 2 to disable any existing map for this rc_channel_index
public void param_index_SET(short src) { set_bytes((short)(src) & -1L, 2, data, 2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getParamIndex()\n\t{\n\t\treturn paramIndex;\n\t}", "com.lesen.rpc.protobuf.LesenRPCProto.LesenRPCParameter getParams(int index);", "public void initParamIndexes(Sheet sheet) {\r\n paramIndexes = new HashMap<String, Integer>();\r\n for (int rowNum = 0; rowNum <= sheet.getLastRowNum(); ...
[ "0.60241985", "0.5835422", "0.5714531", "0.5564378", "0.55478203", "0.5428463", "0.5360137", "0.5323631", "0.53138864", "0.5305811", "0.52911764", "0.5289949", "0.52738446", "0.5257864", "0.5185023", "0.5182607", "0.51704454", "0.5155901", "0.51058084", "0.50838304", "0.50651...
0.48252606
41