query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2d0e078cf676a234c2fb19171fad3cda", "score": "0.0", "text": "@Override\r\n\tpublic List getBizList(Integer vo,Integer vo2) {\n\t\treturn dao.getBizList(vo,vo2);\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...
177b85927cc9d6d2681370d027090e85
$ANTLR end "rule__Container__Group_5_24__3" $ANTLR start "rule__Container__Group_5_24__3__Impl" InternalContainer.g:5188:1: rule__Container__Group_5_24__3__Impl : ( '}' ) ;
[ { "docid": "2c81f6c90b788234c98c12e7297beb45", "score": "0.74506384", "text": "public final void rule__Container__Group_5_24__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalContainer.g:5192:1: ( ( '}' ) )\n ...
[ { "docid": "fac838dfbf99f8a99c9e292bb011882f", "score": "0.7467482", "text": "public final void rule__Container__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalContainer.g:3015:1: ( ( '}' ) )\n ...
6f3078f58ddbed0f3ed9bc3a0ee56f4b
Gets instance of Dictionary
[ { "docid": "4e083c9ec471c3f594bdce705e0a4fe4", "score": "0.7962836", "text": "public static Dictionary getInstance() {\n if (Dictionary.dictionary == null) dictionary = new Dictionary();\n return Dictionary.dictionary;\n }", "title": "" } ]
[ { "docid": "69cae97cd4a97a1255d0c0df3006ed0e", "score": "0.7881441", "text": "public static Dictionary getInstance() {\n\t\tif (instance == null) {\n\t\t\tinstance = new Dictionary();\n\t\t}\n\t\treturn instance;\n\t}", "title": "" }, { "docid": "9867836a8da93ab2dccc36cf683b4f8a", "score...
1340a80cb2f88274a10e8b395ecd3d67
bytes iv = 2;
[ { "docid": "f0a4e0e0dac2f8dfb408511b62929cf2", "score": "0.7253433", "text": "com.google.protobuf.ByteString getIv();", "title": "" } ]
[ { "docid": "d0ba910c7399241e6699e473d7e7e217", "score": "0.72279537", "text": "java.lang.String getIv();", "title": "" }, { "docid": "ee33c31f6bbd1a9470ea96be52aee1eb", "score": "0.7153768", "text": "public String getIv() {\n return iv;\n }", "title": "" }, { "docid":...
7c50f44af7d6696fd6526da5aa152cfc
/ This is the method used by the main search page.
[ { "docid": "73dfdeb619e24a48d03d2ae67c2dd518", "score": "0.0", "text": "@Override\n @Transactional(readOnly = true)\n public SearchResultMap search( SearchSettings settings ) throws SearchException {\n if ( !supportedResultTypes.keySet().containsAll( settings.getResultTypes() ) ) {\n ...
[ { "docid": "4fd95125d22f7873c29cc4883e780e5a", "score": "0.782998", "text": "@Override\n\tpublic void search() {\n\n\t}", "title": "" }, { "docid": "446e204c62945c9fea67924ab6fcae2f", "score": "0.76643986", "text": "public static void search() {\n\t\t\n\t}", "title": "" }, { ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2f5833e6563737c1a30b297c793ec8ac", "score": "0.0", "text": "public static void main(String[] args) {\n\r\n\t\tScanner input = new Scanner(System.in);\r\n int n = input.nextInt();\r\n int k = input.nextInt();\r\n int[] height = new int[n];\r\n for(int height_i=0; h...
[ { "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...
2b0da94286c7ba1693bb08dc0a47de24
repeated .CSVCMsgList_GameEvents.event_t events = 1;
[ { "docid": "8aa6856c87aa4ece4c6d7c7fd41d667f", "score": "0.66473746", "text": "public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CSVCMsgList_GameEvents.event_tOrBuilder getEventsOrBuilder(\n int index) {\n if (eventsBuilder_ == null) {\n return events_.get(index); } ...
[ { "docid": "5a626851220b610f880c83f6d7232fe6", "score": "0.7381133", "text": "skadistats.clarity.wire.common.proto.NetworkBaseTypes.CSVCMsgList_GameEvents.event_t getEvents(int index);", "title": "" }, { "docid": "f4e1827b1f523331bb80ac56fe8158b8", "score": "0.7138724", "text": "skad...
dfae54da5ee95dee4254c439a4a647d4
Get an object from a JSON object.
[ { "docid": "fa70dc504a3a9b7df89afb3bf69c4b2f", "score": "0.0", "text": "public static Map<String, Object> getObject(Map<String, Object> map, String key, boolean nonNull) throws IOException {\n Object obj = map.get(key);\n if (obj == null && nonNull) {\n throw new IOException(String.for...
[ { "docid": "291d6d14b080e896cd281645620ddc17", "score": "0.68792844", "text": "public Object fromJson(String stringObject, Class<?> clazz);", "title": "" }, { "docid": "b228943d5d8e4be4a2a2c39108a64149", "score": "0.67167366", "text": "public static <T> T getObjectFromJson(final Stri...
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "7cef4534ad3fb3fc696cb0cb42daef51", "score": "0.0", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // MSG\n return MSG;\n default:\n return null;\n }\n }", "title": "" } ]
[ { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78814214", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "do...
e24c489c115091c806d4e887f8ed46d0
the array of success probabilities The specified constructor for creating a multinomial random variable with the specified number of trials being conducted and the specified array of probabilities corresponding to a trial success in an array of possible trials.
[ { "docid": "e937abc1f75870ddfcdc910585922de4", "score": "0.6586991", "text": "public MultinomialRV(int n, double[] p)\n {\n this.n = n;\n this.p = new double[p.length];\n for (int i=0; i<p.length; i++)\n this.p[i] = p[i];\n }", "title": "" } ]
[ { "docid": "981663504ca4fee9e22443ba4ff1fdd6", "score": "0.6350565", "text": "public void testMultinomial1 () {\n \n try {\n // first set up a vector of probabilities\n int len = 100;\n SparseDoubleVector probs = new SparseDoubleVector (len, 0.0);\n for (int i = 0; i < len; i +...
b76bbd70e786ee13ef5f632ff2c11b7d
single tap returns true so we know to register it over a swipe
[ { "docid": "41bc196af8d619678353cb37c40f0c42", "score": "0.7006442", "text": "public boolean onSingleTapUp(MotionEvent e)\n {\n return true;\n }", "title": "" } ]
[ { "docid": "02a5e756662523ef7478622182aa74da", "score": "0.75740737", "text": "@Override\n public boolean onSingleTapConfirmed(final MotionEvent e) {\n onSingleTap.run();\n return true;\n }", "title": "" }, { "docid": "3ad19...
6f82d7d0e8270601f877912b90447bc9
Initialize a researcher array (with random research skills and right amount of instances to each level
[ { "docid": "c6edf6c70e9a28a97ea9784be3837fa4", "score": "0.78149366", "text": "public void initialize()\r\n\t{\n\tfor (int i=0; i<4;i++)\r\n\t{\r\n\t\t\r\n\t\tfor (int j=0; j<M.PositionLevels[i];j++)\r\n\t\t{\r\n\t\tresearcherArray.add(new Researcher(RandomGenerator.nextSessionId() , 0, randomGenerator....
[ { "docid": "394cf21f671d48767c0c166e59262e01", "score": "0.62201715", "text": "@Override\n protected void initLevelUpSkills() {\n List<Integer> beginnerSkills = new ArrayList<Integer>();\n //TODO: IMPRISON\n beginnerSkills.add(SkillFactory.NASTY_PLOT);\n beginnerSkills.add...
1cfdaf86b81ba06aa51a8bd05aec0165
Sets the unit being displayed to the specified one.
[ { "docid": "be37ebdce893d49377726b7a148acd77", "score": "0.73602664", "text": "public void setUnit(Unit aUnit)\r\n {\r\n myUnit = aUnit;\r\n }", "title": "" } ]
[ { "docid": "dc014b430e53135cb584fb00976049ea", "score": "0.7788644", "text": "public void setUnit(Unit unit) {\n this.unit = unit;\n }", "title": "" }, { "docid": "1076f7ca33346ab261b6d0131797a196", "score": "0.77602404", "text": "@Override\n\tpublic void setUnit(Unit unit)...
6e52e892afa54f2f6caefa3f88140526
grab our cached authentication from when the client asked for it
[ { "docid": "bd8b7123e8efb11bb5fc74aa7755ae07", "score": "0.0", "text": "@PreAuthorize(\"hasRole('ROLE_USER')\")\n\t@RequestMapping(\"/oauth/user/approve\")\n\tpublic ModelAndView confimAccess(HttpServletRequest request, HttpServletResponse response, \n\t\t\tModelAndView modelAndView) {\n\t\tClientAuthen...
[ { "docid": "6358afdfdb34a4e9dd4dc14299ce3477", "score": "0.73100144", "text": "protected abstract Object getPreAuthenticatedCredentials(HttpServletRequest request);", "title": "" }, { "docid": "9d214c03b1dac675a5fb21f33a37eded", "score": "0.6987574", "text": "java.lang.String getAuth...
6e0b765e20247621289c9e31ae6852cb
update that it's time to choose the cards
[ { "docid": "78b7b575f28af53994985e8968a5e30c", "score": "0.650819", "text": "public void notifyChoosingCards() {\n for(Observer o : observerController){\n o.updateChoosingCards();\n }\n\n }", "title": "" } ]
[ { "docid": "f52d469a365cb7288c6e8ea270e10069", "score": "0.6938064", "text": "@Override\n public void showPossibleCards(List<Card> cards) {\n // TODO Auto-generated method stub\n rearrangeCardsNotPossible(cards);\n try {\n Thread.sleep(3000);\n } catch (InterruptedException e) {\n ...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "52d31b1861f86a0536d5552fc28cbd9b", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == R.id.action_settings) {\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "title": ...
[ { "docid": "b38497951e8e90a9e28e93a848edf1ee", "score": "0.7973713", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t// Handle action bar item clicks here. The action bar will\n\t\t// automatically handle clicks on the Home/Up button, so long\n\t\t// as you specify a par...
881fde4816fab1169df1437106597076
Game right now needs two internal ports to establish a multiplay game on the local host. optional int32 game_port = 1;
[ { "docid": "2e99316df2bee00a8038448f56a152c1", "score": "0.5706869", "text": "public Builder setGamePort(int value) {\n bitField0_ |= 0x00000001;\n gamePort_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "8575e853f00f89a7fb0ace231130ed5c", "score": "0.7403647", "text": "int getGamePort();", "title": "" }, { "docid": "ebefc32c6f4a6a856d31ed4b1a8565bd", "score": "0.7066079", "text": "GameStateIntegration setPort(int port);", "title": "" }, { "docid": "e8783c734cd...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6422bd3a7ed2a15c69921d1cce916fda", "score": "0.0", "text": "@Override\r\n\tpublic void rollback(Savepoint savepoint) throws SQLException {\n\r\n\t}", "title": "" } ]
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" ...
fcf266495466b1e0b9dc1f8b4b98c9d0
Query a proposal Query a proposal by id
[ { "docid": "bdeb2916741e4808bfdd8333f211ae2c", "score": "0.0", "text": "public ApiResponse<InlineResponse20019> getProposalByIDWithHttpInfo(String proposalId) throws ApiException {\n com.squareup.okhttp.Call call = getProposalByIDValidateBeforeCall(proposalId, null, null);\n Type localVarR...
[ { "docid": "670801c58dee1b29e8238876dfca546c", "score": "0.61506134", "text": "AwardPrize selectByPrimaryKey(Long id);", "title": "" }, { "docid": "05ffef89dc88663011fbad015b898014", "score": "0.60907334", "text": "Expert selectByPrimaryKey(String id);", "title": "" }, { ...
76ed8189bea3437e0489a416ceb717fd
Invoked when logout needs to done using the HTTP GET profile.
[ { "docid": "ab1b09feb061670544cb702ff9317812", "score": "0.0", "text": "private FSLogoutStatus doHttpGet(String providerId) {\n FSUtils.debug.message(\"doHttpGet - Entered\");\n if (isWMLAgent) {\n return doWMLGet(providerId);\n } else {\n return doHTMLGet...
[ { "docid": "2538f5b10d69dedccb4985f0be5d6415", "score": "0.74987024", "text": "@Override\n public void logout() {\n Log.i(\"Status\", \"Instagram User was logged out...\");\n\n logoutProfile();\n }", "title": "" }, { "docid": "f8a300c3b592e...
28f3968ab5489f6206be91ddbbaa2d2a
Run Method, keeps building cars while the builder is active
[ { "docid": "e34ff31826d4cc28072dfe01eb4b63e5", "score": "0.77615863", "text": "public void run() {\n\n while (isActive) {\n\n if (this.gridBuilder.isFinished()) {\n stopBuilding();\n }\n try {\n // Use Thread.Sleep to slightly slow do...
[ { "docid": "a0b82f40c4a17143e0b78f868dcc01d9", "score": "0.6820768", "text": "public void startCar() {\n \n engineRunning = true;\n }", "title": "" }, { "docid": "e5a2c1674be9f4be29656e32497893ba", "score": "0.6572674", "text": "@Override\n\tpublic void run() {\n\t\t...
188ed27ee848e781a26aebef2c2319e8
Fetches the data of nearby volunteers
[ { "docid": "178853500b3a3c96c0fbff6733726496", "score": "0.65661395", "text": "private void loadAllVolunteers() {\n\n myref.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n userList.clear();...
[ { "docid": "5a52b4ad3ceef9b7d0441be1d21a4315", "score": "0.68418837", "text": "private String[] getNearByVolunteers(){\n\n int totalNumberOfVolunteers = userList.size();\n double[][] volunteersDistances = new double[totalNumberOfVolunteers][2];\n\n for (int i = 0; i < totalNumberOfV...
b6cd3e810f15d77a132f42ed9b4ebe65
This method builds a simple list of cards
[ { "docid": "7e403f938dbcf020022785f10bbd6a95", "score": "0.6430408", "text": "private ArrayList<Card> initCard() {\n\n //Init an array of Cards\n ArrayList<Card> cards = new ArrayList<Card>();\n for ( i = 0; i < 13; i++) {\n ArrayList<BaseSupplementalAction> actions = new...
[ { "docid": "002c9b7dc69ab277f7fd361c0d2bc87e", "score": "0.7673399", "text": "private void createCards() {\n mCards = new ArrayList<Card>();\n\n Card card;\n\n card = new Card(this);\n card.setText(\"Welcome to bootcamp\");\n card.setFootnote(\"swipe to see next cards\...
3726d8979f7e80566b84f8c5dcd152d9
this method extracts the token from the JWT token string sent in the Request Header
[ { "docid": "761dfb27a6eed52fea2328c081d312c2", "score": "0.69256747", "text": "private String getToken(String authToken) {\n String token;\n if (authToken.startsWith(\"Bearer \")) {\n String[] bearerToken = authToken.split(\"Bearer \");\n token = bearerToken[1];\n } else {\n toke...
[ { "docid": "0ed8a99cc4a5425d03583eb4976719f7", "score": "0.7608863", "text": "TokenPayload decodeTokenHeader(String token);", "title": "" }, { "docid": "e9127f65a9a6846691d2d6be2a919001", "score": "0.7548768", "text": "private String parseJwt(HttpServletRequest request) {\n\t\tString...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fe667304a17c379db85a0a422d9d442f", "score": "0.0", "text": "@Override\n\tpublic int getCount() {\n\t\treturn increpdetlist.size();\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "382f002017c32144f45d73d87a57e55b", "score": "0.0", "text": "private static void initInvFact(int n) {\n\t\tfactInv = new long[fact.length];\n\t\tfor (int i = 0; i < factInv.length; i++) {\n\t\t\tfactInv[i] = BigInteger.valueOf(fact[i]).modInverse(BigInteger.valueOf(MODE)).longValue();\n\t\t}\...
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
25e6a82734cf9e4854496f9a893f789e
Conclusions : Test 1 : the code is step by step in the reading direction. Task are chained one after the other. What to do with the result, and what to do next are handled separtly. If one step fails, the error cascade till the end of the chain. Test 2 : The PromiseAsyncTask.chain(promise, task) guaranty that the task ...
[ { "docid": "321d0b35b25f357c6956ce36c584b634", "score": "0.59027284", "text": "@Test\n public void test_failure() throws Exception {\n\n final Waiter wait = new Waiter();\n\n final Promise<Integer> promise = new Promise<Integer>();\n\n new PrimeCheckAsyncTask(){\n @Ove...
[ { "docid": "f922e47de756d24dbc684b10cbc9c549", "score": "0.779884", "text": "@Test\n public void test_promise_chain() throws Exception {\n\n final Waiter waiter = new Waiter();\n\n final Set<Integer> primes = new HashSet<Integer>();\n\n Promise<Boolean> promise = PrimeCheckerWith...
7525c518f3b7a7789257c4268758a545
GET /propertyphotos : get all the propertyPhotos.
[ { "docid": "9818012b90e78b1603f6c74335e64d6b", "score": "0.85087043", "text": "@GetMapping(\"/property-photos\")\n @Timed\n public List<PropertyPhoto> getAllPropertyPhotos() {\n log.debug(\"REST request to get all PropertyPhotos\");\n return propertyPhotoRepository.findAll();\n }"...
[ { "docid": "2675b120a4cc9d2fd270b4dec982fdb6", "score": "0.7285208", "text": "@Get(\"?method=flickr.interestingness.getList&api_key=2ce9d959cc02962998397006a002dfdf&format=xml&nojsoncallback=1&api_sig=25db9979adde7e8b836c06a41135edff\")\n @Accept(MediaType.APPLICATION_XML)\n List<Photo> getPhotos(...
7c20ae0df02e35d818321d3c5f766d9a
Returns the request test cases for this source.
[ { "docid": "1293064418847c86cc3a63974852bfc7", "score": "0.8065909", "text": "public List<RequestCase> getRequestCases()\n {\n return getTestDef().getRequestCases( getPaths(), getOperations());\n }", "title": "" } ]
[ { "docid": "0db067ee812059f582019ea253378c80", "score": "0.63777095", "text": "public List<TestCase> getTestCases() {\n return this.testCases;\n }", "title": "" }, { "docid": "63e28bb3eaad30e5a4d8feb9cbb405ef", "score": "0.63368374", "text": "public List<TestCase> getTestCa...
75ede7dca5875a014328641e66f95550
cards in current round This method fill cards array. ATTENTION!!! this method dont call clear() method
[ { "docid": "4e6615e5f4628b749fe718c74b15d2b1", "score": "0.77365154", "text": "private void fill()\n {\n for (int j = 0; j < Suit.values().length; j++)\n for (int i = 0; i < Face.values().length; i++)\n cards.add(new Card(Suit.values()[j], Face.values()[i]));\n }", "title": "" } ]
[ { "docid": "48b004400426c0afd232b94583dcf6b1", "score": "0.7518688", "text": "public void fill() {\n List<Card> cards = new ArrayList<Card>(maxCardNum);\n for(int i=0; i<maxCardNum; i++) {\n cards.add(new Card(i%DECK_SIZE));\n }\n // randomly remove ordered cards a...
9bd00fafbe0444a30bbdc7a4e7a275ca
Simple function, if x is less than 5 return true.
[ { "docid": "84a721e19859b69c1ed18d5e5df9d3dc", "score": "0.70251215", "text": "private static boolean helloWorld(int x) {\n\t\tif (x < 5) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "70576810bd288b3635b2a7289d7d25d0", "score": "0.63979965", "text": "void if_example() {\nif (x < 3)\n System.out.println(\"small\");\n\n\n}", "title": "" }, { "docid": "9ca8bfadf69198146a6625ee36c00568", "score": "0.62508714", "text": "public static boolean bit5(int val...
32f582e54f65380a5be167b734f158b6
Returns the internal UFormat object.
[ { "docid": "b86c1cc51ad77129d71de3c550f451b6", "score": "0.7447011", "text": "public UFormat getUFormat() {\n return uFormat;\n }", "title": "" } ]
[ { "docid": "12893767915951a35ae5fd98faee6507", "score": "0.68941414", "text": "public FormatFactory getFormatFactory() {\r\n return this.formatFactory;\r\n }", "title": "" }, { "docid": "b52e2d6ab3a333793e403986e1ae8966", "score": "0.6769129", "text": "public Format getFormat();"...
b26d960c00325a3e6a6b74483e755c82
Sets the property diseaseImportedCode.
[ { "docid": "7d764fe5ab24f980451dcafd6aca8d4b", "score": "0.8442791", "text": "void setDiseaseImportedCode(CE diseaseImportedCode);", "title": "" } ]
[ { "docid": "e397645a7b203b163a2825d19f11ffe2", "score": "0.5672256", "text": "CE getDiseaseImportedCode();", "title": "" }, { "docid": "a361f840faa575517cb65a62e4b2c83a", "score": "0.5558578", "text": "public void setDtCode(String dtCode) {\n\t\tthis.dtCode = dtCode;\n\t}", "titl...
ef55fbb6113018503a2db3e14ce08d63
This method was generated by MyBatis Generator. This method returns the value of the database column teaching_plan.teaching_tool
[ { "docid": "5761a14d4aee96066b33e9e7eaecb017", "score": "0.7047461", "text": "public String getTeaching_tool() {\n return teaching_tool;\n }", "title": "" } ]
[ { "docid": "a54038af2b66d2080cec32f285b9d474", "score": "0.6716085", "text": "public void setTeaching_tool(String teaching_tool) {\n this.teaching_tool = teaching_tool;\n }", "title": "" }, { "docid": "d6d01c72917968b5e008202ce8ac11e7", "score": "0.6466814", "text": "public...
2222377a736d589eca196ce8185e99a7
this method returns the minimum point of the box.
[ { "docid": "d71abb8cee454cb0677f66e28dd22fbd", "score": "0.7547837", "text": "public Point3D getMin() {\n\t\treturn min;\n\t}", "title": "" } ]
[ { "docid": "85ac2480cfaf73124499b042961e72b5", "score": "0.7832809", "text": "public E getMinX()\n\t{\n\t\treturn getMin(root, false, DIVIDE_BY_Y_FIRST);\n\t}", "title": "" }, { "docid": "c39a2a553e86d664ccd62c55958d8627", "score": "0.7579715", "text": "public abstract Point2DDouble ...
d2ba785de69b4f6edbe31d1f97b4951e
Test case number: 215 /Coverage entropy=1.0986122886681096
[ { "docid": "764c7c21f45b46543a9de47bdbba7b92", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test215() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n ElExpression elExpression0 = new ElExpression(\"N|K)1#C/oF\");\n // Undeclared exception!\n try { \n...
[ { "docid": "0ef0b4c562e56cbcdb375b4e19c4662a", "score": "0.7308596", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evalua...
f25bd4637c0d53e423140fb847a7e47a
METODOS ASOCIADOS A LA INTERFAZ DCONECTOR Se encola un evento para que sea procesado
[ { "docid": "f8dcb500b75e17b93fb900f8e051d716", "score": "0.6952766", "text": "public void procesarEvento(DEvent evento) {\r\n\t \r\n\t \r\n\t System.out.println(\"REcibido evento \" + evento.tipo.toString());\r\n\t System.out.flush();\r\n\t colaRecepcion.nuevoEvento(evento);\r\n }", "title": "" ...
[ { "docid": "adddc7e4a5bc25a318c73cb301b64ab2", "score": "0.74637705", "text": "abstract public void procesarEvento();", "title": "" }, { "docid": "c265f5263feb24b506aaa6734c2ffc47", "score": "0.73357165", "text": "public void eventoConferma() {\n /* variabili e costanti locali...
6afd912cac6b7f77ff8962f10250222a
contoh penggunaan method parameter
[ { "docid": "958477ca6d6ded15f835757c48245154", "score": "0.0", "text": "static void paramHello(String firstname, String lastname){\r\n System.out.println(\"Hello My Firstname \"+firstname+\" and My Lastname \"+lastname);\r\n }", "title": "" } ]
[ { "docid": "150291570e0685e33b82b5217a9d186b", "score": "0.7450175", "text": "public void limpaParametros(){\n\t}", "title": "" }, { "docid": "7c454cc06dee0a10442485a11aef2415", "score": "0.6847048", "text": "String getParam();", "title": "" }, { "docid": "56bdc9a19fbb5eb...
a4fe45364c436445549e0e54e98d970f
Aggiunge un messaggio persistente al database. Questo messaggio e' inviato ad ogni client che tenta di connettersi Questi messaggi rimangono anche a successivi riavvii del server
[ { "docid": "6c8eee464580d433327f5271178b4c62", "score": "0.575916", "text": "void addPersistentMessage(MessageObject message);", "title": "" } ]
[ { "docid": "79089ce4219a57db83939ed3b804f4c5", "score": "0.6633902", "text": "public void enviarMensaje(InfoMensaje m) {\r\n \tgetInformacionAgente();\r\n \t\r\n \ttry {\r\n \t\t\r\n if (itfUsoRepositorioInterfaces == null) {\r\n itfUsoRepositorioInterfaces = ClaseG...
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "e88a79491a58309411e21907b2da078c", "score": "0.0", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // SELLER_ID\n \treturn SELLER_ID;\n case 2: // CONDITIONS\n \treturn CONDITIONS;\n default:\n \treturn null;\n }\n ...
[ { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "do...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "25eed6d6890e30b4624a3ba178dac310", "score": "0.0", "text": "@Override\n\t@Transactional\n\tpublic List<Product> getEmptyList() {\n\t\tSession currentSession=sessionFactory.getCurrentSession();\n\t\tQuery<Product> theQuery = currentSession.createQuery(\"from Product where productDescription=:...
[ { "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...
5a897ba40321bc76da915ec376bc4834
Uses Polymorphism to set the super class shape to the desired sub class
[ { "docid": "ca2e9bb9f81ba437578416340c944c52", "score": "0.0", "text": "public void changeTool(ToolName toolName) {\n\t\tswitch (toolName)\n\t\t{\n\t\tcase RECTANGLE:\n\t\t\tcurrentTool = new RectangleTool(this, toolName); break;\n\t\tcase LINE: \n\t\t\tcurrentTool = new LineTool(this, toolName); break;...
[ { "docid": "e62955b9d881e887f8e17bf44daf7243", "score": "0.689542", "text": "@Override\n void setShape(Shape shape);", "title": "" }, { "docid": "2c3ad779bcb6e79a65a6f446e947467c", "score": "0.67472667", "text": "public abstract void changeShape(Shape shape);", "title": "" }...
ac2745a8b2ffa1b894fe7e2d81d389e1
returns the user details from the specified class exactly that class not its descendants
[ { "docid": "f9707c1edb39054494b6854e6d8a777b", "score": "0.0", "text": "public Iterator<GenericDetail> getDetails(\n Contact contact,\n Class<? extends GenericDetail> detailClass)\n {\n List<GenericDetail> details\n = infoRetreiver.getContactDetails(contact.getAddress(...
[ { "docid": "da211a2e245323e0c1bfa7e9a3fe104a", "score": "0.61883086", "text": "public String getUserClass()\n/* */ {\n/* 208 */ return this.userClass;\n/* */ }", "title": "" }, { "docid": "7b160a3ab20020d1204c850a88ecdc11", "score": "0.6095032", "text": "public String...
6d3229bb8dda3471e7264a2a76038d5d
Removes a value of property SeeAlso given as an instance of Resource
[ { "docid": "4f553f87f0a9b172060fe235ae56a4b2", "score": "0.690024", "text": "public static void removeSeeAlso(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, Resource value) {\n\t\tBase.remove(model, instanceResource, SEEALSO, value);\n\t}", "title": "" } ]
[ { "docid": "8d0162a02888956c802666ef4054c089", "score": "0.7608205", "text": "public void removeSeeAlso(Resource value) {\n\t\tBase.remove(this.model, this.getResource(), SEEALSO, value);\n\t}", "title": "" }, { "docid": "d21ba36acd0c0890feed81da246a27d9", "score": "0.6642658", "text...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c80496999a507fd7f39e740496539da2", "score": "0.0", "text": "@Override\n\tpublic void run(String thingName, String preposition) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
c6a58e9655398cd21f1db54c8f72dc9e
Creates a chapter with the initial scene
[ { "docid": "9eb0de6ea309f75ebe8d06289b520b04", "score": "0.6805388", "text": "public BasicChapter(EAdScene initScene) {\n\t\tthis();\n\t\tsetInitialScene(initScene);\n\t}", "title": "" } ]
[ { "docid": "925daf65227ccd4af1504aa0b051143c", "score": "0.68382645", "text": "Chapter create(Chapter chapter);", "title": "" }, { "docid": "66412b51a981a43b5cf80a8a6449df89", "score": "0.6305146", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n sup...
49d7f9824d3d06ee441d5f7f3aad7d68
If possible, creates the ShareParams needed to share the current offline page loaded in the provided tab as a MHTML file.
[ { "docid": "3b7060428717e2565d034f16bed8fc1e", "score": "0.6158199", "text": "public static void maybeShareOfflinePage(Tab tab, final Callback<ShareParams> shareCallback) {\n if (tab == null || !tab.isInitialized()) {\n shareCallback.onResult(null);\n return;\n }\n\n ...
[ { "docid": "85166f28f78764bc5ff1edd08b0b4e1a", "score": "0.6078111", "text": "public static boolean saveAndSharePage(Tab tab, final Callback<ShareParams> shareCallback) {\n OfflinePageBridge offlinePageBridge =\n getInstance().getOfflinePageBridge(Profile.fromWebContents(tab.getWeb...
eb22e4af8539847c27cd21b472a82ed2
This method was generated by MyBatis Generator. This method returns the value of the database column tblarticle.aAuthorName
[ { "docid": "5957c07f7b2ef2e653e985726f2b1242", "score": "0.6533009", "text": "public String getAauthorname() {\n\t\treturn aauthorname;\n\t}", "title": "" } ]
[ { "docid": "1b8e0d0a5160602c956690e0a6ce880f", "score": "0.6939917", "text": "public String getAuthorName(){\n\t\treturn authorName;\n\t}", "title": "" }, { "docid": "cd6f08c0d106df5a519f06d317ddccba", "score": "0.681192", "text": "java.lang.String getAuthor();", "title": "" },...
547230472856026bbacbf7b12fa1894c
Sets the cancelled boolean.
[ { "docid": "6d0a7970576eb2f93efedc592872d1d6", "score": "0.8538219", "text": "public void setCancelled(boolean cancelled) {\n this.cancelled = cancelled;\n }", "title": "" } ]
[ { "docid": "3d2112b117408aafab0a1e64f262b37b", "score": "0.852466", "text": "public void setCancelled(boolean cancelled)\n {\n this.cancelled = cancelled;\n }", "title": "" }, { "docid": "77b8c810fb5ad9b742c00c3b75370155", "score": "0.8425787", "text": "public void setCancelled(...
88559b906de23f8288c7ea66dc454673
PUBLIC: Return whether an Oracle JDBC driver is being used.
[ { "docid": "66f4a82a41cf778ae07a69b14b05214b", "score": "0.80617315", "text": "public boolean isAnyOracleJDBCDriver() {\n return oracleDriverIs(\"jdbc:oracle:\");\n }", "title": "" } ]
[ { "docid": "536ad3aafdbf72d15d4253562ae0bafe", "score": "0.80620486", "text": "public boolean isOracleJDBCDriver() {\n return oracleDriverIs(\"jdbc:oracle:oci8:@\");\n }", "title": "" }, { "docid": "b3e551836d7f3a2b830dec9043017123", "score": "0.7818917", "text": "public bo...
14e45885c8f8c3d41d66af6066938e50
RouteNode Tests Tests for all three of RouteNode's build methods
[ { "docid": "fc7fb8706b274f36087158fb4c5725c7", "score": "0.7520884", "text": "@Test\n void testRouteNodeBuildMethods() {\n\n RouteNode routeNode1 = RouteNode.of(airport1, routeTime1, null);\n assertNotNull(routeNode1);\n assertNotNull(RouteNode.of(airport2, routeTime2, routeNode1...
[ { "docid": "2b4ad6f41552fe509fbb04d3aef8b0c6", "score": "0.6499446", "text": "public abstract void buildRoutes();", "title": "" }, { "docid": "3d2d0e6da0ddf6d70d336e4fad42a9c4", "score": "0.60247", "text": "@Test\r\n\tpublic void testGetRoute() throws Exception\r\n\t{\r\n\t\tClientRe...
9d3787f5e0c48c0f827e79a105e64fa7
Gets the value of a date column by index
[ { "docid": "e50368073db1f6e2aa7496553d925aed", "score": "0.6006685", "text": "default long getDate(int col) {\n return getLong(col);\n }", "title": "" } ]
[ { "docid": "e9b61dcbd928daf3544b414c44c17ba6", "score": "0.6402879", "text": "public Date getDate(int columnIndex) throws SQLException {\r\n\t\tDate d = super.getDate(columnIndex);\r\n\t\treturn normalize(d);\r\n\r\n\t}", "title": "" }, { "docid": "a03abcb13623c8fc2d96479203dcf3ae", "sco...
762edefd638889e74737b1f2423d99cb
repeated .datayes.mdl.mdl_shl2_pbmsg.SHL2MarketData.SellLevelsItem SellLevels = 51;
[ { "docid": "695d8a2a538a68f989ee5b0cfa10c968", "score": "0.6290895", "text": "int getSellLevelsCount();", "title": "" } ]
[ { "docid": "889eff73f8d9c4f7fd61cc3f23796d1b", "score": "0.8021395", "text": "datayes.mdl.mdl_shl2_pbmsg.MDLSHL2Msg.SHL2MarketData.SellLevelsItem getSellLevels(int index);", "title": "" }, { "docid": "053133d601cd671a228afe5a05bd1249", "score": "0.7435632", "text": "java.util.List<? ...
a8d61c8246518c648bf557608241e659
Changing part of speech for word.
[ { "docid": "0d379adf826a647d2fcd523c69cc7807", "score": "0.67422444", "text": "@Transactional\n private void changePartOfSpeech(final CardFilled cardFilled, final Word word) {\n PartOfSpeech partOfSpeech = word.getPartOfSpeech();\n partOfSpeech.setNumberOfWords(partOfSpeech.getNumberOfW...
[ { "docid": "7b5335bc2a0a45f9693713b1609d461d", "score": "0.6350304", "text": "public void setWord(String w)\r\n\t{\r\n\t\tthis.word = w;\r\n\t}", "title": "" }, { "docid": "63072c3b1bf8fc4e630cbc3e24c3c0f2", "score": "0.6220502", "text": "private void changeWord(int index, String wor...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "291dc3fc6c01d1a02b8758a4b72f14d5", "score": "0.0", "text": "@Override\n public boolean supportsResultSetHoldability(int holdability) throws SQLException {\n return false;\n }", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
9da6590ad27a4a618aa40f694041bc71
Method creates an XYChart.Series, which is the used by the getBarChart() method, to create a BarChart.
[ { "docid": "2bd797cb66dafaec3990c6aad5be2549", "score": "0.5442558", "text": "private static XYChart.Series<Number, Number> getXYSeriesNumberNumber(List<String[]> data, String title) {\n XYChart.Series<Number, Number> series = new XYChart.Series<>();\n //series.setName(\"Units produced pr....
[ { "docid": "ad2a9517afcd3675a790411dcbb427a5", "score": "0.7928507", "text": "Series<T> create();", "title": "" }, { "docid": "687e8fc3f52789e68938de29b5731342", "score": "0.7071934", "text": "private BarSeries<ChartGameDto> createBarSeries() {\r\n\t\tbarGame = new BarSeries<ChartGam...
fa28d23066d6984aea0c1f9b3b4912bf
Implement the `isRunning` method. Return the value of `isRunning`.
[ { "docid": "a9e503d1874ed2d7e3815cca8bb19b86", "score": "0.77805424", "text": "@Override\n public boolean isRunning() {\n return isRunning ;\n }", "title": "" } ]
[ { "docid": "5fceeb6b02a0648cac7e1af43802f559", "score": "0.82119536", "text": "@Override\n\tpublic boolean isRunning () {\n\t\treturn this.isRunning;\n\t}", "title": "" }, { "docid": "15bc668e5f0a4a98c0b6043f1c70ae50", "score": "0.8133578", "text": "public boolean isRunning()\n { re...
ef9ea42b628f9b51edd8e97a307e98f2
Retorna questao por id;
[ { "docid": "184db996ef0c741674fcd562440ef347", "score": "0.0", "text": "public Questao pegaQuestao(Integer idQuestao) throws IOException {\n\n\t\tBufferedReader buffReadQuestao = new BufferedReader(new FileReader(\"files/Questao.txt\"));\n\t\tString linhaQuestao = buffReadQuestao.readLine();\n\n\t\tQues...
[ { "docid": "e0b5f48586b167d28f776885cfe54d50", "score": "0.731036", "text": "Fornitori selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "efba1f8c144cd84f3393d65c5392df35", "score": "0.7105368", "text": "public Parametro consultar(Integer id);", "title": "" }, { ...
20442c1aa7cec6af42e98bd69569dec1
This is the render loop, but it also allows for user input and envirnmental changes.
[ { "docid": "aa871baefe3a0c88de0b2b4edbdc286f", "score": "0.0", "text": "public void gameLoop() {\r\n \r\n FPCameraController camera = new FPCameraController(0, 0, 0);\r\n float dx = 0.0f;\r\n float dy = 0.0f;\r\n float dt = 0.0f; //length of frame\r\n float last...
[ { "docid": "13823e419dbc99c4f4773ac9d2fe52a4", "score": "0.6631398", "text": "public void requestRender() {\n mEngine.requestRender();\n }", "title": "" }, { "docid": "e4bea54f63e127f955356c70280dcffa", "score": "0.6610502", "text": "private void render() {\n Toolkit...
3467ab1146625728cafa16efe9ff7477
a common ancestor that participates in shortest ancestral path; 1 if no such path
[ { "docid": "999e99a76a19d6a0ae90b5efaa4f8776", "score": "0.5536312", "text": "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (invalidVertex(v) || invalidVertex(w)) throw new IllegalArgumentException(NULL_INPUT);\n\n BreadthFirstDirectedPaths forV = new BreadthFirstDir...
[ { "docid": "86176931697b68dfc136fd922c294615", "score": "0.6645793", "text": "public int LowestCommonAncestorDAG (Node n1, Node n2) //function for lowest common ancestor in DAG\n\t{\n\t\treturn findLowestCommonAncestorDAG(root, n1, n2);\n\t}", "title": "" }, { "docid": "6896968455879d5152348...
d3f40c0cc88728d429ac10c11aac4555
An immutable clientside representation of SchemaContract.
[ { "docid": "8830faf6b78ad30df76b26792046dcd8", "score": "0.67229086", "text": "public interface SchemaContract {\n /**\n * Gets the id property: Fully qualified resource Id for the resource.\n *\n * @return the id value.\n */\n String id();\n\n /**\n * Gets the name property...
[ { "docid": "59af4169b51275e3845e4f2f9bac233b", "score": "0.727668", "text": "SchemaContract create();", "title": "" }, { "docid": "0743ca43b97d92b2f9f61aa30caa2692", "score": "0.676345", "text": "SchemaContract apply();", "title": "" }, { "docid": "f93522494cf8dab6ae37c6f...
0f6cb001bf66aab6d2b39a7ed120a95b
Returns true if all elements in array are equal.
[ { "docid": "d83084f574f0e739e2e977d0fe4353e3", "score": "0.841197", "text": "public static <T> boolean allEqual(T[] arr) {\n\t\treturn Arrays.stream(arr).distinct().count() == 1;\n\t}", "title": "" } ]
[ { "docid": "9ec38455a32b81c14bd98c9452785ed0", "score": "0.69984496", "text": "public static <T> void checkIdentical(T array[]) \r\n\t{ \r\n\r\n\t\t// Create the Set by passing the Array \r\n\t\t// as parameter in the constructor \r\n\t\tSet<T> set = new HashSet<>(Arrays.asList(array)); \r\n\r\n\t\t// C...
2fc68676fd44575143a20d51b833b949
Nondefault constructor for objects of class card.
[ { "docid": "cd03f0910adb60156188c27e6572e42b", "score": "0.6916426", "text": "public Card(int suit, int number)\n {\n this.suit = suit;\n this.number = number;\n }", "title": "" } ]
[ { "docid": "14f59a0c698af09925ae51de01d9a419", "score": "0.86448824", "text": "public Card() {\n\n\t}", "title": "" }, { "docid": "7e2ba9be6f0665287b269598d78e1de7", "score": "0.8634477", "text": "public Card(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3f21efc7246907dc...
cbcd551d4b23e67940a976455b07beb9
creates a HTTP Server that listens on `port`.
[ { "docid": "bf75036bb49743f2d9e988415ffe5518", "score": "0.7824681", "text": "public HTTPServer(int port) throws IOException {\r\n\t\tthis(port, null);\r\n\t}", "title": "" } ]
[ { "docid": "fc850c4dcc61ff7c5cf44c5ff54bd492", "score": "0.7486813", "text": "private void startWebPort() throws IOException {\n HttpServer server = HttpServer.create(new InetSocketAddress(8000), 0 /* default backlog */);\n server.createContext(\"/\", this);\n // do we need to set a thread pool...
739c13327e637e290287bc55e3a732be
Tried to improve old getFinalState() with a implementation (did not work(because of longer constructorTime)).
[ { "docid": "a954caf8cba5802334a8d1f952fc21e9", "score": "0.0", "text": "public State aStar(){\n\t\t\n\t\tsimpleQueue.offer(Board.getInitialState());\n\t\t\n\t\twhile(simpleQueue.peek().isFinalState() == false){\n\t\t\t\n\t\t\tprocessState = simpleQueue.remove();\n\t\t\tvisitedStates.add(processState);\n...
[ { "docid": "983d7409e9ba8bbb42b1060326f8ba02", "score": "0.70757437", "text": "SFAState getFinalState();", "title": "" }, { "docid": "bf88d30f6deb3b6638486f0331fa7dd0", "score": "0.6493656", "text": "public S finalState() {\n return stateWithIndex(numStates()-1);\n }", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "458660d2b015ae11f641ddb6d7c558f0", "score": "0.0", "text": "@Override\r\n\tprotected EntityManager getEntityManager() {\n\t\treturn em;\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, ...
53b1a2b6d8d5167239742b7cff01c9e5
Flushes all dirty buffers.
[ { "docid": "4fcca93c8994ae517e3278571e1b5f6f", "score": "0.7342111", "text": "void flushAll() {\r\n\t\tfor (Buffer buff : bufferPool) {\r\n\t\t\ttry {\r\n\t\t\t\tbuff.getSwapLock().lock();\r\n\t\t\t\tbuff.flush();\r\n\t\t\t} finally {\r\n\t\t\t\tbuff.getSwapLock().unlock();\r\n\t\t\t}\r\n\t\t}\r\n\t}", ...
[ { "docid": "c1b4efb33925c35cbe010044328005bf", "score": "0.74339783", "text": "public void flush() {\n\t\tcheckBegunThread(); \n\t\tfor (int rx=0; rx<dataSet.getDirtyRecords().size(); rx++) {\n // Need explicit index to avoid concurrent update errors (flush(ri) nulls entry in the list)...
73cf8c92ced5557017ba58911566f49b
an ArrayList of Ufo type
[ { "docid": "1a697c731298957818010653469cb293", "score": "0.72473896", "text": "public static ArrayList<Ufo> getUfoList(){\n\t return ufos;\t\t\t\t//gets provided to checkCollisions()\r\n\t }", "title": "" } ]
[ { "docid": "46dfab4227b48dd5f68832dd9e03e2b5", "score": "0.66155285", "text": "public ArrayList <Fichas> getFichas(){\n return fichas; \n }", "title": "" }, { "docid": "ab9cc1396e96dc002d5926a4777a7026", "score": "0.6411007", "text": "public abstract ArrayList<T> getListe()...
f14220407c15ed44dbf0be4f779209ad
write all of the nonroot blocks that make up the rest of the file. Each block is simply filled with wilderness.
[ { "docid": "fc3cb7840785c889231079b71f6d49e3", "score": "0.70647323", "text": "private void writeNonRootBlocks(RepositoryFile file, int blockSize, int maxBlockCount) throws PhysicalResourceException, PersistenceException\r\n\t{\r\n\t\t// spin through all of the remaining blocks and fill them with wilder...
[ { "docid": "830313b871a83d27de628111653f165b", "score": "0.675013", "text": "void writeAll(BlockBuilder out);", "title": "" }, { "docid": "04042898794f9c9ccd0ec3801c4fbb5d", "score": "0.59712124", "text": "void addBlocks( long offset, long len, long maxLen) throws UnsupportedEncoding...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "4d8fcb00dcb381ec332e7dab02f65878", "score": "0.0", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.upload, menu);\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "bb3e113d5ec7cda7c172f65d973478b2", "score": "0.7219451", "text": "@Override\r\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\r\n \t\tMenuInflater inflater = getMenuInflater();\r\n \t\tinflater.inflate(R.menu.action_bar, menu);\r\n \r\n \t\treturn super.onCreateOptionsMenu(menu);\r\n \t}...
1455e26decda6151c01705a9f8e251f5
sample standard deviation of percolation threshold
[ { "docid": "697777370f904b51cfe1b9753e5b83f1", "score": "0.57424575", "text": "public double stddev() {\n return StdStats.stddev(probabilities);\n }", "title": "" } ]
[ { "docid": "c81176e549d5a65ce6062f268f39de16", "score": "0.7637221", "text": "public double stddev() \n {\n return StdStats.stddev(percolationThreshold); \n }", "title": "" }, { "docid": "39f0e2057858176cf6177996152c856a", "score": "0.6849918", "text": "public double stdde...
d05fa4d8f75eea8026bb50ca74242100
Gets the count of the specified object.
[ { "docid": "eccb68ffe6bf263cc2499e3e81ecbb3b", "score": "0.6767834", "text": "int getCount(IGameInventoryObject object);", "title": "" } ]
[ { "docid": "47acaab1915eecdc0dc193661df912a4", "score": "0.7619475", "text": "public int instanceCount(Identifiable object) {\n String tableName = entityTableName(object.getClass());\n String sql = \"SELECT COUNT(0) FROM \" + tableName + \" WHERE id = \" + notNull(object.getId());\n return jdb...
ddd7514b8853749bd32db923f7c80e8e
=================================================================================== Character Handling ==================
[ { "docid": "046437b57a1e1730e407b5fcc0ecc90a", "score": "0.0", "text": "public static boolean isAlphabetHarfAll(String str) {\n return isAnyCharAll(str, _alphabetHarfCharSet);\n }", "title": "" } ]
[ { "docid": "c67f2cc97021683d6d9621e9f37ddc81", "score": "0.6674394", "text": "private char parseSpecialCharacter() {\n char result = (char) this.source.read();\n int advanceBy = 0;\n\n // is there a special character?\n if (result == '&') {\n int ch = 0;\n ...
21e444efb2dca4c9643dee85f7d808f3
format cua content: cuoi moi doan se ket thuc bang ky tu \n image se de truc tiep chuoi url cac noi dung kieu liet ke trong se co dang noidung, cuoi moi dong van co ky tu \n doan cuoi cung se ko co ky tu \n
[ { "docid": "7a09c137990ccc872d19b49d1f2e5e70", "score": "0.6225953", "text": "private String crawlContent(String newsURL, List<ImageEntity> imageEntities) throws IOException {\n Document document = Jsoup.connect(newsURL).get();\n Elements divElements = document.select(\"div#content-print d...
[ { "docid": "f5e68512b344819600fb4a20cea4c1eb", "score": "0.62645227", "text": "protected String elaboraBody() {\n String text = CostBio.VUOTO;\n String ref1 = \"Attualmente il '''[[Utente:Biobot|<span style=\\\"color:green;\\\">bot</span>]]''' usa il tipo '''8''' (estesa con simboli)\";\n ...
a00dcc9dfde3aa44715c980f4722345f
Auto generated setter method
[ { "docid": "601a9547763f5eecb0c3d6e51114fe31", "score": "0.0", "text": "public void setAssignmentReference(AssignmentReference param) {\n localAssignmentReferenceTracker = param != null;\n\n this.localAssignmentReference = param;\n }", "title": "" } ]
[ { "docid": "c14d8443d772f0dce2ff2ae8528e8271", "score": "0.78307074", "text": "public void set() {\r\n\r\n }", "title": "" }, { "docid": "2152ffb83733cc3e5d3bf063b8ba5d67", "score": "0.72353756", "text": "@Override\n\tpublic void set(String name, Object value) {\n\t\t\n\t}", "...
30914d677d6b8cfee84b304ce79ee19a
Start of user code setterAnnotation:nestedConstraint End of user code
[ { "docid": "6e92c4b518f7544128cbb485c534d267", "score": "0.69964653", "text": "public void setNestedConstraint(final Set<Link> nestedConstraint )\n {\n // Start of user code setterInit:nestedConstraint\n // End of user code\n this.nestedConstraint.clear();\n if (nestedCons...
[ { "docid": "2804fffb6c076893e69cd224d6057db0", "score": "0.639921", "text": "@Override\r\n\tpublic void setConstraint(Constraint arg0) {\n\r\n\t}", "title": "" }, { "docid": "18c3dc1d93d652ebaac0645d4973ef2d", "score": "0.56459254", "text": "public void setConstrained(boolean paramBo...
030e8ff4772c583f34cee5685cf44ce5
link for the invitation to participate in event
[ { "docid": "faf3e3c288c606697dcb9dd4b7bab023", "score": "0.0", "text": "public MapInfo() {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "ad0524e5540ec77ee34bc51768dcef7d", "score": "0.68224615", "text": "void inviteUser(User userID, Event event);", "title": "" }, { "docid": "bd47e19f51330396ea3fbd7ade7fec5e", "score": "0.67610276", "text": "void acceptInvitation(Event event);", "title": "" }, { ...
8bb4cfd3492df2dfa7412f9d1dcb29c6
Nombre del archivo ZIP: 20100066603RA20110522.ZIP Nombre del archivo XML: 20100066603RA20110522.XML
[ { "docid": "0549bc5bab683a66e72e4d6a45664030", "score": "0.0", "text": "public static String obtenerNombreArchivoComunicacionBaja(ComunicacionBaja comunicacionBaja) {\n\n\t\tString nombreArchivo = comunicacionBaja.getNumeroRuc().toString() + Constantes.separadorNombreArchivo\n\t\t\t\t+ Constantes.siglaI...
[ { "docid": "b20119cc9e607234763f259198b6b23c", "score": "0.65910304", "text": "@NonNull\n private String getZipFilename() {\n String ret = Device.getMyOS() + Device.getMySN(mContext) + \".zip\";\n ret = ret.replace(' ', '_');\n return ret;\n }", "title": "" }, { "docid": "ed28da57...
74b4d27a7f38277549578bea9936fa0b
Metodo para filtrar los Coches Matriculados
[ { "docid": "6903dc0a35e943e7d488b6613b2c6931", "score": "0.63984406", "text": "public List<CocheMatriculado> filtrarCocheMatriculado(String filtro) {\n\t\tResponse response = cliente.filtrarCocheMatriculado(filtro);\n\t\tif(response.getStatus() == Status.OK.getStatusCode()) {\n\t\t\tGenericType<List<Coc...
[ { "docid": "5f834ad4a42414b4838c7f11bad85aa3", "score": "0.6064671", "text": "public List<CocheMatriculado> cargarCochesMatriculados(){\n\t\treturn cliente.cargarTablaCochesCocheMatriculados();\n\t}", "title": "" }, { "docid": "8834f73959ee71e2fb08e6a6606b25e6", "score": "0.57109654", ...
1d7a7dcdb5adb8d586b40f47c36a2f98
Stores the given trie to the channel.
[ { "docid": "de3c231d07fe3a8873f64b2b4b45b5e3", "score": "0.6910098", "text": "public synchronized void serialize(IntTrie trie, FileChannel channel) throws IOException {\n\t\tNioUtils.serializeTo(channel, trie.dict);\n\n\t\tbuf.clear();\n\t\tserialize(new TrieNodes(), trie.root, channel);\n\n\t\tbuf.flip...
[ { "docid": "d24cf3f948750bc05db57811d036d2ec", "score": "0.70290947", "text": "AssociativeTrieNode<K, V> putTrie(AssociativeTrieNode<K, V> trie);", "title": "" }, { "docid": "eeb14c8fae2bc22911da340d54f95b17", "score": "0.5286502", "text": "public ImplementTrie() {\n trie = ne...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5abef09856bb0d6e21b66db46e4f17db", "score": "0.0", "text": "@Override\n\tpublic synchronized int getZ() {\n\t\treturn Integer.MIN_VALUE;\n\t}", "title": "" } ]
[ { "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...
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "bbbe1556ebb13c93ea29a61d839fdb25", "score": "0.0", "text": "private boolean allocateSlot(Holder p_94310_1_) {\n/* 105 */ TextureAtlasSprite textureatlassprite = p_94310_1_.getAtlasSprite();\n/* 106 */ boolean flag = (textureatlassprite.getIconWidth() != textureatlassprite.getIconHeig...
[ { "docid": "8b3d721b1eea281aeed549a0c2e07286", "score": "0.56120133", "text": "private void StartotraL() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7f5c63ce976b0c80e6967cd5175a998f", "score": "0.5306538", "text": "private static int straight(){\n return 0;\n }", "title...
19c0cac466b0ab32d6eec38403870782
JPA Repository to interact with Youtube Metadata databbase
[ { "docid": "eb6a99fab574392141143cd689abc288", "score": "0.7320427", "text": "public interface YTMetadataRepository extends JpaRepository<YoutubeMetadata, Long> {\n\n\t// Gets data in page of 5 records rather than all the results\n\t@Query(value = \"select * from youtube_metadata order by publish_time d...
[ { "docid": "389e8c7de6943e926b73891279671a13", "score": "0.6573729", "text": "public interface PlaylistTrackRepository extends BaseRepository<PlaylistTrack> {\n}", "title": "" }, { "docid": "b6ba30c08ec011126a9ed61e53690585", "score": "0.63032234", "text": "public interface TrackRepo...
ac1b5268c626aa8eb6d57933253b7213
Handles npc chat if the quest hasn't been started yet
[ { "docid": "203e3789e2afc10730d610737fe5f626", "score": "0.66161186", "text": "private void startQuest(final Player player, final Npc npc) {\n\t\tplayer.setBusy(true);\n\t\tsendChat(\"Christmas! It's ruined!\", npc, player);\n\t\tsleep(DEFAULT_DELAY);\n\t\tsendChat(\"Why?\", player, npc);\n\t\tsleep(DEF...
[ { "docid": "62999fede99a56d135419d9819606c6f", "score": "0.64515245", "text": "private void handleFarrelTalk(final Player player, final Npc npc) {\n\t\tplayer.setBusy(true);\n\t\tif (player.getQuestStage(this) == -1) {\n\t\t\tsendChat(\"Bugger off\", npc, player);\n\t\t\tsleep(DEFAULT_DELAY);\n\t\t\tpla...
ade69dfead03cb474ef80192bf34491a
Tests for nil "damage" element
[ { "docid": "bf6a2bd8a664ee782bf60e27ccd25cd2", "score": "0.7057604", "text": "boolean isNilDamage();", "title": "" } ]
[ { "docid": "fad12b184489d0aa018909b29afc7175", "score": "0.6213642", "text": "private void checkDamage()\n {\n if(isTouching(BulletV1S1.class))\n {\n removeTouching(BulletV1S1.class);\n health = health - 1;\n }\n else if(isTouching(MissleV1S1.class))\...
bfb872d576cc3d808bd52c021b30c202
System.out.println ("KEY Released: " + e.getKeyChar ());
[ { "docid": "982f3b093c95add08022d4466571b582", "score": "0.0", "text": "public void keyTyped (KeyEvent e) {\n setD (e);\n if((int)(e.getKeyCode ()) == KeyEvent.VK_KP_DOWN || (e.getKeyCode ()) == KeyEvent.VK_DOWN || e.getKeyChar () == 's'){\n //if(SearchingForSolvationFrame.game.landedWhere ()...
[ { "docid": "893f04df2a97bc3aa1b3b6d031901506", "score": "0.8313032", "text": "public void keyReleased( KeyEvent e ) {}", "title": "" }, { "docid": "659d4325a0fa529f072800660528fb4c", "score": "0.8231195", "text": "public void keyReleased(KeyEvent e) { }", "title": "" }, { ...
2e1f593fba7d7e83acfc0185e5a64dfb
INTERNAL: Used for XML loading.
[ { "docid": "74910edc736100e65d99a889a2501da0", "score": "0.0", "text": "public SerializedObjectPolicyMetadata() {\n super(\"<serialized-object>\");\n }", "title": "" } ]
[ { "docid": "af793bb95230effb1f6746086fc78a52", "score": "0.6990448", "text": "public void loadXML() {loadXML(false);}", "title": "" }, { "docid": "8fa80be1288976354719cdd15f544e9f", "score": "0.67797285", "text": "private XMLReader(){}", "title": "" }, { "docid": "70bc362...
5576cfd1eb4b0e9b8ec7e1ca01286913
// lcm // // Report the Least Common Multiple of n values
[ { "docid": "cabf9acd01101dd0ede334efdd97f4da", "score": "0.7281273", "text": "public static int lcm (int... vals)\r\n {\r\n int s = vals[0];\r\n\r\n for (int val : vals) {\r\n s = lcm(s, val);\r\n }\r\n\r\n return s;\r\n }", "title": "" } ]
[ { "docid": "f61b4b1db3ff3d7062f725026384ff57", "score": "0.8031606", "text": "public static int lcm(int a, int b)\n{\n return a * (b / gcd(a, b));\n}", "title": "" }, { "docid": "7f763bcab8b84057b23768a37fdaa97c", "score": "0.80218464", "text": "public static int lcm (int m,\r\n ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "2af0e8a84971dec36e4c0e1b8bd5ad78", "score": "0.0", "text": "private static IBusinessToolsService m136122a() {\n if (f111366a == null) {\n try {\n f111366a = (IBusinessToolsService) ServiceManager.get().getService(IBusinessToolsService.class);\n } c...
[ { "docid": "937780f4f035d57e7a7e7267f6580385", "score": "0.6369484", "text": "public interface C0257a {\n /* renamed from: a */\n void mo786a();\n }", "title": "" }, { "docid": "e64b0e78a1866c07d6a7a8de5ad114d6", "score": "0.63654995", "text": "public a a(ao.a ☃) {\r...
df197bf624678c69a6140a46ad086d78
Getter for the list of prompts
[ { "docid": "cbca348c8b510b8e3decf333c90675f2", "score": "0.8392232", "text": "public ArrayList<String> getPrompt() {\n return prompt;\n }", "title": "" } ]
[ { "docid": "9ef45f20bd798990da54fe2fe241e43e", "score": "0.73826724", "text": "public String getPrompt();", "title": "" }, { "docid": "33968f0214a8135c6278d58200a5e0f4", "score": "0.70210934", "text": "public String getPrompt() {\n return prompt;\n }", "title": "" }, ...
4397579d39c9f44bb145598e093c18f7
Requires: nothing Modifies: nothing Effects: returns the horizontal direction to pacman on the current board
[ { "docid": "30d385251e4111ad4a86094d518402d3", "score": "0.8400065", "text": "private char getHorizontalDirectionToPacman() {\n Pacman pacman = board.getPacman();\n int dx = x_location - pacman.getX();\n\n if (dx < 0) {\n return 'R';\n } else {\n return ...
[ { "docid": "68ff1e42c3b05cc571bad36cbef8fffb", "score": "0.7069132", "text": "private char getVerticalDirectionToPacman() {\n Pacman pacman = board.getPacman();\n int dy = y_location - pacman.getY();\n\n if (dy < 0) {\n return 'D';\n } else {\n return 'U...
0390c17cc18e9121d9eeae12ee283a08
Returns an iterator to be able to iterate through the collection.
[ { "docid": "1148de693196dee44b32a841eb2dff0d", "score": "0.0", "text": "public Iterator<Name> iterator() { \r\n\t\treturn names.iterator(); \r\n\t\t}", "title": "" } ]
[ { "docid": "c887e4ac3fc8ce87d3690aa585349704", "score": "0.83745956", "text": "@Override\n public Iterator<T> iterator() {\n return collection.iterator();\n }", "title": "" }, { "docid": "d57ceb666cf57da5c30d51c255477239", "score": "0.78260493", "text": "public Iterator<T> itera...
9d5e71c09b1de29126f101fc9685248a
Get the type of the member.
[ { "docid": "6c6611be0ccad02fc845865b9d27e5e3", "score": "0.65051997", "text": "public Type type()\n {\n\treturn nameAndType.type();\n }", "title": "" } ]
[ { "docid": "376a91f71796c3483cfc2120a49b8abb", "score": "0.8132003", "text": "public String getMemberType() {\r\n return memberType;\r\n }", "title": "" }, { "docid": "376a91f71796c3483cfc2120a49b8abb", "score": "0.8132003", "text": "public String getMemberType() {\r\n ...
42ffccbc78f88f1ce28a58ccba83a4d6
Determine whether a broker is considered available or not
[ { "docid": "dc8159e133761a8f508b84e430dde175", "score": "0.82915473", "text": "public abstract boolean isBrokerAvailable(BrokerStatus brokerStatus);", "title": "" } ]
[ { "docid": "5742a4e82a4dc015d6250cf024bcb465", "score": "0.7151096", "text": "public boolean isAvailable();", "title": "" }, { "docid": "5742a4e82a4dc015d6250cf024bcb465", "score": "0.7151096", "text": "public boolean isAvailable();", "title": "" }, { "docid": "5742a4e82a...
25b48626fcad18af922e8bab3895c87a
log the user in
[ { "docid": "80a7a6738b3be5dd2457c490f0998e8b", "score": "0.0", "text": "public String execute() throws Exception {\n String result = SUCCESS;\n\n //check username and password\n ActionContext context = ActionContext.getContext();\n\n if (context.getParameters().get(\"username...
[ { "docid": "f778ba6271a56897c1a47c728c90c8aa", "score": "0.7886562", "text": "public void LogIn() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fcb16af2871767ce7924da7ff958cc91", "score": "0.78388333", "text": "public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Ro...
a28263c490f7f22c7c9b12a1ee6e2a87
Deletes the appointment identified by appointmentId from the calendar.
[ { "docid": "d992dae081a336a6df9a3e8045cdbdeb", "score": "0.85954523", "text": "public void deleteAppointment(int appointmentId) throws RemoteException, InvalidAppointmentIdException;", "title": "" } ]
[ { "docid": "8a4521a8e40e684ee70e0b047cdcfee5", "score": "0.724502", "text": "public Appointment remove(int appointmentId)\n\t\tthrows NoSuchAppointmentException, SystemException {\n\t\treturn remove(Integer.valueOf(appointmentId));\n\t}", "title": "" }, { "docid": "d92002c9117cd95df8a99a9113...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f0ef1d8139d676343f8ae38131e6b2e3", "score": "0.0", "text": "public int get(int index) {\n\t\treturn buf[index];\n\t}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
8782b06c3c2dedac938679c4b53d8032
Gets the attribute value for AMOUNT using the alias name Amount
[ { "docid": "95e045910001546aaf4b98fc41feb316", "score": "0.70355165", "text": "public Number getAmount() {\n return (Number) getAttributeInternal(AMOUNT);\n }", "title": "" } ]
[ { "docid": "67e8422502959635f6afdf8579221c5b", "score": "0.70375174", "text": "java.lang.String getAmount();", "title": "" }, { "docid": "67e8422502959635f6afdf8579221c5b", "score": "0.70375174", "text": "java.lang.String getAmount();", "title": "" }, { "docid": "6f976737...
dd011b8a8474d94793a6e83a4a8dcc8f
Created by wangtao at 2018/12/25 15:31
[ { "docid": "79be4ea0a2ca8d0f3407ff3aa9ccda3a", "score": "0.0", "text": "public interface Transaction {\n\n /**\n * 获取连接\n */\n Connection getConnection() throws SQLException;\n\n /**\n * 提交事务\n */\n void commit() throws SQLException;\n\n /**\n * 回滚事务\n */\n void...
[ { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.6327324", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.5799534", "text": "public void mo5201a() {\n }", "ti...
59d3091e34d1fc1958e43e085d2bb749
get the forecast information
[ { "docid": "c9b7d207759aa542159d5b97fece4fb2", "score": "0.0", "text": "@NonNull\n @Override\n public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {\n String date = getItem(position).getDateText();\n String measurements = getItem(position).getMeas...
[ { "docid": "2875396d181a86399363bb6283d24aaf", "score": "0.77059555", "text": "int getForecast();", "title": "" }, { "docid": "3887a189a3373e504829cd15b51e9d53", "score": "0.7261674", "text": "public int getForecast() {\n return forecast_;\n }", "title": "" }, { "...