query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
778530aaf66c66418de04114ec1d6fbc
Insert the method's description here. Creation date: (26.11.2004 12:59:08)
[ { "docid": "d5d8f31365a1e83e56ed19b1e053355a", "score": "0.0", "text": "public java.lang.String getQty50AA() {\n\treturn qty50AA;\n}", "title": "" } ]
[ { "docid": "c56ced5e9768caa7a88a0e86dc1d02eb", "score": "0.6499344", "text": "@Override\n\tpublic void pintate() {\n\t\t\n\t}", "title": "" }, { "docid": "374adbb22608162334fb3139cc05b86a", "score": "0.6480024", "text": "@Override\n\tvoid getTime() {\n\t\t\n\t}", "title": "" },...
12990fcd01a356fd6046f1cb463971e3
Updates the associated data inside the database
[ { "docid": "88a707bc149ca4c3518e4fbffa068e27", "score": "0.0", "text": "@Override\n\tpublic void pushChanges() throws de.fu.weave.orm.DatabaseException {\n\t\tString query = \"UPDATE \" + \"\\\"scetris\\\".\\\"CourseElementInstance\\\"\" + \" SET \\\"course_instance\\\" = ?, \\\"course_element\\\" = ?, ...
[ { "docid": "3fc027a4e295c2116b112eaf5ace303d", "score": "0.6922623", "text": "public void update()\n {\n Ebean.update(this);\n }", "title": "" }, { "docid": "65aeb4d55354e58cfc9e842a9cccc15e", "score": "0.68661636", "text": "@Override\n\tpublic void update(Additive o) th...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4361a6d6c2376e664c2d7dee635e96b9", "score": "0.0", "text": "@Override\n\tpublic void userOut(UserDTO userDTO) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.66835845", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.66835845", "text": "@Override\n public void otvori() {\n ...
0c81685191ff3d2380a3b5b4d5090cb3
Checks to see if the buttons is being pressed and returns true if it is.
[ { "docid": "5768edb629821727f9c15e92e5d211ee", "score": "0.7903665", "text": "public boolean isPressed()\n { \n return button.isHigh();\n }", "title": "" } ]
[ { "docid": "7f2a35e69fdfe51cc2612fe41566cbbd", "score": "0.804745", "text": "public boolean isPressed() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "116b875f83934a1f69ac04027eeabf87", "score": "0.7961844", "text": "public boolean isButtonPressed () {\n\t\treturn this.isButt...
1d35e6a8f6fbb5aaccb1203e2e31d5ee
Method to get string representation of user
[ { "docid": "65ebd559dec8e8f031cefdde84a35f7b", "score": "0.7325123", "text": "public String toString() {\n \n return this.username;\n\t}", "title": "" } ]
[ { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.7811416", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.7811416", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "ea3290880bcb306ac9f07677b503d2fa", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_hua_lang, container, false);\n ...
[ { "docid": "38a92048c5518dd0ba2537b8d61228b7", "score": "0.68197936", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_query_wallpaper_frgment, cont...
c09942e897705320fb55c2d3c8259e9f
Player's token setter method
[ { "docid": "d094e863e801a40cfd561913dbfdd84c", "score": "0.70406187", "text": "public void setToken(int token) {\r\n this.token = token;\r\n }", "title": "" } ]
[ { "docid": "1b271c3d2411c52815d6d963e27d8f40", "score": "0.750145", "text": "void setToken(String token);", "title": "" }, { "docid": "9aaaddfb6b465f6e78293fdbc6989d19", "score": "0.705202", "text": "public void setToken(Token token) {\n this.token = token;\n }", "title...
872da556cfbb27c8e51d28a4d03a012e
/ D suffix for limited data types. / EXPORT_API double PluginIsInitializedD();
[ { "docid": "cbf0f3a93264f83fdf5c1d790ee2efe6", "score": "0.80589896", "text": "double PluginIsInitializedD();", "title": "" } ]
[ { "docid": "27346c5c161bb41cf26906ce14d60c0c", "score": "0.7509941", "text": "public double isInitializedD()\n {\n return wrapper.PluginIsInitializedD();\n }", "title": "" }, { "docid": "4f7674f2e775164c88aa134be9b7dc4a", "score": "0.7008915", "text": "public double init...
371f0de74e4df5b898d32b73a59a9224
Insert the method's description here. Creation date: (19.09.2003 16:52:48)
[ { "docid": "f1ffcc45fe49d9867749bf63ed914765", "score": "0.0", "text": "public void setSpeed(java.lang.String newSpeed) {\n\tspeed = newSpeed;\n}", "title": "" } ]
[ { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.71345574", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.69161814", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}"...
57b08728d4723699cb06a3cc7dfbb175
Reuses frame from last Page and redraws on it takes in last of patient to display it in the title Creates UI
[ { "docid": "93ee952f86e62655f004be8749179cf1", "score": "0.5822368", "text": "public CategoryPage(JFrame frame, String patientLastName)\n\t\t{\n\t\t\tthis.frame = frame;\n\t\t\tframe.getContentPane().removeAll(); \n\t\t\tframe.setTitle(\"Assign Category\");\n\t\t\tlastname = patientLastName;\n\t\t\tcGro...
[ { "docid": "2deb4e16e4f43406c3f5d5f6f5e2ca79", "score": "0.6856825", "text": "private void displayFirstPage() {\r\n panelBottom.removeAll();\r\n for (int i = 0; i < 13; i++) {\r\n panelBottom.add(shots[i]);\r\n buttonCount++;\r\n }\r\n panelBottom.revali...
e2a77310906477d8f5dcdaaf8ce9848c
optional int64 id = 1;
[ { "docid": "26aafa888dc49d4029989dd7780915e4", "score": "0.0", "text": "public boolean hasId() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "155212211d5ea949e31ca4145331f65a", "score": "0.7551126", "text": "long getId ();", "title": "" }, { "docid": "cee097c4d66f48b1bd23f452236cd690", "score": "0.7526015", "text": "long getId();", "title": "" }, { "docid": "cee097c4d66f48b1bd23f452236cd690", "s...
14c2f2ee90d9cabef2dfefe78b187912
TODO: needs to be discussed how a file with a ltlproperty is specified
[ { "docid": "78182c9c3120682d4e5de8550fecc016", "score": "0.52317953", "text": "private static boolean isPropertyFile(String pName) {\n return pName.endsWith(\".prp\");\n }", "title": "" } ]
[ { "docid": "b894caa6a728626dccd66d79effc74ac", "score": "0.70484936", "text": "private static String parseFile(String pPath) throws LtlParseException {\n\n File file = new File(pPath);\n if (!file.exists()) {\n throw new LtlParseException(\n String.format(\n \"Path to fi...
83007262c916dd70e3b8534c1491a059
means the whole window is acked
[ { "docid": "ed057171d7a53e139cbc50f7277f1191", "score": "0.7377543", "text": "public boolean isWindowAcked() {\n for (int i = window.position(); i < window.end() && i < buffer.length; i++) {\n if (get(i) == null || !get(i).acked)\n return false;\n }\n retur...
[ { "docid": "094306944319fe081fa25380a701031a", "score": "0.6637", "text": "public void ackCallback() {}", "title": "" }, { "docid": "55280892695a892b3d26b28b74064406", "score": "0.65169215", "text": "private void questionAcknowledged() {\n\t\tif (game != null){\n\t\t\t//acknowledge a...
cd9face87e21d914bdedd30879fcd4da
Returns the array dimensions. Returns 0 if the type is not an array.
[ { "docid": "3c17986f9409c6638767706337181fb4", "score": "0.82480544", "text": "public int getArrayDimensions() {\n return getTeaToolsUtils().getArrayDimensions(mType);\n }", "title": "" } ]
[ { "docid": "e37f3a2b7e27d6e24854926566b85f82", "score": "0.810594", "text": "public int arrayDimension() {\n ArrayType arrayType = asArray();\n if (arrayType == null) {\n return 0;\n }\n return 1 + arrayType.getElementType().arrayDimension();\n }", "title": "" }, { "docid":...
4f0190da9d69e34a8a883223b2929646
Add a slow powerup to the player.
[ { "docid": "bfd8ef44190ef1b7dd871101e5575c36", "score": "0.7606946", "text": "private void addSlow() {\n\t\tSlowPowerup sp = new SlowPowerup();\n\t\tGameState gs = (GameState) mainGame.getState(mainGame.getGameState());\n\t\tArrayList<SpeedPowerup> list = gs.getItemsHelper().getSpeedPowerupList();\n\t\t...
[ { "docid": "9ebef2a2a2193a01d0b24886cc5bb971", "score": "0.6898857", "text": "private void addFast() {\n\t\tFastPowerup fp = new FastPowerup();\n\t\tGameState gs = (GameState) mainGame.getState(mainGame.getGameState());\n\t\tgs.getItemsHelper().getSpeedPowerupList().add(fp);\n\t\tfp.updateCircles(gs.get...
fbbf3726a31bd254001301dfccd5af74
gets the lowest possible row where a piece can be placed in a given column
[ { "docid": "246eb15c3aca4d304a28f4ed974a3ef9", "score": "0.649379", "text": "public int getRowLocation(int column) {\r\n\t\tboolean found = false;\r\n\t\tint rowPosition = maxRow - 1;\r\n\r\n\t\twhile (!found) {\r\n\t\t\tif (board[rowPosition][column].getState() == CellState.EMPTY) {\r\n\t\t\t\tfound = ...
[ { "docid": "0c554203391ef89c7eeeba21d227cfa7", "score": "0.70433", "text": "public int getLowestEmptyIndex(Connect4Column column) {\n int lowestEmptySlot = -1;\n for (int i = 0; i < column.getRowCount(); i++)\n {\n if (!column.getSlot(i).getIsFilled())\n {\n ...
182bf41f6f52e2b68fcb1a5e89c5d5fa
Dont change the test file, if it is changed the test may fail
[ { "docid": "c8d7aae726a1c989adcddf4384b60a79", "score": "0.0", "text": "@Test\r\n\tpublic void getPlaceholder4()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tSystem.out.println(\"RUNNING getPlaceholder4\");\r\n\t\t\thappy.setTeamSize(5);\r\n\t\t\tString content = Files.readString(Paths.get(\"choice/test3.txt\"))...
[ { "docid": "b032451e57620e04f1204de9f2ed2626", "score": "0.67570776", "text": "@Ignore\n @Test\n public void testIsFileNew() throws DropboxException {\n \n }", "title": "" }, { "docid": "2e541915f34d0bb86647b3f830bd99ea", "score": "0.6362254", "text": "@Test\n publ...
bd8e6a0c66c2645fd023ebd64ab05884
Gets the attribute value for ResultCode, using the alias name ResultCode.
[ { "docid": "c0f2c62f45b97f686d815e8c6cf5e98e", "score": "0.75540984", "text": "public String getResultCode() {\n return (String)getAttributeInternal(RESULTCODE);\n }", "title": "" } ]
[ { "docid": "05bf5f4d6b083d71af56efe61ec40d40", "score": "0.64416677", "text": "public void setResultCode(String value) {\n setAttributeInternal(RESULTCODE, value);\n }", "title": "" }, { "docid": "5747b3e889b3484d94de0cd2844bfd4f", "score": "0.6392897", "text": "public Stri...
ff61f868cc75efb39f02da76517975a7
Decode function that decodes PIV data object object containing x509 certificate retrieved from the card and populates various class fields.
[ { "docid": "97c99ad37e00da87c6781e92d6e47455", "score": "0.61899304", "text": "@Override\n\tpublic boolean decode() {\n\n\t\tif (m_cert == null) {\n\n\t\t\ttry {\n\t\t\t\tbyte[] raw = super.getBytes();\n\n\t\t\t\ts_logger.trace(\"rawBytes: {}\", Hex.encodeHexString(raw));\n\n\t\t\t\tBerTlvParser tp = ne...
[ { "docid": "ca20ab7259350bea9256ab05eb964fcf", "score": "0.5603799", "text": "public PcapDecoder(byte[] data) {\n this.data = data;\n }", "title": "" }, { "docid": "626cb34f096372a84803f5a6670d6f3b", "score": "0.55676603", "text": "public static void decode() {\n\n }", ...
e08b62de3d2351122218038238ff3063
A utility class should always define a private constructor.
[ { "docid": "ac971169c8cc2f7b3db039d03db5d264", "score": "0.0", "text": "private FileUtils() {\n }", "title": "" } ]
[ { "docid": "d56ee57c5ce3be792fbc78009510f302", "score": "0.7976816", "text": "private Utileria() {\n }", "title": "" }, { "docid": "4f13ed0c150f36ca81b91638bd82d268", "score": "0.7975953", "text": "private Util() { }", "title": "" }, { "docid": "a5a40b1ea72e0205afcde3acc...
4cbec6e6df70d1907d5193ac06e175a5
Summary line for account
[ { "docid": "d7cf6fd9d65e9e318823addf80f16420", "score": "0.75726897", "text": "public String getSummaryLine() {\n\t \n \t double balance = this.getBalance();\n\t \n\t if (balance >= 0) {\n\t\t return String.format(\" %s : $%.02f :%s \", this.uuid, balance, this.name);\n\t\t \n\t } else...
[ { "docid": "0c11ae6628d1b07e2dfaa2829b2e168d", "score": "0.70932347", "text": "private void summary() {\n this.updateAccount();\n this.view.showSummary(this.account);\n }", "title": "" }, { "docid": "1f1f2ecf983dacc4aea21247af611214", "score": "0.6724766", "text": "@...
4a291a16d7b7185f0ba05b0ef3e326f1
update database by Id
[ { "docid": "d1415d0d546f42fe2e8a086021ec598f", "score": "0.0", "text": "public long updateVideoData(Integer id, FileListModelClass video) {\n\t\topen();\n\t\tContentValues values = new ContentValues();\n\t\tvalues.put(DataBaseHelper.KEY_VIDEO_TITLE, video.getmFileName());\n\t\tvalues.put(DataBaseHelper....
[ { "docid": "6a60fa5b47b8da34d7e65c69d5f1973f", "score": "0.745598", "text": "public void update(long id, String name);", "title": "" }, { "docid": "25fdcd6c387ae57fed03a652cfea46c9", "score": "0.73499775", "text": "@Override\n\tpublic void update(String id) {\n\t\t\n\t}", "title"...
ecfb907e36a7881c16271839c54a6ff7
False indicates leader has no "greater" leaders True indicates leader has started another election No response assume other process crashed Use timeout when calling it
[ { "docid": "00c232f3a4264d33289103dfb46ec55e", "score": "0.6323291", "text": "public boolean startElection() throws RemoteException {\n // Start an election to my team\n System.out.println(\"Election in progress.\");\n team.remove(leader);\n GameInt[] myTeam = team.toArray(ne...
[ { "docid": "559b1db05bf02787c5fbeaba11aa49d7", "score": "0.65861815", "text": "private void checkLeaderStatus() throws InterruptedException, KeeperException {\n for (int idx = 0; pendingOps.size() > 0 && idx < 600; ++idx) {\n ClusterState clusterState = coreContainer.getZkController().getCluster...
4328e28f5aa41776316583dfaed2df7f
Initialize the InvalidFormatEventException Object.
[ { "docid": "d3eba617a6589d3b8f1edd17147143c7", "score": "0.6855753", "text": "public InvalidFormatEventException() {\n super(KEYWORD_EVENT_EXCEPTION);\n }", "title": "" } ]
[ { "docid": "9dc58051e0aa645c8d3698cc68ffd4dc", "score": "0.70409274", "text": "public InvalidException() {\r\n }", "title": "" }, { "docid": "4e6e75c4da6dd2606d7a7b4b406a6752", "score": "0.66675615", "text": "public InvalidDataFormatException(){}", "title": "" }, { "do...
df555ddd77eaa74a26ef496ccf95e51a
/ Reset position of Floating Widget view on dragging
[ { "docid": "6b452dba027e30acfdc10e05661697f9", "score": "0.53518736", "text": "private void resetPosition(int x_cord_now) {\n if (x_cord_now <= szWindow.x / 2) {\n isLeft = true;\n moveToLeft(x_cord_now);\n } else {\n isLeft = false;\n moveToRigh...
[ { "docid": "879459173cbfe5d4cd56f0981218beba", "score": "0.6361571", "text": "@Override\n public void onDragFloatView(View floatView, Point floatPoint, Point touchPoint) {\n }", "title": "" }, { "docid": "dad16c0a12d81c5830f2131d3abeca41", "score": "0.6126073", "text": "void on...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a28ccc81de509dd9ba5fe8bc3bc67ba9", "score": "0.0", "text": "@Override\r\n\tpublic byte readByte() throws IOException {\n\t\treturn content.readByte();\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
1b9921252aafdb4f072e6038272be295
/ Set Width and Height
[ { "docid": "d1a8dd55509507406b117175eb268e07", "score": "0.0", "text": "@Override\n public void start(Stage primaryStage) throws Exception {\n primaryStage.setWidth(600);\n primaryStage.setHeight(400);\n\n /* Create the Home Scene */\n new ListScene(primaryStage).display()...
[ { "docid": "504de0d3eec7e5b03a37270d7cebdd22", "score": "0.7707202", "text": "public abstract void setSize(float width, float height);", "title": "" }, { "docid": "9f650c9eda76138970c341dcb7ab5444", "score": "0.75774413", "text": "public void setSize(int width, int height) {\n thi...
2c892ddfd46738bc6192a5332872ea54
Interface for classes that are able to write GATKReads to some output destination.
[ { "docid": "12395594b809d22676f95d299538000b", "score": "0.7238701", "text": "public interface GATKReadWriter extends Closeable {\n void addRead(final GATKRead read);\n}", "title": "" } ]
[ { "docid": "0da349ca25f122d4ba1d262eead453dd", "score": "0.61755276", "text": "@Override\r\n abstract public void write();", "title": "" }, { "docid": "bb70065d42a40e43e383a1952ec9bedf", "score": "0.6130106", "text": "@Override\n\t\tpublic void writeTo(StreamOutput out) throws IOExc...
e457f41f6f09d5054ef031c61e5dcfad
this method runs the actual game.
[ { "docid": "097036bf34491b29f37d14f07dce4163", "score": "0.0", "text": "public void run() {\n\n\t\t\t// we move the ball, paddle, and check for collisions\n\t\t\tmove_ball();\n\t\t\tmove_paddles();\n\t\t\tcheck_collisions();\n\t\t\t\n\t\t\trepaint();\n\n\t\t\n\t\t\t}", "title": "" } ]
[ { "docid": "1219e1b9468542d5ef8a075524b59b39", "score": "0.8243334", "text": "@Override\n\tpublic void runGame() {\n\t\t\n\t}", "title": "" }, { "docid": "de66223af554a571b6b262fb456f348d", "score": "0.81949335", "text": "@Override\n public void run() {\n\trunGame();\n\trunEnd();\...
edb3ba7d81a3583c8f5de395d6537041
Gets the "name" element
[ { "docid": "15936370364a68f4e129974b66bc8e5e", "score": "0.0", "text": "org.hl7.fhir.CodeableConcept getName();", "title": "" } ]
[ { "docid": "e9f1c8f75f02e3ee958499a3311c96cb", "score": "0.8207187", "text": "public String getName() {return this.getAttributeValue(\"name\");}", "title": "" }, { "docid": "c7c3163c598576fddea764f11d36e445", "score": "0.81303006", "text": "public String getName() { \n\t\treturn get...
378543791f0ed7091285667acd0057cc
Affichage de la grille de l'agent
[ { "docid": "4ab5403154f82418cdade81ac2ef3ab2", "score": "0.6484183", "text": "@Override\n public String toString() {\n System.out.println(\"Ce que l'agent voit :\");\n String affichage = \"\";\n for (int i = 0; i < Environnement.getTaille(); i++) {\n for (int j = 0; j ...
[ { "docid": "a886c45bb7ebb22536ffb1520c11d1ed", "score": "0.65569675", "text": "public void calculLoyerGare() {\n\t\tJoueur jProprio = getProprietaire();\n\t\tint nb = jProprio.getGares().size();\n\t\tint p = nb * 50;\n\t\tSystem.out.println(jProprio + \" est proprietaire de \" + nb + \" gares, vous deve...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "940dfbaed96ddeb1472d679355700284", "score": "0.0", "text": "public Button getSearchButton() {\n\t\treturn this.searchButton;\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": "" }, ...
b1289ed330abf9d5cac9f3e505f0a89b
Get the expiration of the token in seconds.
[ { "docid": "8ea7bfc5bcb7021220dcb69eb5fb9f9c", "score": "0.6836503", "text": "public int getExpiration() { return expiration; }", "title": "" } ]
[ { "docid": "97fa5218829a3ba90e7fb212020505f1", "score": "0.7416755", "text": "public long expiresInSec(Token token) {\n if (token instanceof ExpireToken) {\n ExpireToken et = (ExpireToken) token;\n ScheduledFuture<?> sf = et.getFuture();\n if (sf != null)\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b12c299c2de1d19d9613c8f9a9775e0b", "score": "0.0", "text": "@Override\r\n\tpublic List<carBrand> selectAllB() {\n\t\treturn carBrandMappers.selectAllB();\r\n\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t...
fcd2ed3681730346fa3ea9d3fdd67cae
Calculate the maximal possible vertical distance the given rectangle may travel before colliding
[ { "docid": "847e725d9a22d93a571494f0ca92ae2c", "score": "0.6877028", "text": "private double calcMaxVerDist(double x, double y, int width, int height, double maxDist, int dir)\r\n {\r\n if (dir == 0) return 0;\r\n\r\n for (int d = 0; d < maxDist; d++)\r\n {\r\n double ...
[ { "docid": "6cbb78e476c0277225634f8f8bdd544e", "score": "0.6248605", "text": "private double calcMaxHorDist(double x, double y, int width, int height, double maxDist, int dir)\r\n {\r\n if (dir == 0) return 0;\r\n\r\n for (int d = 0; d < maxDist; d++)\r\n {\r\n double ...
18516ee06e6894a919a7fb79caeb7546
Set the topleft xcoordinate of the widget. Should be equivalent to setPosition(x, getPositionY());
[ { "docid": "0f0c17514a40439fbfd8c521f200f0aa", "score": "0.62694716", "text": "public void setPositionX(float x)\n\t{\n\t\tthis.setPosition(new Vector2f(x, getPositionY()));\n\t}", "title": "" } ]
[ { "docid": "43b4a43052c9c3ef47e25ebc6656f7ed", "score": "0.7698421", "text": "void setXPosition(int x);", "title": "" }, { "docid": "6cb667a88ece791353d0c14e1a59ce08", "score": "0.7636934", "text": "public void setXPosition (int XPosition);", "title": "" }, { "docid": "36...
76272b4137150b387b03a602b9c036ad
SendableChooser pValue = new SendableChooser(); SendableChooser dValue = new SendableChooser();
[ { "docid": "029bff3653e62e5e3699dd64a7262dc6", "score": "0.0", "text": "public static DriveTrain getInstance() {\r\n\t\tif(instance == null)\r\n\t\t\tinstance = new DriveTrain();\r\n\t\treturn instance;\r\n\t}", "title": "" } ]
[ { "docid": "34373554097043856082f1c35ddf5d7a", "score": "0.5902482", "text": "protected ToggleGUITestObject radioButton_seleccionidbuscarP() \r\n\t{\r\n\t\treturn new ToggleGUITestObject(\r\n getMappedTestObject(\"radioButton_seleccionidbuscarP\"));\r\n\t}", "title": "" }, ...
531eb0257b7c03bf8376deb197232435
/ Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution.
[ { "docid": "667cdaf2acee980878e9ab43fe921930", "score": "0.0", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int N = in.nextInt();\n List<Integer[]> file = new ArrayList<Integer[]>();\n for (int i = 0; i < N; i++) {\n in...
[ { "docid": "4f89ec52812daa83355379f7fca94867", "score": "0.73505735", "text": "public static void main(String[] args) {\n\t\t\n\t\tSolution s = new Solution();\n\t\ts.readInput();\n\t\ts.commonManager();\n\t}", "title": "" }, { "docid": "769498434c721ce17074aeaadec6594b", "score": "0.729...
37e782c15e4c1def09d2c04cf6c09973
Input is guranteed to be within the range from 1 to 3999
[ { "docid": "69e42e8ea6ac5949ba0181f71ed65c35", "score": "0.0", "text": "public int romanToInt(String s) {\n if (s == null || s.length() == 0) {\n return 0;\n }\n\n HashMap<Character, Integer> romanMap = new HashMap<Character, Integer>();\n romanMap.put('I', 1);\n romanMap...
[ { "docid": "3f4f61672bce33ad3a81d0b5d6e950dc", "score": "0.630666", "text": "private boolean validateInput(String input) {\n int value = 0;\n try{\n value = Integer.parseInt(input);\n }catch(NumberFormatException e){ return false; }\n return value >= minValue && va...
5affe889677a7465a98ead6d9baecf4e
int32 oneof_2544 = 2544;
[ { "docid": "e24d5ed566899581a7e80f8e91adb0d8", "score": "0.0", "text": "public Builder setOneof2544(int value) {\n hugeOneofCase_ = 2544;\n hugeOneof_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "14d9de64d1d4966292bdc0add6135b79", "score": "0.6170479", "text": "void mo107677b(Integer num);", "title": "" }, { "docid": "70d84d3289af5625e363d1fdc64f1066", "score": "0.6145222", "text": "int intOf();", "title": "" }, { "docid": "bcb5fa3b11bca848a5e6cfd3b39c...
fb1d793bf003a3d7bb920f73a1119706
Create new instance of this class, and prepare all views, taking account of current orientation
[ { "docid": "5453e9217968fac9d65f27b06479a81e", "score": "0.0", "text": "public AppLauncher(Context context) {\n super(context);\n mContext = context;\n mView = (LinearLayout) LayoutInflater.from(mContext).inflate(R.layout.layout_apps, null, false);\n display = ((WindowManager...
[ { "docid": "c91c0a8e58638c444f8ac44ff0768cd5", "score": "0.636632", "text": "@Override\n @CallSuper\n @SuppressWarnings(\"unchecked\")\n public void onCreate(@Nullable PresenterBundle savedInstanceState) {\n if (viewOnCreateCalled) {\n orientationChanged = true;\n } else...
e0581e5dabade7dc59426940dcf81d2e
Affirms if the original declaration the given method is annotated for reflection.
[ { "docid": "f242abaa14b79975d00776c68c2d1758", "score": "0.7187947", "text": "static boolean canReflect(Method method) {\n Class cls = getDeclaringClass(method);\n if (cls != method.getDeclaringClass())\n method = getDeclaringMethod(cls, method);\n return canReflect((Refl...
[ { "docid": "07315115a4bb5db97b75de303d34b863", "score": "0.6418977", "text": "@Override\n protected void checkMethodInvocability(AnnotatedExecutableType method,\n MethodInvocationTree node) {\n }", "title": "" }, { "docid": "21a60dc179d8a8c29b76cc16b1c2acf3", "score": "0...
cba5350bc34b91a6b7691b9ea99060b9
Handle the scrollbar events (set variables in the NetworkPanel).
[ { "docid": "848ddca680a433085973b73464abfc76", "score": "0.70214796", "text": "public boolean handleEvent(Event evt) {\n if (evt.target instanceof Scrollbar) {\n if (evt.target == horizontal) {\n netPanel.x_scroll = ((Integer)(evt.arg)).intValue();\n } else i...
[ { "docid": "aff7370a9eea4d4b88ef5b96bc9d6cdd", "score": "0.6467952", "text": "public void onScrollMouse(MouseScrollEvent event){}", "title": "" }, { "docid": "fa6bd547daf90112f476abcd812e6b65", "score": "0.6438562", "text": "protected void updateScrollBarDisplayPolicy(PropertyChangeE...
56343b78db00fe4fdf6c21720529db6c
Handles the HTTP POST method.
[ { "docid": "a4d6191746ad49b4def8ce5d514d3b1a", "score": "0.0", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
[ { "docid": "f9f03483d33e612a6dabec06e7542c61", "score": "0.72394633", "text": "@Override\n\tpublic void doPost(String path, HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "943348db6159864ec3c18509b9c21787", "scor...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3fd93ab07cf56aefc8225a0c2d4e71f3", "score": "0.0", "text": "@Transactional\n\t@Override\n\tpublic void deleteAll() throws Exception {\n\t\tbrijittegarciarepository.deleteAll();\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
cd992f2ea96ee8cb95c6666beef5a331
Metodo que deshace el ultimo movimiento realizado.
[ { "docid": "5eba52a8425f28be338ba5170b7a00c8", "score": "0.0", "text": "public boolean undo() {\n\t\tboolean deshacer = false;\n\t\t\n\t\tif (!registro.vacio()) {\n\t\t\t\n\t\t\tint col = registro.getUltimoMovimiento();\n\t\t\tint fila = obtenerFilaUltimoMovimiento();\n\t\t\tFicha color = Ficha.VACIA;\n...
[ { "docid": "b92152089a59922085cd62d69de517ab", "score": "0.673503", "text": "private int obtenerFilaUltimoMovimiento(){\n\t\n\t\tint fila =1 ;\n\t\tint columna = registro.getUltimoMovimiento();\n\t\t\n\t\tif(columna == -1){\n\t\t\treturn -1;\n\t\t}else{\n\t\t\n\t\t\twhile(tablero.getCasilla(columna, fil...
521d7dadd8071aad017949b196464c3c
Unreserves the supplied book. Result is reported via callback.
[ { "docid": "e0fede378302acd7a78bfb66cfce95bd", "score": "0.6911877", "text": "public void unreserve(final Book book, final Callback frontendCallback)\r\n \tthrows CredentialsMissingException {\r\n \t\tfinal UnreserveJob job = new UnreserveJob(book,\r\n \t\t\t\tsettings.getCredentials(), session);\r\n \t...
[ { "docid": "dd41261a8e85da63ff4088ab56fdade7", "score": "0.682039", "text": "public void removeBook() {\n\t}", "title": "" }, { "docid": "e6e263a6b9c2486b4e303b488f956794", "score": "0.6440106", "text": "@Override\n public void remove(Book book) {\n books.remove(book);\n ...
a02e27b9ac11751fc1b859bd62bc59a9
using dfs to figure out all of paths between start and end
[ { "docid": "5b796f25e0eacd62b7061cdb5bff99c2", "score": "0.7341478", "text": "void dfs(List<List<String>> ladders, List<String> path,\n String start, String end,\n Map<String, List<String>> map,\n Set<String> visited) {\n if (visited.contains(start))return;\n ...
[ { "docid": "7c6094f06d59be452ca65964e8777206", "score": "0.67045826", "text": "public void bfs_allPaths(String startPoint, String endPoint){\n\t\t\t\t\t\n\t\t//Queue for BFS seen paths\n\t\tQueue_BFSALL <Vector> allpaths = new Queue_BFSALL <Vector>();\n\t\t\n\t\t// path vector to store the current path\...
47afc3d20d6e70fcbf7b2bf511790896
Returns the line which is saved in the object.
[ { "docid": "1d7c5dfdd1cb8fc8585ecf9159a991d9", "score": "0.0", "text": "public int getNextLine() {\n\t\treturn this.NEXTLINE;\n\t}", "title": "" } ]
[ { "docid": "16de9adf413e15f30260d2a327de4796", "score": "0.7398466", "text": "public Line getLine() {\n return line;\n }", "title": "" }, { "docid": "d6763adf5e9deb655f6bab2fc511d542", "score": "0.7354672", "text": "public String getLine() {\n\t\treturn line;\n\t}", "title": ...
fcb19bdcfae201d2850cf6ab061084a9
This method returns the email address of the sender of an email.
[ { "docid": "66c8df31fc58666224beee5dabe2da73", "score": "0.0", "text": "public String getSendEmailAddress(int controlNode_id) {\n String sql = \"SELECT sendmailaddress FROM emailconfiguration WHERE controlnode_id = \" + controlNode_id;\n return this.executeStatementReturnsString(sql, \"sen...
[ { "docid": "9fb5fc102bdabd76b781c3f1153935f7", "score": "0.72364897", "text": "public String getFromMail() {\n return fromMail;\n }", "title": "" }, { "docid": "07a0acfaa4298128920f62ad95514b07", "score": "0.7181777", "text": "public Address getSender() throws MessagingExce...
37a19b03bde1c4cf7c1d908a299c4f09
Removes all highlights from all of the Squares
[ { "docid": "3fc9c91f4f27c4ef87a6612e1347b87b", "score": "0.8243603", "text": "public void clearHighlights() {\n for (int x = 0; x < this.width; x++) {\n for (int y = 0; y < this.height; y++) {\n this.board[x][y].highlight = Highlight.NONE;\n }\n }\n ...
[ { "docid": "6a5181856cb55cc2b64f8f29c2c307f2", "score": "0.81292564", "text": "private void clearHighlights() {\n\t\tfor(int i=0; i<64; i++) {\n\t\t\tif(highlightedTiles[i] != -1) {\n\t\t\t\tplayAreaRectangles[highlightedTiles[i]].setFill(colours[highlightedTiles[i]]);\n\t\t\t}\n\t\t\thighlightedTiles[i...
9291aa71ca25409abae94672b193787a
Handler that uses executeBlocking to process request async
[ { "docid": "9e74613ce371831451ab6edac92273e6", "score": "0.0", "text": "private void getGreeting(RoutingContext ctx) {\n log.info(\"getGreeting .. \");\n String name = ctx.request().getParam(\"name\");\n vertx.executeBlocking(fut -> {\n fut.complete(service.getGreetingMes...
[ { "docid": "abc1250a34163c5a06c25fe126927f38", "score": "0.70657945", "text": "Executor handlerExecutor();", "title": "" }, { "docid": "d9cbb3e558be8566cc3e70f936e22b8c", "score": "0.6239759", "text": "@Override\n\tpublic void run() {\n\t\thandleRequest();\n\n\t}", "title": "" ...
db14dff279aa6c424137005336968d4a
Find the _Fields constant that matches name, or null if its not found.
[ { "docid": "df89e0a3046c32259e386bf9daf4403c", "score": "0.0", "text": "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" } ]
[ { "docid": "3153394dd5efe71fc805def104941b14", "score": "0.77456653", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" }, { "docid": "3153394dd5efe71fc805def104941b14", "score": "0.77...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "05ac59c7ffdf936fc3ad74be486440ee", "score": "0.0", "text": "@Override\n\tpublic void telegramReceived(Telegram telegram) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
72470469c5473802108e8f995cc4d078
Stores a voi name as a key to a voi variable. Like putVar, only for voi's.
[ { "docid": "403b6b4584359601275936d12990e129", "score": "0.7632538", "text": "void putVoiVar(String key);", "title": "" } ]
[ { "docid": "1832c0d60926a8e9ff37955d476a3ab8", "score": "0.72177607", "text": "void putVar(String key);", "title": "" }, { "docid": "9d9e66be2861da69827c869129a7f893", "score": "0.6319542", "text": "void putActiveVar(String key);", "title": "" }, { "docid": "83538894c6e1a...
551a3f197a144d3484416b96bfa61e91
Method get category imageUrl.
[ { "docid": "932771c442c01fbf313eb984707a942a", "score": "0.69599015", "text": "public String getImageUrl() {\n return this.imageUrl;\n }", "title": "" } ]
[ { "docid": "e287bcb3277bc61209eaadede45c3e52", "score": "0.71871305", "text": "public java.lang.String getImage() {\n\t\treturn _vcmsCategory.getImage();\n\t}", "title": "" }, { "docid": "90dfe94f885e8dc5e8ca68eefa6f8f80", "score": "0.6978265", "text": "public String getImageUrl() {\...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "3d581f8da4e634e0c085638e968bf6dd", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "24b4bc10b078ba60e54d834c5f825280", "score": "0.71224844", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\...
0a9aeaea75e534313a33f42acf07106a
Convenience method for adding query and form parameters to a get() or post() call.
[ { "docid": "cd418cee0473ef5b50e077b7b4c8638a", "score": "0.0", "text": "protected void addFormParam(Form formData, String name, Object value) throws IllegalArgumentException {\n\t\taddFormParam(formData, name, value, false);\n\t}", "title": "" } ]
[ { "docid": "c8f2d003755e2fb88f886643f7b4d15f", "score": "0.68200296", "text": "@Override\n public T addQueryParam(String name, String... value) {\n delegate.addQueryParam(name, value);\n return me();\n }", "title": "" }, { "docid": "840aaadf80f66d961e5fe4311e91655a", ...
ac195b4d214397ba58c395fc2f63c58c
Create a LateDirectoryInfo object with the specified attributes.
[ { "docid": "17b5eef0241835c61de769fc4d95ee5f", "score": "0.59294707", "text": "public static LateDirectoryInfo create(Path target, PathFragment src, SubpackageMode pkgMode,\n String metadata, FilesetEntry.SymlinkBehavior symlinkBehavior) {\n return new LateDirectoryInfo(target, src, pkgMode,...
[ { "docid": "cca3a338eb0945591ec8ef62e98be525", "score": "0.730521", "text": "public static LateDirectoryInfo createStub() {\n return new LateDirectoryInfo();\n }", "title": "" }, { "docid": "d1ab417f2736ad80c56e3ab3c279a93b", "score": "0.6440717", "text": "private LateDirecto...
f09c89e924ae8bc194a86b9f8f6f85f5
A container element end event handling method.
[ { "docid": "a78fb55f58a1ab962fc8f8696673beaf", "score": "0.0", "text": "public void end_tileset() throws SAXException;", "title": "" } ]
[ { "docid": "565d529ff29a53592d75ac709f1a0917", "score": "0.7449054", "text": "protected void endElementInternal() {}", "title": "" }, { "docid": "47b93024a17e7f0c56eec8859531ffeb", "score": "0.71812916", "text": "void elementDidEnd(Element element);", "title": "" }, { "do...
32f05ec53af32043742eb8c05c7f6a64
Clears all transactions that are in the given account and have a date greater or equal to the given date. Returns true if the action succeeded, false otherwise.
[ { "docid": "be48041cc80cb2b6938ca10a7c492569", "score": "0.7948488", "text": "public boolean\t\t\t\tclearAllTransactionsFrom(DateTime date, Account fromAccount);", "title": "" } ]
[ { "docid": "e5f67b18b88f678ad35c4326caf99bf0", "score": "0.49688134", "text": "public void \t\t\t\tclearAllAccounts();", "title": "" }, { "docid": "35b79dbcc2b62d483889cb8bc1e6be27", "score": "0.4948971", "text": "boolean deleteAccount(Account currentAccount);", "title": "" }, ...
72530665c18aced00a57486aa9aa6e90
Sets the key that should be used to find the tooltip text to display on the component in a resource bundle.
[ { "docid": "74fb9594a20e468679507055fa29dae0", "score": "0.7285629", "text": "public void setTooltipTextBundleKey(String tooltipTextBundleKey) {\r\n\t\tthis.tooltipTextBundleKey = tooltipTextBundleKey;\r\n\t\tstateChanged = true;\r\n\t}", "title": "" } ]
[ { "docid": "98ac4fb347394341720df44949aeaa3e", "score": "0.6657453", "text": "public String getTooltipTextBundleKey() {\r\n\t\treturn tooltipTextBundleKey;\r\n\t}", "title": "" }, { "docid": "581302be683ff97f2d1bfd6df34fe08e", "score": "0.65670496", "text": "@Override\n\tpublic void ...
af0c2d5ad2191dae03dc1ea469da14de
Sets the block's bounds for rendering it as an item
[ { "docid": "cf7d2c90ac9c68b5bf465882d887b78a", "score": "0.843212", "text": "public void setBlockBoundsForItemRender()\n {\n \tthis.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F);\n }", "title": "" } ]
[ { "docid": "e14cd174929ce0155b5e4da631f0cd2f", "score": "0.83632326", "text": "public void setBlockBoundsForItemRender()\n\t {\n\t this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.8125F, 1.0F);\n\t }", "title": "" }, { "docid": "47dd67468e4563cf1a244bc332cff7b9", "score": "0.67...
e7b8ed20c0776b578245a78fc8c42ec3
BFS Opt time: O((m+n)mn) space: O(mn)
[ { "docid": "b5cad2fcde746cf669eb46a5f143ae3c", "score": "0.0", "text": "public static List<List<Integer>> pacificAtlantic_bfs_opt(int[][] heights) {\n int m = heights.length;\n int n = heights[0].length;\n\n boolean[][] pacific = new boolean[m][n];\n boolean[][] atlantic = ne...
[ { "docid": "e764dd0c0a17df94afbb077c5f8cbbd3", "score": "0.7275067", "text": "static ArrayList<Integer> bfs(ArrayList<ArrayList<Integer>> g, int N) {\n ArrayList<Integer> visited = new ArrayList<Integer>();\r\n Deque<Integer> queue = new LinkedList<Integer>();\r\n ArrayList<Integer>...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "54c81e28879b70243272a858b316ff8d", "score": "0.0", "text": "@Override\n\tpublic List<Map> searchByChargeInPersonAll(String agencyCode, String begin,\n\t\t\tString end) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
e8f0f39463ac9eb178ac973aba3f212a
Finds the study group with the given name
[ { "docid": "97af34543352205d89060508ac354e53", "score": "0.7796094", "text": "Optional<StudyGroup> findByName(String name);", "title": "" } ]
[ { "docid": "58de110679ca8297a46f9836cb63e037", "score": "0.6988375", "text": "public void testFindByName() {\r\n GrouperSession s = SessionHelper.getRootSession();\r\n Stem root = StemHelper.findRootStem(s);\r\n Stem edu = StemHelper.addChildStem(root, \"edu\", \"e...
9155e2d4e715eba82c63f9fcddc4b6c9
$ANTLR end "par_type_u" $ANTLR start "var_type" parser/flatzinc/FlatzincWalker.g:128:1: var_type returns [Declaration decl] : ( ^( ARRVAR (d= index_set )+ d= var_type_u ) | ^( AVAR d= var_type_u ) );
[ { "docid": "159458b47f5eba746c3d45a3d0491c21", "score": "0.80362386", "text": "public final Declaration var_type() throws RecognitionException {\n Declaration decl = null;\n\n\n Declaration d = null;\n\n\n try {\n // parser/flatzinc/FlatzincWalker.g:129:5: ( ^( ARRVAR (d=...
[ { "docid": "b5bd71db6ea8d82770c41a8563d1661b", "score": "0.739009", "text": "public final Declaration var_type_u() throws RecognitionException {\n Declaration decl = null;\n\n\n CommonTree i1 = null;\n CommonTree i2 = null;\n CommonTree i = null;\n\n try {\n ...
a6af44dcddfd0b62101a9b79b94f0a34
peggy says only one of us is a knight ^ is the ExclusiveOr operator (XOR)
[ { "docid": "2724031fcbe38101949093d79f51791e", "score": "0.0", "text": "private static void scenario2(Islander peggy, Islander zippy) {\n if (peggy.isTellsTruth() != (peggy.isAKnight() ^ zippy.isAKnight())) {\r\n System.out.println(\"Contradiction!\");\r\n // zippy says only...
[ { "docid": "f50e032a2514a28ed868a8e62e05ac5e", "score": "0.7693262", "text": "private static int xorOP(int x, int y) {\r\n\t\treturn andOP(orOP(x, y), orOP(notOP(x), notOP(y)));\r\n\t}", "title": "" }, { "docid": "a87180fe82d5c0c2f7368bbe0369d1bf", "score": "0.6977902", "text": "publ...
d56446b194a33cb41422be5910c18e71
required int32 star = 5;
[ { "docid": "dcdd05c11f792c2488fa30a03f299f03", "score": "0.0", "text": "public boolean hasStar() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" } ]
[ { "docid": "af6170da47f7e264dc4af848f40bec93", "score": "0.6954019", "text": "int getStar();", "title": "" }, { "docid": "c45fc048e74fc72437866e544e3ff289", "score": "0.62937975", "text": "public int getStar() {\n return star_;\n }", "title": "" }, { "docid": "ad7...
3439023619039aaf16f98f8f02c80aed
Add contexts after bean discovery.
[ { "docid": "c782863306c2e5718f976c02d0261dd3", "score": "0.70362926", "text": "public void afterBeanDiscovery(\n @Observes AfterBeanDiscovery afterBeanDiscovery) {\n afterBeanDiscovery.addContext(new TestSuiteContext());\n afterBeanDiscovery.addContext(new TestContext());\n }...
[ { "docid": "ff17aaa6193556c7b1a95441185b2b91", "score": "0.59391207", "text": "@Override\n\tpublic void addContext(int port, String... contextPaths) {\n\n\t}", "title": "" }, { "docid": "5213f6ca953fdd1fe2e1e8ee451ddb93", "score": "0.5913167", "text": "protected void addBeanToContext...
bb48188c981bb0223f34ff0d032b3f94
/ This removes the input items and adds to the output slots.
[ { "docid": "7f07f57a8408597db32c6ed0501c27e3", "score": "0.0", "text": "private void doOperation() {\n\t\t// We don't have to check canDoOperation(), because all calls to this method will have done that beforehand.\n\t\t// This means that we can skip a lot of checks in this method.\n\t\t\n\t\t// Pure wa...
[ { "docid": "cb23f3aa5ef4d8746e505e9d9c86ade4", "score": "0.62555665", "text": "public void discardContents() {\n pallets = null;\n\n if (items != null) {\n items.clear();\n pickingIndex = 0;\n }\n }", "title": "" }, { "docid": "71b4308f1c18f716361ede28ff9cd9fe", "scor...
ace9041632f6fe4f0e2e4f3975983261
oblicza dlugosc zakodowanego slowa
[ { "docid": "278513fa4a6850e3dc44ce3f5b083f34", "score": "0.0", "text": "private int calcWordSize(int bits)\n\t{\n\t\tint wordSize = 0;\n\t\tint bitsLeft = bits;\n\n\t\t// oblicz ilosc bitow nadmiarowych (bity na pozycji bedacej potega 2)\n\t\tint i = 1;\n\t\twhile(bitsLeft > 0)\n\t\t{\n\t\t\tif(isPowerO...
[ { "docid": "8d2900b67f5a37a1289be5ddd72b97e7", "score": "0.71261054", "text": "public void speedup() {\n\t\t\n\t}", "title": "" }, { "docid": "13501339048af668dd999f9fdd5c4d78", "score": "0.6677745", "text": "@Override\n\tvoid speedUp() {\n\t\t\n\t}", "title": "" }, { "do...
ab342e76b365bea4de6a12b5f63462e0
GET /documents/:id : get the "id" document.
[ { "docid": "d9deb5af8cfe8d9be44d5a186d361944", "score": "0.8501557", "text": "@GetMapping(\"/documents/{id}\")\n @Timed\n public ResponseEntity<Document> getDocument(@PathVariable Long id) {\n log.debug(\"REST request to get Document : {}\", id);\n Document document = documentReposit...
[ { "docid": "23a0e54f3d7394aa9397224fc936b0c8", "score": "0.8226365", "text": "@RequestMapping(value={\"/{id}\"}, method = RequestMethod.GET)\n\tpublic ResponseEntity<Map<String , Object>> documentById(@PathVariable(\"id\") int id){\n\t\tHttpEntity<Object> request = new HttpEntity<Object>(header);\n\t\tR...
682c302283f0443355ad1b03ccd73ff6
FIXME only supported for R4 at the moment
[ { "docid": "948d0757089eb50e5cb4e0a98e444e04", "score": "0.0", "text": "private MethodOutcome createSnapshot(IBaseResource resource) {\n\t\tif (classR4.isInstance(resource)) {\n\t\t\tStructureDefinition theResource = (StructureDefinition) classR4.cast(resource);\n\t\t\tif (theResource.getSnapshot().isEm...
[ { "docid": "a71f185dfaf7230b8e77ee6f6a04d21b", "score": "0.60958856", "text": "@Override\n\tvoid rr() {\n\t\t\n\t}", "title": "" }, { "docid": "c8ceec30e6f3ebd2fb8cab39b477d3f3", "score": "0.56329817", "text": "private static void sapxep() {\n\t\t\n\t}", "title": "" }, { ...
c4f420c6b64e1dae68b1ee6c540b0ba5
POST /appeloffres : Create a new appelOffre.
[ { "docid": "893cf8939815c22c7f9d42002c6dd7ad", "score": "0.75496244", "text": "@PostMapping(\"/appel-offres\")\n @Timed\n public ResponseEntity<AppelOffre> createAppelOffre(@Valid @RequestBody AppelOffre appelOffre) throws URISyntaxException {\n log.debug(\"REST request to save AppelOffre :...
[ { "docid": "08ce0036d180f2687c3be8d7e5502b5a", "score": "0.6020024", "text": "@POST\n @Consumes({MediaType.APPLICATION_JSON})\n public Response create(Peliculas peliculas) {\n peliculasFacade.create(peliculas); \n return Response.ok(\"Dato ingresado\",MediaType.APPLICATION_JSON).b...
ccc0d1f1c93d3403c79d9213cd2b0993
Returns the label associated with vertex V.
[ { "docid": "c738fe0f3b62adb7cc225be9ce5e1081", "score": "0.79594725", "text": "VLabel getVLabel(Integer v);", "title": "" } ]
[ { "docid": "b1c7e2905db9d06a448205d040a1dd54", "score": "0.77033585", "text": "public Object getLabel(int vertex)\n {\n return labels[vertex];\n }", "title": "" }, { "docid": "0c365fc09c65f717cf6303c93a79bc79", "score": "0.7323", "text": "@Override\n\tpublic String getLa...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "09aeb75ab146bf731a6c33f38ebfcf81", "score": "0.0", "text": "public void mo85493a(long j, AbstractC17490a aVar) {\n if (f61765b != null && f61765b.get() == aVar) {\n this.f61766c.setStartTime(j);\n }\n }", "title": "" } ]
[ { "docid": "6e7d19f90dff629712933844b194e213", "score": "0.62741643", "text": "interface xb {\n /* renamed from: a */\n void mo3338a(String str);\n}", "title": "" }, { "docid": "dfc8884398507d7a30967d7ad7e44432", "score": "0.62433356", "text": "interface C11843b {\n /* r...
25ab69a20938f476f54ea25aa5fe3c37
Method to calculate the number of seconds within a time period consisted of minutes and seconds
[ { "docid": "e95a5f5d91fc4184c5c33fb1bba3e625", "score": "0.0", "text": "public int calculateReverseLength(int min, int sec) throws IllegalArgumentException {\n\t\tif (min == 0) {\n\t\t\tthrow new IllegalArgumentException(\"First input can't be 0\");\n\t\t} else if (sec == 0) {\n\t\t\tthrow new IllegalAr...
[ { "docid": "141effeebe1d80e42243b4f2488de7d4", "score": "0.74811476", "text": "int getTimePeriodSeconds();", "title": "" }, { "docid": "dc57da0310cb73dae4035c7c158adfca", "score": "0.730695", "text": "public long seconds();", "title": "" }, { "docid": "ba5901ff10203a60125...
2307734ccd1e0d41da486465ffbef9bb
============================================================== Class method to return the image icons directory path. ==============================================================
[ { "docid": "c6a6c35745c2b9aaa98568b3d06b43f2", "score": "0.882702", "text": "public static String getIconsDirectory()\n {\n return \"images\" + getFileSeparator() + \"icons\";\n }", "title": "" } ]
[ { "docid": "32ae434bbb55b9a106b419f74fdd3385", "score": "0.7572147", "text": "String getImageDirectory();", "title": "" }, { "docid": "50152672f71698648c3b7a1a9ff3c900", "score": "0.7545757", "text": "public String getImageDirectory() {\r\n return chooseDirectory(UI.getDefault...
e0d29631705bebda7e7953389962e51b
Vypne omezeni CORS pro prohlizec, aby JavaScript i z jine webove aplikace mohl delat pozadavky na nase REST API.
[ { "docid": "3da9f65f972b59f10e693ac526f492de", "score": "0.6069249", "text": "@Bean\n public WebMvcConfigurer corsConfigurer() {\n return new WebMvcConfigurer() {\n @Override\n public void addCorsMappings(CorsRegistry registry) {\n registry.addMapping(\"/**...
[ { "docid": "57a4329445c3edf631eb6be9db3aa1a8", "score": "0.6835291", "text": "private static void enableCORS(final String origin, final String methods, final String headers) {\n\n options(\"/*\", (request, response) -> {\n\n String accessControlRequestHeaders = request.headers(\"Access...
213c90b1556c509a2aa4e3f578756710
This method was generated by MyBatis Generator. This method sets the value of the database column AJ_CONTRATOS_V.EXP_SECUENCIA
[ { "docid": "ecb694fd3d5c7eb9b6d36460b137d67b", "score": "0.62667674", "text": "public void setSecuencia(BigDecimal secuencia) {\r\n this.secuencia = secuencia;\r\n }", "title": "" } ]
[ { "docid": "6bbf8b8366405348b1785f6dfcd2c81e", "score": "0.5580785", "text": "public void setEmpresaSeleccionada(Empresa empresaSeleccionada)\r\n/* 125: */ {\r\n/* 126:185 */ this.empresaSeleccionada = empresaSeleccionada;\r\n/* 127: */ }", "title": "" }, { "docid": "7317d1dd16...
116b91cb8914ba4774d510e96b35ff7a
// String return type //// argument name lastname
[ { "docid": "44f652e0077d5338fd1e122507d5ac59", "score": "0.0", "text": "String fullName(String name, String lastName) { // static\r\n\t\treturn \"Hi \" + \"This is \" + name + \" \" + lastName;\r\n\r\n\t}", "title": "" } ]
[ { "docid": "344653f11a6838de289b6a33629b2077", "score": "0.6912237", "text": "public String DoString() {\n String name = \"Dimuthu Ramachandra\";\n System.out.println(\"Name is \" + name);\n System.out.println(\"This is a method with string type\");\n return name;\n }", ...
5e0caea83e0b171765335e0651e99314
Constructor for a UserDetail object. This is a new page for a Tweet document.
[ { "docid": "cacd438a346467b6232bb8a087ea1a15", "score": "0.0", "text": "public UserDetails(String image, String text, String userName, String location, String date, String image_reference, MongoDatabase sampleDB) {\n \n this.image = image;\n this.text = text;\n this.userName = userNa...
[ { "docid": "b5d30953720a3222d62d872f0c76382d", "score": "0.59203374", "text": "public TwitterPost(String title, String user){\n\t\tsuper(title);\n\t\tthis.user = user;\n\t}", "title": "" }, { "docid": "2882d9efbc66de31ae6d134908e245bf", "score": "0.5726247", "text": "public TetraPage...
e5b3adc0c2185cf2b26c587d1eed5f85
get 'index'th element from this linkedList.
[ { "docid": "8ae52e3399f4e016d192aa9a38b2ac72", "score": "0.0", "text": "public LinkedList getNode(int index) {\n\t\tindex --;\n\t\tif(index < 0 ) {\n\t\t\treturn null;\n\t\t}\n\t\tLinkedList dummy = LinkedList.HEAD;\n\t\tfor(int i=0;i<index;i++) {\n\t\t\tif(!dummy.hasMoreElement()) {\n\t\t\t\treturn nul...
[ { "docid": "a5ebcfea61a81e81938f66992cb977f9", "score": "0.75101966", "text": "@Override\n public E get(int index) throws IndexOutOfBoundsException {\n if ((isEmpty())) {\n throw new IndexOutOfBoundsException(\"Invalid input, list is empty\");\n }\n Node currentNode = ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "58fbe9a7e37a07a064bc5d3e32d0921c", "score": "0.0", "text": "@Override\r\n\tpublic void setData(List<String> data) {\n\t\ttechnicalsTable.removeAllRows();\r\n\t \r\n\t for (int i = 0; i < data.size(); ++i) {\r\n\t \ttechnicalsTable.setWidget(i, 0, new CheckBox());\r\n\t \ttechnica...
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66284287", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65319943", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
13b8ff17bd6ad8f2a3404e96a1ccbe71
Set the user service
[ { "docid": "3df3f58f305b8517f73b81405772fb56", "score": "0.79415673", "text": "public void setUserService(UserService userService) {\r\n\t\tthis.userService = userService;\r\n\t}", "title": "" } ]
[ { "docid": "e6b52e2f79f1fd110a58b0291493291b", "score": "0.8180449", "text": "protected void setUserService(UserService userService) {\n \t\tthis.userService = userService;\n \t}", "title": "" }, { "docid": "4d54af3f355747d4f59ca2bfb225bc87", "score": "0.7956816", "text": "public voi...
bd57c8719000b6c276f1ba3c96efe47f
Touches one file (method to be implemented by subclass).
[ { "docid": "06d04d98a5a972b29cc6303c5b67fee5", "score": "0.811585", "text": "public abstract void touchOne(File file);", "title": "" } ]
[ { "docid": "2ed9475a3a85c2e759a0ae558fafb434", "score": "0.65289897", "text": "void fileUpdated();", "title": "" }, { "docid": "1fb670619ffda244c2999a0f53b0876c", "score": "0.61704755", "text": "public static void touch(String filename) throws ServiceException {\n\t touch(tundra.sup...
cfd45d005c77558f404022d1010991d0
close the progress bar and play the video if we have a position on savedInstanceState, the video playback should start from here
[ { "docid": "ced6ba7fc144873927245dd033bef06d", "score": "0.6240182", "text": "public void onPrepared(MediaPlayer mediaPlayer) {\n\n videoView.start();\n\n }", "title": "" } ]
[ { "docid": "c68466933c18b106adcbff77801f4e03", "score": "0.76757026", "text": "private void onVideoCompleted() {\n mHandler.removeCallbacks(mUpdateTimeTask);\n seekBarVideo.setProgress(0);\n mVideoView.seekTo(mStartPosition * 1000);\n mVideoView.pause();\n imgPlay.setB...
0783ee93ac91a0667b837f8c8ddca9da
10. Scanner scanner = new Scanner(System.in);
[ { "docid": "ebdc8268906d18d6843700dd3346e0f4", "score": "0.0", "text": "public void studentAverageForSubjectDisplay() {\n System.out.print(\"Kérem a tanuló nevét: \");\n String name = scanner.nextLine();\n System.out.print(\"Kérem a tantárgy nevét: \");\n String subjectName =...
[ { "docid": "fd0bbc6a673d3704fb0825b33ced8cfa", "score": "0.7117226", "text": "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n\n }", "title": "" }, { "docid": "926e218a80ad016936b8c6c293dfd16d", "score": "0.68371934", "text": "public static...
8f46e8502df510a32491ffebba66d7f7
This method was generated by MyBatis Generator. This method returns the value of the database column AJ_ESDOCUMENTOS_V.ID_OTRA_UNIDAD
[ { "docid": "ae994cda19020b18ed59040ab999d5ec", "score": "0.6922384", "text": "public BigDecimal getIdOtraUnidad() {\r\n return idOtraUnidad;\r\n }", "title": "" } ]
[ { "docid": "2bfde869a3fbc5b6d824289911fa7f35", "score": "0.67047864", "text": "public Unidad getIdUnidad() {\n return idUnidad;\n }", "title": "" }, { "docid": "b15df7212ee8968b4331fca7d929e20f", "score": "0.5952607", "text": "@Column\n\tpublic Integer getCodUnidades() {\n\...
e6b3a8be2d4a7e87ba8b6ed1d8a467d8
End of setCoordinateIndices Retrieves a reference to the array of indices into the coordinate array. This method should be considered for advanced users only. Novice users should just use getGeometryArray() to retrieve their data so that the internal format of GeometryInfo is of no concern. Depending on which of the ut...
[ { "docid": "b4e60d04a8add86475c71b77e426778a", "score": "0.68187195", "text": "public int[] getCoordinateIndices()\n {\n return coordinateIndices;\n }", "title": "" } ]
[ { "docid": "a6ac0aa5b552867f849e2fe4d4d74efe", "score": "0.6914909", "text": "public void setCoordinateIndices(int coordinateIndices[])\n {\n this.coordinateIndices = coordinateIndices;\n }", "title": "" }, { "docid": "2ecacfb904d132b38c4a45252569c364", "score": "0.64183104", ...
c61f38cac230ef37bacf5e29140cc217
Mostramos todos los empleados de la base de datos.
[ { "docid": "600ec80ae8fecda16d3e530289962f3a", "score": "0.59895533", "text": "private void mostrarEmpleados() {\r\n\t\tint incremento = 0;\r\n\t\t++incremento;\r\n\t\t\tSystem.out.println(\"Estos son todos tus empleados.\");\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t\tfor (Empleado empleado : empleados...
[ { "docid": "e63ef054abd418d1464f2fb60e5d9e82", "score": "0.72508436", "text": "@Override\r\n\tpublic ArrayList<Persona> obtenerTodosEmpleados() throws Exception {\n\t\treturn personadao.obtenerTodosEmpleados();\r\n\t}", "title": "" }, { "docid": "ed9ba0c059ddfda83f321ca6b31a26bd", "score...
b8d7442260d3027d0a5b25e8e66c8fc9
show message to displayed as a toast in the activity
[ { "docid": "8f1f21dea7440fe9926757aa8ae078e3", "score": "0.7379355", "text": "private void showMessage(String message) {\n\t\tToast.makeText(this, message, Toast.LENGTH_SHORT).show();\n\t}", "title": "" } ]
[ { "docid": "da7e39306b21e88dacff7f2d221f318e", "score": "0.8200695", "text": "private void toast(String msg) {\n Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "47fcd27e99ec248be198010d61920ed3", "score": "0.81821936", "text": "private...
1ef6f3e07093cacbf726e04e9c44be4c
Gets the operator this Query will perform.
[ { "docid": "0ad61f8bf54674f71c8311b33202f543", "score": "0.84434015", "text": "public QueryNode getOperator();", "title": "" } ]
[ { "docid": "a3b474593789b30e0ba19e5f85830433", "score": "0.846584", "text": "public Operator getOperator() {\n\t\treturn operator;\n\t}", "title": "" }, { "docid": "83f7fdee8713b8ec00ee4d6ba55c57b0", "score": "0.84171414", "text": "public String getOperator() {\n\t\treturn operator;\...
2033230283f0ebcab94754232149ba80
Open the about page
[ { "docid": "d8017741d51469c8a82502fba9553b77", "score": "0.61698526", "text": "public void openMissionStatement(View view){\n Intent intent = new Intent(this, AboutPage.class);\n startActivity(intent);\n }", "title": "" } ]
[ { "docid": "bdbb8605cb304a27a98747118245f8cb", "score": "0.7848902", "text": "void showAbout();", "title": "" }, { "docid": "24ebcdeff2d420cb23ad4bb9ba1e80e3", "score": "0.76088715", "text": "public void about(View view) {\n // new intent for the webpage viewer activity\n ...
970d7d8644955c3d19971dfcd92b77c9
[(gogoproto.casttype) = "github.com/ibmdeveloper/ibmcloudhyperprotectcrypto/golang/ep11.Return"]; uint64 Code = 1;
[ { "docid": "915002571322604dcb3da3d31e5b4c14", "score": "0.63608545", "text": "long getCode();", "title": "" } ]
[ { "docid": "196ee3ef1bde2ae24feb3375b6261920", "score": "0.70580065", "text": "com.blt.talk.common.code.proto.IMBaseDefine.ResultType getResultCode();", "title": "" }, { "docid": "196ee3ef1bde2ae24feb3375b6261920", "score": "0.70580065", "text": "com.blt.talk.common.code.proto.IMBase...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "74e3319fdce733bbd391edcdd4b8985c", "score": "0.0", "text": "public void addError(Test arg0, Throwable arg1) {\n\t\t\t\n\t\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": "" }, ...
8595041e7c8d738307c3dde67b31262b
pick the initial random centroids from the list of instances
[ { "docid": "ca54b69a3f2f42013b03dcab3d40e7de", "score": "0.5330639", "text": "public ArrayList<NamedVectorInstance> getHuman() {\n\t\tSystem.out.println(\" - Instances - \");\n\t\tArrayList<NamedVectorInstance> seeds = new ArrayList<NamedVectorInstance>();\n\t\tdisplayVectorInstances(instances);\n\n\t\t...
[ { "docid": "13d38a78b93d957c2d992871744680fc", "score": "0.7485011", "text": "private String[] generateRandomCentroids() {\n String[] centroids = new String[this.k];\n for (int i = 0; i < this.k; i++) {\n centroids[i] = generateRandomStrings();\n }\n return centroi...
8f14c8f6df088b74e74bf3a8a989538e
Called when another command which requires one or more of the same subsystems is scheduled to run
[ { "docid": "eea7ee0885d34e387ad392ed893fa03b", "score": "0.0", "text": "protected void interrupted() {\n \tRobot.chassis.disableHeadingPID();\n \tRobot.chassis.disableDistancePID();\n }", "title": "" } ]
[ { "docid": "db9a93307142f0d3e0e98b7c76fbc40f", "score": "0.6515573", "text": "private void configureSubsystemCommands() {\n }", "title": "" }, { "docid": "28a72d9618ffc1a719b6c03cb37c8095", "score": "0.6256146", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\t// If you don...
bc16c9660f02b4ea2a695c52c0a8e208
Updates the isDeleteButtonEnabled field.
[ { "docid": "b5778ea95a0a129ca27e79b727dcab07", "score": "0.81989396", "text": "public void setDeleteButtonEnabled(boolean isDeleteButtonEnabled)\r\n {\r\n this.isDeleteButtonEnabled = isDeleteButtonEnabled;\r\n }", "title": "" } ]
[ { "docid": "756fce6242f6dc9db458e221d6d831fb", "score": "0.7956012", "text": "public boolean isDeleteButtonEnabled()\r\n {\r\n return isDeleteButtonEnabled;\r\n }", "title": "" }, { "docid": "c4540b087479a59efbe30bba007127e1", "score": "0.73158514", "text": "private void...