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
lab 3 checkpoint 1
public CakeController(CakeView newCakeView) { cakeView = newCakeView; cakeModel = cakeView.getCakeModel(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void checkpoint() throws IOException;", "public void initializeGraphPrueba() {\n //path to checkpoit.ckpt HACER\n //To load the checkpoint, place the checkpoint files in the device and create a Tensor\n //to the path of the checkpoint prefix\n //FALTA ******\n\n // si modelo up...
[ "0.6974207", "0.63968855", "0.6139157", "0.58569604", "0.5841955", "0.5765879", "0.5728435", "0.570278", "0.5670228", "0.5664144", "0.5562027", "0.55581594", "0.55316967", "0.5519555", "0.5514777", "0.55051553", "0.54921216", "0.548769", "0.54753494", "0.5464514", "0.5455792"...
0.0
-1
lab 3 checkpoint 2
public void onClick (View v) { //System.out.println("on click"); cakeModel.isLit = false; cakeView.invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void checkpoint() throws IOException;", "public void initializeGraphPrueba() {\n //path to checkpoit.ckpt HACER\n //To load the checkpoint, place the checkpoint files in the device and create a Tensor\n //to the path of the checkpoint prefix\n //FALTA ******\n\n // si modelo up...
[ "0.68669885", "0.63208383", "0.58471835", "0.58332914", "0.56282437", "0.55992925", "0.5587145", "0.5566159", "0.5559105", "0.54951495", "0.5393127", "0.536027", "0.5358139", "0.5313797", "0.53026944", "0.52970964", "0.5296752", "0.5284018", "0.5274095", "0.5265534", "0.52506...
0.0
-1
lab 3 checkpoint 3
@Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { cakeModel.hasCandles = isChecked; cakeView.invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void checkpoint() throws IOException;", "public void initializeGraphPrueba() {\n //path to checkpoit.ckpt HACER\n //To load the checkpoint, place the checkpoint files in the device and create a Tensor\n //to the path of the checkpoint prefix\n //FALTA ******\n\n // si modelo up...
[ "0.6567511", "0.62809163", "0.56895727", "0.56225824", "0.55712056", "0.5544007", "0.5543751", "0.5513608", "0.5472868", "0.5466681", "0.54623497", "0.5438754", "0.5419717", "0.53861445", "0.5382968", "0.5370904", "0.5364154", "0.5363623", "0.5352988", "0.5334065", "0.5318487...
0.0
-1
lab 3 checkpoint 4
@Override public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { cakeModel.numCandles = progress; cakeView.invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void checkpoint() throws IOException;", "public void initializeGraphPrueba() {\n //path to checkpoit.ckpt HACER\n //To load the checkpoint, place the checkpoint files in the device and create a Tensor\n //to the path of the checkpoint prefix\n //FALTA ******\n\n // si modelo up...
[ "0.6496799", "0.6146395", "0.57492507", "0.5739286", "0.56844515", "0.5633415", "0.5633225", "0.563148", "0.56090415", "0.5599009", "0.5586518", "0.5574444", "0.54830974", "0.5477991", "0.5435754", "0.5422894", "0.5417086", "0.5404358", "0.5403096", "0.5396763", "0.5396648", ...
0.0
-1
Constructor, which initializes the grid.
public Grid(int[][] grid) { this.grid = grid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RegularGrid() {\r\n }", "public Grid() {\n }", "public Grid() {\n super(); // create a new JPanel\n grid = new ArrayList<>(); // initialize a list containing the blocks\n ...
[ "0.84232336", "0.83276314", "0.78901803", "0.78308046", "0.775872", "0.775556", "0.77416736", "0.7711065", "0.75817645", "0.75327176", "0.75220895", "0.7440522", "0.7419865", "0.7367029", "0.73660815", "0.7329189", "0.7320923", "0.7285254", "0.725243", "0.72239435", "0.715908...
0.7216967
20
Open new window of appropriate size with panel to paint on the grid.
public static void displayGrid(int[][] grid){ // JFrame to open a new window. JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); final int FRAME_WIDTH = offset + width * (grid[0].length + 1); final int FRAME_HEIGHT = offset + width * (grid.length+2); Grid p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void go(){\n\t\twindow.setSize(28, 80);\n\t\twindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\twindow.setVisible(true);\n\t\twindow.setResizable(false);\n\t\twindow.add(new PewGrid());\n\t\t// Adds a listener for mouse related events\n\t\twindow.addMouseListener(new mouseevent());\n\t\twindow.repaint();\...
[ "0.6712358", "0.66215724", "0.65046406", "0.624728", "0.61908853", "0.61856705", "0.6168563", "0.6086266", "0.60791904", "0.5931132", "0.5928215", "0.59244585", "0.59151477", "0.59132135", "0.5911158", "0.59108776", "0.5863703", "0.5854085", "0.58349043", "0.58325374", "0.582...
0.6540441
2
/ Main method to initialize a matrix and display it.
public static void main(String[] args) { int[][] grid = {{0,1,0,1,1}, {1,2,0,0,1}, {1,1,0,1,2}}; displayGrid(grid); int[][] grid1 = {{0,1,0,1,1,0,1,1}, {1,2,0,0,1,2,2,1}, {1,1,0,1,2,1,1,2}}; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void createAndShowMatrix() {\n JFrame frame = new JFrame(\"Results Matrix\");\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n frame.getContentPane().add(new ResultsMatrix().getRootPanel());\n frame.pack();\n frame.setVisible(true);\n }", "public st...
[ "0.72924197", "0.6953153", "0.6701102", "0.6682332", "0.66813105", "0.65525657", "0.65387726", "0.64768875", "0.64580196", "0.64395845", "0.64166224", "0.6413496", "0.6381122", "0.6365499", "0.6337824", "0.63234127", "0.63055193", "0.6298777", "0.62806493", "0.6270175", "0.62...
0.0
-1
Created by zhang on 2017/6/14.
public interface ST <Key extends Comparable<Key>,Value >{ /*插入新值*/ public void put(Key key,Value value); /*取值*/ public Value get(Key key); /*删除key对应的键值对*/ public void delete(Key key); /*是否包含*/ public boolean contains(Key key); /*是否为空*/ public boolean isEmpty(); /*符号表大小*...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpubli...
[ "0.60064983", "0.5858475", "0.5852091", "0.5831154", "0.58253753", "0.57870483", "0.57870483", "0.57334864", "0.5732593", "0.5731926", "0.5688521", "0.568639", "0.56624585", "0.56552047", "0.56389344", "0.56345785", "0.56176263", "0.56150186", "0.56090343", "0.5607363", "0.56...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { System.out.println("This is commited by GitData"); }
{ "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
makes a 2d array, containing a 1 for when the value of the row and the value of the column, representing 2 vertices, are connected
public static void makeMatrix() { n = Graph.getN(); m = Graph.getM(); e = Graph.getE(); connectMatrix = new int[n][n]; // sets the row of value u and the column of value v to 1 (this means they are connected) and vice versa // vertices are not considered to be conn...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract int[] getConnected(int vertexIndex);", "public int[][] getAdjacencyMatrix();", "private double[] getNeighbors(double[] row) {\n\n double[] neighbors = {0};\n return neighbors;\n }", "public Connection[] getConnections(int x1, int x2, int y1, int y2){\n //TODO Resizeable\n ...
[ "0.6554748", "0.6410131", "0.62851596", "0.60524166", "0.60305303", "0.6028391", "0.59328055", "0.58800507", "0.58558613", "0.5832548", "0.5816914", "0.5800661", "0.5767562", "0.5749492", "0.57332724", "0.5727072", "0.57189137", "0.5714381", "0.56666946", "0.56143343", "0.560...
0.6281526
3
returns an array containing all vertices that are connected to vertex.
public static int[] get(int vertex) { vertex -= 1; int tempConnectedVertices[] = new int[100000]; int j = 0; for (int i = 0; i < n; i++) { if (connectMatrix[vertex][i] == 1) { tempConnectedVertices[j] = i + 1; j++; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract int[] getConnected(int vertexIndex);", "public Vertex[] getVertices() {\n\t\treturn this._vertices.toArray(new Vertex[0]);\n\t}", "public Vertex[] getVertices() {\n return arrayOfVertices;\n }", "public E[] verticesView ()\n {\n E[] allVertices = (E[]) new Object[lastIndex...
[ "0.7627723", "0.72783566", "0.72586656", "0.7088259", "0.7079293", "0.7077425", "0.70317304", "0.6998312", "0.68537384", "0.6811723", "0.67698556", "0.6750745", "0.67108756", "0.6684204", "0.66724575", "0.6661255", "0.66385007", "0.6582748", "0.65641654", "0.6533247", "0.6533...
0.73706573
1
prints the matrix showing all vertices and to which vertices they are connected to.
public static void printMatrix() { for(int i = 0; i < n; i++) { System.out.println(); for(int j = 0; j < n; j++) { System.out.print(connectMatrix[i][j] + " "); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printAdjacencyMatrix();", "public void printEdges(){\n System.out.print(\" |\");\n for(int i=0;i<size;i++)\n System.out.print(\" \"+i+\" \");\n System.out.print(\"\\n\");\n for(int i=0;i<size+1;i++)\n ...
[ "0.81052405", "0.7195068", "0.71880746", "0.7143837", "0.71103245", "0.70921314", "0.7058857", "0.68931115", "0.68653345", "0.6815402", "0.6781705", "0.6775258", "0.677435", "0.6763121", "0.6758587", "0.6647101", "0.6602777", "0.65684783", "0.65502626", "0.65449274", "0.65379...
0.7843287
1
check if its in the irregular Verb
public String getVerbFromSimplePast (String verbForm) { if (simplePastToPresentVerbMAP.containsKey(verbForm)) { return simplePastToPresentVerbMAP.get(verbForm); } else { if (verbForm.endsWith("ed")) { return verbForm.substring(0, verbForm.length() - 2); } else if (verb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean isVerb(AnalyzedTokenReadings[] tokens, int n) {\n return (tokens[n].matchesPosTagRegex(\"(VER:[1-3]:|VER:.*:[1-3]:).*\")\n && !tokens[n].matchesPosTagRegex(\"(ZAL|ADJ|ADV|ART|SUB|PRO:POS).*\")\n && (!tokens[n].hasPosTagStartingWith(\"VER:INF:\") || !tokens[n-1].getToken().eq...
[ "0.67406034", "0.66744953", "0.6126495", "0.5996264", "0.5805029", "0.5653174", "0.5645945", "0.5392913", "0.5390349", "0.5363427", "0.5357918", "0.53250456", "0.5285843", "0.5285653", "0.52438164", "0.52315056", "0.5219511", "0.5206021", "0.5135471", "0.5073785", "0.50496835...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int[] card = new int[n]; for(int i=0; i<card.length; i++) { card[i] = scan.nextInt(); } int result = 0; int temp = 0; for(int i=0; i<n-2; i++) for(int j=i+1; j<n-1...
{ "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
1 + (int)(Math.random() ((13 10) + 1))
public void creationPlateau() { for (int i = 0; i < 10; i++) { int X = rand.nextInt(14); int Y = rand.nextInt(14); if (plateau[X][Y] == null && espacementMonstre(X,Y,plateau)) { int monstreAleatoire = 1 + (int)(Math.random() * ((3 - 1) + 1)); s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int generateRandom() {\n\t\tint random = (int)(Math.random()*((6-1)+1))+1;\n\t\treturn random;\n\t}", "public static int randomNext() { return 0; }", "private int randomNum() {\r\n\t return((int)(Math.random() * 100));\r\n\t }", "private int generateRandomNumber() {\n\t\treturn new SplittableRando...
[ "0.7907575", "0.7871373", "0.77784604", "0.7754688", "0.76987535", "0.76872605", "0.7680415", "0.7556971", "0.7551086", "0.75211084", "0.74865687", "0.7459427", "0.7380437", "0.7378398", "0.73705024", "0.73571295", "0.73548937", "0.7294859", "0.72910535", "0.7279794", "0.7258...
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.menu_detall_recepta, 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
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79041183", "0.7805934", "0.77659106", "0.7727251", "0.7631684", "0.7621701", "0.75839096", "0.75300384", "0.74873656", "0.7458051", "0.7458051", "0.7438486", "0.742157", "0.7403794", "0.7391802", "0.73870087", "0.7379108", "0.7370295", "0.7362194", "0.7355759", "0.73454577...
0.0
-1
Created by Administrator on 2016/10/6.
public interface Login { public User findUser(String username, String userpwd); public boolean insert(User user); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@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\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Ov...
[ "0.61967295", "0.61672753", "0.6052757", "0.6023541", "0.5959459", "0.59410256", "0.59015673", "0.5893263", "0.5889112", "0.5857536", "0.5857536", "0.5856805", "0.58547646", "0.58547646", "0.58278954", "0.58267176", "0.5787648", "0.57702917", "0.5761505", "0.57415295", "0.574...
0.0
-1
Set response content type
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/plain"); // Actual logic goes here. PrintWriter out = response.getWriter(); out.println("Wolken,5534-0848-5100,0299-6830-9164"); t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setContentType(HttpServletResponse response);", "public void setContentType(String type) {\n this.response.setContentType(type);\n }", "private static void setContentTypeHeader(HttpResponse response, File file) {\n\t\tresponse.headers().set(HttpHeaderNames.CONTENT_TYPE, HttpHeaderValues.APPLICAT...
[ "0.85155076", "0.7930608", "0.7492048", "0.734203", "0.73247683", "0.7253214", "0.72322834", "0.71463054", "0.6991876", "0.6971935", "0.69708157", "0.6853685", "0.682858", "0.6819522", "0.6748494", "0.6692843", "0.6492454", "0.6473172", "0.6362589", "0.633632", "0.62639844", ...
0.0
-1
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
public Recipient(Recipient source) { if (source.RecipientId != null) { this.RecipientId = new String(source.RecipientId); } if (source.RecipientType != null) { this.RecipientType = new String(source.RecipientType); } if (source.Description != null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void set(String key, Object value);", "void set(K key, V value);", "public setKeyValue_args(setKeyValue_args other) {\n if (other.isSetKey()) {\n this.key = other.key;\n }\n if (other.isSetValue()) {\n this.value = other.value;\n }\n }", "public abstract void set(String k...
[ "0.6440425", "0.6415443", "0.6145525", "0.61172885", "0.609467", "0.60810256", "0.60422385", "0.5990364", "0.59736174", "0.59564006", "0.58394885", "0.58277106", "0.5790857", "0.5705316", "0.57027704", "0.56880087", "0.5686415", "0.56781363", "0.5608639", "0.5590083", "0.5582...
0.0
-1
Internal implementation, normal users should not use it.
public void toMap(HashMap<String, String> map, String prefix) { this.setParamSimple(map, prefix + "RecipientId", this.RecipientId); this.setParamSimple(map, prefix + "RecipientType", this.RecipientType); this.setParamSimple(map, prefix + "Description", this.Description); this.setParamSim...
{ "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 final void mo51373a() {\n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public ...
[ "0.62574834", "0.6217662", "0.6024768", "0.5982239", "0.5965723", "0.59330684", "0.5920059", "0.58351564", "0.5781645", "0.57749504", "0.57749504", "0.57749504", "0.57749504", "0.57749504", "0.57749504", "0.57737285", "0.57054734", "0.5701363", "0.56510806", "0.56491816", "0....
0.0
-1
/ renamed from: a
private Player m384a(String str, String str2) { String stringBuffer; Player player = null; if (str == this.f340a[20]) { stringBuffer = new StringBuffer().append(str).append(".amr").toString(); str2 = "audio/amr"; } else { stringBuffer = new StringBuffe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
private void m385a(Player player) { try { player.stop(); player.deallocate(); player.close(); if (player == this.f337a) { this.f336a = -1; } } catch (Exception e) { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public static boolean mo101a() { return f335b != 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
private boolean mo102a(int i) { switch (i) { case 0: return true; case 1: return this.f340a != null; case 2: return this.f341b != null; case 3: return (this.f341b == null || this.f340a == null) ? fals...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void m388a() { m385a(this.f337a); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void m389a(int i) { f335b = i; if (!mo102a(f335b)) { f335b = 0; } if (f335b == 0) { m385a(this.f337a); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void playSample(int i, int i2, boolean z) { try { if (i != this.f336a || z || (this.f337a != null && this.f337a.getState() != 400)) { if (this.f337a != null) { m385a(this.f337a); } if ((f335b & 1) == 1) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public final void mo104b() { m385a(this.f337a); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
calculates the width of the healthbar by remaining health of the creature
public void update() { remHpWidth = healthbarWidth * ent.getCurrentHealth() / ent.getMaxHealth(); lostHpWidth = healthbarWidth - remHpWidth; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateHealth() {\n float percentage = (float) game.getPlayerComponent().getHealth() / (float) game.getPlayerComponent().getMaxHealth(); //Possible placed in controller\n healthBar.setWidth(healthBarMaxWidth * percentage);\n }", "float getPercentHealth();", "Float getHealth();", ...
[ "0.7451795", "0.6916663", "0.66805106", "0.6479202", "0.6461622", "0.6429302", "0.6309779", "0.6303994", "0.62995493", "0.6269139", "0.6231213", "0.62235725", "0.6201934", "0.6190981", "0.61777973", "0.6161714", "0.61499155", "0.6149867", "0.6145195", "0.61439365", "0.6143521...
0.7102344
1
Metodos de instancia Constructores Construtor por omissao
public Mencacao() { texto = ""; deUtilizador = ""; data = new GregorianCalendar(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ControladorCoche() {\n\t}", "public contrustor(){\r\n\t}", "public ControladorPrueba() {\r\n }", "public static Construtor construtor() {\n return new Construtor();\n }", "public ContatosResource() {\n }", "public Ctacliente() {\n\t}", "public solicitudControlador() {\n }", ...
[ "0.7148826", "0.7054171", "0.681745", "0.6800402", "0.6691309", "0.6634", "0.65842074", "0.6554129", "0.6518607", "0.65107304", "0.64992684", "0.6474173", "0.64555377", "0.6453748", "0.6451458", "0.6449877", "0.64495486", "0.6439368", "0.64289606", "0.6409438", "0.6405574", ...
0.0
-1
Log.d("picher", "keyCode:" + keyCode + " KeyEvent:" + event.getAction());
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { switch (event.getAction()) { case KeyEvent.ACTION_DOWN: if (keyCode == KeyEvent.KEYCODE_BACK) { if (getSupportFragmentManager().getBackStackEntryCount() > 0) { //Log.d("...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void keyPressed( KeyEvent e ) { }", "@Override\n public void keyboardAction( KeyEvent ke )\n {\n \n }", "@Override\n public void onKeyPressed(KeyEvent event) {\n }", "@Override\n\tpublic void onKey(KeyEvent e) {\n\n\t}", "public void keyPressed(KeyEvent e) { }", "@Overrid...
[ "0.78108156", "0.7776138", "0.7704395", "0.7639495", "0.7577908", "0.7544983", "0.75394315", "0.7528034", "0.75249726", "0.7516199", "0.7516199", "0.7514123", "0.74886733", "0.7473155", "0.73942554", "0.73792106", "0.73706144", "0.73706144", "0.7364796", "0.7364796", "0.73647...
0.0
-1
Constructs a new Identifier with data type and name
public Identificador(String name) { this.name = name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IdentifierType createIdentifierType();", "IdentifiersType createIdentifiersType();", "public DataType(String dataName) {\n /*try {\n basicType = this.getClass().getName();\n idForDataType = this.getClass().getName();\n } catch (Exception ex) {\n Logger.getLogger(D...
[ "0.79293567", "0.7220635", "0.6861054", "0.675147", "0.66572833", "0.6577929", "0.6422592", "0.64003646", "0.63765264", "0.6347865", "0.63394475", "0.6334603", "0.6280992", "0.6277966", "0.6210792", "0.61794126", "0.6153946", "0.61533195", "0.60309505", "0.60208225", "0.60190...
0.5721961
49
Android N crop image
public void cropImage() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { // 마쉬멜로우 이상 버전일 때 grantUriPermission("com.android.camera", mImageCaptureUri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION | Intent.FLAG_GRANT_READ_URI_PERMISSION); } Intent intent = new In...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void cropImage() {\n\t\t// Use existing crop activity.\n\t\tIntent intent = new Intent(\"com.android.camera.action.CROP\");\n\t\tintent.setDataAndType(mImageCaptureUri, IMAGE_UNSPECIFIED);\n\n\t\t// Specify image size\n\t\tintent.putExtra(\"outputX\", 100);\n\t\tintent.putExtra(\"outputY\", 100);\n\n\t\t//...
[ "0.7780176", "0.7632091", "0.7576491", "0.7544942", "0.75050634", "0.7355444", "0.7337931", "0.7021234", "0.6987905", "0.69642735", "0.69508004", "0.6867857", "0.6791765", "0.676063", "0.6717462", "0.6677303", "0.66694707", "0.65518475", "0.6547775", "0.653007", "0.65061504",...
0.7614904
2
/All the variables their getter setters that you wish to store in session. And implementation of all the methods of UserDetails go here.
@Override public Collection<? extends GrantedAuthority> getAuthorities() { // TODO Auto-generated method stub return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "UserDetails getDetails();", "public UserDetails getUserDetails() {\r\n\t\treturn userDetails;\r\n\t}", "public void setUserDetails(UserDetails userDetails) {\r\n\t\tthis.userDetails = userDetails;\r\n\t}", "public abstract void saveUserDetails(User user) throws InlogException;", "public interface User exte...
[ "0.70694053", "0.68115616", "0.67318577", "0.67108226", "0.6664748", "0.65279996", "0.64944506", "0.6368951", "0.6333661", "0.63210726", "0.6299601", "0.6167677", "0.6160815", "0.61305374", "0.6121239", "0.611468", "0.6045895", "0.6031231", "0.60150075", "0.59906363", "0.5977...
0.0
-1
TODO Autogenerated method stub
@Override public String getPassword() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public String getUsername() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean isAccountNonExpired() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean isAccountNonLocked() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean isCredentialsNonExpired() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean isEnabled() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Created by Erwin on 5/15/2017. Holds the methods that will be automatically fired when the corresponding key is pressed
public interface IKeyHandler { void onButtonPressed(); void onButtonReleased(); void onLeftButton(); void onRightButton(); void onBackButton(); void onMenuButton(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void keyPressed(KeyEvent keyPressed)\r\n\t{\r\n\t\t\r\n\t}", "@Override\r\n\tpublic void keyPressed(KeyEvent key) {\r\n\t\t// Invoke method if the key is pressed. \r\n\t\t// Do nothing, not all three methods need to be used. \r\n\t}", "@Override\n\t\t\tpublic void keyPressed(KeyEvent ar...
[ "0.73431593", "0.7282295", "0.720773", "0.72034746", "0.7193964", "0.7164124", "0.7150781", "0.71386313", "0.7120534", "0.70753026", "0.70753026", "0.70753026", "0.70753026", "0.7074603", "0.70599896", "0.7057842", "0.70521563", "0.7048366", "0.7041637", "0.7041637", "0.70416...
0.70570725
16
Initialize the contents of the frame.
private void initialize() { frame = new JFrame("Simple Calculator By Sakib"); frame.setBounds(100, 100, 450, 300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setResizable(false); frame.getContentPane().setLayout(null); frame.setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getRe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BreukFrame() {\n super();\n initialize();\n }", "public MainFrame() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "private void initialize() {\n\t\tthis.setSize(211, 449);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame\");\n\t}", "public SiscobanFrame() {\r\n\t\tsuper();\r...
[ "0.77704835", "0.75652915", "0.7442664", "0.7369101", "0.7366378", "0.7358479", "0.73146075", "0.73096764", "0.72987294", "0.72978777", "0.7278321", "0.72729623", "0.7269468", "0.7269468", "0.7215727", "0.7180792", "0.71682984", "0.7140954", "0.7140953", "0.7126852", "0.71079...
0.0
-1
gets and sets those arrays
public static ArrayList<AdminAccounts> getUsers() { return users; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void makeArrays()\n\t{\n\t\tfor (String key : sub.keySet())\n\t\t\tsub.put(key, ((List<String>) sub.get(key)).toArray(s0));\n\t\tfor (String key : attrs.keySet())\n\t\t\tattrs.put(key, ((List<String>) attrs.get(key)).toArray(s0));\n\t\tfor (String key : defs.keySet())\n\t\t\tdefs.put(key, ((List<String>) d...
[ "0.70732534", "0.68917376", "0.6622145", "0.64448273", "0.6341886", "0.6254695", "0.61753255", "0.61307514", "0.6091738", "0.6089226", "0.60835165", "0.60785264", "0.6065199", "0.60411775", "0.6032386", "0.5979855", "0.5936373", "0.59077156", "0.58999604", "0.5893826", "0.586...
0.0
-1
loads the users array into the new file
public void adminLoad() { try { File file = new File(adminPath); Scanner scanner = new Scanner(file); while (scanner.hasNextLine()){ String data = scanner.nextLine(); String[]userData = data.split(separator); AdminAccounts admin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void writeUsers() {\n try {\n FileOutputStream fileOut = new FileOutputStream(\"temp/users.ser\");\n ObjectOutputStream out = new ObjectOutputStream(fileOut);\n out.writeObject(users);\n out.close();\n fileOut.close();\n } catch (IOExcepti...
[ "0.7235108", "0.68762237", "0.683335", "0.67801565", "0.6691448", "0.6632919", "0.656446", "0.6560339", "0.6547542", "0.6535578", "0.6517599", "0.6482196", "0.64766926", "0.6465155", "0.6428879", "0.64185387", "0.6408429", "0.6407029", "0.6403797", "0.63463354", "0.6333905", ...
0.6731077
4
loads the stock array into the new file
public void stockLoad() { try { File file = new File(stockPath); Scanner scanner = new Scanner(file); while (scanner.hasNextLine()) { String data = scanner.nextLine(); String[] userData = data.split(separator); Stock stock = new...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setStockArray(int i, stockFilePT102.StockDocument.Stock stock);", "void setStockArray(stockFilePT102.StockDocument.Stock[] stockArray);", "stockFilePT102.StockDocument.Stock getStockArray(int i);", "public void loadItems() {\n\t\tArrayList<String> lines = readData();\n\t\tfor (int i = 1; i < lines.size(...
[ "0.6438847", "0.63521063", "0.6259513", "0.59671146", "0.5888103", "0.5841219", "0.5794338", "0.57876986", "0.578253", "0.57803273", "0.57443494", "0.57297677", "0.56962836", "0.5631419", "0.55981535", "0.55885583", "0.554936", "0.5527662", "0.5504943", "0.5502357", "0.549697...
0.7023637
0
Make sure mcmmo is installed.
public Construct exec(Target t, Environment environment, Construct... args) throws ConfigRuntimeException { Static.checkPlugin("mcMMO", t); String name; BukkitMCPlayer player = null; // Get user if online. try { if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void validateMcaDeployedToWorkingDir() {\n\t\tassertTrue(unitTestDir.exists());\n\t\tassertTrue(new File(unitTestDir, \"composition.groovy\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/components/components.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/promoted/promote...
[ "0.56374454", "0.52682865", "0.4988889", "0.48872247", "0.4791279", "0.465429", "0.46340194", "0.46243724", "0.45846826", "0.456157", "0.45055807", "0.4496438", "0.44861534", "0.4476594", "0.4467964", "0.4463681", "0.44584", "0.44117594", "0.44041932", "0.4388551", "0.4381336...
0.0
-1
Make sure mcmmo is installed.
public Construct exec(Target t, Environment environment, Construct... args) throws ConfigRuntimeException { Static.checkPlugin("mcMMO", t); BukkitMCPlayer player = null; String name; // Get user if online. try { if (args.lengt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void validateMcaDeployedToWorkingDir() {\n\t\tassertTrue(unitTestDir.exists());\n\t\tassertTrue(new File(unitTestDir, \"composition.groovy\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/components/components.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/promoted/promote...
[ "0.56374454", "0.52682865", "0.4988889", "0.48872247", "0.4791279", "0.465429", "0.46340194", "0.46243724", "0.45846826", "0.456157", "0.45055807", "0.4496438", "0.44861534", "0.4476594", "0.4467964", "0.4463681", "0.44584", "0.44117594", "0.44041932", "0.4388551", "0.4381336...
0.0
-1
Make sure mcmmo is installed.
public Construct exec(Target t, Environment environment, Construct... args) throws ConfigRuntimeException { Static.checkPlugin("mcMMO", t); BukkitMCPlayer player = null; String name; // Get user if online. try { if (args.lengt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void validateMcaDeployedToWorkingDir() {\n\t\tassertTrue(unitTestDir.exists());\n\t\tassertTrue(new File(unitTestDir, \"composition.groovy\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/components/components.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/promoted/promote...
[ "0.56374454", "0.52682865", "0.4988889", "0.48872247", "0.4791279", "0.465429", "0.46340194", "0.46243724", "0.45846826", "0.456157", "0.45055807", "0.4496438", "0.44861534", "0.4476594", "0.4467964", "0.4463681", "0.44584", "0.44117594", "0.44041932", "0.4388551", "0.4381336...
0.0
-1
Make sure mcmmo is installed.
public Construct exec(Target t, Environment environment, Construct... args) throws ConfigRuntimeException { Static.checkPlugin("mcMMO", t); CArray skills = new CArray(t); for (SkillType skillname : SkillType.values()) { CString skill = ne...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void validateMcaDeployedToWorkingDir() {\n\t\tassertTrue(unitTestDir.exists());\n\t\tassertTrue(new File(unitTestDir, \"composition.groovy\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/components/components.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/promoted/promote...
[ "0.56374454", "0.52682865", "0.4988889", "0.48872247", "0.4791279", "0.465429", "0.46340194", "0.46243724", "0.45846826", "0.456157", "0.45055807", "0.4496438", "0.44861534", "0.4476594", "0.4467964", "0.4463681", "0.44584", "0.44117594", "0.44041932", "0.4388551", "0.4381336...
0.0
-1
Translate the SimpleSSBNNode's for the SSBNNode and add the informations about parents (context node correspondent SSBNNode parents too) The SimpleSSBNNode was created for economize memory in the step of build the network. For posterior steps, how generation of the CPTs, is necessary more informations that the informat...
public static List<SSBNNode> translateSimpleSSBNNodeListToSSBNNodeList( List<SimpleSSBNNode> simpleSSBNNodeList, ProbabilisticNetwork pn) throws SSBNNodeGeneralException, ImplementationRestrictionException{ List<SSBNNode> listSSBNNodes = new ArrayList<SSBNNode...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void buildParentTransformAndSourceNode(TransformNode transformNode, Map<String, Object> parentsIdMap) {\n for (Map.Entry<String, Object> entry : parentsIdMap.entrySet()) {\n String tmpNodeId = entry.getKey();\n //heads shouldn't have self dependency id in it\n if (he...
[ "0.5198795", "0.5190273", "0.5094438", "0.5046065", "0.49138832", "0.48987967", "0.4754354", "0.47524682", "0.46174613", "0.45911807", "0.45756787", "0.45351133", "0.45272014", "0.4522554", "0.45223835", "0.4515389", "0.44711488", "0.44666404", "0.4421413", "0.4417805", "0.44...
0.61906666
0
The objective of this method is separate disconnected networks in singles networks. The argument is a list of nodes that have its relations by the parents attributes. From this relations, the nodes are separated in singles networks where if two nodes have a edge between its, its are in the same single network.
public static List<SimpleSSBNNode>[] individualizeDisconnectedNetworks( List<SimpleSSBNNode> simpleSSBNNodeList){ List<SimpleSSBNNodeNetworkAssociation> nodeNetAssociationList = new ArrayList<SimpleSSBNNodeNetworkAssociation>(); for(SimpleSSBNNode simpleSSBNNode: simpleSSBNNodeList){ SimpleS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void connectAll()\n {\n\t\tint i = 0;\n\t\tint j = 1;\n\t\twhile (i < getNodes().size()) {\n\t\t\twhile (j < getNodes().size()) {\n\t\t\t\tLineEdge l = new LineEdge(false);\n\t\t\t\tl.setStart(getNodes().get(i));\n\t\t\t\tl.setEnd(getNodes().get(j));\n\t\t\t\taddEdge(l);\n\t\t\t\tj++;\n\t\t\t}\n\t\t\ti+...
[ "0.586981", "0.5732888", "0.5464185", "0.54637116", "0.54230434", "0.5420322", "0.5360566", "0.5288852", "0.5272767", "0.5262025", "0.52443314", "0.52207875", "0.52142435", "0.51510197", "0.5144998", "0.51387346", "0.513124", "0.5115323", "0.5099415", "0.5080773", "0.50780743...
0.60376006
0
Create a MSBN from an SSBN.
public static Map<String, Set<SimpleSSBNNode>> convertSsbnIntoMsbn( List<SimpleSSBNNode> nodeList){ Map<String, Set<SimpleSSBNNode>> map = new HashMap<String, Set<SimpleSSBNNode>>(); for (SimpleSSBNNode node : nodeList) { // FIXME - ROMMEL - change the name of the MFragInstance so that it is uniqu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setSsnBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n ssn_ = value;\n onChanged();\n return this;\n }", "public NbMessage(short[] packet) {\n /**\n ...
[ "0.55364317", "0.50920147", "0.48133475", "0.4705484", "0.45739016", "0.4517807", "0.450197", "0.44023487", "0.43437648", "0.43387094", "0.43151206", "0.4314912", "0.43030792", "0.4297578", "0.42951772", "0.42840335", "0.4266479", "0.4243778", "0.42435235", "0.42309925", "0.4...
0.43348813
10
execute the contingency against the given model
void execute(PAModel cmodel) throws PAModelException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void execute() {\n\t\tDMNModel model = getDmnRuntime().getModels().get(0); // assuming there is only one model in the KieBase\n\t\t\n\t\t// setting input data\n\t\tDMNContext dmnContext = createDmnContext(\n\t\t\t\tImmutablePair.of(\"customerData\", new CustomerData(\"Silver\", new BigDecimal(1...
[ "0.54773384", "0.5204191", "0.51757", "0.51595354", "0.51477176", "0.51430136", "0.5061346", "0.50024354", "0.4993972", "0.49535257", "0.49182653", "0.48865214", "0.4871379", "0.48653728", "0.48572847", "0.4814977", "0.47972238", "0.47919542", "0.47857824", "0.4775392", "0.47...
0.6477637
0
String temp = getFirst();
public void removeFirst() { head = head.next; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFirst(){ return this.first; }", "public String getFirst(){\n return this.first;\n }", "T first();", "public String getFirst() {\n if(first == null) return null;\n return first.data;\n }", "String getFirst(int n);", "public A getFirst() { return first; }", "...
[ "0.77700585", "0.73821", "0.6591448", "0.65424514", "0.6533221", "0.64792764", "0.6468445", "0.645474", "0.645474", "0.64286923", "0.6357373", "0.63384455", "0.6291034", "0.6269026", "0.6252248", "0.62241024", "0.61976767", "0.61943287", "0.6186462", "0.61448103", "0.6141715"...
0.0
-1
Function to print results to final document.
public static void usePrintWriter(String fileName, int size, String[] stable) throws IOException { FileWriter fileWriter = new FileWriter(fileName); PrintWriter printWriter = new PrintWriter(fileWriter); for(int i = 0; i < size; i++) { int man = i + 1; int woman = Integer.parseIn...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printToStdout() {\n\t\tfor (int i = 0; i < results.size(); i++) {\n\t\t\tSystem.out.println(results.get(i).toString());\n\t\t}\n\t}", "public void printResults() {\n\t System.out.println(\"BP\\tBR\\tBF\\tWP\\tWR\\tWF\");\n\t System.out.print(NF.format(boundaryPrecision) + \"\\t\" + NF.format(boun...
[ "0.6792432", "0.67856", "0.66741675", "0.6642194", "0.6633082", "0.6563734", "0.64424247", "0.64418316", "0.63905895", "0.6356718", "0.63486636", "0.634198", "0.6296843", "0.6296565", "0.6293709", "0.6289128", "0.62785965", "0.6258788", "0.62229544", "0.62022823", "0.61862195...
0.0
-1
Builds a new Scan operation with the column family and start row key to access. Reads many following keys and respective fields as indicated in recordCount. Also contains the consistency level to preserve in the middleware.
public Scan(String columnFamily, String startRowKey, int recordCount, Set<String> fields, ConsistencyLevel cl) { super(TYPE, columnFamily, startRowKey, cl); this._columnFamily = columnFamily; if(recordCount > 0) this._recordCount = recordCount; this._fields = new FieldsOrValues(fields); this._cl = cl; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public int scan(final String table,\n final String startkey,\n final int recordcount,\n final Set<String> fields,\n final Vector<HashMap<String, ByteIterator>> result) {\n return Ok;\n }", "@Override\n public Status scan(String...
[ "0.5771052", "0.54850066", "0.51217437", "0.5055929", "0.47817314", "0.46572134", "0.46520704", "0.46189147", "0.46037728", "0.45672128", "0.45517224", "0.4538104", "0.45151186", "0.44394648", "0.44218266", "0.43697122", "0.4346586", "0.43078852", "0.42533305", "0.4253102", "...
0.680299
0
Creates a new Insert operation given a data buffer
public Scan(byte[] buffer) throws IOException, ClassNotFoundException { _type = TYPE; deserialize(buffer); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void insert(DataAction data, DataRequest source) throws ConnectorOperationException;", "int insert(TagData record);", "private void addInsertOp() {\n\n if (!mIsNewAlert) {\n mValues.put(AlertContentProvider.KEY_ALERT_ID, mRawAlertId);\n }\n ContentProviderOperati...
[ "0.6108863", "0.59414786", "0.59241533", "0.59143436", "0.5857451", "0.581861", "0.581436", "0.57817084", "0.5775178", "0.5691309", "0.5668775", "0.56594455", "0.56476945", "0.5628072", "0.55848503", "0.5582386", "0.55644625", "0.5561715", "0.5557806", "0.5549226", "0.5540242...
0.0
-1
Creates a new Insert operation given an Inputstream
public Scan(ObjectInputStream ois) throws IOException, ClassNotFoundException { _type = TYPE; deserialize(ois); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "WriteRequest insert(PiEntity entity);", "public StorableInput(InputStream stream) {\n Reader r = new BufferedReader(new InputStreamReader(stream));\n fTokenizer = new StreamTokenizer(r);\n fMap = new Vector();\n }", "public long insert(FFileInputDO FFileInput) throws DataAccessException...
[ "0.5602106", "0.5583541", "0.5382723", "0.5309859", "0.53063357", "0.5240425", "0.5224526", "0.522003", "0.51984173", "0.5149126", "0.5138253", "0.5127769", "0.51175034", "0.5117379", "0.50905913", "0.50767624", "0.5064982", "0.50608003", "0.5048741", "0.50343204", "0.503156"...
0.0
-1
validate operation opValidation(); Create byte array
@Override public byte[] toByteArray() throws OpException { try { return serialize(); } catch(IOException e) { OpException eop = new OpException(e.getMessage()); eop.setStackTrace(e.getStackTrace()); throw eop; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] toBytesFromOperation(){\n if (error != null)\n return ArrayUtils.addAll(type.toBytesFromOperation(), error);\n return type.toBytesFromOperation();\n }", "byte[] getResult();", "private int[] funcCheckUserData(String sOpNum) throws OException\r\n\t{\r\n\r\n \tLog.pri...
[ "0.66052115", "0.64359516", "0.5495314", "0.54634225", "0.5417735", "0.54148763", "0.538056", "0.52704155", "0.52668333", "0.5209505", "0.5171174", "0.5168165", "0.5164167", "0.51614577", "0.51170313", "0.50951326", "0.50938076", "0.5083647", "0.50667787", "0.50630623", "0.50...
0.53922117
6
Creates new form JEncCCInfo
public CryptCCInfo() { initComponents(); bindComponents = new Component[] {lccinfo}; // Pressing ENTER will initiate search. ccinfo.addKeyListener(new KeyAdapter() { public void keyTyped(KeyEvent e) { //System.out.println(e.getKeyChar()); if (e.getKeyChar() == '\n') bOKActionPerformed(null); }}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Compleja createCompleja();", "public QRCodeInfo build() {\n return new QRCodeInfo(this.f104433a, this.f104434b, super.buildUnknownFields());\n }", "public CreateAccout() {\n initComponents();\n showCT();\n ProcessCtr(true);\n }", "void getCompanyInfoFromText() {\r...
[ "0.60965633", "0.5738031", "0.5635638", "0.55537087", "0.55011183", "0.5496117", "0.5484059", "0.53597647", "0.5340442", "0.53370005", "0.528089", "0.5260604", "0.52299625", "0.51952976", "0.5166351", "0.51395553", "0.5129933", "0.5126283", "0.51121646", "0.51115435", "0.5109...
0.57713234
1
End of variables declaration//GENEND:variables
public static void main(String[] args) { JFrame f = new javax.swing.JFrame(); f.setLayout(new java.awt.FlowLayout()); final CryptCCInfo ccinfo = new CryptCCInfo(); f.getContentPane().add(ccinfo); JButton jb = new javax.swing.JButton(); // jb.addActionListener(new java.awt.event.ActionListener() { // public voi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
retry handler > attempts request 5 times
public static HttpRequestRetryHandler getRetryHandler(final String... details) throws JSONException { return new HttpRequestRetryHandler() { @Override public boolean retryRequest(IOException exception, int executionCount, HttpContext httpContext) { LOGGER.info("Request Execution no: " + executionCount); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void doRetry();", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "@Override\n public void onRetry(int retryNo) {\n }", "public DefaultHttpRequestRetryHandler() {\n this(3);\n }", "public void onTryFails(int currentRetryCount, Excep...
[ "0.71369433", "0.6977609", "0.6947168", "0.69419503", "0.6908254", "0.68581015", "0.6839008", "0.6839008", "0.6839008", "0.6817924", "0.67930454", "0.67505157", "0.67505157", "0.67505157", "0.6722569", "0.6711378", "0.6711378", "0.6711378", "0.6711378", "0.6711378", "0.671137...
0.62955004
34
constructor to create remote object
protected MVC_model() throws RemoteException { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CreateRemoteClassic<Msg, Ref> create();", "public GXWebObjectBase(int remoteHandle, ModelContext context)\n\t{\n\t\tsuper(remoteHandle, context);\n\t\tcastHttpContext();\n\t}", "protected abstract CreateRemoteClassic<Msg, Ref> make_create();", "public LocalObject() {}", "StatefulRemoteObjectB create...
[ "0.6873003", "0.6446098", "0.6423014", "0.63657415", "0.6254997", "0.6208979", "0.6157102", "0.6147803", "0.60231715", "0.6016782", "0.5984253", "0.5978706", "0.5939834", "0.5939834", "0.5939834", "0.5935202", "0.5922992", "0.5910223", "0.5887032", "0.5848115", "0.583442", ...
0.0
-1
login Method Allows users to login into the system by offering username and password. only accept two accounts at the present: Administrator: username: admin password: admin Customer: username: josephzelo password: asdasd
public String processLogin(Credential credential) { String result = null; System.out.println("input username is:" + credential.getUname()); System.out.println("input password is:" + String.valueOf(credential.getPwd())); if (credential.getUname().equalsIgnoreCase("josephzelo")){ System.out.p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void login(String username,String password){\n\n }", "void login(String user, String password);", "protected void login() {\n\t\t\r\n\t}", "public void login() {\n if (!areFull()) {\n return;\n }\n\n // Get the user login info\n loginInfo = getDBQuery(nameFie...
[ "0.80840313", "0.78792185", "0.7818091", "0.77454144", "0.77433854", "0.773642", "0.767734", "0.7598817", "0.7584325", "0.7568669", "0.7562735", "0.7504671", "0.7487688", "0.7486925", "0.74501395", "0.74453723", "0.7428172", "0.74270463", "0.7416753", "0.7404089", "0.7380821"...
0.0
-1
customer Ryan: Please include usefull comments in each file. FIX: display all products selling in the market place It pulls all selling products information from db, return to the customer a array of product objects.
public String[] browse(Session session) throws RemoteException { String[] items = {"a", "b"}; System.out.println("Server model invokes browse() method"); return items; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showAllProducts() {\n try {\n System.out.println(Constants.DECOR+\"ALL PRODUCTS IN STORE\"+Constants.DECOR_END);\n List<Product> products = productService.getProducts();\n System.out.println(Constants.PRODUCT_HEADER);\n for (Product product : products)...
[ "0.7577135", "0.7021316", "0.70124215", "0.69745475", "0.69546497", "0.6867897", "0.6848583", "0.6843438", "0.6824915", "0.6786073", "0.6778932", "0.6771293", "0.6767236", "0.6757329", "0.67570585", "0.67568564", "0.67568564", "0.67568564", "0.6682708", "0.6678567", "0.664740...
0.0
-1
It pulls presaved products of a user from db, return to client as a array of product objects.
public String[] loadCart(Session session) throws RemoteException{ System.out.println("Server model invokes loadCart() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Product> retrieveProducts();", "public ArrayList<Product> loadProducts(String username ,String userType);", "public List<Product> getProductsBought(int idUser){\n\t\treturn orderDetailRepository.getProductsBought(idUser);\n\t}", "public List<Product> getProductList(){\n List<Product> productList ...
[ "0.6789897", "0.6602689", "0.65826833", "0.6526933", "0.63504344", "0.63486016", "0.6329872", "0.62143046", "0.6172346", "0.6161462", "0.60752916", "0.60392267", "0.60392267", "0.60392267", "0.60270333", "0.6021346", "0.60075694", "0.6005219", "0.5971679", "0.5971679", "0.596...
0.0
-1
It performs the placing order and transaction processes. It updates the product quantities, creates a record to save products and related purchasing information.
public String[] checkOut(Session session) throws RemoteException { System.out.println("Server model invokes checkOut() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(dependsOnMethods = \"checkSiteVersion\")\n public void createNewOrder() {\n actions.openRandomProduct();\n\n // save product parameters\n actions.saveProductParameters();\n\n // add product to Cart and validate product information in the Cart\n actions.addToCart();\n ...
[ "0.63509446", "0.62939656", "0.61852676", "0.61264116", "0.61092776", "0.6107946", "0.6029199", "0.6017687", "0.5995463", "0.59531754", "0.5943621", "0.59156317", "0.5912285", "0.5902711", "0.58971965", "0.58770525", "0.5862862", "0.5853725", "0.58372796", "0.5828116", "0.582...
0.0
-1
It pulls the order(s) of a client from db, return to client as a array of orders.
public String[] viewOrder(Session session) throws RemoteException{ System.out.println("Server model invokes viewOrder() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ArrayList<Order> getOrders(Client client) {\n\t\tArrayList<Order> temp = new ArrayList<Order>();\n\t\tString request = \"SELECT * FROM `order` WHERE `client` = ?\";\n\t\ttry {\n\t\t\tPreparedStatement stmt = DBConnection.getConnection().prepareStatement(request);\n\t\t\tstmt.setInt(1, client.getId())...
[ "0.8141547", "0.7912394", "0.78243726", "0.7735207", "0.7596595", "0.7508965", "0.7503332", "0.73672056", "0.73096526", "0.71593624", "0.7146841", "0.7087098", "0.7028352", "0.7010574", "0.699029", "0.6874941", "0.67575496", "0.67418474", "0.67064947", "0.6686786", "0.6649436...
0.0
-1
It allow a customer to update his/her personal information in db.
public String[] updateInfo(Session session) throws RemoteException{ System.out.println("Server model invokes updateInfo() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update(Customer myCust){\n }", "public void updateCustomer(String name, String dob, String gender, String number, String email, String address, String password, Boolean promo, Integer reward) throws SQLException {\n st.executeUpdate(\"UPDATE IOTBAY.CUSTOMER SET \"\n + \"NAME ='...
[ "0.71097076", "0.71027094", "0.7070388", "0.7024756", "0.6953242", "0.69285446", "0.68843275", "0.68843275", "0.68684", "0.6867192", "0.68477774", "0.6825174", "0.6815751", "0.6796138", "0.6790545", "0.67255735", "0.6698901", "0.66284823", "0.661643", "0.65984505", "0.6570032...
0.0
-1
administrator It pulls all selling products information from db, return to the admin a array of product objects.
public String[] browseAdmin(Session session) throws RemoteException{ System.out.println("Server model invokes browseAdmin() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Product> returnProducts() throws FlooringMasteryDaoException {\n\n List<Product> products = dao.loadProductInfo();\n return products;\n\n }", "public List<Product> getProductList(){\n List<Product> productList = mongoDbConnector.getProducts();\n return productList;\n ...
[ "0.76952547", "0.73705184", "0.73365533", "0.7289975", "0.72761726", "0.72563094", "0.7204546", "0.7191915", "0.7174261", "0.7170048", "0.7150367", "0.71406555", "0.71291375", "0.7108644", "0.71081454", "0.71012205", "0.71012205", "0.7067395", "0.70527494", "0.70463705", "0.7...
0.0
-1
It allows the admin to add a product into db.
public String[] addItem(Session session) throws RemoteException{ System.out.println("Server model invokes addItem() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addProduct()\n {\n System.out.println(\"|➕| Add new Product:\\n\");\n System.out.println(\"|➕| Enter ID\\n\");\n int id = Integer.parseInt(reader.getInput());\n System.out.println(\"|➕| Enter Name\\n\");\n String name = reader.getInput();\n manager.addProdu...
[ "0.7864169", "0.76446605", "0.7610428", "0.7580678", "0.7560613", "0.75433975", "0.75310725", "0.7527964", "0.745459", "0.73784304", "0.7343373", "0.73208976", "0.72774196", "0.72614396", "0.7195857", "0.7186702", "0.7146282", "0.7120981", "0.7074905", "0.7044494", "0.7028412...
0.0
-1
It allows the admin to remove a product from db.
public String[] removeItem(Session session) throws RemoteException{ System.out.println("Server model invokes removeItem() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeProduct(Product product);", "public void deleteProduct(Product product) throws BackendException;", "private void removeProduct(int id)\n {\n manager.removeProduct(id);\n }", "void deleteProduct(Integer productId);", "private void deleteProduct(HttpServletRequest request, HttpServlet...
[ "0.7858711", "0.76052344", "0.7354437", "0.732776", "0.71993273", "0.7168968", "0.7141353", "0.71307963", "0.71048564", "0.7093507", "0.7085703", "0.708275", "0.7042613", "0.7039563", "0.7037512", "0.69675744", "0.694888", "0.6926489", "0.69047385", "0.6861806", "0.68597144",...
0.0
-1
It allows the admin to update a product from db.
public String[] updateItem(Session session) throws RemoteException { System.out.println("Server model invokes updateItem() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Product updateProductInStore(Product product);", "Product editProduct(Product product);", "ProductView updateProduct(int productId, EditProductBinding productToEdit) throws ProductException;", "Product updateProductById(Long id);", "@Override\r\n\tpublic void ManageProduct() {\n\t\tint id = this.view.enter...
[ "0.7920602", "0.7764814", "0.76549494", "0.7582181", "0.7580777", "0.75737137", "0.7572651", "0.75572646", "0.75118893", "0.748919", "0.7486551", "0.7466908", "0.741303", "0.72931564", "0.7266725", "0.7244836", "0.7153725", "0.71360266", "0.71245307", "0.7111777", "0.710591",...
0.0
-1
It allows the admin to add an admin account
public String[] addAdmin(Session session) throws RemoteException { System.out.println("Server model invokes addAdmin() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addAdmin(Admin admin);", "public void add_admin(String admin_id, String admin_name, String admin_address, String admin_designation,\n\t\t\t double salary, String contact, boolean status_vacancy, String password,String admin_project_key)\n {\n\t\t\n \tadm_list.insert(new Admin(admin_id,a...
[ "0.77224296", "0.71481866", "0.7090286", "0.69374645", "0.68581504", "0.6794328", "0.6776168", "0.6696005", "0.66872424", "0.66820973", "0.6645054", "0.65935504", "0.657288", "0.64645565", "0.6428298", "0.6415303", "0.63920677", "0.6380099", "0.6376671", "0.6370243", "0.63667...
0.5974569
49
It allows tea admin to update its information
public String[] updateInfoAdmin(Session session) throws RemoteException { System.out.println("Server model invokes updateInfoAdmin() method"); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void update(Metodologia metodologia,String name) {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void editTea(Teacher teacher) {\n\r\n\t}", "@Override\r\n\tpublic void adminSelectUpdate() {\n\t\t\r\n\t}", "public void updateEmpresa() {\n Empresa empresa = empresaDAO.load(config.getAppl...
[ "0.6460287", "0.6453728", "0.6379001", "0.6280015", "0.62230736", "0.62113184", "0.60949385", "0.6025595", "0.6009724", "0.5989861", "0.59711087", "0.5965204", "0.5959411", "0.59483665", "0.59366673", "0.5913924", "0.59127176", "0.5908929", "0.59060454", "0.5896373", "0.58890...
0.5974563
10
Created by Administrator on 2017/10/12.
public interface CustomService { Result getMenu(); Result addOrUpdCustom(Custom custom); Result delCustom(String customIds); PageInfo getCustomList(PageInfo pageInfo, Map<String, String> param); Result getCustomById(String id); PageInfo getAuthList(PageInfo pageInfo, Map<String, Object> par...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@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\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Ov...
[ "0.62284374", "0.6088242", "0.58918273", "0.58581346", "0.5842625", "0.58402973", "0.5749911", "0.57482475", "0.57318026", "0.5723818", "0.57174355", "0.57174355", "0.57152575", "0.5712185", "0.5712185", "0.5705603", "0.5672615", "0.56683105", "0.5665229", "0.5658699", "0.564...
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.menu_detalhe, menu); if(firebaseID == null){ MenuItem item = menu.findItem(R.id.delContato); item.setVisible(false); } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()){ case R.id.salvarContato: salvar(); return true; case R.id.delContato: mFireBaseRef.child(firebaseID).removeValue(); Toast....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79042155", "0.7806028", "0.77664185", "0.77272826", "0.7631844", "0.7621488", "0.75845605", "0.753064", "0.7487905", "0.74575514", "0.74575514", "0.74386317", "0.7421903", "0.7403247", "0.7391723", "0.7386928", "0.73795277", "0.73705643", "0.73629", "0.7356027", "0.7345714...
0.0
-1
Write your solution here
public String reverse(String input) { char[] carr = input.toCharArray(); reverse(carr, 0 ,carr[carr.length - 1]); return String.valueOf(carr); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateSolution() {\n\t\t// TODO\n\n\t}", "public void solution() {\n\t\t\n\t}", "public void findSolution() {\n\n\t\t// TODO\n\t}", "public static String solution() {\r\n\t\treturn \"73162890\";\r\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(solution());\r\n\t}", ...
[ "0.75719035", "0.74944717", "0.6431267", "0.6300665", "0.6254568", "0.61911374", "0.60910475", "0.6049933", "0.60051423", "0.6002172", "0.5965524", "0.5956326", "0.5955198", "0.59388304", "0.5937435", "0.5905292", "0.5895413", "0.5895027", "0.58842075", "0.58707607", "0.58511...
0.0
-1
corner case length==1, n==1
public ListNode removeNthFromEnd(ListNode head, int n){ if ( head == null || head.next == null ) //'n will always be valid.' mean 1<= n <= length? return null; //core logic ListNode dummy = new ListNode(-1); dummy.next = head; ListNode slow = dummy; // slow is the node just before the one to ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int length(int n)\n {\n int w = n;\n if(w == 1)\n {\n return 1;\n } \n else\n {\n return 1 + length(next(w));\n }\n }", "public static int hailstoneLength(int n) {\n /* to be implemented in part (a) */\n int length = 0;\n while (n != 1){\n ...
[ "0.58951163", "0.5784699", "0.57280207", "0.5630809", "0.5623601", "0.5618722", "0.5612559", "0.55889565", "0.5507712", "0.5497835", "0.5485132", "0.54670733", "0.5461654", "0.5442922", "0.541435", "0.54120404", "0.540673", "0.53980976", "0.53848255", "0.5384373", "0.5365894"...
0.0
-1
Explicit wait: 1.WebDriverWait 2.Fluent Wait a.timeout b.polling period c.ignoringException d.until when to use: For handling ajax components
public static void main(String[] args) { WebDriverManager.chromedriver().setup(); WebDriver driver = new ChromeDriver(); driver.get("https://classic.crmpro.com/"); final By username = By.name("username"); By password = By.name("password"); By loginBtn = By.xpath("//input[@value='Login']"); waitForEl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ExplicitWait extends SearchScope{\n default Element await(Supplier<By> by) {\n return await((SearchScope e) -> e.findElement(by));\n }\n\n default void await(Predicate<SearchScope> predicate) {\n await((Function<SearchScope, Boolean>) predicate::test);\n }\n\n default ...
[ "0.73477423", "0.7241103", "0.67322934", "0.66321236", "0.6623632", "0.6596959", "0.65848637", "0.658377", "0.65359247", "0.65115786", "0.64975554", "0.6471354", "0.64681476", "0.64674085", "0.6464844", "0.6428357", "0.6419869", "0.64030164", "0.6375431", "0.63473666", "0.634...
0.0
-1
EtherScan API Descriptions <a href="
public interface AccountAPI { /** * Address ETH balance * * @param address get balance for * @return balance * @throws EtherScanException parent exception class */ @NotNull Balance balance(@NotNull String address) throws EtherScanException; /** * ERC20 token balance...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void renderDetails(Output out, Link link) throws IOException;", "public URL getHtmlDescription();", "String getDescribe();", "String getDescribe();", "java.lang.String getDescribe();", "@Override\n\t\tpublic String toString() {\n\t\t\treturn \"下载链接:\"+showLink;\n\t\t}", "public URL getInfoURL() ...
[ "0.6197647", "0.6012329", "0.5949245", "0.5949245", "0.5847086", "0.57751894", "0.5764936", "0.57607836", "0.5665687", "0.5655975", "0.5612792", "0.5612792", "0.5612792", "0.5612792", "0.5612792", "0.5612792", "0.5612792", "0.5612792", "0.5612792", "0.56027865", "0.55870765",...
0.0
-1
ERC20 token balance for address
@NotNull TokenBalance balance(@NotNull String address, @NotNull String contract) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void printAccountBalance(String address){\n }", "@Test\n public void SameTokenNameCloseInvalidAddress() {\n dbManager.getDynamicPropertiesStore().saveAllowSameTokenName(0);\n InitExchangeBeforeSameTokenNameActive();\n long exchangeId = 1;\n String firstTokenId = \"abc\";\n long firstTokenQ...
[ "0.61214745", "0.5442586", "0.53827524", "0.5285239", "0.52687657", "0.5210208", "0.5210208", "0.5187308", "0.5179996", "0.51515806", "0.5145167", "0.512685", "0.5096538", "0.5085066", "0.50751907", "0.50422436", "0.50313616", "0.50299513", "0.49953985", "0.49909723", "0.4977...
0.7256822
0
Maximum 20 address for single batch request If address MORE THAN 20, then there will be more than 1 request performed
@NotNull List<Balance> balances(@NotNull List<String> addresses) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadMoreAddresses() {\n if(!isLastPage) {\n isLoading = true;\n LobDemoApp.getLobDemoClient().getAddresses(mLayoutManager.getItemCount(), PAGE_SIZE, this, new JsonHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Head...
[ "0.6025443", "0.58001703", "0.5761269", "0.5698265", "0.5657924", "0.55687255", "0.5525691", "0.5525691", "0.54273045", "0.53788966", "0.5361527", "0.53592116", "0.5349677", "0.5327951", "0.5313908", "0.5312477", "0.52913827", "0.5275841", "0.5249246", "0.5245216", "0.5231346...
0.0
-1
All txs for given address
@NotNull List<Tx> txs(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxInternal> txsInternal(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc721> txsErc721(@NotNull String ...
[ "0.68307215", "0.6115226", "0.5884739", "0.5772939", "0.5531937", "0.5370782", "0.5338363", "0.5307583", "0.5270597", "0.52335244", "0.5199351", "0.518301", "0.517238", "0.5106821", "0.51031923", "0.5060269", "0.5030228", "0.49829155", "0.496936", "0.49516228", "0.49421763", ...
0.7053749
0
All internal txs for given address
@NotNull List<TxInternal> txsInternal(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<Tx> txs(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxInternal> txsInternalByHash(@NotNull String txhash...
[ "0.6536819", "0.58203787", "0.579807", "0.55295444", "0.5526538", "0.5490172", "0.53642374", "0.5363516", "0.5357989", "0.52434045", "0.5162591", "0.5149976", "0.50066906", "0.49628887", "0.49408606", "0.49351767", "0.48660457", "0.48562402", "0.4807395", "0.4800363", "0.4791...
0.7087495
0
All internal tx for given transaction hash
@NotNull List<TxInternal> txsInternalByHash(@NotNull String txhash) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Transaction getTransaction(NulsDigestData txHash) {\n return null;\n }", "private void transactionHash(int i, HashTreeNode htn, String transaction) {\n\t\tVector itemsetList = new Vector();\n\t\tint length;\n\t\tString temp;\n\t\tItemsetNode tempNode = new ItemsetNode();\t\t\n\t\t...
[ "0.65566754", "0.59645885", "0.55532134", "0.5427481", "0.54106987", "0.53729975", "0.534296", "0.534022", "0.53345394", "0.5310721", "0.52917504", "0.52553445", "0.5222752", "0.52190804", "0.51919603", "0.5182121", "0.51424474", "0.5078079", "0.5068935", "0.50375044", "0.502...
0.7483831
0
All ERC20 token txs for given address
@NotNull List<TxErc20> txsErc20(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<Tx> txs(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxInternal> txsInternal(@NotNull String address, lon...
[ "0.6578457", "0.63740367", "0.63718665", "0.629876", "0.62776583", "0.6260949", "0.57160217", "0.5289427", "0.5241821", "0.51722187", "0.49511677", "0.49313334", "0.4917054", "0.48914167", "0.4823283", "0.48161685", "0.48022795", "0.476753", "0.47489625", "0.47373536", "0.471...
0.68036443
0
All ERC20 token txs for given address and contract address
@NotNull List<TxErc20> txsErc20(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock)\n throws EtherScanException;", "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n ...
[ "0.7017414", "0.6931463", "0.68677264", "0.6603925", "0.6434892", "0.64120126", "0.6346777", "0.57479435", "0.5505857", "0.5403556", "0.5357293", "0.531477", "0.53020936", "0.51969314", "0.5055334", "0.4936591", "0.48929587", "0.4878589", "0.48576406", "0.48265213", "0.479956...
0.6845576
3
All ERC721 (NFT) token txs for given address
@NotNull List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock)\n throws EtherScanException;", "@NotNull\n List<Tx> txs(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc1...
[ "0.7152389", "0.6795158", "0.6524173", "0.6424524", "0.63005066", "0.6086244", "0.58309996", "0.5304834", "0.52032167", "0.5147329", "0.50936204", "0.5074344", "0.48291612", "0.47886845", "0.4773262", "0.47700232", "0.4761369", "0.4751397", "0.47383618", "0.47155795", "0.4712...
0.7342023
0
All ERC721 (NFT) token txs for given address
@NotNull List<TxErc721> txsErc721(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<Tx> txs(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc1155> txsErc1155(@NotNull String address, long ...
[ "0.7342023", "0.6795158", "0.6524173", "0.6424524", "0.63005066", "0.6086244", "0.58309996", "0.5304834", "0.52032167", "0.5147329", "0.50936204", "0.5074344", "0.48291612", "0.47886845", "0.4773262", "0.47700232", "0.4761369", "0.4751397", "0.47383618", "0.47155795", "0.4712...
0.7152389
1
All ERC721 (NFT) token txs for given address
@NotNull List<TxErc1155> txsErc1155(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock)\n throws EtherScanException;", "@NotNull\n ...
[ "0.7342023", "0.7152389", "0.6795158", "0.6424524", "0.63005066", "0.6086244", "0.58309996", "0.5304834", "0.52032167", "0.5147329", "0.50936204", "0.5074344", "0.48291612", "0.47886845", "0.4773262", "0.47700232", "0.4761369", "0.4751397", "0.47383618", "0.47155795", "0.4712...
0.6524173
3
All ERC721 (NFT) token txs for given address
@NotNull List<TxErc1155> txsErc1155(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, long startBlock, long endBlock) throws EtherScanException;", "@NotNull\n List<TxErc721> txsErc721(@NotNull String address, @NotNull String contractAddress, long startBlock, long endBlock)\n throws EtherScanException;", "@NotNull\n ...
[ "0.7342023", "0.7152389", "0.6795158", "0.6524173", "0.6424524", "0.63005066", "0.58309996", "0.5304834", "0.52032167", "0.5147329", "0.50936204", "0.5074344", "0.48291612", "0.47886845", "0.4773262", "0.47700232", "0.4761369", "0.4751397", "0.47383618", "0.47155795", "0.4712...
0.6086244
6
All blocks mined by address
@NotNull List<Block> blocksMined(@NotNull String address) throws EtherScanException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Block> blocks();", "private void addBlockAddresses(MemoryBlockDB block, boolean addToAll) {\n\t\tAddress start = block.getStart();\n\t\tAddress end = block.getEnd();\n\t\tif (addToAll) {\n\t\t\tallAddrSet.add(start, end);\n\t\t}\n\t\tif (block.isExternalBlock()) {\n\t\t\taddrSetView.externalBlock.add(start,...
[ "0.6462699", "0.6278456", "0.6007472", "0.5981974", "0.59254754", "0.5863301", "0.57828826", "0.5772644", "0.5752266", "0.56827605", "0.56663257", "0.5660801", "0.5628569", "0.5583668", "0.556882", "0.5544954", "0.5542784", "0.55413663", "0.5524033", "0.5518783", "0.5499514",...
0.74490136
0
ViewHolder viewHolder = (ViewHolder) view.getTag();
@Override public void bindView(View view, Context context, Cursor cursor) { int poster_path_index = cursor.getColumnIndex(MovieContract.MovieDetailsEntry.COLUMN_POSTER_PATH); String poster_path = cursor.getString(poster_path_index); String baseURL = "http://image.tmdb.org/t/p/w185" + poster_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ViewHolder (View view){\n super(view);\n jView = view;\n //tvJoin = (TextView) view.findViewById(R.id.tvGroup);\n tvGroupTitle = view.findViewById(R.id.tvGroupTitle);\n }", "public ViewHolder(View itemView) {\n super(itemView);\n h...
[ "0.7022531", "0.68868315", "0.68061197", "0.67981803", "0.6740043", "0.6731442", "0.6725315", "0.66615283", "0.6592569", "0.65638644", "0.653383", "0.6518066", "0.65180194", "0.6503588", "0.6487254", "0.6439117", "0.64112395", "0.6379744", "0.6343791", "0.6337387", "0.633481"...
0.0
-1
if we're dirty means we should draw stuff on screen
@Override public void updateScreen() { if (dirty) { Alkahestry.logger.info(((ContainerMoleculeSplitter) container).moleculeSplitterTileEntity.progress); // String name = String.valueOf(((ContainerMoleculeSplitter) container).moleculeSplitterTileEntity.progress); // fontRend...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void flushDraw() {\n dirtyD = true;\n modelRoot.incrementNumberOfDirtyDNodes();\n }", "void updateDrawing() {\n filling = modelRoot.getCDraw().getFilling(this);\n dirtyBufF = true;\n tooltip = modelRoot.getCDraw().getTooltip(this);\n dirtyBufT = true;\n title =...
[ "0.75382847", "0.7484426", "0.72491366", "0.7055619", "0.69898653", "0.68135256", "0.68058485", "0.66609704", "0.6651796", "0.66347337", "0.6564371", "0.64976424", "0.6421826", "0.6410406", "0.63664615", "0.63557047", "0.6340833", "0.631742", "0.6297349", "0.6295387", "0.6288...
0.5962862
50
String name = I18n.format(ModBlocks.blocks.get(ModBlocks.MOLECULE_SPLITTER).getUnlocalizedName() + ".name");
@Override protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String name(){\n return \"10.Schneiderman.Lorenzo\"; \n }", "public String getName() {\n/* 872 */ return CraftChatMessage.fromComponent(getHandle().getDisplayName());\n/* */ }", "public String getUnlocalizedName(ItemStack itemStack) \n\t{\n\t\tint i = itemStack.getItemDamage();\n\...
[ "0.6372251", "0.61614376", "0.6137521", "0.61197853", "0.6103674", "0.6044417", "0.6027388", "0.5991453", "0.5984788", "0.59089565", "0.5892659", "0.5891246", "0.5882234", "0.5821755", "0.5820323", "0.58126986", "0.5811469", "0.5800419", "0.57941777", "0.5790424", "0.57560825...
0.0
-1
calls "applyDefinitionElement" with "comp.getName()"
public Element applyDefinitionElement (final Component comp, final XmlProxyConvertible<?> proxy) throws RuntimeException { return applyDefinitionElement((null == comp) ? null : comp.getName(), comp, proxy); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ElementDefinition createElementDefinition();", "public void setElementName(SC elementName) {\n if(elementName instanceof org.hl7.hibernate.ClonableCollection)\n elementName = ((org.hl7.hibernate.ClonableCollection<SC>) elementName).cloneHibernateCollectionIfNecessary();\n _elementName = elementName;\n...
[ "0.5640461", "0.5285542", "0.5270975", "0.52486867", "0.51932067", "0.51679754", "0.5073465", "0.50461274", "0.5044901", "0.50333995", "0.4989078", "0.49794114", "0.49670342", "0.49664798", "0.4959447", "0.4940293", "0.49380374", "0.4923923", "0.49238324", "0.4918752", "0.490...
0.71216947
0
Private method for generating all possible global states for a given list of nodes
private List<GlobalState> generateGlobalStates(List<Node> nodes) { // Creating a list of global states with an empty state List<GlobalState> gStates = new ArrayList(); gStates.add(new GlobalState(nodes,binding)); // Generating all possible global states for(Node n : node...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateSteps() {\n for (GlobalState g : this.globalStates) {\n List<String> faults = g.getPendingFaults(); \n if(faults.isEmpty()) {\n // Identifying all available operation transitions (when there \n // are no faults), and adding them as ste...
[ "0.6378421", "0.6108966", "0.603453", "0.5870495", "0.58280605", "0.5815589", "0.5765391", "0.5747859", "0.5726776", "0.5582074", "0.55586666", "0.5555815", "0.5441169", "0.5417056", "0.5394623", "0.53944707", "0.5381242", "0.5354386", "0.5350038", "0.5342174", "0.5339068", ...
0.837192
0