query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
d0d848b02e04d6cb24882d9b7432da0e
Fetch the object representing the layout state of of the child at the given index.
[ { "docid": "fe0ee4c267080bb3970da8c0c806e313", "score": "0.73218083", "text": "protected final ViewLayoutState getChild(int index) {\n return getChildren().getChild(index);\n }", "title": "" } ]
[ { "docid": "1c5e11501a0bea28ed6e44b1dcea3ae2", "score": "0.64295864", "text": "public PropertiesOfView getPOChildAt(int index) {\n return children[index];\n }", "title": "" }, { "docid": "d7b0e3c82b64d4088d775d90afd0432c", "score": "0.61735046", "text": "public ChildType ge...
ac28f3da72336d86bc73b8d38f9d01ba
static method to create the object Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable If this object is not an element, it is a complex type and the reader is at the event just after the outer start element Postcondition: If t...
[ { "docid": "7418e295af0c1c847911defa6ff123bf", "score": "0.0", "text": "public static SiteID parse(javax.xml.stream.XMLStreamReader reader)\n throws Exception {\n SiteID object = new SiteID();\n\n int event;\n java.lang.String nillableValue = n...
[ { "docid": "b530a19227c73ba895aa904be77644d8", "score": "0.566736", "text": "StructureElement createStructureElement();", "title": "" }, { "docid": "54a623e8a8d702248f2dd79959bd217d", "score": "0.5449289", "text": "SingleElement createSingleElement();", "title": "" }, { "...
6470a46cb8daf30cc9ea06d2f442c03f
/ access modifiers changed from: packageprivate
[ { "docid": "9ecee8ea6c12b3c75fc974380c53df4e", "score": "0.0", "text": "public void a(RecyclerView recyclerView) {\n this.i = true;\n b(recyclerView);\n }", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.6846787", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "06012d51723afddd7b9003b92d7d49c3", "score": "0.6745991", "text": "protected void mo1734a() {\n }", "title": "" ...
02f40fdcb3d7e4efaca1027b70a013fd
Test case number: 202 /Coverage entropy=1.5607104090414063
[ { "docid": "08c8b5c664dd9682aee9e4a09e42b7f4", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test202() throws Throwable {\n Form form0 = new Form((String) null);\n // Undeclared exception!\n try { \n form0.blockquote();\n fail(\"Expecting exception: NullPoi...
[ { "docid": "7d99c3d84d6525e7048774bb0c237e52", "score": "0.7000703", "text": "@Test(timeout = 4000)\n public void test090() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluatio...
6917b70b663ffde41ad3e6a9f631130e
repeated .com.elarian.hera.proto.IndexMapping deletions = 4;
[ { "docid": "aa28f3b583b6bfdab77a337a063cd21f", "score": "0.6574209", "text": "private void addDeletions(com.elarian.hera.proto.CommonModel.IndexMapping value) {\n value.getClass();\n ensureDeletionsIsMutable();\n deletions_.add(value);\n }", "title": "" } ]
[ { "docid": "cbe7f21335b2701b0dfece7c93d2861d", "score": "0.7663341", "text": "com.elarian.hera.proto.CommonModel.IndexMapping getDeletions(int index);", "title": "" }, { "docid": "32d8a1a17d3939f19bbe04520e413d92", "score": "0.6760168", "text": "java.util.List<com.elarian.hera.proto....
2c932ef0b57d3772a1aa25d726b64dcd
Return this instance of LocalService so clients can call public methods
[ { "docid": "281cbcf51d0ebb6258651ced03876ec8", "score": "0.0", "text": "public MultiShimmerTemplateService getService() {\n return MultiShimmerTemplateService.this;\n }", "title": "" } ]
[ { "docid": "101b0a631e9a698d18112bb8b6f95166", "score": "0.6653199", "text": "public CommonServices getServiciosLocal() {\r\n return serviciosLocal;\r\n }", "title": "" }, { "docid": "66e9834c9ff3cc8472ed270ffe1df515", "score": "0.6500152", "text": "MyService getService() {...
4e2179ec5d7fa6e3244669751634c8ed
Constructs a stream that writes bytes to the given channel. The stream will not be buffered. The stream will be safe for access by multiple concurrent threads. Closing the stream will in turn cause the channel to be closed.
[ { "docid": "7890483f94e2b7ad0018d6b6b5c34386", "score": "0.6283916", "text": "public static OutputStream newOutputStream(AsynchronousByteChannel ch) {\n Objects.requireNonNull(ch, \"ch\");\n return new OutputStream() {\n\n private ByteBuffer bb;\n private byte[] bs; ...
[ { "docid": "6a54b0cedc70e93596aaa7cfeb1dae9d", "score": "0.69180185", "text": "public BufferedBlockingOutputStream(PitbullChannel channel)\n {\n this(channel, 8192);\n }", "title": "" }, { "docid": "054a7bc432a3ba5209f543a642d4e0a3", "score": "0.63217", "text": "void seriali...
309f59d9098263bd9d3f173feb75c237
Generate vocabulary of words from corpus
[ { "docid": "8216264b835566643c0f02120f154d8a", "score": "0.64913213", "text": "public void vocabularyGenerate (String path)\r\n\t{\r\n\t\tTextTokenizer tck = new TextTokenizer(true, true, false);\r\n\r\n\t\tList <INDArray> fvlist = new ArrayList<INDArray>();\r\n\r\n\t\tNeuralNetworkWTV wtv = new NeuralN...
[ { "docid": "f6a7ef5775305301b9719febdf9517f4", "score": "0.6375877", "text": "private void buildVocabulary(File dir) {\n\t\tfor (File f : dir.listFiles()) {\n\t\t\tif (f.isDirectory()) continue;\n\t\t\tnumberOfDocuments++;\n\t\t\tforEachLineInFile(f, scanWords);\n\t\t}\n\t}", "title": "" }, { ...
f5f7af702fff14f108e044c8bcceb3b3
Util method to write an attribute with the ns prefix
[ { "docid": "0fd05af9d8f9881fe574fedf3c32937e", "score": "0.0", "text": "private void writeAttribute(java.lang.String prefix,\n\t\t\t\tjava.lang.String namespace, java.lang.String attName,\n\t\t\t\tjava.lang.String attValue,\n\t\t\t\tjavax.xml.stream.XMLStreamWriter xmlWriter)\n\t\t\t\tthrows javax.xml.s...
[ { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.7755829", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws jav...
6130941d5350793d517236984420efaf
used for stmts with method calls where the effect of the method call should be approximated by 0 or 1 writes
[ { "docid": "a23218ccda8f8afee44072bf62c139ec", "score": "0.0", "text": "public RWSet approximatedWriteSet( SootMethod method, Stmt stmt, Value v, boolean allFields )\n\t{\n\t\tCodeBlockRWSet ret = new CodeBlockRWSet();\n\t\tif(v != null)\n\t\t{\n\t\t\tif( v instanceof Local )\n\t\t\t{\n\t\t\t\tLocal vLo...
[ { "docid": "4d25b15bac857f8b74534e84b71239a3", "score": "0.5985846", "text": "int level0SlowdownWritesTrigger();", "title": "" }, { "docid": "5d71cb1b8ac4120b7888c2abd65b7468", "score": "0.5925569", "text": "public static void beginTransmission(int writeValue) {\n\r\n }", "title...
aff21582b41de4c6995acc811de8de95
TODO: Surely this ought to be in ProposalHibernateService, not Committee?
[ { "docid": "0858298499d7bc90847eb5c70b811ac1", "score": "0.5840864", "text": "@Transactional(readOnly = true)\n public void populateProposalsWithListingInformation(final List<Proposal> proposals) {\n if (proposals.size() == 0)\n return;\n\n final Session session = sessionFact...
[ { "docid": "620d03a6d5dbe9d0240b713278b47a54", "score": "0.61796284", "text": "public interface UserProposalsService {\n\n UserProposal saveProposal(UserContext context) throws TooManyUserProposalsException;\n}", "title": "" }, { "docid": "8d223fd1214cd658a5079f6196305637", "score": "...
4a3b602ebf85cd456c8bb49ae2972749
STUDENT GET COUNT FOR UPCOMING EVENTS FOR USER
[ { "docid": "5c89f9b0492dae93fd91ce915ccc0d74", "score": "0.64530987", "text": "public int getCountOfMostUpcomingUserEvents(long userId);", "title": "" } ]
[ { "docid": "00711b30c08ab37408c9862b6316b95c", "score": "0.7025683", "text": "long getJoinedEventsCount();", "title": "" }, { "docid": "7cd2e2d9b476d7b5f93a297120cd0019", "score": "0.69637257", "text": "int getStudentCount();", "title": "" }, { "docid": "d2c3daf4df6d4c907...
eaa155ea01c49d2226d9897c4fcbff70
does the system percolate?
[ { "docid": "ae45ce16366c3ad4f789c4772f5d5ba5", "score": "0.0", "text": "public boolean percolates() {\n return backwash.connected(0, sites.length-1);\n }", "title": "" } ]
[ { "docid": "ccaf5f7aff0d6de105f523c68f63383c", "score": "0.58870095", "text": "private void cathc() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2866e16526a9e070e7cdfd301b025bfc", "score": "0.57403356", "text": "public boolean percolates() {\r\n\t\treturn false;\r\n\r\n\t}", "titl...
73689edc31bd37d9934799128516d905
Add a heading at the specified row. this spans all columns
[ { "docid": "eba4979d13ce5ba9bca733b38c2e8255", "score": "0.7760805", "text": "public void addHeading(String heading, int row) {\n layoutComponents.add(new LayoutComponent(heading, 0, row, null));\n }", "title": "" } ]
[ { "docid": "af6500f954c40df77a6fae034f7c30d7", "score": "0.6533459", "text": "private void setHeaderRow() {\n table.getRowFormatter().setStyleName(0, \"ode-ProjectHeaderRow\");\n\n HorizontalPanel reportHeader = new HorizontalPanel();\n final Label reportHeaderLabel = new Label(MESSAGES.moderat...
d793eb6309aff3472a329016d19fd927
TEST1 Foo By Call
[ { "docid": "414629507a30368d4603f6becfe8bb1b", "score": "0.0", "text": "private static final void testWithoutClose(final int iterations, final boolean outputAsCSV, final boolean inNs) {\n final long start1 = time(inNs);\n for(int i = 0; i < iterations; i++) {\n final FooByCall f...
[ { "docid": "e5828ad7d1a2a99f24f344677b99fd12", "score": "0.7087784", "text": "public void test1() {\n\t\t\n\t}", "title": "" }, { "docid": "1afdbce1a390874c7517a422d053b10d", "score": "0.7006848", "text": "public void test1()\n\t{\n\t}", "title": "" }, { "docid": "5462429...
5d7817153f1a24a9608023564417dd49
Gets the hash code.
[ { "docid": "0be086953915f6b0bea1c4b581bd0da3", "score": "0.0", "text": "@Override\n public int hashCode() {\n return this.hashCode;\n }", "title": "" } ]
[ { "docid": "09187918bd863cafb305af206f379dcb", "score": "0.8247316", "text": "public Integer getHashcode() {\r\n\t\treturn hashcode;\r\n\t}", "title": "" }, { "docid": "8bdc836c48f3825c18126df6505229a0", "score": "0.82236314", "text": "java.lang.String getCodeHash();", "title": "...
c8c635652d6811a937df005eb799605e
return WikiUtils.getWikiURL(wlh2, action, null);
[ { "docid": "7a0c2fd7d66e0eaecc784876736bb614", "score": "0.70336306", "text": "public static String decipherURL(WikiLinkHolder wlh2, String action) {\n return decipherURL(wlh2, action, (Map) null);\r\n }", "title": "" } ]
[ { "docid": "d741533e7dde27957007cc23bbc79bc5", "score": "0.7331492", "text": "String getComponentWikiURL();", "title": "" }, { "docid": "728a44fd7b9bc4cdfe010b2956189c78", "score": "0.62966776", "text": "public static String decipherURL(WikiLinkHolder wlh2, String action, Map extrapa...
bafaa553d7e927c84e55c5db863da77c
NOTE: placing this in different place cause some weird behavior Ex: android.support.v7.widget.ActionBarOverlayLayout$LayoutParams cannot be cast to com.android.internal.widget.ActionBarOverlayLayout$LayoutParams
[ { "docid": "83ed141dbca188cc60a2818e1d792747", "score": "0.0", "text": "private void hideActionBar(Activity context) {\r\n // we must set theme before ui instantiation\r\n context.setTheme(R.style.SimpleUITheme);\r\n }", "title": "" } ]
[ { "docid": "be5db65ed58f37f199a9b5a96cb8f479", "score": "0.6316875", "text": "private void m1496a(View view) {\n this.f1113b = (ActionBarOverlayLayout) view.findViewById(R.id.decor_content_parent);\n if (this.f1113b != null) {\n this.f1113b.setActionBarVisibilityCallback(this);\...
aa0b28db31196d3008fae5a63e337731
This method was generated by Apache iBATIS ibator. This method sets the value of the database column get_prize.get_time
[ { "docid": "1e7961432addf2fb7d8924d1079f7d6b", "score": "0.61423415", "text": "public void setGetTime(Date getTime) {\n this.getTime = getTime;\n }", "title": "" } ]
[ { "docid": "553f4d897accde6888c4835e9822ded3", "score": "0.69907176", "text": "public Date getPrizeTime() {\n return prizeTime;\n }", "title": "" }, { "docid": "026f8fd07e05940d55da6ae30404e58e", "score": "0.6719775", "text": "public void setPrizeTime(Date prizeTime) {\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a0a7b5afdfd8852ccc466023e06db180", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t\tIphone ip =new Iphone();\n\t\t ip.cost();\n\t\t ip.colour();\n\t\t ip.Batterylife();\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
edbb006abe59d33839439a44409eb792
//////////////////////////// Public Methods //////////////////////////// Getters, setters, etc.
[ { "docid": "09cc5f61bb251eb1774c14f78abe5005", "score": "0.0", "text": "public boolean isEmpty(){\n /**\n ** isEmpty() determines whether there are any items currently in the \n ** PriorityQueue. \n **\n ** @return boolean True if the PriorityQueue is empty; otherwise false\...
[ { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.634427", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.634427", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" ...
1b4d2bd8dbb05a5a3d7d510456d97276
Sets the object's key.
[ { "docid": "5ff4a8ee117a116eafd7b20e89458b53", "score": "0.7356025", "text": "public void setKey(String key) {\r\n\t\tthis.key = key;\r\n\t}", "title": "" } ]
[ { "docid": "233cdf065be25b92cdd047c8e3a2c451", "score": "0.7932384", "text": "public void setKey(K key)\n {\n this.key = key;\n }", "title": "" }, { "docid": "3352b5d723ea1097e1f52307cb210eec", "score": "0.7734306", "text": "@Override\n\tpublic void setKey(Object key) {\n\t\t\n\...
a9c4084a11706ee1e7d9746b9b746805
flip sender and rcvr
[ { "docid": "07b4d3fdc91bf21977e074da504d3589", "score": "0.7133415", "text": "protected NodeIDType flip(NodeIDType rcvr) {\n\t\tNodeIDType prevSender = this.sender;\n\t\tthis.sender = rcvr;\n\t\treturn prevSender;\n\t}", "title": "" } ]
[ { "docid": "78fb229159f9bc99f991382116912e81", "score": "0.57131195", "text": "public void setSender(byte[] sender);", "title": "" }, { "docid": "92537c2dd5820b56a60a4c74daf43700", "score": "0.5616329", "text": "public void sendSwapFloors() {\n\n if (firstSwap.getValue() != nu...
b2ad4649e24f193a413c3f46d4b23c9e
Calculates the diameter of the tree
[ { "docid": "dc2f2c369562bf8b413003bf4c3ce530", "score": "0.7955178", "text": "public int diameter(){\n\t\tif (root==null) return 0;\n\t\telse\n\t\t\treturn _diameter(root);\n\t}", "title": "" } ]
[ { "docid": "a0982339b5ee774936e60a445a150512", "score": "0.78608197", "text": "int diameter()\r\n {\r\n int diam = N-1; //initialization\r\n bfs(0);\r\n int node1 = last;\r\n bfs(node1);\r\n int node2 = last;\r\n int dist = distance(node1,node2);\r\n ...
83c99129a49020d6657380896395ade5
checks to see if it will give false given an item not in the market
[ { "docid": "8dc2a04480132c4f67858e6394bf81e5", "score": "0.60528654", "text": "@Test\n public void ItemNotInCargoHold() {\n CargoHold test1 = new CargoHold(20);\n test1.putItem(\"Water\", 5);\n test1.putItem(\"Robot \", 10);\n Assert.assertTrue(!test1.takeCheck(\"Ore\",4))...
[ { "docid": "c100d954f0e460715abf5a40d905c227", "score": "0.7238291", "text": "private boolean cannotTrade(String username, List<Item> userItem){\n try{\n if(!userManager.getCanTrade(username, tradeManager.getBorrowedTimes(username),\n tradeManager.getLendTimes(userna...
867cbcbf95d48304b384b3ab22b5aaca
Get list of cells.
[ { "docid": "9f9b33c60b59a5888b78ae0f7319bae5", "score": "0.86661446", "text": "Collection<Cell> getCells();", "title": "" } ]
[ { "docid": "d8cfd1a45395ff786a5770370fad9ec1", "score": "0.8278321", "text": "Cell[] getCells();", "title": "" }, { "docid": "c296e71e8fa526c1b139b82e869f122a", "score": "0.8239385", "text": "List<T> getAllCells();", "title": "" }, { "docid": "8cfd1588cabaa38962b04ee9a1ae...
501e2c1946b5437ebbe63bd85e79add1
Sets the cluster id for this article.
[ { "docid": "0cef017bae708796364eaaae4b6aaac8", "score": "0.7537167", "text": "public void setClusterId(int clusterId) {\n this.clusterId = clusterId;\n }", "title": "" } ]
[ { "docid": "1ad282c9e9537d1c2eeeb67510cdaeda", "score": "0.73128486", "text": "public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }...
834796b903b3f5ffd08af5f0c3537127
Changing the background color, smiley image and playing the music note according to the mood
[ { "docid": "6a4a96e703a07b33f69e39524afe7fe6", "score": "0.7232994", "text": "private void changeMood() {\n switch (mCurrentMood) {\n case 0:\n mBackground.setBackgroundColor(getResources().getColor(R.color.faded_red));\n mSmiley.setImageDrawable(getResour...
[ { "docid": "d44b05f64723e6306118bd5a8181bdb6", "score": "0.6699471", "text": "WorldImage drawMusic() {\r\n WorldImage musicImg = new TextImage(\"Press ENTER to start music\", FloodGame.FONT_SIZE,\r\n Color.MAGENTA);\r\n WorldImage rect = new RectangleImage(FloodGame.CELL_SIZE * this.gridSiz...
35ca63eb8815d364570095143e781c91
Converts the ticks of a .net System.DateTime to a java.util.Date
[ { "docid": "fc5390bb4eabb905a0438f5800c8ac96", "score": "0.6852495", "text": "public static Date ticksToDate(long ticks) {\n return new Date((ticks - beginUnixEpoche) / ticksPerMs);\n }", "title": "" } ]
[ { "docid": "d16055decdfe180cd86a4360225d0403", "score": "0.6082033", "text": "public static java.util.Date toUtilDate(Object value) {\n if (value == null) {\n return null;\n }\n if (value instanceof java.sql.Timestamp) {\n // loss of nanos precision\n return new java.util.Date(((...
60adca91b0bbc1a4e1555f3343ddbaa6
Encodes the String values in the Map using the default encoding, UTF8. The Map is structurally similar to a key/value data store but with the contents from an HTML form. Keys with String values are searched and encoded, which then get repaired with the same Key.
[ { "docid": "449a210ecaeccabbe829212a05c8a5df", "score": "0.6698155", "text": "public static Map<String, Object> encode(final Map<String, Object> form) {\n return encode(form, DEFAULT_ENCODING);\n }", "title": "" } ]
[ { "docid": "207d56184db2baa541165c17c3cf971c", "score": "0.6943082", "text": "public static Map<String, Object> encode(final Map<String, Object> form, final String encoding) {\n if (form != null) {\n for (final String key : form.keySet()) {\n final Object value = form.get(key);\n i...
61ab8c9158ad1077a709322a90e4125f
/ if a client changed from oldRoom to newRoom we need to change its entry in the frame
[ { "docid": "502792bd1879a4d97269fd58747192ec", "score": "0.72063684", "text": "public void changeRoom(ServerClientThread client, String oldRoom, String newRoom) {\n\t\tString message = client.getUsername() + \" (\" + client.getNickname() + \") \";\n\t\tString oldMessage = message + \"[\" + oldRoom + \"]...
[ { "docid": "36d3c99814537473a597d26918f71bd5", "score": "0.67452496", "text": "@Override\n public void onRoomChange() {\n }", "title": "" }, { "docid": "f6db44fb8aedb84b46b4da04897a7656", "score": "0.65176374", "text": "public void setRoom(String newVal) {\n if ((newVal ...
7f051889dbc29c21562357aceccaeefd
/ returns a String with the values in the list in a friendly format, for example [Apple, Banana, Cucumber] The values are enclosed in [], separated by one comma and one space.
[ { "docid": "1bf8b2f27d34bde321f753e4513269e3", "score": "0.0", "text": "public String toString()\r\n {\r\n String ret = \"[\" + head.getNext().getValue() + \", \";\r\n for(int k = 1; k < size-1; k++)\r\n ret += get(k) + \", \";\r\n ret += get(size-1) + \"]\";\r\n return ret...
[ { "docid": "5fe48feb2153799a8c39629d124c0974", "score": "0.73274827", "text": "private String printListValues() {\n return \"(\" + lista.stream()\n .collect(Collectors.joining(\" \")) + \")\";\n }", "title": "" }, { "docid": "b43698cc12c7f57b02d4e665ff6277dd", "s...
9201679641e2a021823c4f83dca4875b
Gets the value of the 'products' field.
[ { "docid": "93355982704592a34b0d91be8a419807", "score": "0.683266", "text": "public java.util.List<io.neirth.nestedapi.Invoices.Schemas.ProductObj> getProducts() {\n return products;\n }", "title": "" } ]
[ { "docid": "f72f14e5b47e873bb91f647ee7fc9088", "score": "0.7473138", "text": "public java.lang.String getProduct() {\r\n return product;\r\n }", "title": "" }, { "docid": "cef85b4b11d29c9e5a3c3d5b47d52ae3", "score": "0.7461278", "text": "public java.lang.String getProduct()...
8c29dd2308c43e9522b0df10b461cf45
Opens the database with write access.
[ { "docid": "7da0954e9d62870f4e856c81d276645a", "score": "0.6607767", "text": "public void open() {\n if (db == null || !db.isOpen()) {\n db = dbHelper.getWritableDatabase();\n }\n }", "title": "" } ]
[ { "docid": "9822b54cd0e3a9f8d888386a27883c87", "score": "0.7313751", "text": "public NSQLiteAdapter openToWrite() throws android.database.SQLException {\r\n\t\t sqLiteHelper = new SQLiteHelper(context, MYDATABASE_NAME, null, CURRENT_VERSION);\r\n\t\t sqLiteDatabase = sqLiteHelper.getWritableDatabase();\...
94b01a0d54915a9551eeefee1857d803
What happens when the video is paused gets the current time of the video
[ { "docid": "66c18e9342aadd9b4da39628acc188bc", "score": "0.0", "text": "@Override\n protected void onPause() {\n Log.d(TAG, \"onPause: onStart\");\n super.onPause();\n\n if (mSimpleExoPlayerView != null && mSimpleExoPlayerView.getPlayer() != null) {\n mResumeWindow = m...
[ { "docid": "e18bb192b428c3b0bfec4a50cb010921", "score": "0.68166906", "text": "@Override\n public void onVideoStarted() {\n displayCurrentTime();\n }", "title": "" }, { "docid": "6ee7352073e43aa8ff6e8193bbd0c438", "score": "0.6727555", "text": "boolean isPaus...
76919ee0be45a53f7edaecbd168597ed
toDate for format 2
[ { "docid": "805d369235d53b18699b2414d72313da", "score": "0.57800096", "text": "public static Date toDateFormat_2(String dateString) {\r\n\t\treturn stringToDate(dateString, DATE_FORMAT_2);\r\n\t}", "title": "" } ]
[ { "docid": "9db26e76a7ebb6a2a7420e1e4e839e11", "score": "0.6781247", "text": "java.lang.String getToDate();", "title": "" }, { "docid": "48cc3ee5843a6e5cd58039dd626a6718", "score": "0.61988217", "text": "DateFormat getSourceDateFormat();", "title": "" }, { "docid": "11756...
bd61e8de8eb4efc639302abde54bf1a0
Deleting single favourite item
[ { "docid": "456b6a316ff6c4752b75ec2c8eb7d92c", "score": "0.7200086", "text": "public void deleteFavourite(String truyenid) {\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n db.delete(TABLE_FAVOURITES, KEY_TRUYENID + \" = ?\",\r\n new String[] { truyenid });\r\n ...
[ { "docid": "a0ac885d0cb0e87914bfbac116136940", "score": "0.8381308", "text": "@Delete\n void ItemDelete(favouriteItem item);", "title": "" }, { "docid": "ab2a66faeea20bfaf0b91c30d4e32387", "score": "0.7878253", "text": "public void deleteFavourite(SearchItem searchItem) {\n ...
da8cc4efdaf22d732b34b95782da9e2a
this is for clearing the welcome and introduction of mafia and dr to mayor etc...
[ { "docid": "b5466735f23d4dfc03671e870f444bfe", "score": "0.0", "text": "@Override\n public boolean run() {\n this.narrator.broadcast(SocketDataSender.SAVE_AND_CLEAR_CHAT, this.gameServer.getReadyPlayers());\n this.narrator.broadcast(SocketDataSender.CLEAR_NEWS, this.gameServer.getReadyPlayers());...
[ { "docid": "31baff1e9ec597363240223bd44d7428", "score": "0.6350197", "text": "public void clear( )\r\n\t{\r\n\t\tthis.setMiscPanel( null );\r\n\t\tthis.bu_help.setVisible( false );\r\n\t\tthis.l_info.setText( \"\" );\r\n\t}", "title": "" }, { "docid": "51fb0f9e70d623bc0fb7a262cc2e538a", ...
d92e9a329591a5b4fb3c159c2869aa17
optional float depth = 2; float depth, meters from surface
[ { "docid": "9dc381fb8a8b6c4e0ee90cfc457c06f3", "score": "0.0", "text": "public boolean hasDepth() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" } ]
[ { "docid": "3b705a986a73ab26506778c7e53fd4ba", "score": "0.75670034", "text": "float getDepth();", "title": "" }, { "docid": "3b705a986a73ab26506778c7e53fd4ba", "score": "0.75670034", "text": "float getDepth();", "title": "" }, { "docid": "be057e7882b44c641cc8b5150117ad04...
b4c958108351175c433ef3a3d6ac5887
Removes all the dm history goodses where goodsItemCode = &63; from the database.
[ { "docid": "7bb6183becf4edab3a46d93db3e4f9ed", "score": "0.7235686", "text": "@Override\n\tpublic void removeByGoodsItemCode(String goodsItemCode)\n\t\tthrows SystemException {\n\t\tfor (DmHistoryGoods dmHistoryGoods : findByGoodsItemCode(\n\t\t\t\tgoodsItemCode, QueryUtil.ALL_POS, QueryUtil.ALL_POS, nu...
[ { "docid": "442282098a0d09a3dab9a4dffe7e5bc7", "score": "0.61311275", "text": "@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (DmHistoryGoods dmHistoryGoods : findAll()) {\n\t\t\tremove(dmHistoryGoods);\n\t\t}\n\t}", "title": "" }, { "docid": "6284a2de5aa33199f17a3f8a...
8b629810da27da9aa76bf426cdfd1d35
Count down the consumer latch.
[ { "docid": "36d7a15edd355d7e973d36aa060d815a", "score": "0.87444377", "text": "public static void consumerLatchCountDown() {\n consumerLatch.countDown();\n }", "title": "" } ]
[ { "docid": "ed94cc9f9c385c4d58a4e291f2865cbe", "score": "0.7314338", "text": "public static void producerLatchCountDown() {\n producerLatch.countDown();\n }", "title": "" }, { "docid": "71ca4129bc780c070f72eb3ebb22c80d", "score": "0.6805602", "text": "public void nuke() {\n ...
f6147753d7b316273b2efe5c185ccdca
Answers with a new map in which prefixes do not contain dots as in the Jena inner NS j.0, j.1, etc. This method also removes duplicate entries, keeping the one with the longest key i.e., prefix.
[ { "docid": "0f9dce9968cfbc0c5470ba6e5f140e88", "score": "0.71234447", "text": "public static Map<String, String> fixNsPrefixes(Map<String, String> nsPrefixMap) {\n\t\t// remove duplicate NS-s, keep the longer ones.\n\t\tMap<String, String> inverse = new HashMap<String, String>();\n\t\tboolean hasDuplica...
[ { "docid": "ff73aba1150a2b499419d67201e51781", "score": "0.66054463", "text": "public Map<String,List<String>> getNamespaceToPrefixesMap();", "title": "" }, { "docid": "8b2c509a2c8018af5ff4b55a71db4b0d", "score": "0.645271", "text": "@NotNull\n Map<String, String> getPrefixMap();"...
6ad1ebbb8fb6b0e6d249dcabf3e1ba4d
$ANTLR end annotType $ANTLR start simpleType /Users/bhoward/workspace/ScalesSubset/ScalaSubset.g:169:1: simpleType : stableID ( typeArgs ) ;
[ { "docid": "ef607b37142fe9d9883bcb6141e40f7f", "score": "0.8452057", "text": "public final void simpleType() throws RecognitionException {\n try {\n // /Users/bhoward/workspace/ScalesSubset/ScalaSubset.g:170:2: ( stableID ( typeArgs )* )\n // /Users/bhoward/workspace/ScalesS...
[ { "docid": "d1b5a4bd9b1b18e6ce333f672cf5dfc0", "score": "0.64623034", "text": "public final void annotType() throws RecognitionException {\n try {\n // /Users/bhoward/workspace/ScalesSubset/ScalaSubset.g:166:2: ( simpleType )\n // /Users/bhoward/workspace/ScalesSubset/ScalaS...
05755ee744e68d31543fcceca2ce90ce
System.out.println("WindowListener method called: windowDeactivated.");
[ { "docid": "f9b89a4fdec88db2db59442e1193a183", "score": "0.8566002", "text": "public void windowDeactivated(WindowEvent e) {\n }", "title": "" } ]
[ { "docid": "f53cb47357f5fb747aaeee8b83707ff2", "score": "0.8662964", "text": "public void windowDeactivated(WindowEvent arg0) {\n}", "title": "" }, { "docid": "1be51a081e9b706c57adb884206c0ad4", "score": "0.86433524", "text": "public void windowDeactivated(WindowEvent e) { }", "t...
8a0afba9209dd5e51ea2c66fbe568a57
/ / / / / / / / / / / /
[ { "docid": "766967becb614220ec8035f053f451ae", "score": "0.0", "text": "public Image getSubImage(int x, int y, int width, int height) {\n/* 955 */ init();\n/* */ \n/* 957 */ float newTextureOffsetX = x / this.width * this.textureWidth + this.textureOffsetX;\n/* 958 */ float newTe...
[ { "docid": "c4947249f564a8b23a47e2c447581677", "score": "0.5708909", "text": "private static void divide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ccaf5f7aff0d6de105f523c68f63383c", "score": "0.5338361", "text": "private void cathc() {\n\t\t\r\n\t}", "title": "" }, { ...
4164dc60a01dcf02f9e3176ffa3f1e95
This method was generated by MyBatis Generator. This method sets the value of the database column gc_pay_order_info.member_name
[ { "docid": "f705f5b0bc570b050ded66c15423673a", "score": "0.65637034", "text": "public void setMemberName(String memberName) {\n this.memberName = memberName;\n }", "title": "" } ]
[ { "docid": "bea3fbd8baf51884987a9c9fa202a004", "score": "0.6422512", "text": "public void setMemberName(String memberName) {\n this.memberName = memberName == null ? null : memberName.trim();\n }", "title": "" }, { "docid": "6ebad306eb2722e07d8e127b26fef637", "score": "0.641247...
b62bd3b501a8c438fc91d664bc6b9183
Begins definition for a new PreviewSubscription resource.
[ { "docid": "2826671352ee9a7b13ed1ae568fe8b79", "score": "0.72081715", "text": "PreviewSubscription.DefinitionStages.Blank define(String name);", "title": "" } ]
[ { "docid": "efaa1c05cbe9fc82b377e82cbf3a15f2", "score": "0.58504", "text": "Subscription createSubscription();", "title": "" }, { "docid": "5b224c95e5b61db8dacfcd41672e89a4", "score": "0.56412196", "text": "private void startPreview() {\n SurfaceTexture surfaceTexture = mTextu...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "110c081467d8cc1c168bbc825c3e2cad", "score": "0.0", "text": "public void addClassToTeacher(Classes teacher_class) {\n db.addClassToTeacher(teacher_class);\n }", "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...
2e77399be90b62c61d5b0d5e7308f234
<< define StrINPOLineInvQuantityOnHold $$GetPropertyName^COMConst("INPOLine",20)
[ { "docid": "b32c4dcaa8c4d540c380b0196c385e64", "score": "0.8356278", "text": "public static Object $$$StrINPOLineInvQuantityOnHold(mContext m$) {\n return (m$.fnc$(\"COMConst.GetPropertyName\",\"INPOLine\",20));\n }", "title": "" } ]
[ { "docid": "cc28e41a97edeab11674bb44c84d7b60", "score": "0.823564", "text": "public static Object $$$StrINPOLineInvQuantityScrapped(mContext m$) {\n return (m$.fnc$(\"COMConst.GetPropertyName\",\"INPOLine\",19));\n }", "title": "" }, { "docid": "b2a677a3218363228a40c9eeaa2fdcca", "sc...
d9ba87b3f7868766df761073b9a34469
Store the listView to display the data to the user
[ { "docid": "e2c4a326e19f1abe77495cefa3a36f53", "score": "0.0", "text": "@Override\n public void passQuestionListView(ListView questionListView) {\n this.questionListView = questionListView;\n }", "title": "" } ]
[ { "docid": "3ec398086163f04fddf9c6c29f4ca975", "score": "0.7268456", "text": "private void createListView() {\n\t\tfinal ListView listview = (ListView) findViewById(R.id.list1);\n\t\t// Load data from file and show every item in list view\n\t\tWorkoutData[] data = new WorkoutHistory().loadWorkoutData(th...
bc0fa2a565db9f6ee38929bf624ff5b7
/ 'const' type ('.' referenceExpression)? arguments
[ { "docid": "e5741c8d6f67ba9d7196fe780c01d1a4", "score": "0.480261", "text": "public static boolean constConstructorExpression(PsiBuilder builder_, int level_) {\n if (!recursion_guard_(builder_, level_, \"constConstructorExpression\")) return false;\n if (!nextTokenIs(builder_, CONST)) return fals...
[ { "docid": "ad52e8a7c44815f52a27c48c11d19f59", "score": "0.6489862", "text": "@Override\r\n public void visit(ConstantExpression constantExpression) {\n\r\n }", "title": "" }, { "docid": "c7f737fcebaa7fb4891ecbb12a681faa", "score": "0.59183383", "text": "@Override\n\tpublic Obj...
fdeae855a3e2fb7fe42e1a86eced7353
Creates a new api ai data with the primary key. Does not add the api ai data to the database.
[ { "docid": "f4600427616e19c32924cbbce798951b", "score": "0.7321021", "text": "public static ApiAiData create(long apiAiDataId) {\n\t\treturn getPersistence().create(apiAiDataId);\n\t}", "title": "" } ]
[ { "docid": "04eed67df52a888aeebef5b6f28aef48", "score": "0.61315674", "text": "void insert(OpenApi record);", "title": "" }, { "docid": "e8aeedf9f3921dc9a39730d8d2c15432", "score": "0.5818042", "text": "@RequestMapping(method = RequestMethod.POST, value = \"/creator\")\n public Re...
9655f475212bccb41dc172744b43a9f2
Cleans up the game components
[ { "docid": "50be536b6beef2baa331d031804b68a9", "score": "0.0", "text": "public void terminate() {\n screen.closeScreen();\n }", "title": "" } ]
[ { "docid": "d9f38b783128d67d4f3c48106d28c75c", "score": "0.72872806", "text": "public void cleanup() {\n mParentLayout.removeView(mContainer);\n mControlsVisible.clear();\n }", "title": "" }, { "docid": "cefae0d69602c9eb334a01a6f066db0e", "score": "0.72150844", "text...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f6409c1b076113bf69d3f6e09fb427e4", "score": "0.0", "text": "@Override\r\n\tpublic void update(ConstPO po) throws RemoteException {\n\t\tSystem.out.println(\"Update Succeed!\\n\");\r\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
be06e4c642299ef8e46768fc5f5df74c
Creates new form AdminPage
[ { "docid": "fe08f2fc4be9d7685ce1e04430adc247", "score": "0.64026284", "text": "public AdminPage() {\n initComponents();\n }", "title": "" } ]
[ { "docid": "14747d4eb8139b709ca3909c2bec5ffc", "score": "0.6739049", "text": "private void constructPage() {\n\t\tfinal Form<TestSampleMenuPage> form = new Form<TestSampleMenuPage>(\"sampleForm\",\n\t\t\tnew CompoundPropertyModel<TestSampleMenuPage>(this));\n\t\tform.add(new FeedbackPanel(\"errorMessage...
7762af9a269d35576587969b4dcc1955
This method is used to set the proper contact ID on the choice box
[ { "docid": "d7b4f1bc9308d3b2969d92e8500c3cd6", "score": "0.8095074", "text": "public void setContactIdForAppointments() {\n System.out.println(\"Clicked the ChoiceBox!\");\n try {\n ContactIDList.clear();\n PreparedStatement statementStateChoice = Conn2MySQL.getConnec...
[ { "docid": "c43d3d033bb4371fb0c684e35d117052", "score": "0.7197572", "text": "public void setContactID(int value) {\n this.contactID = value;\n }", "title": "" }, { "docid": "5f57721909cea82d13b987a94927b32c", "score": "0.6776003", "text": "public void setCu...
0e34f4eedecead16d76b302e19031515
Gets the indexed values property.
[ { "docid": "30bc0fccf03367e71cbfc103f71bde18", "score": "0.0", "text": "public double getValues(int i)\n { \n if (0 <= i && i < values.length) return values[i];\n return 0;\n }", "title": "" } ]
[ { "docid": "c00a1322d027ffc0f614c501807e12be", "score": "0.7186527", "text": "public int getValues(int index) {\n return values_.get(index);\n }", "title": "" }, { "docid": "49e98664d24b45560db80a37b19117d6", "score": "0.7159591", "text": "public int getValues(int index) {\n ...
5e56523613a8bebb07ce9998c5122922
ExcelDataProvider excel = new ExcelDataProvider();
[ { "docid": "2ae1fcc9101f562699af92af01d2b2d2", "score": "0.0", "text": "@Test(priority=2)\r\n\tpublic void logoutApp()\r\n\t{\n\t\tlogger = report.createTest(\"logout to app\");\r\n\t\tlogger.fail(\"logout failed\");\r\n\r\n\r\n\t}", "title": "" } ]
[ { "docid": "4898856b860eb4e0112faee9613b7e53", "score": "0.7011815", "text": "@DataProvider\npublic Iterator<Object[]> getdata() \n{\n\tArrayList<Object[]> testdata=TestUtil.getDataFromExcel(\"signup\");\n return testdata.iterator(); \n}", "title": "" }, { "docid": "d108a618079376284420...
028017845362211c79e0944e2a9d33dc
Sets the height of the header section for each node, in pixels (can be zero).
[ { "docid": "10ea77556abe18935fc895cb8e53518b", "score": "0.6643202", "text": "public final native void setHeaderHeight(int headerHeight) /*-{\n\t\tthis.headerHeight = headerHeight;\n\t}-*/;", "title": "" } ]
[ { "docid": "a4e3e496b2ffcc21d12394a26db82480", "score": "0.64419156", "text": "private void setNodeHeight(int newHeightValue){\n nodeHeight = newHeightValue;\n }", "title": "" }, { "docid": "dc9f65ebd321b62884f72cd5e9e440ea", "score": "0.63142914", "text": "public v...
cc1f4a6a33ab2f93f983e700068aaf54
find by id, first name, last name and email
[ { "docid": "a27cc737e5c56cb5d2ffd864ff31d867", "score": "0.75983495", "text": "public List<User> findByIdLastFirstNameAndEmail(Integer id,String firstName, String lastName, String email) throws Exception;", "title": "" } ]
[ { "docid": "0e53742ff6ddffe1361c147cfdb02ac0", "score": "0.6891988", "text": "List<Employee> findAllByFirstNameAndLastNameOrEmail(String firstName, String lastName, String email);", "title": "" }, { "docid": "632bec83cb787303d7e267f6e693fb83", "score": "0.6797443", "text": "Person fi...
4a495ab4c907d8fa11e3dad5d39cf7c8
getter method is private because only outer class can access it
[ { "docid": "64e0e570baed0baf14c7292a8c4999c4", "score": "0.0", "text": "private ArrayList<Foods> getFoods() {\n return foods;\n }", "title": "" } ]
[ { "docid": "b4088624f78894932148012ab4ab118c", "score": "0.67112917", "text": "private InnerClass() {\n // get enclosing class field\n int local = topPrivateValue;\n // another way to get enclosing class field\n local = InnerClassesExampleTest.this.topPrivateV...
28907be9bf4998322d3c993ac0ed5dd7
This sample hard codes geofence data. A real app might dynamically create geofences based on the user's location.
[ { "docid": "328a9515dc5388e8b656d11bc278516a", "score": "0.70867074", "text": "public void populateGeofenceList() {\n for (Map.Entry<String, LatLng> entry : Constants.BAY_AREA_LANDMARKS.entrySet()) {\n\n mGeofenceList.add(new Geofence.Builder()\n // Set the request I...
[ { "docid": "f808de1e8dae9c9943a73f522c9f6a1a", "score": "0.66841835", "text": "private void startGeofence() {\n\t\tLog.i(TAG, \"startGeofence()\");\n\t\tgeoClient = LocationServices.getGeofencingClient(this);\n\t\tgeofences = new ArrayList<Geofence>();\n\t\tfor(String place : geofenceInfo.keySet()) {\n\...
6b0d68eb24b44de354654bd95bf903f5
Returns case identifier of this case.
[ { "docid": "ed4d4b921c97b14c4277c70cf214e224", "score": "0.8113484", "text": "String getCaseId();", "title": "" } ]
[ { "docid": "b8e4215a71de1e8aae346a86c59c0b85", "score": "0.7711074", "text": "public String getCaseID();", "title": "" }, { "docid": "2278987ae72c5edab34a30af23bff0d1", "score": "0.7622969", "text": "public String getCaseId() {\n return caseId;\n }", "title": "" }, ...
03850ed4d4929866f89e9d41ddd1ca99
Display the user's information in a textview
[ { "docid": "8b6722d15b3a6b5e3a603234602441b2", "score": "0.81161344", "text": "private void createView(){\n String text = \"\";\n text += \"Name: \" + user.getName() + \"\\n\";\n text += \"Email: \" + user.getEmail() + \"\\n\";\n text += \"Bio: \\n\\n\" + user.getBio();\n\n ...
[ { "docid": "6eb8ffc1bc0b3b5d7736f46b4803ec96", "score": "0.7260257", "text": "private void setUserString() { \t\n \tString user = AuthenticatorActivity.getUserName();\n \tTextView userID = (TextView) this.findViewById(R.id.holdUsername); \t\n \tif (user==null){\n \t\tuserID.setText(R.s...
1bf89447b80ec86ff401a389c9f91f7d
/ access modifiers changed from: protected
[ { "docid": "83c27c7959dc10fba9b6f0e179b07c9c", "score": "0.0", "text": "public boolean mobileUsingGooglePlayServices() {\n boolean booleanValue;\n synchronized (_usingGooglePlayServicesMutex) {\n if (this._usingGooglePlayServices == null) {\n this._usingGooglePlay...
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68727666", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "534c466f09845319b9edaf959a891c09", "score": "0.68639606", "text": "@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c24fcd7b256aec08717090d2fab3546f", "score": "0.0", "text": "@Override\n\tpublic Object[] toArray() {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
2921a796c1755dd1a32652454e13edce
Created by zhouzhuo on 11/23/15.
[ { "docid": "a80ccbb9065bf02053df646d673a90f7", "score": "0.0", "text": "public interface ResponseParser<T extends OSSResult> {\n\n public T parse(ResponseMessage response) throws IOException;\n}", "title": "" } ]
[ { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.70551145", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.6987449", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }...
4d97bb14da5263fac5dc740cec59411d
An object that describes the location of the detected security vulnerability in your code.
[ { "docid": "19707a75ed94762c04a7cd902c9be9fd", "score": "0.0", "text": "public void setFilePath(FilePath filePath) {\n this.filePath = filePath;\n }", "title": "" } ]
[ { "docid": "6f6e6212396be5835d0af1f8740d32ac", "score": "0.53323174", "text": "@Override\r\n public String[] getLocation() {\n String[] loc = {};\r\n return loc;\r\n }", "title": "" }, { "docid": "e9d3c1244ad7a973b8ec799f576ed4f3", "score": "0.53110117", "text": "...
dae3984b2cd51c8f673a52829115fdbb
Gets the API version
[ { "docid": "d8c525c0c4cc0a206d7a142e657c86f6", "score": "0.83019173", "text": "double getApiVersion();", "title": "" } ]
[ { "docid": "c58cc5216b6948612b1669792ab0d758", "score": "0.8421029", "text": "public static String getAPI_VERSION() {\n return API_VERSION;\n }", "title": "" }, { "docid": "57169a15e871a0f5f7e7ec8f326507e6", "score": "0.808095", "text": "public static String getApiVersion() {\n ...
8f6977e746c50773a07a72a86d30f5dd
Used by getTools to recursively build an array list of the tools stored in the specified nodes and their children
[ { "docid": "a2b1b0ee5b3f2cf80140de83a37a0c97", "score": "0.5762412", "text": "private void recurseTools(DefaultMutableTreeNode node, ArrayList list, String pack, boolean repackage) {\n if (node.getUserObject() instanceof String) {\n if (!pack.equals(\"\")) {\n pack += \"...
[ { "docid": "487efb00e965d9530ba62a5cd6e15f41", "score": "0.62515163", "text": "private void recurseTools(DefaultMutableTreeNode[] nodes, ArrayList list, boolean repackage) {\n for (int count = 0; count < nodes.length; count++) {\n recurseTools(nodes[count], list, \"\", repackage);\n ...
bfe440d82188d6de88afb2bd09b885c6
Use Vector4ProBuf.newBuilder() to construct.
[ { "docid": "e61904f608ffd7133807820e535042d5", "score": "0.84181464", "text": "private Vector4ProBuf(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" } ]
[ { "docid": "5c037a1b7e7cefc2b9d2f25e8a77e90c", "score": "0.6935102", "text": "private Vector3ProBuf(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "216c3b45c8dbe21d2dfafc80fe4b063f", "score": "0.6439538", "text":...
e764252860e9981616ccf67641adf035
Creates a new instance of AdvicePanelDescriptor
[ { "docid": "f4cb310101b76e33ed64a1925862ae5f", "score": "0.6794896", "text": "public AdvicePanelDescriptor(String language) {\r\n \r\n m_FinishEnable = true;\r\n m_AdvicePanel = new AdvicePanel();\r\n m_showNextTime = true;\r\n \r\n setObjectIdentifier(\"ADVICEP...
[ { "docid": "931b93162538278cef30804ebc606b70", "score": "0.5622699", "text": "DescriptorDescription createDescriptorDescription();", "title": "" }, { "docid": "0b8169ffff69ba758b3a7b3ea8d73ce6", "score": "0.5470911", "text": "private ModuleImplAdvertisement createServiceModuleImplAd...
b7168928e396683588d185d067cf0e92
Reserialize the STS policy in the same form as used in the spec.
[ { "docid": "a2c15e7a2913d79a00ca121f233eb87e", "score": "0.49355504", "text": "private String reserializeData(StsPolicy policy) {\n StringBuilder sb = new StringBuilder((policy.getOptions().size() * 10) + (policy.getFlags().size() * 5));\n sb.append(String.join(\",\", policy.getFlags()));\...
[ { "docid": "060d2faad50d05c1c4675987794128cf", "score": "0.496459", "text": "private void initPolicies() {\n //add rank policies\n rankPolicies.add(new NumberOfWins());\n rankPolicies.add(new GoalDifference());\n\n //add points policies\n pointsPolicies.add(new OnePoin...
535bc96f6fc91cfb50ecd75ac3b5986c
GETTERS Devuelve el atributo Usuario.
[ { "docid": "02ebf6993b87941f8e5b898c7e7c3401", "score": "0.69209874", "text": "public String getUsuario() {\r\n\t\treturn usuario;\r\n\t}", "title": "" } ]
[ { "docid": "2a00030bb0a9a238d672ce6e366bf7bb", "score": "0.7456958", "text": "public java.lang.String getUsuario();", "title": "" }, { "docid": "e28d38e2332a790836dde61d455c9560", "score": "0.73495233", "text": "String getUsuario();", "title": "" }, { "docid": "4ed6d34b01...
576d0cd957530a3feb24f1df28d8642b
Cria o evento, passando por parametro qual elemento gerou o evento, e qual o nome do atributo a que se refere.
[ { "docid": "f67f96119fe64ac280a2617ff2f7d378", "score": "0.4947284", "text": "public EventoInstanciaInativa(\n\t\t\tIdentificadorElementoGerenciado identificadorElementoGerenciado,\n\t\t\tIdentificadorAtributoElementoGerenciado identificadorAtributoElementoGerenciado) {\n\t\tsuper(identificadorElementoG...
[ { "docid": "ea0fd9dbb641a76ae48358fa34e55983", "score": "0.60440814", "text": "Event createEvent();", "title": "" }, { "docid": "ea0fd9dbb641a76ae48358fa34e55983", "score": "0.60440814", "text": "Event createEvent();", "title": "" }, { "docid": "ea0fd9dbb641a76ae48358fa34...
363c674c630ccd565718f8dd9577e5c8
repeated .notification.NotificationPB notification = 1;
[ { "docid": "b0e90edafa1399d44cc9aa1be8b2fac8", "score": "0.0", "text": "int getNotificationCount();", "title": "" } ]
[ { "docid": "7a289edfbd7e74fb6a5f98050e6362d1", "score": "0.64400345", "text": "com.smoketurner.notification.application.protos.NotificationProtos.NotificationPB getNotification(int index);", "title": "" }, { "docid": "fe605c56025c210e5c0f71d53c3efe91", "score": "0.6261938", "text": "...
38d7b6a0ef69a87cd2e31f0df0734b45
Set the scene (which is contained within the stage) to contain a BorderPane
[ { "docid": "adabceb13ede6b26f17c593eb6880b3d", "score": "0.63656193", "text": "public static void setScene(Node title, Node optionButtons, Node display, Node left, Node right) {\n\n\t\tborder = new BorderPane();\n\t\tscene = new Scene(border);\n\t\tscene.getStylesheets().add(\"userInterface/myStyle.css\...
[ { "docid": "c7d076e32d854135f692e58b6809939a", "score": "0.65569675", "text": "private static void setupScene() {\n // add children to window\n window.getChildren().addAll(titleBar, scrollablePane, commandBar,\n statusBar);\n\n // display window\n Scene scene = new...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "76f6ff7beebada71b4275dd94420f9f4", "score": "0.0", "text": "@Override\n\t\tprotected void onPostExecute(Integer items_updated) {\n\t\t\tsuper.onPostExecute(items_updated);\n\t\t\t\n\t\t\tToast.makeText(getBaseContext(), getString(R.string.chklReseted) + \"...\" ,Toast.LENGTH_SHORT).show();\n...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
ff8a15f1ffb9838703d0207a40ef8433
Gets the sRcpType value for this EntityResMain.
[ { "docid": "6a5780f5103aca3466128fb6c2228853", "score": "0.81193185", "text": "public String getSRcpType() {\n return sRcpType;\n }", "title": "" } ]
[ { "docid": "d377965e3b96fd3d535b5fc548b8cd40", "score": "0.7068125", "text": "public void setSRcpType(String sRcpType) {\n this.sRcpType = sRcpType;\n }", "title": "" }, { "docid": "ae0911456c4935e42f004b9603416bed", "score": "0.6529802", "text": "public int getResType() {\...
424ffebea97d7e037f3fe54968b12d96
Gets the "comparesource" element
[ { "docid": "393fdda710d43ed8cfa787733194add8", "score": "0.71136457", "text": "noNamespace.SourceType getComparesource();", "title": "" } ]
[ { "docid": "50220af90773d3a4052d9a19ba39013b", "score": "0.61128193", "text": "public ABaseResource getResource() {\n return resource;\n }", "title": "" }, { "docid": "cad0cbb9bbd5222c198e2ea6dde0c89c", "score": "0.6054968", "text": "ComputeResource getComputeResource();", ...
e42c6be364310740dba80eee90d5d428
This method was generated by MyBatis Generator. This method returns the value of the database column rule.level
[ { "docid": "841c812a3d1485ef0a4955961fab5047", "score": "0.65600014", "text": "public Integer getLevel() {\n return level;\n }", "title": "" } ]
[ { "docid": "52016b6d87badcae9aaa63deb4903b36", "score": "0.66354394", "text": "public Integer getLevel_field() {\n return level_field;\n }", "title": "" }, { "docid": "33089dc49e83b4b6b60031898da5b5a0", "score": "0.6571739", "text": "public Integer getLevel() {\r\n r...
6eed104eef057b8fdb756343d7a14a66
POST /lineupsbatch : Create batch lineup.
[ { "docid": "3f01c79dabfc61a0525cbc69dc80a5af", "score": "0.7072404", "text": "@RequestMapping(value = \"/lineups-batch\", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)\n\t@Timed\n\tpublic ResponseEntity<List<Lineup>> createBatchLineup(\n\t\t\t@RequestBody List<Lineup> lineups...
[ { "docid": "b78cb135e25a7d5728155f7a5562a071", "score": "0.6169864", "text": "private Response addBatch(Request req) {\n Session currentSession = this.getActiveSession(req);\n // verify and load admin information\n if (currentSession == null || !currentSession.isLoggedIn()) {\n return Resp...
770589b8e35cddfb6ee29c0870a048ba
The id must be set only if the id of the device is null.
[ { "docid": "11a05d525aecab56f69e5ba69c3c30ec", "score": "0.0", "text": "void addDevice(Device device, String id);", "title": "" } ]
[ { "docid": "30b66d85b93de2e3b2ef027e206f4404", "score": "0.7633647", "text": "public void setDeviceId(UUID id){\r\n\t\tdeviceID = id;\r\n\t}", "title": "" }, { "docid": "862644baca96a451d0c237aef0a913a9", "score": "0.68625623", "text": "@Override\n public int getDeviceId() {\n re...
74741dbcc8de875f5df8cc3a7896a2fc
Returns the id of the peer.
[ { "docid": "a8e1863c586495cb0db99f3a2b8bb503", "score": "0.0", "text": "public Integer getId() {\n return id;\n }", "title": "" } ]
[ { "docid": "3381d6e4a11762048837bb3b03d6539f", "score": "0.8299663", "text": "public int getPeerID()\n\t{\n\t\treturn peerID;\n\t}", "title": "" }, { "docid": "4d7a52854c511087b6078e0a49e81c42", "score": "0.82587534", "text": "protos.Fabric.PeerID getID();", "title": "" }, { ...
b61d375868b9721fcc47759bf50bcd76
string id = 1;
[ { "docid": "f2e1163826fa237b9648a67f77d17bec", "score": "0.0", "text": "public Builder setId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n id_ = value;\n onChanged();\n return this;\n }", "t...
[ { "docid": "86afb023244a441266e407d14b8deef1", "score": "0.77317506", "text": "public void setID(String s) { id = s; }", "title": "" }, { "docid": "44029fa6ebf26b91d202fc3f390365ee", "score": "0.73587954", "text": "int getId(String value);", "title": "" }, { "docid": "634...
edf02ef4ebb2d742b2341899a47bae1d
Retrieves the userID integer value from the request parameter
[ { "docid": "23b243c9ae29db827e382bec5314e3b3", "score": "0.70603603", "text": "private int getIdentifier(String userID)\n {\n if (userID != null) { // protect against empty input\n return Integer.valueOf(userID);\n } else {\n return 0;\n }\n }", "titl...
[ { "docid": "d5445513c5534e8a91f968153caed984", "score": "0.73304653", "text": "public int getUserID(){\n return userID;\n }", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.7203753", "text": "java.lang.String getUserId();", "title": "" }, { ...
7a36df8d17ab9f19a78d864f58b25ca2
test no file name given
[ { "docid": "c0e70389ae52b4a5b264941604dea5ac", "score": "0.0", "text": "@Test\n\tpublic void testParseArgsBad13() {\n\t\texception.expect(IllegalArgumentException.class);\n\t exception.expectMessage(\"ERROR: No file name given\");\n\t\tthis.c.parseArgs(new String[]{\"-d\", \"7\"});\n\t}", "title"...
[ { "docid": "b66405cbd222fd927e80e5a694de44e2", "score": "0.7123847", "text": "boolean hasFileName();", "title": "" }, { "docid": "b66405cbd222fd927e80e5a694de44e2", "score": "0.7123847", "text": "boolean hasFileName();", "title": "" }, { "docid": "b8016f371f78e2fcc7f67d14...
45c9e37f2468ea56562230f921a5fed8
Register a namespace prefix
[ { "docid": "7ccee006d562c56af3fffba35bebadf8", "score": "0.0", "text": "private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException {\n java.lang.String prefix = xmlWriter.getPrefix(namespace);\n ...
[ { "docid": "7dab72b7aa0243c8b25ba81316d3346b", "score": "0.7737101", "text": "protected static void registerNs(String prefix, String url) {\n Environment.getInstance().registerNamespace(prefix, url);\n }", "title": "" }, { "docid": "d61da49d1d0b0978b9ca2f411612f855", "score": "...
07daa941c972124778b93c9798f6c5c0
Gets a json representation of the class
[ { "docid": "e0ff8c7a7761554e4624059db5cb7c07", "score": "0.66169184", "text": "public String toJson() {\n\t\tString json = null;\n\t\ttry {\n\t\t\tjson = new ObjectMapper().writeValueAsString(this);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Cannot export as Attribute Value as the json o...
[ { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.75591123", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.75591123", "text": "public String toJson() {\n return J...
fb0afe36292ff0fcdf874e16d121c172
End of variables declaration//GENEND:variables
[ { "docid": "97692b623f9141691537c27d16a93277", "score": "0.0", "text": "@Override\n public void update(Observable o, Object o1) {\n System.out.println(\"El modelo se ha actualizado: \" + o1.toString());\n }", "title": "" } ]
[ { "docid": "64ef196975494d0f22f64b1b376ba62e", "score": "0.65240926", "text": "private void limpiaVariables() {\n }", "title": "" }, { "docid": "39fc93a8afed8fd9587e1725b3dd1330", "score": "0.6196968", "text": "public void mo9673C_() {\n }", "title": "" }, { "docid"...
0312b846e2f6410c0fae8be26fa3df2f
add a stem to look for.
[ { "docid": "2873bca38842bb81f4e7132922138e10", "score": "0.7891069", "text": "public MembershipFinder addStem(Stem stem) {\r\n \r\n return this.addStemId(stem.getUuid());\r\n }", "title": "" } ]
[ { "docid": "06dd149ecc09f1f3c6e48f6dbd8c7779", "score": "0.72641164", "text": "public MembershipFinder addStem(String name) {\r\n \r\n Stem stem = StemFinder.findByName(GrouperSession.staticGrouperSession(), name, true);\r\n return this.addStemId(stem.getId());\r\n }", "title": "" }, {...
2709753aa8e40233fc1c43e0986f8450
Update incident tripid record boolean.
[ { "docid": "c2b5fbaad4112624185b5b4b3408ab9f", "score": "0.58741575", "text": "boolean updateIncidentTripidRecord(String updateval, String searchval) {\n SQLiteDatabase db = this.getWritableDatabase();\n boolean result = false;\n ContentValues values = new ContentValues();\n ...
[ { "docid": "c44add26c47b10e9b109e4e7b601146c", "score": "0.62514365", "text": "boolean updateOnlineTripID(Trip_Class record) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_ONLINE_TRIP_ID, record.get_online_id());\...
18f00fbeed91f4c2274015bfd8c7a853
EncryptFile process 0.1 Generate SHA1 checksum bytes of Input 1. Generate params of Blowfish 2. Encrypte params of Blowfish > params1 3. Generate params of AES 4. Encrypt params of AES > params2 5. Encrypt content using Blowfish > content1 6. Get Blowfish IV bytes 7. Encrypt Bloswfish IV bytes 8. Encrypt content1 using...
[ { "docid": "dae5f67a4c214156b40aa7abdbbc4741", "score": "0.7270154", "text": "public byte[] encrypt(byte[] inputBytes) throws SJException {\n try {\n //0.1 Generate SHA1 checksum bytes of Input\n byte[] sha1checksum = FileUtil.CHECKSUM_BYTE_SHA1(inputBytes);\n\n /...
[ { "docid": "519d4aa94285063eda86b7575d987d8c", "score": "0.65254396", "text": "public static void main(String args[]) throws IOException \n {\n /*\n * args[0] should be either \"e\" or \"d\"\n * args[1] and args[2] should correspond to the following:\n *\n * -le...
d91a253b9107b198f20cfe0e8ee59cdd
Z FIELD Add Charge and Mass to List
[ { "docid": "def2050176e2a67459246a1d0da66fed", "score": "0.5507411", "text": "public void addchargemass(int chrg, double mass){\n\t\tcharges.add(chrg);\n\t\tmasses.add(mass);\n\t}", "title": "" } ]
[ { "docid": "2fe3ade2322b5bc64682403b3f861e83", "score": "0.56348634", "text": "public void chargeListe(){\n jCbListeEtablissement.removeAllItems();\n String sReq = \"From Etablissement\";\n Query q = jfPrincipal.getSession().createQuery(sReq);\n Iterator eta = q.iterate();\n ...
a0cc73cbbd36498a8ac9a90812a93b54
instantiate the new Scanner object "keyboard"
[ { "docid": "675ff98fa90fe2ebd129e551554db454", "score": "0.0", "text": "public static void main(String[]args)\n\t{\n\t\tScanner keyboard = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\" This program calculates the area of a rectangle. \");\n\t\t\n\t\tSystem.out.println(\"Input the width please...
[ { "docid": "edc36270a946b7f96b4333dcadb8c8bd", "score": "0.71619475", "text": "public ConsolePlayer()\n {\n kbd = new Scanner(System.in);\n }", "title": "" }, { "docid": "ad01956e3ea744a798f8a879ff0f6aff", "score": "0.7040414", "text": "private Keyboard() { }", "titl...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "d06b1fe8b86218d3bb7c887ac2bfe631", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_fragment_tugas_uts, container, false);\n }", "title": "" ...
[ { "docid": "6ec4f98428ed58f118e52024dd3171e7", "score": "0.6739604", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7c5b9c44159a50e1dabd289b1857d097", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tAccount accountOfGeorge = new Account(\"George\", 1122, 1000);\n\t\taccountOfGeorge.setAnnualInterestRate(1.5);\n\t\taccountOfGeorge.deposit(30);\n\t\taccountOfGeorge.deposit(40);\n\t\ta...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
851168ebbab2a4224c44060eb3121dba
Draws an arrow with a Vec3d start and end
[ { "docid": "b25e2da7a05f5559d320381aa27481be", "score": "0.7548175", "text": "public static void drawArrow(Vec3d from, Vec3d to) {\n\t\tdouble startX = from.xCoord;\n\t\tdouble startY = from.yCoord;\n\t\tdouble startZ = from.zCoord;\n\n\t\tdouble endX = to.xCoord;\n\t\tdouble endY = to.yCoord;\n\t\tdoub...
[ { "docid": "395b479209eb9ff6d19e114a520bfaa6", "score": "0.6887335", "text": "void drawArrow(GC gc, int xPos, int yPos, int size, boolean left) {\n\tint arrowWidth = size / 4;\n\tint arrow[] = new int[6];\n\n\tif (!left) arrowWidth *= -1;\n\t// start polygon lines with vertical line which is always the ...
6d000c4529c3b60f2ae3c66af95516e3
optional string full_name = 4;
[ { "docid": "9c11c03a79863de44b32e4cf55af714e", "score": "0.0", "text": "public boolean hasFullName() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" } ]
[ { "docid": "8ef541f522b7e5a629abfabd74df4dce", "score": "0.7716925", "text": "public abstract String getFullname();", "title": "" }, { "docid": "f70c4a47e7df2726078b105ad11fd7c2", "score": "0.75679636", "text": "void setFullName(String fullName);", "title": "" }, { "docid...
3504dbb5564a09df3348c3eae78e4662
optional uint32 downstream_lost_packets = 20;
[ { "docid": "910808930a8d3295690185162368b2f0", "score": "0.6365689", "text": "boolean hasDownstreamLostPackets();", "title": "" } ]
[ { "docid": "be0672e337c835a9b2d52c0cbbba9e3e", "score": "0.7442748", "text": "int getDownstreamLostPackets();", "title": "" }, { "docid": "b898377698b27d6f8c5348b66d613001", "score": "0.7400862", "text": "int getUpstreamLostPackets();", "title": "" }, { "docid": "2f0309c8...