query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
b128b48b795042b4932ca3719b35ccb8
This method was generated by MyBatis Generator. This method corresponds to the database table t_spec_name
[ { "docid": "452a64bf50027e51709b5336d0880913", "score": "0.0", "text": "int deleteByExample(TSpecNameExample example);", "title": "" } ]
[ { "docid": "873a04a5c88319df96d4498ca7e1704c", "score": "0.59594196", "text": "@Override\n protected String getTableName() {\n return \"table\";\n }", "title": "" }, { "docid": "088a9eee662ef9084a8a070be6f560f1", "score": "0.59581304", "text": "TSpecName selectByPrimaryKey(Integ...
8b25dde104640a4623e001dba3746980
/ headingVector = sin_phi, cos_phi, scalars = dx, dy calculate vector rotation and return movementVectors that based on long, lat coordination style
[ { "docid": "93526769b17375bdac1f2e24a91dde61", "score": "0.6781185", "text": "public static double[] getMovementVectors(double headingVector[], double scalars[]){\n double[] movementVectors = new double[3];\n\n movementVectors[0] = headingVector[1] * scalars[0] - headingVector[0]*scalars[1...
[ { "docid": "c9567a6b69186c44d49b26d60c22cc5f", "score": "0.64280033", "text": "public static double[] getHeadingVectors(float azimuth){ // 방위각을 통해 움직임 벡터의 단위벡터를 계산한다.\n double sin_phi = (float)Math.sin(Math.toRadians(azimuth));\n double cos_phi = (float)Math.cos(Math.toRadians(azimuth));\n...
52f3bf5be73ce7920a3031622eb1a7d5
method that reads in JSON files and translates info to the club class
[ { "docid": "da57e5ffdf811c05c757c3a0e5fffa6c", "score": "0.6343249", "text": "public ArrayList<Club> getClubJSONInfo(InputStream in)\n\t{\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString content = null;\n\t\ttry\n\t\t{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(...
[ { "docid": "bce38da26cfc5d96911fc2d35e2697dc", "score": "0.6701788", "text": "private ArrayList<Club> parseClubJSONInfo(String clubJSONInfo)\n\t{\n\t\tArrayList<Club> clubs = new ArrayList<Club>();\n\t\tClub c;\n\t\ttry\n\t\t{\n\t\t\tJSONObject jsonObject = new JSONObject(clubJSONInfo); //a big string o...
5a9e810a3c32d4967e1e442d4fece8c8
0 1 2 3 4
[ { "docid": "ac4e9de4a05d12a3d57116384f32f7a2", "score": "0.0", "text": "public static void main(String[] args) {\n int[] arr = {11, 22, 33, 44, 55};\n\n // 数组的遍历\n /*for (int i = 0; i < arr.length; i++) {\n System.out.println(arr[i]);\n }*/\n // 数组的反向遍历 (没有修...
[ { "docid": "01b81aea375d0a6d9ef21cb62da54f77", "score": "0.5780947", "text": "public int[] values(){ return new int[]{r,g,b,a}; }", "title": "" }, { "docid": "24af8036b1cd9262c663469fe89fe5a7", "score": "0.5693582", "text": "int getSequence();", "title": "" }, { "docid": ...
bb379a527fd53365ded03272e5b2c18c
Original signature : INT IVS_PU_H264DecAU(HWND, UCHAR, UINT, ULONGLONG, UINT, PU_H264_DEC_FRAME_S) native declaration : E:\video\HWPuSDK.h:11007
[ { "docid": "025e86b0777d876d5421f799d8f7cc61", "score": "0.8487355", "text": "int IVS_PU_H264DecAU(Pointer pH264Handle, ByteBuffer pucStream, int iStreamLen, long ullPTS, int iFlags, PU_H264_DEC_FRAME pstDecFrame);", "title": "" } ]
[ { "docid": "b235ffa0825464c2e713c561e2b7402c", "score": "0.81741405", "text": "int IVS_PU_H265DecAU(Pointer pH265Handle, PU_H265DEC_INARGS pstInArgs, PU_H265DEC_OUTARGS pstOutArgs);", "title": "" }, { "docid": "1d17eaee50af022fe7f2450716c97343", "score": "0.7733932", "text": "Pointer...
1df4052e85ad645137b9bd7cae539cac
Return the values as a doublearray.
[ { "docid": "15c2963254f522598a0f74a81f95f59e", "score": "0.7732866", "text": "public double[] data() {\n return values;\n }", "title": "" } ]
[ { "docid": "cb92c981583f3e1c5e4b7c4c9969313d", "score": "0.8422364", "text": "public double[] asDouble();", "title": "" }, { "docid": "1cc3f7442533927cb463dd95f687c423", "score": "0.815971", "text": "double[] toArray();", "title": "" }, { "docid": "1582bd0afa84fecd298caef...
b165a198b6ba33e780e2b290056e357f
$ANTLR end "rule__PASS__Group__2__Impl" $ANTLR start "rule__PASS__Group__3" ../org.provus.atm.command.ui/srcgen/org/provus/atm/command/ui/contentassist/antlr/internal/InternalCommand.g:495:1: rule__PASS__Group__3 : rule__PASS__Group__3__Impl ;
[ { "docid": "4113b6e699a1e410bfa7025d95741c05", "score": "0.7664817", "text": "public final void rule__PASS__Group__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.provus.atm.command.ui/src-gen/org/provus/atm/...
[ { "docid": "889bbc8845e14b117eff18bd286d9196", "score": "0.74071145", "text": "public final void rule__PASS__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.provus.atm.command.ui/src-gen/org/provus/atm...
a72d58305f9933ba7b427dd612f24dce
Creates a default Divider instance.
[ { "docid": "143b3844d3511c14a0fdcba0f22f78ce", "score": "0.7892565", "text": "public Divider() {\n\n }", "title": "" } ]
[ { "docid": "a088cc09b466ed52ea690dd2b0cb5282", "score": "0.65396017", "text": "private void addDivider() {\n Label label = new Label(\" \"); //$NON-NLS-1$\n label.setStyleName(\"divider-20\"); //$NON-NLS-1$\n add(label);\n }", "title": "" }, { "docid": "aad0a5ee507f2f...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2f45c2e4c568105f0631631b539154d7", "score": "0.0", "text": "@Override\n public void onGetPairState(int state)\n {\n }", "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": "" }, { ...
d1976b6b0e1a480a12abf4bf1f6614b3
Do an AStar first search. Start at each end to speed up
[ { "docid": "7315571d4aa95a63dc06cd6ac5f84f4b", "score": "0.0", "text": "public void solve(SolveAlgorithm solve, Boolean multiThreading, String threadId) {\n //solve.logger.add(solve.player.getName() + \" Entered AStar solve\");\n System.out.println(\"Solving AStar\");\n\n SolveWorker workerOne ...
[ { "docid": "f9790b5450ec4fadb8393c30c0cfdf0c", "score": "0.6794554", "text": "public State AStarSearch(State start)\n\t{\n\t\t\n\t\tfrontier.add(start);\n\t\t\n\t\t/* Make sure each visited node has the smallest f cost int based on the current situation */\n\t\twhile(!frontier.isEmpty())\n\t\t{\n\t\t\t...
3f609e2d957434acf7eb0942e1aa4ef4
name / xPosition ; yPosition ; rotateBody ; rotateHeader ; health
[ { "docid": "5417c96637248bbc194acf20c39eacef", "score": "0.0", "text": "public static Tank getInstantsByData(String data) {\n String[] lines = data.split(\"/\");\n String name = lines[0];\n lines = lines[1].split(\";\");\n if (lines.length != 6) throw new IllegalArgumentExcep...
[ { "docid": "d90cb9c40ff7194104abc07d3249262d", "score": "0.5742878", "text": "double getGunHeading();", "title": "" }, { "docid": "d6375ef09317fa5e07db89b8b3f1ecbf", "score": "0.56688195", "text": "public String getData() {\n String line = \"\";\n line += name + \"/\";\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "96514bba7cdd263425b701adaaba5989", "score": "0.0", "text": "@Override\n\tpublic void setCisDivision(String paramString) {\n\t\tlg.error(\"inside setCisDivision saID=paramString+\"+paramString);\t;\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
3e411c1aaf1e07600b608bd52cc7f2e9
Handle navigation view item clicks here.
[ { "docid": "9495ec3b8f426d07b79e7f93ebe71957", "score": "0.0", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == R.id.nav_profile) {\n Intent intent_home3...
[ { "docid": "5b911655084197dffe41a15a110a6b38", "score": "0.7061776", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n // Handle navigation view item clicks here.\n displayView(item.getItemId());\n r...
5386f4b64e5bda8295ddb04937a78e49
$ANTLR end "rule__ContainedPropertyAssociation__Group_4_2__1__Impl" $ANTLR start "rule__ContainedPropertyAssociation__Group_5__0" InternalAgreeParser.g:27075:1: rule__ContainedPropertyAssociation__Group_5__0 : rule__ContainedPropertyAssociation__Group_5__0__Impl rule__ContainedPropertyAssociation__Group_5__1 ;
[ { "docid": "529bfded69cd73006f5afddcc7c4f20d", "score": "0.70615405", "text": "public final void rule__ContainedPropertyAssociation__Group_5__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:27079:1: ( ru...
[ { "docid": "07239b1f76b90fb37246703b3f45f8f9", "score": "0.73547536", "text": "public final void rule__ContainedPropertyAssociation__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:26739:1: ...
4bb5f592231315aafde56ed929e97f38
This returns the label text for the adapted class.
[ { "docid": "2a25b649632d305181ac02566f2499fb", "score": "0.0", "text": "@Override\r\n\tpublic String getText(Object object) {\r\n\t\tLightingEffect lightingEffect = (LightingEffect) object;\r\n\t\treturn getString(\"_UI_LightingEffect_type\") + \" \" + lightingEffect.getDiffuseConstant();\r\n\t}", "...
[ { "docid": "63628d8d9a0ebef2aac749dc8693e4ea", "score": "0.7862475", "text": "java.lang.String getLabel();", "title": "" }, { "docid": "63628d8d9a0ebef2aac749dc8693e4ea", "score": "0.7862475", "text": "java.lang.String getLabel();", "title": "" }, { "docid": "63628d8d9a0e...
dd56953c4e2db8fd14e908023ef68173
Let this tower die
[ { "docid": "0d07bf9381ca5cc4fe10d3121077abd1", "score": "0.7110289", "text": "public void die() {\n health = 0;\n gridProvider.destroyTower(cell.getGridPosition().x(), cell.getGridPosition().y());\n healthBolletje.stopDrawing();\n onDie();\n }", "title": "" } ]
[ { "docid": "a2bd6d0e97c7ad08f1481c7d3633830e", "score": "0.7327707", "text": "public void die(){\n isAlive = false;\n state = DIE;\n }", "title": "" }, { "docid": "53315ad2a267d5bfb152da9415b9ccf9", "score": "0.6810586", "text": "public void die(){\n\t\tawardPoints()...
aa3a0378271025abe0e62a514cf74601
Getter for the height.
[ { "docid": "613cb1cdbcee732cf4596c8ee31fb9f8", "score": "0.8815627", "text": "public double getHeight() {\n return height;\n }", "title": "" } ]
[ { "docid": "8eb120146109c3ed4ae3395dc189ebae", "score": "0.8871931", "text": "public double getHeight() {\n return height; // this method will return value for height\n }", "title": "" }, { "docid": "495f5c083a4f3740df62303253e086da", "score": "0.880495...
0fd6b9a7a48152327027c4cff678ce44
Muuttaa tapahtuman tilin ulkoiseksi tiliksi
[ { "docid": "6d23dd85b1b54344ed56af997424a1d2", "score": "0.0", "text": "@FXML\n void handleLisaaUlkoTili() {\n lisaaTili(3);\n }", "title": "" } ]
[ { "docid": "aa8971df82cdb89f51410ff70317c0d2", "score": "0.7194228", "text": "private void peliLoppuuUfojenTuhoamiseen() {\n if (tuhotut == Ufolkm) {\n ingame = false;\n Loppusanat = \"STEVE HOLT!\";\n }\n }", "title": "" }, { "docid": "89d730812effabc0...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "aa0adedc82289ddfe9006388d6bf7e96", "score": "0.0", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tEmployee e = (Employee)obj; // 외에 오브젝트 변수명 빼먹고, Employee 첫 대문자 빼먹고, 오브젝트를 강제형변환해서 임플로이에 집어 넣고 블리안 이퀄을 하자. 결과는 this.d == e.d로 같다고 내보내고. \n\t\treturn (this.name == e.name && \n\t\t...
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
c5f0b9d3a50388f2e583e2f7bbf42a37
Keys are stored in Google Secret Manager. .google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
[ { "docid": "75e1fe6d60b4bc6eb824622500b30bd0", "score": "0.7292849", "text": "com.google.cloud.video.transcoder.v1.Encryption.SecretManagerSourceOrBuilder\n getSecretManagerKeySourceOrBuilder();", "title": "" } ]
[ { "docid": "7228bae74aa7be3b511653d5c095c4f1", "score": "0.8191577", "text": "com.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource getSecretManagerKeySource();", "title": "" }, { "docid": "1ceac0195f88a009a904ae5f8ce1004a", "score": "0.657224", "text": "public interfac...
330b138397c2aa63d9daf9177d7e1f8c
private constructor so this class cannot be instantiated using NEW
[ { "docid": "a4f2b1bb05f4c5a5c34a01c29e3201bd", "score": "0.0", "text": "private SingletonPattern(){}", "title": "" } ]
[ { "docid": "f3a8d0395ef2912924dcbda1cb8e1adc", "score": "0.76902074", "text": "private U() {\n // just blocking the constructor.\n }", "title": "" }, { "docid": "e1d8d30db16e25b61890c83750260dbf", "score": "0.7510681", "text": "private ZachyceniVyjimky() {}", "title": "...
fe1723ec8dcd95f6a9a2fa93691c0375
Creates a new TWalker object that takes in a TreeBag to iterate upon
[ { "docid": "ae04e3e553dca5eccc9f1888b25a7bad", "score": "0.76648474", "text": "public TWalker(TreeBag bag){\n /* fill in */\n bag = bag;\n root = bag.root;\n left = bag.root.getLeft();\n right = bag.root.getRight();\n parent = null;\n \n }", "title": "" } ]
[ { "docid": "9953b678bc30b202b62fd3195b4b3063", "score": "0.5687878", "text": "public abstract void traverse();", "title": "" }, { "docid": "a25c18a6dd410913f5a1bc26580e037e", "score": "0.56705403", "text": "public BinaryTreeIterator(BTree<V> tree) {\n this.stack = new Stack<Positio...
55afb7103bd6c6d79360827ee7c01000
<< define INStockValLastModified(%obj) $piece(%obj,"~",3)
[ { "docid": "ecbaae0598cef508e5db2ed2ca63a525", "score": "0.6482653", "text": "public static Object $$$INStockValLastModified(mContext m$, Object ... _p) {\n mVar p$obj = m$.varRef(\"p$obj\",(((_p!=null)&&(_p.length>=1))?_p[0]:null));\n return (m$.Fnc.$piece(p$obj.get(),\"~\",3));\n }", "title...
[ { "docid": "ffa14475e372d79234feb4418702ba8c", "score": "0.69522476", "text": "public static Object $$$StrINStockValLastModified(mContext m$) {\n return (m$.fnc$(\"COMConst.GetPropertyName\",\"INStockVal\",3));\n }", "title": "" }, { "docid": "aef624936294c8032283d9b5938b51e0", "scor...
2643b61430d83bc8b281f20f3005faae
Creates a log math with the given base
[ { "docid": "34a7c0d250d548f1ddfb1accd1532318", "score": "0.8182552", "text": "public static LogMath getLogMath(double base) {\n \t return new LogMath(base);\n }", "title": "" } ]
[ { "docid": "0b227db9862a2dd17c726c89248520a8", "score": "0.8242766", "text": "double log(double a, double base){\n }", "title": "" }, { "docid": "07b7619d8548c8569cc0bd53ddf26b68", "score": "0.77784234", "text": "public static double logAnyBase(int input, int base){\n retur...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5667aa94663a6710c187bed53012beac", "score": "0.0", "text": "@Override\n\tpublic Object pop() {\n\t\treturn arr[top--];\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
f86083d9d4dccbc8153e018639931758
Writes a single temporal posting to disk for all files indexed up to now, and removes them from memory.
[ { "docid": "0f259da1eaeeac8731a30728ce5accb0", "score": "0.6037403", "text": "private void writePosting(int posting_id, HashMap<String, LinkedList<String[]>> termsInDocs) throws IOException {\n String[] postingPath = {index_path, \"postings\\\\temp\", String.valueOf(posting_id)};\n ...
[ { "docid": "65eea298d85fd412b4ed965b260bdee9", "score": "0.57691777", "text": "public void wipe(String temporalDocumentURI, String temporalCollection);", "title": "" }, { "docid": "8c4d1ef2e1087c9717f7fab35e0aec04", "score": "0.5617476", "text": "public static void createPosting( Fil...
a2f2ab93bd8cb369d4053700924c0f13
Get user by id
[ { "docid": "cc97c7660911d7544c25553c0f05a230", "score": "0.0", "text": "@GetMapping(\"/users/{userId}\")\n public EntityModel<User> getUserById(@PathVariable int userId)\n {\n User user = service.findOne(userId);\n if(user == null)\n throw new UserNotFoundException(\"id-\...
[ { "docid": "932ae118cf4a46ba90b78cea92dc54be", "score": "0.8498803", "text": "User getUserById(int id);", "title": "" }, { "docid": "010b7cdbbc1b2a1826447ed808062b1e", "score": "0.8495246", "text": "User get(Long id);", "title": "" }, { "docid": "9ae5a8c7049807a50222decbf...
a2442b96e7cb066f93474aa5887903ac
Gets the Y position value for the dashboard layout container.
[ { "docid": "14380e8e54ef56d0cae40bacf53b8448", "score": "0.78254104", "text": "public int getDashboardLayoutYPosition( String id ) {\n return getDashboardLayoutPosition( id ).getY();\n }", "title": "" } ]
[ { "docid": "552c19585374e036294cd8cbc9720554", "score": "0.7751121", "text": "public int getDashboardWidgetYPosition( String id ) {\n return getDashboardWidgetPosition( id ).getY();\n }", "title": "" }, { "docid": "5acaf3c548d53448f87dd8384cb5e99b", "score": "0.7495993", "text": ...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "fa7712d358287210265aaa5a8593d376", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n userFunctions = new UserFunctions();\n\n if (id == R.id.action_settings) {\n return true;\n }...
[ { "docid": "b17d497994c95df0d01a4795e2a9a648", "score": "0.76902956", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n this...
9a7ac2c0ab0f6d3cfd8be8f2b9bc1c5e
$ANTLR end "rule__ParameterList__Group_2_1__1__Impl" $ANTLR start "rule__Parameter__Group__0" InternalJexTest.g:8990:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ;
[ { "docid": "8d62f902e68f01c1655af3cba3c9f420", "score": "0.7730224", "text": "public final void rule__Parameter__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalJexTest.g:8994:1: ( rule__Parameter__Group__0__Im...
[ { "docid": "328e54ff028f52ad1530d25357258d51", "score": "0.76416737", "text": "public final void rule__Parameter__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalLang.g:7618:1: ( rule__Parameter__Group__0__Impl r...
8f2b1ea31abcd1f3087681c7f934a91e
Checks if is querying the effect status is supported.
[ { "docid": "0e4570913fc8b1fea5f91d7d1907edaa", "score": "0.8577989", "text": "public boolean isQueryingEffectStatusSupported();", "title": "" } ]
[ { "docid": "293a19e5f0d2cea22c4409737e2687d6", "score": "0.7300681", "text": "public boolean isEffectSupported(Effect effect);", "title": "" }, { "docid": "4d7ce426cead1bea8e6845bfeb9e681d", "score": "0.68651134", "text": "public boolean isEffectSupported() {\n return (mCamera...
46c0292759b61ae53d47abf005106336
Used to generate the YouTube channel IDs from links
[ { "docid": "fee6d29d32d883591b706ab9725df784", "score": "0.7240729", "text": "public void generateIDs(){\n int number = 1;\n for(CSVRecord record : csvRecords){\n String link = record.get(CHANNEL_LINK);\n\n if(link.contains(\"/channel\")){\n link = link...
[ { "docid": "8a79664a83e0ed2c65d7d41cec248a74", "score": "0.5482942", "text": "private void generateVideoList() {\n youtubeVideoArrayList = new ArrayList<>();\n String videoUrl = currItem.getVideoUrl();\n videoUrl = videoUrl.substring(Constants.VIDEO_EMBED.length());\n youtube...
12af567b7d4998d16cbf15f986dd12f8
property hasPrev setter method
[ { "docid": "62f979940e5cfcaf7030b51f3590e954", "score": "0.7542621", "text": "public void setHasPrev(boolean hasPrev) {\n\t\tthis.hasPrev = hasPrev;\n\t}", "title": "" } ]
[ { "docid": "4ac881ef9f36c62ed3445d1b9e430d81", "score": "0.7439409", "text": "public abstract boolean hasPrevious();", "title": "" }, { "docid": "c1e0232a300a3eb75aacc721da5c2698", "score": "0.7338502", "text": "public boolean isHasPrev() {\n\t\treturn hasPrev;\n\t}", "title": ""...
ce1d41186dd1aee1f92bb37a5c0e378e
Method checks if the Tool has an active fitted network or not.
[ { "docid": "1bed714eddceb323245fbdb5bce974fe", "score": "0.7829977", "text": "public Boolean hasFittedNetwork() {\r\n if (bnnetwork != null) {\r\n return bnnetwork.isFitted();\r\n } else {\r\n return false;\r\n }\r\n }", "title": "" } ]
[ { "docid": "37500e878975c95c73b884274271a9e5", "score": "0.6975886", "text": "boolean hasNetwork();", "title": "" }, { "docid": "9cb7803535cb99b5b5fa6d973558c75a", "score": "0.6814277", "text": "public boolean hasNetwork() {\n return instance.hasNetwork();\n }", "titl...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "94f835707e5e91c49d9e788b4c51cdf0", "score": "0.0", "text": "@Override\r\n\t\t\t\tpublic void mouseEntered(MouseEvent e) {\n\r\n\t\t\t\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": "" }, { ...
c1a61b365c0b05e444e9e1c6a70a8705
Creates a new instance of UIModelBase
[ { "docid": "65496db852cfe7831c3c0beba3f62e3d", "score": "0.80428994", "text": "public UIModelBase() {\n }", "title": "" } ]
[ { "docid": "7bbe2f8894bb72583525ee6837310a22", "score": "0.72602886", "text": "public Model createModelInstance();", "title": "" }, { "docid": "1cb2ce901764756aacd929d0a57cc60d", "score": "0.68253416", "text": "Model createModel();", "title": "" }, { "docid": "1cb2ce90176...
ab643c8368580bab334c7089647522cf
make sure good moves on empty board
[ { "docid": "8eb304a15a53c81306aa164fc7c488bb", "score": "0.72195137", "text": "@Test\r\n\tvoid legalMovesTest() {\r\n\t\ttry {\r\n\t\t\tboard.placePiece(bPawn, \"e5\");\r\n\t\t\tassertTrue(listEqualRegardlessOrder(Arrays.asList(\"f4\"), bPawn.legalMoves()));\r\n\t\t\tboard.placeNull(\"e5\");\r\n\t\t\t\r...
[ { "docid": "b50724bbf0eea1168612cb9840b3ba1e", "score": "0.7923625", "text": "private void CheckApplyMove(Move move){\n Position start = new Position(move.GetStartX(), move.GetStartY());\n Position end = new Position(move.GetEndX(), move.GetEndY());\n Piece temp = m_boardState[start...
3c8e26bae6f85edf968a24259e81b164
/ Obtain Json String from SharedPreference
[ { "docid": "ddeac63f22c63046b3f497c6d544be86", "score": "0.85060036", "text": "private String getJsonStringFromSharedPreference() {\n\n String jokeJsonString ;\n\n //读取SharedPreference文件,获得jsonString,解析\n SharedPreferences prefs = getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE);\n...
[ { "docid": "a05d4f6c7771279bb3e762fc8bf1970c", "score": "0.703954", "text": "private void jsonToSharedPreference(String jsonString) {\n\n SharedPreferences.Editor editor = getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE).edit();\n editor.clear();\n editor.putString(\"joke\", jsonSt...
c64c0775291ac84d4e7db934ae985efa
Returns HTML defining a query.
[ { "docid": "f8d6a3d5037465ac0c35fc5a334d7295", "score": "0.0", "text": "public String getQueryDefinition(int expID, int queryDefID) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "d59d6d1221d1193fe14ceb01ca29cd4b", "score": "0.67907727", "text": "public String getQuery() {\r\n return query;\r\n }", "title": "" }, { "docid": "8b96a2713b5bbac437acbe26fe2acdff", "score": "0.67437714", "text": "public String getQuery() {\n return query;\n ...
704dd4354693c488595430322e05d60a
Evaluates the current user's privileges for calling the specified method for the specified objects of the specified resource type. The current user is retrieved from the UserContext.
[ { "docid": "8cdfa9df430c2e8df2ba1fa7f9e18aef", "score": "0.46494192", "text": "List<Object[]> evaluateMethodForList(String resourceName, String methodName, List<Object[]> argumentList)\r\n throws AuthenticationException, AuthorizationException, MissingMethodParameterException,\r\n Resource...
[ { "docid": "209a9343840699dec2ee9a2878ce1bb1", "score": "0.58572996", "text": "@Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n Class<?> resourceClass = resourceInfo.getResourceClass();\n List<Role> classRoles = extractRoles(resourceClass);\n...
d450e208e4f772ddabd16d26a90eca98
First create a request to ensure the ID exists for search
[ { "docid": "2cfe55aae2148f8cfdb9b5d75cd1e659", "score": "0.5140475", "text": "@Test\n public void postRequestUpdatenameAndStatus_Empty() {\n String requestBody = createPetRequest.canCreateFullPetRequestBody();\n Response responsePost = petMethods.postAddANewPetToTheStore(\"pet\",request...
[ { "docid": "712d0ab658faf8479273edc5e75fc2e3", "score": "0.61357", "text": "private static void searchById() {\n\t\r\n}", "title": "" }, { "docid": "de7b78c44c5347e1c1c0130a66247a54", "score": "0.60983753", "text": "@Test\n public void entryIdExistsTest() {\n String chainId...
d5b209e5ddf0feed2545c9cc782721d5
Refactor an expression string to turn subtraction into addition of a negative operand so that is easier to parse.
[ { "docid": "c737ca3fa9972735818d33746fd8c26b", "score": "0.76699513", "text": "static String makeSubtractionUseAddition(String expression) {\n\n // For each right parentheses or number followed by a minus sign, insert a plus before\n // the minus sign. The minus sign will negate the operan...
[ { "docid": "055f716fef742f539e30d08b7a80aa4e", "score": "0.7137698", "text": "static String preprocessExpression(String expression) {\n return makeSubtractionUseAddition(\n makeMultiplicationExplicit(\n makeNegationExplicit(expression)\n )\n ...
6b46cbdcb70f3536552119c19ba706ad
=================== Sorted List Methods =================== Returns a fixedsize sorted list of pseudo random numbers The length of the list will be of size: 20
[ { "docid": "b8aac8d93f75942bf689fde61e8c864b", "score": "0.7507316", "text": "public static int[] generateSortedList() {\n return buildSortedList(20);\n }", "title": "" } ]
[ { "docid": "4e47274bf0e71258010dc962a07c58d1", "score": "0.7127325", "text": "private void sorted() {\n new Random()\n .longs(20, 0, 100)\n .sorted()\n .forEach(System.out::println);\n\n new Random()\n .longs(20, 0, 100)\n ...
17810eb85294cb39e9da37a31fa81e3e
$ANTLR end "ruleUnaryExpression" $ANTLR start "entryRuleCastExpression" InternalReflex.g:1038:1: entryRuleCastExpression : ruleCastExpression EOF ;
[ { "docid": "03405bc2a979f13f8bc97b1cfa3ce936", "score": "0.7885918", "text": "public final void entryRuleCastExpression() throws RecognitionException {\n try {\n // InternalReflex.g:1039:1: ( ruleCastExpression EOF )\n // InternalReflex.g:1040:1: ruleCastExpression EOF\n ...
[ { "docid": "f1b849718aea74f9a969fae00ef4746b", "score": "0.7251736", "text": "public final void rule__UnaryExpression__RightAssignment_4_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:10886:1: ( ( ruleCastExpr...
aeedc84da37330ed15679ebe39d4cd75
$ANTLR end "setterDeclaration" $ANTLR start "tuplePatternStart" /Users/bastien/Dev/ceylon/ceylonspec/Ceylon.g:482:1: tuplePatternStart : LBRACKET ( compilerAnnotations ( PRODUCT_OP )? LIDENTIFIER | ( compilerAnnotations declarationStart )=> ( compilerAnnotations declarationStart ) | tuplePatternStart ) ;
[ { "docid": "2ee278eff268e814e8abf46286b39063", "score": "0.77484226", "text": "public void tuplePatternStart() throws RecognitionException {\n try {\n // /Users/bastien/Dev/ceylon/ceylon-spec/Ceylon.g:483:5: ( LBRACKET ( compilerAnnotations ( PRODUCT_OP )? LIDENTIFIER | ( compilerAnnot...
[ { "docid": "233991934ace9b942021f0e9769dc01d", "score": "0.70873404", "text": "public void synpred4_Ceylon_fragment() throws RecognitionException {\n // /Users/bastien/Dev/ceylon/ceylon-spec/Ceylon.g:496:7: ( tuplePatternStart )\n // /Users/bastien/Dev/ceylon/ceylon-spec/Ceylon.g:496:8: tu...
376b6b2d39d26fe62dbcba3b3d70f1c4
time complexity: o(n), space complexity: O(1)
[ { "docid": "8bb147ed656a7aaca684ade08278ed58", "score": "0.0", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n // Start typing your Java solution below\n // DO NOT write main() function\n// if(l1 == null) return l2;\n// if(l2 == null) return l1;\n ...
[ { "docid": "d0874d02b50305a5d154f0158e2f6d21", "score": "0.6241888", "text": "public static void getDifferentNumber() {\n\t\tint[] arr = new int[] {4,3,2,1};\n\t\t//Approach 1: time:O(n) space:O(n)\n\t\tint min = 1;\n\t\tHashSet<Integer> set = new HashSet<>();\n\t\tfor(int n:arr)\n\t\t\tset.add(n);\n\t\...
787da01bb28a2fbec86c46143708306d
Tests if the .drawCard() works as intended
[ { "docid": "12ace3f7432c936ea0c7a84934eaa17b", "score": "0.6471919", "text": "@Test\n\tvoid test2() {\n\t\tDeck deck = new Deck();\n\t\tassertEquals(deck.getDeck().size(), 52);\n\t\tdeck.drawCard();\n\t\tassertEquals(deck.getDeck().size(), 51);\n\t}", "title": "" } ]
[ { "docid": "b0fd9cac6aaf094658dd3a48181b0e1d", "score": "0.77189714", "text": "public void drawCard(Card card);", "title": "" }, { "docid": "afbc0a5937df7a27901fbf6a32fd34e3", "score": "0.7253236", "text": "public void drawCareerCard ()\r\n {\r\n decks.get (4).drawCard ();\...
1be1242b0c01dce15b5d31e17addedad
Dynamic programming call to speed things up and avoid recalculating
[ { "docid": "1c1c94eaff7c2033bd93cbf83a7d0a61", "score": "0.0", "text": "private static int uniquePaths_from\n (Pair<Integer, Integer> pos, HashMap<Pair<Integer, Integer>, Integer> num_paths) {\n if(num_paths.containsKey(pos))\n return num_paths.get(pos);\n\n\n //This ...
[ { "docid": "754c4b71dc9be8cec077c21c6e32e425", "score": "0.6210091", "text": "public static int optimalCostDynamic(List<List<Integer>> queues) {\n int q1 =queues.get(0).size() + 1;\n int q2 = queues.get(1).size() + 1;\n int q3 = queues.get(2).size() + 1;\n int[][][] results =...
1212094bc22e53b97d66af774b6ecb92
Adds the given list of Tasks to the given model
[ { "docid": "5dbc20d26bd2ae711ba38de48d127b17", "score": "0.8568226", "text": "void addToModel(Model model, List<Task> tasksToAdd) throws Exception{\n for(Task p: tasksToAdd){\n model.addTask(p);\n }\n }", "title": "" } ]
[ { "docid": "bbe937c04a8a0985d40c0c026e16af5d", "score": "0.8129019", "text": "void addToModel(Model model, List<Task> tasksToAdd) throws Exception {\n\t\t\tfor (Task p : tasksToAdd) {\n\t\t\t\tmodel.addTask(p);\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "fcc1e048d121467129498326952135e9", ...
3e59af656dba55c8d1db05ac45fd6c19
Checks if the most top directory in the given path is a sub directory of the currentDir. If the sub directory is found, recursively sends the rest of the path to be searched until a base case has been reached. Once at the final directory, checks if the desired file name exists.
[ { "docid": "c4dafdf2a7c3f6fd073cc3e0057c539c", "score": "0.58015364", "text": "public int checkFilePath(Directory currentDir, String path);", "title": "" } ]
[ { "docid": "b2d99487acb860e7f540de650c66d512", "score": "0.6193497", "text": "private boolean isSubdirectory(File file) {\r\n boolean result = false;;\r\n try {\r\n String path = Filenames.getCanonicalPOSIXPath(file);\r\n result = path.startsWith(this.basePath);\r\n ...
cb3b6bb2e6cadc0cd525f3ecfdefdd35
Delete expense detail coding blocks
[ { "docid": "99854c46f31bf6a0df7a8aa46bc05d90", "score": "0.6837411", "text": "public ExpenseMasters deleteExpenseDetailCodingBlocks(\n\t\t\tExpenseDetailCodingBlocks expDetailCB, ExpenseMasters expenseMaster) {\n\n\t\t// if (codingBlockList == null)\n\t\t// return null;\n\n\t\t// Remove Coding block fro...
[ { "docid": "fbbf1d8b55971f0961b25cd90366c29b", "score": "0.60487294", "text": "private void deleteExpense() {\n // Only perform the delete if this is an existing expense.\n if (mCurrentExpenseUri != null) {\n // Call the ContentResolver to delete the expense at the given content...
125f0784db92c31e8b3bbb02bf9674df
private static ClientMsg instance = null;
[ { "docid": "282f7bc4dafce7d7aa946d9111d9d5dc", "score": "0.6286389", "text": "public ClientMsg (MainActivity ma,Handler hd){\n//\t\tif(!ma.isDead)\n\t\t{\n\t\tmainActivity = ma;\n\t\thandler = hd;\n\t\tuserID = -1;\n\t\tKeyData kd = KeyData.SharedKeyData();\n\t\tbasePort = kd.GetClientBasePort();\n\t\tI...
[ { "docid": "c7c95a0f03a2a507acf8511ab4d05e98", "score": "0.6799977", "text": "public MessageClient(){}", "title": "" }, { "docid": "ae9bdea4a7229ece9f86afdf4173d921", "score": "0.6739737", "text": "MessageServer() {\n\t}", "title": "" }, { "docid": "48420c5abd0b499f2c83d1...
07a710abed55174916ef13a92bfd7c03
Extract information from a single commit
[ { "docid": "74b31fc983a9f0a33f1794c9b2fab070", "score": "0.7273658", "text": "static public void extractSingleCommit(String commitId) throws Exception\n\t{\n\t\tDataExtractor de = new DataExtractor();\n\t\tList<String> commit_ids = new ArrayList<String>();\n\t\tcommit_ids.add(commitId);\n\t\tde.extractC...
[ { "docid": "2320d20a8628cd6ded4a4342140c8843", "score": "0.661598", "text": "public Commit commitFullInfo(ArrayList<Commit> commitList) {\n\t\tCommit previousCommitID = null;\n\t\tfor (int i = 0; i < commitList.size(); i++) {\n\t\t\tif (commitList.get(i).commitID.contains(this.commitID)) {\n\t\t\t\tretu...
ba95d746985a892d63d18af7d549ac15
Created by lmzqm on 2017/8/11.
[ { "docid": "70ab9c070ee07be4f73cbe81e199b2e2", "score": "0.0", "text": "@Mapper\npublic interface FocusMapper {\n\n List<FocusDetail> getFocusList(@Param(\"id\") Integer id);\n\n List<FocusDetail> getFocusedList(@Param(\"id\") Integer id);\n\n Integer addFocus(Focus focus);\n}", "title": ""...
[ { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.60808", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4d9e164e4e911df1380f4618e0fe7a08", "score": "0.599665", "text": "OI (){\n\t\t\n\t}", "title": "" }, { "docid": "f4b...
9c60963c21b7233fee842b71c9bcc3f8
Get the expiration policy value of the ticket in seconds.
[ { "docid": "34c8380dbad26e356b53b1574c2c4a60", "score": "0.6469671", "text": "private static Duration getTimeToLive(final Ticket ticket) {\n val ttl = ticket.getExpirationPolicy().getTimeToLive();\n if (ttl >= Integer.MAX_VALUE) {\n return Duration.ofSeconds(0);\n }\n ...
[ { "docid": "b36d157874f89e699bd3bdde429e4b5a", "score": "0.68169403", "text": "public long getExpiration() {\n return expiration.get();\n }", "title": "" }, { "docid": "7136e11d6538be678136d15bd16e5b4e", "score": "0.6636445", "text": "long getExpirationTime() {\n fin...
1eca9c182c0091477ba4e898025dd2eb
Construct the SQL SELECT where clause part given the data structure and the selection string
[ { "docid": "69a99c8e408d79f3ff33ee5272d45b40", "score": "0.57170576", "text": "public static String getWhereFromZLSLCT(EquationDataStructure dataStructure, String zlslct)\n\t{\n\t\tzlslct = Toolbox.pad(zlslct, dataStructure.getInitialBytes().length);\n\t\tStringBuilder sqlString = new StringBuilder();\n...
[ { "docid": "5a05705f1f776814b3b42f37dd724e2e", "score": "0.73519427", "text": "public String buildWhereClause();", "title": "" }, { "docid": "83cb2e1b9542b6d7540ac730cf823543", "score": "0.6721145", "text": "private void buildQuery(String what)\n\t{\n\t\t// build the query, must be e...
f67db788b9c84c4b11f0b9b0b5bd49b0
First decode with inJustDecodeBounds=true to check dimensions
[ { "docid": "1a8060399e43ed8613766f5d57d7abd3", "score": "0.0", "text": "public static Bitmap decodeSampledBitmapFromResource(Resources res,\n int resId, int reqWidth, int reqHeight) {\n final BitmapFactory.Options options = new BitmapFactory...
[ { "docid": "92f8cf343258d4eeb31e7a9bf3d3ffd8", "score": "0.563934", "text": "public boolean hasDimensions() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "da6ee9932c72cbcc2adf9f0b06d6a386", "score": "0.56358004", "text": "public boolean...
1bf89447b80ec86ff401a389c9f91f7d
/ access modifiers changed from: protected
[ { "docid": "67a419640ac7548f80938afe73b76b87", "score": "0.0", "text": "public void _finishString() throws IOException, JsonParseException {\n int i = this._inputPtr;\n int i2 = this._inputEnd;\n if (i < i2) {\n int[] inputCodeLatin1 = CharTypes.getInputCodeLatin1();\n ...
[ { "docid": "176e34d0e98f75196c596e32acb014d3", "score": "0.73114187", "text": "protected Indirect() {/* intentionally empty block */}", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.68200964", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "...
8bd9a4b25d06555b639581a3e197cb21
Test having a union for that has multiple of the same types, boolean, integer, boolean, integer type.
[ { "docid": "97105f9d9bbe3c38772d6249ac616763", "score": "0.55601615", "text": "@Test\n\tpublic void testUnionSame() throws IntegerRangeException {\n\t\tDecl.Variable unionParam = new Decl.Variable(null, new Identifier(\"unionParam\"), new Type.Union(Type.Bool, Type.Int, Type.Bool, Type.Int));\n\t\tTuple...
[ { "docid": "3e81b5f1133cf9c5853fc4f6cf852d25", "score": "0.68398374", "text": "boolean shouldConvertRaggedUnionTypesToVarying();", "title": "" }, { "docid": "66e2a703561cf136267ec9e191d0157e", "score": "0.6247427", "text": "private boolean isUnion() throws QueryException {\n if(ws...
83580a89278ce54a02e6a76a0fdbceab
TODO generate vel/acc/jerk/x/y from path
[ { "docid": "bebe75cc6c3d3ec3990fda26274644f4", "score": "0.0", "text": "public Trajectory.Pair convertTrajectory(double speed_factor) {\n return null;\n }", "title": "" } ]
[ { "docid": "83c96d0c535a56b5a7b78d291bf494a2", "score": "0.6225907", "text": "private static String calculate_path(String path) {\r\n\t\tString result = \"\";\r\n\t\tString ins = \"\";\r\n\t\tfloat preX = 0, preY = 0;\r\n\t\tboolean endTag = false;\r\n\r\n\t\twhile (!endTag) {\r\n\t\t\tint index = 2;\r\...
6d56e28f8343e2ed1f22d7cb70b0d1fa
True if has "IsComputed" element
[ { "docid": "a0dce45c0f46b9dd8329c19410610ac5", "score": "0.86336374", "text": "boolean isSetIsComputed();", "title": "" } ]
[ { "docid": "af11c58231444a7cecfdd8bebf10fc87", "score": "0.86365116", "text": "boolean getIsComputed();", "title": "" }, { "docid": "679c7b44ec401e94517ec454fcfc5a18", "score": "0.816071", "text": "boolean isSetComputedProperties();", "title": "" }, { "docid": "b3e952f292...
853e7ddf21d4f69b77dcd7efac1c45ed
optional .LoginRequest loginRequest = 4;
[ { "docid": "520cb7529cd87dcaf9d18f5932789805", "score": "0.0", "text": "public io.tooi.tcp.gateway.message.ProtoMsg.LoginRequest.Builder getLoginRequestBuilder() {\n bitField0_ |= 0x00000008;\n onChanged();\n return getLoginRequestFieldBuilder().getBuilder();\n }", "title":...
[ { "docid": "9eac1cb6ffd2ee372c20f40c8954dd1b", "score": "0.7719877", "text": "public Response login(Request login_info){}", "title": "" }, { "docid": "dae12ec1de782ab29727f3c3df18a577", "score": "0.75132936", "text": "private LoginRequest() {\n initFields();\n }", "title"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fbf49fe85480c968f241394ff836fbd2", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tnew MouseBackground();\n\t}", "title": "" } ]
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037399", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.6869287", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\...
15e751192a5c60e0afd5ad88595a5f18
this method is specifically for sorting and applies to the following rules for the "sortBy" attribute defined by RFC7644 The "sortBy" parameter specifies the attribute whose value SHALL be used to order the returned responses. If the "sortBy" attribute corresponds to a singular attribute, resources are sorted according...
[ { "docid": "3755b564061deac7a310b23fe76b6fc5", "score": "0.6382225", "text": "public Optional<JsonNode> getSortingAttribute(SchemaAttribute sortBy)\n {\n if (sortBy == null)\n {\n return Optional.empty();\n }\n if (Type.COMPLEX.equals(sortBy.getType()))\n {\n throw new BadReque...
[ { "docid": "9b00f3b77cfb77d0abcdf22b5a7a32a2", "score": "0.61993325", "text": "private static Stream<Entry<Name, String>> sortedAttributes(Attributes attributes) {\n\t\tStream<Entry<Name, String>> sorted = coerce(attributes).entrySet()\n\t\t\t.stream()\n\t\t\t.sorted(Entry.comparingByKey(nameComparator)...
de5bd7d44b48cdc67e4f7f2419eda0ae
optional .pomelo.player.SetData setData = 27; optional Fashions fashions = 26;
[ { "docid": "7ba89282fe6367463931d031eeeb63a0", "score": "0.0", "text": "public boolean hasSetData() {\n return ((bitField0_ & 0x00400000) == 0x00400000);\n }", "title": "" } ]
[ { "docid": "85d34c291aa13cf75437bc9da8957909", "score": "0.66468656", "text": "pomelo.player.PlayerOuterClass.SetData getSetData();", "title": "" }, { "docid": "6447f8473dbc69c13b5d8a13dc476151", "score": "0.6431961", "text": "pomelo.player.PlayerOuterClass.SetDataOrBuilder getSetDat...
db7644c3a4297f5ce3d669f5e1c37cd1
Automatically unlock and turn off a preselected array of Lights
[ { "docid": "0acee0150c870dbcc6a721f8a63714e5", "score": "0.7597911", "text": "public static void awayModeAutoSwitchAndLockCustomLightsOFF() {\n for (int room = 0; room < Main.householdLocations.length; room++) {\n try {\n for (int light = 0; light < Main.householdLocatio...
[ { "docid": "b3b071431675ce8100c8c69e33f40038", "score": "0.68309367", "text": "public static void awayModeAutoSwitchAndLockCustomLightsCHOICE(boolean state) {\n for (int room = 0; room < Main.householdLocations.length; room++) {\n try {\n for (int light = 0; light < Main...
869543d48907e9b3835279c73fb0cc54
sfixed64 sfixed64 = 10;
[ { "docid": "b2538fb58947dd3624de3ebaa9896673", "score": "0.82814294", "text": "long getSfixed64();", "title": "" } ]
[ { "docid": "aae5f3ed2e04cf6a61075116021eec79", "score": "0.7534477", "text": "long getFixed64();", "title": "" }, { "docid": "2a106e07766f34eca7116ff565275feb", "score": "0.750829", "text": "@java.lang.Override\n public long getSfixed64() {\n return sfixed64_;\n }", "t...
cfde81b2b90ed81b20effe497738ba5a
This method was generated by Apache iBATIS ibator. This method sets the value of the database column taskorders.title
[ { "docid": "12c6d030321f5dcdc28b660b70546d70", "score": "0.5749279", "text": "public void setTitle(String title) {\n this.title = title == null ? null : title.trim();\n }", "title": "" } ]
[ { "docid": "63149b2aa142bc0ec459b09c7ca03862", "score": "0.61267406", "text": "public void setTitleOrder(int value) {\r\n this.titleOrder = value;\r\n }", "title": "" }, { "docid": "cf57ef2d256e72fbc8d3cd9fa029d262", "score": "0.60302", "text": "public final void setTitle( ...
33d11d5382f51dbb0d55011faaba3e75
Captura los datos de los lugares que se muestran en el tablero automatico
[ { "docid": "ed00cb9cc8d8189fe3aa131da5b8eed7", "score": "0.0", "text": "public void capturarLugar(){\n casillaLugar = new Lugar[22];\n casillaLugar[0] = new Lugar(\"Lugar\", \"JUTIAPA\", \"\", 360, (int)(360*porcentajeHipoteca), false, colorGrupos, 0, 0, (int) (360*0.25), 50, 100);\n ...
[ { "docid": "d6d5a3cf0ee459cc26e05e57c50f38eb", "score": "0.6349235", "text": "public void cargarTabla() {\n\n try {\n Object o[] = null;\n List<Historial> historial = p.obtenerHistorial();\n\n for (int i = 0; i < historial.size(); i++) {\n\n System....
7a6b3dff28a577738b4add3102a81332
Getter method of the parent stop's position.
[ { "docid": "758f7341f46c5afd805195d5514e4abb", "score": "0.0", "text": "public LatLng getParentPosition() {\n\t\tif (hasParent()) {\n\t\t\treturn parentPosition;\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "ef499dae14401c4e3f93d16ea3f3db81", "score": "0.69364655", "text": "public Point getPosition(){\n return this.mPos;\n }", "title": "" }, { "docid": "d676377e353400bafddd7f6df944e493", "score": "0.6915309", "text": "protected long getPos()\n {\n return p...
5f33f45875852a42c954a84ae22ff7b7
Description: This method creates a vbscript code which in turn is used for creating vbs file for updating given Excel workbook for data cell Date cell does not work properly from Apache POI as the application (GIM) validates the Excel workbook for the date format
[ { "docid": "a1430ca976bf691d6c204c99a96495fd", "score": "0.7192235", "text": "private static String writeVbsCodeForExcelFileCreation(String xlpath,String fileName)\n\t{\n\t\t int rowno =2;\n\t\t \n\t String vbsCode=\"set xl=CreateObject(\\\"Excel.Application\\\")\"+\"\\n\"+\n \n\t\t\t\t\"xl...
[ { "docid": "40a3813f85af8bfcc5a07d6d93de50a6", "score": "0.652667", "text": "private static void executeVBSFileForExcelUpdate() {\n\t\ttry {\n\t\t\tString vbsFile = System.getProperty(\"user.dir\") + \"\\\\data\\\\resources\\\\UpdateExcel.vbs\";\n\t\t\tString vbexe = \"wscript.exe\";\n\t\t\tString[] cmd...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "00e099e8208f21618b8351bb9e264e37", "score": "0.0", "text": "@Override\n\tpublic PermissionDTO selectByPrimaryKey(Integer pId) {\n\t\treturn this.permissionDao.selectByPrimaryKey(pId);\n\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
e4375e23752c92ffc5383d3c20efa01d
optional string sub_sub_display = 2;
[ { "docid": "30b2f8c3614984916f830b5a22845a97", "score": "0.72258264", "text": "public Builder setSubSubDisplay(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n subSubDisplay_...
[ { "docid": "9495cc7caaa23f61958f28db7e8e564e", "score": "0.8439319", "text": "java.lang.String getSubSubSubDisplay();", "title": "" }, { "docid": "a6fd9460b8e45720929354009526d15b", "score": "0.83970314", "text": "java.lang.String getSubSubDisplay();", "title": "" }, { "d...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1281f6d901410acf1164a45957da3df1", "score": "0.0", "text": "private void write()\n {\n\n Button trackingLocation = (Button) findViewById(R.id.trackinglocation);\n trackingLocation.setOnClickListener(new OnClickListener()\n {\n\n // @Override\n ...
[ { "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}", ...
91558df6d37b10ec9e5c6c0518fa183d
Information about the current state of the collection view.
[ { "docid": "82d2fab1f89c50052daa3a48576a85d9", "score": "0.0", "text": "@Generated\n @Selector(\"numberOfSections\")\n @NInt\n public native long numberOfSections();", "title": "" } ]
[ { "docid": "bb43b23f2f18551505347f4ccc383b09", "score": "0.61620474", "text": "public final boolean isCollectionInd()\n\t{\n\t\treturn collectionInd;\n\t}", "title": "" }, { "docid": "af1049e78e42dbd66a44e26827e9eccf", "score": "0.58509827", "text": "public InstanceViewStatus colocat...
897c0ede0bab4e5eb507ed10f2f0a801
================================== MODELS ================================== Revisde Lenet Model approach achieves slightly above random
[ { "docid": "f1ced68783ac2c4fa46af9bdf30acdbb", "score": "0.65326875", "text": "private MultiLayerNetwork lenetModel(int seed, int nClass, int imgHeightResized, int imgWidthResized, int nImgChannel) {\n int nIter = 1; // 1 (default)\n boolean regularization = f...
[ { "docid": "e4d080beab8063f2b096e47d4da5b889", "score": "0.6488158", "text": "Model(){\n\tfor(int i=0;i<20;i++){\n\t\tV1.add((int)( Math.random()*99 ));\n\t\t}\n\t\t\n\t\tfor(int i=0;i<20;i++){\n\t\t\tV2.add(V1.get(i));\n\t\t\t}\n\t\t\n\t\t\n\t\tCollections.shuffle(V2);\n\t\tfirst = V2.get(0);\n\t\t\n\t...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c71682dd092f9edd84fce3d52164a19c", "score": "0.0", "text": "@Override\n\t\t\t\t\tpublic void onFailure(HttpException arg0, String arg1) {\n\n\t\t\t\t\t}", "title": "" } ]
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037216", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.68683225", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n...
950acde169de404a3fb135f53098e74e
Find a suitable color for the cell. The algorithm searches all available triplets, weighted by tripletvalue and tripletdifference to the other triplets. The color wins, which has the smallest triplet difference and where all triplets are nearest to the requested color. Damn, why couldn't these guys from microsoft imple...
[ { "docid": "30afb65927fd0570789a5a84c79fbb72", "score": "0.68283314", "text": "public static short getNearestColor(final Color awtColor)\n {\n if (awtColor == null)\n {\n throw new NullPointerException();\n }\n\n if (triplets == null)\n {\n triplets = HSSFColor.getTripletHash()...
[ { "docid": "3070071878e075276dc799380be20bff", "score": "0.6247617", "text": "private Color getNearestColor (Color pixel){\n int bestMatch = 0;\n int maxDist = 3*(255*255)+1;\n int newDist = 0;\n\n //Euclidean distance = sqrt[ (C1r - C2r)^2 + (C1g - C2g)^2 + (C1b - C2b)^2 ]\n...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "305e18620a47e89c1ab0adcdcffbea6b", "score": "0.0", "text": "public final Object mo8260a() {\n return Long.valueOf(((C2371ba) C2388ca.f6420f.mo7405a()).mo7436C());\n }", "title": "" } ]
[ { "docid": "561e1ad2be3078ec8b0e2ca7a4d4d261", "score": "0.62639445", "text": "A(A a){\n this.a = a.a;\n this.b = a.b;\n }", "title": "" }, { "docid": "9f48728c71c479e7c8162d75ccb161a3", "score": "0.62316394", "text": "public interface C16179d {\n /* renamed f...
828db70739da0b0bd2918fbda67c6dc3
This method is called directly from integration tests to allow us to pass in a mock cursor, so we can stub out different data and thus test the UI fully.
[ { "docid": "b208d8132d7fa22377e135ca58db02fc", "score": "0.0", "text": "@VisibleForTesting\n public void onLoadFinished(Q query, Cursor data) {\n boolean success = readDataFromCursor(data, query);\n if (mDataUpdateCallbacks.containsKey(query.getId())\n && mUserActionsLaun...
[ { "docid": "042416427a33060f75eb04763ee87f31", "score": "0.6798249", "text": "@Test\n public void testFactoryFromCursor() {\n int id = 1;\n String title = \"testTitle\";\n\n Cursor cursorMock = mock(Cursor.class);\n when(cursorMock.getColumnIndexOrThrow(DbStatements.COLUMN_NAME_TITLE)).then...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "159c3f316bc2a0ca5c6e5e633fc5a3a2", "score": "0.0", "text": "private synchronized void m22335a(C4077a<T> aVar) {\n C4077a aVar2 = (C4077a<I>) aVar.f18671a;\n C4077a aVar3 = (C4077a<I>) aVar.f18674d;\n if (aVar2 != null) {\n aVar2.f18674d = aVar3;\n }\n ...
[ { "docid": "6dbd84c2d6cc660eb674e0befd23600a", "score": "0.6301801", "text": "public interface C4326z extends aa {\n /* renamed from: a */\n void mo2587a(String str);\n\n /* renamed from: b */\n void mo2591b(String str);\n}", "title": "" }, { "docid": "1d239752b83eb1ec789bfa67b2e...
149e6875b4ed93d82c4646405635d073
Constructor sets n and k to the input values, sets checkpoints and creates an array filled with random numbers, by using a method called createRandomArray.
[ { "docid": "82b947efcd69eb54ff14a5de571460e5", "score": "0.77785033", "text": "public InputData(int n, int k) {\n _n = n;\n _k = k;\n _checkpointN1 = n / 4;\n _checkpointN2 = n / 2;\n _checkpointN3 = 3 * n / 4;\n _checkpointN4 = n;\n _array = createRandom...
[ { "docid": "ada537806ecae9849597b96c81b2cb6b", "score": "0.6576979", "text": "public int[] constructArray(int n, int k) {\n int[] res = new int[n];\n int i = 0, low = 1, high = k + 1;\n while (low < high) {\n res[i++] = low++;\n res[i++] = high--;\n }\n ...
4331b7f58497e784af783df668ce50fd
/ renamed from: c
[ { "docid": "be5f90ad5d9f5ff78cb25e1c542ea3dc", "score": "0.0", "text": "public int mo13532c(String str, int i) throws RemoteException {\n C1425a.m6442c(\"PushService\", \"deleteAllMsg from PushService, appid=\" + str + \" type=\" + i);\n return C1418d.m6363a(PushService.this).mo138...
[ { "docid": "4f442d5d2b86d84f4dfb0f28ffded42a", "score": "0.6450865", "text": "public void c() {\n }", "title": "" }, { "docid": "78370b5cacc1d92f124abf1223b73496", "score": "0.64347154", "text": "void mo81738c();", "title": "" }, { "docid": "74dfeb2a18c749dc9b1881b...
39fd215ebb7e4027cafaf4a20449e2a2
Get the durability of this ItemStack
[ { "docid": "1a84c871750724316809bd0160d9a4db", "score": "0.58567935", "text": "public short getDamage() { return damage; }", "title": "" } ]
[ { "docid": "570067f8a0a27338fecb08fefe5b7988", "score": "0.77223706", "text": "public double getDurability(){\n\t\treturn durability;\n\t}", "title": "" }, { "docid": "0639fdb92611faf03ece602775af6e21", "score": "0.7572508", "text": "public int durability()\n {\n return thi...
85fb7d4fe948bce371c80ddd87149750
Convert a mangled java name to the normal Java syntax equivalent.
[ { "docid": "686432a5e18185b9028778073e1f4af1", "score": "0.6608059", "text": "public static String unmangleJavaName( String name )\n\t{\n\t\tint arrayCount;\n\t\t\t\t\t\t\t\t\t// Look for '[' characters at start of 'name'.\n\n\t\tfor ( arrayCount = 0; arrayCount < name.length(); arrayCount++ )\n\t\t{\n\...
[ { "docid": "1e607e6185136f457f85c474fc7cc5b1", "score": "0.63012314", "text": "public static String getJNIMethodName (String mangledName) {\n // note that's the first '__' group, which marks the beginning of the arg types\n int i = mangledName.indexOf(\"__\");\n\n if (i > 0) {\n return man...
67602c2e5122a22e94aa5f9ebe78f80a
System.out.println("> "+Username+" "+Email+" "+Password+" "+expectedMsg);
[ { "docid": "845bb3ef325d0e869fc90d3ce7728bb4", "score": "0.550769", "text": "@SuppressWarnings(\"unused\")\n\t@Test(dataProvider=\"Authentication\",priority=0)\n\tpublic void createSignUp(String testcaseName,String Username,String Email,String Password,String expectedMsg) throws InterruptedException{\n\...
[ { "docid": "1f3e3b7ac57431c3c67a5bb79c9f226b", "score": "0.66203994", "text": "public static void printUser(String loginValidity){\n }", "title": "" }, { "docid": "4d45a814dac8bfeeaf55b8aa45eeb5c5", "score": "0.644097", "text": "public void presentLoginEmailInstruction() {\n ...
d0f9f9823092dc4e4aacadb2344f903b
Prints the name of the location that contains the given airport
[ { "docid": "b090a3e83d8b76ece75e3e87e7fa8656", "score": "0.77479225", "text": "public String printLocationFromAirport(String airport) {\n\t\t// String type variable to be returned and later printed if necessary\n\t\tString toReturn;\n\n\t\t// The airport type variable that we will use to find the name o...
[ { "docid": "d9f331a034aca0bab7bd0de0a6f78de4", "score": "0.6930823", "text": "public String printAtLocation(String location) {\n\n\t\t// String type variable to be returned and later printed if necessary\n\t\tString toReturn;\n\n\t\t// The airport type variable that we will use to find the airport at th...
81daf9f99019cc59a62f7085b5f3a9e9
Created by student on 2015/08/12.
[ { "docid": "dae303250ab1097f438ef2b4304de22a", "score": "0.0", "text": "public interface PaymentMethodRepository extends CrudRepository<PaymentMethod, Long> {\n}", "title": "" } ]
[ { "docid": "aff0bb0899451b402d0ad2c64e1b6411", "score": "0.5877573", "text": "public Date getCreated()\n {\n \treturn _created;\n }", "title": "" }, { "docid": "4f0dc8694b6a828684390c66edecd9bb", "score": "0.58725715", "text": "public Date getCreated_date();", "title": "...
0c1826f20fc7f1a336b0f7fcf86cf660
Gets the biz domain model for state.
[ { "docid": "b7ae0ba9d2100a38e680b6ec15464f82", "score": "0.73779047", "text": "protected BizDomainModel getBizDomainModelForState(String serviceProviderCode, String bizDomain, String state)\r\n\t{\r\n\t\treturn BizDomainUtil.getInstance().getBizDomainByValue(serviceProviderCode, bizDomain,\r\n\t\t\tstat...
[ { "docid": "95869ae6cc037ec04cd2f3dc8a40cf5c", "score": "0.57475495", "text": "public BusinessObjectModel getBusinessObjectModel() {\n\t\treturn businessObjectModel;\n\t}", "title": "" }, { "docid": "264a92afeb299419aad2fa2007d47818", "score": "0.5732308", "text": "public String getB...
24c6632f5ef321dc0895688a0e746996
Updates the boolean state of the variable eaten.
[ { "docid": "6d8c2fd662962cb4e434b1e83a764db3", "score": "0.6878476", "text": "public void setEaten(boolean newState) {\n this.eaten = newState;\n }", "title": "" } ]
[ { "docid": "2a5599b6410c7a18f8001e60ab6f6218", "score": "0.6767183", "text": "public void setEatFish(boolean input)\r\n {\r\n fish = input;\r\n }", "title": "" }, { "docid": "6bd3258406a0cd14d2f27a9ccfe513ba", "score": "0.669056", "text": "public void setIsEGood(bool...
ec4c17ed85afd4a65304d16977e95d89
check for equality of each station
[ { "docid": "7495e2ecb3c65d23471b0c4467fe6f85", "score": "0.0", "text": "public boolean equals(TrainLine line2) {\n\t\tTrainStation current = this.leftTerminus;\n\t\tTrainStation curr2 = line2.leftTerminus;\n\n\t\ttry {\n\t\t\twhile (current != null) {\n\t\t\t\tif (!current.equals(curr2))\n\t\t\t\t\tretu...
[ { "docid": "246584cfb9377e44baf6e275ce0e22b9", "score": "0.6782276", "text": "private boolean compareStations(String Sname){\n for (int i = 0; i < wm.stationsList.size(); i++){\n if (Sname == wm.stationsList.get(i).getName()){\n return true;\n }\n }\n ...
1435cffa75b90b82989f00e48a46c839
Indicates whether the DB instance has deletion protection enabled. When deletion protection is enabled, the database cannot be deleted.
[ { "docid": "27aff1d571076f397087f6367f8f5e98", "score": "0.80808055", "text": "public Boolean isDeletionProtection() {\n return this.deletionProtection;\n }", "title": "" } ]
[ { "docid": "d4f72ff1a8d79b288e4bbf3c7f09a3cc", "score": "0.78493476", "text": "boolean getDeletionProtection();", "title": "" }, { "docid": "d4f72ff1a8d79b288e4bbf3c7f09a3cc", "score": "0.78493476", "text": "boolean getDeletionProtection();", "title": "" }, { "docid": "ba...
67b1232d8a1f6d18c9c45f877832e636
TODO: Build the request for Business Auto Save Quote here.
[ { "docid": "0256685d3c77153f049f8d8423c05980", "score": "0.0", "text": "public static SaveQuoteRequestDTO buildRequest(BusinessAutoApplicationDTO dataDTO, String accountNumber) {\n\t\t\n\t\treturn new SaveQuoteRequestDTO();\n\t}", "title": "" } ]
[ { "docid": "88a8a1ffe552f3c529f06f46f4aba080", "score": "0.64509106", "text": "private void commitQuote (QuoteDTO quote) {\n\t\ttry {\n\t\t\tFacilityService.getInstance().commitQuote(quote);\n\t\t} catch (InvalidParameterException | NoSuchItemException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "2c3c1cb3319acafb22dbfe137a060c23", "score": "0.0", "text": "private static String m17794a(Pair<Long, Long> pair) {\n C7573i.m23587b(pair, \"it\");\n StringBuilder sb = new StringBuilder();\n sb.append((int) ((Number) pair.getFirst()).longValue());\n ...
[ { "docid": "ae4048f417bf94dfd212d61cfae413ce", "score": "0.61427313", "text": "public interface C25752e {\n /* renamed from: a */\n void mo66812a();\n }", "title": "" }, { "docid": "6970f3058f2856f3c7f6df66714797c7", "score": "0.611846", "text": "public void func_152...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "53b6678e1856f834373183133e26e2d8", "score": "0.0", "text": "@Override\r\n\t\tpublic void onClick(View v) {\n\t\t\tswitch (v.getId()) {\r\n\t\t\tcase R.id.homeblog_setting_accoutmanage:\r\n\t\t\t\t// TODO click things\r\n\t\t\t\tNavigate(AccountManageActivity.class);\r\n\t\t\t\tbreak;\r\n\t\t...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836227", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.66787636", "text": "private void apparence() {\r\n\r\n\t}", "title": "" },...
b37848582159ca6d9f679f993677b434
Get all the favouriteProducts.
[ { "docid": "9abb092252f060fb47b1374f31ebfc20", "score": "0.64921963", "text": "@Override\n @Transactional(readOnly = true)\n public Page<FavouriteProductDTO> findAll(Pageable pageable) {\n log.debug(\"Request to get all FavouriteProducts\");\n return favouriteProductRepository.findAl...
[ { "docid": "53191cecd6badd4f7e871b100fd9eab1", "score": "0.68582267", "text": "void getFavorites();", "title": "" }, { "docid": "957bec2daacd80f2428090daccf7edb0", "score": "0.68463075", "text": "public List<Product> fetchProducts() {\n return new ArrayList<>();\n }", "...
5fc37ad43b78a51a636d632560cd2982
Constructs a new instance of the generator, whose output will be an undirected graph, and which will use the current time as a seed for the random number generation.
[ { "docid": "cf6658a62a3637cd153168c2370e47aa", "score": "0.0", "text": "public BarabasiAlbertGenerator(Supplier<Graph<V, E>> graphFactory, Supplier<V> vertexFactory,\n\t\t\tSupplier<E> edgeFactory, int init_vertices, int numEdgesToAttach, Set<V> seedVertices) {\n\t\tthis(graphFactory, vertexFactory, edg...
[ { "docid": "66806d809b81602507080878cfa80f15", "score": "0.67258996", "text": "public RandomGraph getRandomGraph() {\n\t\treturn new RandomGraph(this);\n\t}", "title": "" }, { "docid": "e772c875a99113ea9c6f10374ba19457", "score": "0.65578514", "text": "public UniformGenerator() { thi...
44934779ddef721471724cbd7855aa54
An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596;
[ { "docid": "7bf635d054f8ae0dbf7d4f0d78807506", "score": "0.0", "text": "public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n description_ = value;\n bitF...
[ { "docid": "8e089ec5f3742486a65257cf7cfd5b85", "score": "0.71689105", "text": "@Schema(description = \"A narrative that explains in detail what the product specification is\")\r\n\r\n\r\n public String getDescription() {\r\n return description;\r\n }", "title": "" }, { "docid": "b5afafa...
640a8635b6abaac876a6b795c9b4fc83
Creates new TransformOptions object from command line arguments.
[ { "docid": "2597d684a570f3e177cb14b83c331166", "score": "0.5458241", "text": "public static Options fromCommandLine(CommandLine commandLine) {\n\t\tif (commandLine == null) {\n\t\t\tthrow new IllegalArgumentException(\"cli\");\n\t\t}\n\t\tvar op = commandLine.args(\"target\");\n\t\tvar target = 0;\n\t\t...
[ { "docid": "7c85b2088829026cc853079f62a02e03", "score": "0.6151388", "text": "private static Options constructOptions() {\n Options opts = new Options(); \n \n opts.addOption(\"h\", \"help\", false, \"Print this help information\");\n opts.addOpti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8721cfe6df3c60b473875574dadba8ac", "score": "0.0", "text": "@Override\n\tpublic void init( EndpointConfig arg0 ) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037216", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.68683225", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n...