query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
a949f1ea4f284c888a7eecdbb5c68581
Returns name of the selected column.
[ { "docid": "f8d42d1a014dadb1d93891aa023b6749", "score": "0.7088437", "text": "@Override\n\t\tpublic String getColumnName(int columnIndex) {\n\t\t\tif (columnIndex >= columnNames.length)\n\t\t\t\treturn \"\";\n\n\t\t\treturn columnNames[columnIndex];\n\t\t}", "title": "" } ]
[ { "docid": "0f9a4229e5dacdf02379770c98ba3d26", "score": "0.7756926", "text": "public String getColumnName(int column);", "title": "" }, { "docid": "bff1252a6651c800e652b4f2ff7e166e", "score": "0.75434196", "text": "public String getSelectColumn() {\n\t\treturn selectColumn;\n\t}", ...
d9521c0ac25906b69714e82d04e7f4da
addConfiguredStorageServices Add configured default_services to the given set.
[ { "docid": "3ee4944c88a55a92d5bf3ca9484f0518", "score": "0.7048008", "text": "private void addDefaultServices(Set<String> serviceSet) {\r\n List<String> defaultServices = ServerParams.instance().getModuleParamList(\"DoradusServer\", \"default_services\");\r\n if (defaultServices != null) {...
[ { "docid": "3d2893b20b12c28c80cabdb9513a6097", "score": "0.8016424", "text": "private void addConfiguredStorageServices(Set<String> serviceSet) {\r\n List<String> ssList = ServerParams.instance().getModuleParamList(\"DoradusServer\", \"storage_services\");\r\n if (ssList != null) {\r\n ...
8251493892fbd0b8a1b4b145af1e683b
Releases the Squirrel VM and all related friend VMs.
[ { "docid": "95c1c921ec0f5e2d1bc17c727f4d750b", "score": "0.0", "text": "public static void sq_close(JSqVM v) {\r\n\t\tsq_close_native(v.m_nativeHandle);\r\n\t}", "title": "" } ]
[ { "docid": "d9841f27801b1991b7efcad0783d9d16", "score": "0.6201012", "text": "public void release() {\n simConnection.doCommand(\"DynamicsSetGearValue DoneControlling\");\n }", "title": "" }, { "docid": "8f869661807558c1f1da84cde16b765a", "score": "0.5756598", "text": "priv...
38f41ce7025bf8cf6c64c56e8e683127
Returns a String representation of this event.
[ { "docid": "0ca4fca9b38e6b5732604c44e01ba7f2", "score": "0.8003905", "text": "public String toString() {\n return \"Event[uolId=\" + getUolId() + \",triggerId=\" + getTriggerId() +\n \",type=\" + getType() + \",className=\" +\n getClassName() + \",componentId=\" + getComponentId() + \"]...
[ { "docid": "3060ba3acf8a6366ccee26d367665456", "score": "0.8687456", "text": "public String toString() {\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tsb.append(\"[Event:\").append(this.name).append(\"]\");\r\n\t\treturn sb.toString();\r\n\t}", "title": "" }, { "docid": "19e1708253fdea...
26a2c9920cef9415cad2f7f1dccdd8d0
get customer_id from user_id
[ { "docid": "66745b9e19266282b5179d512f5385e9", "score": "0.0", "text": "@Query(value = \"select e.employee_id from user as u inner join employee as e on u.user_id = e.user_id where u.user_id=:user_id\",nativeQuery = true)\n long getEmployeeId(@Param(\"user_id\") long user_id);", "title": "" } ]
[ { "docid": "37c6afbadd1050be4a15a064910568d7", "score": "0.7833197", "text": "java.lang.String getCustomerId();", "title": "" }, { "docid": "37c6afbadd1050be4a15a064910568d7", "score": "0.7833197", "text": "java.lang.String getCustomerId();", "title": "" }, { "docid": "37...
285a15abb572fbf70120269f7c03a440
No celllevel color support by using this class return null.
[ { "docid": "823ebdfd3c7fc9ee7c3512bf1597e802", "score": "0.0", "text": "public Color[] getBackgrounds() {\r\n \r\n\treturn null;\r\n}", "title": "" } ]
[ { "docid": "0ecd022df4030a49aa14936278e807f4", "score": "0.7383158", "text": "public Color getCellColor() throws NoColorException {\n if(this.noColor) throw new NoColorException();\n return cellColor;\n\n }", "title": "" }, { "docid": "dd1ecd693fb649e29108336627d953af", ...
f4f334da85edb5e2fc4d8608ec06ac2c
Generates a random number from an exponential distribution
[ { "docid": "8e031e56c2e8b24494756b40e112f03b", "score": "0.70275456", "text": "public static double randExp(double rate, RandomEngine randomEngine) {\n return Math.log(1-randomEngine.nextDouble()) / (-rate);\n }", "title": "" } ]
[ { "docid": "b6e634ff2c0f4a6272092c8d8bae3259", "score": "0.7887529", "text": "double expRandom(double m) {\n\t\tdouble next = random.nextDouble();\n\t\treturn -m*Math.log(1.0-next);\n\t}", "title": "" }, { "docid": "02a568ecdfa9b3eba13274b659e1c03a", "score": "0.7637744", "text": "pu...
5ec50cc650eaa8102ed9d091744db2a7
Saves the amount of teams that gets sent in trough parameters
[ { "docid": "85342df3924f6a6961be5c2f14771c78", "score": "0.6842805", "text": "public void setAmountOfTeams(AmountOfTeams amountOfTeams){\n this.amountOfTeams = amountOfTeams;\n }", "title": "" } ]
[ { "docid": "c6936cc147f370e236071511ed54cbd5", "score": "0.66731083", "text": "public void addTeamFouls(){\n teamFouls++;\n }", "title": "" }, { "docid": "98db276fd70c85c6bedd8c8d46908f86", "score": "0.62586766", "text": "public AmountOfTeams getAmountOfTeams(){\n re...
efc47ac23141328039d7de064cb09787
this.sound = sound; sound.setCycleCount(AudioClip.INDEFINITE);
[ { "docid": "ed88d9d389f782951d464f1409b9624e", "score": "0.62644076", "text": "public void playsound(AudioClip sound) {\n\t\tsound.play();\r\n\t}", "title": "" } ]
[ { "docid": "bab4a33783459490aa87841daf8f3ff0", "score": "0.7781071", "text": "void playMusic() {\n clip.loop(LOOP_CONTINUOUSLY);\n }", "title": "" }, { "docid": "207b783f488f89a72512729b27b850aa", "score": "0.7334206", "text": "public void loopMusic(){\n\t\t\n\t\tclip.loop(...
4821910372788cc6fa530daccfd40a4c
Gets the addressLine1 value for this Buyer.
[ { "docid": "a547abf952a1a1bda26f34ef191c178a", "score": "0.8580784", "text": "public java.lang.String getAddressLine1() {\n return addressLine1;\n }", "title": "" } ]
[ { "docid": "8b4e124d7e375f3f8233d9804dcb9d1b", "score": "0.8585543", "text": "public String getAddressLine1() {\n return addressLine1;\n }", "title": "" }, { "docid": "d6d04eb169c72be05fc594ddfb0f1a87", "score": "0.8522154", "text": "public String getAddressLine1() ...
fede48277590d578a35f6094920866b0
Makes Guess display panel
[ { "docid": "456bc64155df99b62027ad9a067ee1c7", "score": "0.72196317", "text": "private JPanel guessDisplay() {\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setBorder(new TitledBorder (new EtchedBorder(), \"Guess\"));\n\t\tpanel.setLayout(new GridLayout(3,2));\n\t\tJLabel personLabel = new JLabel(\"Perso...
[ { "docid": "66b2871351f8ef2af65ca8bd4b1ed39b", "score": "0.6372403", "text": "private JPanel rollandGuess() {\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setLayout(new GridLayout(1,3));\n\t\tJPanel roll = die();\n\t\tJPanel guess = guessDisplay();\n\t\tJPanel result = resultDisplay();\n\t\tpanel.add(ro...
c74478e2e326bdb432affddba15880aa
Removes all active turtles from the list, and then adds the turtles with given IDs to the list.
[ { "docid": "99550680d03f32530d6086ff1571bf0e", "score": "0.75615096", "text": "public void setActiveTurtles(List<Integer> id) {\n\t\tactiveTurtles.clear();\n\t\tactiveTurtles.addAll(id);\n\t\twhile (tempTurtles.size() > 1) {\n\t\t\ttempTurtles.pop();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "f809eadfd22f08ff0c6b1b89c5bfe72c", "score": "0.6093346", "text": "public void addTempTurtle(List<Integer> id) {\n\t\tHashSet<Integer> temp = new HashSet<>(id);\n\t\ttempTurtles.add(temp);\n\t}", "title": "" }, { "docid": "cb021ab4e7ebfe69ce4b17a941184a3d", "score": "0.598601"...
683e4f8363047663249b0fd9819d10c1
Test Case E41545: GB ASOI (Q) Submit Instructor Created Questions Assignment Scoring
[ { "docid": "328e7c4200885e9a92e42cd2e657e918", "score": "0.66666687", "text": "@Test\r\n\tpublic void E4_1545() throws Exception{\r\n\t\t\t\t\t\t\r\n\t\t//GoTo GradeBook page\r\n\t\tGradeBookPage gradeBookPage = PageFactory.initElements(driver, GradeBookPage.class); \t\t\r\n \t\t\r\n \t\t//Select on...
[ { "docid": "08059a78cec8632344e51c9dde621261", "score": "0.6985589", "text": "@Test\n public void submitHW5(){\n this.admin.createClass(\"Test\", 2017, \"Instructor\", 22);\n this.instructor.addHomework(\"Instructor\", \"Test\", 2017, \"hw3\", \"Programming\");\n this.student.sub...
4256307d19a7a8dd2785596018202883
Gets the key class.
[ { "docid": "ed262d5be273f33e9a6a7db7be5d87c0", "score": "0.8426948", "text": "Class<?> getKeyClass();", "title": "" } ]
[ { "docid": "fc24046aca3a47e27a1def47cf8e1eec", "score": "0.77081746", "text": "protected abstract Class getClassForKey();", "title": "" }, { "docid": "766d378a218711af5bda4d3afeb0f551", "score": "0.75044656", "text": "public Class getOutputKeyClass() {\n return outputKeyClass;\n ...
d40be55cea59173b3d5e3fc868a2861e
Test case number: 108 /Coverage entropy=0.0
[ { "docid": "b17c975686f5fd4ffad4606133a390de", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test108() throws Throwable {\n try { \n JavaCharStream.hexval('@');\n fail(\"Expecting exception: IOException\");\n \n } catch(IOException e) {\n //\n ...
[ { "docid": "80807553c59aad5881b49e5bf8f2ae4d", "score": "0.7065237", "text": "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0...
2501ae4ca1d7215194586f49f71798f1
The easy, safer ways to get at your argument list.
[ { "docid": "4efe93edb8af222c07d3b89c1bc6594a", "score": "0.0", "text": "public Culpable getArg( int index )\n {\n Culpable out = null;\n \n if ( size() < index )\n {\n ...
[ { "docid": "1fbc7b98b9aaa563e11607848b390c91", "score": "0.7724067", "text": "String getArgs();", "title": "" }, { "docid": "be1d3aaa3229a0c3ef721337e167efe5", "score": "0.75032526", "text": "Formals getArgs();", "title": "" }, { "docid": "39278c3361e7a163557159bc8dd82c89...
cdd299d8ff5e132f04c5a88aff48c2e0
Constructs a copy of this Tail.
[ { "docid": "ec4835b2aa1a2b092db7c53d4e4602ab", "score": "0.6852702", "text": "public Tail(Tail in)\n {\n super(in);\n alive = in.isAlive();\n unlucky = in.isUnlucky();\n setColor(in.getColor());\n }", "title": "" } ]
[ { "docid": "3dee125f8192a107ee37798688d11ad3", "score": "0.6543053", "text": "public Tail()\n {\n setColor(DEFAULT_COLOR);\n alive = true;\n unlucky = false;\n }", "title": "" }, { "docid": "ef09a4c3e6ca247a64c15e07119467b2", "score": "0.6407653", "text": "...
fa29cdd35bb57b3e921eae394645aed2
required int32 pricegold = 4 [default = 0];
[ { "docid": "02320f6599c65bd14b2340d3af61a095", "score": "0.6361093", "text": "boolean hasPricegold();", "title": "" } ]
[ { "docid": "ab687c82cffc89785c7a090623a4e3e4", "score": "0.76092803", "text": "int getPricegold();", "title": "" }, { "docid": "97f3c09b3344eac90a0e21157051e75a", "score": "0.7135683", "text": "public int getGold() { return 0; }", "title": "" }, { "docid": "cc293786b841e7...
a7cd01dee0a295e50f9dc4f9be62807b
/ 26: / 27:
[ { "docid": "c248ee504de285867623b9a03591ad3b", "score": "0.0", "text": "public void start()\r\n/* 28: */ {\r\n/* 29:28 */ double d1 = 6.283185307179586D * this.a.getRNG().nextDouble();\r\n/* 30:29 */ this.b = Math.cos(d1);\r\n/* 31:30 */ this.c = Math.sin(d1);\r\n/* 32:31 */ this.d =...
[ { "docid": "738bcd0a04420d62671cf9621596849d", "score": "0.604481", "text": "private static void question26() {\n }", "title": "" }, { "docid": "0db512ea2a706fc067e521bfcfe1800a", "score": "0.6040022", "text": "private int dispersao2(int k) {\r\n\t\treturn ( fatorS - k % fator...
0cf020fc1d3877f1095b36140684058d
Tests whether the file denoted by this is a normal file. Checks the file type against [TYPE_FILE] const.
[ { "docid": "714a385007f2845da685ef5df7214c1d", "score": "0.75969136", "text": "public boolean isFile() {\n //fast safe check for final field\n return type == TYPE_FILE;\n }", "title": "" } ]
[ { "docid": "774d31b3929384fe97f07b108cad6d88", "score": "0.7503928", "text": "public boolean isFile() {\n return this.getType().equals(\"File\");\n }", "title": "" }, { "docid": "00e4d8bd509b9b80f29a5697c6446e1e", "score": "0.7062431", "text": "public boolean isFileType()\n {\...
2188917e6bf253bfcf75706e7b0a9696
Method for checck greatest common fector
[ { "docid": "81ee4cf7060d47b7a5d4c66d2d9507cd", "score": "0.0", "text": "public static int checkGCF(int num1, int num2) {\r\n\r\n while (num1 != num2) {\r\n if (num1 > num2) {\r\n num1 = num1 - num2;\r\n } else {\r\n num2 = num2 - num1;\r\n ...
[ { "docid": "e993758f3ba384f9996a3a8cfd529436", "score": "0.6494883", "text": "public static int gcf(int x, int y) { \r\n\t if (x % y == 0) return y; //This function will return the greatest common factor between x and y.\r\n\t return gcf(y, x%y);\r\n\t }", "title": "" }, { "...
117aaa7652abdf3db6ba90f0b680ecb6
System.setProperty("webdriver.chrome.driver", "/Users/reenupanwar/Desktop/Selenium Software/chromedriver 4");
[ { "docid": "1e8a9eca1c1e660c71f927e78ee53536", "score": "0.0", "text": "@Given(\"^Start the browser$\")\n\tpublic void start_the_browser() throws Throwable {\n\t\tdriver = new FirefoxDriver();\n\t\tdriver.get(\"http://stage.pitchvision.com/#/\");\n\t\tdriver.manage().window().maximize();\n\n\t\tdriver.f...
[ { "docid": "7a311203ad0b1c984fba47ef670f56d2", "score": "0.7936762", "text": "@BeforeClass\n public void browserInit() {\n System.setProperty(\"webdriver.chrome.driver\", \"/usr/local/bin/chromedriver\");\n\n\n driver = new ChromeDriver();\n\n\n }", "title": "" }, { "doci...
3eb56525a0546b4844c709cd6b21cdd7
Get the array of blocks.
[ { "docid": "476906e34d49c6fff61a17c97d63c505", "score": "0.6972591", "text": "public long[] getBlockIds() {\n return blockIds;\n }", "title": "" } ]
[ { "docid": "024e2a463cc0c03a0120beb7fb3f0cd2", "score": "0.8561081", "text": "public Array<Block> blocks(){\n return getBy(ContentType.block);\n }", "title": "" }, { "docid": "9b5ce4d49ac11557b0efd3a1e6037f8a", "score": "0.84551364", "text": "public Array<Block> getBlocks()...
a2af26e97b5c886a1393c94aca29d680
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
[ { "docid": "f3cbb6f7f479fe24ed1673734e2a3e83", "score": "0.0", "text": "public int getIcon() throws PDFNetException {\n/* 183 */ return GetIcon(__GetHandle());\n/* */ }", "title": "" } ]
[ { "docid": "8cd52b56c7e70acc60feb006eb2d85c1", "score": "0.5446866", "text": "void mo39712L();", "title": "" }, { "docid": "f6f56f418bd606790da6d3f972d1bd39", "score": "0.5432112", "text": "protected abstract void mo3576c();", "title": "" }, { "docid": "051db016057e406d91...
3eba5d16e45a7bbcd202fc0ae9c740ee
AU DEBUT DU LANCEMENT DE L'APPLICATION\\
[ { "docid": "cd8896249199f5dbd23dedf46f0c0323", "score": "0.0", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_lancement);\n\n // Affectation des variables de composantes\n U...
[ { "docid": "386662468dd3dcc0a01c7f1db7d87210", "score": "0.629616", "text": "public void Alert_PasserCommande()\r\n {\r\n Alert alert = new Alert(AlertType.ERROR);\r\n alert.setTitle(\"Information Dialog\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(\"Impossi...
71d4d7e4bc9fc778fe82501d5d1b0832
$ANTLR end "rule__SynchStatement__Group_3__1__Impl" $ANTLR start "rule__SynchStatement__Group_3__2" InternalAgreeParser.g:10832:1: rule__SynchStatement__Group_3__2 : rule__SynchStatement__Group_3__2__Impl rule__SynchStatement__Group_3__3 ;
[ { "docid": "f0ea57c78af406c045cdaccdd8d0d664", "score": "0.74767363", "text": "public final void rule__SynchStatement__Group_3__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10836:1: ( rule__SynchState...
[ { "docid": "d2c17b4a62a600da12ebb719e9cdbccd", "score": "0.76189494", "text": "public final void rule__SynchStatement__Group_1__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10232:1: ( ( ( ( rule...
d048ec85f3995d34c2802cfb63484c2d
Attempts to turn on the shield.
[ { "docid": "a8301a274ab7fc04926581932d82efa1", "score": "0.7328296", "text": "public void shieldOn() {\n if (currentEnergyLevel >= 3){\n currentEnergyLevel -= 3;\n isShieldUp = true;\n }\n }", "title": "" } ]
[ { "docid": "858bfca8c39dacf8a0d2b6cfd36383d7", "score": "0.7637404", "text": "public void shieldOn() {\n if (this.CurrentEnergyLevel >= 3) {\n this.ShieldOff = false;\n this.CurrentEnergyLevel -= 3;\n }\n else\n this.ShieldOff = true;\n }", "t...
b367bb9a93a47b208316e61146bba253
Construct a message to redeem points. Requires a proof spec object
[ { "docid": "5ed6bf91eb2c54cfc591f155afadff6c", "score": "0.63794434", "text": "public UCSystemMessage(UCSCmdVals cmd, List<LoyaltyPointRedeem> lpRedeemList,\n int amountToRedeem, ProofSpec spec){\n this(cmd, null);\n this.lpRedeemList = lpRedeemList;\n this.spe...
[ { "docid": "e3316efbb90712eddc28fd441ed17f70", "score": "0.63700527", "text": "public UCSystemMessage(UCSCmdVals cmd, ProofSpec spec, Proof proof,\n BigInteger nonce, List<LoyaltyPointRedeem> lpRedeemList,\n int amountToRedeem, String commName){\n this(...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "36c0bcb229bf814af6e3462b3412e762", "score": "0.0", "text": "@Override\n\tpublic AdsVO login(AdsVO t) {\n\t\treturn null;\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": "" ...
897dcb1066929adb234b5f220a8f0401
.Contact contact = 1;
[ { "docid": "fe3a2f74a08a9841a7457460435702ec", "score": "0.60239244", "text": "public Builder setContact(kr.pik.message.Profile.Contact value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n contact_ = value.getNumber();\n onC...
[ { "docid": "8a5dba0d3c80eb64ac10ae8c32ef8ab0", "score": "0.7460904", "text": "public void setContact(Contact contact) {\n this.contact = contact;\n }", "title": "" }, { "docid": "8a5dba0d3c80eb64ac10ae8c32ef8ab0", "score": "0.7460904", "text": "public void setContact(Contac...
c274a11ece6af35351aa6b05afe66b56
delete selected item and update cursos and listview
[ { "docid": "b8d60682b2882eeb19e61895ca92d498", "score": "0.0", "text": "@Override\n public boolean onItemLongClick(AdapterView<?> adapterView, View view, int i, long l) {\n helper.delete(l);\n cursor.requery();\n adapter.notifyDataSetChanged();\n\n...
[ { "docid": "8a4896685ca229e83e469fd3c4c72657", "score": "0.72824085", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tdb.removeStarCounty(dataList.get(position));\n\t\t\t\tdataList.remove(position);\n\t\t\t\tnotifyDataSetChanged();\n\t\t\t\tToast.makeText(getContext(), \"删除成功!\", Toast....
b86324a36ef486f2a4142543cf3923ce
Returns the header id for the item at the given position.
[ { "docid": "1802189fe8c5d7a8146a8384cd43e647", "score": "0.80566806", "text": "protected abstract long getHeaderId(int position);", "title": "" } ]
[ { "docid": "c6cdebbe7b86cf49dc196c8a812a8aac", "score": "0.7919974", "text": "@Override\n public long getHeaderId(int position) {\n return headId[position / 5];\n }", "title": "" }, { "docid": "d90e58021ab911a9d43cc36da8fdb444", "score": "0.7650049", "text": "@Override\n...
78b00d321d0b49fdf15940a27925e638
/+++++++++++ Compression Methods +++++++++++ Incase a binary file is not wanted this will go through the file and count the chars
[ { "docid": "afd33869f552b4442db8add204078a26", "score": "0.6339624", "text": "private void countChars(String filename)\n {\n //tries to open file\n try\n {\n //open file\n Scanner fileIn = new Scanner(new FileInputStream(filename));\n\n //loops through file\n while(fileIn.h...
[ { "docid": "645ac7b7e40596e8fe170c49b9211eda", "score": "0.6881848", "text": "public static void compress()\n\t{\t\t\n\t\t//initialize all file readers and writers\n\t\tBufferedReader inputStream = null;\n\t\tPrintWriter statStream = null;\n\t\tFileOutputStream encodedStream = null;\n\t\t\n\t\t//get nam...
c1087f66425f1298f64c17bb513eeb99
Creates new form Create_User
[ { "docid": "62d4cb1abe92fa644259eb1b7fe6fcac", "score": "0.699484", "text": "public Create_User() {\n initComponents();\n }", "title": "" } ]
[ { "docid": "0f8173b545a4c2d044c0fa46e8627742", "score": "0.77650315", "text": "public static Result createUser(){\n\tForm<EditFrmDat> filledForm = registerForm.bindFromRequest();\n\tString msg = \"\";\n\tEditFrmDat efd = filledForm.get();\n\tefd.setPwn2(\"0\");\n\tfilledForm.fill(efd);\n\tif(filledForm....
ecc3b1620879ed2ac946373f9398a214
report specific time for statistics
[ { "docid": "7722ead5842c058e38dc055eced8b7f8", "score": "0.0", "text": "@Scheduled(fixedRateString = \"${netty.report.interval}\", initialDelay = 5000)\n public void report() {\n if (reportFlag) {\n logger.info(\"== [Statistics report started] ==\");\n logger.info(\"curre...
[ { "docid": "f145ae5578572c2c34f836df66326dc7", "score": "0.6779418", "text": "public abstract double getTotalTime();", "title": "" }, { "docid": "d2c5886c6d70f463fbd1a67a14ad20e0", "score": "0.6757216", "text": "private static void printStatistics(long total_time, Object total_result...
c27c78af3eb5b3084cad98467586ce69
Constructor is not intended to be used.
[ { "docid": "05cfceba81dd3282fc613a8640695329", "score": "0.0", "text": "private LogManager() {\n super();\n }", "title": "" } ]
[ { "docid": "bde5f3a2215c80950a972a2c396ea45b", "score": "0.72244275", "text": "@Override void init() {\n }", "title": "" }, { "docid": "65c4a5c5ce1d414b09a3707800659edc", "score": "0.7204715", "text": "@SuppressWarnings(\"unused\")\r\n\tprivate Praezision () {}", "title": ""...
257e94e869fc5d13ddd39bb3ab21e5d5
I forgot how java does pointers and stuff. This might be very very bad.
[ { "docid": "08328131ff387e647c45f1af368108c7", "score": "0.0", "text": "public void linkPos(Vector2f pos){\n\t\tthis.position = pos;\r\n\t}", "title": "" } ]
[ { "docid": "89021f8cf3bc39040a87774acd2abea7", "score": "0.5975837", "text": "long getNativePtr();", "title": "" }, { "docid": "6a0be76b358f29a8b77456e93998f411", "score": "0.5867855", "text": "public long getPtr(){return this.ptrToPostingLine;}", "title": "" }, { "docid"...
e7e657f7d614db1705deee2dcd0a1834
this method tests a function from FeedbackSessionLogic.java
[ { "docid": "6b86b4336ea836c1e618b503e217bf8c", "score": "0.5695314", "text": "@Test\n public void testScheduleFeedbackSessionClosingEmails() throws Exception {\n \n FeedbackSessionsEmailTaskQueueCallback.resetTaskCount();\n FeedbackSessionsLogic fsLogic = FeedbackSessionsLogic.in...
[ { "docid": "f3158f673b08250a1b4f52c991b9ee82", "score": "0.6307378", "text": "@Test(groups = {\"regressionSmoke\", \"feedback.pesAdminVerify\"})\n public void testPesAdminVerifyFeedbackWindow() throws Exception {\n a.navigateToMyHome();\n a.verifyFeedbackWindow();\n }", "title": ...
8240535a4e83ff3ee3b5141517b8d5e8
Perform a depthfirst search starting at an unordered collection.
[ { "docid": "369ef70fad161c69e95125aea74a8ff6", "score": "0.662461", "text": "private void depthFirstSearchUnorderedCollection(\n final Resource collection) {\n Set<Resource> members = collection.getScaffoldMembers();\n if (members == null) {\n // Empty collection!\n ...
[ { "docid": "e2f67c9117538f63b59a8483db5a2dff", "score": "0.7265662", "text": "private void depthFirstSearchCollection(final Resource collection) {\n nodesNotVisited.remove(collection);\n nodesActive.add(collection);\n populateDeputiesOfCollection(collection);\n nodesNotVisite...
e5de37b2d75477c89713eac50c121338
Showing the progress dialog
[ { "docid": "ebe01420274597519ac10414263f3cc8", "score": "0.0", "text": "private void saveTask(final String image){\n\n\n pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);\n pDialog.getProgressHelper().setBarColor(Color.parseColor(getString(R.string.colorAccent)));\n ...
[ { "docid": "9981b5473147b5b7d1e40a91fc1f49de", "score": "0.83833337", "text": "private void displayprogressbar() {\n\n progressDoalog = new Dialog(context);\n\n progressDoalog.setCancelable(false);\n progressDoalog.setContentView(R.layout.dialog_progress);\n progressDoalog.se...
19cf8bb371ffaf0f6bc9ebb37ab79a17
To be extended in order to add actions on events.
[ { "docid": "20eabfb3b6002c08103a373b7b8c9cbd", "score": "0.72983", "text": "protected abstract void onEventAction(IEvent<?> event);", "title": "" } ]
[ { "docid": "b1ef9b930b1fa68fd8b3d2b7b49ad834", "score": "0.750195", "text": "@Override\n\tprotected void addActions() {\n\t\t\n\t}", "title": "" }, { "docid": "73a34e7bc1fc43a06edd746cf73ac402", "score": "0.74867654", "text": "private void addEvents() {\n\t\t\n\t}", "title": "" ...
fbaf725909f8f6d95cf27f73d9fb0aa9
Converts the specified msn status to one of the status fields of the MsnStatusEnum class.
[ { "docid": "6ac26c2bc4883d4d8a937f37cbefb795", "score": "0.76261693", "text": "MsnStatusEnum msnStatusToPresenceStatus(MsnUserStatus status)\n {\n if(status.equals(MsnUserStatus.ONLINE))\n return MsnStatusEnum.ONLINE;\n else if(status.equals(MsnUserStatus.AWAY))\n ...
[ { "docid": "1366f601513b823e85e1fbc6cf996c04", "score": "0.647479", "text": "public static Status valueOf(int status){\r\n\t\t\tswitch(status){\r\n\t\t\t\tcase -1: return DEAD;\r\n\t\t\t\tcase 0: return INACTIVE;\r\n\t\t\t\tcase 1: return ACTIVE;\r\n\t\t\t\tdefault: return null;\r\n\t\t\t}\r\n\t\t}", ...
cf5cb1ebcf01d291cbf14f8b9563e499
Converts the action into a byte array for file storage.
[ { "docid": "306a52bff3397352cf78c4462c6f590f", "score": "0.54905045", "text": "@Override\r\n public byte[] toData();", "title": "" } ]
[ { "docid": "3e06524c9dea250cc5bd3e3993e765f7", "score": "0.61177075", "text": "byte[] toByteArray();", "title": "" }, { "docid": "1521f8932096a12cb214c4f3e0cde4b0", "score": "0.6113327", "text": "public byte[] toByteArray();", "title": "" }, { "docid": "5cbe825dac1a22058f...
7e2941d20225963b57a80b2f5624a3a9
create the parameter file from the given options. The file is created with a random name in the current directory.
[ { "docid": "6d1e3298275403cf6b8ab7fffbd8dc6d", "score": "0.69047517", "text": "protected File createParamFile() throws BuildException {\n File file = createTmpFile();\n log(\"Creating parameter file: \" + file, Project.MSG_VERBOSE);\n\n StringWriter sw = new StringWriter();\n ...
[ { "docid": "26841a8ef88b2b0219f364dd12b686f1", "score": "0.5996794", "text": "public void generateFile(String[] args) throws IOException {\n short val;\n int filesize = Integer.parseInt(args[2]); // Size of file in blocks\n DataOutputStream file = new DataOutputStream(new BufferedOu...
9cb1ee4a829aee1c67e917b111f73f65
repeated .gravity.v1.OutgoingLogicCall calls = 1;
[ { "docid": "25935b54ffb20ac74a960fda1906872b", "score": "0.0", "text": "public Builder addCalls(\n int index, gravity.v1.Batch.OutgoingLogicCall.Builder builderForValue) {\n if (callsBuilder_ == null) {\n ensureCallsIsMutable();\n calls_.add(index, builderForValue.build...
[ { "docid": "3f8e8809b4f46847ec3082c8ba6c8d04", "score": "0.7680282", "text": "gravity.v1.Batch.OutgoingLogicCall getCall();", "title": "" }, { "docid": "d290848ae1d133c6672872af8e49a010", "score": "0.69621176", "text": "gravity.v1.Batch.OutgoingLogicCallOrBuilder getCallOrBuilder();"...
c79f67ee211853317d7e5427b4fe222f
Guaranteed always present, or error
[ { "docid": "2e3547ada86eb7074b6d298ed4382c08", "score": "0.0", "text": "public int getReputation() {\n\t\treturn Integer.parseInt(Reputation);\n\t}", "title": "" } ]
[ { "docid": "16223d96056942c1d07ae762fc68c863", "score": "0.66496295", "text": "@Override\n\t\tpublic void checkPreconditions() {\n\t\t}", "title": "" }, { "docid": "5c27648800d31889138acf0cba5ef86a", "score": "0.6542362", "text": "@Override\r\n\tpublic boolean hasError() {\n\t\tretur...
7511e74e8be07bdca40fe23358207932
Describes the boss's moves since the beginning of the boss stage. The boss's movement and attacks are preset in 2000 act intervals.
[ { "docid": "58d4b966ccb9b6fe6c850395dcf0c028", "score": "0.5688481", "text": "private void moveSequence()\n {\n actCount ++;\n if (actCount <= 400)\n {\n setLocation(getX() + 1, getY());\n setImage(\"boss2.PNG\");\n if (actCount == 50)\n ...
[ { "docid": "31dee51e4e6c920da9ea5cf8efd3297c", "score": "0.56187594", "text": "@Override\r\n\tpublic int stateBegin(String statename) {\n\t\tfloat max = 40;\r\n\t\tfloat accell = 10;\r\n\t\t\r\n\t\tif(statename == \"jump\"){\r\n\t\t\tif(!in_air && !air_attempt)\r\n\t\t\t\towner.main.applyLinearImpulse(n...
5c93f73b1fbabcb91b8894fec080d4eb
Get current read index This means that next flux will be computed and added as some BUMP_HEIGHT at currentReadIndex
[ { "docid": "f568dbe3abbc87df293ef6087ff6db03", "score": "0.76872075", "text": "public int getCurrentReadIndex() {\n synchronized (this) {\n return this.currentReadIndex;\n }\n }", "title": "" } ]
[ { "docid": "67747d2bfeba0ab84627784080acf285", "score": "0.66037846", "text": "private long readIndex() {\n return mPreferences.getLong(NEXT_TRIGGER_ID_KEY, 0);\n }", "title": "" }, { "docid": "45b352ed18ae5bf16066fc74a142fa84", "score": "0.6238578", "text": "public Integer get...
585dc7deba294efc2205b38fc09e3e12
Appends and returns a new empty "citation" element
[ { "docid": "15a86b6c97a2489b6e7e826e466c1fde", "score": "0.6620331", "text": "org.isotc211.x2005.gmd.CICitationPropertyType addNewCitation();", "title": "" } ]
[ { "docid": "85b7a954b02ebe261a29482a9ca30af2", "score": "0.58108366", "text": "public XMLConsumer appendCDATA(String text)\n\t\t{\n\t\thandler.handleCDATA(text, tagStack.size());\n\t\treturn (this);\n\t\t}", "title": "" }, { "docid": "80f35c882ba0be3b14e2e11588a49cd8", "score": "0.569325...
8f7465ae4556cffe4c85e13c49c72e35
Returns true if the cookie detect is set, cookie support values to determine if cookie should be rewritten or set.
[ { "docid": "099dddc9159b6c0948c56a6c708ca2ca", "score": "0.67515457", "text": "public boolean setCookieVal(String clientType, String value) {\n String cookieSupport = getCookieSupport(clientType);\n boolean cookieDetect = getCookieDetect(cookieSupport);\n \n boolean cooki...
[ { "docid": "48a4f2579a239799f38a165766a81480", "score": "0.746491", "text": "public boolean isCookieSet(HttpServletRequest req) {\n boolean cookieSet = false;\n String cookieSupport = getCookieSupport(getClientType(req));\n boolean cookieDetect = getCookieDetect(cookieSupport);\n...
d5351241289014c939e8fed89fc327b3
Helpermethod to get the selected object
[ { "docid": "d860d49cf509b05fe20fb8cebebe41b6", "score": "0.6942137", "text": "protected SystemGObject getSelectedObject(EventCode e) {\n\t\tint id = RubyHelper.toInt(e.getParameters().get(0));\n\n\t\tswitch (e.getId()) {\n\t\tcase 126:\n\t\t\treturn RGSS1Helper.get(e.getYecl().getProject(), Type.ITEM).g...
[ { "docid": "4213c4bde5531974b743b4fb0bf007d7", "score": "0.82277423", "text": "public T getSelectedObject() {\r\n\t\treturn selectedObject;\r\n\t}", "title": "" }, { "docid": "f886c9352ef79fc1840d889b1d435f2d", "score": "0.8223853", "text": "public T getSelectedObject()\n\t{\n\t\tint...
3c62ac5e8856ac8cbf12e87a9a4821c8
Threshold on the ICP error used to trigger the partial time freeze which consists in slowing down time.
[ { "docid": "acb390a7eaa3fab6624493458013b75e", "score": "0.6139067", "text": "double getMaxAllowedErrorWithoutPartialTimeFreeze();", "title": "" } ]
[ { "docid": "89d32fcad437bc276e6437920d85601f", "score": "0.6148615", "text": "@Test(priority=13)\n\tpublic void validateStopLossMustBeLessThanMinEntryRangeErrorMsg() throws InterruptedException\n\t{\n\t\tdouble cmp=c.getCmpValue();\n\t\tdouble minRange=cmp - ((cmp+3.0-cmp)/4)+0.5;\n\t\tc.getStopLossMust...
205ac64c18e6bdff2bea93a5d397f407
If the RECEIVE_SMS permission is denied then notify the user or send user to app settings if permanent denial
[ { "docid": "719d2515472d8382177ce8ee3506817d", "score": "0.7699081", "text": "@Override\n public void onPermissionDenied(PermissionDeniedResponse response) {\n if(response.getPermissionName().equals(Manifest.permission.RECEIVE_SMS)) {\n\n if (response.isPermanentlyDenied()) {\n ...
[ { "docid": "8cfea2f82250df0aed1878def02dbbec", "score": "0.72883564", "text": "public void check_SMS_permissions() {\n if (ContextCompat.checkSelfPermission((Context) Objects.requireNonNull(getActivity()), \"android.permission.SEND_SMS\") != 0) {\n if (shouldShowRequestPermissionRation...
2818e8466cde3148091064f5f58be25a
main method mostly layout
[ { "docid": "a4993efc5e25852f21ff21bcae8bd82a", "score": "0.0", "text": "public static void main(String[] args) {\n // TODO code application logic here\n\n System.out.print(\"wat is her kortings aantal (1..9)? \");\n kortingsaantal = read(1, 9, stdin.nextInt());\n System.out.p...
[ { "docid": "d8a51aafa8a193bbe0229d870e42e7fa", "score": "0.6721153", "text": "public static void main(String[] args) {\n\r\n\t\tnew LayoutEx2();\r\n\t}", "title": "" }, { "docid": "04d24d34115e35067f44ae4996a26724", "score": "0.6705468", "text": "public static void main(String[] args...
b4e589965430b8a313881987037d9e28
Test of getGridX method, of class com.sun.electric.database.geometry.EPoint.
[ { "docid": "52997f5e239c9ca1382cdc3918f73a69", "score": "0.73751825", "text": "@Test\n public void testGetGridX() {\n System.out.println(\"getGridX\");\n assertEquals(10L, p0.getGridX());\n }", "title": "" } ]
[ { "docid": "c0f723902f20def130874fe786b06e00", "score": "0.78236777", "text": "public int getGridX();", "title": "" }, { "docid": "bb3cdc2322e1e626319d3c197a160f1b", "score": "0.7430026", "text": "protected abstract int getGridSizeX();", "title": "" }, { "docid": "b83a90f...
6564e9609e20299bc0155911184c4472
Set the height value
[ { "docid": "536356ab7b1f557fcb55471a8d94dcd9", "score": "0.8173369", "text": "public void setHeight(int height) {\r\n this.size.setY(height);\r\n }", "title": "" } ]
[ { "docid": "c6c9058afe0e4eeb4703366113ab1956", "score": "0.9104129", "text": "public void setHeight(double height);", "title": "" }, { "docid": "b0e00938d19506add808abb773989553", "score": "0.89236796", "text": "public void setHeight(int value) {\r\n this.height = value;\r\n ...
81db65de92483fea630c1827cf3f4cad
Check user already logged in your application using twitter Login flag is fetched from Shared Preferences
[ { "docid": "4c2ee3d538744d42522721d12d31f0e0", "score": "0.7776522", "text": "private boolean isUserLoggedIn() {\r\n // return twitter login status from Shared Preferences\r\n return mSharedPreferences.getBoolean(PREF_KEY_TWITTER_LOGIN, false);\r\n }", "title": "" } ]
[ { "docid": "2830f783328915a82eec20c900f07f43", "score": "0.80335414", "text": "private boolean isTwitterLoggedInAlready() {\n // return twitter login status from Shared Preferences\n return mSharedPreferences.getBoolean(PREF_KEY_TWITTER_LOGIN, false);\n }", "title": "" }, { ...
7d26061b063722a1656a514f6ec545ce
End displayHighScores() Retrieve values in high score file, or use defaults if file cant be read.
[ { "docid": "eda1f540d9f13e869e65b4a5d8b6f619", "score": "0.6084449", "text": "public List<HighScore> getOriginalHighScores(File file) {\r\n\r\n List<HighScore> newList = getDefaultHighScores( );\r\n try {\r\n List<HighScore> readList = HighScoreFile.readHighScoresFromFile(file)...
[ { "docid": "bdce0e4a969af29e19aeef29c91ac9fb", "score": "0.7271771", "text": "public void readHighScores()\n\t{\n\t\thighScores = new int[5];\n\t\thighScoreNames = new String[5];\n\n\t\ttry\n\t\t{\n\t\t\tBufferedReader inFile = new BufferedReader(new FileReader(HIGH_SCORE_FILE_NAME));\n\n\t\t\tint i = 0...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "29dd4b8caf6920c447cab696ba268520", "score": "0.0", "text": "@Override\r\n\t\tprotected Integer doInBackground(Void... params)\r\n\t\t{\n\t\t\tint ErrorCode=0;\r\n\t\t\tif(checkNetwork.checkNetworkConnection(getActivity()))\r\n\t\t\t{\r\n\t\t\t\tgetFriendsDetailList =servicemethod.getFriendDe...
[ { "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}"...
5b697008b8b6cf252749e554218ff935
Creates a new GPS location with the specified longitude, latitude, and accuracy. Timestamp will be set to the current System's timestamp.
[ { "docid": "c19dbfc221d37e36fb1c4697b1f5b3b9", "score": "0.78441817", "text": "public GeoLocation(double longitude, double latitude, float accuracy){\n \t\tsetLocation(longitude, latitude, accuracy);\n \t\tthis.timestamp = (int)(System.currentTimeMillis() / 1000);\n \t}", "title": "" } ]
[ { "docid": "51c80580762ca314cb5e7f63b1e37bc2", "score": "0.78102624", "text": "public GeoLocation(double longitude, double latitude, float accuracy, int timestamp){\n \t\tsetLocation(longitude, latitude, accuracy);\n \t\tthis.timestamp = timestamp;\n \t}", "title": "" }, { "docid": "6e26fb96...
cfd5cd90526bb91c9bf9c8b7f9606661
Use this factory method to create a new instance of this fragment using the provided parameters.
[ { "docid": "be98761ab4e14adc8b9ebbffa462133e", "score": "0.0", "text": "public static AllTasksFragment newInstance(String param1, String param2) {\n AllTasksFragment fragment = new AllTasksFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args....
[ { "docid": "d74f60acb12fca3ba93dd0afd98d41c7", "score": "0.6983564", "text": "public static OverviewFragment newInstance() {\n OverviewFragment fragment = new OverviewFragment();\n\n /* below is just an example how to set arguments for the fragment, which could be passed in through argume...
e20fb5a3f6db22a90da3c4196d501eec
Retrieves the current color of the icon. This is the same as the color of the underlying color chooser, except when the user is making a selection.
[ { "docid": "51c3897e213c0841be1e351fe1e51a7b", "score": "0.83727014", "text": "public Color getColor()\n {\n return icon.getIconColor();\n }", "title": "" } ]
[ { "docid": "4a5f9a273bf752fd802f8c00a45aab58", "score": "0.70292115", "text": "public Color getCurrentColor() {\n return currentColor;\n }", "title": "" }, { "docid": "0874bf2bb5b90f916548f725faa1472a", "score": "0.6936928", "text": "Color getCurrentColor();", "title": ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "81174b4c0030fa19b572aef4fbca9dbd", "score": "0.0", "text": "public HasClickHandlers getSaveButton() {\n\t\treturn btnSave;\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...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8f8585150719316ea3ae46d707a97da2", "score": "0.0", "text": "@Override\r\n\tpublic synchronized void start() {\n\t\tsuper.start();\r\n\t\tint rndZahl = rnd.nextInt(n);\r\n\t\tSystem.out.println(\"QuadratWurzel: \" + Math.sqrt(rndZahl));\r\n\t\t\r\n\t\ttry {\r\n\t\t\tThread.sleep(waitTime);\r\...
[ { "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": "" ...
f2613259b6455e726b585f2db7d5854b
Set the name of the element
[ { "docid": "9a9c7ab2589bb944654485e32bfe56af", "score": "0.0", "text": "public void setName(String name)\n\t{\n\t\tthis.name = name;\n\t}", "title": "" } ]
[ { "docid": "b33a035c2b2a25a0f9e1541db72c9688", "score": "0.8663409", "text": "public void elementName(String name) {\n currentName = name;\n }", "title": "" }, { "docid": "915371f7ef6274a626fac82a692d663f", "score": "0.7969094", "text": "public void setName(String name) {\n\t\tth...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a0fb953bdfae3adc1a3829b7db07a2f8", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t\tScanner sc =new Scanner(System.in);\n\t\tSystem.out.println(\"Stake Your bet..\");\n\t\tint stake=sc.nextInt();\n\t\tSystem.out.println(\"Goal to Reach...\");\n\t\tint goal=sc.nextInt(...
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037216", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.68683225", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n...
ca2bcbdc92223a13960dbbcee0e3ed03
Autocompletes incomplete query terms based on input text and matching terms in the index.
[ { "docid": "cd89974a6f6d925557f5d5a3a12df1f8", "score": "0.0", "text": "@ServiceMethod(returns = ReturnType.SINGLE)\n public Mono<SimpleResponse<AutocompleteResult>> autocompletePostWithRestResponseAsync(AutocompleteRequest autocompleteRequest, Context context) {\n\t\tfinal String accept = \"applicat...
[ { "docid": "9cc3d41f71fcc31f44e29a80bd1378cc", "score": "0.6257483", "text": "private void autoComplete()\n\t{\n\t\tif ( can_be_empty ) return;\n\t\t\n\t\t// check for exact matches\n\t\tif ( options.contains(getText()) ) return;\n\n\t\t// complte partly matches\n\t\tfor ( String option : options )\n\t\...
81794f8ef00fc95ee29ea58acf937351
Tests the children method.
[ { "docid": "8cc99586a0d6928d8d10f24e45550eca", "score": "0.6758162", "text": "@Test\n\tpublic void testChildren() {\n\t\tassertTrue(a.children() instanceof Iterator<?>);\n\t\t\n\t\tIterator<Tree<String>> iter = a.children();\n\t\t\n\t\tassertTrue(iter.hasNext());\n\t\tassertTrue(iter.next() == b);\n\t\t...
[ { "docid": "7193eea08c62aac9ba8f996256c213a6", "score": "0.7600269", "text": "@Test\n\tpublic void testChild() {\n\t\tassertTrue(a.child(1) == c);\n\t\tassertTrue(a.child(0) == b);\n\t}", "title": "" }, { "docid": "d9befe8df595456882dbd6b4040137cf", "score": "0.71364725", "text": "@T...
372e6b2dfce87fe7144a0ca907ecf6f5
Sets the fields from the web interface needed for constructing the SPARQL query.
[ { "docid": "9401f4986f5691ebf3fa529757aeb1fb", "score": "0.50274605", "text": "public SimpleSearch(Map<String, String> fields)\n {\n this();\n this.fields = fields;\n this.recreateQueries = true;\n }", "title": "" } ]
[ { "docid": "6843d252cb0a2bae55536271a7ddd045", "score": "0.59568125", "text": "protected void setFields() {}", "title": "" }, { "docid": "cadcffc163e17d1f7f88b8cda3bf856d", "score": "0.5819676", "text": "public void setQuery (Query query)\n {\n this.query = query;\n }", ...
1ca7447615673ed67532b0133b16a5ac
This method explicitly waits till the attribute value = expectedValue on the given element. It waits maximum for the given timeoutInSeconds.
[ { "docid": "86d9fc4f3bf329723fadc7d429978e83", "score": "0.7889648", "text": "protected void addExplicitWaitForAttributeValue(WebElement element, String attribute, String expectedValue, int timeoutInSeconds){\n\t\t\n\t\tdelay(100);\n\n\t\tWebDriverWait wait = new WebDriverWait(driver,timeoutInSeconds,25...
[ { "docid": "d6a501d9600aba9c4398014895c5945b", "score": "0.7276721", "text": "protected void addExplicitWaitForTextValue(WebElement element, String expectedTextValue, int timeoutInSeconds){\n\t\t\n\t\tdelay(100);\n\n\t\tWebDriverWait wait = new WebDriverWait(driver,timeoutInSeconds,250L);\n\n\t\twait.un...
0c508d32210860a4dda85b7cbea5c634
/ renamed from: y
[ { "docid": "656943ba2ca1189ae972585efe1cf371", "score": "0.0", "text": "private C3579d m11680y() throws FileNotFoundException {\n return C6589n.m21609a((C3585t) new C3508b(this.f9735a.mo33759e(this.f9737c)));\n }", "title": "" } ]
[ { "docid": "d43124855730b9cb3d1f9a239b049f4e", "score": "0.68023056", "text": "@Override\n\tpublic void Y() {\n\t}", "title": "" }, { "docid": "a2aebe3cb79663836211d2dde7869e30", "score": "0.6413759", "text": "public boolean y()\r\n/* 503: */ {\r\n/* 504:472 */ return this.O...
09d8196445c6169bffc773ae9b080af5
Appends character c to the internal buffer and increases the size of the buffer if necessary.
[ { "docid": "bb2b94c00d65bf5431cb09757700b276", "score": "0.87050027", "text": "public void append(char c) {\n if (_size >= _buf.length) {\n grow();\n }\n _buf[_size++] = c;\n\n _cleared = false;\n }", "title": "" } ]
[ { "docid": "71a5879ed0744516409cabe567494183", "score": "0.86879313", "text": "private synchronized void appendToBuffer(char c)\n\t{\n\t\tbuffer.append(c);\n\t}", "title": "" }, { "docid": "61c518bb0dcff00cd4fc562d1fa2d33a", "score": "0.8159277", "text": "private void addToBuffer(cha...
876677b0194eb27b3b53f83e68c9f305
When you update a template, take note of the following items: If you specify TemplateBody or TemplateURL, the existing version number is automatically incremented by 1 after the template is updated. For example, the version is changed from v1 to v2. If you do not specify TemplateBody or TemplateURL, the version number ...
[ { "docid": "cfd54e13fa2e2367dbca61dbf2093211", "score": "0.5990036", "text": "public UpdateTemplateResponse updateTemplateWithOptions(UpdateTemplateRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {\n com.aliyun.teautil.Common.validateModel(request);\n ja...
[ { "docid": "428337407a1e6aa400dd7160848543cf", "score": "0.69113255", "text": "public UpdateTemplateResponse updateTemplate(UpdateTemplateRequest request) throws Exception {\n com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();\n return this.u...
bca5735a8029c84cbbcce69537ee54fb
Get the client who placed this order
[ { "docid": "a212463d0f01a90419aa99513be1160f", "score": "0.6090835", "text": "public Client getClient() {\r\n return this.client;\r\n }", "title": "" } ]
[ { "docid": "e87a8564f0736179573b319e2c4dd2f2", "score": "0.7060322", "text": "public Person getClient() {\r\n\r\n return people.get(CLIENT_ID);\r\n\r\n }", "title": "" }, { "docid": "6ac06a053fa51a1bddcd7857231ca6ac", "score": "0.6549211", "text": "public ClientAccount getC...
0231ee431b5f2194039bb0561ec828a1
For the builder. / package
[ { "docid": "24d87daae6f65c350c1b3e3443474340", "score": "0.0", "text": "InflationLegConvention() {\n super();\n }", "title": "" } ]
[ { "docid": "5100fcf38852c2c5e34ec0e0758700d6", "score": "0.7193346", "text": "private void _build() {\r\n }", "title": "" }, { "docid": "e863013e049a0697522c11d9e5781ff0", "score": "0.70113105", "text": "private Builder() {\n\t\t}", "title": "" }, { "docid": "e863013e0...
b64b8f714dd1305904a43851a82126cd
Helper method to avoid StringTokenizer using.
[ { "docid": "1f388bb38e9e0e656a1afa0f862bac88", "score": "0.0", "text": "private static String[] fracture(String str, String sep) {\n if (str.length() == 0) {\n return new String[0];\n }\n ArrayList<String> res = new ArrayList<String>();\n int in = 0;\n int c...
[ { "docid": "567bf5f274a357e395cfad3c2e693bb8", "score": "0.6124687", "text": "private static String getToken(MyStreamTokenizer parms)\n throws MyIOException, MyParseException\n {\n String result = parms.getToken();\n if (result == null)return null;\n if (result.equals(\"\\\\\"))throw new MyParseExcep...
c38db7a763208e4c252da17219c51c46
/ This method is used to notify subscriber about all the new topics or the new articles which came up while the subscriber was offline.
[ { "docid": "0615de9e200312750a9686610639076a", "score": "0.0", "text": "private void notifySubscribers(PrintStream out,BufferedReader br, Subscriber s) throws IOException{\n\t\t\n\t\tString str;\n\n\t\tif(!(s==null)){\n\t\t\tEvent e=null;\n\t\t\tTopic tc=null;\n\t\t\tString user_ans;\n\t\t\tList<Object>...
[ { "docid": "44056603dce4170ca15fc8154371040c", "score": "0.60497695", "text": "@Override\n public void onRefresh() {\n downloadAnnouncements();\n }", "title": "" }, { "docid": "59a7114b9bbfabdf73b36ef012a7c905", "score": "0.5964614", "text": "@Sch...
ec5843798274717facd20f9061dafd5b
put_. Save this Object
[ { "docid": "6da51014eb82195a5c8a27c600917ddb", "score": "0.0", "text": "public wbemdisp.ISWbemObjectPath put_ (\r\n int iFlags,\r\n Object objWbemNamedValueSet) throws java.io.IOException, com.linar.jintegra.AutomationException{\r\n wbemdisp.ISWbemObjectPath zz_retVal[] = {...
[ { "docid": "de68a2c09fee09734de5bd7669389167", "score": "0.7077526", "text": "@Override\r\n\tpublic void save(Kaoshi obj) {\n\t\tkd.save(obj);\r\n\t}", "title": "" }, { "docid": "202c0a87cb1d88d6655b4ec7f907659d", "score": "0.70313275", "text": "@Override\r\n\tpublic void save() {\n\...
744e39f10f9d05a810c7eeb4a4e91c80
sets the PIM instance to this class
[ { "docid": "57071abaa4df37235fb78f004cf5f139", "score": "0.6562119", "text": "public void setPimInstance(PIM pimInstance) {\r\n\t\tthis.pimInstance = pimInstance;\r\n\t}", "title": "" } ]
[ { "docid": "ce239dd953d273b77cb5b455f669a123", "score": "0.71303785", "text": "public PimUtility() {\r\n\t\tthis.pimInstance = PIM.getInstance();\r\n\t}", "title": "" }, { "docid": "ae6871234aa65d77fecc72dda95465fa", "score": "0.63906085", "text": "public PIM getPimInstance() {\r\n\t...
04faad3cb47d8499dc410cd61103d5a1
dex class visit methods begin
[ { "docid": "953b697e367170aea04809c32b1807c0", "score": "0.6112243", "text": "@Override\n public void visitClassAnnotation(DexAnnotationNode dan) {\n\n }", "title": "" } ]
[ { "docid": "a3be6927389f559e9be9345c0305e89d", "score": "0.68858933", "text": "public void visit() {\n\t\t\n\t}", "title": "" }, { "docid": "c18e46c2a9966c99e280320473f517b3", "score": "0.6588881", "text": "void complete(ClassVisitor classVisitor, Implementation.Context.ExtractableVi...
77ed55f544daea92a23fdecc00e29b2e
equals compares the arrays in two objects to determine if they are equal (the code for equals in this class is the same as in ALI and QI) (Except for the type StackInterface)
[ { "docid": "3b402e47bb7df324adb4c686bb9f15cf", "score": "0.8056116", "text": "@Override\r\n public boolean equals(Object obj){\r\n if(obj == null || !(obj instanceof StackInterface)) return false;\r\n StackInterface that = (StackInterface) obj;\r\n if(Arrays.equals(array, that.ar...
[ { "docid": "c7f3dc921e34fb094bb684b0061c3643", "score": "0.7486769", "text": "public boolean equals(Object o) {\n if (!(o instanceof ArrayStack) || o==null) return false;\n ArrayStack other = (ArrayStack) o;\n if (n != other.n) return false;\n for (int i=0; i<n; i++) {\n ...
131e920ff9682d48ef32ea4fb301bbff
fill_forms() Saves the data from the widgets into our database. preconditions: Everything has been checked and is ready to go.
[ { "docid": "31d123e6b04612f7ba9b079ff900425b", "score": "0.0", "text": "private void save_data() {\n\n\t\tSQLiteDatabase db = null;\n\n\t\ttry {\n\t\t\tdb = WGlobals.g_db_helper.getWritableDatabase();\n\n\t\t\t// First, remove the current row.\n\t\t\tif (db.delete(DatabaseHelper.EXERCISE_TABLE_NAME,\n\t...
[ { "docid": "c4e6eca02482e349b5a605ed8ce28552", "score": "0.6244627", "text": "private void fillFields() {\n if (this.selectedEntry != null) {\n this.titleTextField.setText(this.selectedEntry.getTitle());\n this.usernameTextField.setText(this.selectedEntry.getUsername());\n ...
088188ff9846e11b5228c7061f7ed8bf
optional string created_at = 3;
[ { "docid": "25dbe0219927b06e00abf0bad5acd86d", "score": "0.0", "text": "public java.lang.String getCreatedAt() {\n java.lang.Object ref = createdAt_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) r...
[ { "docid": "6fe9b42d9630f1f17687132d6f0abbcf", "score": "0.7582818", "text": "long createdAt();", "title": "" }, { "docid": "cc7c90612c3d8da99fb2a712fc3e3355", "score": "0.73600227", "text": "Date getCreatedAt();", "title": "" }, { "docid": "cc917c985f876ee16d668a17d5c8e1...
c6057ff5d57468b6b56a49be60f47ecb
Reads the access token from the manifest.
[ { "docid": "1dfd9f2d73911aca9aa07dc76ef5f5ce", "score": "0.5884835", "text": "public final void retrieveAccessToken(final Context aContext)\r\n {\r\n // Retrieve the MapId from the Manifest\r\n accessToken = ManifestUtil.retrieveKey(aContext, ACCESS_TOKEN);\r\n }", "title": "" ...
[ { "docid": "619d26e0e86cb195524582b9341728f3", "score": "0.60198736", "text": "public String getToken() {\n return access_token;\n }", "title": "" }, { "docid": "c81e70864064da64b934793c1339213b", "score": "0.6018999", "text": "public void loadAccessToken() {\r\n\t\t\r\n ...
5af6527517584aeca1b28440e5b671b3
devide the Text into multiple textlines which get drawn speratly
[ { "docid": "e7c9b3452f4e4b8f60d52b2771126afc", "score": "0.5550874", "text": "private void initText(String message, Main game){\n\t\tthis.message = message;\n\t\tclearTexts();\n\t\tGlyphLayout layout = new GlyphLayout();\n\t\tlayout.setText(font, message);\n\t\tint height = (int) layout.height;\n\t\tint...
[ { "docid": "940d6ad2207925d14a90d527874de8fb", "score": "0.67628914", "text": "private void drawStrings() {\n\t\t\n\t\tint x1 = (canvas.getWidth()/2 - KAREL_SIZE/2) + KAREL_SIZE/2;\n\t\tlineMiddle = getLine(x1);\n\t\t\n\t\tx1 = getX1((PARACHUTE_WIDTH/2) * (-1));\n\t\tlineLeft_1 = getLine(x1);\n\t\t\n\t\...
480d3a111b8fa0a7db7a94c09d3aa61d
[abc] > a, > b, > c
[ { "docid": "234f3ba64a89ce2bd4ad9b1487e7a2dc", "score": "0.0", "text": "public static List<Set<FSMState>> orFSMs(String line, Set<FSMState> initStates, Interpret owner) {\n\t\t// for each character in the line\n\t\t// we need to find out if any of the initStates contain reference to it\n\t\t// if so tha...
[ { "docid": "28f0ac1c24b2ae4dac102d29721e5d4b", "score": "0.5016386", "text": "@Test public void testCatListAndSingleAttribute() throws Exception {\n org.stringtemplate.v4.ST e = new org.stringtemplate.v4.ST(\n \"<[mine,yours]; separator=\\\", \\\">\"\n );\n e.add(...
d497b65e25adef34b49fc43e8ed1caac
Util to get a random name
[ { "docid": "d3f993bb40bcd6c762b3cf5e3741dc0e", "score": "0.84996545", "text": "public static String getRandomName()\n {\n // Take the current time in milliseconds, should be unique...!\n return String.valueOf(Calendar.getInstance().getTimeInMillis());\n }", "title": "" } ]
[ { "docid": "da3121066f8b984afc03d7c8281e6da8", "score": "0.8535568", "text": "public String getRandomName()\n {\n Random rand = new Random();\n return names.get(rand.nextInt(names.size()));\n }", "title": "" }, { "docid": "5f343f4ad9dede2fe9e5694bbaeb71a5", "score": "...
eb63ca96e815766140411587e522d3c9
Get the constraints. If no constraints are set, all parameter combinations are executed. If constraints are set, a parameter combination is only executed if at least one constraint allows the combination, otherwise the combination is skipped.
[ { "docid": "f9e71796ff2a7f7a2c56e7fdd566064b", "score": "0.6645374", "text": "public Set<Constraint> getConstraints()\n\t{\n\t\treturn constraints;\n\t}", "title": "" } ]
[ { "docid": "c658d8b46075347c1dd0b1113f31574c", "score": "0.7039672", "text": "public Set<Condition> getConstraints() {\n return constraints;\n }", "title": "" }, { "docid": "9bd0d84aad043dfcd9e843817028c340", "score": "0.6434287", "text": "public List<ConstraintEvaluator> c...
4e2880452a3a9cd67e5621effe0b78f4
The function create Banach Curve fractal on size n.
[ { "docid": "16e8f23918c636b1d16383d952188614", "score": "0.7838693", "text": "public static void banachCurve(int n) {\n StdDraw.setCanvasSize(700, 700);\n StdDraw.setXscale();\n StdDraw.setYscale();\n StdDraw.setPenColor(StdDraw.BLUE);\n banachCurve(0.5, 0.5, 1.0 / 3.0...
[ { "docid": "f9a36f4a41c696f9d74e21189b270d6d", "score": "0.7179601", "text": "private static void banachCurve(double x, double y, double r, int n) {\n double pi = Math.PI;\n double towPi = pi * 2;\n // Create colorful circles, randomize the pen color.\n int red = (int) (Math....
2e6d8f2e39cb0b416f5c6ac280116af5
$ANTLR end "rule__XForLoopExpression__Group__5" $ANTLR start "rule__XForLoopExpression__Group__5__Impl" ../org.xtext.httprouting.ui/srcgen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:11864:1: rule__XForLoopExpression__Group__5__Impl : ( ( rule__XForLoopExpression__ForExpressionAssignment_5 ) )...
[ { "docid": "97b36044440db54c3cceae55241cc806", "score": "0.79786336", "text": "public final void rule__XForLoopExpression__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/x...
[ { "docid": "986000ab337de667cd7ada73e666eb36", "score": "0.82282466", "text": "public final void rule__XForLoopExpression__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/h...
f5603c19524915109c612496bc9fc770
User Put API CALL
[ { "docid": "442fe7f659519bdbe2b0779ec36d1b93", "score": "0.6366181", "text": "@Override\n\tpublic DefaultRes<User> put(final String pathvariable, final User user) {\n\t\tfinal String uri = SERVERURI + DOMAIN + \"/\" + pathvariable;\n\t\tResponseEntity<DefaultRes<User>> responseEntity = RestTemplateHelpe...
[ { "docid": "e12b53e8fc367e2e400027b5af57791f", "score": "0.65080005", "text": "public ResponseData addUser(User user);", "title": "" }, { "docid": "6f5051e8d7ceb877ca6e1f44b7146b43", "score": "0.6459567", "text": "int updateUser(User user);", "title": "" }, { "docid": "86...
8b6e9069fd4bfe73630b8569b96603d2
/ program to test above function
[ { "docid": "de5337875ef9f3e30c8ce92c2b81eb5d", "score": "0.0", "text": "public static void main(String args[]) {\n\t\tint[] inputArray = { 1, 2, 3, 4, 5, 6, 8, 9};\n\t\tint miss = getMissingNo(inputArray);\n\t\tSystem.out.println(miss);\n\t}", "title": "" } ]
[ { "docid": "267525a8240e720e8d91796596b7ff63", "score": "0.68959796", "text": "private void passTest3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "58c448e086f121d7770a8885dcf42817", "score": "0.6748954", "text": "private void passTest1() {\n\t\t\r\n\t}", "title": "" }, { ...
711fde9e5d774e2bb6c85036950914f3
Returns the direction of this light in degrees The angle is measured from the right horizontal, as normal. If the light does not have a direction, this value is 0.
[ { "docid": "326acf17312dc64405bc3d0a82b88e27", "score": "0.7060446", "text": "public float getDirection();", "title": "" } ]
[ { "docid": "a769b4767aae2662e95f452bd984c268", "score": "0.7758642", "text": "public double direction(){\n return Math.atan2(this.y, this.x);\n }", "title": "" }, { "docid": "7de8dfe507ed9d6f14ae6bab44156545", "score": "0.71369326", "text": "public float getDirection()\r\n ...
7a1dd172752ba3b9d4fbd1f8d9a7cc32
Tests the third fourth of the input data
[ { "docid": "8762096270b80f342e9da50617ab625a", "score": "0.0", "text": "public void run() {\n\t\t\t\tsolveTestingData(testingData, k, 22,(numberOfImagesToTest*22)/24,(numberOfImagesToTest*23)/24);\n\t\t\t}", "title": "" } ]
[ { "docid": "535eae139c48550de50597f31b031a3f", "score": "0.6656886", "text": "private void checkDivisibleByThree() {\n\t}", "title": "" }, { "docid": "e5bc0d3b543344fecb5c9ddce2be1306", "score": "0.6505911", "text": "private boolean check3()\n {\n if((Integer.parseInt(input...
b368a31f9812f448bd62cc66b687e432
Logout user from service
[ { "docid": "dd406b464ff93694f4429d1682bb3c4b", "score": "0.7755321", "text": "void logout(SecurityTokenId tokenId);", "title": "" } ]
[ { "docid": "a9b649b59957acb31f979d27ba95c00a", "score": "0.80258614", "text": "void logout(User userToLogout);", "title": "" }, { "docid": "112b3dc8d735ae2166c463a954ba6a98", "score": "0.8022852", "text": "public void Logout() {\n _session.logoutUser();\n }", "title": "...
7de0271c672be4b389e13fe087d6ac3d
Creates new form Partido
[ { "docid": "f0b05310b02d6e4277f713b683b125e5", "score": "0.56033766", "text": "public Partido(java.awt.Frame parent, boolean modal) {\n super(parent, modal);\n initComponents();\n f = new Funciones();\n\n f.actualizarTabla(tblPartidos, f.getPartidos());\n txtLugar.setT...
[ { "docid": "8c3a8a9f8edc6283cc50def10816c454", "score": "0.6970313", "text": "@SuppressWarnings({\"rawtypes\", \"unchecked\"})\n @RequestMapping(value = \"/partida\", method = RequestMethod.POST)\n public ResponseEntity<Partida> create(@RequestBody Partida partida) {\n\n try {\n if (partida !=...
26baa5ff5e2e06ac67bb81963b91868e
Delete a single record
[ { "docid": "3d88df980efe0883cbf0916e579f2d13", "score": "0.0", "text": "public int deleteRecord(DataBundle bundle) {\n return deleteRecord(bundle.getID());\n }", "title": "" } ]
[ { "docid": "8aea8e1823421bde82e5c015be0b7c68", "score": "0.80591184", "text": "int deleteByPrimaryKey(BuryDO record);", "title": "" }, { "docid": "00ca225b3dd51cf8445a16e3a8717218", "score": "0.8055366", "text": "void deleteRecord(int recordId);", "title": "" }, { "docid"...
5408b94409c8b490ebc5e241e7dcd7e4
Retrieve a node, or create it if not present. If the node does not exist, it is created as the specified nodeType. Nonexistent parent nodes are created as type nt:unstructured.
[ { "docid": "8875033e71dfc6fbe21738cfc149dbe0", "score": "0.71120405", "text": "protected final Node getOrCreateNode(String absolutePath, String nodeType) throws RepositoryException {\n return getOrCreateNode(absolutePath, JcrConstants.NT_UNSTRUCTURED, nodeType);\n }", "title": "" } ]
[ { "docid": "f42073dca38669457304a3e9d05fa4f2", "score": "0.6714393", "text": "protected final Node getOrCreateNode(String absolutePath, String intermediateNodeType, String nodeType) throws RepositoryException {\n try {\n return session.getNode(absolutePath);\n } catch (PathNotFo...
2a91cf1555500baabc6f4b75e659e44a
Run the void setInvesterStockID(Long) method test.
[ { "docid": "8e84833c9a59d2b28bf45a1a1043d2ff", "score": "0.79131913", "text": "@Test\r\n public void testSetInvesterStockID_1() throws Exception {\r\n\tInvestorStock fixture = new InvestorStock();\r\n\tfixture.setCurrPrice(1.0);\r\n\tfixture.setStockPurchasePrice(1.0);\r\n\tfixture.setVarient(1.0);\r...
[ { "docid": "00d8bc24dd3d1b5b3cefab83bd2feb2c", "score": "0.7618439", "text": "@Test\r\n public void testSetStockID_1() throws Exception {\r\n\tInvestorStock fixture = new InvestorStock();\r\n\tfixture.setCurrPrice(1.0);\r\n\tfixture.setStockPurchasePrice(1.0);\r\n\tfixture.setVarient(1.0);\r\n\tfixtu...
a73623c9fd56d1e21cb7023c87e1713c
Sees if the projection error increases as the DOF decreases in the number of basis vectors.
[ { "docid": "1014a668889ff7d84ee2f5f80cf8445c", "score": "0.64691937", "text": "@Test void checkBasisError() {\n int M = 30;\n int N = 5;\n\n double[][] obs = new double[M][];\n\n PrincipalComponentAnalysis pca = new PrincipalComponentAnalysis();\n\n // add observations...
[ { "docid": "561902c0038b8c3130afa055eaa780d7", "score": "0.5292449", "text": "public void testConseil() {\n\t\tif (residuMoyenOrthoProjVertical == residuMoyenOrtho){\n\t\t\tconseil = \"Choisir la droite de projection verticale : y=f(x)=v1*x+v2\";\n\t\t\tf = fv;\n\t\t}\n\t\tif (residuMoyenOrthoProjHorizo...