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
end of the method
public boolean updateRatingByBookId (String newRate, int bookId) { String stmnt = String.format( "UPDATE book " + "SET rating = %d " + "WHERE book_ID = %d", newRate, bookId); //Test! System.out.println("Statement: \n" + stmnt); int re...
{ "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\r\n protected void end() {\r\n\r\n }", "@Override\n\t\t\tpublic void end() {\n\t\t\t\t\n\t\t\t}", "@Override\n public void perish() {\n \n }", "public void gored() ...
[ "0.6991654", "0.68388873", "0.6755269", "0.674208", "0.6627589", "0.65728456", "0.6569988", "0.65495783", "0.65220946", "0.6514692", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", ...
0.0
-1
end of the method
public Book[] getRecommendBook(){ String stmnt = String.format( "SELECT * FROM book " ); ResultSet rs = executeQuery(stmnt); ArrayList<Book> arr = resultSetPacker(rs, Book.class); return arr.toArray(new Book[arr.size()]); }
{ "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\r\n protected void end() {\r\n\r\n }", "@Override\n\t\t\tpublic void end() {\n\t\t\t\t\n\t\t\t}", "@Override\n public void perish() {\n \n }", "public void gored() ...
[ "0.6991654", "0.68388873", "0.6755269", "0.674208", "0.6627589", "0.65728456", "0.6569988", "0.65495783", "0.65220946", "0.6514692", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", "0.6514359", ...
0.0
-1
This is the common interface for all WebSocket messages. Note: Use this interface in the application level only and only if the user needs only the channel details of a WebSocket message otherwise use the extensions of this interface.
public interface WebSocketMessage { /** * Retrieve the target of the application as a String. * * @return the target of the application. */ String getTarget(); /** * Check whether the message is coming from server connector or client connector. * * @return true if the me...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onMessage(WebSocket webSocket, ByteString bytes) {\n }", "public void onMessage(WebSocket conn, String message);", "@Override\n public void onMessage(WebSocket webSocket, String text) {\n Message msg=new Message();\n msg.what=0x666;\n ...
[ "0.73918873", "0.70866746", "0.70206475", "0.7016645", "0.6976152", "0.6923133", "0.68981016", "0.66634387", "0.6576386", "0.65760434", "0.65724766", "0.65194553", "0.6214973", "0.6188075", "0.6149522", "0.60786915", "0.60701936", "0.5942596", "0.5925411", "0.591324", "0.5893...
0.82257843
0
Retrieve the target of the application as a String.
String getTarget();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getTarget() {\n return target;\n }", "public String getTarget() {\n return target;\n }", "public String getTarget() {\n return target;\n }", "public String getTarget()\r\n\t{\r\n\t\treturn _target;\r\n\t}", "public String getTarget() {\n return t...
[ "0.748561", "0.71715313", "0.71715313", "0.7159929", "0.7071812", "0.7051485", "0.7051485", "0.70125496", "0.6904676", "0.68057215", "0.67273253", "0.6648154", "0.64877486", "0.6486418", "0.64419127", "0.6397684", "0.63340795", "0.6308636", "0.6305811", "0.6275391", "0.623225...
0.7179036
2
Check whether the message is coming from server connector or client connector.
boolean isServerMessage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isConnected() {\n\t\treturn (this.serverConnection!=null); \n }", "private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }", "private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }", "boo...
[ "0.6294597", "0.60999095", "0.60999095", "0.60972565", "0.6074074", "0.6073941", "0.6067429", "0.60405856", "0.6026819", "0.6022946", "0.5985297", "0.5975622", "0.596965", "0.595585", "0.5952041", "0.5931406", "0.5931406", "0.5931406", "0.5931406", "0.5931406", "0.5931406", ...
0.722044
0
Retrieve the session of the connection.
WebSocketConnection getWebSocketConnection();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RDBMSSession getSession() {\r\n\t\treturn (RDBMSSession) session;\r\n\t}", "public String getSession() {\n return session;\n }", "public String getSession() {\n return this.session;\n }", "public static Session getSession() {\n return session;\n }", "public com.weizhu.proto.WeizhuP...
[ "0.7764878", "0.76633084", "0.7605265", "0.7568562", "0.7532087", "0.74817693", "0.7392029", "0.7392029", "0.7392029", "0.73562723", "0.73505294", "0.7289208", "0.7288711", "0.727702", "0.7241659", "0.7241659", "0.7234355", "0.7226098", "0.7205857", "0.7201292", "0.71990484",...
0.0
-1
Join the elements of array using the provided separator.
public static String join( Object[] col, String sep ) { StringBuffer sb = new StringBuffer(); if ( col.length >= 1 ) { sb.append( getString_(col[0]) ); } for ( int i = 1; i < col.length; i++ ) { sb.append( sep ); sb.append( getString_(col[i]) ); } return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String join(String[] array, String separator) {\n int len = array.length;\n if (len == 0) return \"\";\n\n StringBuilder out = new StringBuilder();\n out.append(array[0]);\n for (int i = 1; i < len; i++) {\n out.append(separator).append(array[i]);\n }\n return out.toString()...
[ "0.84378546", "0.81681573", "0.75959367", "0.75577456", "0.7539876", "0.7345117", "0.73215336", "0.7274104", "0.7158", "0.70989347", "0.699", "0.6967698", "0.6918499", "0.6909481", "0.68226254", "0.6777022", "0.67217964", "0.6718708", "0.66864336", "0.6593914", "0.6491887", ...
0.7219014
8
/ Standard getters and setters.
public long getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void get() {}", "@Override\n String get();", "public String get();", "public void get() {\n }", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected abstract Set method_1559();", "public abstract String get();", "@Te...
[ "0.67223024", "0.64620256", "0.6435327", "0.643153", "0.6407642", "0.6337735", "0.6335499", "0.6326286", "0.62896407", "0.6236267", "0.619292", "0.6126218", "0.6126218", "0.60949063", "0.60683537", "0.60647124", "0.6013327", "0.5985863", "0.5980047", "0.59715605", "0.59475875...
0.0
-1
Created by Chloe on 10/11/16.
public interface IWordsToOutputHandler { void findAnagramsAndCompare(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n\tprotec...
[ "0.60060334", "0.59315366", "0.5880916", "0.57996607", "0.57819915", "0.5755406", "0.57524645", "0.5726229", "0.5726229", "0.5724967", "0.57037985", "0.5694217", "0.5688822", "0.56726444", "0.56629497", "0.56629497", "0.56629497", "0.56629497", "0.56629497", "0.5639388", "0.5...
0.0
-1
Below constructor accepts key and value as parameters and assigns them to the class fields
public MapReducePair(double key, int value) { this.key = key; this.value = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Parameter(int key, String name, String value){\n this.key = key;\n this.name = name;\n this.value = value;\n }", "public mapper3c(Integer theKey, String theValue) { super(theKey, theValue); }", "DictionaryPair (K someKey , V someValue) {\n this.key = s...
[ "0.6860714", "0.68219936", "0.67272854", "0.6710659", "0.67092806", "0.6576091", "0.65683377", "0.65437764", "0.6528456", "0.6444623", "0.64061755", "0.64061755", "0.6399935", "0.6399935", "0.6365357", "0.6356466", "0.6314463", "0.6313387", "0.63038844", "0.62666637", "0.6263...
0.0
-1
Initializes a variable token.
public VariableToken(String text) { super(text); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Variable(){\n name = \"\";\n initialValue = 0;\n }", "private ELOperandToken readVarToken() {\r\n \t\tfState = STATE_VAR;\r\n \t\tint endOfToken = index;\r\n \t\tint ch;\r\n \t\tint type = ELOperandToken.EL_PROPERTY_NAME_TOKEN;\r\n \t\twhile((ch = readCharBackward()) != -1) {\r\n \t\t\tif...
[ "0.68720084", "0.6507584", "0.6347699", "0.62647635", "0.6261048", "0.62395746", "0.61642945", "0.6145183", "0.61429363", "0.6058795", "0.60233074", "0.6019895", "0.6003104", "0.60030967", "0.59937674", "0.59851193", "0.5973426", "0.59665644", "0.5934931", "0.5922206", "0.592...
0.7415836
0
TODO Autogenerated method stub To show current date in the datepicker
@Override public void onClick(View v) { Calendar mcurrentDate = Calendar.getInstance(); int mYear = mcurrentDate.get(Calendar.YEAR); int mMonth = mcurrentDate.get(Calendar.MONTH); int mDay = mcurrentDate.get(Calendar.DAY_OF_MONTH); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void showDate()\n {\n Date d=new Date();\n SimpleDateFormat s=new SimpleDateFormat(\"dd-MM-yyyy\");\n date.setText(s.format(d));\n }", "public void setTodayDate() {\n\t\tfinal Calendar c = Calendar.getInstance();\r\n\t\tmYear = c.get(Calendar.YEAR);\r\n\t\tmMonth = c.get(Calendar.MONTH...
[ "0.73648924", "0.7364", "0.7264378", "0.70886064", "0.7081928", "0.7006236", "0.69407433", "0.6900432", "0.6891169", "0.68833786", "0.68781155", "0.6858063", "0.6855973", "0.68409854", "0.68198407", "0.6785134", "0.67647105", "0.6751249", "0.67375135", "0.67064875", "0.667258...
0.0
-1
TODO Autogenerated method stub / Your code to get date and time selectedmonth = selectedmonth + 1;
public void onDateSet(DatePicker datepicker, int selectedyear, int selectedmonth, int selectedday) { try{ Date date = new Date(selectedyear-1900, selectedmonth,selectedday); SimpleDateFormat formatter = new SimpleDateFormat("MM-dd-yyyy"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setMonthSelection() {\n int displayMonth = getIntent().getIntExtra(\"month\", -1);\n if (displayMonth == -1) {\n Calendar cal = Calendar.getInstance();\n selectMonth.setSelection(cal.get(Calendar.MONTH) + 1);\n } else {\n selectMonth.setSelection(d...
[ "0.7560224", "0.7003622", "0.68717986", "0.6712543", "0.6677831", "0.6664837", "0.66486263", "0.66486263", "0.6620406", "0.657564", "0.6561822", "0.6542608", "0.6538216", "0.65149873", "0.64804244", "0.6479671", "0.64510417", "0.64341694", "0.6423738", "0.6396071", "0.6392324...
0.0
-1
iterate through each user, ignoring their UID
public void collectPhoneNumbers(Map<String,Object> Faculty) { for (Map.Entry<String, Object> entry : Faculty.entrySet()){ //Get user map Map singleUser = (Map) entry.getValue(); //Get phone field and append to list phoneNumbers.add((String) singleUser.get("facult...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Iterator getUserIDs()\n {\n ArrayList temp = new ArrayList();\n \n for (int i = 0; i != ids.size(); i++)\n {\n if (ids.get(i) instanceof String)\n {\n temp.add(ids.get(i));\n }\n }\n \n return temp.iterato...
[ "0.6618511", "0.66009635", "0.64288104", "0.63503486", "0.63363755", "0.6319306", "0.6306642", "0.6304372", "0.6247436", "0.62396765", "0.62319523", "0.62319374", "0.6211708", "0.6201397", "0.6186182", "0.61688983", "0.61254823", "0.6100253", "0.6088629", "0.6080578", "0.6050...
0.0
-1
iterate through each user, ignoring their UID
public void collectPhoneNumbers1(Map<String,Object> VerifiedParents) { for (Map.Entry<String, Object> entry : VerifiedParents.entrySet()){ //Get user map Map singleUser = (Map) entry.getValue(); //Get phone field and append to list phoneNumbers.add((String) singl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Iterator getUserIDs()\n {\n ArrayList temp = new ArrayList();\n \n for (int i = 0; i != ids.size(); i++)\n {\n if (ids.get(i) instanceof String)\n {\n temp.add(ids.get(i));\n }\n }\n \n return temp.iterato...
[ "0.6618511", "0.66009635", "0.64288104", "0.63503486", "0.63363755", "0.6319306", "0.6306642", "0.6304372", "0.6247436", "0.62396765", "0.62319523", "0.62319374", "0.6211708", "0.6201397", "0.6186182", "0.61688983", "0.61254823", "0.6100253", "0.6088629", "0.6080578", "0.6050...
0.0
-1
Interface for a mathematical <a href="
public interface Norm<TypeOfValue> extends Function<TypeOfValue, Double> { /** * Returns this norm of the specified value. * @param value Value. * @return Norm. */ @Override public Double value(TypeOfValue value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "HtmlPage clickLink();", "public abstract String linkText();", "private Text href() {\n\t\tText href = text();\r\n\r\n\t\tif (syntaxError)\r\n\t\t\treturn null;\r\n\r\n\t\treturn href;\r\n\t}", "String getHref();", "public String getLink();", "String getLink();", "private Hyperlink makeHyperlink(){\n\t\...
[ "0.62625283", "0.6198437", "0.6132684", "0.6110345", "0.60204715", "0.599998", "0.593715", "0.5813503", "0.58027387", "0.55322045", "0.55187994", "0.55068463", "0.549554", "0.5491465", "0.5490555", "0.5460579", "0.5439705", "0.543898", "0.54247046", "0.54121965", "0.54103124"...
0.0
-1
Returns this norm of the specified value.
@Override public Double value(TypeOfValue value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double norm() {\r\n return Math.sqrt(innerProduct(this));\r\n }", "public MyDouble norm() {\r\n\t\tMyDouble aSquar = this.getReal().square();\r\n\t\tMyDouble bSquare = this.getImag().square();\r\n\t\tMyDouble sum = aSquar.add(bSquare);\r\n\t\tMyDouble result = sum.sqrt();\r\n\t\treturn result;\r...
[ "0.70606047", "0.6892242", "0.67461777", "0.667212", "0.6625637", "0.6418939", "0.63249415", "0.62305295", "0.6200877", "0.6180625", "0.6043173", "0.59488183", "0.5914197", "0.5886273", "0.58595157", "0.57970256", "0.5788506", "0.5707555", "0.56776184", "0.56645054", "0.56480...
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, 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
Current visibility of this view
public OrientationImageButton(Context context) { super(context); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getVisible() {\r\n return visible;\r\n }", "public boolean isVisible() { return _visible; }", "public int getVisibility() {\n return visibility;\n }", "public boolean isVisible(){\n\t\treturn this.visible;\n\t}", "public boolean isVisible()\n {\n return...
[ "0.798216", "0.7945829", "0.78949755", "0.78709036", "0.7859321", "0.7854789", "0.7851076", "0.78307295", "0.7829516", "0.78239095", "0.78191894", "0.7793951", "0.7793951", "0.7792314", "0.77560985", "0.77079046", "0.77079046", "0.7702082", "0.7695314", "0.763833", "0.7636477...
0.0
-1
Constructor for objects of class Dog
public Dog(int thisSize, String thisBreed, String thisName) { setSize(thisSize); setBreed(thisBreed); setName(thisName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Dog() {\r\n\r\n }", "public Dog() {\n // Default constructor\n }", "Dog(){\n\t\t\n\t\t//I want to create a chemicals object. Inorder to do this, I have to first create a Cardiac obj, then a Cells obj, then a Chemicals object.\n\t\t//I have to create a Chemicals object, to get a chemicals co...
[ "0.8538588", "0.8462893", "0.76466346", "0.76448727", "0.75504035", "0.7442643", "0.73648083", "0.7112935", "0.6899884", "0.6673389", "0.6624626", "0.65983", "0.65842664", "0.65277797", "0.65251076", "0.6503672", "0.6462843", "0.637292", "0.6274832", "0.62483406", "0.6228861"...
0.66505814
10
Go through both linked lists at the same time and append the correct node to a new linked list. Use a dummy head and return head.next at the end. Time complexity: O(n)
public ListNode mergeTwoLists(ListNode l1, ListNode l2) { ListNode head = new ListNode(0); ListNode l3 = head; while (l1 != null && l2 != null) { if (l1.val <= l2.val) { l3.next = l1; l1 = l1.next; } else { l3.next = l2; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Node MergeLists(Node headA, Node headB) {\n\t Node current1=headA;\r\n\t Node current2=headB;\r\n\t Node head3=null;\r\n\t Node current3 = head3;\r\n\t while(current1!=null && current2!=null){\r\n\t if(current1.data < current2.data){\r\n\t Node temp=new Node();\r\n\t...
[ "0.69958365", "0.69564354", "0.6932443", "0.68465376", "0.6755615", "0.66263264", "0.66067386", "0.65979666", "0.6573597", "0.6525552", "0.650551", "0.6450015", "0.64308", "0.6426284", "0.63947386", "0.6394599", "0.6393051", "0.6389577", "0.6383996", "0.6351116", "0.6345418",...
0.6545029
9
return current price info of stock
public StockCurrentPriceDTO getStockCurrentPrice(String code){ Map<String,StockCurrentPriceDTO> stockCurrentPriceDTOMap = hazelcastInstance.getMap(STOCK_PRICE_CACHE_MAP); return stockCurrentPriceDTOMap.getOrDefault(code,new StockCurrentPriceDTO(code,0, LocalDateTime.now())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCurrentPrice() {\n\t\treturn currPrice;\n\t}", "@Override\n public double getPrice(){\n \n return currentPrice; \n }", "public BigDecimal getStock_price() {\n return stock_price;\n }", "public double getStockPrice() {\n\t\treturn stockPrice;\n\t}", "privat...
[ "0.77032566", "0.7461819", "0.7441855", "0.7351029", "0.7196738", "0.7027197", "0.698828", "0.6983846", "0.6983846", "0.69573295", "0.6878414", "0.6861283", "0.6853474", "0.6850037", "0.6834655", "0.68170553", "0.6812596", "0.6800457", "0.679332", "0.679265", "0.6790999", "...
0.0
-1
Check if any point inside this rectangle
@Override public boolean intersectsRectangle(final int ax1, final int ax2, final int ay1, final int ay2) { if (isInsideZone(ax1, ay1, (zoneZ2 - 1))) { return true; } if (isInsideZone(ax1, ay2, (zoneZ2 - 1))) { return true; } if (isInsideZone(ax2, ay1, (zoneZ2 - 1))) { return true; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x...
[ "0.7581992", "0.74446976", "0.7430127", "0.728364", "0.72299284", "0.7199562", "0.71968114", "0.71652675", "0.7137356", "0.7099134", "0.7082902", "0.70680076", "0.70482606", "0.70482606", "0.70482606", "0.70468605", "0.7045691", "0.70417994", "0.70349866", "0.7020602", "0.702...
0.0
-1
Since we aren't given a z coordinate to test against we just use the minimum z coordinate to prevent the function from saying we aren't in the zone because of a bad z coordinate.
@Override public double getDistanceToZone(final int x, final int y) { if (isInsideZone(x, y, zoneZ1)) { return 0; // If you are inside the zone distance to zone is 0. } double test, shortestDist = Math.pow(zoneX1 - x, 2) + Math.pow(zoneY1 - y, 2); test = Math.pow(zoneX1 - x, 2) + Math.pow(zoneY2 - ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void FindMinZ()\r\n\t{\r\n\t\tminimum_Z=Integer.MAX_VALUE;\r\n\t\tfor(Entry<Integer,Node> entry : FutureUpdateList.entrySet())\r\n\t\t{\r\n\t\t\tNode temp=entry.getValue();\r\n\t\t\tif(temp.z<minimum_Z)\r\n\t\t\t{\r\n\t\t\t\tminimum_Z=temp.z;\r\n\t\t\t\tminimum_X=temp.x;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "flo...
[ "0.7028947", "0.6816269", "0.678526", "0.6501398", "0.64578575", "0.6074104", "0.6069775", "0.6026876", "0.59879714", "0.5943065", "0.5933632", "0.5900888", "0.5900888", "0.5870532", "0.5869115", "0.5833293", "0.58123153", "0.5770969", "0.576808", "0.57607424", "0.5756904", ...
0.5390417
44
/ getLowZ() / getHighZ() These two functions were added to cope with the demand of the new fishing algorithms, wich are now able to correctly place the hook in the water, thanks to getHighZ(). getLowZ() was added, considering potential future modifications.
@Override public int getLowZ() { return zoneZ1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "float getZ();", "float getZ();", "float getZ();", "int getZ();", "int getZ();", "int getZ();", "float zMin();", "public float getLimit_lin_z_lower() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 48);\n\t\t} else {\n\t\t\treturn __io__...
[ "0.66166675", "0.66166675", "0.66166675", "0.62561935", "0.62561935", "0.62561935", "0.6237952", "0.62315273", "0.61346006", "0.6035432", "0.5934129", "0.58836573", "0.58801645", "0.58679026", "0.58032835", "0.5800877", "0.5705172", "0.5687612", "0.56810385", "0.56609553", "0...
0.70650864
0
Test downloading of a file.
@ParameterizedTest(name = "#{index} - [{0}]") @MethodSource("dataForTestDownloadFile") public void testDownloadFile(final String label, final String fileToRequest, final String fileToLoad, final ResultMatcher status) throws Exception { Resource xmlDoc = new ClassPathResource(TEST_FILES_LOCATION + fileToLoad); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "@Test\n public void verifyDownloadFile() {\n // Read the input file\n\n File ...
[ "0.7631578", "0.7198668", "0.7178355", "0.69097406", "0.68882835", "0.6858158", "0.6832996", "0.68183583", "0.6764936", "0.67361695", "0.66770977", "0.6653768", "0.66162986", "0.66144437", "0.6608967", "0.6608933", "0.6571968", "0.6546973", "0.6537861", "0.65254444", "0.65145...
0.6717501
10
Test downloading of a file. Only testing logic in the controller, not the storage service. Since the controller really only calls the storage service, this is a bit of a pointless test right now, but included in case logic gets added.
@ParameterizedTest(name = "#{index} - [{0}]") @MethodSource("dataForTestUploadFile") public void testUploadFile(final String label, final XmlDocMetadata expected, final ResultMatcher status) throws Exception { Resource xmlDoc = new ClassPathResource(TEST_FILES_LOCATION + expected.getFilename()); MockMultipar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ParameterizedTest(name = \"#{index} - [{0}]\")\n\t@MethodSource(\"dataForTestDownloadFile\")\n\tpublic void testDownloadFile(final String label, final String fileToRequest, final String fileToLoad,\n\t\t\tfinal ResultMatcher status) throws Exception {\n\n\t\tResource xmlDoc = new ClassPathResource(TEST_FILES_LOCA...
[ "0.74564123", "0.7376208", "0.6705258", "0.6645182", "0.66090447", "0.64781207", "0.6451221", "0.64394414", "0.63406855", "0.6311776", "0.6224373", "0.62105906", "0.6204882", "0.61508685", "0.61196285", "0.6117874", "0.6091343", "0.6074028", "0.6073493", "0.6071075", "0.60476...
0.0
-1
Nadie puede hacer new excepto dentro de esta clase. Puede ser protected
private ServicioProductoSingleton() { this.listaProductos = new ArrayList<>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Approche() {\n }", "private ATCres() {\r\n // prevent to instantiate this class\r\n }", "Reproducible newInstance();", "private Rekenhulp()\n\t{\n\t}", "@Override\n \t\t\t\tpublic void doNew() {\n \n \t\t\t\t}", "protected Doodler() {\n\t}", "public Preventivo() {\n\n }", "pri...
[ "0.7097225", "0.6780098", "0.67523235", "0.67228013", "0.67149216", "0.66979915", "0.66239923", "0.65264416", "0.6522581", "0.6511376", "0.6510609", "0.6487852", "0.64838094", "0.64804894", "0.6467281", "0.63984454", "0.6389769", "0.63824886", "0.6356399", "0.6347508", "0.634...
0.0
-1
Refresh Favorite button (star). Checks state from local preferences
public void refreshFavoriteBtn() { if (recipe.isFavorite(context)) { favoriteBtn.setIcon("faw_star"); } else { favoriteBtn.setIcon("faw_star_o"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onFavoriteChanged(MaterialFavoriteButton buttonView, boolean favorite);", "private void updateFavoriteButtons() {\n new AsyncTask<Void, Void, Boolean>() {\n\n @Override\n protected Boolean doInBackground(Void... params) {\n return isFavorite();\n ...
[ "0.67650366", "0.66713506", "0.6635678", "0.65284514", "0.65112805", "0.64422995", "0.6427408", "0.6335702", "0.62498623", "0.6216763", "0.6205757", "0.61858916", "0.6151116", "0.6127592", "0.6107662", "0.6062163", "0.60479957", "0.60321045", "0.59825397", "0.59798473", "0.59...
0.7695903
0
Created by dbraga on 30/07/17.
public interface IRecyclerViewFragmentViewModel { public void initRecyclerView(); public void setRecyclerViewData(List<Mascota> mascotas); void recyclerViewReload(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void bicar() {\n...
[ "0.6033645", "0.58626807", "0.58582264", "0.58499503", "0.58088326", "0.57606184", "0.57606184", "0.5747292", "0.57168305", "0.5716077", "0.5712225", "0.56990165", "0.5697896", "0.5691011", "0.56840277", "0.56776285", "0.5670845", "0.56641895", "0.5638702", "0.5628774", "0.56...
0.0
-1
while chatting with server
private void whileChatting() throws IOException{ ableToType(true); do{ try{ message = (String) input.readObject(); showMessage("\n" + message); }catch(ClassNotFoundException classNotFoundException){ showMessage("Unknown data receive...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void run() {\n\t\tInetSocketAddress remoteAddr = (InetSocketAddress) socket.getRemoteSocketAddress();\n\t\tChatServer.log(\"[server] connected by client[\" + remoteAddr.getAddress().getHostAddress() + \":\" + remoteAddr.getPort());\n\t\t\n\t\ttry {\n\t\t\t//2. 스트림 얻기\n\t\t\tBufferedReader reade...
[ "0.7566139", "0.7478964", "0.7263316", "0.72048455", "0.7187024", "0.7158562", "0.7141102", "0.7029164", "0.7025146", "0.70211256", "0.6950073", "0.6932392", "0.6915138", "0.6896238", "0.6892025", "0.6886584", "0.6885983", "0.68853176", "0.6884435", "0.68717796", "0.6865695",...
0.7279827
2
send message to server
private void sendMessage(String message){ try{ output.writeObject(nickname+" : " + message); output.flush(); showMessage("\n"+nickname+" : " + message); }catch(IOException ioException){ chatWindow.append("\n Oops! Something went wrong!"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void send(String message);", "private void sendMessage(String message){\n\t\ttry{\n\t\t\toutput.writeObject(\"Punk Ass Server: \" + message);\n\t\t\toutput.flush();\n\t\t\tshowMessage(\"\\nPunk Ass Server: \" + message); \n\t\t}catch(IOException ioe){\n\t\t\tchatWindow.append(\"\\n Message not sent, try again or...
[ "0.7761225", "0.7682706", "0.76490945", "0.7553706", "0.752896", "0.7523866", "0.7519563", "0.74903756", "0.7481018", "0.7478417", "0.7464976", "0.7437581", "0.74055487", "0.7386121", "0.7359958", "0.7358444", "0.734632", "0.73421", "0.7322726", "0.7314134", "0.73135704", "...
0.7154242
40
allows user to type
private void ableToType(final boolean tof){ SwingUtilities.invokeLater( new Runnable(){ public void run(){ userText.setEditable(tof); } } ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void askForUserType() {\n System.out.println(\"What type of User would you like to make? (Type Attendee, Speaker, VIP, or Organizer)\");\n }", "public void typeEvent(KeyEvent e) {\n char typed = e.getKeyChar();\n //if the char is not a number remove the char\n if (typed < '0...
[ "0.68939286", "0.6710132", "0.65737784", "0.6520385", "0.64611316", "0.63768536", "0.628062", "0.62504095", "0.6240441", "0.6240441", "0.6240441", "0.62319523", "0.62212247", "0.6214544", "0.6179095", "0.6176088", "0.61732805", "0.61688006", "0.61518157", "0.6104036", "0.6099...
0.0
-1
/ access modifiers changed from: packageprivate
public Set<AspectRatio> ratios() { return this.mRatios.keySet(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.7151384", "0.6686185", "0.65583766", "0.64826417", "0.64304984", "0.6385171", "0.6383977", "0.63483983", "0.633059", "0.62765336", "0.6263506", "0.6250637", "0.62373245", "0.62338716", "0.6228648", "0.61975765", "0.61975765", "0.6194941", "0.618365", "0.61799717", "0.61571...
0.0
-1
/ access modifiers changed from: packageprivate
public SortedSet<Size> sizes(AspectRatio aspectRatio) { return this.mRatios.get(aspectRatio); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397"...
0.0
-1
/ access modifiers changed from: packageprivate
public void clear() { this.mRatios.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71513015", "0.6686406", "0.6558315", "0.6482832", "0.6430476", "0.63856333", "0.63838816", "0.63487375", "0.6330605", "0.62764114", "0.626384", "0.62509346", "0.6237325", "0.62340367", "0.6228612", "0.6197973", "0.6197973", "0.61952", "0.6183631", "0.61797863", "0.6157397"...
0.0
-1
/ access modifiers changed from: packageprivate
public boolean isEmpty() { return this.mRatios.isEmpty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.7152354", "0.66870445", "0.6557956", "0.64830303", "0.64306164", "0.63853925", "0.6384864", "0.63484466", "0.6330916", "0.62771153", "0.6263446", "0.6251191", "0.623744", "0.6234031", "0.62294084", "0.6198601", "0.6198601", "0.619552", "0.61842144", "0.61809874", "0.615734...
0.0
-1
TODO Autogenerated method stub
@Override public List<Product> findHots() throws Exception { 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 List<Product> findNews() throws Exception { 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 Product findProductByPid(String pid) throws Exception { 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 int findTotalRecords(String cid) throws Exception { return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public List findProductsByCidWithPage(String cid, int startIndex, int pageSize) throws Exception { 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 int findTotalRecords() throws Exception { return 0; }
{ "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 List<Product> findAllProductsWithPage(int startIndex, int pageSize) throws Exception { 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 void saveProduct(Product product) throws Exception { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
we just responding here
@Override public void onSuccess(CommandMessage<? extends WithdrawMoneyCommand> commandMessage, java.lang.Object o) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void msgGotHungry() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public voi...
[ "0.6108642", "0.6108642", "0.60772943", "0.6025509", "0.5991787", "0.59883916", "0.5972737", "0.5931567", "0.59153855", "0.58942467", "0.5843691", "0.5843691", "0.5843691", "0.5843691", "0.5843691", "0.5843691", "0.5843691", "0.58426815", "0.58239704", "0.5814164", "0.5803723...
0.0
-1
or import static org.axonframework.eventhandling.saga.SagaLifecycle.end;
@SagaEventHandler(associationProperty = "transferId") public void on(MoneyTransferCancelledEvent event) { end(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface EndSequenceEventListener {\n void sequenceEnd();\n}", "public void end() {\n\n }", "public abstract void onNext();", "protected void onEnd() {}", "@Override\n public void onSequenceFinish() {\n // Yay\n }", "@Override\n ...
[ "0.5574161", "0.5256697", "0.52168274", "0.51981664", "0.51850224", "0.51436174", "0.512694", "0.5074283", "0.5070747", "0.5042349", "0.5039693", "0.49764678", "0.49696952", "0.49696952", "0.49696952", "0.49696952", "0.49696952", "0.49696952", "0.49696952", "0.49696952", "0.4...
0.0
-1
Create a new ByteBufferPool object.
public BufferPool(String fileName, int numBuffers) throws IOException { BLOCK_SIZE = 4096; // create linked list of buffers, open file, create pointer tempArray this.pool = new LinkedList<Buffer>(); this.buffArr = new Buffer[numBuffers]; this.file = new RandomAccessFi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static BufferPoolMXBean createBufferPoolMXBean(BufferPool paramBufferPool)\n/* */ {\n/* 227 */ new BufferPoolMXBean() {\n/* */ private volatile ObjectName objname;\n/* */ \n/* */ public ObjectName getObjectName() {\n/* 231 */ ObjectName localObjectName = this...
[ "0.68996274", "0.6737928", "0.6663652", "0.6370637", "0.62153494", "0.61083156", "0.60577905", "0.60232425", "0.6014765", "0.59880316", "0.5887956", "0.58843696", "0.57974106", "0.57812524", "0.5729216", "0.56825876", "0.565182", "0.5610171", "0.5595793", "0.5581415", "0.5571...
0.60604066
6
Create a new ByteBufferPool object.
public BufferPool(String fileName, int numBuffers, int bufferSize) throws IOException { BLOCK_SIZE = bufferSize; FILE_SIZE = 0; // create linked list of buffers, open file, create pointer tempArray this.pool = new LinkedList<Buffer>(); this.buffArr = new Buffer[numBu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static BufferPoolMXBean createBufferPoolMXBean(BufferPool paramBufferPool)\n/* */ {\n/* 227 */ new BufferPoolMXBean() {\n/* */ private volatile ObjectName objname;\n/* */ \n/* */ public ObjectName getObjectName() {\n/* 231 */ ObjectName localObjectName = this...
[ "0.68996334", "0.67397183", "0.66632", "0.6368797", "0.6213598", "0.6107461", "0.6061071", "0.6059514", "0.60218304", "0.6012781", "0.59860915", "0.58899546", "0.58853245", "0.5799575", "0.5780898", "0.56811345", "0.56534123", "0.56096447", "0.55947113", "0.55802464", "0.5573...
0.57283914
15
Gets the size of the file.
public long getFileSize() throws IOException { return file.length(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getSize()\n\t{\n\t\treturn file.length() ;\n\t}", "public long size() {\n return file.length();\n }", "public long getSize() {\r\n return mFile.getSize();\r\n }", "public static long size(File file) {\n\t\treturn file.length();\n\t}", "public long size() {\n return...
[ "0.85955507", "0.85799485", "0.83292294", "0.82464945", "0.81988364", "0.80996454", "0.79840726", "0.7927142", "0.79253274", "0.79253274", "0.7909051", "0.77006656", "0.76949745", "0.7691655", "0.7687438", "0.7683759", "0.76696926", "0.7555017", "0.75523543", "0.7516152", "0....
0.8602957
0
Gets the specified buffer
public Buffer getBuffer(int block) throws IOException { // move to the front of the linked list pool.moveToStart(); Buffer buffer; // while not at the end of the list, look at the current link's buffer. // If that is the target buffer, return it, otherwise go to the ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Buffer getBuffer() {\n return buffer.getCopy();\n }", "byte [] getBuffer ();", "public ByteBuffer getBuffer() {\n return _buf;\n }", "public byte[] getBuffer () {\n\t\t\t\n\t\t\tif (index < 0)\n\t\t\t\treturn null;\n\n\t\t\tint len = index;\n\t\t\tbyte[] b = new byte[len+1];\n\t\t\...
[ "0.7450381", "0.74299026", "0.72313327", "0.7228765", "0.7169126", "0.71655697", "0.7136276", "0.7105183", "0.7057373", "0.7021426", "0.6923234", "0.6853369", "0.6667176", "0.6595004", "0.64859354", "0.6424524", "0.64046377", "0.6341397", "0.62972057", "0.6272273", "0.6211015...
0.5821139
44
Get buffer based on byte location
private Buffer getBufferByPosition(int pos) throws IOException { return getBuffer(pos / BLOCK_SIZE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ByteBuffer read(int location)\n throws DataOrderingException;", "byte [] getBuffer ();", "public ByteBuffer getByteBuffer();", "public byte[] getBuffer () {\n\t\t\t\n\t\t\tif (index < 0)\n\t\t\t\treturn null;\n\n\t\t\tint len = index;\n\t\t\tbyte[] b = new byte[len+1];\n\t\t\tfor (int k=0;...
[ "0.6948117", "0.6855674", "0.67000407", "0.65600705", "0.6505571", "0.65008456", "0.64473885", "0.6349648", "0.63409877", "0.6296093", "0.62814164", "0.62510306", "0.6170193", "0.61185944", "0.6086043", "0.6063948", "0.60570884", "0.6055247", "0.60281414", "0.60136694", "0.59...
0.73346233
0
Get array of bytes from file
public byte[] getData(int pos, int size) throws IOException { // data may need to be retrieved from multiple buffers byte[] b = new byte[size]; Buffer buf; for (int i = 0; i < size; i++) { buf = getBufferByPosition(pos + i); b[i] = buf.getByte(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] file2byte() {\n\t\tbyte[] result = null;\n\t\t\n\t\tif (this.isFile()) {\n\t\t\tBufferedInputStream bufferedInputStream = null;\n\t\t\tByteArrayOutputStream byteArrayOutputStream = null;\n\t\t\t\n\t\t\ttry {\n\t\t\t\tbufferedInputStream = new BufferedInputStream(new FileInputStream(this));\n\t\t\t\tb...
[ "0.77748996", "0.76928115", "0.76779", "0.75868803", "0.75799495", "0.75562876", "0.7518913", "0.74861276", "0.74798197", "0.7463057", "0.7318034", "0.7274702", "0.71362346", "0.7123982", "0.7108218", "0.70990115", "0.70922047", "0.70570546", "0.7053897", "0.7050992", "0.7028...
0.0
-1
Write data to buffer(s)
public void writeData(byte[] b, int pos) throws IOException { Buffer buf; for (int i = 0; i < b.length; i++) { buf = getBufferByPosition(pos + i); buf.setByte(b[i], pos + i); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void write(byte[] buffer);", "public void write(ByteBuffer buffer){\r\n\t\tbuffer.putInt(type.ordinal());\r\n\t\tbuffer.putInt(dataSize);\r\n\t\tbuffer.put(data);\r\n\t}", "void write(byte[] buffer, int bufferOffset, int length) throws IOException;", "public void write_to_buffer(byte[] buffer) throws ...
[ "0.7922677", "0.7440814", "0.73631024", "0.7257575", "0.71896505", "0.70802444", "0.70523447", "0.7037977", "0.6992382", "0.68667054", "0.68614286", "0.68439937", "0.6797445", "0.6765677", "0.6754897", "0.6741536", "0.6739669", "0.6729746", "0.6686481", "0.6610997", "0.660601...
0.6417514
27
Flushes the remaining buffers.
public void flushBuffers() throws IOException { pool.moveToStart(); Buffer buffer; while (pool.getValue() != null) { buffer = pool.remove(); if (buffer.isDirty()) { file.seek(buffer.getBlockNumber() * BLOCK_SIZE); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void flush(){\r\n mBufferData.clear();\r\n }", "@Override\r\n public synchronized void flush() throws IOException {\r\n\t\tif ( count != 0 ) {\r\n\t\t writeBuffer(buf, 0, count );\r\n\t\t count = 0;\r\n\t\t}\r\n\t}", "public void flush() {\n wasFlushed = true;\n }", "publi...
[ "0.7221729", "0.7125139", "0.70682555", "0.67861784", "0.6676997", "0.6595017", "0.65919983", "0.6571658", "0.6560621", "0.65545124", "0.6526202", "0.6494766", "0.6487118", "0.64825624", "0.64825624", "0.64825624", "0.64825624", "0.6445027", "0.64114434", "0.63949585", "0.635...
0.6578709
7
Add enough 0 bytes for a new block at end of file
public void expandFile() throws IOException { file.seek(FILE_SIZE); for (int i = 0; i < BLOCK_SIZE; i++) { file.write(0); } FILE_SIZE += BLOCK_SIZE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int fillBuffer() throws IOException {\r\n int n = super.read(buffer, 0, BUF_SIZE);\r\n if (n >= 0) {\r\n file_pos +=n;\r\n buf_end = n;\r\n buf_pos = 0;\r\n }\r\n return n;\r\n }", "public abstract void resetBytesWritten();", "void flushBe...
[ "0.6140583", "0.60480523", "0.5999626", "0.59973913", "0.5896299", "0.5803104", "0.58011323", "0.5743242", "0.5723737", "0.5715608", "0.5686816", "0.56749284", "0.56526333", "0.5637269", "0.56195354", "0.548833", "0.5485234", "0.5474027", "0.54615873", "0.54307854", "0.542135...
0.7164449
0
Expand file and add extra size to free block at end of the file
public void expandFile(LinkedQueue<FreeBlock> blocks) throws IOException { if (blocks.getLength() != 0) { FreeBlock first = blocks.peek(); FreeBlock block; do { block = blocks.peek(); if (block.getSize() + block....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void expandFile()\n throws IOException\n {\n file.seek(FILE_SIZE);\n for (int i = 0; i < BLOCK_SIZE; i++)\n {\n file.write(0);\n }\n FILE_SIZE += BLOCK_SIZE;\n }", "public void expandFile(long length) throws IOException {\n\n\t}", "private void ...
[ "0.8157375", "0.7134132", "0.6190989", "0.5893347", "0.5733827", "0.5699795", "0.5655424", "0.5625052", "0.558629", "0.55652046", "0.5416268", "0.5408405", "0.54004794", "0.53645444", "0.5348778", "0.5318856", "0.5316184", "0.53155047", "0.5282667", "0.52780354", "0.5258867",...
0.66914093
2
Output contents of all buffers to std out
public String toString() { String ret = ""; for (int i = 0; i < buffArr.length; i++) { if (buffArr[i].getBlockNumber() != -1) { ret = ret + "Block ID of buffer" + i + " is " + buffArr[i].getBlockNumber() + "\...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void outputBuffers ()\n\t{\n\t\toutput (\"\\n> (buffers)\\n\");\n\t\tif (model!=null) model.outputBuffers();\n\t}", "public abstract void outputBmp(FastStringBuffer buf);", "public static void flush() {\n if (outputEnabled)\n out.flush();\n }", "@Override\n public void flush() throws IOExcep...
[ "0.760438", "0.62566346", "0.62282854", "0.6101792", "0.608737", "0.59555036", "0.5788667", "0.57493633", "0.5730046", "0.57075435", "0.5705804", "0.57050484", "0.56790066", "0.5659753", "0.56179523", "0.56051755", "0.56021994", "0.55761755", "0.5556627", "0.5545877", "0.5476...
0.0
-1
Sanity checks before deleting an Experiment
private static void deleteExperiment(String sessionToken, IApplicationServerApi v3, boolean COMMIT_CHANGES_TO_OPENBIS, ExperimentPermId experimentPermId) { Experiment experiment = MetadataHelper.getExperiment(sessionToken, v3, experimentPermId); if((experiment.getDataSets().size() + ex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testDeleteExperiment() {\n ExperimentId experimentId = new ExperimentId();\n experimentId.setServerTimestamp(System.currentTimeMillis());\n experimentId.setId(1);\n\n // Create the entity\n ExperimentEntity entity = new ExperimentEntity();\n entity.setExperimentSpec(toJson(sp...
[ "0.7015161", "0.6334992", "0.6213197", "0.6188285", "0.607464", "0.6028646", "0.6012038", "0.6004456", "0.59965354", "0.598751", "0.5980473", "0.59655344", "0.5963731", "0.59509844", "0.5943946", "0.59329045", "0.59269804", "0.58789045", "0.5855247", "0.58462787", "0.5833534"...
0.6570174
1
Created by jingtian.zjt on 2014/12/3.
public interface Server { public void start(); public void stop(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpubli...
[ "0.6069109", "0.6035043", "0.597038", "0.5967443", "0.5966473", "0.59394604", "0.59394604", "0.5891067", "0.58887273", "0.5884754", "0.5837488", "0.58177686", "0.581767", "0.5815146", "0.57943845", "0.57777363", "0.5777613", "0.5773912", "0.5746785", "0.5736507", "0.5726734",...
0.0
-1
Per cada vertex guardem la seva coordenada x i y.
public Vertex(int x, int y) { this.x = x; this.y = y; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setVertices(){\n \tdouble[] xs = new double[numOfSides];\n \tdouble[] ys = new double[numOfSides];\n \tif (numOfSides%2==1){\n \t\tfor (int i=0; i<numOfSides; i++){\n \t\t\txs[i]=radius*Math.cos(2*i*Math.PI/numOfSides);\n \t\t\tys[i]=radius*Math.sin(2*i*Math.PI/numOfSides);\n \t\t...
[ "0.61802876", "0.6107801", "0.5902164", "0.5892266", "0.58008313", "0.5792626", "0.57871974", "0.5766748", "0.5756035", "0.57456774", "0.56651753", "0.56523776", "0.56387866", "0.56295514", "0.5620278", "0.56158084", "0.56102395", "0.56075376", "0.5585956", "0.5555271", "0.55...
0.5910367
2
C++ TO JAVA CONVERTER TODO TASK: The memory management function 'malloc' has no equivalent in Java:
public static int Main() { s = (String)malloc(100000 * (Character.SIZE / Byte.SIZE)); int[] count = new int[26]; int[] p = new int[26]; int n; char cc; char key = '-'; int min = 100001; int i; String tempVar = ConsoleInput.scanfRead(); if (tempVar != null) { n = Integer.parseInt(tempVar); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static native ByteBuffer createJni(long[] nativeData, int width, int height);", "private static native long create_0();", "public native void free();", "native long nativeBuild(long memoryPool, byte[] schemaBuf, byte[] exprListBuf, byte[] resSchemaBuf, boolean finishReturn)\n throws Ru...
[ "0.61463696", "0.6045089", "0.58197165", "0.57982457", "0.5788396", "0.57501405", "0.5702887", "0.5692929", "0.56722736", "0.56709605", "0.56665313", "0.565217", "0.55862916", "0.5568957", "0.5497142", "0.5460307", "0.5448766", "0.54220074", "0.54186565", "0.5403222", "0.5386...
0.0
-1
Creates output from provided pointer. Internal method, use with care.
public static Output from(Pointer handle) { if (handle == null) return null; return new Output(handle); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Output createOutput();", "public void createOutput() {\n\t\tsetOutput(new Output());\n\t}", "protected OutputStream _createDataOutputWrapper(DataOutput out)\n/* */ {\n/* 1520 */ return new DataOutputAsStream(out);\n/* */ }", "public abstract Object getOutput ();", "private interface Outp...
[ "0.6722793", "0.6104073", "0.60138196", "0.59233624", "0.5699619", "0.56726396", "0.56708896", "0.56153184", "0.55164313", "0.5483789", "0.5394011", "0.5340211", "0.52885413", "0.52878416", "0.5269737", "0.52452433", "0.5213439", "0.5193913", "0.5184107", "0.50914705", "0.508...
0.66993165
1
/ Callbacks Sets callback to be called when output is created.
public static void setCreatedCallback(final OutputCreatedCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler().wlc_set_output_created_cb(new handle_callback() { public boolean callback(Pointer handle) { return cb.onCreated(Output.from(handle)); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void callback() {\n }", "public void callback();", "@Override\n\t\t\tpublic void callbackCall() {\n\t\t\t}", "@Override\n\tpublic void callback() {\n\t}", "public void setCallback(String callback) {\r\n this.callback = callback;\r\n }", "@Override\n\tpublic void onCallback() {\n\t\t\n...
[ "0.698177", "0.6926367", "0.6610482", "0.65520114", "0.64760756", "0.64661694", "0.6393573", "0.6097477", "0.60649306", "0.60626704", "0.60100156", "0.59598535", "0.59394944", "0.59083825", "0.5878258", "0.58302957", "0.580174", "0.5793744", "0.5789157", "0.5787835", "0.57851...
0.76116
0
Sets callback to be called when output is destroyed.
public static void setDestroyedCallback(final OutputDestroyedCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler() .wlc_set_output_destroyed_cb(new handle_callback_void() { public void callback(Pointer handle) { cb.onDestroyed(Output.from(handle)); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setContextDestroyedCallback(\n\t\t\tfinal OutputContextDestroyedCallback cb) {\n\t\tAssert.assertNotNull(cb);\n\n\t\tJWLC.nativeHandler().wlc_set_output_context_destroyed_cb(\n\t\t\t\tnew handle_callback_void() {\n\n\t\t\t\t\tpublic void callback(Pointer handle) {\n\t\t\t\t\t\tcb.onContextDestro...
[ "0.69488615", "0.63353395", "0.6216451", "0.61281496", "0.60393614", "0.59959704", "0.5971771", "0.5954759", "0.5954759", "0.5937527", "0.5873356", "0.5866801", "0.5831998", "0.579607", "0.5765817", "0.5756813", "0.57519525", "0.57495713", "0.5712716", "0.57013774", "0.569512...
0.79229265
0
Sets callback to be called when output focus is changed.
public static void setFocusCallback(final OutputFocusCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler().wlc_set_output_focus_cb(new focus_callback() { public void callback(Pointer handle, boolean focusState) { cb.onFocusChange(Output.from(handle), focusState); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void focus() {\n\t\tJWLC.nativeHandler().wlc_output_focus(this.to());\n\t}", "public final void autoFocus(AutoFocusCallback cb)\n {\n mAutoFocusCallback = cb;\n native_autoFocus();\n }", "@Override\r\n\tpublic void setFocus() {\r\n\t}", "@Override\n\tpublic void setFocus() {\n\t\t\...
[ "0.6665203", "0.6233407", "0.613314", "0.6124033", "0.6124033", "0.6124033", "0.6124033", "0.6124033", "0.6122688", "0.60975486", "0.60975486", "0.60975486", "0.60975486", "0.6071503", "0.60606176", "0.60300404", "0.6021215", "0.60181284", "0.5992194", "0.5992194", "0.5992194...
0.8113515
0
Sets callback when resolution of this output is changed.
public static void setResolutionCallback( final OutputResolutionCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler() .wlc_set_output_resolution_cb(new output_resolution_callback() { public void callback(Pointer handle, wlc_size fromSize, wlc_size toSize) { cb.onResolution(Output....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setListener(Callback callback) {\n final Callback oldCallback = mCallback;\n if (oldCallback != callback) {\n mCallback = callback;\n\n if (callback == null) {\n // Stop listening for changes now that there IS NOT a listener.\n mContext....
[ "0.6405688", "0.63330185", "0.6165211", "0.61367196", "0.6115518", "0.6094803", "0.6075112", "0.5865856", "0.5783228", "0.5778088", "0.5724352", "0.5638434", "0.5635555", "0.5627412", "0.55926883", "0.55657333", "0.55174303", "0.54997706", "0.5479113", "0.5460254", "0.5401974...
0.731089
0
Sets callback which is called when output is about to be rendered.
public static void setPreRenderCallback(final OutputPreRenderCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler() .wlc_set_output_render_pre_cb(new handle_callback_void() { public void callback(Pointer handle) { cb.onPreRender(Output.from(handle)); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCallback(String callback) {\r\n this.callback = callback;\r\n }", "@Override\r\n\tpublic void setViewCallback(ViewCallback callback) {\r\n\t\tthis.callback = callback;\r\n\t}", "public static void setPostRenderCallback(\n\t\t\tfinal OutputPostRenderCallback cb) {\n\t\tAssert.assertNotN...
[ "0.6825016", "0.6719283", "0.6585499", "0.65000385", "0.645698", "0.64146113", "0.6361972", "0.6349586", "0.620439", "0.6204022", "0.6147491", "0.6105475", "0.60313964", "0.59300643", "0.59300643", "0.59217113", "0.589918", "0.5850732", "0.58465517", "0.5794692", "0.57928354"...
0.6389075
6
Sets callback which is called when output was rendered.
public static void setPostRenderCallback( final OutputPostRenderCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler() .wlc_set_output_render_post_cb(new handle_callback_void() { public void callback(Pointer handle) { cb.onPostRender(Output.from(handle)); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCallback(String callback) {\r\n this.callback = callback;\r\n }", "@Override\r\n\tpublic void setViewCallback(ViewCallback callback) {\r\n\t\tthis.callback = callback;\r\n\t}", "public void setRenderCallback(@Nullable RendererCallback renderCallback) {\n mRenderCallback = render...
[ "0.69459695", "0.68782544", "0.66291237", "0.6487975", "0.6486199", "0.64268595", "0.63713306", "0.6355584", "0.63525933", "0.6266642", "0.6100591", "0.6092953", "0.6092953", "0.6018915", "0.5992185", "0.59786195", "0.59690946", "0.59471136", "0.58980846", "0.5848496", "0.584...
0.6607083
3
Sets callback to be called when context is created for this output.
public static void setContextCreatedCallback( final OutputContextCreatedCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler() .wlc_set_output_context_created_cb(new handle_callback_void() { public void callback(Pointer handle) { cb.onContextCreated(Output.from(handle)); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setCreatedCallback(final OutputCreatedCallback cb) {\n\t\tAssert.assertNotNull(cb);\n\n\t\tJWLC.nativeHandler().wlc_set_output_created_cb(new handle_callback() {\n\n\t\t\tpublic boolean callback(Pointer handle) {\n\t\t\t\treturn cb.onCreated(Output.from(handle));\n\t\t\t}\n\t\t});\n\t}", "publ...
[ "0.6896084", "0.61894715", "0.6014522", "0.579121", "0.57654965", "0.56009", "0.56000495", "0.5559467", "0.55379564", "0.55379564", "0.5518701", "0.5501381", "0.54440975", "0.543423", "0.5395452", "0.5372816", "0.5359102", "0.533753", "0.527016", "0.5266541", "0.52649474", ...
0.7454282
0
Sets callback to be called when context is destroyed for this output.
public static void setContextDestroyedCallback( final OutputContextDestroyedCallback cb) { Assert.assertNotNull(cb); JWLC.nativeHandler().wlc_set_output_context_destroyed_cb( new handle_callback_void() { public void callback(Pointer handle) { cb.onContextDestroyed(Output.from(handle)); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setDestroyedCallback(final OutputDestroyedCallback cb) {\n\t\tAssert.assertNotNull(cb);\n\n\t\tJWLC.nativeHandler()\n\t\t\t\t.wlc_set_output_destroyed_cb(new handle_callback_void() {\n\n\t\t\t\t\tpublic void callback(Pointer handle) {\n\t\t\t\t\t\tcb.onDestroyed(Output.from(handle));\n\t\t\t\t\t...
[ "0.7036822", "0.62405074", "0.6218273", "0.6218273", "0.60737044", "0.6030159", "0.6002154", "0.5919681", "0.5891853", "0.58624184", "0.5843028", "0.5829678", "0.57482064", "0.5728173", "0.5715345", "0.57048464", "0.5663707", "0.56616545", "0.56294596", "0.5625853", "0.561853...
0.75117385
0
/ Methods / Getters
public String getName() { return JWLC.nativeHandler().wlc_output_get_name(this.to()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void getExras() {\n }", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n public void get() {}", "@Override\n\tpublic void getData() {\n\t\t\n\t}", "@Overr...
[ "0.6755342", "0.6739988", "0.67151225", "0.6654583", "0.664451", "0.63221437", "0.6284788", "0.6270446", "0.62306035", "0.6211356", "0.6209288", "0.62022245", "0.61955374", "0.6155282", "0.6129222", "0.61140674", "0.61140674", "0.61106974", "0.61077535", "0.6104425", "0.61044...
0.0
-1
/ Setters Sets the sleep status of this output.
public void setSleep(boolean sleep) { JWLC.nativeHandler().wlc_output_set_sleep(this.to(), sleep); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSleeping(boolean sleeping);", "protected void setSleeping() {\n isSleeping = true;\n }", "@Override\n public void setSleepTime(int st) {\n this.sleepTime = st;\n\n // notify the update thread so that it can recalculate\n if (updateThread.isRunning())\n updat...
[ "0.7213523", "0.7210853", "0.71188945", "0.67102057", "0.65357983", "0.64440405", "0.64335734", "0.6405868", "0.6273292", "0.62229425", "0.6136222", "0.60889643", "0.6055748", "0.6054748", "0.6044076", "0.60419536", "0.6028719", "0.5971066", "0.59449184", "0.59204966", "0.591...
0.77285653
0
Sets the resolution of this output.
public void setResolution(Size resolution, long scale) { Assert.assertNotNull(resolution); JWLC.nativeHandler().wlc_output_set_resolution(this.to(), resolution.to(), Utils.getAsUnsignedInt(scale)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setResolution(int value) {\n this.resolution = value;\n }", "public void setResolution(int resolution)\r\n\t{\r\n\t\tduration *= resolution;\r\n\t\tduration /= this.resolution;\r\n\t\tthis.resolution = resolution;\r\n\t}", "public void setResolution(Resolution resolution) {\n this....
[ "0.80535877", "0.7725859", "0.76219016", "0.7432532", "0.7131171", "0.71031845", "0.70949787", "0.7073764", "0.70725083", "0.7040604", "0.6946708", "0.68712443", "0.68134063", "0.6808989", "0.68079317", "0.6750489", "0.67430407", "0.6736786", "0.6691865", "0.6691865", "0.6594...
0.71751696
4
After this call, output will have only views provided in the list.
public boolean setViews(List<View> views) { Pointer[] ptrArray = new Pointer[views.size()]; int it = 0; for (View v : views) ptrArray[it++] = v.to(); return JWLC.nativeHandler().wlc_output_set_views(this.to(), ptrArray, views.size()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void viewAll() {\n click(viewAllLink);\n }", "@Override\n public java.util.List<MateriliazedView> getViewsList() {\n return views_;\n }", "List<ViewDefinition> list();", "private List<Class<?>> extractViews(List<Class<?>> views) {\n return views.subList(0, views.size() - 1)...
[ "0.5967589", "0.59654903", "0.5914902", "0.57477844", "0.5730673", "0.5725773", "0.5616719", "0.56062317", "0.55816084", "0.5577805", "0.55741274", "0.5560193", "0.5500129", "0.54787076", "0.5391531", "0.53810483", "0.5322892", "0.5314795", "0.52875197", "0.5276513", "0.52721...
0.5339384
16
/ Functionality Focuses this output.
public void focus() { JWLC.nativeHandler().wlc_output_focus(this.to()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void focus() {}", "public void Focus() {\n }", "void focus();", "void focus();", "@Override\n\tpublic void setFocus() {\n\t\t\n\t}", "@Override\n\tpublic void setFocus() {\n\t\t\n\t}", "@Override\n\tpublic void setFocus() {\n\t\t\n\t}", "@Override\n\tpublic void setFocus() {\n\t\t\n\t}", ...
[ "0.71448207", "0.6785031", "0.67346394", "0.67346394", "0.6670449", "0.6670449", "0.6670449", "0.6670449", "0.6670449", "0.66382205", "0.6570784", "0.65694624", "0.65673906", "0.6561216", "0.6561216", "0.6561216", "0.6561216", "0.653213", "0.6515297", "0.65095556", "0.6468701...
0.7711453
0
Schedules render for this output. No op, if render was already scheduled for this output.
public void requestRepaint() { JWLC.nativeHandler().wlc_output_schedule_render(this.to()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void render(Callable<Object> callable) {\n\t\trenderQueue.enqueue(callable);\n\t}", "@Override\n public void render() {\n if (renderInterrupted) {\n log.debug(\"render()\");\n renderInterrupted = false;\n }\n\n }", "public void render(float dt) {\n System...
[ "0.67631286", "0.6716176", "0.6444284", "0.6314498", "0.6207208", "0.6144591", "0.60388225", "0.59988976", "0.59969306", "0.5971774", "0.5908048", "0.58988494", "0.5877015", "0.5873303", "0.58683324", "0.5853785", "0.5829132", "0.5826098", "0.57944036", "0.57745314", "0.57734...
0.63421917
3
Creates new form ViewGadai
public ViewGadai() { initComponents(); gc = new GadaiController(); datas= gc.bindingAll(TBLGadai, header); gc.loadCustomer(cmbCust); gc.loadBarang(cmbBrg); // gc.loadHistory(cmbStatus); reset(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createAd(/*Should be a form*/){\n Ad ad = new Ad();\n User owner = this.user;\n Vehicle vehicle = this.vehicle;\n String \n// //ADICIONAR\n ad.setOwner();\n ad.setVehicle();\n ad.setDescription();\n ad.setPics();\n ad.setMain_pic...
[ "0.6465444", "0.6324857", "0.6301353", "0.62031585", "0.6103228", "0.60151726", "0.5877689", "0.5840009", "0.5836597", "0.58138835", "0.5790348", "0.57782346", "0.5761153", "0.57601833", "0.57575566", "0.57426023", "0.5740237", "0.5737765", "0.57301253", "0.57248545", "0.5708...
0.5950634
6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { btnCari = new javax.swing.JButton(); txtCari = new javax.swing.JTextField(); jPanel1 = new javax.swing.JPanel(); lblIDGadai = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "...
0.0
-1
End of variables declaration//GENEND:variables
private List<String> getCombo(boolean isCustomer){ List<String> isi = new ArrayList<>(); String[] daftar = new String[datas.size()]; for (String data : datas) { daftar = data.split(";"); if (isCustomer) isi.add(daftar[1]); else isi.add(daftar[0]); } ...
{ "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
TODO Autogenerated method stub
public static void main(String[] args) { Concordance c = new Concordance("shakespear.txt"); c.printToDestination("destination.txt"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Created by jiangyuanyuan on 23/11/17.
public interface IAlarmMsgService { ServerResponse getNewest(); ServerResponse getTodayList(int sortType,int pageNum, int pageSize); ServerResponse getList(int sortType,int pageNum, int pageSize); ServerResponse getListByHour(int timeType,int sortType); ServerResponse getListByTime(int timeType,int ...
{ "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\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@O...
[ "0.6196659", "0.6121584", "0.60643053", "0.59943664", "0.5949185", "0.5949185", "0.5948126", "0.5892", "0.588259", "0.58756566", "0.5868389", "0.5807777", "0.58039623", "0.57926023", "0.578918", "0.57859343", "0.57749516", "0.57736933", "0.5762226", "0.5758267", "0.57505363",...
0.0
-1
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof Cheque)) { return false; } Cheque other = (Cheque) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { return false; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void se...
[ "0.6896886", "0.6838461", "0.67056817", "0.66419715", "0.66419715", "0.6592331", "0.6579151", "0.6579151", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.65624106", "0.65624106", "0.65441847", "0.65243006", "0.65154546", "0.6487427", "0.64778...
0.0
-1
Executes provided runnable, expects it to throw an exception. Then, it offers ways to assert on the expected exception.
public static ThrowableAssert assertThat(Runnable runnable) { return new ThrowableAssert(runnable); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void executeRunnableAndExpectError(Runnable runnable, Throwable error) {\n boolean called = false;\n try {\n CurrentSpanUtils.withSpan(span, true, runnable).run();\n } catch (Throwable e) {\n assertThat(e).isEqualTo(error);\n called = true;\n }\n assertThat(called).isTrue();\n...
[ "0.75639635", "0.70609677", "0.6998547", "0.6747789", "0.63156575", "0.617796", "0.60961246", "0.60936046", "0.60014635", "0.59678996", "0.5960684", "0.5918759", "0.58728194", "0.58540446", "0.5848234", "0.58316565", "0.57863224", "0.57550013", "0.5750446", "0.57484275", "0.5...
0.6550981
4
Tests execute method because of call to System.exit, this test will not pass. However, it is possible to debug up until that point.
public void testExecute() { aes.execute(); assertTrue(a.wasStopPollingMessagesCalled); assertTrue(osm.wasWriteCalled); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void _test_exit() throws Exception {\r\n System.exit(0);\r\n }", "public void _test_exit() throws Exception {\n System.exit(0);\n }", "public void _test_exit() throws Exception {\n System.exit(0);\n }", "public void _test_exit() throws Exception {\n System.exit(0);\n }", "@Test\r\n\t...
[ "0.77541465", "0.769163", "0.769163", "0.769163", "0.7293237", "0.7080334", "0.6795611", "0.64929587", "0.6490158", "0.6456328", "0.6424583", "0.6402697", "0.6352013", "0.63371164", "0.62847745", "0.6282927", "0.6259199", "0.6240225", "0.6192969", "0.61673486", "0.61570257", ...
0.5883639
49
index data for all the urls
public void indexURLData(HashSet<String> urls) { try { for (String url : urls) { Document document = initilizeDocumentwithFields(url.split("\t")[0]); if (document != null) { indexwriter.addDocument(document); } } indexwriter.close(); } catch (IOException e) { e.printStackTrace(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/\", method = RequestMethod.GET)\n public List<URL> index() throws MalformedURLException {\n\n List<URL> urls = new ArrayList<URL>();\n\n urls.add(new URL(\"http://localhost:8080/halogens\"));\n urls.add(new URL(\"http://localhost:8080/neutrons\"));\n urls.a...
[ "0.67536575", "0.645567", "0.6316255", "0.62153876", "0.6090974", "0.6052649", "0.59196794", "0.5862008", "0.5841812", "0.5819607", "0.5818394", "0.58166546", "0.58113056", "0.58023185", "0.5792399", "0.5774651", "0.5770424", "0.57616806", "0.57606345", "0.5745416", "0.572674...
0.7037817
0
Should not have restarted activity
@Override public void verifyNewCode(@NonNull InstantRunClient client, @NonNull Logcat logcat, @NonNull IDevice device) throws Exception { assertThat(logcat).doesNotContainMessageWithText(ORIGINAL_MESSAGE); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void onRestart() {\n\t\tsuper.onRestart();\n\t\tLog.d(TAG, \"onRestart() - ThreeActivity - перезапуск Activity\");\n\t}", "@Override\n public void needReloain(Activity activity) {\n }", "@Override\n\tprotected void onRestart() {\n\t\tsuper.onRestart();\n\t\tLog.d(\"RituNavi\", \"Ma...
[ "0.70096266", "0.6874134", "0.68523955", "0.68239063", "0.68239063", "0.6797637", "0.6781993", "0.6781993", "0.6781993", "0.67671794", "0.67596084", "0.67524517", "0.6752316", "0.6728244", "0.66349137", "0.66349137", "0.66349137", "0.6627098", "0.6616756", "0.661206", "0.6589...
0.0
-1
We do brute force iteration to check prime...
private boolean isItPrime(int checkPrime) { int i; // We dont devide the number by itself or one for (i = 2; i < checkPrime; i++) { if (checkPrime % i == 0) { // If there is no rest after modulus, the number is divisible System.out.println("\nSorry, not a prime number"); return false; } } S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private synchronized void verifyNumbersPrime() {\n\t\tint primeIndex = 1;\n\t\tfor (int j = NUMBER_TWO; j <= Integer.MAX_VALUE && primeIndex < primes.length; j++) {\n\t\t\tif(isPrime(j)) {\n\t\t\t\tprimes[primeIndex++] = j;\n\t\t\t}\n\t\t}\n\t}", "public static boolean isPrime(int n) \n{ \n//base case \nif (n...
[ "0.7471178", "0.7332346", "0.7259012", "0.7180565", "0.7148971", "0.7138296", "0.7132716", "0.71317583", "0.7087256", "0.70629686", "0.70586145", "0.7024704", "0.69630325", "0.693005", "0.6906388", "0.69047606", "0.6883994", "0.68763316", "0.68662125", "0.6851346", "0.6843535...
0.6677075
60
Gets the resource bundle for the specified locale.
private ResourceBundle getBundle(final Locale aLocale) { return ResourceBundle.getBundle("dsm-report", aLocale, getClass().getClassLoader()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ResourceBundle getResourceBundle(Locale locale);", "public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)\n {\n \treturn config.getResourceBundle(locale);\n }", "ResourceBundle loadBundle (String path, Locale locale);", "static public ResourceBundle getBundle() {\r\n\r\n\t\tif (resBun...
[ "0.81740576", "0.75374055", "0.7376545", "0.71167445", "0.6901095", "0.67039454", "0.6685752", "0.6651759", "0.6559802", "0.6548195", "0.6523408", "0.6345898", "0.63258433", "0.6316091", "0.62970155", "0.62680805", "0.6267496", "0.6213513", "0.6177201", "0.61573654", "0.61055...
0.7453767
2
TODO Autogenerated method stub
public void canclePraise(int po_id) { pm.canclePraise(po_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void addOnePraise(int po_id) { pm.addOnePraise(po_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void subCollectedNumInPostTable(int po_id) { pm.subCollectedNumInPostTable(po_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void addCollectedNumInPostTable(int po_id) { pm.addCollectedNumInPostTable(po_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public void insetPostConImg(Post post) { pm.insert(post); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public List<Post> getAllPostAndItsBlockPage() { return pm.getAllPostAndItsBlockPage(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public int getAllPostAndItsBlockPageCount() { return pm.getAllPostAndItsBlockPageCount(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public List<Post> getPostByName(String search) { return pm.getPostByName(search); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public List<Post> getPrisePostById(int id) { return pm.getPrisePostByUserId(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public List<Post> getMyPostById(int id) { return pm.getMyPostById(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
get the list of all the appointments
@Override public List<Cita> getAppointmentList() { // find all users List<User> users = (List<User>) userService.findAll(); // create a new arrayList of appointments List<Cita> appointments = new ArrayList<>(); // iterate over the list of all the users for (Iterator<User> user = users.iterator()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List<Appointment> getAllAppointments() {\n\t\t\t\tList<Appointment> appointmentsList = new ArrayList<Appointment>();\n\t\t\t\ttry {\n\t\t\t\t\tappointmentsList = ar.findAll();\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\t\tappointmentsList = null;\n\t\...
[ "0.8715913", "0.8101547", "0.795079", "0.7885737", "0.7758206", "0.7737611", "0.77154124", "0.76690114", "0.7560016", "0.74063957", "0.73504496", "0.7308094", "0.72459006", "0.7180474", "0.70713234", "0.7044627", "0.69107485", "0.68552244", "0.68226945", "0.6812467", "0.66971...
0.7483233
9