query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
07f2958b3bbf79ecc376c54d2b62ebb8
Test case number: 21 /Coverage entropy=0.3153962874226617
[ { "docid": "a8699a2cabcc6491b79f32700b2d29e2", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n LinkedList<DBColumn> linkedList0 = new LinkedList<DBColumn>();\n DefaultDBTable defaultDBTable0 = new DefaultDBTable();\n String string0 = SQLUtil.n...
[ { "docid": "b2a807d3076bd9789dc6f99fe8c0c34f", "score": "0.7133", "text": "@Test(timeout = 4000)\n public void test141() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation e...
f2fb279295e3b84c76ef751bbd4dc842
This method will extract part of given string which matches given regex
[ { "docid": "3a2b14ca6b8402e969b9218f9581a6d2", "score": "0.6903201", "text": "public static String extractString(String str, String regex) {\n\t\tPattern pattern = Pattern.compile(regex);\n\t\tMatcher matcher = pattern.matcher(str);\n\t\tif(matcher.find()) {\n\t\t\tString s = matcher.toMatchResult().gro...
[ { "docid": "274e925e356ff5caa5939ca16af65069", "score": "0.6399787", "text": "public static String extract(String text, String regexp, int groupNo) {\n\n Pattern pattern = Pattern.compile(regexp);\n Matcher matcher = pattern.matcher(text);\n if (matcher.find()) {\n return matcher.group(gro...
a1e7d8b377ed34903e6efdf0b4babb27
Completely manages the analysis of a single phase of a single team. Assumes that currentTeamModels is already set.
[ { "docid": "549cb0f8ff20139c9faca57e761afa04", "score": "0.6604092", "text": "public void analyzeOnePhase( String group, String team, MPhase phase ) {\n\n MTeamPhase tp = getProject().getTeamPhaseByNames( group, team, phase );\n\n String theResults = \"\";\n\n ArrayList<ClusterColle...
[ { "docid": "b93dedc12913510668031ebc3d8e55cd", "score": "0.641737", "text": "public void analyzeOneTeamAllPhases( String group, String team ) {\n if ( group == null || team == null ) {\n return;\n }\n Global.info( \"Start analyzeOneTeamAllPhases: group: \\\"\" + group + \...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7a5544e2affab7fc5dbc8330a863c1ce", "score": "0.0", "text": "public static void main(String[] args) {\n\r\n\t\tBigDecimal sum = new BigDecimal(0.0);\r\n\t\tBigDecimal factorial = new BigDecimal(1.0);\r\n\r\n\t\tint i=1;\r\n\t\t\r\n\t\twhile(i<=20)\r\n\t\t{\r\n\t\t\tsum=sum.add(factorial);\r\n...
[ { "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}"...
5319a77868f6f47bfa8fa83bd09fcd95
// Dao System.out.println(UserDao.findByEmail("teste")); // Service System.out.println(UserService.authenticateUser("teste", "teste"));
[ { "docid": "1a3ca73a93d4bf7600e8ad060de9bb7b", "score": "0.0", "text": "public static void main(String[] args) {\n\t}", "title": "" } ]
[ { "docid": "1579e7eee4b21291546584baa52d59e2", "score": "0.79526126", "text": "public interface IUserService {\n User findUserByEmail(String email);\n\n User findUserByEmailAndPwd(String email,String password);\n\n}", "title": "" }, { "docid": "ed5dc6a70ae2ef4c194d0b1c2a50500a", "s...
d558ebbddf38d0cfe41a2b54d58e3ef7
Returns the program counter value of this entry.
[ { "docid": "36778b088ac3a51c6ad4a7bf876b0ba0", "score": "0.6004108", "text": "public int getPcValue() {\n\t\treturn pcValue;\n\t}", "title": "" } ]
[ { "docid": "cbdfcd1ef1aca55e72e8ccb26f27712d", "score": "0.70757115", "text": "public int getCounterValue(){\r\n\t\treturn dev.read(COUNTER_ADDRESS);\r\n\t}", "title": "" }, { "docid": "23a672e840a0d3c9539685db225b390f", "score": "0.66239446", "text": "public int getProgram() {\n ...
d745427e6704f649e771af9e6668b09f
Instantiates a Commit object with message MESSAGE, time TIME, parent FIRSTPARENT.
[ { "docid": "0f35935dd2539e3795e7ac4714a75175", "score": "0.81958354", "text": "public Commit(String message, Date time, String firstParent) {\n this(message, time, firstParent, null);\n }", "title": "" } ]
[ { "docid": "67ab7eb4c341afea9d68e6916164eb59", "score": "0.77281314", "text": "public Commit(String message, Date time,\n String firstParent, String secondParent) {\n _message = message;\n commitTime = time;\n _firstParent = firstParent;\n _secondParent = sec...
7ec9403571743d518022023c1f7f9687
manager.stop(); shutting down the TCK SubscriptionListener
[ { "docid": "cc744dcf6bc3bb463708bb37887b833f", "score": "0.0", "text": "@AfterClass\n public static void stopManager() throws ConfigurationException {\n endPoint.stop();\n Registry.stop();\n mailServer.stop();\n }", "title": "" } ]
[ { "docid": "c5f57fef56c8998c6c6404ba62560c3c", "score": "0.69948065", "text": "@Override\n public void destroy() {JMXNotificationManager.getInstance()\n // .unsubscribe(this.getObjectName(), this.getListener());\n // System.out.println(\"Runtime Listener unsubscribed\");\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f8f92a5772a4ad41e6cfb9811122c9c6", "score": "0.0", "text": "@Override\n\t\t\t\t\t\t\tpublic void onSuccess(EventObject event) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(event.getEvent() == Event.OFFERINGS_LOADED){\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t@SuppressWarnings(\"un...
[ { "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}", ...
9f67c5e8fa9538e85f46d839be645c0d
Gets the item classes that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
[ { "docid": "7f03a3778f1a8de6e80e4bf81a9a78e6", "score": "0.4971877", "text": "public StringList getItemClasses() {\n\t\treturn this.itemClasses;\n\t}", "title": "" } ]
[ { "docid": "cbab26f004183db44486ce687dddd2e0", "score": "0.54795814", "text": "@Override\r\n public ArrayList<Notification> getRescueFilteredNotifications() {\r\n try {\r\n ArrayList<Notification> filteredNotifications = new ArrayList();\r\n\r\n // CHECKING FROM ALREADY L...
5a8d227dd1cd30c7f6103a7aad352cd8
Returns a string representation of the object.
[ { "docid": "965cc0789da79e2cf9208b5c711792da", "score": "0.0", "text": "@Override\n public String toString () {\n StringBuffer sb = new StringBuffer(\"\");\n sb.append( this.table );\n for ( String keyColumn : this.keyColumns.keySet() ) {\n sb.append (\",\"); ...
[ { "docid": "46c2a3189b5da5c8e0cc9a8a0eee1dfe", "score": "0.7849383", "text": "@Override\n public String toString() {\n return serialize();\n }", "title": "" }, { "docid": "a4153232c2b3ef85fae1a8226601566c", "score": "0.7767091", "text": "public String toMyString() {\n ...
528168f95b0e925aabfdaec6ba9975b3
/ / / / / / /
[ { "docid": "17169db511a76210f475e5740591708a", "score": "0.0", "text": "public AffineTransform getTransform() {\n/* 1558 */ return this.mGraphics.getTransform();\n/* */ }", "title": "" } ]
[ { "docid": "8b3d721b1eea281aeed549a0c2e07286", "score": "0.55611694", "text": "private void StartotraL() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7f5c63ce976b0c80e6967cd5175a998f", "score": "0.5243717", "text": "private static int straight(){\n return 0;\n }", "title...
d0d161402d9119a48cdaaab39bd1a489
Removes the ith "SubRecargo" element
[ { "docid": "ae73cbe2cc16ad57e1826c6126534f97", "score": "0.78678095", "text": "void removeSubRecargo(int i);", "title": "" } ]
[ { "docid": "b42b6e8959578af7606120b3b844d7d2", "score": "0.659986", "text": "void removeSubcantidad(int i);", "title": "" }, { "docid": "b42b6e8959578af7606120b3b844d7d2", "score": "0.659986", "text": "void removeSubcantidad(int i);", "title": "" }, { "docid": "b42b6e8959...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "05dba97d5dbfc803a2847ec54f3a833c", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_submit, menu);\n MenuItem item = menu.findItem(R.id.menuSubmit);\n item.setTitle(\"CheckOut\");\n ite...
[ { "docid": "14fa196527f4bf6fc43b51bfbf10f01f", "score": "0.71354353", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}...
5ad82cd4aafeb81106b1b605d1160e74
bool reaction_status = 13;
[ { "docid": "f1598dcc2ef9831b2acd2ae0c2620c3c", "score": "0.69424343", "text": "@java.lang.Override\n public boolean getReactionStatus() {\n return reactionStatus_;\n }", "title": "" } ]
[ { "docid": "3114561272f6ccdac74a87504e52c246", "score": "0.73985326", "text": "boolean getReactionStatus();", "title": "" }, { "docid": "54afb8e40d931e5225d86bbe571cfd75", "score": "0.68237084", "text": "@java.lang.Override\n public boolean getReactionStatus() {\n return ...
5c7e6a7978b9cf64db1b173fb5d6e624
$ANTLR end "rule__Type__Group_1_0__2__Impl" $ANTLR start "rule__Type__Group_1_0__3" InternalAgreeParser.g:16298:1: rule__Type__Group_1_0__3 : rule__Type__Group_1_0__3__Impl ;
[ { "docid": "cd0b19e34f8769f6385cd2c2e2735814", "score": "0.74993044", "text": "public final void rule__Type__Group_1_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:16302:1: ( rule__Type__Group_1_0__3...
[ { "docid": "cb1058d070223426882f290e7be70886", "score": "0.7231995", "text": "public final void rule__Type__Group_2_0__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/c...
96839b554ab08afe96d045fbae1ee43f
To get the form data
[ { "docid": "ae0da5eb4bb778279becca447af54d10", "score": "0.6948858", "text": "public Object getFormData() {\r\n return null;\r\n }", "title": "" } ]
[ { "docid": "952c612d1f42178006ff4b4e8e77aea8", "score": "0.7270796", "text": "public FORMT getFormData() {\r\n return formData;\r\n }", "title": "" }, { "docid": "1c4441dcec26dc2bb3cd81ac93b2af48", "score": "0.7224761", "text": "public String getForm() { return form; }", ...
c50695d50d1a7439f3351ce792654049
method return AchievementSpecial by id
[ { "docid": "ffb8cd923e2d7ac9b42bf754f7a8c571", "score": "0.7344752", "text": "@GetMapping(value = \"/{id}\", produces = MediaType.APPLICATION_JSON_VALUE)\n public ResponseEntity<AchievementSpecial> get(@PathVariable Long id){\n return ResponseEntity.status(HttpStatus.OK).body(achievementSpecia...
[ { "docid": "6d0c10f512b9ce6c16706542118bb44b", "score": "0.68548965", "text": "public static Achievement getAchievementById(int id) {\r\n\t\t// TODO: Look through the allAchievements for the id'th index and return it;\r\n\t\t// if id is out of bounds, return null.\r\n\t\treturn null;\r\n\t}", "title...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4d0c3a45dd86a83dab2b99dedc8ae9fc", "score": "0.0", "text": "@Override\r\n\t// Overriding the compareTo method\r\n\tpublic int compareTo(Dog o) {\n\t\treturn this.name.compareTo(o.name);\r\n\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115525", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.673545", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-gen...
526733ccda78aec1c566f2b9aee4b6d0
Causes the texture representation of all the surface meshes to be recalculated.
[ { "docid": "454454034e3937474ac497f60dc9ebed", "score": "0.652359", "text": "public void updatePlanes() {\r\n raycastRenderWM.redrawSurfaceTexture();\r\n raycastRenderWM.GetCanvas().display();\r\n setModified();\r\n }", "title": "" } ]
[ { "docid": "54c3d1976aa846eaf036b18314b8690e", "score": "0.6567263", "text": "public void recreateTexture() {\n\t\ttextureIndex = null;\n\t}", "title": "" }, { "docid": "91ca2299f4c88fe541b52860af88a661", "score": "0.64809585", "text": "public void updateTexturesList(){\n for(i...
969515fd44088efb33d360e21ab08f50
Marks the leaf "max" with operation "merge".
[ { "docid": "4683a4aa97e69e0a9b4dd68df4d31621", "score": "0.81344134", "text": "public void markMaxMerge() throws JNCException {\n markLeafMerge(\"max\");\n }", "title": "" } ]
[ { "docid": "0133fdd7ad2d0f0f85e2dd829ee6cd71", "score": "0.67352235", "text": "public void markBvcBmaxMerge() throws JNCException {\n markLeafMerge(\"bvcBmax\");\n }", "title": "" }, { "docid": "9d4f6fba59629b6edd096ec63cd2d947", "score": "0.6561942", "text": "public void m...
c42519c5addd16c03714d4e2e9dea3f4
required .fksproto.BaseRequest head = 1;
[ { "docid": "137ae058f86b08c35460c4dc08760aaf", "score": "0.0", "text": "boolean hasHead();", "title": "" } ]
[ { "docid": "83cc49300df6dea16e4fbac7bab4552e", "score": "0.73902303", "text": "fksproto.CsHead.BaseRequestOrBuilder getHeadOrBuilder();", "title": "" }, { "docid": "83cc49300df6dea16e4fbac7bab4552e", "score": "0.73902303", "text": "fksproto.CsHead.BaseRequestOrBuilder getHeadOrBuilde...
4a82de187a91e9b7b922dd55bafca959
repeated .Product products = 1;
[ { "docid": "1c2a8ebb3592f1b63f4f6b5a101cacc2", "score": "0.5488721", "text": "proto.example.Schema.Product getProducts(int index);", "title": "" } ]
[ { "docid": "98d87a4b27e3d40aeda973e7e9d0eaa6", "score": "0.6106143", "text": "public void setProducts(ArrayList<Product> products){\n this.products = products;\n }", "title": "" }, { "docid": "e8c7afa6fb4463a634012409ebd3b2ad", "score": "0.60823137", "text": "private TypicalProdu...
9a631ac6bf5135e3b9e4cb385e911188
prints by: + the author on a new line
[ { "docid": "17479b599aa68cc78cb355a8080e8d41", "score": "0.81411225", "text": "public void printAuthor()\n {\n System.out.println(\"by: \" + author);\n }", "title": "" } ]
[ { "docid": "1dc4a2d11a8887cf64d78ad17a5e8a99", "score": "0.80698156", "text": "private static String authorLine()\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, NAME_STR, NAME);\n }", "title": "" }, { "docid": "74eeb7b60f7bd3ef796d92c1aabf3d7f", "score": "0.7648282"...
aa28bb7b49c8c2e9b468b1498ce311ca
Host of tested service is assumed as "localhost"
[ { "docid": "554dd205c5231b3d07ff3573694699b0", "score": "0.0", "text": "public HttpTarget(final int port) {\n this(\"http\", \"localhost\", port);\n }", "title": "" } ]
[ { "docid": "b39ac21560deb898dcd3bd547590a938", "score": "0.7535365", "text": "@Test\n public void hostTest() {\n // TODO: test host\n }", "title": "" }, { "docid": "2fab9d1ed3bf14117270bdf956a3cf65", "score": "0.6838817", "text": "public String getHost() {\n if (!star...
c8bc07139d3f71b673bb82432056d5da
Instantiates a new key word generator.
[ { "docid": "db0e88e37052440c7a7b0468485131a2", "score": "0.8100921", "text": "public KeyWordGenerator() {\r\n\t\tinitTypeMap();\r\n\t\tinitParamFunctions();\r\n\t\tinitAttributeMap();\r\n\t}", "title": "" } ]
[ { "docid": "748b75c0e251c9ea9129d6b15adef898", "score": "0.7029098", "text": "public KeyPairGenerator() {\n //Default Bit Length\n this(512);\n }", "title": "" }, { "docid": "fb93c3635374505bb3e7b87726e2bf21", "score": "0.69785213", "text": "public WordGenerator() {\...
eba41ced810f0471c45c9fa0e565aefb
use case 2.7.4 add product to the cart
[ { "docid": "7fe2a27eaad9d559282d0bdf2c8533ae", "score": "0.0", "text": "public Response<Boolean> addProductToCart(int id,String productName, String storeName, int amount) {\n loggerSystem.writeEvent(\"LogicManager\",\"addProductToCart\",\n \"add a product to the cart\", new Object[...
[ { "docid": "1b8b0e4776764222be1705682cbb7b34", "score": "0.8277591", "text": "void addItem(final ShoppingCartItem product);", "title": "" }, { "docid": "0c64e51090f12c2ba0157996f445599e", "score": "0.8085855", "text": "public void addToCart(){\r\n\t\tshopCart.selectProduct();\r\n\t\t...
57cdbc298ec813e556baa2a845cb1b0d
Removes a robot from field and vector. Finally, the "last words" will be posted on the message field.
[ { "docid": "0bbc7af11fb689572c759e806c548f0f", "score": "0.67277026", "text": "void removeRobot(Robot1 r)\n\t {\n\t\troboter.removeElement(r);\n\t\tPoint p = r.getWerte().getMarked();\n\t\tif (p != null)\n\t\t{\n\t\t\tRobot1 z = getFeld(p.x, p.y);\n\t\t\tif (z != null)\n\t\t\t\tz.getWerte().removeMarker...
[ { "docid": "5c67cd2d0b6e8244fa234f436e87ab47", "score": "0.5629415", "text": "public void wordRemover() {\r\n\t\t\r\n\t\tfor(int i=0; i < wordsList.size(); i++) {\r\n\t\t\t\r\n\t\t\tif((Collections.frequency(wordsList, wordsList.get(i)) <= 5) || wordsList.get(i).equals(\" \")==true) {\r\n\t\t\t\t\r\n\t\...
87f73b6fd9b006cf9f2148272c6e999d
Convert the given object to string with each line indented by 4 spaces (except the first line).
[ { "docid": "80f70bbada262e8bf83a010dcff7ebda", "score": "0.0", "text": "private static String toIndentedString(java.lang.Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" } ]
[ { "docid": "7419f41e4dd5628f7271949c83270a33", "score": "0.752699", "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": "060c307f35bb4...
5e20055ecaa705a5f4e68944b794ddde
Use CommonResponse.newBuilder() to construct.
[ { "docid": "8f1aef098ab91edcab610ec36f811cb0", "score": "0.77182657", "text": "private CommonResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" } ]
[ { "docid": "e0d73a4bae7ff77e742f7d2d4adeff88", "score": "0.71048164", "text": "private ClubPartnerCommonResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "03f41...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c18a1fa1e8c4541d32dadb3604b83ed1", "score": "0.0", "text": "@Override\n\t\t\t\tpublic void onError(String error) {\n\n\t\t\t\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
696db12e3427b9dbac4dc5b29d4bd294
Receives and stores right file.
[ { "docid": "11d50f91b91056e6053f83ad27838007", "score": "0.0", "text": "@PostMapping(\"{id}/right\")\n\tpublic ResponseEntity<DiffResult> rightPosting(@PathVariable String id, @RequestBody String data) {\n\t\ttry {\n\t\t\tservice.inputRight(id, data);\n\t\t\treturn ResponseEntity.ok(\n\t\t\t\t\tnew Diff...
[ { "docid": "8cc6f68f475d2b51156ec4a2e0fe7f37", "score": "0.73493004", "text": "public void receiveFile() {\n\t\ttry {\n\t\t\t// create FileEvent and check if any error occurred\n\t\t\tfileEvent = (FileEvent) inStream.readObject();\n\t\t\tif (fileEvent.getValid().equalsIgnoreCase(\"No\")) {\n\t\t\t\tSyst...
82c60b4b3cca2c4bf555155fe42d5937
the disable guard ensures this is nonnull
[ { "docid": "10637ceab6f595b2004d1f99e965b8b4", "score": "0.0", "text": "public List<OrderItem> choices0Act(){\n final Party seller = mixee.getInvoice().getSeller();\n\n final Property property = (Property) mixee.getFixedAsset();\n\n // candidates\n final List<OrderItem> order...
[ { "docid": "e4781d2df85e4f2408ad4a32cf0ce132", "score": "0.62746215", "text": "@Override\n\tpublic Boolean invoke() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5eadd864f99ff826a666b5b854053190", "score": "0.619028", "text": "@Override\n public Boolean isImportant(){\n ...
5e6cf030ab4eeda4c45f404b3c628260
z = zavod.update(id, z); Zavod z1 = zavod.getZavodById(id).get();
[ { "docid": "ea1bb75d9673c0102a8aefbb49878d3d", "score": "0.70467716", "text": "@PutMapping(value = \"/{id}\", consumes = {MediaType.APPLICATION_JSON_VALUE})\n public ResponseEntity<?> updateZavod(@PathVariable int id, @RequestBody Zavod z) {\n zavod.update(id,z);\n log.info(\"zavod id: ...
[ { "docid": "68b5501b6556f829f67b581de1e96857", "score": "0.59885126", "text": "Reservation update(Reservation r);", "title": "" }, { "docid": "569fa6051b914a4d3447e2c801d2586b", "score": "0.59456223", "text": "Update update() throws DoesNotExist, IOException;", "title": "" }, ...
de4fbafa70765ad6de33c567dd969f5c
ID of the instance group that the instances are being deleted from. string instance_group_id = 1;
[ { "docid": "6fa958658fda881c703e7ddba2e83ff4", "score": "0.0", "text": "public Builder clearInstanceGroupId() {\n \n instanceGroupId_ = getDefaultInstance().getInstanceGroupId();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "be73918d4c02bea07d444a861ed31ec2", "score": "0.6671205", "text": "java.lang.String getInstanceGroupId();", "title": "" }, { "docid": "be73918d4c02bea07d444a861ed31ec2", "score": "0.6671205", "text": "java.lang.String getInstanceGroupId();", "title": "" }, { "d...
6f24a8582feef5a5f15fb0286dcffa44
//GENEND:|51getter|2| //GENBEGIN:|64getter|0|64preInit Returns an initialized instance of pesoTextField component.
[ { "docid": "d83a022eb080aea5c1eaca949d3fbc12", "score": "0.7129894", "text": "public TextField getPesoTextField() {\n if (pesoTextField == null) {//GEN-END:|64-getter|0|64-preInit\n // write pre-init user code here\n pesoTextField = new TextField(\"Digite um valor:\", \"0\",...
[ { "docid": "a3dfab7e94304c609eabb55665c1428c", "score": "0.6975249", "text": "public TextField getCompTextField() {\n if (compTextField == null) {//GEN-END:|72-getter|0|72-preInit\n // write pre-init user code here\n compTextField = new TextField(\"Digite um valor:\", \"0\",...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "86e9264f4ade71a87426be2ba4a41ae6", "score": "0.0", "text": "@Override\n\tpublic double evaluateTwoOptMove6(Point x, Point y) {\n\t\tdouble nMax = 1-CBLSVR.MAX_INT;\n\t\tfor(IFunctionVR f : functions){\n\t\t\tdouble v = f.evaluateTwoOptMove6(x, y) \n\t\t\t\t\t+ f.getValue();\n\t\t\tnMax = nMa...
[ { "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}"...
72016a44fb3ee24b697efb7ffc3029b4
get parameter from either test context or framework configuration file where test context parameter overrides framework configuration parameter
[ { "docid": "d514a2222ec6bf26480069b6e247c742", "score": "0.6892308", "text": "protected String getTestParameter(ITestContext testContext, String parameter) {\r\n\t\tString parameterVal = testContext.getCurrentXmlTest().getParameter(parameter) == null\r\n\t\t\t\t? ReusableLibs.getConfigProperty(parameter...
[ { "docid": "b1de7ceef64d7cb01436ab0511b31864", "score": "0.6615937", "text": "public TestConfig getConfig();", "title": "" }, { "docid": "946ec1ddb036cc085ca9fce67d1851a9", "score": "0.58945096", "text": "@Test\n @Order(1)\n void testExplicitConfig() {\n GlobalConfig.con...
610926a9074a538dd24e8e25ea6fef36
Find the first value in mDefaultValues which is supported.
[ { "docid": "613021a17747d2e28658de8860789583", "score": "0.788255", "text": "public synchronized String findSupportedDefaultValue() {\n for (int i = 0; i < mDefaultValues.length; i++) {\n for (int j = 0; j < mEntryValues.length; j++) {\n // Note that mDefaultValues[i] ma...
[ { "docid": "fec208fe603fb3cb77675e786bee9bc6", "score": "0.6418564", "text": "String getDefaultValue();", "title": "" }, { "docid": "fec208fe603fb3cb77675e786bee9bc6", "score": "0.6418564", "text": "String getDefaultValue();", "title": "" }, { "docid": "fec208fe603fb3cb77...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1f2e59b72036333fc655d0de61657160", "score": "0.0", "text": "@Override\r\n\tpublic QuestionRemark getQuestionRemarkById(long id) throws Exception {\n\t\treturn null;\r\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...
d137761b9701170c965204be9241cc16
First look at the dependancy
[ { "docid": "52d94e6c8173fae471933f0d6e0ad515", "score": "0.0", "text": "@Override\r\n\tpublic int compareTo(CreateJob o) {\n\t\treturn 0;\r\n\t}", "title": "" } ]
[ { "docid": "a6d8633ce75b68f8674944e953490094", "score": "0.64375216", "text": "protected void createDependencies()\n {\n ControllerState classLoaderState = getClassLoaderState();\n \n List<Requirement> requirements = getRequirements();\n if (requirements != null)\n {\n ...
216e2cf6b292b3fd0a70830ddd11a236
Add a user to database
[ { "docid": "fb8cadf4bb5dc94469427cf07a70d9e5", "score": "0.0", "text": "public void addUser(String account, String username,String url, String password, String KeyVal) {\n\t\tif (conn == null) {\n\t\t\tgetConnection();\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tPreparedStatement prep = conn.prepareStatement(\"INSERT...
[ { "docid": "533b7cf255ef0a62f4de6e3ab1460280", "score": "0.8098709", "text": "private void insertUser(){\n SQLInserts.addUser(this.user);\n }", "title": "" }, { "docid": "e9dfb778d3adf8e92c5c2d156ffe6106", "score": "0.7837519", "text": "public void addUser(int id, User user...
327f9f923200c15cc3d12894713ef50e
Created by chengkai on 2016/8/29.
[ { "docid": "82393464e76e210d29ce4c6af34aab36", "score": "0.0", "text": "public interface ILoadView {\n\n public void setShowLoading(boolean show);\n}", "title": "" } ]
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6711152", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.6328151", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" },...
b9ffdb3c936458d72dde67071112b916
check for required fields check for substruct validity
[ { "docid": "299943be922f575553745e4d36ba90c7", "score": "0.0", "text": "public void validate() throws org.apache.thrift.TException {\n if (sourceCharged != null) {\n sourceCharged.validate();\n }\n if (targetDeposit != null) {\n targetDeposit.validate();\n }\n }", "title": "" ...
[ { "docid": "7d163fe481f18afe5bcde21be423a23e", "score": "0.75401354", "text": "public void validate() throws org.apache.thrift.TException {\n if (institutionID == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'institutionID' was not present! Struct: \" + toSt...
6ecc67473056927d247ff8b165e3dd94
check if model to be exported to SBML has units compatible with SBML default units (default units in SBML can be assumed only until SBML Level2)
[ { "docid": "cebae53e0bfb4c5c13cf8c8690a4e260", "score": "0.7208109", "text": "private void checkUnistSystem() {\n\tModelUnitSystem forcedModelUnitSystem = getSelectedSimContext().getModel().getUnitSystem();\r\n\tif (sbmlLevel < 3 && !ModelUnitSystem.isCompatibleWithDefaultSBMLLevel2Units(forcedModelUnit...
[ { "docid": "468a72ef94c87488f9cdb1d0e4edc457", "score": "0.6025529", "text": "protected void addUnitDefinitions() throws SbmlException {\r\n\r\n//\tModel vcModel = vcBioModel.getModel();\r\n//\tModelUnitSystem vcUnitSystem = vcModel.getUnitSystem();\r\n\r\n\tsbmlModel.setSubstanceUnits(getOrCreateSBMLUn...
305dc9fe98b5da603a0dae9231ccc0eb
Equivalent to assert cond : msg.get(); Note: message string is computed lazily.
[ { "docid": "85364734e2c717c5500fb6a9ca40c75b", "score": "0.6211158", "text": "public static void check(boolean cond, Supplier<String> msg) {\n if (!cond)\n error(msg.get());\n }", "title": "" } ]
[ { "docid": "4d231db65acd14bd624a1ecbec550ee8", "score": "0.64194584", "text": "java.lang.String getMsg();", "title": "" }, { "docid": "4d231db65acd14bd624a1ecbec550ee8", "score": "0.64194584", "text": "java.lang.String getMsg();", "title": "" }, { "docid": "8464aa2b8d810d...
6aef0a7c868ccadabb8f57945c724825
try 5 times to get a ball with a color in the chain
[ { "docid": "e39b76f1d228bb218ac33945b670cd5b", "score": "0.80562913", "text": "private void setNextBall()\n {\n Ball ball = new Ball();\n for (int t = 0; t < 5; t++)\n {\n // check if it is a color in the chain\n for (BallChainOnPath mChain : mChains) {\n ...
[ { "docid": "307c9f82482a027aef6ebd33d37ca7cb", "score": "0.73917437", "text": "private void setCurrentBall()\n {\n Ball ball = new Ball();\n for (int t = 0; t < 5; t++)\n {\n for (BallChainOnPath mChain : mChains) {\n for (BallOnPath bop : mChain) {\n ...
1c58810cc94d35b27a0ae4adb2b8cde8
Adds itself to the GameManager ArrayLists
[ { "docid": "c1cd96e7e6b97caaeca13ae31f2bfd85", "score": "0.0", "text": "public abstract void subscribe(GameObject go);", "title": "" } ]
[ { "docid": "815bb8eedceb9a4cac6883fdcd66ee25", "score": "0.6888471", "text": "public void addToGame() {\r\n gameLevel.addCollidable(this);\r\n gameLevel.addSprite(this);\r\n\r\n }", "title": "" }, { "docid": "ecb87d1c77ca47208cb642ea194f3807", "score": "0.6868335", "...
f3ec719e734fc2f8bce7c1aea2b2bb78
When clicked, show a toast with the TextView text
[ { "docid": "ada9ca39d58b465ab8926ffb933f713b", "score": "0.0", "text": "public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n Country country = (Country) parent.getItemAtPosition(position);\n //Toast.makeTe...
[ { "docid": "24fd2ccf5662918c6c672842ede7ea0d", "score": "0.7690939", "text": "@Override\n\tpublic void onClick(View v) {\n\t\tthis.showToast( String.format( \"ID[%d] Text[%s]\", v.getId(), ( String )v.getTag()), true );\n\t}", "title": "" }, { "docid": "40c521aae7839ec1ab15470b6e5db745", ...
3012bfd302eb876ee25b10ed24cb521a
Sets the cross ref resolver to use when retrieving remote symbols. If none is given, then the default from RichObjectFactory.getDefaultCrossRefResolver() is used.
[ { "docid": "039bdd2bce5f1ae766a55614463e46f3", "score": "0.7171945", "text": "public void setCrossRefResolver(CrossReferenceResolver r);", "title": "" } ]
[ { "docid": "75b3c188f9613e4a5a1486b74d38365f", "score": "0.52112156", "text": "public void setURIResolver(URIResolver resolver) {\n userURIResolver = resolver;\n if (resolver instanceof StandardURIResolver) {\n ((StandardURIResolver) resolver).setConfiguration(getConfiguration()...
21f76c7f8ab0bf7dd72d0734936f95a4
sync all files in source into target
[ { "docid": "61e65c49d7c5f11974e194b30317a60d", "score": "0.6723736", "text": "public void sync(Path source,TargetHost target,Observer ...observers) throws IOException;", "title": "" } ]
[ { "docid": "7f1d65e7d29857ad599bd6e4d6b99d01", "score": "0.5774948", "text": "void sync2(File[] files) throws CsvParserException, DatabaseException;", "title": "" }, { "docid": "aba397607f680e5103f6f03c01f1b6d8", "score": "0.5744503", "text": "static void copyFiles(){}", "title":...
cf9bf15cfe67dd7e058e2b04bd50f866
Returns true if the newer Entity AI code should be run
[ { "docid": "fb736738551650d9c80a8a0f6fd7823d", "score": "0.5804942", "text": "public boolean isAIEnabled()\n\t{\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "58680e146bbadf361af222b2da916b36", "score": "0.6429936", "text": "@Override\n public boolean shouldContinueExecuting()\n {\n EntityLivingBase entitylivingbase = this.entity.getAttackTarget();\n return entitylivingbase == null ? false : (!entitylivingbase.isEntityAlive() ?...
11c885686b3ade84b5cb18aab9e9eb8c
increases speed of raindrops depending on current score
[ { "docid": "2a7442dabbce10c6c710c5d7fd68628e", "score": "0.7569613", "text": "public void scoreState(){\n\t\tif (score > 0 && score % 10 == 0){\n\t\t\tfall++; //increase speed of raindrops\n\t\t\tdropSpeed++; //increase spawn of raindrops\n\t\t}\n\t\treturn;\n\t}", "title": "" } ]
[ { "docid": "ef0bdf0bc75d5d988354f81427b532f4", "score": "0.71715003", "text": "public void updateScore() {\r\n score += 40;\r\n }", "title": "" }, { "docid": "232667937de248bcad5d56b474ba8282", "score": "0.6931037", "text": "void trainRound(double score);", "title": "" ...
de69fe1e4489748d753dd4d269977c40
Custom Alert dialog box
[ { "docid": "6e14618d959328109b7c3d8814907bf8", "score": "0.71663034", "text": "public void createDialogBox() {\n\n AlertDialog.Builder alertDialog = new AlertDialog.Builder(MainActivity.this);\n // Setting Dialog Title\n alertDialog.setTitle(ALERT_DIALOG_TITLE);\n // Setting ...
[ { "docid": "fb2baca1e8d107a3c3fc7f7e1c430f7c", "score": "0.74692976", "text": "private void showCustomDialog() {\n ViewGroup viewGroup = getActivity().findViewById(android.R.id.content);\n\n //then we will inflate the custom alert dialog xml that we created\n View dialogView = Layou...
59e347ed1c5220b4953ff8b7a8d225e5
Get's the reason for authentication
[ { "docid": "b167b88e610f498b6adf5b18c63536f6", "score": "0.0", "text": "public String getReason() {\n return _reason;\n }", "title": "" } ]
[ { "docid": "e93de9b5981484159422d400a6d8c15f", "score": "0.6861882", "text": "public String getAuthError() {\n\t\treturn authError.getText();\n\t}", "title": "" }, { "docid": "e9acd05c94a1fe417fb63e24069c4340", "score": "0.67769843", "text": "@Override\n public void onAuthenti...
4d17cd8898d18a3c6355e793c2d0e2c1
Implement the Comparable interface functions here.
[ { "docid": "b46a0985100189bb6a76ad3095bbb4a2", "score": "0.0", "text": "public double value(){ \n return i;\n \n }", "title": "" } ]
[ { "docid": "877ab1df084c8a317c7e5a4354995988", "score": "0.7851923", "text": "public abstract int compareTo(Comparable o);", "title": "" }, { "docid": "ec3c04ea8c5b58679a338af0b0629e72", "score": "0.7689436", "text": "@Override\n public int compareTo(Object other);", "title": ""...
45717b3b3f029cafb5c2e0a76986467b
As for the xStep() argument of the C API's sqlite3_create_function(). If this function throws, the exception is not propagated and a warning might be emitted to a debugging channel.
[ { "docid": "99fe730210bdc147ad9d6c186cf79849", "score": "0.70965165", "text": "public abstract void xStep(sqlite3_context cx, sqlite3_value[] args);", "title": "" } ]
[ { "docid": "7b9a932daad85e81a23e67c0281dec41", "score": "0.5639781", "text": "@org.junit.jupiter.api.Test\r\n public void testCreateErrorRuntimeFunction() {\n try {\r\n this.hCloudProvider\r\n .CreateFunction(testFuncName, testCodeURI, testRuntime + \"1\");\r\n } catch (RuntimeEnvir...
f1d4157a5ead034984bfafae38e271b8
Returns the extracted image dimensions
[ { "docid": "67ab615ee25b23f2bdb57aba5f3215e6", "score": "0.71081924", "text": "public Dimension getImageDimensions() throws IOException {\n return new Dimension(width, height);\n }", "title": "" } ]
[ { "docid": "c4bf30ebc6321d689ac421d60dc8cd9c", "score": "0.7005881", "text": "public Integer imageLength() {\n return this.imageLength;\n }", "title": "" }, { "docid": "c2f92d948c1e3558b97da841831716e8", "score": "0.69494027", "text": "public int getHeight(){\n retur...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cb6efd4bebf2cf8c3280fb1f98a5c785", "score": "0.0", "text": "public List<Speaker> selectLikeAll(String like) {\n\t\treturn dao.selectLikeAll(like);\r\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...
ac766e833120ea6164c27e59399656d5
Method that requests the current gameState from the server and passes the result to the marshaller
[ { "docid": "2656707d7a2cef166a90d50d6cb943fc", "score": "0.565271", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tpublic void getClientState(ClientGameState clientGameState) throws GameStateException {\n\t\t\n\t\tMono<ResponseEnvelope> webAccess = baseWebClient.method(HttpMethod.GET)\n\...
[ { "docid": "63a678e9cde75fbebe63ef67621b4fe9", "score": "0.67763335", "text": "@GetMapping(value = \"/currentState\", produces= {MediaType.APPLICATION_JSON_VALUE})\n\tpublic ResponseDataModel currentState() {\n\t\treturn testObjects.dummyResponseModel(); //test code\n\t\t//return basicGameActionService....
7d257b491cd66a42a994381e056bdc9c
Add the current value by v.
[ { "docid": "c0d211d958a62e3ec9e81689ffe5a231", "score": "0.793936", "text": "public void add(double v) {\n\t\tset( v + doubleValue() );\n\t}", "title": "" } ]
[ { "docid": "036756141d900cae3e00e20bc681b9f7", "score": "0.78769606", "text": "public void add(int v) {\n\t\tset( v + longValue() );\n\t}", "title": "" }, { "docid": "b793dccc89556f8b6d0c81fd2f26b96f", "score": "0.78593946", "text": "public void addValue(int v) {\n \t// some code ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "93475d50e2f161c45fc8d2a17add3948", "score": "0.0", "text": "@Override\n\tpublic void removeStatementEventListener(StatementEventListener listener) {\n\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
7c68cf6a30619d5a6d553aaf955e04c5
Notifies the listener that fetch failed.
[ { "docid": "489f0cb3f44b5b50ae722a1b4bd251f3", "score": "0.0", "text": "void onFailure(ReturnCode responseCode, String errorMessage);", "title": "" } ]
[ { "docid": "78cb107e96081c23eb04e6b70eecc29a", "score": "0.687794", "text": "@MainThread\n protected void onFetchFailed() {\n }", "title": "" }, { "docid": "1c3017f7d7d9d72fb6aafb7c5177c8f3", "score": "0.67512155", "text": "@Override\n public void onFetchFailed(String failMe...
84b05b548671944bce9bd423187f219b
Test of match method, of class expect4j.matches.RegExpMatch.
[ { "docid": "e96066d05b99085b009fdfde31506318", "score": "0.78181636", "text": "public void testMatch() throws Exception {\n System.out.println(\"match\");\n Perl5Matcher matcher = new Perl5Matcher();\n\n String buffer = \"The quick brown fox jumps over the lazy dog\";\n RegEx...
[ { "docid": "6b3b31181c3fdea261696dc57c64c2a6", "score": "0.7151786", "text": "public void match(Match match) {\n\t\t\n\t}", "title": "" }, { "docid": "7f7884b73c4ac7373ccbc1cfb3599182", "score": "0.6994973", "text": "@Test\n\tpublic void matches_check_passesWithMatchingRegex() {\n\t\...
afe5593b6bfaf591c5ef9823f34d26f4
toString als Ausgabe in Tabellenform
[ { "docid": "09fd9904005e16580bbdcf0ebb359560", "score": "0.0", "text": "@Override\n public String toString() {\n String leftAlignFormat = \"| %-10s | %-40s |%n\";\n String line = String.format(\"+------------+------------------------------------------+%n\");\n return line + Strin...
[ { "docid": "801cf87b9737a1dc270cfae547db6547", "score": "0.77135026", "text": "public String toString() ;", "title": "" }, { "docid": "f40a1586fa885d52d50e5702dfa6cfdd", "score": "0.7582417", "text": "public String toString() {\n\t\treturn \"(\" + obtenerFila() + \"/\" + obtenerColum...
167d05e1707e2b8ff4e5f62962d220bf
Helper method: called whenever a BLOCKING method on proxy entity reference is invoked. Schedules the call at the appropriate Controller.
[ { "docid": "5f24ece61a7d2dd25e7a4d934689e44c", "score": "0.5011954", "text": "private Object blockingInvoke(Object proxy, Method method, Object[] args) throws Throwable\r\n {\r\n Controller c = Controller.getActiveController();\r\n if(c.isModeRestoreInst())\r\n {\r\n // restore complete\r...
[ { "docid": "35ca573cf9c1a9b7c49b53dfaed3e1d1", "score": "0.55325127", "text": "@Override\n\tpublic void scheduled() {\n\t\t\n\t}", "title": "" }, { "docid": "eaeb4d30e925a549aae2751d9033b7fb", "score": "0.5372185", "text": "@Override\n public void scheduleTracking() {\n }", ...
789fb169479e7d27d0d8a64e76047861
Get the profile of the GWT user
[ { "docid": "d2ba571f2d3017c08532a8b3a326f25a", "score": "0.81540835", "text": "public GwtUserProfile getProfile() {\r\n\t\treturn profile;\r\n\t}", "title": "" } ]
[ { "docid": "db6c41d409ab18fbf2edeb9469bb61f3", "score": "0.7438059", "text": "public UserProfile getUserProfile();", "title": "" }, { "docid": "7eaad049bf2f9e1a38f3cf90cc70ca0a", "score": "0.7310734", "text": "public String getProfile()\n {\n return profile;\n }", "t...
d371c589966b70c6a9cfcba412c2ddca
Method to erase the original data of the sensorSet object (the date and stored array), and populates it with data from the new source.
[ { "docid": "5b6d660726fc1e0311ed60cb0a123319", "score": "0.60612345", "text": "public void load(Scanner source) {\n SensorSet temp = new SensorSet(source);\n this.sensorArray = temp.sensorArray;\n this.date = temp.date;\n }", "title": "" } ]
[ { "docid": "54916c484d4864dcaa127ea54051057c", "score": "0.6382496", "text": "public void resetData() {\n hField = param.hField;\n temperature = param.temperature;\n mcs = 0;\n for(int u = 0; u < numSystems;u++){\n measurers.get(u).clearAll();\n }\n }", ...
d72aefc3c5429cc79b7fbfe58f0d1f55
same as post method
[ { "docid": "8b642676ca85b643e7dd6443e6a22f7c", "score": "0.0", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t\tdoPost(request, response);\r\n\t}", "title": "" } ]
[ { "docid": "74a1d39844f5b754acc70bd7450dc4c3", "score": "0.7180353", "text": "@Override\n\tprotected Method getMethod() {\n\t\treturn Method.POST;\n\t}", "title": "" }, { "docid": "dec52497ec2f846aa0b0c049cd1c8b95", "score": "0.7176962", "text": "@Override\r\n\tpublic void doPost(Req...
9a127231dd021a126ac649a14f1fc050
forwards measurement if its active (space)
[ { "docid": "8640a6cde626b5dc1001da4caacf304c", "score": "0.0", "text": "public static void emitDynamicSpaceMeasurement(int space){\r\n if(needsDynamicSpaceData &&recorder != null) recorder.dynamicSpaceMeasurementDone(space);\r\n }", "title": "" } ]
[ { "docid": "9979a1b438448dfa092e2902929e62f4", "score": "0.6340619", "text": "boolean hasForward();", "title": "" }, { "docid": "c749dea00879cce7f5b7b20c43a87820", "score": "0.62019163", "text": "public void moveForward(double pace) {for (DcMotor x:forward) x.setPower(pace);}", "...
50f005aad627674696dd88b43c0fedfe
optional fixed32 size = 1;
[ { "docid": "c222f7d5fb5be548027d46f41ceff54b", "score": "0.0", "text": "public int getSize() {\n return size_;\n }", "title": "" } ]
[ { "docid": "afcaf66e3307b8e912522f577528153a", "score": "0.7076926", "text": "public int getSize() { return 8; }", "title": "" }, { "docid": "d03462725d922ece0437e15d889532f8", "score": "0.6748973", "text": "public int getSize(){return _size;}", "title": "" }, { "docid": ...
3527e1773ecd4633e0a08103e39c0e1c
Write your code here
[ { "docid": "aab0058c91b89761fbb0f5f933d6b110", "score": "0.0", "text": "public static List<Integer> photoAlbum(List<Integer> index, List<Integer> identity) {\n List<Integer> result = new ArrayList<>();\n\n for (int i = 0; i<index.size(); i++){\n if (index.get(i) == identity.get(...
[ { "docid": "f3cfb95cfb17fcd88ce2871511ceb2a6", "score": "0.65927243", "text": "private static void masterCode() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fc7bd0f673b6dc458ca933b0fabf22ab", "score": "0.64004964", "text": "public void writeCode() {\n System.out.println(\"Dev...
e4639d565c7a0a6bafd49c00a9a9b077
Returns size of adt.
[ { "docid": "f379391a7486d38b8a3ae241e6051544", "score": "0.0", "text": "@Override\r\n\tpublic int size() {\r\n\t\treturn myArray.size();\r\n\t}", "title": "" } ]
[ { "docid": "d245cdd6a59ffc50912524fa4cea5ac1", "score": "0.66850066", "text": "public int getTimeSize() {\r\n \t\treturn getAxisSize(getTimeAxis());\r\n \t}", "title": "" }, { "docid": "4151cbca7293d0755e7932b4ba796f0f", "score": "0.6585861", "text": "int getDataSize();", "title"...
594243b87f3c40772f48ae853a9926da
Returns the xacml version number for this attribute.
[ { "docid": "d991f3f7c57ef666dea115386a8977fa", "score": "0.7701947", "text": "public int getVersion() {\n return this.xacmlVersion;\n }", "title": "" } ]
[ { "docid": "b8c342b9f568c57a3635e3ea5d39c4fa", "score": "0.74010724", "text": "public Integer getVersion() {\r\n return (Integer) getAttributeInternal(VERSION);\r\n }", "title": "" }, { "docid": "bf061168aab789b677b109ca2b24efce", "score": "0.7179797", "text": "public Basic...
7cfe92971f90ac6822625a7f5285dbe8
to write or update test information to reporter
[ { "docid": "cb833f646560ca43a099a5858f8f93ea", "score": "0.0", "text": "@AfterSuite\n\tpublic void tearDown() {\n\t\textent.flush();\n\n\t}", "title": "" } ]
[ { "docid": "d3a28548277aae5bfd542340954250ed", "score": "0.6878867", "text": "private void reportProgress(String testInfo) {\n \t\tSystem.out.flush();\n \t\tSystem.err.flush();\n \t\tSystem.out.println(testInfo);\n \t\tSystem.out.flush();\n \t\tSystem.err.flush();\n ...
145f61e7e96b78bc2bedaa769f5a5c6b
CircleTableModel model = new CircleTableModel(circleList); JTable table = new JTable(model); add the table to the frame this.add(new JScrollPane(table));
[ { "docid": "585e1ab2e2d5de6d5beb130cd3884b8c", "score": "0.0", "text": "public void init()\n {\n \n this.setTitle(\"Table Example\");\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); \n this.pack();\n this.setVisible(true);\n }", "title": "" } ...
[ { "docid": "692d21e1017000ba0b606da18cad0161", "score": "0.6804688", "text": "void displayTable()\n {\n try\n {\n conn.get(\"SELECT * FROM Ingredients123456789\");\n\n while (conn.rs.next())\n {\n String ID = conn.rs.getString(1);\n ...
9c7280bf4c1f8c9d70261691a7f92ec9
Read and returns (as byte[]) the excel file with the given path
[ { "docid": "e854361280b22acf237965b60d42cabc", "score": "0.74009144", "text": "public byte[] readExcelFile(String excelFilePath) throws Exception {\r\n\t\tbyte[] buffer = new byte[0];\r\n\t\tif (excelFilePath != null && !excelFilePath.trim().equals(\"\")) {\r\n\t\t\tStringBuilder strBuilder = new String...
[ { "docid": "2780e06ec89c42b8a7d85cdb04768de5", "score": "0.68915427", "text": "private byte[] readInFile(String path) throws IOException {\n byte[] data = null;\n File file = new File(path);\n InputStream input_stream = new BufferedInputStream(new FileInputStream(\n f...
748f6a1e218cf48a7ecdc4532323c948
Advance the buffered reader to a line number within the source file.
[ { "docid": "60a05388a01503dd6f257bab933e32e1", "score": "0.7479429", "text": "private void advanceToLine(long targetLineNumber) throws IOException {\n\t\twhile(currentLineNumber < targetLineNumber) {\n\t\t\treader.readLine();\n\t\t\tcurrentLineNumber++;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "9ed8500e78c3eff37971b68844bd6272", "score": "0.71667475", "text": "void setLineNumber(int line) {\n fSourceLine = line;\n }", "title": "" }, { "docid": "3e8e236ecae5b9bb31b426ec4e265eef", "score": "0.7108131", "text": "void setNextLineNumber(int lineNumber);", ...
eb447a293101bb1e58b290ea11b6ac11
criteria queries not supported yet, using JPQL
[ { "docid": "70f8835d3300ea6adf5c81c6c85b2fae", "score": "0.0", "text": "public List<Member> findAllOrderedByName() {\n \tQuery query = em.createQuery(\"from Member\");\n \treturn query.getResultList();\n }", "title": "" } ]
[ { "docid": "5c1acc7894f75d31fa935b626ed13154", "score": "0.6888698", "text": "Criteria createCriteria();", "title": "" }, { "docid": "dc04d12ad670fbf91c7e8be6cda81bd5", "score": "0.653431", "text": "protected <T1> TypedQuery<T1> query(CriteriaQuery<T1> criteria) {\n return em.cr...
54eb24838e9a108643beaecd0bc2e532
Main function. Takes a corpus as input to calculate the Bigram Counts and probabilities for the three scenarios.
[ { "docid": "43db9bf7dec05f1271310f5ab956723a", "score": "0.6887597", "text": "public static void main(String args[]) throws IOException{\n\t\tString filename=null;\n\t\tString outfileNoS=\"CorpusOutputNoS.txt\";\n\t\tString outfileS=\"CorpusOutputS.txt\";\n\t\tString outfileT=\"CorpusOutputT.txt\";\n\t\...
[ { "docid": "5b66a0e3f610777811b09996aa27102b", "score": "0.6568831", "text": "public static void main(String[] args) throws IOException {\n // All but last arg is a file/directory of LDC tagged input data\n File[] files = new File[args.length - 1];\n for (int i = 0; i < files.length...
58f791b63bdc9fedb01094f0b97951be
dialog for wrong account number
[ { "docid": "68078bd4f5cc8f7b098b68887b068ab8", "score": "0.56764185", "text": "public void noSmsReg() {\n AlertDialog.Builder alertDialog5 = new AlertDialog.Builder(\n Withdraw.this);\n\n // Setting Dialog Title\n alertDialog5.setTitle(\"Error !\");\n alertDial...
[ { "docid": "97295d516de2dd778a53af98563014e4", "score": "0.7376872", "text": "public void wrongAccNum() {\n AlertDialog.Builder alertDialog5 = new AlertDialog.Builder(\n Withdraw.this);\n\n // Setting Dialog Title\n alertDialog5.setTitle(\"Error !\");\n alertDi...
1aad87bc87f8e2ee71bc1b3ac96edf55
Return type metadata object
[ { "docid": "ce3960bb9a2db1273501f75bb8e7f21b", "score": "0.0", "text": "public static org.apache.axis.description.TypeDesc getTypeDesc() {\n return typeDesc;\n }", "title": "" } ]
[ { "docid": "3bab86f2ef8ce7f2d5db51396a380b60", "score": "0.72594327", "text": "java.lang.String getMetarType();", "title": "" }, { "docid": "a0b40fcac723ffa48614f6a01963add0", "score": "0.7003181", "text": "private Map<String, Map<String, String>> getCOBOLTypeMetaData() {\n\t\tMap<St...
95d35b8821becb7579acc2fb5bd9a302
Position pos = new Position();
[ { "docid": "db08ecdd1124595ca1b744525f53528f", "score": "0.0", "text": "private void displayForm(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tPositionModel posModel = new PositionModel();\n\t\tList<Position> listPos = posModel.getListPositi...
[ { "docid": "49e1f31e7f968ce2b64e673281e0a433", "score": "0.8454257", "text": "private Position() {}", "title": "" }, { "docid": "92a60e0a9be4a7ca0c62f4e9ac50b818", "score": "0.7561061", "text": "public PositionNoDS() {}", "title": "" }, { "docid": "ae214b0fbda13db882f0b6b...
007c425b3a91bf79f848686c045c2b54
Function used to retrieve all assignments of system.
[ { "docid": "da65ad0645daaec074e5b098707cde01", "score": "0.6969328", "text": "public List<Assignment> getAssignments() {\r\n\t\treturn DAOFactory.DEFAULT.buildAssignmentDAO().findAllByStage();\r\n\t}", "title": "" } ]
[ { "docid": "964261d3211018ec37b0ec15a9a558a5", "score": "0.66272056", "text": "public Set<Assignment> getAssignments() throws RemoteException;", "title": "" }, { "docid": "8956a6ea2b6d8172fdcff3ce58078a6e", "score": "0.66008514", "text": "public List<Assignment> getAssignments() { \n...
5af19cde96727babccb80f0a8325796f
Return the course object with data values that match the parameters received.
[ { "docid": "fe151f19dc3c00d28aef0ec44ffd8809", "score": "0.6382486", "text": "Course getCourse(String courseDept, int courseNumber);", "title": "" } ]
[ { "docid": "74fe11b1388b5ebd53d958df57da81b7", "score": "0.7272117", "text": "Course getCourse();", "title": "" }, { "docid": "0445447b266e3deca51675048ec3e7b4", "score": "0.6828232", "text": "public Course getCourse() {\n Course course = new Course();\n course.setId(cu...
f9e4fa42e3bfdf2cec0842c52f17e91a
Devuelve el nombre del usuario activo
[ { "docid": "1ce032fe04a3374cbabe71475d16e9ad", "score": "0.0", "text": "public String getUserOnSession() {\n\t\treturn user.getUsername();\n\t}", "title": "" } ]
[ { "docid": "7e2f2da9f060481fc32cf2925b9c7893", "score": "0.7479429", "text": "public String nombreUsuario() {\r\n\t\treturn this.usuario.devolverNombre();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2cbae62584c616cb08d30f555ac63587", "score": "0.7388658", "text": "public String getCu...
7df2265feb65dbcad60fe6689c97457a
Este metodo retorna la opcion si el usuario tiene permiso a esa opcion de lo contrario retorna null
[ { "docid": "bebccf7cba083545aa55276944e500bc", "score": "0.0", "text": "private static Option hasPermissionUser(List<Option> options, List<String> url) {\n\t\tfor (Option option : options) {\n\t\t\tif (url != null && !url.isEmpty()) {\n\t\t\t\tString parteUrl = url.get(0);\n\t\t\t\tif (option.getDetail(...
[ { "docid": "9a63210bd8e49a5a5993ac533597ffd1", "score": "0.703337", "text": "private boolean temPermissao() {\n\t\t\n\t\treturn usuario.equals(\"admin\")&&senha.equals(\"admin\");\n\t}", "title": "" }, { "docid": "e72edbd3da3cfea0fd4b6d95cec1019a", "score": "0.6777746", "text": "@Ove...
ad90dca91940eac569cc62bd334917c0
generate time service based on skill requirement and caretaker skill in each level: caretakerID, caretaker skill, caretaker time service
[ { "docid": "cc6ac5096b657bf8344dfd1863b7444b", "score": "0.4583991", "text": "public void genDService(ArrayList<Integer> cid, ArrayList<Integer> sk, ArrayList<ArrayList<Double>> dsr){\r\n\t\t\r\n\t\tint m = vsID.size();\r\n\t\tint n = cid.size();\r\n\t\t\r\n\t\t//row ==> visit, col ==> ctaker\r\n\t\t//a...
[ { "docid": "5f9a62da0090040099f977d43cc92cc4", "score": "0.54765105", "text": "PractitionerRoleAvailableTime createPractitionerRoleAvailableTime();", "title": "" }, { "docid": "96a65e464492275467078b9d82fb82df", "score": "0.5052156", "text": "void createTrial();", "title": "" }...
2889ea677d93994b7e83a34421fbc932
Outputs a retults page in HTML format
[ { "docid": "3776101e3efa037d73f7e25d04ea46d0", "score": "0.5918917", "text": "private void outputHTMLPage(String surveyID, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\n {\n try\n {\n //if we have no responses, forward to jsp ...
[ { "docid": "93611755bbf6e8bd996ee5cd722bee7a", "score": "0.6417133", "text": "@Override\n public void doGet (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n response.setContentType(\"text/html\");\n PrintWriter out = response.getWriter();...
e6dc3196f3c7fa7ce61d4f4100013895
Determines the fling velocity and then fires the appropriate swipe event accordingly
[ { "docid": "a053559ea524968403eeb3a8c401a73f", "score": "0.74536127", "text": "@Override\n public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {\n boolean result = false;\n try {\n float diffY = e2.getY() - ...
[ { "docid": "09648c43f84341b9e4fc48ba6afebb9d", "score": "0.7782407", "text": "@Override\r\n public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,\r\n float velocityY) {\n if (e1.getX() - e2.getX() > SWIPE_MIN_DISTANCE\r\n ...
7d8881b116196b7b28ab13d024b8a315
respond to timer events
[ { "docid": "cd1678c30aa4a277a094b83afc64fe6d", "score": "0.0", "text": "public void actionPerformed(ActionEvent e){\n handleCollisions(ballList);\n drawingPanel.repaint();\n }", "title": "" } ]
[ { "docid": "a7efb27f7b7716d4080af2cd1327e985", "score": "0.7290257", "text": "public abstract void onTimePassedTimerHandler(TimerHandler pTimerHandler);", "title": "" }, { "docid": "8bf41dd318e61feb1e99958d8226444d", "score": "0.6946739", "text": "void handleEvent(ScheduleEvent timer...
b808576c3007d2dae84a659131442b49
optional .SC2APIProtocol.Size2DI resolution = 2;
[ { "docid": "ebb12abf704c3aad5070d6ef82c2a3bd", "score": "0.8334465", "text": "SC2APIProtocol.Common.Size2DIOrBuilder getResolutionOrBuilder();", "title": "" } ]
[ { "docid": "c1657f76c96a681c742311e022c60771", "score": "0.88147134", "text": "SC2APIProtocol.Common.Size2DI getResolution();", "title": "" }, { "docid": "701529de1e487c1f0c97829fef2fffa8", "score": "0.7868107", "text": "SC2APIProtocol.Common.Size2DI getMinimapResolution();", "ti...
694e7af4ac3a1ce51407015ca5cdfb3f
$ANTLR end "rule__Comparator__Group_0__1__Impl" $ANTLR start "rule__Comparator__Group_1__0" InternalRPG.g:5421:1: rule__Comparator__Group_1__0 : rule__Comparator__Group_1__0__Impl rule__Comparator__Group_1__1 ;
[ { "docid": "c36de72d0879c589ea4d7f4cdb9e7ee2", "score": "0.79986215", "text": "public final void rule__Comparator__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRPG.g:5425:1: ( rule__Comparator__Group_1__0__I...
[ { "docid": "8113ba2880bf21bca183ad2c126a3f78", "score": "0.8107278", "text": "public final void rule__Comparator__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRPG.g:5371:1: ( rule__Comparator__Group_0__0__Im...
b08759cc940de6dd808bfb88251dfa08
/ Scroll drops and shit
[ { "docid": "48369595aa8f1889b8415e4696252145", "score": "0.0", "text": "public void updateDrops(float delta){\n scroll_speed *= (1 + delta * acceleration);\n for(Drop drop : world.getDrops()){\n drop.setY(drop.getY()+delta*scroll_speed) ;\n }\n if(world.getDrops()....
[ { "docid": "779404340f3b4886d0a79a82802a9a66", "score": "0.735765", "text": "void snapScroll();", "title": "" }, { "docid": "44d2174995b8d361c5c35e68beb3c5f1", "score": "0.6905145", "text": "@Override\r\n\tpublic void doScroll() {\n\t\t\r\n\t}", "title": "" }, { "docid": ...
3299e2b8e4d19fa4f6448644011e93fd
mendeklarasikan variable a, i, dan j dimana variable a digunakan untuk jumlah tingkat segitiga pascal, dan variable i dan j untuk melakukan perulangan
[ { "docid": "6b808e83f26aaf341629ed6b7b175501", "score": "0.6431826", "text": "public static void main(String[] args){\n int a, i, j;\r\n //mendeklarasikan batans nilai sama dengan 6\r\n int batas = 6;\r\n //mendeklarasikan untuk memberi spasi setiap nilai sama dengan batas\r\n int spasi =...
[ { "docid": "32f01877871ef131e5f24b73565f4e30", "score": "0.62548095", "text": "private static void func_void_j(int var0, int var1) {\n int var2;\n for(var2 = 0; var2 < field_int_jK && field_array_int_jM[var2] != -1; ++var2) {\n }\n\n if (var2 != field_int_jK) {\n for(int var3...
c5c72d8af7f78515ac330a9f78ce7f4a
copies all but neighbours count. This must be fresh in each round!
[ { "docid": "cab1100ab9aad88234a76353ee7f972a", "score": "0.0", "text": "public Cell copyMe() {\n Cell cell = new Cell(rowIndex, indexOfCell);\n cell.setAlive(isAlive);\n // cell.numberOfNeighbours = numberOfNeighbours;\n return cell;\n }", "title": "" } ]
[ { "docid": "1d35d8f2be25d44f8535fd77f59a7d4a", "score": "0.6923501", "text": "public int numberOfNeighbours() {\n return _nbrs.size();\n }", "title": "" }, { "docid": "cc66c93e9f58adce4f8f654fa491e981", "score": "0.6258159", "text": "private void generateNeighborhood()\n ...
ec1e2a8ea23d465662c7e668d415999f
Helper to throw a new InvalidEmailFault exception.
[ { "docid": "a90bdde6b5b67966a65c1875d8a3fd6c", "score": "0.7795565", "text": "private void throwInvalidEmailFault(final String message) throws InvalidEmailFault_Exception {\r\n\t\tfinal InvalidEmailFault faultInfo = new InvalidEmailFault();\r\n\t\tfaultInfo.message = message;\r\n\t\tthrow new InvalidEma...
[ { "docid": "4d28bc3ee6380bc14f58a36b51a9573c", "score": "0.63198555", "text": "private void throwEmailAlreadyExistsFault(final String message) throws EmailAlreadyExistsFault_Exception {\r\n\t\tfinal EmailAlreadyExistsFault faultInfo = new EmailAlreadyExistsFault();\r\n\t\tfaultInfo.message = message;\r\...
d2b1187175b247a043a990dcff77dad4
/Purpose: The purpose of this method is to perform certain tasks according to which button the user clicks
[ { "docid": "a0734ec1e3d4a43a06daae5c9585e47b", "score": "0.0", "text": "public void buttonClicked(JButton buttonObj){\n\t\t\n\t\tif(buttonObj == Add){\n\t\t\ttry{\n\t\t\t\t\n\t\t\t}\n\t\t\tcatch(Exception E){\n\t\t\t\tJOptionPane.showMessageDialog(new JFrame(),E.getLocalizedMessage(), \"Error Message\",...
[ { "docid": "eb268e2d850abd851c660820a632d2a7", "score": "0.7175117", "text": "public void buttonAction (String buttonName) {\n updateButtons(buttonName);\n \n if (buttonName.equals(\"New\")) {\n userWantsNew();\n }\n else if (buttonName.equals(\"Open\")) {\n...
86c4c7e47f642fd6765453ae8e87178d
/ This method is used to insert balance sheet data to database, which will be process further for Financial Performance Analysis
[ { "docid": "558ab4ac37891a2bb8f447c77ef7133a", "score": "0.7060521", "text": "@Override\r\n\tpublic void addBalanceSheetdata(BalanceSheet balancesheet) {\r\n\t\tmongoBalanceSheetCollection.insertOne(balancesheet);\r\n\t}", "title": "" } ]
[ { "docid": "677f0750ce31f6f88d7ff95038001a88", "score": "0.65674615", "text": "public boolean insertData(MBbill mbb)\n {\n\n try\n {\n String strQuery=\"INSERT INTO MB_Bill VALUES(\" +\n \"'\" + mbb.getTransactionID()+ \"',\"+\n \"'\" + mbb.getEC() + \"',\"+\n \"'\" + mbb.getD...
abb4c7405b77d730a236a239b226274b
Searches for certificates in public LDAP servers using the subject name.
[ { "docid": "5cd3e4919f4d0ed84cd55db3918e50d0", "score": "0.76565516", "text": "public Collection<X509Certificate> ldapSearch(String subjectName){\n\t\tfinal Collection<X509Certificate> retVal = new ArrayList<X509Certificate>();\n\t\t\n\t\tString domainName;\n \t\n\t\t// find by host\n \tint index;...
[ { "docid": "f6d0862dcd76963ef8b00f8dfdaadb81", "score": "0.540909", "text": "public void addCertificateSearch(CertificateSearch cs);", "title": "" }, { "docid": "cc87ab82a75fa167f1685e46f3a854fe", "score": "0.5246272", "text": "public java.lang.String[] getCertificateNames() throws j...