query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
5ee72d12629ea8f282a527bcab509782
Given a binary tree and a sum, determine if the tree has a roottoleaf path such that adding up all the values along the path equals the given sum. key here is about the termination condition. terminal node needs to be a leaf. which doesn't have any child node, left or right.
[ { "docid": "075d19b6aa24403d626b3c252467feda", "score": "0.81906277", "text": "public boolean hasPathSum(TreeNode root, int sum) {\n // Start typing your Java solution below\n // DO NOT write main() function\n if(root == null){\n return false;\n } \n \n ...
[ { "docid": "f84cb05d5f683768b5cbb154b4cc194c", "score": "0.8208515", "text": "public boolean hasPathSum(TreeNode root, int sum) {\n if(root==null) return false;\n Queue<TreeNode> res=new LinkedList<TreeNode>();\n Queue<Integer> resum=new LinkedList<Integer>();\n res.add(root...
ace84cb7942c6008cc3619ce513d69a1
Format the given date time to "yyyyMMdd" format string.
[ { "docid": "3359f74a34c737c68446a22fa9c623f3", "score": "0.0", "text": "public static final String formatDate2ShortStr(Date date) {\n DateFormat s = getDateFormat(SHORT_FORMAT);\n return s.format(date);\n }", "title": "" } ]
[ { "docid": "c5448b56bfabc9818237d412748f24cd", "score": "0.6907108", "text": "public static String formatToDateDDMMYYYY(String date) {\n if (date == null || \"0\".equals(date)) {\n return \"\";\n }\n\n String[] h;\n h = new String[3];\n h[0] = date.substring...
9ff63425c1a87e12cdc921161874124b
required float P_SF1 = 62;
[ { "docid": "4020e5b49404bfa84626cf991dc65d66", "score": "0.0", "text": "public Builder clearPSF1() {\n bitField1_ = (bitField1_ & ~0x20000000);\n pSF1_ = 0F;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "01599fc1eab9c13013bd35161384f143", "score": "0.7238156", "text": "float getPSF1();", "title": "" }, { "docid": "b80d798c6da71b81bd4c099ebeced19e", "score": "0.7178394", "text": "void mo34432ak(float f);", "title": "" }, { "docid": "0ca9063e76b48451710a22a53738...
5c9cbbbe31015239ec7d8164c262f6af
Gets the value of the 'retransmittedBytesSent' field.
[ { "docid": "7e6e55cc318713a51cac99c0f61613d7", "score": "0.8015235", "text": "public java.lang.Long getRetransmittedBytesSent() {\n return retransmittedBytesSent;\n }", "title": "" } ]
[ { "docid": "a049fb05b8810a5069f8854b9b624281", "score": "0.7976991", "text": "public java.lang.Long getRetransmittedBytesSent() {\n return retransmittedBytesSent;\n }", "title": "" }, { "docid": "d3b51ca555bb9018049b5046c592301f", "score": "0.7559155", "text": "public long ge...
098c6b4b36ab3a1693c7e71e1f88350f
Returns input stream of given resource. This method at first find resource in current app dir. If it fails, it try to find resource from class path. If specified resource does not exists, null value will be returned.
[ { "docid": "237864acd4f4accd1cd9f552975d5856", "score": "0.5517103", "text": "public InputStream load(String path) throws FileNotFoundException {\n return resourceManager.load(base, path);\n }", "title": "" } ]
[ { "docid": "0fc826be50b4db229de2c6d35b0a5b0a", "score": "0.7188086", "text": "public static Optional<InputStream> getResourceAsStream(String resource) {\n try {\n return Optional.of((InputStream) new FileInputStream(resource));\n } catch (FileNotFoundException e) {\n ...
9669c65f85b4cbf64e02c245297480d5
Get public.pgp_sym_decrypt as a field.
[ { "docid": "d89beff95aa5c76900ce6fb1c8790f87", "score": "0.6301308", "text": "public static Field<String> pgpSymDecrypt1(\n Field<byte[]> __1\n , Field<String> __2\n ) {\n PgpSymDecrypt1 f = new PgpSymDecrypt1();\n f.set__1(__1);\n f.set__2(__2);\n\n return...
[ { "docid": "f5cb37611061c9cc24b43ca93ffd92f1", "score": "0.6477872", "text": "public static Field<String> pgpSymDecrypt2(\n byte[] __1\n , String __2\n , String __3\n ) {\n PgpSymDecrypt2 f = new PgpSymDecrypt2();\n f.set__1(__1);\n f.set__2(__2);\n ...
245f7f30ee06577a07e0fe29c61d0da0
Ask the user if they want to quit
[ { "docid": "90ee9da64208adcedc124bac81568585", "score": "0.0", "text": "@Override\n public void onClick(View view){\n new AlertDialog.Builder(ConfirmActivity.this)\n .setIcon(android.R.drawable.ic_dialog_alert)\n .setTitle(R.string....
[ { "docid": "78bc0c5cc7b2428939a77576e495965e", "score": "0.8164698", "text": "private void quit()\n\t{\n\t\t/**\n\t\t * This message is given out if the answer is goodbye.\n\t\t */\n\t\tappView.displayInformation(\"goodbye cruel user :'(\");\n\t\tSystem.exit(0);\n\t}", "title": "" }, { "doci...
d1cbc8eecf7673df813d706e42c8eb1d
unthread the right child O(1)
[ { "docid": "9d46b0e63b48e43bde4b72805e996ea5", "score": "0.6583177", "text": "void unthreadRight() {\n\t\t// only if not NIL and is right threaded proceed\n\t\tif(isNotNIL() && isRightThreaded()) // O(1)\n\t\t{\n\t\t\tright = nil;\t// O(1)\n\t\t\tisRightThreaded = false; // O(1)\n\t\t}\n\t}", "titl...
[ { "docid": "bf6e7f804cfebd07a0620ad08da7f0fc", "score": "0.6705241", "text": "void unthreadBoth() {\n\t\tunthreadLeft();\n\t\tunthreadRight();\n\t}", "title": "" }, { "docid": "2550406ca0b26ae946d3dcffa22af93e", "score": "0.61069083", "text": "void unthreadLeft() {\n\t\t// only if no...
809230b2c502b1db2aeb5fe01eeb6d42
Sets the value of this attribute.
[ { "docid": "89d01c70820b3e5f8402c0bf16b57fee", "score": "0.64594656", "text": "public void setValue(Object value) {\n try {\n attrHelper.setAttribute(attrName, value);\n } catch (NoSuchElementException e) {\n throw new AssertionError(\"Attribute \" + attrName + \" doe...
[ { "docid": "66c238b6d162b8fe1a6293000c85dc08", "score": "0.737803", "text": "public void setValue(AttributeValue value) {\n this.value = value;\n }", "title": "" }, { "docid": "16ccf0af1c4491bec38244cd384c28b5", "score": "0.70560056", "text": "public void setValue(final Str...
6ce7c8c31c98f189d428f45b2b18563f
DEBUG: cancella tabella eventi_avversi
[ { "docid": "666b50bd93225969204a98d5e93d2e99", "score": "0.65423435", "text": "public void dropEventiAvversiTable() throws SQLException {\n DbHelper.getConnection();\n Statement statement = DbHelper.getConnection().createStatement();\n statement.executeUpdate(QueryDebug.dropEventiAv...
[ { "docid": "a59a579c18c0e5940e38b1a9cab91bcd", "score": "0.65477073", "text": "@Override\n public void onClickVoltar(View v) {\n Evento evento = SuperApplication.getInstance().getSuperCache().getEvento();\n evento.setPasso1(null);\n super.onClickVoltar(v);\n }", "title": "...
83e20f1831d4833877000d4697b41a75
met deze methode kun je de voornaam aanpassen
[ { "docid": "29d9b370b1a3003de5828bf018db39c2", "score": "0.0", "text": "public void setVoornaam(String voornaam)\n {\n this.voornaam = voornaam;\n }", "title": "" } ]
[ { "docid": "24836dd83ff94f056e1fcc3c7d1bd342", "score": "0.7396694", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "title": "" }, { "docid": "b77eac7bccbd213b5d32d3e935c81ffe", "score": "0.72932297", "text": "@Override\n\tpublic void einkaufen() {\n\t}", "title": "" ...
975e67d44fa1dff88a95a019bbc9ed39
JOrderDialog dialog = new JOrderDialog(); dialog.setVisible(true);
[ { "docid": "d1760d5bc563d554c0d095b5b8b53a97", "score": "0.0", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "title": "" } ]
[ { "docid": "088054a24e4d9d20e24f72a0830a70ef", "score": "0.73908454", "text": "public void showDialog(){\n this.dialog.show();\n }", "title": "" }, { "docid": "dd6a1c2bd16d4e1a1d386550737a4be6", "score": "0.7330149", "text": "private void openDialog() {\n\t\tJDialog f = new...
3a63b1734d788b425be2818a9df31915
required string processId = 1;
[ { "docid": "4072a77ff31dadc5dd44f266eefd4ca0", "score": "0.68171126", "text": "java.lang.String getProcessId();", "title": "" } ]
[ { "docid": "7b173afef8afc714ef59ccc9e3a2dcd3", "score": "0.72251755", "text": "private String getProcess() {\n\t\treturn processId;\n\t}", "title": "" }, { "docid": "d013d8f6ec5d99eac4133b3cabade26e", "score": "0.69333655", "text": "String getProcessId();", "title": "" }, { ...
abb33f85d76f7e8736e63ece06e7d531
databinding method to get an XML representation of this object
[ { "docid": "4c88eb017c61bc5927834dbb1bc2e547", "score": "0.0", "text": "public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)\n throws org.apache.axis2.databinding.ADBException{\n\n\n \n java.util.ArrayList elementList = new java...
[ { "docid": "53d3312d2847712e70261f9e3cb67cc6", "score": "0.704846", "text": "public String toXML() {\n return toString();\n }", "title": "" }, { "docid": "312f6f55e2f837451bf3dd7044c0674b", "score": "0.6637836", "text": "public String toXML();", "title": "" }, { "doci...
dd9bba75dbd1f2d61d6d1a1c6237e3e6
`status: Not Mapped` coredatatypereference: BIAN::DataTypesLibrary::CoreDataTypes::ISO20022andUNCEFACT::Identifier generalinfo: Reference to the merchant primary party/owner
[ { "docid": "5e9db76c4b2198f31a5e648a3e2607bf", "score": "0.0", "text": "public String getCustomerReference() {\n return customerReference;\n }", "title": "" } ]
[ { "docid": "338624e2fbeb0c7371db462895b8ee85", "score": "0.5914557", "text": "PartyInfo getPartyInfo();", "title": "" }, { "docid": "3d3b145b641512029e5b4d96b68dcc48", "score": "0.5637352", "text": "public X837Ins_2320_DMG_OtherSubscriberDemographicInformation() {}", "title": "" ...
8a997c5287e06dd279f9c38cb2b7081a
Return the number of disjoint sets.
[ { "docid": "9f5bbe7e7381105cd186915f2971a8db", "score": "0.0", "text": "public int count() \n {\n return count;\n }", "title": "" } ]
[ { "docid": "b2edd49875033d2de56e83128a1462e4", "score": "0.6434446", "text": "public int size() {\n return set.size();\n }", "title": "" }, { "docid": "b2edd49875033d2de56e83128a1462e4", "score": "0.6434446", "text": "public int size() {\n return set.size();\n }",...
3618b366b4f09a40c9ce7b96fe8eab7a
Count sort. In array a, at most contains [0, k) number
[ { "docid": "ea918e2dba9890bdb33a1d438d43541b", "score": "0.884029", "text": "static void countSort(int[] a, int k) {\n\t\tif (a == null || k <= 0) {\n\t\t\treturn;\n\t\t}\n\t\tint[] count = new int[k];\n\t\tfor (int i : a) {\n\t\t\tcount[i]++;\n\t\t}\n\t\tfor (int i = 0, write = 0; i < k; i++) {\n\t\t\t...
[ { "docid": "89ef045327020238cbc0e9ee181b174c", "score": "0.8139175", "text": "static void countSort(int[] a) {\n\t\tint b[] = new int[a.length];\n\t\tint max = a[0], min = a[0];\n\t\tfor(int i : a) {\n\t\t\tmax = i > max ? i : max;\n\t\t\tmin = i > min ? min : i;\n\t\t}\n\t\t//这里count的大小是要排序的数组中,元素大小的极值...
b3a8082c3829ba26d32ba40c41a01ea2
end getTenure Sets the tenure used by the tabu list. The data structure being used to record the tabu list grows if the requested tenure is larger than the array being used, but stays the same size if the tenure is reduced. This is for performance reasons and insures that you can change the size of the tenure often wit...
[ { "docid": "2b86f700e926af20fe2529d2c311358e", "score": "0.7859561", "text": "public void setTenure( int tenure )\n {\n if( tenure < 0 )\n return;\n \n if( tenure > this.tenure && tenure > tabuList.length )\n {\n listLength = (int) (tenure * LI...
[ { "docid": "efc9f73c17a58cf8dcdc793ad5355944", "score": "0.62165725", "text": "public SimpleTabuList( int tenure )\n {\n super();\n \n this.tenure = tenure;\n this.listLength = (int) (tenure * LIST_GROW_FACTOR);\n this.tabuList = new int[ listLength ];\n ...
f5b15178325ae69127116bcd8ba90905
This method copies the output patterns from a source action to a target one
[ { "docid": "16e371248e52908ec94ad010f1adad0a", "score": "0.85031444", "text": "private void copyOutputPattern(Action source, Action target) {\r\n \t\tPattern targetPattern = target.getOutputPattern();\r\n \t\tPattern sourcePattern = source.getOutputPattern();\r\n \t\ttargetPattern.getNumTokensMap().putA...
[ { "docid": "e227e1d8173da369887c446b2c8aaa93", "score": "0.7094399", "text": "private void scanOutputs(Action action, State sourceState, State targetState) {\r\n \t\tfor (Entry<Port, Integer> verifEntry : action.getOutputPattern()\r\n \t\t\t\t.getNumTokensMap().entrySet()) {\r\n \t\t\tint verifNumTokens...
37e4ea1050d2c192f6a4d43642a051c4
.dstore.values.TimestampValue to_date = 5;
[ { "docid": "c3f031d661a7c5910df37833a4a0d642", "score": "0.0", "text": "public Builder setToDate(\n io.dstore.values.TimestampValue.Builder builderForValue) {\n if (toDateBuilder_ == null) {\n toDate_ = builderForValue.build();\n onChanged();\n } else {\n ...
[ { "docid": "4133d5866d6f7162384efcaa1f730953", "score": "0.8019424", "text": "io.dstore.values.TimestampValue getFromDate();", "title": "" }, { "docid": "438c639ae2634c35a0d178a4290f8d32", "score": "0.7602762", "text": "io.dstore.values.TimestampValue getToDate();", "title": "" ...
ad0d6114c2a7cbb316e1e01d99fdad57
$ANTLR end "entryRuleXListLiteral" $ANTLR start "ruleXListLiteral" InternalSARL.g:13589:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) ) )? otherlv_6= ']' ) ;
[ { "docid": "37abf67c8377231a4fa52dc806c68bad", "score": "0.80280465", "text": "public final EObject ruleXListLiteral() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_2=null;\n Token otherlv_4=null;\n Token otherlv_6=nu...
[ { "docid": "5a5fb8bc3cdee37c9eadf8b60818cdfa", "score": "0.8071413", "text": "public final EObject entryRuleXListLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleXListLiteral = null;\n\n\n try {\n // InternalSARL.g:13582:53: (iv_ruleXLi...
c42efff7fa023a757272a28224dd0e00
Select the Arrival City
[ { "docid": "3f8d272fa293e9519a002a17df406e6c", "score": "0.6246216", "text": "public void selectToCity(String toCity) throws InterruptedException {\n WebElement editBox = driver.findElement(By.xpath(\"//input[@placeholder='To']\"));\n if(!editBox.isDisplayed())\n {\n WebD...
[ { "docid": "024b7d6d2471fc30728be221699d5c0a", "score": "0.6382619", "text": "public void ShowCity() {\n\t\tcity = MyPreference.getInstance().getInteger(\"CITY\");\n\t\tlistArea = mdb.getListAreabyWoodenleg(\"001\", 2);\n\t\tif (listArea.size() > 0) {\n\n\t\t\tfor (int i = 0; i < listArea.size(); i++) {...
4b3a750a6a87fc7130840dbbeeacabc8
Return a PresetElement by identifying it by its place in the hierarchy
[ { "docid": "b57d2f328385d232734021a90f4155b1", "score": "0.0", "text": "@Nullable\n public static PresetElement getElementByPath(@NonNull PresetGroup group, @NonNull PresetElementPath path, @Nullable String region, boolean deprecated) {\n int size = path.getPath().size();\n if (size > 0...
[ { "docid": "acff51d5c5e3de113815ef110e089c04", "score": "0.59225994", "text": "private TreeElement findElement(String name) {\n return findElementIn(getRootElement(), name);\n }", "title": "" }, { "docid": "e5263cbf0041a5a89cc78cd0fb5aded6", "score": "0.57951707", "text": "...
bbfa6a5353d2ef4d242b19b6fd7c1dc8
Evaluate all the unusual options like exists, empty, etc. There is at least one field EXISTS_TAG NOT_EXISTS_TAG It does exist, and there is exactly one of them SINGULAR_TAG It DOES exist, and there's more than one of them NOT_SINGULAR_TAG The one field that DOES exist has non white space characters in it EMPTY_TAG The ...
[ { "docid": "ba6a55d20d0d4c03bad34a2e16d8b333", "score": "0.4419988", "text": "private boolean evalSpecialOp( WorkUnit inWU )\r\n\t\tthrows OpTreeException\r\n\t{\r\n\r\n\t\t//final boolean debug = true;\r\n\r\n\t\tif( inWU == null )\r\n\t\t\tthrow new OpTreeException(\r\n\t\t\t\t\"evalSpecialOp was pass...
[ { "docid": "6975b01bf4127b69a4d56cf8df0751ee", "score": "0.53580785", "text": "@Test\n public void testFlat() throws IOException {\n _helper.addDocument(\"\\\"aaa ccc\\\" .\");\n _helper.addDocument(\"\\\"bbb\\\" . \\\"ddd eee\\\" . \");\n _helper.addDocument(\"\\\"ccc ccc\\\" . \\\"ccc ccc\\\...
8effa4e86bf8f675b833c70a227677b6
Query to find the stock price.
[ { "docid": "598bfde82d9825ecd28ed7ff89822e09", "score": "0.0", "text": "public void processPage()\r\n\t{\n\t\tString q = \"declare namespace xhtml=\\\"http://www.w3.org/1999/xhtml\\\"; \\n\" +\r\n\t\t\t\t\t\"for $d in //xhtml:td \\n\"+\r\n\t\t\t\t \" where contains($d/text()[1], \\\"Last Trade\\\") \\...
[ { "docid": "221e63e93d56e8a72bb9f61eb450421f", "score": "0.68653154", "text": "@Override\n\tpublic List<SuStock> queryStock() {\n\t\tList<SuStock> stocks = stockMapper.query();\n\t\treturn stocks;\n\t}", "title": "" }, { "docid": "2529e1ce149e7c06ec5fe2e380a0bc8a", "score": "0.6502682", ...
5ec5e96e793344e163cf4b79ddd03107
This method was generated by MyBatis Generator. This method returns the value of the database column T_ZH_ZTJX_SYJL.GZRY
[ { "docid": "a354a24ad0598f2c25c7fce453ea045a", "score": "0.5364118", "text": "public String getGzry() {\n return gzry;\n }", "title": "" } ]
[ { "docid": "a282e4e603ff8ed15620b146d41262e5", "score": "0.5402522", "text": "public String getJxbzid() {\n return jxbzid;\n }", "title": "" }, { "docid": "62772028bfaece6166264d67a86e7947", "score": "0.5248206", "text": "public String getGzlx() {\n return gzlx;\n ...
b77a0aa74c4b248fcf8778f446cf315f
resets the is isFlipped 2d array so every spot is set to false
[ { "docid": "1b10ccd17398de17a99d6145b6e0fdb7", "score": "0.65444356", "text": "public void resetGame() {\n\t\tfillGameboard();\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tfor (int j = 0; j < 5; j++) {\n\t\t\t\tisFlipped[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tscore = 1;\n\t}", "title": "" } ]
[ { "docid": "88937a305de8f434b13bbe85571f6133", "score": "0.70707095", "text": "public void toggleFlipped(){\n if (isFlipped){\n isFlipped = false;\n board.setFlipped(isFlipped);\n \n }\n else{\n isFlipped = true;\n board.setFlipped(isFlipped);\n }\...
fac8b403793c09238d8e4166e85aa6f1
repeated .liubaninc.m0.wasm.Contract contract = 1;
[ { "docid": "b8f33c668705b52a12f71eaf258b6e3a", "score": "0.0", "text": "public Builder addContract(\n int index, liubaninc.m0.wasm.ContractOuterClass.Contract value) {\n if (contractBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n ...
[ { "docid": "1aed32e324efd5293c04934c61b15665", "score": "0.79061925", "text": "liubaninc.m0.wasm.ContractOuterClass.Contract getContract();", "title": "" }, { "docid": "a4741db8c623345097087b45cdb7cc86", "score": "0.72472733", "text": "liubaninc.m0.wasm.ContractOuterClass.ContractOrB...
cdbed43a4dd6f4071571bdd677b5ec92
shortest ancestral path between v and w
[ { "docid": "6f8c5d8e87b0faf66b83da334c20d47e", "score": "0.6388699", "text": "public int length(int v, int w) {\n checkVals(v, w);\n int min = Integer.MAX_VALUE;\n int dist = -1;\n boolean updated = false;\n \n BreadthFirstDirectedPaths vpath = new BreadthFi...
[ { "docid": "ea9af9d8c2a9c4f06571ab1c432d6e04", "score": "0.7687441", "text": "private int[] ancestralPath(Iterable<Integer> v, Iterable<Integer> w)\n {\n Queue<Integer> q = new Queue<>();\n boolean[] vmarked = new boolean[this.digraph.V()];\n int[] vdistTo = new int[this.digraph.V()];\n...
163a203ed40e9f16dd7c529702e47530
/ Tests that Caps are ok to validator
[ { "docid": "615c8df5e12a63a4a594a83ac0d00375", "score": "0.56892943", "text": "@Test\n public void characterTestCaps() throws URISyntaxException {\n EPICRequest request = new EPICRequest(RequestType.POST);\n String body = \"formID=20\";\n request.setBody(body);\n check.run...
[ { "docid": "123ec3a71c19b7cabdfc33179d1b1a65", "score": "0.8065574", "text": "void ensureCaps();", "title": "" }, { "docid": "d00708e19fc53d37eee9a028312feeb0", "score": "0.77825326", "text": "public void ensureCaps()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "811b5ecac...
8f78f4b782d8d1f46b9edc1ae1dd01f8
/ access modifiers changed from: 0000 / renamed from: a
[ { "docid": "c093f0bf3ab084c55eb329c1be5c8dcc", "score": "0.0", "text": "public void mo5149a() {\n RecyclerView recyclerView = this.f3635a;\n if (recyclerView != null) {\n C0808o layoutManager = recyclerView.getLayoutManager();\n if (layoutManager != null) {\n ...
[ { "docid": "f90aa856fa2a9401d3134c238e1ad463", "score": "0.688924", "text": "public abstract C0097d a();", "title": "" }, { "docid": "420b2bd94bbbbbfe7d1f41efac9498b9", "score": "0.6673963", "text": "interface C0507b {\n /* renamed from: a */\n void mo8211a();\n }", ...
455fc2eae098f09c839f327c925c91da
\ingroup isti_utils_public_functions \brief Velocity to acceleration conversion for PSD
[ { "docid": "30a1b9d2b0bc879e6db1bfc490a2dfe0", "score": "0.0", "text": "public static void velToAccel(double[] spectrum, final double deltaF, final int len) {\r\n\t\tdouble omega;\r\n\t\tfor (int i = 0; i < len; i++) {\r\n\t\t\tomega = 2.0 * StrictMath.PI * deltaF * i;\r\n\t\t\tspectrum[i] *= StrictMath...
[ { "docid": "eb1cf60807390e898ad2793cb67b3b0a", "score": "0.7249271", "text": "double getVelocity();", "title": "" }, { "docid": "d8cecedfca66b5f50679d379ffe5eedc", "score": "0.70935225", "text": "double velocity();", "title": "" }, { "docid": "1d79d23692875e134702dacc0c0e...
e90241d5f2092c6e5f5a584e481d6c24
Immutable. ContentLabel. .google.ads.googleads.v2.common.ContentLabelInfo content_label = 28 [(.google.api.field_behavior) = IMMUTABLE];
[ { "docid": "53c1acf34281ea4148f0204ec32a6dd0", "score": "0.8590706", "text": "com.google.ads.googleads.v2.common.ContentLabelInfo getContentLabel();", "title": "" } ]
[ { "docid": "5ea997e8532396b6ad5ea52d1df06812", "score": "0.8573477", "text": "com.google.ads.googleads.v2.common.ContentLabelInfoOrBuilder getContentLabelOrBuilder();", "title": "" }, { "docid": "0d4902c4cd359c4fbed0e965663992f0", "score": "0.71305364", "text": "public String getLabe...
4cc2defeb5a4d84a94a0f0d3f9cd1bf0
Add a new address mapping for a user and domain
[ { "docid": "1ddf24ba0d4a6d02cf2f104487e892d4", "score": "0.79385096", "text": "public void addAddressMapping(String user, String domain, String address) throws Exception {\n \n \t try{ \n\t MBeanServerConnection mBeanServerConnection = JmxServerConnectionManager.getJmxServerConnection();...
[ { "docid": "a2aa1c15088296eb3b321b87b86cc442", "score": "0.6586095", "text": "public void addRegexMapping(String user, String domain, String aregexp) throws Exception {\n \t \n \t try{ \n\t MBeanServerConnection mBeanServerConnection = JmxServerConnectionManager.getJmxServerConnection();\n...
73471f6f4f9b5caa1435ddaf2376f8b1
method which takes a character string as argument and creates a txt file containing this string
[ { "docid": "2e0d721c6ca4272c423cb1e0a2e99def", "score": "0.5574785", "text": "public void fileCreation(String txt) {\n\t\ttry {\r\n\t\t\t//creation of the unzipped file\r\n\t\t\t// for the name I have considered that all the names of the unzipped files were of the form \"name_comp.txt\" so I get \"name_...
[ { "docid": "134e15703ad54e478b01917a89055a70", "score": "0.69795763", "text": "public void writeToFile(String s);", "title": "" }, { "docid": "2dbdcbb8a975acf5ecd75250ee17a42d", "score": "0.68590367", "text": "private File createTextFile(String text) throws IOException\n {\n ...
8d5a19a11ad4f3303418ab67d20bd2a4
Takes the user to the level editor
[ { "docid": "844c1b8fadd0adf9ab702c0a06fc165e", "score": "0.6846567", "text": "private void startLevelEditor() {\n\t\tnew LevelEditor(this);\n\t}", "title": "" } ]
[ { "docid": "81e0dfe057c9949663fd29ef2e92ad1b", "score": "0.6614782", "text": "public LevelEditorStart() {\n // Create canvas and set view and zoom\n canvas = new GameCanvas();\n // Set up camera\n ExtendViewport viewport = new ExtendViewport(canvas.getWidth(), canvas.getHeigh...
93edd8d8d16117331937687b203408de
Static methods that will be published as userdefined function.
[ { "docid": "f6bd55f578108df78ea287bfc4990ad3", "score": "0.0", "text": "public static ComplexUDT multiply(ComplexUDT p, int q) throws SQLException {\n return multiply(p, (double) q);\n }", "title": "" } ]
[ { "docid": "085a80ae846beebc03dfdeb89506b976", "score": "0.64218163", "text": "static void showStaticMethod() \r\n { \r\n System.out.println(\"Hello, New Static Method Here\"); \r\n }", "title": "" }, { "docid": "acb1daf98630090a4eab20b82fc96d84", "score": "0.6392528", "...
ebf154e4f676ef31c6fb3bf4321823df
Provide a template mechanism for subclasses to override the default initialization of this application context. This should typically be called after the application context has been created.
[ { "docid": "26856eb3f499a5d914f55017ceb9a68f", "score": "0.0", "text": "protected void initializeApplicationContext(\n MarinerRequestContext requestContext,\n Volantis volantisBean,\n ApplicationContext applicationContext,\n InternalDevice device) {\n\n V...
[ { "docid": "5996ef3911807236d11deef37dac23a0", "score": "0.7074114", "text": "protected void init()\n {\n context.setConfigured(false);\n ok = true;\n\n if (!context.getOverride())\n {\n processContextConfig(\"context.xml\", false);\n processContextConfig(getHostCon...
c16345ab5fca2d87e0351adf8d1999c5
Gets the alarm that has been snoozed and 'overridden' by this snooze alarm, i.e. looks up another alarm with a matching SNOOZE relationship in the supplied alarm collection.
[ { "docid": "c0c071d6964f681829159cc8157f9076", "score": "0.66382515", "text": "public static Alarm getSnoozedAlarm(Alarm alarm, List<Alarm> allAlarms) {\n if (null != alarm.getRelatedTo() && (null == alarm.getRelatedTo().getRelType() || \"SNOOZE\".equals(alarm.getRelatedTo().getRelType()))) {\n ...
[ { "docid": "d2ad7b128e0b3b7527a924c0fa403c21", "score": "0.5149908", "text": "public int getAlarm() {\n\t\treturn alarm;\n\t}", "title": "" }, { "docid": "c59c9decc9d427367132f33d5b3e9f6b", "score": "0.5108932", "text": "@Override\r\n\tpublic long getAlarm() {\n\t\treturn _alarm;\r\n...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "13ff6619342b1268a605a79dea5d4415", "score": "0.0", "text": "@Override\n\tpublic long delete(String id) {\n\t\treturn 0;\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, ...
42b9bbab9daba17c8e67867fd49919fa
Ask the recognizer the bytes associated to last successful discard. This data will be an exact copy of the last bytes that matched for the latest :discard, meaning that it may be UTF8 sequence of bytes in case of character stream. For performance reasons, latest discard data is available only of the recognizer interfac...
[ { "docid": "2260b82b5165b2035d72ec98f6d00c23", "score": "0.55146617", "text": "public synchronized byte[] discardLast() throws ESLIFException {\n\t\treturn jniDiscardLast();\n\t}", "title": "" } ]
[ { "docid": "f694c01bf481a151113230a810aa097d", "score": "0.5766544", "text": "public void discard( Card garbage ) { discard_.add(garbage); }", "title": "" }, { "docid": "8c1d074b7d00690e56bb6e1474451d35", "score": "0.57650703", "text": "public void discardData(){\n offset += u...
0d723971328331d2bee7d765aee540c8
Return an id, or null if there is none.
[ { "docid": "1c098e46a32ef51b660064396f093d76", "score": "0.0", "text": "@Override\n public Integer toId(T source) {\n return objectToInt.get(source);\n // return value == null ? 0 : value;\n }", "title": "" } ]
[ { "docid": "57da7203a2f474d569ed9692500b8f80", "score": "0.7692023", "text": "Optional<String> getId();", "title": "" }, { "docid": "2bdc50754b7774bbb61c6e465f7ca859", "score": "0.7534925", "text": "public int safeGetId() {\r\n return (id != null ? id.intValue() : 0);\r\n }...
6f25e5f1b947695effd18aeb64ee4309
calling the method displayselectedscreen and passing the id of selected menu
[ { "docid": "f1a7093ba41014866606fbc4a24e54f1", "score": "0.5671765", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n displaySelectedScreen(item.getItemId());\n //make this method blank\n return tru...
[ { "docid": "e346ec85b08e5673bffa9d4a4baf41a7", "score": "0.72428876", "text": "public void displaySelectedScreen(int id) {\n Fragment fragment = null;\n switch (id) {\n\n case R.id.nav_notes:\n fragment = new NotesFragment();\n break;\n\n ...
b05720e7a87ac2fb66bfeb06bfc2fb55
Indicates whether this pool is unused. A pool is unused if there is neither an entry nor a waiting thread. All entries count, not only the free but also the allocated ones.
[ { "docid": "aefa3c9c3bbbe57987c5d0d8d3ff7649", "score": "0.70541257", "text": "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:01:34.791 -0500\", hash_original_method = \"039A6CD61F0359B07E2C6E71E77BA3EE\", hash_generated_method = \"B0E5F09CC052C2167859B...
[ { "docid": "938a96ab2f3caf05016d20d5d6cada6e", "score": "0.66417104", "text": "private Boolean isPoolExceeded(){\n Boolean exceeded = true;\n if (freeIndexes.isEmpty()) {\n for (int i = 0; i < getNumFrames(); i++) {\n if (bufferPool[i].getPinCount() == 0) {\n ...
467a6f5b4203f88f06f787738252bd77
This method was generated by MyBatis Generator. This method returns the value of the database column be_history.EmpID
[ { "docid": "8e4ec8a183055094ee9aff87ce775a77", "score": "0.6676876", "text": "public Integer getEmpid() {\n return empid;\n }", "title": "" } ]
[ { "docid": "ab0263df21e6b173d27b3b507fea0089", "score": "0.68885094", "text": "public Integer getEmpId() {\n return empId;\n }", "title": "" }, { "docid": "ab0263df21e6b173d27b3b507fea0089", "score": "0.68885094", "text": "public Integer getEmpId() {\n return empId;\...
b9ffdb3c936458d72dde67071112b916
check for required fields check for substruct validity
[ { "docid": "7d77630af00596e8b0492da00a65440a", "score": "0.0", "text": "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "title": "" } ]
[ { "docid": "e7d0ddadd37d1a7e31ca924290408091", "score": "0.76812315", "text": "public void validate() throws org.apache.thrift.TException {\n if (srcId == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'srcId' was not present! Struct: \" + toString());\n }\...
7c69fbbdd712d3d30b4be013b5a777cc
Load webapp code from specified path
[ { "docid": "587126a28a05309f90a136ef427613de", "score": "0.7614275", "text": "public void loadCode(String appFilePath);", "title": "" } ]
[ { "docid": "72706ea325a7ce1956070ebcee87dcc8", "score": "0.71812135", "text": "public void loadCodeFromLocalProject(String appFilePath);", "title": "" }, { "docid": "ed3b43c2cb67bb6fdc52f5cb2fcf1af3", "score": "0.6286785", "text": "public interface AppLoader {\n /**\n * Set fc...
7298cdd73a2e4ac1e037d9f1b963d360
public static MainJPanel jp;
[ { "docid": "82943d3f560013d6917c780c1aac7f3b", "score": "0.6743822", "text": "public OverJPanel() {\n\t\tthis.setLayout(null);\n//\t\tjp = GameStart.jp;\n\t\tImageIcon icon = GameLoad.imgMap.get(\"regame\");\n\t\tjb = new JButton(icon);\n\t\tjb.setBorderPainted(false);\n\t\tjb.setContentAreaFilled(false...
[ { "docid": "99a03acaca967fb76d6f090afb221404", "score": "0.71270186", "text": "public JPanel getPanel() {\n\t\treturn main;\n\t}", "title": "" }, { "docid": "0010c18f43f23a85726501070dacee91", "score": "0.7125985", "text": "protected JPanel getMainPanel()\n\t{\n\t\treturn this.mainPa...
5bb88a132fabe876e4fb69824fc872d6
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e3 in method: com.android.internal.widget.ColorScrollingTabContainerView.get2(com.android.internal.widget.ColorScrollingTabContainerView):int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:11...
[ { "docid": "ca62525d2fb522a08f54f9c4d5cdfc52", "score": "0.7062868", "text": "static /* synthetic */ int m633-get2(com.android.internal.widget.ColorScrollingTabContainerView r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: com.android.int...
[ { "docid": "782767c42729e3f9c2a5b23bccca53ad", "score": "0.7697846", "text": "static /* synthetic */ void m651-wrap0(com.android.internal.widget.ColorScrollingTabContainerView.AnimationImpl r1, com.android.internal.widget.ScrollingTabContainerView.TabView r2) {\n /*\n // Can't load...
40f901672c260aa6e5cef243a606180b
Returns the target identified with the given name. If no target is known by the given name, then null is returned.
[ { "docid": "d6913c3c64d27cac796888e0ca31f711", "score": "0.8149332", "text": "public Target getTarget(String name) {\n return (Target)targets.get(name);\n }", "title": "" } ]
[ { "docid": "3dd9eedab3481452f09705b985b346bf", "score": "0.634635", "text": "private static Integer getTarget(String targetName) {\n if (targetName.equals(\"resource\")) {\n return AttributeDesignator.RESOURCE_TARGET;\n } else if (targetName.equals(\"subject\")) {\n r...
a2ce78b5698729a764dcf7e6a6b1f1e6
This method was generated by MyBatis Generator. This method corresponds to the database table PUBLIC_EVALUATE
[ { "docid": "98c82600b947fafef2baf87346c5e73c", "score": "0.0", "text": "public Criteria createCriteria() {\n Criteria criteria = createCriteriaInternal();\n if (oredCriteria.size() == 0) {\n oredCriteria.add(criteria);\n }\n return criteria;\n }", "title": "...
[ { "docid": "f3e2b5fe133371aeaa481959a9050098", "score": "0.5971707", "text": "@Select({\n \"select\",\n \"INST_LOGID, INTEREST_DATE, FUND_NO, ACT_NO, INTEREST_TYPE, INTEREST_AMOUNT, \",\n \"GMT_CREATE, GMT_MODIFY, TRADE_DATE, RATE_VALUE, UNIT_NO\",\n \"from T_ACT_INTEREST\",\...
295c5e4f8e07649ad479b3ae3635bad8
Adds a new ServiceOrder object to the LinkedLists based on passed parameters
[ { "docid": "3ca9a310be69fc3989e89d5fbb732797", "score": "0.0", "text": "public boolean startService(int orderNum, String owner, String make,\n\t\t\tString model, int year) throws ServiceOrderInUseException\n\t{\n\t\t//Create a new service order based on the parameters\n\t\tServiceOrder order = new Servi...
[ { "docid": "78ac6fa9bcb0430ffc097c4902751928", "score": "0.72522223", "text": "void addOrder(Order order);", "title": "" }, { "docid": "6bd51a8a2c0332cb2a4c468aa300201d", "score": "0.7219828", "text": "public void addOrder(Order order) {\n }", "title": "" }, { "docid":...
78aa95c7a737c023362a19138d9fbc1e
fail("Not yet implemented"); // TODO
[ { "docid": "e092bab570f805cada807a1bce4c2d3f", "score": "0.0", "text": "@Test\r\n\tpublic void testFindThreeMoreLetters() {\n\t\t\r\n\t\tString results = execution.findThreeMoreLetters(\"Uber Allowed Login Credentials For Their Driver Database To Be Publicly\");\r\n\t\t\r\n\t\tAssert.assertEquals(\"Uber...
[ { "docid": "64d64cf71f2ff13db761804d9a9012fb", "score": "0.83055973", "text": "void fail();", "title": "" }, { "docid": "023ae922e7f1298f4db97dd6f09e1e07", "score": "0.8152466", "text": "public void fail();", "title": "" }, { "docid": "d7b95459d49ffbbe7b28a0bdf65dc9f9", ...
45b9918992f18b288fe778a3f9bb5fc5
Create a new TransactableAvailabilityWatcher.
[ { "docid": "6ca359b9887d93d3da5f4c11a7cda2c5", "score": "0.6758982", "text": "TransactableAvailabilityWatcher(long timestamp, long startOrdinal,\n\tUuid cookie, boolean visibilityOnly, MarshalledObject handback,\n\tlong eventID, RemoteEventListener listener, Txn txn)\n {\n\tsuper(timestamp, startOrdi...
[ { "docid": "3f5df2c64b5c03a3d196947b13a49ff6", "score": "0.5503071", "text": "public LocationServiceStatusReceiver create(LocationListener locationListener){\n return new LocationServiceStatusReceiver(locationListener);\n }", "title": "" }, { "docid": "0fe54eeb6bc7c793153c0ae8c0fe8...
d9a89994ea195dc9a565fc7d28c697a2
Util method to obtain test plan Id for a given test plan
[ { "docid": "ce5c7659a1011f44d92fe571bb2cbd93", "score": "0.7264239", "text": "public static Integer getTestPlanIdByName(String testPlanName,String projectName)\n\t{\n\t\tString xml = getTestPlanByNameRequestXml(testPlanName,projectName);\n\t\t//String id = \"\";\n\t\tInteger id = null;\n\t\ttry\n\t\t{\n...
[ { "docid": "7389991f7eb848263966ec2ec080ac98", "score": "0.7707376", "text": "public int getProjectIdFromUserPlan(Integer planId);", "title": "" }, { "docid": "51c75e8312fb0db596f615eb400c9a88", "score": "0.76062906", "text": "long getPlanid();", "title": "" }, { "docid":...
91bcc782f92b7af45b40a4ae3fcaa12b
Test getting location scheme with EXISTING_SCHEME_ID == 1L
[ { "docid": "13683c32fab75f69d8eb2351dad6575c", "score": "0.7041138", "text": "@Test\n public void getScheme_Positive() throws LocationSchemeDoesNotExist {\n LocationScheme locationScheme = locationSchemeService.getScheme(EXISTING_SCHEME_ID);\n\n assertNotNull(locationScheme);\n a...
[ { "docid": "e0f0cb3ce353bd4e42e569f378033862", "score": "0.63980424", "text": "@Test(expected = LocationSchemeDoesNotExist.class)\n public void getScheme_Negative_LocationSchemeDoesNotExist() throws LocationSchemeDoesNotExist {\n locationSchemeService.getScheme(NONEXISTENT_SCHEME_ID);\n\n ...
234bca89d5865b870c9bd17548e8daa4
Required method for Designer support do not modify the contents of this method with the code editor.
[ { "docid": "709a7e0481f4311fd65c24f9a0c34e9a", "score": "0.0", "text": "private void initializeComponent() throws Exception {\n System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(FormDatabaseMaintenance.class);\n this.butClose = ne...
[ { "docid": "1644630139841d08933329ab512e8a61", "score": "0.6559664", "text": "@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}", "title": "" }, { "docid": "1644630139841d08933329ab512e8a61", "score": "0.6559664", "text": "@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}", "...
aef8b4e8dd1190cd085604697f63cdf4
Returns if the given file is a directory.
[ { "docid": "34aa3252c64d6bde2b47fce598090af9", "score": "0.6360112", "text": "@External\r\n\t@SharedFunc\r\n\tpublic MetaVarBoolean IsDir(MetaVarString fileNameVar,MetaVarString pathVar){throw new RuntimeException(\"Should never be executed directly, there is probably an error in the Aspect-coding.\");}...
[ { "docid": "42cb57c52e47924968acf540116f9ae7", "score": "0.8241298", "text": "public boolean isDirectory() {\n return (fileType == DIRECTORY_TYPE);\n }", "title": "" }, { "docid": "a6b2195a74ce1ea8bc2599fdf32b8faf", "score": "0.8218943", "text": "public boolean isDirectory(...
7e9ae7797c4d0e96725be61248970fc1
End SprintTest101_1_2_12B SprintTest_42107 : Verify the redirect MFWA page while case change in GUID (To upper case)
[ { "docid": "18e3b2f33c756f1282a0255540bf199f", "score": "0.576656", "text": "@Test(dataProviderClass = DataProviderUtils.class, dataProvider = \"excelDataReader\", groups = {\"Get Combo URL\",\"Bug\"}, \r\n\t\t\tdescription = \"Verify the redirect MFWA page while case change in GUID (To upper case)\")\r...
[ { "docid": "29ce891c853169aa07eb9bd01c5f9a07", "score": "0.5879865", "text": "@Test(dataProviderClass = DataProviderUtils.class, dataProvider = \"excelDataReader\", groups = {\"Get Combo URL\",\"Bug\"}, \r\n\t\t\tdescription = \"Verify the redirect MFWA page while case change in GUID (Upper case To Lowe...
26c21060ab26dcec966da7c302b1ebd3
Simple version of implode, to remove the jewel from the game.
[ { "docid": "f36201fb2a84c732a91eb12b1b51d82a", "score": "0.0", "text": "public void remove(Group sceneGroup) {\n \tsprite.remove(sceneGroup);\n }", "title": "" } ]
[ { "docid": "29808b36c280e35bb2cbc3583a9769e4", "score": "0.6247953", "text": "public static String implode(String[] data)\r\n {\r\n return implode (data, defaultSeparator);\r\n }", "title": "" }, { "docid": "bca16327ffc52115fb498480309e73d4", "score": "0.6070937", "text"...
5699855f11a0778404f64f672f5b69af
Attempt to instantiate a class from a given name.
[ { "docid": "b9e5c739b0afdd0072c376faebffd529", "score": "0.8193308", "text": "private Object classFromName(String name) {\n try {\n if (name != null) {\n Class<?> klass = ClassLoader.getSystemClassLoader().loadClass(name);\n return klass.newInstance();\n ...
[ { "docid": "217b03e2f28c240137eecaaff42fe616", "score": "0.7201424", "text": "public Class loadClass(String name) throws ClassNotFoundException;", "title": "" }, { "docid": "a1fd5f17806994946604edd8767635d4", "score": "0.71451735", "text": "public static Object instantiate(String cla...
0634312d5f5e1b335ddda71e2e150161
Runs validation when enabling/disabling the "nuget delete" command for use in freestyle projects. In particular, when disabling the command, this will check to see whether there are any freestyle projects currently using the command.
[ { "docid": "9000bbb3581d9105984c9de8cad1bf9f", "score": "0.5793148", "text": "@NonNull\n @POST\n public FormValidation doCheckNuGetDeleteAllowed(@QueryParameter boolean nuGetDeleteAllowed) {\n return DotNetConfiguration.ensureNotInUseWhenDisallowed(nuGetDeleteAllowed, Delete.class);\n }", "tit...
[ { "docid": "326fb6d510e5f74fb6c8d71b6da64a56", "score": "0.5308279", "text": "private boolean isDeletionValid() {\r\n\r\n // check for children\r\n if (hasChildren()) {\r\n return false;\r\n }\r\n\r\n // Check no applications are assigned to this group\r\n i...
e40b49a97c607608a153e1442358c4c5
True if has "bandRow" attribute
[ { "docid": "598006a876f80c60e133b3cff7821d5a", "score": "0.8564669", "text": "boolean isSetBandRow();", "title": "" } ]
[ { "docid": "c3fc76d5bf8d7c845f6a5c4100f370b1", "score": "0.8263333", "text": "boolean getBandRow();", "title": "" }, { "docid": "875bec5fa1c98e483ab6d8bdd923ddee", "score": "0.75552225", "text": "boolean isSetBandCol();", "title": "" }, { "docid": "9f7a34d772e71027ada8084...
98c3f7e7cb5cce15e09489b9a5fa8ae2
$ANTLR end "rule__XOrExpression__Group_1__1" $ANTLR start "rule__XOrExpression__Group_1__1__Impl" ../org.xtext.example.hellocustomecore.ui/srcgen/org/xtext/example/hellocustomecore/ui/contentassist/antlr/internal/InternalHelloCustomEcore.g:3937:1: rule__XOrExpression__Group_1__1__Impl : ( ( rule__XOrExpression__RightOp...
[ { "docid": "dc271e82ab53b8514e49359fd7441346", "score": "0.8578602", "text": "public final void rule__XOrExpression__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.hellocustomecore.ui/src-...
[ { "docid": "a1540555a0d14dbe3aa584ff90d5473e", "score": "0.8270484", "text": "public final void rule__XOrExpression__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.hellocustomecore.ui/src-...
b61d5fd53f4889ec617a7aac6372d44d
/ access modifiers changed from: private
[ { "docid": "c5945acc9e9f882dcbfa69c95c4ca6b2", "score": "0.0", "text": "public void showWebUrlLoadingStatus() {\n this.mLoadingProgress.setVisibility(0);\n this.mLoadingProgress.setProgress(0);\n }", "title": "" } ]
[ { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.69450116", "text": "protected void method_3848() {}", "title": "" }, { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.68100774", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { ...
38032106b1ea814502b792c9c0853235
end method Expression.buildTerm Expression.buildSubroutineCall Set this Expression node instance to a SUBROUTINE_CALL node, and recursively build all nodes in subtree rooted at this node.
[ { "docid": "1d2b6f5adbf02424549e2b674f31c1c6", "score": "0.74707514", "text": "private void buildSubroutineCall(ListIterator<Token> iter) {\n // subroutineName '(' expressionList ')' | (className | varName) '.' subroutineName '(' expressionList ')'\n iter.next();\n // token after th...
[ { "docid": "9498fb5230f9f0d157327f9d52dd8c74", "score": "0.6772462", "text": "private void writeSubroutineCall(PrintWriter pw, SymbolTable symbolTable) {\n SymbolType symbolType = ((TokenNode) this.children.get(1)).token.symbolType;\n if (symbolType == SymbolType.OPEN_PAREN) {\n ...
3e475eca1c33fc11188c8083c204fd31
Test case number: 118 /Coverage entropy=1.003659491091816
[ { "docid": "cd5d50b20f48331b72a4aaa1a89e669a", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test118() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter(83);\n MethodWriter methodWriter0 = new MethodWriter(classWriter0, 83, \"pq1$XiA\\\":(N]C)h4F\", \"pq1$XiA\\\...
[ { "docid": "f8ee484a984b315335a05085780a08d1", "score": "0.6740712", "text": "@Test\n public void test10() throws Throwable {\n CorrelationAttributeEval correlationAttributeEval0 = new CorrelationAttributeEval();\n Capabilities capabilities0 = correlationAttributeEval0.getCapabilities();\n ...
62ff96571b633fba2ddea3a0354321b9
search the specified member.
[ { "docid": "f8adb11b38da26cf0382e688abaa668f", "score": "0.0", "text": "@RequestMapping(value = \"{memberId}\", method = { RequestMethod.GET, RequestMethod.HEAD })\n @ResponseBody\n @ResponseStatus(HttpStatus.OK)\n @ResponseCache\n public MemberResource getMember(@PathVariable(\"memberId\") ...
[ { "docid": "f950bc1b229a28f0f88805fe3ef54a0d", "score": "0.69871867", "text": "@Test\r\n\tpublic void searchMemberTest() {\n\t\tassertNotNull(\"Test that memberArrayList is not null\", MemberDB.memberArrayList);\r\n\t\t\r\n\t\t// Test that member is shown when using searchMember() method\r\n\t\tMemberDB...
c7e0711fbbfdbf916f42e52934862c55
noinspection unchecked return (T) new CardViewModel(mApplication, mRepository, mCardId);
[ { "docid": "94388b9eb7144f3973849463869d6487", "score": "0.75112164", "text": "@Override\n public <T extends ViewModel> T create(Class<T> modelClass) {\n return (T) new CardViewModel(mApplication, mRepository, mCategoryId);\n }", "title": "" } ]
[ { "docid": "093a65f96870916d017fb9a58e26d445", "score": "0.5946497", "text": "public abstract CardDao getCardDao();", "title": "" }, { "docid": "6c113c415539ed977f872fb6cc206ed0", "score": "0.585893", "text": "@Override\n\tprotected Object clone() throws CloneNotSupportedException {\...
9b348b604a31bc46e3d9819be3157f08
Your app probably wants to do something more sophisticated than popping a Toast. This is here to tell you that your app needs to handle this case: if your app doesn't display something, the user won't know of the failure.
[ { "docid": "4ddd7975f390abf8931099ee62458db0", "score": "0.0", "text": "@Override\n public void onFailure(int errorCode, String errorMessage, Bundle optionalData) {\n --purchaseInProgress;\n Toast.makeText(MonkeyGame.instance, \"Could not fetch product informa...
[ { "docid": "af135a5a448442b2730db5df22ba9de0", "score": "0.7523743", "text": "public void showFailureToast();", "title": "" }, { "docid": "82e683ef6844b4fa6b396f0305acca93", "score": "0.7005566", "text": "boolean doesShowToast();", "title": "" }, { "docid": "2ebe93e05fd07...
9e6a59558ce7d3a3d9196799efbfa8ba
creating new object called me. New instance of MethodOverloadingExample. Telling it what type the me is going to be create me an object called me, which is of type MethodOverloadingExample
[ { "docid": "68221ea81a98c21a25b0b0dead272a8f", "score": "0.5077054", "text": "public static void main(String[] args) {\n MethodOverloadingExample me = new MethodOverloadingExample();\n\n //.syntax. Local to the class but it is public anyway, don't forget.var for help\n\n int result ...
[ { "docid": "c605dd1ac67ff4bd621ba4f14af06f88", "score": "0.5910953", "text": "public abstract Object createInstance(Object obj, Object obj2);", "title": "" }, { "docid": "4b1c747246bd676a14d1cde0fc60fde8", "score": "0.5862434", "text": "Object newInstance();", "title": "" }, ...
aa3a04ed89579056363dd06f067ad568
/ Save bitmap on given file path on sdcard
[ { "docid": "fd0eea16a431da75b3c5c2ab0f998a3b", "score": "0.77221996", "text": "public static void saveBitmapToSdcard(Bitmap bitmap, String dirPath) {\n\t\tFile tempFile = new File(dirPath);\n\t\tif (tempFile.exists())\n\t\t\ttempFile.delete();\n\n\t\ttry {\n\t\t\tFileOutputStream fOut = new FileOutputSt...
[ { "docid": "9b1e27a9a904f869092416c0c828a492", "score": "0.7791506", "text": "public void saveIntoFile(String path) {\n try {\n FileOutputStream out = new FileOutputStream(path);\n result.compress(Bitmap.CompressFormat.PNG, 90, out);\n } catch (Exception e) {\n ...
95f2e37013bbf87016b477c18fad0830
Handles the end of the downloading of a QRFile the application is listening to
[ { "docid": "8ef526f8117794f1bca3ea120556dbd9", "score": "0.80233705", "text": "public abstract void onQRFileDownloadComplete();", "title": "" } ]
[ { "docid": "7ff9eeffd862fb821069af68ba960c4a", "score": "0.7148635", "text": "public void downloadEnded();", "title": "" }, { "docid": "bd8d8ce57f964774440b6a47f91cf1f0", "score": "0.6966727", "text": "public void OnDownloadFinished();", "title": "" }, { "docid": "7277b9b...
a4f3917a38fb3ade6c80287349ead7fb
/ These special emergency number will show ecc in MMI but sent to nw as normal call
[ { "docid": "04f66c60b8e510dbe8c9799a4c882ebc", "score": "0.5641857", "text": "public boolean isSpecialEmergencyNumber(String dialString) {\n return (dialString.equals(\"110\") || dialString.equals(\"119\")\n || dialString.equals(\"000\") || dialString.equals(\"08\")\n ...
[ { "docid": "63eb0923ae6dc771c1310bfe3ea539a7", "score": "0.5970243", "text": "private static String m21400e() {\n try {\n return new BufferedReader(new FileReader(new File(\"/sys/class/net/wlan0/address\"))).readLine();\n } catch (Throwable th) {\n C5205o.m21464a(th);...
0d571d51b1d24478ffa5f6760258348e
Stop odometry navigation, same as stopVLSNavigation()
[ { "docid": "5d599390390d7bc1233ae05e3080fa7a", "score": "0.80227923", "text": "public void stopOdomNavigation() {\n mBase.clearCheckPointsAndStop();\n }", "title": "" } ]
[ { "docid": "5991c891f0a53465cc04ed6efa06091a", "score": "0.7890421", "text": "public void stopVLSNavigation() {\n Log.d(TAG, \"VLS navigation stopped\");\n mBase.clearCheckPointsAndStop();\n }", "title": "" }, { "docid": "4311a04410787b9fc7f7615af8b57ea2", "score": "0.77...
801ee0e4664bb19ccbe3efdbccc3d5bf
/int r = getRed(); int g = getGreen(); int b = getBlue(); int alpha = getAlpha();
[ { "docid": "23ee0f4945290e2dbf37358833d751c9", "score": "0.0", "text": "public static Color brighter(final Color color) {\n\n float r = color.r;\n float g = color.g;\n float b = color.b;\n float alpha = color.a;\n\n /* From 2D group:\n * 1. black.brighter() sho...
[ { "docid": "56d4a666596db14a18953eff91c1c021", "score": "0.717899", "text": "int getRed();", "title": "" }, { "docid": "72267becd9cd2026e3aee1ad6000cb07", "score": "0.71636164", "text": "int getGreen();", "title": "" }, { "docid": "a4c8d6bdae4c2780238f4c1b5791208b", "...
3e6b9485681bde969f97f562b3b0393d
Created by Alexander on 25/01/2016.
[ { "docid": "b605346d65c329070115084e27f773f9", "score": "0.0", "text": "public interface Resizeable {\n\n public final static int PANELSCALE=460;\n public final static int xxxxxxSCALE=0;\n\n public void imageResize();\n\n public void imageResize(int[] drawables, int[] ids, int newSize);\n\n ...
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.57999635", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "21d672149bbdd06ba8646ddf7f7f41d1", "score": "0.5729095", "text": "@Override\n\tprotected void descansar() {\n\t\t\n\t}", "...
31f082a46a4d08fb372f2aaa09808acd
Crea un constructor de registros vacio.
[ { "docid": "843e1fa4a434dc668db4f6140585a759", "score": "0.0", "text": "public RecordBuilder() {\n\t\tsuper();\n\t}", "title": "" } ]
[ { "docid": "b82b46e5e2fb229f5aa7a292c23378a3", "score": "0.7034126", "text": "public RequisitoVista() {\r\n }", "title": "" }, { "docid": "ad37accc0618e6835aaf3f7311f7b246", "score": "0.6766936", "text": "public VentasVista() {\n }", "title": "" }, { "docid": "70a3f...
6ce5d42db9ee312f2158464b02c1126b
uses tree sort to insert and display scores in order
[ { "docid": "e3d4f2186ad035910d4c6ab7ff07945e", "score": "0.0", "text": "public Scores(String fileName){\r\n\t\tScanner sc = null;\r\n\t\ttry {\r\n\t\t\tsc = new Scanner(new File(fileName));\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\twhile(sc.hasNext(...
[ { "docid": "89f1ba6deebb3ab4bac6884a66f959c3", "score": "0.6759098", "text": "private void makeScoreInsertion(int score){\n if (scoreValueTable == null){\n loadScores();\n }\n for(int i = 0; i < MAX_SCORES; i++){\n if (score > scoreValueTable[i]){\n ...
30a97d55bd55f3577252ada0ea5fe1e7
Converte uma String do formato yyyyMMdd para dd/MM/yyyy
[ { "docid": "a285ba594702049bfb26f3402f0fde74", "score": "0.5950291", "text": "public static String converterParaDiaMesAno(String data) {\r\n\t\tif(data != null && !data.trim().equals(\"\")) {\r\n\t\t\tLocalDate localDate = LocalDate.parse(data);\r\n\t\t\tDateTimeFormatter formatter = DateTimeFormatter.o...
[ { "docid": "2df29f84ed4350ddf99f546f4bd919ec", "score": "0.69520223", "text": "private String changeDate(String str) {\r\n String day, month, year;\r\n year = str.substring(0,4);\r\n month = str.substring(4,6);\r\n day = str.substring(6,8);\r\n\r\n return month + \"/\"...
0405b44c091960160776e2cea9533311
Tests processing the job.
[ { "docid": "91a40d9c89f1b95a72d884928ca55cb2", "score": "0.71763283", "text": "@Test\n @DisplayName(\"Tests processing the job.\")\n void testProcess() {\n Action action = mock(Action.class);\n when(action.isActive()).thenReturn(true);\n\n Trigger trigger = mock(Trigger.class)...
[ { "docid": "c423786556de6e9b0c1e2a1ca9e5b13e", "score": "0.7078741", "text": "public void testProcess() throws Exception {\r\n\t\t// Mock out a couple of methods on the processor that we're not really interested in for the\r\n\t\t// purposes of this test\r\n\t\tSearchProcessorMock processor = new Search...
d89d03d3b3e4a1eea4476de94abe476c
Returns the 'Java Version' literal with the specified literal value.
[ { "docid": "b64d3cbbdd386d2d1fb9a14d05359396", "score": "0.6806582", "text": "public static JavaVersion get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tJavaVersion result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}...
[ { "docid": "45b2d09117be497d88a1b10516cda896", "score": "0.65608996", "text": "private JavaVersion(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9926f09263cc55d905ca0680c4b82992", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tPen p=new Marker();\r\n\t\tp.write();\r\n\t\t\r\n\r\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
ebde4cfc54337b2269257673af9a25e9
Test case for addUserData method
[ { "docid": "ca84967a615dd7e51fc505522c463d97", "score": "0.7326348", "text": "@Test\n public void addUserData() {\n\n userDao = new UserDao();\n userRoleDao = new UserRoleDao();\n\n AddUserAction add = new AddUserAction();\n int listLength = userDao.getUserList().size();\n...
[ { "docid": "3ea277fed1007658878cff3ab9a1a11a", "score": "0.6632581", "text": "private static void addData(){\n\n }", "title": "" }, { "docid": "9f92562faf833b0cd5bfe5991585522f", "score": "0.6611377", "text": "public void setUserData(Object data) {\n \t\tthis.userData = data;\n \t...
0e8d923a68845f2542b188e73c5bef86
Created by zhong on 2018/7/12 15:42
[ { "docid": "79eb793b9a1d4a55a5651f859590eeff", "score": "0.0", "text": "@Repository\npublic interface F2Mapper {\n\n @Insert(\"insert into F2 values (#{A},#{Bn},#{Cy},#{Gy},#{Uy},#{type}) ON DUPLICATE KEY UPDATE \" +\n \"A=#{A},Bn=#{Bn},Cy=#{Cy},Gy=#{Gy},Uy=#{Uy}\")\n int insert(F2 f2);...
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.640093", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.6044268", "text": "public function() {}", "title": "" }, { "docid": "39da14b1f6e1a...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fe989434d7452cb7826cf7f2887e30f4", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tDeque<String> q= new LinkedList<String>();\r\n\t\tq.add(\"Lion\");\r\n\t\tq.add(\"Tiger\");\r\n\t\tq.add(\"Elephant\");\r\n\t\tq.add(\"Deer\");\r\n\t\tq.add(\"Wolf\");\r\n\t\tq.add(\"Bat...
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
2e46145f83f7c2539c46851c162587aa
Retourne la longueur du lien
[ { "docid": "b2acbab8a9463ba4b3ed81acbfb40f7b", "score": "0.632871", "text": "public double getLongueur() {\n Point centreDepart = depart.getCentre();\n Point centreArrive = arrive.getCentre();\n return Math.sqrt(Math.pow(centreArrive.x - centreDepart.x, 2) + Math.pow(centreArrive.y ...
[ { "docid": "6a9901b5e10ed54a257531c9b163b0b1", "score": "0.6819765", "text": "public int getLargeur()\n\t{\n\t\treturn c.getLargeurCase();\n\t}", "title": "" }, { "docid": "2dc363b039fd6b5ed9f72f461cc17726", "score": "0.6594014", "text": "public int getL() {\n return position....
e37ab9171367b025eb7e66803e805aba
/ ==================== toDebugString =====================================
[ { "docid": "7d821f0c4754f886cfbf27f74c6a8df5", "score": "0.77583575", "text": "public String toDebugString() {\n StringBuffer str = new StringBuffer(mySelf()+\"\\n\");\n str.append(\"..prev: \"+prev+'\\n');\n str.append(\"..next: \"+next+'\\n');\n return str.toString();\n }", "title": "...
[ { "docid": "da48a8370bd20c209f141aecf2c1b2e4", "score": "0.8208301", "text": "public String toDebugString() {\n StringBuffer str = new StringBuffer(mySelf()+\"\\n\");\n return str.toString();\n }", "title": "" }, { "docid": "da48a8370bd20c209f141aecf2c1b2e4", "score": "0.8208301",...
579b1b47bcbfda3979b1c2e4d433885b
Sets the maximum value for the axis and notifies registered listeners that the axis has been modified.
[ { "docid": "7be5010bd643def50e31840c7cb23d42", "score": "0.8265294", "text": "public void setMaximumAxisValue(Number value) {\r\n this.maximumAxisValue = value;\r\n notifyListeners(new AxisChangeEvent(this));\r\n }", "title": "" } ]
[ { "docid": "4c0f35261e09a610aeb913626e57278d", "score": "0.7256844", "text": "public void setMax(float theValue) {\n\t\t_myMax = theValue;\n\t\tsetSliderMode(_mySliderMode);\n\t}", "title": "" }, { "docid": "c338d3de5eb665aae6c538ca99977b7e", "score": "0.7140838", "text": "public fin...
48ce39e1831ae9d883bd896a4c780f19
Adds the tip panel.
[ { "docid": "931aeafaa8d4d7a41056d1f7295e3cdf", "score": "0.8009514", "text": "private void addTipPanel() {\n\t\ttipPanel = new JPanel();\n\t\ttipPanel.setBounds(454, 0, 582, 522);\n\t\ttipPanel.setLayout(null);\n\t\tmainPanel.add(tipPanel);\n\t\t\n\t\tJLabel lblNewLabel_2 = new JLabel(\"<html>We appreci...
[ { "docid": "43c5959d6ce29e14777a9509f3b7ebcc", "score": "0.6801806", "text": "public void openTipPanel() {\n\t\t// Hide any more requests from the customer once they've paid and are ready\n\t\t// to leave.\n\t\tClient.clientFrame.customerSP.utilityPanel.setVisible(false);\n\t\tthis.confirmPaymentPanel.s...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b1f8fc4cadd1a19cbc1bd1d9a181418a", "score": "0.0", "text": "@Override\n\tpublic void removeAuth(final String authType) {\n\t\t\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...
f5b89aa4f2482bae85a7b7e5d9ec41ec
Parse the sample descriptor
[ { "docid": "d68b5dc1f886d4086e8f5ebeb2f34683", "score": "0.0", "text": "public void loadConfiguration(String configFileName) {\n OMElement sampleConfig = loadDescriptorInfoFile(configFileName);\n if (sampleConfig == null) {\n fail(\"Failed to load the configuration: \" + configF...
[ { "docid": "9d39483fa5f7d8f87447125e084f2907", "score": "0.6374524", "text": "public SampleData handleBioSampleType(BioSampleType xmlSample) throws ParseException {\n\t\tSampleData sd = new SampleData();\n\t\tSampleNode sample = new SampleNode();\n\t\t\n\n\t\tfor (PropertyType property : xmlSample.getPr...
042f836eff1096e2e7b0996b805da3e1
wrap the rendered react markup with the teaxtarea that contains the component's props.
[ { "docid": "76119885d5ff80be80c4879764aa1b1a", "score": "0.68939584", "text": "private String wrapHtml(String path, JSONObject reactProps, String component, String renderedHtml, boolean serverRendering) {\n String jsonProps = StringEscapeUtils.escapeHtml4(reactProps.toString());\n String allHtml =...
[ { "docid": "cbc8bb1ced5a39fa0227254e19275605", "score": "0.61235243", "text": "private String wrapHtml(String path, Resource resource, String renderedHtml, boolean serverRendering, String wcmmode, String cache) {\n JSONObject reactProps = new JSONObject();\n try {\n if (cache != null) {\n ...
2bf4f5219f72e950145adc629e187529
Automatic code generation end Custom endpoint methods start This method is supposed to retrieve all the groups of a user with id.
[ { "docid": "bbcb879b620b42347bc55b1df758f8a7", "score": "0.7489659", "text": "@SuppressWarnings(\"unchecked\")\n\t@ApiMethod(\n\t\t\thttpMethod = \"GET\", \n\t\t\tname = \"user.groups\",\n\t\t\tpath=\"user/{id}/group\"\n\t\t\t)\n\tpublic List<Group> getGroups(@Named(\"id\") String id) throws Exception {...
[ { "docid": "118a847c13c73b60e6953faddd7faae4", "score": "0.7276251", "text": "public List<String> getAllGroups(int userid) {\n try {\n System.out.println(\"Group Request from \"+userid);\n dbconnection = DriverManager.getConnection(CONNECTIONURL, USERNAME, PASSWORD);\n ...
ab8ad809127cd21204858fd65438b5ae
Asserts that sort is stable.
[ { "docid": "2134f6a97c2280fd79547a9651480307", "score": "0.73208076", "text": "public static void assertSortIsStable(SortItem[] itemsAfterSort) {\n for (int i = 1; i < itemsAfterSort.length; i++) {\n if ((itemsAfterSort[i-1].getValue().equals(itemsAfterSort[i].getValue())) &&\n ...
[ { "docid": "26ba64880a7ca956a5afe74c5981ffa8", "score": "0.6832613", "text": "boolean testSort(Tester t) {\n return\n t.checkExpect(this.listc.sort(), this.listd) &&\n t.checkExpect(this.listdUnsorted.sort(), this.listd);\n }", "title": "" }, { "docid": "dd1e3ecdd6e9f...
c3d432a52dde55727160855acd8957b3
f0 > PrimaryExpression() f1 > "" f2 > PrimaryExpression()
[ { "docid": "e6cfa24a934aa8772775fd6412a0e627", "score": "0.0", "text": "public R visit(MinusExpression n, A argu) {\n R _ret=null;\n System.out.println(\" MINUS \");\n String a= (String)n.f0.accept(this, argu);\n n.f1.accept(this, argu);\n String b= (String)n.f2.accept(this, arg...
[ { "docid": "a6669b3c20416ffb6248b31c3149437b", "score": "0.620711", "text": "public String visit(PrimaryExpression n, String[] argu) {\n return n.f0.accept(this, argu);\n }", "title": "" }, { "docid": "429fdcdc9f7def7823e73dd1ed5797ac", "score": "0.5986597", "text": "simpleExp...
4331b7f58497e784af783df668ce50fd
/ renamed from: c
[ { "docid": "c07fa17dd78d16ef83df306cb5142507", "score": "0.0", "text": "public abstract boolean mo5734c(C1293v vVar, C1270c cVar, C1270c cVar2);", "title": "" } ]
[ { "docid": "c0d5af9085dc528726b01102dafbdd51", "score": "0.65285", "text": "void mo47226c();", "title": "" }, { "docid": "a94a6d9e59f3f2dad4d922f47778734d", "score": "0.6504635", "text": "public void c() {}", "title": "" }, { "docid": "b4238994485cd51fc2695e2dfa08caa0", ...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "b3943274a3daa6c1d1591820b49fbf60", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jMenuBar1 = new javax.swing.JMenuBar();\n men...
[ { "docid": "b2448da2d88321527a008e8847d4903d", "score": "0.75216234", "text": "public LineupForm()\n\t{\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7392794", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold def...
39c1152bd8a1ee338dd1e5cf3d9fc2d5
Sets the approved by user of this article.
[ { "docid": "3dec5dcc0ac74a0c8f84cc593af3e362", "score": "0.7559562", "text": "public void setApprovedByUser(long approvedByUser);", "title": "" } ]
[ { "docid": "26e23b91e86665f0046850b63dd55787", "score": "0.6831475", "text": "public void approve(User byUser) throws BusinessException {\n\n if ( !byUser.isAdmin() )\n throw new PermissionException(\"Not an administrator\");\n\n if ( !state.equals(ItemState.PENDING) )\n ...
0713f9e7ff7f840c3bdd1ab394072875
Queries LDAP for user information, if a connection to LDAP is not available, returns a user object with only a crsid and the ldap flag set to false.
[ { "docid": "c65b6cdbcc236da01786f8c9c7d3cb82", "score": "0.66092306", "text": "public User ldapProduceUser(String crsid) {\n\t\tLDAPUser u;\n\t\tUser user;\n\t\ttry {\n\t\t\tu = LDAPQueryManager.getUser(crsid);\n\t\t\tboolean notStudent = academicConfig.getConfig().represents(u);\n\t\t\tboolean admin = ...
[ { "docid": "a5726380f7d1f2a216c2156f79250901", "score": "0.7007745", "text": "LdapUser getUser( String username );", "title": "" }, { "docid": "6c96b47602860a3fa42fe1941408410e", "score": "0.63728637", "text": "protected DirectoryUser getDirectoryUserViaCursor(EntryCursor cursor)\n ...