query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
352dd2924b143390bcbefd8be0d0a2fa
Gets the horizPrism value for this Prescription.
[ { "docid": "a28e4cacf329a569e3c4197692135d82", "score": "0.8269404", "text": "public java.lang.Float getHorizPrism() {\n return horizPrism;\n }", "title": "" } ]
[ { "docid": "ec77eb96694701c3e585215eb3b86567", "score": "0.6603472", "text": "public void setHorizPrism(java.lang.Float horizPrism) {\n this.horizPrism = horizPrism;\n }", "title": "" }, { "docid": "f7b390e18f3b753f4795a44cdb9bbb93", "score": "0.65749365", "text": "public i...
f405c1b9c6beceaf50f49b6dc9db9086
metodo per controllo inserimento di un disco nella matrice
[ { "docid": "eb149d38018d259d9ea8172b27ae0007", "score": "0.0", "text": "private int checkGravity(int col) {\n\t\tfor (int i=0; i<DEFAULT_ROW; i++){\n\t\t\t if(this.field[i][col]!=null) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn DEFAULT_ROW;\t\t\t//Nel caso non si possa inserire\n\t}", ...
[ { "docid": "3d3d6ff59fcdfb3a4854268b1a97a768", "score": "0.6769098", "text": "public String[][] creaMatriz(){\n\t\tString[][] mat = new String[CASILLAS][CASILLAS];\n\n\t\tfor(int i=0; i < mat.length; i++){\n\t\t\tfor(int j=0; j < mat.length; j++){\n\t\t\t\tmat[i][j] = \"-\";\n\t\t\t}\n\t\t}\n\n\t\tint i...
ca78b4163c21dd539b3f14827a204d87
/ returns true if index exists in the array representing the heap (value between 0 and heap array size)
[ { "docid": "1ccec254b3aad11506809dec02a5e187", "score": "0.85144794", "text": "private boolean indexExistInHeap(int index) {\n return index >= 0 & index < heapArray.size();\n }", "title": "" } ]
[ { "docid": "7755ffec0c9d235444049d669a167f0d", "score": "0.7083546", "text": "public boolean isHeap() {\n\t\t// Variables.\n\n\t\tint child, parent = 0;\n\n\t\t// Cuerpo.\n\n\t\twhile (parent <= theHeap.size() / 2 - 1) {\n\t\t\tchild = parent * 2 + 1;\n\t\t\t// Comprobamos que el padre sea menor siempre...
a59546f8e75f312298bfb30547cdac77
Sets the value of field 'customTest'.
[ { "docid": "dd53064fe65a6466f4115559ad33b99c", "score": "0.8206497", "text": "public void setCustomTest(\n final org.exolab.castor.tests.framework.testDescriptor.CustomTest customTest) {\n this._customTest = customTest;\n }", "title": "" } ]
[ { "docid": "690e1a645e77794639c4b21c9889098d", "score": "0.6636946", "text": "public void setCustom(boolean value) {\n this.custom = value;\n }", "title": "" }, { "docid": "ddd54279e96641b1255ad9363c5dc650", "score": "0.6581896", "text": "public org.exolab.castor.tests.fram...
181fefc0111afc4fde776d1ff155b7ac
Creates a new instance, representing a receipt.
[ { "docid": "3225509d22a722e417334aec2d27ecd8", "score": "0.6924701", "text": "public Receipt(Sale sale){\r\n this.sale = sale;\r\n }", "title": "" } ]
[ { "docid": "f016c820eb5e1e81c83164db81e54c82", "score": "0.8362071", "text": "private Receipt createReceipt() {\r\n return new Receipt(this);\r\n }", "title": "" }, { "docid": "ed61eb150d9531e14ad70258bb2d992a", "score": "0.75986636", "text": "public Printer(Receipt receipt...
aaa80489dfa5662b7f161bb12e3fb601
public String name; public String phone; public String newName;
[ { "docid": "da15955655b4b2872cf05fca927ba76d", "score": "0.0", "text": "public abstract void insetphone(String name, String phone);", "title": "" } ]
[ { "docid": "00542bc2be758cb8310dd03e86516198", "score": "0.65618193", "text": "public String getName(){return name;}", "title": "" }, { "docid": "00542bc2be758cb8310dd03e86516198", "score": "0.65618193", "text": "public String getName(){return name;}", "title": "" }, { "d...
b86bcbcace00ec439b66662b0c9714f1
] This method count number of trails
[ { "docid": "eceae3a90e4bddf80474520e05defc1d", "score": "0.68594134", "text": "public static int countTrails(int numToss,int heads) {\r\n return numToss - heads;\r\n }", "title": "" } ]
[ { "docid": "ea9d57dc62b9fa08899aef3f2ca7a647", "score": "0.7724187", "text": "int getTraversalsCount();", "title": "" }, { "docid": "e10f389b889fef0e82374c1f24ff5052", "score": "0.7378497", "text": "int getTrialsCount();", "title": "" }, { "docid": "178ba7bdc11739f375ff63...
64d600c2e146048e306ee9df31608f4f
Test case number: 65 /Coverage entropy=1.559581156259877
[ { "docid": "05981aabf552f1a6953e216f3308d8cf", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test065() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"9P+Ss.{$=P Z\");\n // Undeclared exception!\n try { \n xmlEntityRef0.div();\n fail(\...
[ { "docid": "fe2c88e93b06984ab138fd42b4ed1b18", "score": "0.72407985", "text": "public void testEntropy() {\n Assert.assertEquals(1.0, InformationTheory.entropy(new long[] { 5, 5 }));\n Assert.assertEquals(1.0,\n InformationTheory.entropy(new long[] { 15, 15 }));\n\n /...
d74d7ce1fbef1e9acbc8add391f3f197
///////////////////////////Main method for testing///////////////
[ { "docid": "6cc241d122c0ce61195be2e653d94c04", "score": "0.0", "text": "public static void main(String[] args) throws GameConfigurationException {\r\n Snake game = new Snake();\r\n GameContext context = new GameContext(game);\r\n context.start();\r\n }", "title": "" } ]
[ { "docid": "b2e362abe9f5a0304af34a6d61a966e3", "score": "0.7717892", "text": "public static void main(String[] args) {\n // unit tests here\n }", "title": "" }, { "docid": "29b12758443ffa8e802d07b358ec95d0", "score": "0.76165366", "text": "public static void main(String[] a...
8ac6eca64c7cd5ad1c50996a60b426f8
Checks and returns if the IntArrays object is sorted.
[ { "docid": "f55530334d9ab269c84279a9692b99af", "score": "0.7044486", "text": "public boolean isSorted()\n\t{\t\n\t\tfor (int index = 0; index < arraySize - 1; index++)\n\t\t{\n\t\t\tif (array[index] > array[index + 1])\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t\t\n\t}", "t...
[ { "docid": "45b41c8a58cd8caa03c9fbf7e464459f", "score": "0.7051984", "text": "public boolean isSorted(){\n\tfor (int i = 0; i < (_size - 2); i++){\n\t if (_data[i].compareTo(_data[i + 1]) > 0){\n\t\treturn false;\n\t }\n\t}\n\treturn true;\n }", "title": "" }, { "docid": "bd774a0fc4...
4b619aa2d443b18ed6a896043af9db36
would run in SyncThread
[ { "docid": "c8f98c58bfacc510ae974913638a928b", "score": "0.0", "text": "void addResult(SyncThread syncThread) {\n // TODO parse/handle/save the result\n // TODO tell UI\n }", "title": "" } ]
[ { "docid": "bd27955fdfb24226e838d6e7282d423f", "score": "0.7112445", "text": "protected void onSync() { }", "title": "" }, { "docid": "1d5bcf5bf6eb0275da5ed9d5ca2795af", "score": "0.7054663", "text": "public void sync();", "title": "" }, { "docid": "1d5bcf5bf6eb0275da5ed9...
f8728a8c7132194725f9f34a5d8b0e8d
Token literal values and constants. Generated by org.javacc.parser.OtherFilesGenstart()
[ { "docid": "6329f418d33e552390989e3111ca8272", "score": "0.63652796", "text": "public interface CompilerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PROGRAM = 7;\n /** RegularExpression Id. */\n int BOOLEAN = 8;\n /** RegularExpression Id. */\n int INT ...
[ { "docid": "46efaea956159cedbb2e2b405f76bf24", "score": "0.71282405", "text": "public Token token (String literal) throws LexerException;", "title": "" }, { "docid": "3f864592749a7ec8535bd1437bb61ea9", "score": "0.70331293", "text": "public interface InputParserConstants {\n\n /** E...
00dba2b6ff1d7ee6dfe10c566140153c
Tests that the new BuildBoard (through startGame) correctly adds empty cards and overall works properly.
[ { "docid": "bc35e553aeab41356661fb3523c83444", "score": "0.6117022", "text": "@Test\r\n public void testBuildBoard() {\r\n List<ICard> deck = model.getDeck();\r\n PyramidSolitaireView view = new PyramidSolitaireTextualView(model3);\r\n model3.startGame(deck, false, 5, 3);\r\n assertEquals(v...
[ { "docid": "8c686217c8c6926e8e84be479ed64ee1", "score": "0.75546604", "text": "public void testNewGameBoard() {\n System.out.println(\"newGameBoard\");\n\n model.newGameBoard();\n \n for (int row = 0; row < model.getRowCount(); row++)\n {\n // Initialize eve...
6658718f514ba651ceac71c4c68227b9
/ creating a no arguments default constructor with a call to the Object superclass constructor
[ { "docid": "fe916b6b87900bf39541b9ca8cde38d4", "score": "0.0", "text": "public SalesEmployee() {\n\t\tsuper();\n\t}", "title": "" } ]
[ { "docid": "a75bd2c7f95b073ff478ac9d015ee166", "score": "0.7255649", "text": "private void GeraConstructorDefault() {\r\n String sup;\r\n EntryClass cc;\r\n\r\n cc = (EntryClass) Curtable.levelup; // pega classe corrente\r\n\r\n if (cc.parent != null) { // acha nome da superc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "889f3ba18a845c8dd439a3e4654a52d7", "score": "0.0", "text": "public void onClick(View v) {\n\n\t\t\t\tsmslayout.setVisibility(View.INVISIBLE);\n\t\t\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
a223586b820fae6d16c1b706370e5951
Easy to handle if baseX is constant, otherwise, let the prover input a witness and verify some properties
[ { "docid": "51e62e2d085f435f2163685e73fc0376", "score": "0.4531354", "text": "private void computeYCoordinates() {\n if (basePoint.x instanceof ConstantWire) {\r\n\r\n BigInteger x = ((ConstantWire) basePoint.x).getConstant();\r\n basePoint.y = generator.createConstantWire(c...
[ { "docid": "55cbf5f9684bf05c0ca4a8fc7532fe3d", "score": "0.5865565", "text": "public abstract boolean isConstant();", "title": "" }, { "docid": "d973130dcd8967e8dc613af64c08b087", "score": "0.56964976", "text": "boolean hasBaseWeight();", "title": "" }, { "docid": "9cc236...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "faf2056a1eb954c03fdc8033095a11d0", "score": "0.0", "text": "@Override\n\tpublic ImageIcon bomba() {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
acdd86693eba523d0d4501823d604cc7
Sort the table given in argument using a bubble sort algoritm, and returns the sorted table.
[ { "docid": "caadaad1d9a0191d33ad65db8181b75c", "score": "0.65029806", "text": "public static int[] sortBubble(int[] tab) {\n boolean estTrie = false;\n while(!estTrie) {\n estTrie = true;\n \n for(int k=0; k < tab.length-1; k++) {\n if(tab[k]...
[ { "docid": "183767f9c57362b119a7bbdc585080cd", "score": "0.67438346", "text": "public static void sortBubble(int[] tab) {\n boolean alreadySorted=false;\n int temp;\n int n=tab.length;\n int i=0;\n if(tab.length!=0){\n while (i<n-1 && !alreadySorted){\n ...
b6be7e1745801ad722d9df2731420bea
Called after the data has been removed from the cache.
[ { "docid": "34ed69d3c2233f24d31c0ad2cece3780", "score": "0.0", "text": "protected abstract void notifyListenerDataRemoved(LISTENER_CLASS listener, String key, DATA data);", "title": "" } ]
[ { "docid": "cc199a1cd22d5b1d3d59872b35e01cb6", "score": "0.70889205", "text": "public void cleanupCache() {\n/* 280 */ this.biomeCache.cleanupCache();\n/* */ }", "title": "" }, { "docid": "5f5d3222708665cf75ef7feb5f9a39e1", "score": "0.702645", "text": "@Override\n\t\tpubli...
dd9fbe2d39c29872af76f2dc816c7173
Get Jetson connection status.
[ { "docid": "6fa2c4325741ca238edc35638c2767e4", "score": "0.0", "text": "public boolean isDaijoubu() {\r\n\t\treturn (connection.isConnected());\r\n\t}", "title": "" } ]
[ { "docid": "19025319a83c6963c4852fe2602c420e", "score": "0.74892765", "text": "public synchronized boolean getConnectionStatus() {\n \n return this.isConnected;\n }", "title": "" }, { "docid": "6d7ac35751dedfe3df100d7dfbe15a21", "score": "0.72996", "text": "public Vp...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "aa03e24c46c50496dcb2cd17e8dcdcb5", "score": "0.0", "text": "@Override\n\t\tpublic void onReceive(Context context, Intent intent) {\n\n\t\t\ttry {\n\n\t\t\t\tfinal Bundle extra = intent.getExtras();\n\n\t\t\t\tif (submitcase == true) {\n\t\t\t\t\tClassInfo ci = (ClassInfo) extra\n\t\t\t\t\t\t...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
cd9a417967c3eb32a9efda7d8ff69cec
Test of convertirDateToString method, of class Utilidad.
[ { "docid": "adbe9ea665f2d5259ae850c2e74af24f", "score": "0.8378845", "text": "@Test\n public void testConvertirDateToString() {\n System.out.println(\"convertirDateToString\");\n Date fecha = null;\n String expResult = \"\";\n String result = Utilidad.convertirDateToString(fecha);\n asse...
[ { "docid": "8dd96b443e854d40ad7bbecb33408aa2", "score": "0.82085276", "text": "@Test\n public void testConvertirDateToString2() {\n System.out.println(\"convertirDateToString2\");\n Date fecha = null;\n String expResult = \"\";\n String result = Utilidad.convertirDateToString2(fecha);\n ...
0385b911c69a008387fb8f16cff05ef6
This method is to verify given input value is integer.
[ { "docid": "5578b0b6d3ae8aeef2b0fe076e40bac5", "score": "0.0", "text": "public static int getInt(Scanner sc, String prompt) {\r\n int i = 0;\r\n boolean isValid = false; \r\n while (isValid == false) {\r\n \tSystem.out.print(prompt);\r\n if (sc.hasNextInt()) {\r\n ...
[ { "docid": "6f1b5bd947732f133410000dbe24aa10", "score": "0.7768173", "text": "public static boolean checkInt() {\n //Scanner myScanner = new Scanner(System.in);\n boolean a1; \n Object a = getInt(); \n if (a instanceof Integer) {\n return a1 = true;\n }\n ...
67f38bfa9528bf482c3e4748b38e465c
If true a small turtle will be drawn on the screen after each command.
[ { "docid": "b6f1730af80979286adad74d69cff538", "score": "0.5871827", "text": "public void setTurtleVisible(boolean isVisible) {\r\n turtleVisible = isVisible;\r\n }", "title": "" } ]
[ { "docid": "85c7dfa66aea5096b6a234a67063e68a", "score": "0.663312", "text": "void turtleMoved() {\r\n\t\t// show the drawn lines\r\n\t\tthis.clearOverlay();\r\n\t\t// add the turtles over top\r\n\t\tfor(Turtle t : this.turtles) {\r\n\t\t\tt._how_world_draw_turtles(this.og);\r\n\t\t}\r\n\t\t// force the ...
787d6e4fcdb5497d38786d1c0dbb5565
Reads the order database
[ { "docid": "e554f4581461e4e3162f7874ef428917", "score": "0.65488535", "text": "public static Map< String, Vector< Order > > readOrders(String file) throws IOException {\n\t\tMap< String, Vector< Order > > orders = Collections.synchronizedMap(new HashMap< String, Vector< Order > >());\n\t\tFileInputStrea...
[ { "docid": "5670762d8af84afa83f4f89ea3fbe59e", "score": "0.70585316", "text": "@Override\r\n\tpublic List<Order> readAll() {\r\n\t\tList<Order> orders = orderDAO.readAll();\r\n\t\tfor (Order order : orders) {\r\n\t\t\tLOGGER.info(order.toString());\r\n\t\t}\r\n\t\treturn orders;\r\n\t}", "title": ""...
e1f2236139144551d048b49e3e5d30c9
/ Exercise 2: Test park() method. Use Mockito.spy and Mockito.verify to test the situation for one available parking lot given
[ { "docid": "07650ec654c5b511bca169fdd3e75b72", "score": "0.78470284", "text": "@Test\n public void testPark_givenThereIsOneParkingLotWithSpace_thenCreateReceipt(){\n ParkingLot parkingLot = new ParkingLot(\"p\", 1);\n Car car = new Car(\"1\");\n List<ParkingLot> parkingLotList = ...
[ { "docid": "a165496105c3074405e2574225122cdc", "score": "0.79930544", "text": "@Test\n public void testCreateNoSpaceReceipt_givenACar_thenGiveANoSpaceReceipt() {\n ParkingLot parkingLot = new ParkingLot(\"p\", 0);\n Car car = mock(Car.class);\n List<ParkingLot> parkingLotList = n...
dfc107edc1ef060f4048501dbd51e3cd
Create record. Create a transaction to ensure data integrity, create/set pregnancyId, create the encounter, handle updates to patient_status and (if form 1, pregnancy) Update pregnancy if this is observations or prob/labour form that triggers admission Update referral status if this is a UTHrelated form Pregnancy concl...
[ { "docid": "b7e5e66b6f89af95985e2c2164461fd5", "score": "0.6179056", "text": "public static EncounterData create(Connection conn, EncounterData vo, String userName, Long siteId, Form formDef, Long currentFlowId, Boolean isImported) throws Exception {\r\n\r\n Map queries = QueryLoader.instance().l...
[ { "docid": "0d2b99e69b7cfdc4b3d475d997b5755d", "score": "0.7357915", "text": "private static void createPregnancyRecord(Connection conn, Map genQueries, EncounterData vo, Form formDef, String name, Long id, String userName, Long siteId, Long patientId, Long pregnancyId) throws Exception {\r\n Arr...
a82f1d72f09916909f3813985abc8f70
$ANTLR end "T__147" $ANTLR start "T__148"
[ { "docid": "be4610088757670ba5fd7948f4549faa", "score": "0.4945385", "text": "public final void mT__148() throws RecognitionException {\n try {\n int _type = T__148;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Users\\\\Tijana\\\\dev\\\\clone-detection\\\\ss...
[ { "docid": "05f8a16c220e68057e0f6b725baac9e3", "score": "0.55787337", "text": "private int yyr51() {\n return 107;\n }", "title": "" }, { "docid": "d3bd15ff857096cc4138622f67e09d5d", "score": "0.5429255", "text": "private int yyr60() {\n return 142;\n }", "tit...
87f73b6fd9b006cf9f2148272c6e999d
Convert the given object to string with each line indented by 4 spaces (except the first line).
[ { "docid": "8279fe35d1f3c688ad6983974b78755b", "score": "0.0", "text": "private String toIndentedString(java.lang.Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" } ]
[ { "docid": "9e6d1b5dcd4619e079c1bbb422051363", "score": "0.7617954", "text": "private String toIndentedString(Object o) {\nif (o == null) {\nreturn \"null\";\n}\nreturn o.toString().replace(\"\\n\", \"\\n \");\n}", "title": "" }, { "docid": "67c02f75fe4aba72712a894854fed42e", "score":...
d42ac38e20c273308baf203acbdf34dc
Configuration for the default persistence unit.
[ { "docid": "47bfbfff4886c3078f60035074128e87", "score": "0.62189436", "text": "@WithParentName\n HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit defaultPersistenceUnit();", "title": "" } ]
[ { "docid": "c975b825b2b0f3a5b241d0633dab7974", "score": "0.66858494", "text": "@Override\n protected String persistenceUnitName() {\n return PersistenceUnitNameCore.PERSISTENCE_UNIT_NAME;\n }", "title": "" }, { "docid": "2aa5d69e294a3c4451fd35a16d8b5084", "score": "0.6365395...
6bee4e8155c40a24a3b03f3326748d19
Removes the header element set on this page. If no header is set then this has no effect.
[ { "docid": "6e992a484751fa462e492ce434ef551f", "score": "0.7845274", "text": "public void removeHeader() {\n\t\tif (header != null) {\n\t\t\tremoveLogical(header);\n\t\t\theader = null;\n\t\t\tremoveToolBar(\"header\");\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "5b74a52fbeffd5b9388176e4c898ef21", "score": "0.7002129", "text": "public void unsetHeaders()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(HEADERS$4);\n }\n }", "title": "" }, { "docid": "e17...
031b3485788e79ab618bc6b516f550c7
$ANTLR end "rule__ChoiceDialog__Group__0__Impl" $ANTLR start "rule__ChoiceDialog__Group__1" ../de.unidue.ecg.dialogScript.ui/srcgen/de/unidue/ecg/dialogScript/ui/contentassist/antlr/internal/InternalDialogScript.g:4028:1: rule__ChoiceDialog__Group__1 : rule__ChoiceDialog__Group__1__Impl rule__ChoiceDialog__Group__2 ;
[ { "docid": "496728850448368e1fd658e086d50766", "score": "0.75958204", "text": "public final void rule__ChoiceDialog__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.unidue.ecg.dialogScript.ui/src-gen/de/unidue/ec...
[ { "docid": "d5618f43823d396848406107519bfd3d", "score": "0.7641361", "text": "public final void rule__Dialog__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.unidue.ecg.dialogScript.ui/src-gen/de/unidue/ecg/dialo...
90f7781b61fbedeb719ab99e4bbfa1c7
/ protected int mnFkUserInsertId; protected int mnFkUserUpdateId; protected Date mtTsUserInsert; protected Date mtTsUserUpdate;
[ { "docid": "9de4650d256f77b3d4dd656839be7c3c", "score": "0.0", "text": "public DDbAgentConfig() {\n super(DModConsts.M_AGT_CFG);\n initRegistry();\n }", "title": "" } ]
[ { "docid": "be8f6ca4e1ea8462636d5d39133b63a8", "score": "0.62214404", "text": "@Insert({\n \"insert into user (gmt_create, gmt_modify, \",\n \"username, password, \",\n \"nick_name, sex, header_pic_url, \",\n \"signature, mobile_phone_number, \",\n \"email, hide_nick_n...
6a57a2614ffda2226da90b68166c497b
Returns a listener for the file menu export SOAP message item.
[ { "docid": "51506b97d160a29f85c4b8b8bcad7a74", "score": "0.75069374", "text": "private SelectionAdapter getMainWindowMenuItemExportSOAPMessageListener() {\n return new MainWindowMenuItemExportSOAPMessageListener();\n }", "title": "" } ]
[ { "docid": "a59363f0b14213694dd5f13b136b5787", "score": "0.6940399", "text": "private SelectionAdapter getMainWindowMenuItemImportSOAPMessageListener() {\n return new MainWindowMenuItemImportSOAPMessageListener();\n }", "title": "" }, { "docid": "e06fcc62a5ffbb688b707b6b5b4171b2", "s...
4193769b185fec5a799a2bf048c23da2
Sets the Opacity for this cube
[ { "docid": "648b8c90927742f1982eea37888c5483", "score": "0.64386606", "text": "protected void setOpacity(float opacity) {\r\n\t\tthis.opacity = opacity;\r\n\t}", "title": "" } ]
[ { "docid": "2af0fcbfbcb73cea6e7d0c90697dab5d", "score": "0.7002963", "text": "public final void setOpacity(float opacity) {\n color.a = opacity;\n fill.a = color.a;\n }", "title": "" }, { "docid": "b6f159594d99d96837eb2466fa81edd6", "score": "0.68730265", "text": "pu...
22c8f2d27a65b6b6972523d2cd556cf5
This method chooses which contestant the berserker is going to attack
[ { "docid": "229b672944f07fd60d6fe0374feb8ea4", "score": "0.6485933", "text": "public Contestant getAttackContestant(ArrayList<Contestant> contestants)\r\n {\r\n int randInt = rand.nextInt(contestants.size()); // used to pull a random contestant from the contestant list\r\n while(!conte...
[ { "docid": "1e2f96900a8e6f0e08587b34543f7751", "score": "0.6553404", "text": "public void chooseFoeAttack(){\n\t\tif(Math.random() > 0.5){\n\t\t\tfoeAttack = foePet.getAttack1();\n\t\t} else {\n\t\t\tfoeAttack = foePet.getAttack2();\n\t\t}\n\t}", "title": "" }, { "docid": "c8ac1c321c3c145c0c...
842053b52e7b92916111751e75f12f78
/ Use recursion, Runtime : O(N); Space : O(1)
[ { "docid": "ccf0029b9b3680249a5c98474a38500a", "score": "0.0", "text": "public static List<String> binaryTreePaths(TreeNode root) {\n\t\tList<String> paths = new ArrayList<>();\n\t\tif(root == null)\n\t\t\treturn paths;\n\t\t\n\t\tallPaths(root, \"\", paths);\n\t\treturn paths;\n\t}", "title": "" ...
[ { "docid": "ae26757082d304e35d8a56194cc2e077", "score": "0.61033386", "text": "private static void f(int n) {\n\t\tif(result[n] != -1) return;\r\n\t\tif(n == 0 || n == 1) {\r\n\t\t\tresult[n] = 1;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tf(n-1);\r\n\t\tf(n-2);\r\n\t\tresult[n] = result[n-1] + result[n-2];\r\n\t...
0915f0a2d53f6553a727a12a1442d09a
Id of course (unique in combination with SeminarID).
[ { "docid": "45e01f36a7eec0b041cad15b66d86ec3", "score": "0.0", "text": "public long getKursID(){\n\t\treturn this.m_lKursID;\n\t}", "title": "" } ]
[ { "docid": "e254a3cff4c31602d48be0f7b9659fdb", "score": "0.74388707", "text": "public Integer getCourseId() {\n return courseId;\n }", "title": "" }, { "docid": "f84720aa5761d01b9629a6284af6cdcd", "score": "0.7395323", "text": "@Id\n\t@Column(name = \"id\")\n\tpublic String...
9200aa806a66e0b5cb24f185caf1b04f
TODO Autogenerated method stub System.out.println(" " + e);
[ { "docid": "345bf9aec1ab48d686a9578d23b063de", "score": "0.0", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tJButton buttonClicked = (JButton) e.getSource();\n\t\tif (b1 == buttonClicked) {\n\t\t\tplaySound(\"F1.wav\");\n\t\t}\n\t\tif (b2 == buttonClicked) {\n\t\t\tplaySound(\"...
[ { "docid": "437403dc9886d579c2b98b7d5e53aaf8", "score": "0.72269183", "text": "public static void e(Exception e) {\n\t\te.printStackTrace();\r\n\t}", "title": "" }, { "docid": "6b43280926c2aabc1870589147e3803f", "score": "0.70730853", "text": "@Override\n\tpublic void afficherErreur(...
76a381206c4cae245a714e1c3f9da6bc
Method for finding the maximum value in an array(exercise 12) pre: The entered array must be filled with whole numbers post: The maximum value of the array is printed
[ { "docid": "1c1d514f429afc2d0216066fda42a317", "score": "0.7467839", "text": "public static void maxArrays(int[] array){\n\tfor(int i=0; i<array.length; i++){\n\t\tfor(int j=0; j<array.length; j++){\n\t\t\tif(array[i]>array[j]){\n\t\t\tmaxVal=array[i];\n\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"...
[ { "docid": "bb7427110907285fd52d4f453c9a021e", "score": "0.79444045", "text": "public int findMax(int[] num){\n\n int max= num[0]; // Integer.MAX_VALUE\n for(int each: num){\n if(each>max){\n max = each;\n }\n }\n return max;\n }",...
c2570a65cc42372de5da8591050aa29b
Dosent't have the return type If any of the constructor is defined then it wont look for the default const(implicit constructor)
[ { "docid": "b6c2f21ffecc82107157aba67febcc85", "score": "0.0", "text": "public ConstructorDemo()\n\t{\n\t\tSystem.out.println(\"Default Constructor\");\n\t}", "title": "" } ]
[ { "docid": "68263d7b92a86015399d31c74eea2e68", "score": "0.64587545", "text": "private Consts(){\n\t\t //this prevents even the native class from \n\t\t //calling this ctor as well :\n\t\t throw new AssertionError();\n\t }", "title": "" }, { "docid": "3f6b1d41d7307590bcdfe782d0445dc...
fccf56b5d0771fe49bda79381a5ae9f4
optional string symbols_ref = 3;
[ { "docid": "9817ee37e5209e967e6a2420fba6892a", "score": "0.0", "text": "@java.lang.Override\n public boolean hasSymbolsRef() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" } ]
[ { "docid": "218b902e3760c48398d7a70686b2d90d", "score": "0.75702703", "text": "java.lang.String getSymbolsRef();", "title": "" }, { "docid": "c03a227645f9902013761451588db05d", "score": "0.6703413", "text": "boolean hasSymbolsRef();", "title": "" }, { "docid": "5626604388...
eb7823b515ba6faec8d4194bb39bd5d6
This method was generated by MyBatis Generator. This method sets the value of the database column crm_graduate.entryTime
[ { "docid": "b613d15104848b118069f807fca3dbd7", "score": "0.6220853", "text": "public void setEntrytime(Date entrytime) {\n this.entrytime = entrytime;\n }", "title": "" } ]
[ { "docid": "e3ddd931e5dbde6243a5c7260afa5148", "score": "0.6123368", "text": "public void setEntryUserTime( Date entryUserTime ) {\n this.entryUserTime = entryUserTime;\n }", "title": "" }, { "docid": "9b94a443b50d72157c0b0a51035ecf33", "score": "0.59475636", "text": "publi...
6be31cf4fd3289dcc74ae10eb08627cb
llama al DAO para obtener un cliente por el id y luego los muestra en la vista
[ { "docid": "06a078c1fd38f28196508d9a756ee798", "score": "0.6698351", "text": "public void verCliente() {\n int id = vistaCliente.buscarCliente();\n cliente = clienteDAO.read(id);\n vistaCliente.verCliente(cliente);\n }", "title": "" } ]
[ { "docid": "88570b5e8c850c41dbac9005bff55200", "score": "0.7827966", "text": "public Cliente getClienteById(int id_cliente) throws SQLException\r\n {\n Cliente cliente = null;\r\n DB_connection c = new DB_connection();\r\n Connection conexion = c.getConnection();\r\n Strin...
982d9e22306d5579217403dc2c2dc856
This will be used to allow this authenticator to set the options from the config form to the admin config form Its not used right now
[ { "docid": "23a4d90014b772281160d56803ede64c", "score": "0.49674994", "text": "public void applyConfigurationForm(Repository repository,\n Request request) {}", "title": "" } ]
[ { "docid": "fa4546e2c3b1c4a9a69929ed5d58a35a", "score": "0.61337924", "text": "public void configure() {\n\t\tassert (m_view != null);\n\n\t\tTSDialog dlg = (TSDialog) TSGuiToolbox.createDialog(TSDialog.class, m_frame, true);\n\t\tdlg.setTitle(I18N.getLocalizedMessage(\"Form Options\"));\n\t\tInstanceOp...
76181e0f40101c8c21bfab7f3133254e
Users adding an Attendee To An Event
[ { "docid": "ce7e26a6451ca57e0448581f91100460", "score": "0.84648335", "text": "public void createAttendee(Users userEvent);", "title": "" } ]
[ { "docid": "3ae42f8927098bfa4e9df6068d58d1c6", "score": "0.7597717", "text": "private void attendEvent(final Event event) {\n mDatabaseManager.addUserAttendingEvent(event.getUid()).addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@N...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b8476775c2acb87c7da1147bdaaf58e8", "score": "0.0", "text": "@Override\n\tpublic void mousePressed(MouseEvent e) {\n\t\tif(forward){\n\t\t\taudioPlayWave.stop();\n\t\t\taudioPlayWave =new myMusicPlay(System.getProperty(\"user.dir\") + \"\\\\src\\\\Data\\\\Project\\\\G13\\\\DX_Ball2.wav\");\n\...
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
505b88967eb7159057c3b26c73d2ba0f
repeated .paymentchannels.StoredServerPaymentChannel channels = 1;
[ { "docid": "77811e1b9e0a24066c8095b2360ce874", "score": "0.49264672", "text": "public java.util.List<org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel> getChannelsList() {\n if (channelsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(channels_);\n...
[ { "docid": "c03b027a8fe23f2945403bcabcab471a", "score": "0.64328897", "text": "org.bitcoinj.protocols.channels.ServerState.StoredServerPaymentChannel getChannels(int index);", "title": "" }, { "docid": "e7798ea8bb4ce5df9a7502e5547d7def", "score": "0.599232", "text": "private StoredSe...
1aa910307f56ae7c98b319c3343c92c0
This method was generated by MyBatis Generator. This method corresponds to the database table tbl_wxopen_jsapi_ticket
[ { "docid": "c2188049a342bc650bbf8abe175dbbeb", "score": "0.5618109", "text": "int insertSelective(TblWxopenJsapiTicket record);", "title": "" } ]
[ { "docid": "f620ff35b74c5d88b3ebc7c04137c40d", "score": "0.69328946", "text": "TblWxopenJsapiTicket selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "00fbfbd40fc14049f99412edd857ad85", "score": "0.60480773", "text": "io.opencannabis.schema.commerce.CommercialPOS.PurchaseTi...
c4f558c0225436a3cf0aca13bbd677c0
Add single ATC code to a product. List of ATC codes doesn't work yet
[ { "docid": "fb9336884f781aa4f6117cf5de79182f", "score": "0.59977126", "text": "private Product builATC(Product prod, ProductDTO prodDTO) {\n\t\tif(prodDTO.getAtc().size()>1) {\n\t\t\tif(prod.getAtcs() == null) {\n\t\t\t\tprod.setAtcs(new ArrayList<Atc>()); \n\t\t\t}\n\t\t\tprod.getAtcs().clear();\n\t\t\...
[ { "docid": "52f1f58ff2245c5228c8c02fae16df60", "score": "0.62998265", "text": "org.hl7.fhir.Code addNewCode();", "title": "" }, { "docid": "3db65ba425a68878530c6ed3db4b6433", "score": "0.6106754", "text": "public void addCode(EPPEncodedSignedCodeValue aCode) {\n\t\tif (this.codes == ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "591383e44befca50b519cda4dcc8dfdb", "score": "0.0", "text": "public void addNewOrder(Order o) {\n\t\tr.addNewOrder(o);\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
8064bdf78720a58ea6f574b791ee59f8
Returns a new object of class 'Path Ref'.
[ { "docid": "c31d715d8cd93c57aa6d5c3020465eac", "score": "0.8387584", "text": "PathRef createPathRef();", "title": "" } ]
[ { "docid": "ea13638a27f91b82763ddd582e8bcf06", "score": "0.6870147", "text": "private Path() {\r\n\r\n\t}", "title": "" }, { "docid": "fb3d0d80578ef2d963b9d216700ab5cd", "score": "0.6804923", "text": "EPath createEPath();", "title": "" }, { "docid": "840cbbef4fb9fcc7eedb0...
043f7bbf3535fbefbea8e1fb19d1a68c
Note: matches() must be called on a Matcher prior to calling group In case of no match, group(...) throws an exception, in case there is a match, but the group doesn't capture anything, it returns null.
[ { "docid": "dd0537ca6decbb5641d1dd76006b7897", "score": "0.0", "text": "public ValueProducer<String> group(final int group) {\n return new PrimitiveValueProducer<>(identifier + \".group(\" + group + \")\",\n String.class,\n ...
[ { "docid": "7f9d2a7777a0e1cb63bbdfce06f93a8e", "score": "0.6286674", "text": "@Nullable\n Matcher getMatcher();", "title": "" }, { "docid": "3a164a05d2e5c0b48aeba28fb92e0a09", "score": "0.61219895", "text": "List<String> tryMatchElseNull(Matcher matcher);", "title": "" }, ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cd623979297651ace2df0db66fb514d5", "score": "0.0", "text": "@Override\n\tpublic List<Article> selectAll() throws DAL_ArticleException {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
593c83ef5886d1b04fd963639ba71e09
Metodo per la copia ricorsiva di directory , deprecato!!
[ { "docid": "7dbf3298752551348d4d25a3aadbcba5", "score": "0.0", "text": "@Deprecated\r\n public void recursiveCopy(File f, String localPath, String remotePath) throws IOException, InterruptedException {\r\n for (ServerInterface slave : slaveServers) {\r\n if (f.isDirectory()) {\r\n ...
[ { "docid": "251169cb4410e331d6da8cfe4670264d", "score": "0.6719694", "text": "private static void copyFiles() {\n\n try{\n\n Path source = FileSystems.getDefault().getPath(\"wrkdir.txt\");\n Path dest = FileSystems.getDefault().getPath(\"wrkdir_copy.txt\");\n\n Fi...
a22107f4b783b87e087521b77b1b9f61
Testingonly constructor for mocking the factories.
[ { "docid": "54da326663a1d881597c9353b5d9babc", "score": "0.0", "text": "@VisibleForTesting\n ElementAdapterFactory(\n AdapterFactory<CustomElementAdapter, CustomElement> customElementFactory,\n AdapterFactory<ChunkedTextElementAdapter, TextElement> chunkedTextElementFactory,\n AdapterFac...
[ { "docid": "054f32261136238929fda77065ddd5f3", "score": "0.7756778", "text": "public Factory() {\r\n\r\n\t}", "title": "" }, { "docid": "250eef94d245e983e5f911b7c1b8b5d8", "score": "0.7741173", "text": "private TestDataFactory() {\n }", "title": "" }, { "docid": "42620...
a3d8c0d013315ef2135d8c3d60a73d2e
This method was generated by MyBatis Generator. This method returns the value of the database column t_goods_repaty.borrowid
[ { "docid": "44c28836ef9edd05eb85c11ed0869bcc", "score": "0.7040872", "text": "public Integer getBorrowid() {\r\n return borrowid;\r\n }", "title": "" } ]
[ { "docid": "4970ed745163fa492830658bdd8e36af", "score": "0.6469138", "text": "public void setBorrowid(Integer borrowid) {\r\n this.borrowid = borrowid;\r\n }", "title": "" }, { "docid": "3dba80e0a12257c6057e1536b6656db5", "score": "0.6236851", "text": "BorrowItem selectByPr...
ad81487e1e41c6f4f8f09f4584d45ed3
Better and Easy Solution
[ { "docid": "e08d3be760dd054e33478b7143227e1a", "score": "0.0", "text": "public boolean checkStraightLine(int[][] coordinates) {\r\n\t\tif (coordinates.length <= 2) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\tfloat n = findSlope(coordinates[0], coordinates[1]);\r\n\r\n\t\tfor (int i = 2; i < coordinates....
[ { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.4915673", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "title": "" }, { "docid": "7b41bf5cbe4e23d1d6af09c4e2750ed8", "score": "0.48934853", "text": "public String comprehensive();", "title": "" }, { ...
a0a4fd82ed062f4e4ec3703104d97149
The bulk of this method is to determine how long to spend turning at each corner of the polygon, and how long to spend driving along each edge. We calculate turnDuration and edgeTravelDuration, and then use these inside getControl to decide when to switch from turning to travelling straight and back again.
[ { "docid": "c7c13d4f3b60f1386cc34669197e7ce1", "score": "0.5378344", "text": "private void initializeController() {\n\n\t\t/*\n\t\t * Firstly, we know we need to turn the vehicle by PI - the internal\n\t\t * angle of the polygon\n\t\t */\n\n double interiorAngle = Math.PI * (_numSides - 2) / _num...
[ { "docid": "ce5ba3e24d52aa93a70d65fa735ffa29", "score": "0.5744469", "text": "private int drawPerimeterHelperMethod(){\n\t\t\t\n\t\t\tint corner = 0;\n\t\t\t\n\t\t\t// PAUSE FOR .5 SECONDS BEOFORE PROGRAM EXECUTION\n\t\t\tthis.doFor(500);\n\t\t\t\n\t\t\t_finch.setLED(0, 200, 0);\n\t\t\t_finch.setWheelVe...
b6cfb080c648c02510cbe8f4b0b3872e
Test for findAll method of the HunterDaoImpl.
[ { "docid": "ba86363f302ef9ece4684a886effe5d0", "score": "0.781402", "text": "@Test\n public void testFindAll() throws Exception {\n System.out.println(\"Hunter findAll test\");\n \n Hunter hunter1 = this.createHunter(\"Franta\", \"Voprsalek\", \"Short description.\", \"Frantisek\...
[ { "docid": "c590db704a0a586ac9486073ee6d4f47", "score": "0.71612406", "text": "@Test\r\n\tpublic void testeAlunoFindAll() {\r\n\t\tAlunoDAO dao = new AlunoDAO();\r\n\t\tList<Aluno> lista = dao.findAll();\r\n\t\t\r\n\t\tAssert.assertEquals(lista.size(), 100);\r\n\t\t\r\n\t\tSystem.out.println(\"Lista de ...
37eb729577be8df1ebad699c16d1e42d
Sets the output directory for the project's build.
[ { "docid": "fa7e583eb2064ca171589d8dfd62e9de", "score": "0.6635225", "text": "public void setProjectBuildDir(String dir) {\n mProjectBuildDir = dir;\n }", "title": "" } ]
[ { "docid": "7923b8a65d80ba6ff33d9dc65d7fc51b", "score": "0.7467306", "text": "private void setOutputDir(String outputDir) {\n this.outputDir = new File(outputDir);\n if (!this.outputDir.exists()) {\n this.outputDir.mkdirs();\n }\n }", "title": "" }, { "docid": "63e95e3f77fb532...
73576e9303ca2e3e20de32f999e34afd
Wrap a byte array and set the offset to 0 (zero). Any change to the underlying byte buffer will be reflected in the SpanBuffer. This is not recommended.
[ { "docid": "1617662869ffe0e015bc483ef1ffb052", "score": "0.71395516", "text": "public static SpanBuffer wrap(final byte[] bytes) {\n return bytes.length == 0 ? Factory.EMPTY : new SpanByteBuffer(ByteBuffer.wrap(bytes));\n }", "title": "" } ]
[ { "docid": "2d27329d1b76938dea2dca6a857e371a", "score": "0.72720665", "text": "public static SpanBuffer wrap(final byte[] bytes, final int off, final int length) {\n return bytes.length == 0 ? Factory.EMPTY : new SpanByteBuffer(ByteBuffer.wrap(bytes, off, length));\n }", "title": "" }, ...
d25b5bb56d93fdcf105c345ce1665beb
$ANTLR end "ruleNullLiteralExpCS" $ANTLR start "entryRuleNestedExpCS" InternalUSE.g:2311:1: entryRuleNestedExpCS : ruleNestedExpCS EOF ;
[ { "docid": "a3e7fdaf9d55b86d371145911e26aa91", "score": "0.71376264", "text": "public final void entryRuleNestedExpCS() throws RecognitionException {\r\n try {\r\n // InternalUSE.g:2312:1: ( ruleNestedExpCS EOF )\r\n // InternalUSE.g:2313:1: ruleNestedExpCS EOF\r\n ...
[ { "docid": "3fa8d94fe9ca932115511f5ce9931898", "score": "0.5862242", "text": "public final void entryRuleNullLiteralExpCS() throws RecognitionException {\r\n try {\r\n // InternalUSE.g:2287:1: ( ruleNullLiteralExpCS EOF )\r\n // InternalUSE.g:2288:1: ruleNullLiteralExpCS EOF...
1eb49bc0111d6d855efb04c0119de568
$ANTLR end "entryRuleAddExp" $ANTLR start "ruleAddExp" ../at.caks.eglipse.lang.glsl.ui/srcgen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:692:1: ruleAddExp : ( ( rule__AddExp__Group__0 ) ) ;
[ { "docid": "8b7c89121da2aca61210499a133f8c25", "score": "0.83902436", "text": "public final void ruleAddExp() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/co...
[ { "docid": "6d199db94a91a79419b40cfe0101834d", "score": "0.80064005", "text": "public final void entryRuleAddExp() throws RecognitionException {\n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:684:1: ( ruleAd...
ade64d5e27dc9311e57e5db45bd1b41e
This method handles the specific error message.
[ { "docid": "94faac255bd6e24ab5c04f904e274e6b", "score": "0.6696437", "text": "private void handleSpecificErrorMessage(final int errorCode) {\n\t\t// Specific error message handling\n\t\tfinal String messageKey = \"error.\" + errorCode;\n\t\tString message = getLocalizer().getString(messageKey, this);\n\...
[ { "docid": "713d21c2964d343f8b0dc07ba14891d6", "score": "0.70698696", "text": "public void handleInputError(String message) {\n\t\t\n\t\tview.displayString( message, PastOrdersOutChan.OCError );\n\t\t\n\t}", "title": "" }, { "docid": "4935fd7fd1b00113103a8bd281f667ad", "score": "0.698841...
b5e9ff32e0ef14274b51f8e2fec0c9c6
TODO go to next screen convert image to bitmap
[ { "docid": "f84aa1426562d881f318e5ba1716fb05", "score": "0.0", "text": "@Override\n public void onClick(View v) {\n ByteBuffer buffer = currentImage.getPlanes()[0].getBuffer();\n byte[] bytes = new byte[...
[ { "docid": "91f59381dd0db80ed9293759ed095feb", "score": "0.7037955", "text": "Bitmap mo18550a();", "title": "" }, { "docid": "4cab2b21973745f279da2c7f986fb0b7", "score": "0.67545664", "text": "protected void convertToBitmapDisplay(ImageBase image ) {\n if( image.width == bitma...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "bc8472f6999338ba6e410a6ec02b8091", "score": "0.0", "text": "@Override\n\tpublic List<CCLinearSpline> contours(double theFlatness) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "ti...
019247404368ccf88802abd860e46cfd
Move the cursor to the previous element.
[ { "docid": "2c28a7585d5aefbe1620d793a1a8841e", "score": "0.7588671", "text": "private void cursorPrevious() {\n\t\tcursorNext--;\n\n\t\t// Start reached, go to the end\n\t\tif (cursorNext < 0) {\n\t\t\tcursorNext = realPhysicalCapacity - 1;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "1f51a81df1a24553d7c88dc5be3d935d", "score": "0.8531647", "text": "void movePrev() {\r\n\t\tif (index() == -1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (index() == 0) {\r\n\t\t\tcursor = null;\r\n\t\t}\r\n\t\tif (index() >= 0 && index() <= length() - 1) {\r\n\t\t\tcursor = cursor.prev;\r\n\t\t} ...
9061f769a42f5a451570245d10b5fea0
Output only. The result of post scan actions. .google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult post_scan_actions_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
[ { "docid": "55be8e0f0cf389bcddef98209da37058", "score": "0.8357433", "text": "@java.lang.Override\n public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult\n getPostScanActionsResult() {\n return postScanActionsResult_ == null\n ? com.google.cloud.dataplex.v1.DataProf...
[ { "docid": "905c70d5daccf0bbaa1c6340bd10e839", "score": "0.8432762", "text": "public com.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult\n getPostScanActionsResult() {\n if (postScanActionsResultBuilder_ == null) {\n return postScanActionsResult_ == null\n ...
530b612b2517201703e2c7ff3f2d6238
Receive the broadcast message
[ { "docid": "fdb94389918d152b25e30784ed9e5492", "score": "0.0", "text": "@Override\n public void onReceive(Context context, Intent intent) {\n int receivedColor = intent.getIntExtra(\"Color\", Color.WHITE);\n mLinearLayout.setBackgroundColor(receivedColor);\n }", "...
[ { "docid": "da356d0ee2e73bc2d2591f9ac08c7755", "score": "0.73740894", "text": "@Override\n public void onReceive(Context context, Intent intent) {\n mix.performClick();\n System.out.println(\"broadcastrecieved\");\n\n }", "title": "" }, { "docid": "f77bbcf...
f9a19ded7dc678367167d869f7b107b3
/ This command executor needs to know about its plugin from which it came from
[ { "docid": "fc49931e41ea3b6e0184c7d99952414c", "score": "0.56534284", "text": "public CWSCommandExecutor(CastleWarsStats plugin) {\n\t\tthis.plugin = plugin;\n\t}", "title": "" } ]
[ { "docid": "151f0ac765364f55678dc54b0000e745", "score": "0.61858577", "text": "public CommandFramework(Plugin plugin) {\n this.plugin = plugin;\n\n if (plugin.getServer().getPluginManager() instanceof SimplePluginManager) {\n SimplePluginManager manager = (SimplePluginManager) p...
05440161de3e33746afcc17d051faba9
$ANTLR end "rule__ActionState__Group__4" $ANTLR start "rule__ActionState__Group__4__Impl" ../org.best.of.robotics.dsl.smach.ui/srcgen/org/best/of/robotics/ui/contentassist/antlr/internal/InternalSmachDSL.g:1232:1: rule__ActionState__Group__4__Impl : ( ( rule__ActionState__ClientnameAssignment_4 ) ) ;
[ { "docid": "4220b12d58ab271e5169be7603d3b061", "score": "0.85757154", "text": "public final void rule__ActionState__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.best.of.robotics.dsl.smach.ui/src-gen/org...
[ { "docid": "68d81ce17d4316696348e78f6856e622", "score": "0.7924987", "text": "public final void rule__ActionClient__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.best.of.robotics.dsl.smach.ui/src-gen/org...
53100a33aa8bebe49d8406c4258af1a8
Check the nullity of the given reference.
[ { "docid": "9bd121373d3dbb9bcffe74b69a55bddd", "score": "0.0", "text": "public static <T> T checkNotNull(T reference, @Nullable String message) throws NullPointerException {\n if (reference == null) {\n throw new NullPointerException(message == null ? \"\" : message);\n }\n ...
[ { "docid": "f6747276168aa0a31df22d88db52625f", "score": "0.70869356", "text": "@Override\n public boolean check(Ref ref) {\n return false;\n }", "title": "" }, { "docid": "69dff47fa3eca3c94dbbc7c8fbf95e57", "score": "0.66936237", "text": "public void testCheckNull_Accura...
611a3d18bff693b722c27a26f1cf02dc
Get value of field CODFID as a String.
[ { "docid": "9d4c6cc78854535989e882fd57aa5eb7", "score": "0.7316188", "text": "public String getCODFID() {\n return fieldCODFID.getString();\n }", "title": "" } ]
[ { "docid": "63bd4e6a3cb751b5aa35363a779c8c0c", "score": "0.6712307", "text": "@Override\n\tpublic String getCodigo() {\n\t\treturn this.cpf;\n\t}", "title": "" }, { "docid": "97f994c444a4fe9363f071f32cd71923", "score": "0.6685793", "text": "public java.lang.String getCnarid() {\n ...
3aed80e7199fec9d6d61c373d30ba2f4
Triggers at Activitys beginning, instances all Activities elements.
[ { "docid": "0a3eea8cb02e561ba2f65089824d94f7", "score": "0.0", "text": "@Override protected void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.activity_read_comments);\r\n\r\n lvComments=(ListView)findViewById(R.id.lvCommen...
[ { "docid": "7b5f6080d8dfa39d7e09c7c4233a9667", "score": "0.7930383", "text": "public void startActivities() {\n\t\tstartActivities(null);\n\t}", "title": "" }, { "docid": "ddf7fdae10bc5bfb7638694e32c78425", "score": "0.63040763", "text": "private Activities() {}", "title": "" }...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c2eee212257de81960e1c23e982df95d", "score": "0.0", "text": "@Override\n\tpublic void create() {\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
b7ae4fddd45876f7245bb146692eb711
Leetcode solution using an integer 2D array
[ { "docid": "ce99a6dc4f402e8750ff8c343df3cf63", "score": "0.0", "text": "public int[][] floodFill(int[][] image, int sr, int sc, int newColor) {\n\t\thelper(image, sr, sc, newColor, image[sr][sc]);\n\t\treturn image;\n\t}", "title": "" } ]
[ { "docid": "0fd4ed5606be5682841bc1f2b17d0222", "score": "0.6659263", "text": "public Integer[] simpleSolution(Integer[][] arr){\n int size=0;\n for(int i=0; i<arr.length; i++){\n size+=arr[i].length;\n }\n Integer[] result=new Integer[size];\n int counter=0...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "33c82161cecc5d66f996c95269d96f27", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
89f4e5c61e85d50218e492c21f6dd049
/List formatted as [a][1] [b][2] ... [h][8]
[ { "docid": "a00fb4babd309868f777be1a3c2f7427", "score": "0.0", "text": "public boolean validMovement(int posX, int posY, int x, int y){\r\n\t\t\r\n\t\tif(posX == 4 && posY == 0){\r\n\t\t\tif(x == 6 && y == 0) {\r\n\t\t\t\tif(Board.board[7][0] == 8 &&(Board.board[6][0] == 12 || Board.board[6][0] == 13) \...
[ { "docid": "0a7455ce121ea74117381a97669fe494", "score": "0.64346486", "text": "private static String[] composeList(MessageFormat format, String[] list) {\n if (list.length <= 3) return list;\n\n // Use the given format to compose the first two elements into one\n String[] listItems ...
127ac4a95351b34b72056969fa75e463
Listens for and responds to action commands.
[ { "docid": "b75287b612bcdb5da4e41d6cb4274a50", "score": "0.0", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent event) {\r\n\t\tif (event.getSource() == start) {\r\n\t\t\t// When the match starts\r\n\t\t\tif (!matchNum.getText().equals(\"\")) {\r\n\t\t\t\tgameOn = true;\r\n\t\t\t\tmode.se...
[ { "docid": "addf5cd510dbcebf7cd4277f9cb0e4e3", "score": "0.6792885", "text": "protected void onInputActionReceived(Action action) {}", "title": "" }, { "docid": "29af817a86ca60078e8f8109b1f84483", "score": "0.6792196", "text": "void doAction(String cmd) {}", "title": "" }, { ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cefc4bcb934e059aad2b2041630746ec", "score": "0.0", "text": "@Override\r\n\tpublic IBinder onBind(Intent arg0) {\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "66b726572f0a1194666bd4ff52c770f1", "score": "0.0", "text": "public long getIdleTime()\n/* */ {\n/* 519 */ if (!isValidInternal())\n/* */ {\n/* 521 */ throw new IllegalStateException(sm.getString(\"standardSession.getIdleTime.ise\"));\n/* */ }\n/* */ ...
[ { "docid": "c4947249f564a8b23a47e2c447581677", "score": "0.59736824", "text": "private static void divide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9b4a639f85736255ddf7adcdd8bc9f17", "score": "0.5576887", "text": "public static void base()\n {\n for(int line = S...
43c8d902ed435aeeac0aab245b9908e1
getting values from selected ListItem
[ { "docid": "cf06a4c730f73766fddfdc9b72b7eb4e", "score": "0.0", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n String title = ((TextView) view.findViewById(R.id.title)).getText().toString();\n ...
[ { "docid": "ddd3cb60b926809a905b7eb5b0e02f02", "score": "0.67373097", "text": "ListitemType getListitem();", "title": "" }, { "docid": "6449d0eedc1aa06a78ffa8d0b06b617e", "score": "0.6687108", "text": "public List<T> getSelectedItems() ;", "title": "" }, { "docid": "c92ae...
f4e4da16e3a6b76019fdb58e3e9049c3
XX' = X'X = I
[ { "docid": "6ead62c4ed5c02f6dca78465a5380c8b", "score": "0.0", "text": "public boolean isInversible() {\n\n\t\tif (!isSquare()) {\n\t\t\treturn false;\n\t\t}\n\n\t\tfinal Matrix inv = inverse1();\n\t\tfinal Matrix t1 = multiply(inv);\n\t\treturn t1.equals(inv.multiply(this)) && t1.isIdentity();\n\t}", ...
[ { "docid": "341a0cd7d6a728a13bb32593ea9ea3ee", "score": "0.55919665", "text": "@Test\n\tpublic void testSIMP_CONVERSE_ID() {\n\t\trewriteExpr(\"(id⦂S↔S)∼\", \"id⦂S↔S\");\n\t}", "title": "" }, { "docid": "8ef80d6521cf675338e841f01257e6aa", "score": "0.5400101", "text": "void mo99087a(...
c4a3e7c2cc8380205e3ac3adec176d2a
FinalStatement has either only the Desc inside if State == 1, or all fields set if State == 2. optional .pop.FinalStatement finalstatement = 2;
[ { "docid": "dd5e3c05fa98dd3f48433729b5d361b2", "score": "0.5697497", "text": "public ch.epfl.dedis.lib.proto.PoPProto.FinalStatementOrBuilder getFinalstatementOrBuilder() {\n return finalstatement_ == null ? ch.epfl.dedis.lib.proto.PoPProto.FinalStatement.getDefaultInstance() : finalstatement_;\n ...
[ { "docid": "988c9597a8a431f8afc309e4437e6d22", "score": "0.6467018", "text": "ch.epfl.dedis.lib.proto.PoPProto.FinalStatement getFinalstatement();", "title": "" }, { "docid": "e3f5b7cb48a97a33b6310a4eb470ba82", "score": "0.64018524", "text": "ch.epfl.dedis.lib.proto.PoPProto.FinalSta...
400b2a67e9dc689f4f8851f4de3f34c5
return device available memory
[ { "docid": "49acfbb63dc65e15cf9ef5fa6043783e", "score": "0.8044168", "text": "public static int getDeviceAvailableMemory() {\n ActivityManager am = (ActivityManager) sApp.getSystemService(Context.ACTIVITY_SERVICE);\n ActivityManager.MemoryInfo mi = new ActivityManager.MemoryInfo();\n ...
[ { "docid": "1167d73a927cddc78d47551f7b4e08c4", "score": "0.8313017", "text": "private long getAvailMemory() {\n mActivityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);\n ActivityManager.MemoryInfo mi = new ActivityManager.MemoryInfo();\n mActivityManager.getMemoryIn...
bfd9f3111cd0e68e536add236b07bb01
Given a month (from 1 to 12) it calculates the first month of its quarter.
[ { "docid": "5052f55187882451268f964c0cb908a3", "score": "0.7649366", "text": "public static int getQuarterFirstMonth(int firstMonthOfYear, int targetMonth) {\n int result = firstMonthOfYear;\n int index = firstMonthOfYear;\n\n for (int i = 0; i < 4; i++) {\n for (int j = ...
[ { "docid": "ba693b4e8c46c51d9aaca5e3c2b4fa77", "score": "0.66787577", "text": "public static int getPositionInQuarter(int firstMonthOfYear, int targetMonth) {\n int index = firstMonthOfYear;\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 3; j++) {\n if (i...
513e470ecd75c1677fb6a101bed135ee
Gets the The maximum number of word correction combinations to rank and evaluate prior to deciding which collation candidates to test against the index.
[ { "docid": "721d1851218366ad9a75bf674b53ab67", "score": "0.6280343", "text": "public String getMaxCollationEvaluations(){\r\n\t\treturn maxCollationEvaluations;\r\n\t}", "title": "" } ]
[ { "docid": "9cb291f7450aa7ab411b8071503e2264", "score": "0.6021575", "text": "public int getMaxWordCount();", "title": "" }, { "docid": "e651207a2d91b11a8a41b93c5b0b2f03", "score": "0.5948463", "text": "public int solveWithPrefixes() {\n\t\t\n\t\t// create a counter for the number of...
240c010f3d0a0e74f4d625f83fda485b
Returns the AssetHandler in use
[ { "docid": "4dfef5f19b8cf6cd4f41d532372e7074", "score": "0.8165066", "text": "AssetHandler getAssetHandler();", "title": "" } ]
[ { "docid": "88b5c6fbc9ef01beea7ee824cba89881", "score": "0.6443352", "text": "public AssetManager getAssetManager() {\r\n return tanksApp.getAssetManager();\r\n }", "title": "" }, { "docid": "ebeac34ec2aeb02168b3bfd7b091533e", "score": "0.6299871", "text": "public Handler g...
3422d9da7c7ae7485dee09b0c11b333b
End Table Format Property
[ { "docid": "b78af05ab9dc50a7daec40109ce6edfc", "score": "0.0", "text": "public void GetAllFileds() throws Exception {\n\t\t if(protocol.getState() != null) {\n\t\t\t CfgFieldQuery cfgFieldQ = new CfgFieldQuery();\n\t\t\t Collection<CfgField> cfgFieldList = confService.retrieveMultipleObjects(CfgField.cl...
[ { "docid": "74d1ae5114cd7e2ff7fd3d1cdc2ef9c3", "score": "0.715405", "text": "public String endTable() {\r\n return \" </table>\\n\";\r\n }", "title": "" }, { "docid": "ed8e05b957eaa333fd1c6e398cff34c8", "score": "0.6371938", "text": "protected void endTable() {\n si...
37d5503207d991f8eccf66f6796fa4fe
Returns data buffer table
[ { "docid": "9c1801eefc97bef064b3fdcc83b2d788", "score": "0.0", "text": "public Table getTable( ) {\n\t\tif( table == null ) {\n\t\t\tthrow new IllegalArgumentException( name + \": no table section\" );\n\t\t}\n\t\treturn( table );\n\t}", "title": "" } ]
[ { "docid": "509df6a0edce56b0888f87d47d8f7ce5", "score": "0.71556115", "text": "public ByteBuffer getData() {\n int size = getLength();\n \n ByteBuffer buf = ByteBuffer.allocate(size);\n \n // write the header\n buf.putInt(getFormat());\n buf.putInt(getIta...
40b5fb9f44bfd295f7f0c021739ed72b
/ Cuenta el nro de cortes de un camino
[ { "docid": "0c4f26dade38feb67634aad6480efc64", "score": "0.0", "text": "public static int[] nroCuts(ListaEnlazada ksp, GrafoMatriz G, int capacidad){\r\n \r\n int cuts=999; \r\n int slots=-1;\r\n \r\n int [] cortesSlots = new int [2];\r\n ArrayList<Integer> cut...
[ { "docid": "6cda5136ffdef7462ddb046512eb4cc1", "score": "0.62885", "text": "public static int[] getCamereOccupate() {\n /* variabili e costanti locali di lavoro */\n int[] camereOut = null;\n int[] presenze;\n ArrayList<Integer> camere;\n Filtro filtro;\n Ordine...
8f501edd080d31ad4a822340cce4f38e
Auto generated getter method
[ { "docid": "729f6296abd16393fa6427a69b3bc92c", "score": "0.0", "text": "public ExceptionType getText() {\r\n\t\t\treturn localText;\r\n\t\t}", "title": "" } ]
[ { "docid": "2b673b4ccd5a74b9cff0dfb440cc6fd8", "score": "0.7604328", "text": "public T get() {\n }", "title": "" }, { "docid": "8d5e1e149b54434e5ef011301af95400", "score": "0.7425833", "text": "public Object get();", "title": "" }, { "docid": "cae7dd0c3ea172c79f53946f56f...
55961b017fa0d2b16b41f07c549e5b9e
Unfortunately we store the column type as ANY (comes from Calcite row type) for complex types, so we can't have this check now. validateColumnType("Extract map entries", MAP, mapSelection.getColName());
[ { "docid": "0594ccbbc7493285dd7ef79438e8dacd", "score": "0.4646344", "text": "@POST @Path(\"extract_map\") @Produces(APPLICATION_JSON) @Consumes(APPLICATION_JSON)\n public Cards<ExtractMapRule> getExtractMapCards(\n /* Body */ MapSelection mapSelection) throws DatasetVersionNotFoundException {\n ...
[ { "docid": "06cc1f99a08ae75565439498456023ea", "score": "0.5756103", "text": "public Map<String, Integer> getColumnTypesForQuery(String query) {\n LOG.error(\"This database does not support free-form query column types.\");\n return null;\n }", "title": "" }, { "docid": "45d7ca5b008be...
c9eec7298b243b15c6701360477b1a18
This method was generated by MyBatis Generator. This method returns the value of the database column CULSITE.ES_ORDER.PROTECT_PRICE
[ { "docid": "7076601ba411d2b4094d64b64645e91a", "score": "0.685711", "text": "public BigDecimal getProtectPrice() {\r\n return protectPrice;\r\n }", "title": "" } ]
[ { "docid": "b1c472d18bd059f29ed76e962f64f7f4", "score": "0.6160572", "text": "public double getPrice() {\n return entity.getPrice();\n }", "title": "" }, { "docid": "8d21694b30b9ddb501932978e0cf2978", "score": "0.6150575", "text": "public Double getOdlProductPrice() {\r\n ...
5f4d220467972028e8080ed6d3d68107
System.out.println("tid: "+tid.getId()+" owns "+lockType+" "+pid.toString()); update graph as long as we detect it has no dead lock
[ { "docid": "e746c5a2618e227543cec9a023d4dbba", "score": "0.677909", "text": "public void Lock(PageId pid, LockType lockType, TransactionId tid)throws TransactionAbortedException{\n synchronized (mutex) {\n //System.out.println(\"Check deadlock \"+tid.getId());\n if (isDeadLo...
[ { "docid": "8202e9ea2f0956067cc2d33592bfd75c", "score": "0.59833735", "text": "public void PTlock(){\n\t\t//Get ID and starting point\n\t\tint i = THREAD_ID.get();\n\t\tint start = this.MAX_DEPTH - 1;\n\t\tint me;\n\n\t\t//Keep trying to obtain the next level lock until you've achieved root lock\n\t\twh...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "653c902122d9f9ad64bf1f8a39e18e0b", "score": "0.0", "text": "@Override\n\tpublic void transactionExecute(Transaction transaction) {\n\t\tif (numberTransaction++ >= 3) {\n\t\t\tdouble totalBalance = super.getBalanceAccount() - (transaction.getvalueTransaction() * 0.05);\n\t\t\tsuper.setBalance...
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
8bde032717c504b5744ddcb31b0e07fe
Method generated to support the promotion of the disabledTextColor attribute.
[ { "docid": "33cb0e9d9abf642e8884d4e1d0d6c1cc", "score": "0.7557825", "text": "public void setDisabledTextColor(Color arg1) {\r\n\t\tgetJTextField().setDisabledTextColor(arg1);\r\n\t}", "title": "" } ]
[ { "docid": "7b40d4c6277c0e53f8485d828646de94", "score": "0.7838641", "text": "public Color getDisabledTextColor() {\r\n\t\treturn getJTextField().getDisabledTextColor();\r\n\t}", "title": "" }, { "docid": "6271a9b1c87e02d7d8c0390416883018", "score": "0.7381834", "text": "public Strin...
6199181dc11abd9687f0f891e183fc81
Get the vpoll items (candidates)
[ { "docid": "9f8dcfa8b096b6ff9da6c54a57b98979", "score": "0.5708451", "text": "@IcalProperty(pindex = PropertyInfoIndex.VVOTER,\n vpollProperty = true\n )\n @NoProxy\n public Set<String> getVoters() {\n final List<BwXproperty> props = getXproperties(BwXproperty.pollVoter);\n\n if ...
[ { "docid": "45dbe20bcadc9d1b8e71b10bdfd3c642", "score": "0.6207985", "text": "public List getResults() {\r\n List<Candidate> list = new ArrayList<>();\r\n list = getCurrentVoting().getCandidates();\r\n list.sort(Comparator.comparingInt(Candidate::getVoices));\r\n return list;...
391ee2d4feef626a215d14403a72ce5b
returns the actual value of the card, not the point value
[ { "docid": "193bf9f2e0cc7170f7a279721f28151c", "score": "0.77852166", "text": "public int getCardActualValue(){\n\t\treturn value;\n\t}", "title": "" } ]
[ { "docid": "39a9b7a53ad5830434cf9a5c93883903", "score": "0.7687518", "text": "public int getCardPValue(){\n\t\tint pointVal;\n\t\tswitch(value){\n\t\t/*aces are worth 11 pts - the swinging point value\n\t\twill be adjusted for in the NAME class rather than here */\n\t\tcase 1:\n\t\t\tpointVal = 11;\n\t\...