query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
2efcd2f03be7b05d6f5809c6caa7f996
Test of ListarEventosOrganizador method, of class DecidirSobreArtigosController.
[ { "docid": "dc9228f79e4930b5206b54c555982f51", "score": "0.79849917", "text": "@Test\r\n public void testListarEventosOrganizador() {\r\n System.out.println(\"ListarEventosOrganizador\");\r\n List<Evento> expResult = listaEventosOrganizador;\r\n List<Evento> result = instance.Lis...
[ { "docid": "4634f9cdffddb07a2801d28bf54e1cfc", "score": "0.6291522", "text": "@Test\n\t\tpublic void testListadoEmpresaOrdenado() {\n\t\t\tSistema s = new Sistema();\n\t\t\ts.inicializarSistema(1);\n\t\t\t\n\t\t\tassertEquals(Retorno.Resultado.OK, \n\t\t\t\t\ts.registrarEmpresa(\"Microsoft\", \"1000 Tow...
284c520aac6a886af1e6060d1e487f70
Sets the BackingObject to the user specified by the given userId.
[ { "docid": "7fda9ac49fb5cec7ac436560861645c3", "score": "0.0", "text": "protected Object formBackingObject(HttpServletRequest request)\n\t\t\tthrows Exception {\n\t\tInteger userId = Integer.valueOf(request.getParameter(\"userId\"));\n\t\tUser user;\n\t\tUserCommand userCommand = new UserCommand();\n\n\...
[ { "docid": "9934c6a1a0e1b6609164d11e39261b93", "score": "0.74617445", "text": "@Override\n\tpublic void setUserId(long userId);", "title": "" }, { "docid": "9934c6a1a0e1b6609164d11e39261b93", "score": "0.74617445", "text": "@Override\n\tpublic void setUserId(long userId);", "titl...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "c81c9d473c0784997136e413369ff7c0", "score": "0.0", "text": "public Drawable m7725a() {\n Bitmap decodeStream = BitmapFactory.decodeStream(new URL(uri.toString()).openStream());\n decodeStream.setDensity(160);\n return new BitmapDrawabl...
[ { "docid": "6bb82b473a9f707f03cb5cb6b11957bb", "score": "0.6303214", "text": "interface C46974a {\n /* renamed from: a */\n void mo118130a();\n }", "title": "" }, { "docid": "4e6a75296e170c4f7ef9da4ffbf823af", "score": "0.6236393", "text": "public interface C0921a {\...
283cb29c0f47b7332d2dbe99a53060d2
let motor run indefinitely and return immediately.
[ { "docid": "f24c0f788a4049863a1222f731b28878", "score": "0.63781244", "text": "public void motorOn(int power);", "title": "" } ]
[ { "docid": "de6f4b684258a3e9c5a72c4c6b3dd4b8", "score": "0.69730514", "text": "@Override\n protected void activeLoop() throws InterruptedException {\n\n boolean targetReached = false;\n MotorDirection direction = MotorDirection.MOTOR_FORWARD;\n DcMotor.RunMode mode = DcMotor.RunM...
402ec5e7cf877fa156cca225eda06849
getter method for the semi major axis
[ { "docid": "66098c86f68fdb95e4c80be6e8bf139d", "score": "0.0", "text": "public double getA() {\n\t\treturn a;\n\t}", "title": "" } ]
[ { "docid": "116a83d41d87344c823b0ba8e338c358", "score": "0.82833564", "text": "public double getSemiMajorAxis() {\n return semiMajorAxis;\n }", "title": "" }, { "docid": "bf8484e2366bc6cc5674e486adf188df", "score": "0.75044113", "text": "public double semiMinor() { return s...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "638c3badc78adbefed9d55ce262cbde8", "score": "0.0", "text": "@Override\n\tpublic void resume() {\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...
fa6f4b19c95b4d821c81f2e66daf7f52
Verify that the WRITER can read and write but not delete
[ { "docid": "982afdc6dbd3a2271dfc81d3b9a3419c", "score": "0.6848914", "text": "private void verifyWriterPrivileges() throws Exception\r\n\t{\r\n\t\tConnection writerConn = getConnection(WRITER, WRITER_PASSWORD);\r\n\t\t// set role to ADDER\r\n\t\tprintln(\"Setting role to ADDER\");\r\n\t\texecute(writerC...
[ { "docid": "9d5631d4944614c6f3bcfa65d654909c", "score": "0.6797399", "text": "public boolean isWriteAllowed(){\r\n return writeAllowed;\r\n }", "title": "" }, { "docid": "f129a18361a5e30a46ae741cc246af86", "score": "0.6626867", "text": "protected boolean checkWritable() thr...
a8472e6cc4ccacc46b80e95234c083d7
Show a dialog that allows the user to save the current project to a file. If the project was loaded from a file or was previously saved to a file, the dialog should start out in the same directory.
[ { "docid": "788a7b39da105f9c5677b48eb12f03dc", "score": "0.66448003", "text": "@FXML\n public boolean saveProjectAs() throws IOException {\n final FileChooser fileChooser = new FileChooser();\n fileChooser.setTitle(\"Save Project As\");\n fileChooser.getExtensionFilters().add(new ExtensionFilt...
[ { "docid": "5c697afa346503b9e3d267aed4a2d66b", "score": "0.7802314", "text": "public void saveProject() {\n\t\tJFileChooser saveFile = new JFileChooser();\r\n\t\tint result = saveFile.showSaveDialog(null);\r\n\r\n\t\tswitch (result) {\r\n\t\tcase JFileChooser.CANCEL_OPTION:\r\n\t\t\t// Nothing to do\r\n...
dc9d2fe263231df01740af5c47c0a83c
delete noti token when logout
[ { "docid": "cd68761199c890a4af0ca6300bdaef04", "score": "0.61145097", "text": "private void deletNotiTokenFromFirebase(String sdid){\n\n database.getReference(sdid).child(\"sensor\").child(\"alert\").child(IdentifierService.getDeivceId(context)).removeValue()\n .addOnSuccessListene...
[ { "docid": "6926351f07821beac75ab1799fe14258", "score": "0.79605484", "text": "void logout(String token);", "title": "" }, { "docid": "19e682fa1c81c5d25c345c51e307ff32", "score": "0.71541214", "text": "private void logout() {\n SharedPreferences sharedPref = getSharedPreferenc...
e0be7ca5ab8e47b8e66aeeb452933116
Delete records from DB table customer_base_info. The sql statement for this operation is delete from customer_base_info where (customer_id = ?)
[ { "docid": "335dcb419485179024260a13a163b764", "score": "0.6087982", "text": "public int deleteByCustomerId(String customerId) throws DataAccessException;", "title": "" } ]
[ { "docid": "5619413be86e3a9cde17b56eb3afe5fc", "score": "0.68097776", "text": "public void delete(CustomerAttributesPk pk) throws DataBaseJdbcException;", "title": "" }, { "docid": "df1c6c8d716f6fcc6ab4ed21961f16ae", "score": "0.6711001", "text": "@Modifying\n\t@Transactional\n//\t@Q...
fb5aa59443651af950fefe053d26863c
Called when a usurper successfully takes over the master role; start the soInbound adapter.
[ { "docid": "6455b65669460f05040cc8963ffa7aea", "score": "0.6896237", "text": "public void startInbound();", "title": "" } ]
[ { "docid": "3227767439aae3a933ba5def77626241", "score": "0.5532652", "text": "public void start() {\n\t\tconnection.start((sender, message) -> message.accept(new Visitor(sender)));\n\t\tloadData();\n\t}", "title": "" }, { "docid": "101d3f47f1cc751ba167cd880777e3f1", "score": "0.5494592",...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a964a1ed655e0b4e8f7224c16c8847fd", "score": "0.0", "text": "@Override\n\t\t\tpublic void Hellow() {\n\t\t\t\tSystem.out.println(\"hellow again\");\n\t\t\t\t\n\t\t\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
2394f5922d2182f459a392ee5c8047a5
Zoom to center with given factor
[ { "docid": "2077f32536345e5bb04dd20eb62d2f81", "score": "0.85100174", "text": "public void zoomToCenter(double factor) {\r\n zoom(factor, -canvas.getWidth() / 2, -canvas.getHeight() / 2);\r\n }", "title": "" } ]
[ { "docid": "62e90fecc3f13f86a0751c3858bee071", "score": "0.805914", "text": "void zoom(double factor);", "title": "" }, { "docid": "aa399f0568e33510222832a5a1a42cc1", "score": "0.8044744", "text": "void zoomTo(double x, double y, double factor);", "title": "" }, { "docid"...
e56066bf47b2cf994c2f44da7255d25e
Clear the Counter list and all visible counters called by a button in the activity_curnow__counter.xml
[ { "docid": "da12168a4ed043949c6ef56bfcfd0ce2", "score": "0.7500033", "text": "public void clearCounters(View view){\n\t\tcounterList.clearList();\n\t\ttry {\n\t\t\tString text = counterList.serialization();\n\t\t\tFileOutputStream fos = openFileOutput(FILENAME2, Context.MODE_PRIVATE);\n\t\t\tfos.write(n...
[ { "docid": "8bef1a64a129294dbb77d701b319d7f0", "score": "0.68072706", "text": "public void resetCounter(){\n\t\tcounter=0;\r\n\t}", "title": "" }, { "docid": "832d294f04532c3e2cdc00ea2426f10e", "score": "0.67989486", "text": "public synchronized void clear() {\n counters.clear();\...
8f49b4fa61771d1f071f737a3641ab0b
/ news show major news story
[ { "docid": "229ec431be40426987434a6f4b610f66", "score": "0.5839198", "text": "private static void displaystory(final NewsStory ns, final boolean liberalguardian,\r\n final Issue header) {\r\n Layout.preparepage(ns, liberalguardian);\r\n final StringBuilder story = new StringBuilder();\r\n ...
[ { "docid": "bb3e96de8850bc36411fbeac8deaaec6", "score": "0.71271795", "text": "void loadNews();", "title": "" }, { "docid": "98cc0549c6864c786f13b2bab7aeff35", "score": "0.7038404", "text": "@Override\n public void showNews(List<News> news) {\n }", "title": "" }, { ...
1fbea8966c672d9381f43bf593a0de37
Coordinates must be 0 8
[ { "docid": "e8f86cc918365e0b8e83a930c0173615", "score": "0.0", "text": "public boolean isFilled(int x, int y, int z)\n {\n return (voxels[z] & (1L << BoxFinderUtils.areaBitIndex(x, y))) != 0;\n }", "title": "" } ]
[ { "docid": "26360550440d24931818f4e633c2d70f", "score": "0.6506487", "text": "public static boolean isValidCoordinates(int[] coordinates) {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "4d14a4f5ea2f784998a277029c025e29", "score": "0.64850837", "text": "Coordinates(int x, int y)...
836cc52a4b7ccbe46e77aed5bd69b664
Returns true if field dgSaleStatus is set (has been assigned a value) and false otherwise
[ { "docid": "7273fa28f4d6efe402712a0f852e83ea", "score": "0.84578407", "text": "public boolean isSetDgSaleStatus() {\n return EncodingUtils.testBit(__isset_bitfield, __DGSALESTATUS_ISSET_ID);\n }", "title": "" } ]
[ { "docid": "1457a3c4af1b5d61c4813a117f7c02dc", "score": "0.8410566", "text": "public boolean isSetDggdSaleStatus() {\n return EncodingUtils.testBit(__isset_bitfield, __DGGDSALESTATUS_ISSET_ID);\n }", "title": "" }, { "docid": "c90397e8a7d527fbb247c7c7a33f4959", "score": "0.82318074",...
748bce1ac35359e9b4d79dc74d0a5397
SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
[ { "docid": "b387b7f8c6ba0122e6a46a5bc6754b19", "score": "0.0", "text": "@RequestMapping(\"/ViewDefectsSeverity/{severityName}/{pageSize}/{PageNumber}\")\r\n\tpublic ArrayList<ViewDefectsApp> getViewDefectsSeverity(@PathVariable String severityName, @PathVariable(\"pageSize\") int pageSize,\r\n\t\t\t@Pat...
[ { "docid": "9f8e5c3268a2de1888248f2618997b25", "score": "0.691671", "text": "private Date createDate(String yyyymmdd) throws ParseException{\n return format.parse(yyyymmdd);\n }", "title": "" }, { "docid": "193949735459c2b2aae6c16a94821623", "score": "0.6580524", "text": "p...
22840a8a4bb6a4948841b8f86a999d9d
end function Step4: Find the concepts related with the class Intervention in the Asthma ontology.
[ { "docid": "239f4f909c483b1d2f9f9e9c45ca622c", "score": "0.61727357", "text": "public static List<String> findInterventionTokens() throws UnsupportedEncodingException\n\t{\n\t\tString inputRDFfile = \"asthma.rdf\";\n\t\t\t\t \n\t\t// create an empty model\n\t\tModel model = ModelFactory.createDefaultMo...
[ { "docid": "18bbbcfec48ddb9c862c6f787617938d", "score": "0.6200993", "text": "private void loadOntology(OWLOntology ontology) {\n\t\t\tsetAllIRIs(ontology);\r\n\t\t\tgenerateShortNames();\r\n\t \t\r\n\t \tSet<OWLClass> classes = ontology.getClassesInSignature();\r\n\t \tSet<OWLObjectProperty> o...
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": "2d7d5b9a550bb258b680a9b860c017a8", "score": "0.0", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tif (id == R.id.action_settings) {\n\t\t\treturn true;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "title": ...
[ { "docid": "985bae39c1f21724e8f393a8866b7b19", "score": "0.79043454", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a ...
f43b788caf4e705916d2a3f52855f9ba
Returns the last e s f match in the ordered set where eventType = &63;.
[ { "docid": "bb90da93acf55d52c794b42ddc80bec3", "score": "0.61005634", "text": "@Override\n\tpublic ESFMatch findByEventType_Last(String eventType,\n\t\tOrderByComparator orderByComparator)\n\t\tthrows NoSuchMatchException, SystemException {\n\t\tESFMatch esfMatch = fetchByEventType_Last(eventType, order...
[ { "docid": "f122e6bb2be84352bec6fd52782bc8cc", "score": "0.680975", "text": "@Override\n\tpublic ESFMatch fetchByEventType_Last(String eventType,\n\t\tOrderByComparator orderByComparator) throws SystemException {\n\t\tint count = countByEventType(eventType);\n\n\t\tif (count == 0) {\n\t\t\treturn null;\...
6d1411101ba09054e52aa84cd743e5d8
Returns random colorint from red, green, blue components
[ { "docid": "5987eeb0fb305e63a8519bdb05eb26c1", "score": "0.7684046", "text": "public static int generateNewColor() {\n Random rnd = new Random();\n return Color.rgb(rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256));\n }", "title": "" } ]
[ { "docid": "9d78ae79064f89ae6632dc4c1ba18f32", "score": "0.7884398", "text": "public static int generateRandomColor() {\n final int baseColor = Color.WHITE;\n\n final int baseRed = Color.red(baseColor);\n final int baseGreen = Color.green(baseColor);\n final int baseBlue = Co...
c3fc8e0160633fcddce39139d2cab823
Retrieves representation of an instance of service.Location
[ { "docid": "5b891aa5ddd46d53026d04ec0a03218a", "score": "0.0", "text": "@GET\n @Path(\"location/Arovince\")\n @Produces(\"application/json\")\n public String getJson() throws IOException {\n FileWriter file = new FileWriter(\"/home/component/NetBeansProjects/ArovinceAndSchool/web/api/Aro...
[ { "docid": "945fe00b48ceccf0af8d597efeb8d7cb", "score": "0.7121806", "text": "@ApiModelProperty(required = true, value = \"store address and geographical coordinates\")\n @JsonProperty(\"location\")\n public Location getLocation() {\n return location;\n }", "title": "" }, { "docid": "d...
b17de57c0f2d008321d82f898eac2055
Tests the clone method.
[ { "docid": "06fa50805ef3fd56ca8822d5eb38ed00", "score": "0.6969364", "text": "@SuppressWarnings(\"resource\")\n @Test\n public void testClone() {\n try {\n CampaignStatisticsEvents campaignstatisticsevents1 = new CampaignStatisticsEvents(\"bd800d5e-123d-40c5-bc10-7f4c246bc567\",\...
[ { "docid": "260992c982c079fb210ef2b6c0c6033b", "score": "0.8160855", "text": "@Test public void testClone()\n {\n validateResultObject(new Referenceable(getTestObject()));\n }", "title": "" }, { "docid": "f4c0588513b19ae0a6703c3894b7d4cb", "score": "0.7774687", "text": "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fe57b4bced62b64a9aa27bf6ee34d130", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner s=new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the no. of days to be converted=\");\r\n\t\tint a=s.nextInt();\r\n\t\tint month=a/30;\r\n\t\tint days=a%30;\r\n\t\tSys...
[ { "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...
c985f0e6cd1096ef01eebcfa1d235e02
repeated .tibc.lightclients.eth.v1.StorageResult storage_proof = 7;
[ { "docid": "70b932e6c4dabf0da167faf8994bd43c", "score": "0.0", "text": "public Builder clearStorageProof() {\n if (storageProofBuilder_ == null) {\n storageProof_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n } e...
[ { "docid": "9c81a1e8d1d00ac79d78c03b759d295d", "score": "0.7129552", "text": "proto.tibc.lightclients.eth.v1.Eth.StorageResult getStorageProof(int index);", "title": "" }, { "docid": "5fcf93cc54bd20f1c4b6731c29ae0bb9", "score": "0.677422", "text": "java.util.List<proto.tibc.lightclie...
ee7824a9b44a537726afeed56d58f641
The method creates the event through EventManager class, checks for input data correctness, outputs alerts if necessary. Called by pressing the button on the bottom.
[ { "docid": "258e606f6178d306c9a943d5303299dd", "score": "0.67297", "text": "public void createEvent() {\n String name = nameTextField.getText();\n int maxPpl = 0;\n LocalDate eventDate = LocalDate.of(0, 1, 1);\n LocalTime eventTime = LocalTime.of(0, 0);\n String description = descriptionF...
[ { "docid": "eeec5fbd6b39f5efda9fe82c685252ae", "score": "0.6560947", "text": "private void validateEvent() {\n\t\tboolean validated = true;\n\t\tString messageText = \"\";\n\t\tif (eventLat == 0 && eventLng == 0) {\n\t\t\tvalidated = false;\n\t\t\tmessageText = \"Location not found. Please select or pic...
dff63005c8e0f5e87feeeb6eedea0411
if the hashing is order sensitive (md5) need this to iterate in a reliable and consistent manner this doesnt because it uses set and its hard to order arbitrary graph nodes so use a order independent (commutative) hashing algorithm (e.g. addition with overflow) then we dont care about the ordering of nodes but then the...
[ { "docid": "3c4aa5671b29dcae281bef087000d85b", "score": "0.6500302", "text": "private List<Integer> getHash(Graph<NeoAtom,DefaultEdge> graph, NeoAtom start) {\n\t\tList<Integer> hash = new ArrayList<>();\n\t\tIterator<NeoAtom> it = new DepthFirstIterator<NeoAtom,DefaultEdge>(graph,start);\n\t\twhile(it....
[ { "docid": "b5e48ada95842533d19eee4ebcf988a5", "score": "0.63407964", "text": "public static void main(String[] args) {\n \t\n \tHashSet<Integer> node1neighbors = new HashSet<Integer>();\n \tnode1neighbors.add(2);\n \tnode1neighbors.add(3);\n \t\n \tHashSet<Integer> node2neighbors = ne...
a68bed63519554cb30dccd3e7c75b63f
verifica daca cei doi boti sunt apropiati
[ { "docid": "383c2c0822afc1faf0517a83382fe77d", "score": "0.0", "text": "public static boolean checkIfNear(Board b) {\n\t\tif (Math.abs(b.playerLine - b.oponentLine) < 4\n\t\t\t\t&& Math.abs(b.playerColumn - b.oponentColumn) < 4) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" } ...
[ { "docid": "2bdafc4978811d942df9cef0f89e8ac6", "score": "0.6577325", "text": "private void botAltroClientePremuto() {\n this.intestaAltroCliente();\n }", "title": "" }, { "docid": "24eb81a18037b2ac22bf1b9cd7963b9f", "score": "0.635181", "text": "boolean hasBotInfo();", ...
e0d5e8b10a414dd800e66935fc9942c4
checks if a player exists on that tile.
[ { "docid": "1ca215d46a909d3951580e0993750bab", "score": "0.62922674", "text": "public boolean getHasPlayer(){\n return hasPlayer;\n }", "title": "" } ]
[ { "docid": "c0dd7c2eeb069916edadb374238fa812", "score": "0.70635086", "text": "public boolean hasRegisteredPlayer() {\n return player != null;\n }", "title": "" }, { "docid": "8d85f90eb3c658af632ceb975a2f4e6d", "score": "0.7040099", "text": "public boolean hasPlayer() {\n retu...
5d90c797fa6112be325fea5d4a982dd5
return s.chars().boxed().collect(Collectors.toSet()).size() == s.length();
[ { "docid": "0db982bb13119bdec41c6f042b65ded7", "score": "0.71280247", "text": "private boolean isUniqueCharactersString(String s) {\n Set<Character> set = new HashSet<>();\n for (char c : s.toCharArray())\n set.add(c);\n\n return set.size() == s.length();\...
[ { "docid": "65c93aa1b652cf2ce9748882a66aab4c", "score": "0.67231846", "text": "static int marsExploration(String s) {\n int count = 0;\n char[] m = { 'S', 'O', 'S' };\n for (int i = 0; i < s.length(); i += 3) {\n for (int j = 0; j < m.length; j++) {\n if (s.cha...
f9c32ef13b2dd1708f801ef3e0c03488
For the query pattern
[ { "docid": "3cd6b45d62319e970ef5975288d9bca9", "score": "0.0", "text": "@Override\n\t\t\tpublic QueryVisitor create(org.apache.jena.query.Syntax syntax, Prologue prologue, IndentedWriter writer) {\n\t\t\t\tSerializationContext cxt1 = new SerializationContext(prologue, new NodeToLabelMapBNode(\"b\", fals...
[ { "docid": "dee1a1e5a8b8d3c19a73684c0663080b", "score": "0.6851552", "text": "Object getPatternPQuery();", "title": "" }, { "docid": "e3ef33cc0984ad15d218e369fb9c6380", "score": "0.6692162", "text": "V query(Q query);", "title": "" }, { "docid": "eb7fde4df1ccba0f2748beee9...
42cad5cc3f436e9f61828a389131e2fc
TODO code application logic here
[ { "docid": "80e48c8c94f35586615f10db936acd7d", "score": "0.0", "text": "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\r\n String nama, punyaBPJS;\r\n int pilihKamar, pilihPerawatan, chooseMenu = 0, urutanPasien = 0, choosePerawatan;\r\n\r\n ...
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.5933792", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.58605456", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "tit...
2eef4f86db6a365dca92b90a13b050e4
optional int32 player_slot = 1;
[ { "docid": "99fb54473055da5bb011565e5dc4b369", "score": "0.58483833", "text": "public Builder setPlayerSlot(int value) {\n bitField0_ |= 0x00000001;\n playerSlot_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "8861f0f3fb3997070fc05cfd839ade0b", "score": "0.80603755", "text": "int getPlayerSlot();", "title": "" }, { "docid": "8861f0f3fb3997070fc05cfd839ade0b", "score": "0.80603755", "text": "int getPlayerSlot();", "title": "" }, { "docid": "4f82aa23fd28d3a9cc4851e96e...
d89281c762c4a11e01f569cda01f4aeb
Implementations of setFieldToXXX method (such that it has access to protected fields) Aux for log
[ { "docid": "20475131bd75a2d088b002fed8f95392", "score": "0.690238", "text": "protected void logSetField(\r\n EAIMMCtxtIfc theCtxt,\r\n String theFieldKind,\r\n Field theField) {\r\n\r\n if( !EAIFlatTransactionMgrIfc.sLogTransactionBoundaries) { return;}\r\n\r\n\r\n S...
[ { "docid": "6843d252cb0a2bae55536271a7ddd045", "score": "0.68033147", "text": "protected void setFields() {}", "title": "" }, { "docid": "e0610a709dcaa1466a4067697b10dfc2", "score": "0.67902386", "text": "public void doWith(Field field) throws IllegalArgumentException, IllegalAccessE...
e8f1301072df6ca9ea12a1391ce72f55
This method was generated by MyBatis Generator. This method sets the value of the database column FILE_ADDRESS.FILE_PATH
[ { "docid": "9644bd14fa7714447850c7685a4e146c", "score": "0.50785524", "text": "public void setFilePath(String filePath) {\r\n this.filePath = filePath == null ? null : filePath.trim();\r\n }", "title": "" } ]
[ { "docid": "4b11af9fbbf4e8ecb2356a89526321b5", "score": "0.568455", "text": "public void setPath(java.lang.String path)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbean...
b1485d541d636714d9199986e4bab986
/ 52: / 53:
[ { "docid": "0069009daaf3189d7123c300c8ba741a", "score": "0.0", "text": "public float score(EntityHelper.MatchNode node)\r\n/* 54: */ {\r\n/* 55: 71 */ SequenceAlignment alignment = align(node);\r\n/* 56: 72 */ node.alignment = alignment;\r\n/* 57: 73 */ return alignment.score;\r\n/*...
[ { "docid": "eff71345ecb84e2cf0b3be84ec746ac7", "score": "0.6158913", "text": "public void mo4862k() {\n m3208d(3);\n }", "title": "" }, { "docid": "730827f67cd7ed4e9c198f5a0c5fbc73", "score": "0.6054801", "text": "void mo6937n();", "title": "" }, { "docid": "c8a...
4331b7f58497e784af783df668ce50fd
/ renamed from: c
[ { "docid": "be45ddb2e4503692cc135b3f8f9945fc", "score": "0.0", "text": "public static void m901c(C0285n c0285n, ContentValues contentValues) {\n c0285n.m675b(\"spaces\", null, contentValues);\n }", "title": "" } ]
[ { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.65965664", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a94a6d9e59f3f2dad4d922f47778734d", "score": "0.6504635", "text": "public void c() {}", "title": "" }, { "docid...
3872b1e5d04c5b3637b90c2dc6f55d99
reverse a configuration withits previous one
[ { "docid": "ac8740500d96fb749c50f550d095a504", "score": "0.7536991", "text": "public void reverse(Configuration configuration) {\n //TRY ONE: JUST DELETE THE LATEST CONFIGURATION\n //Main.configList.remove(Main.configList.get(-1));\n //TRY TWO: REVERSE LATEST CONFIG AND LATEST-1\n ...
[ { "docid": "fb957bb03206e80fd0251e82e1a2594c", "score": "0.6965752", "text": "public void restoreConfig(){\n\t\tthis.saveConfig(this.origin);\n\t}", "title": "" }, { "docid": "3eec2bfbf9377f9bf685f5cc8cfda8a3", "score": "0.63910484", "text": "public void reversedApply(Configuration c...
1e263af27246c5d40350fb690d880653
the messages will be broadcasted to all users.
[ { "docid": "893217fbaaf1b56401169c28a4b89db5", "score": "0.0", "text": "@Override\n\tpublic void afterConnectionEstablished(WebSocketSession session) throws Exception {\n\t\tSystem.out.println(\"Connected.....\");\n\t}", "title": "" } ]
[ { "docid": "76c99c9289ac6573b790e6719e659558", "score": "0.7278122", "text": "private static void broadcastToAll(Message message, Set<String> sbIds) {\n String msg;\n msg = \"[BROADCAST] \" + message.getName() + \": \" + message.getText();\n for (ClientRunnable tt : active) { // rec...
727c8af14257f47c456fcb01f5d4dd49
Cluster points from an array
[ { "docid": "7b1c2a87551d8ac814f0a0c7eb6c343c", "score": "0.61541986", "text": "public abstract Hashtable<Double, Integer> cluster(ArrayList<Double>[] data);", "title": "" } ]
[ { "docid": "88d7d2d60336fa91df6cecfd2f854094", "score": "0.6746352", "text": "ClusterSet applyTo(List<Point> points);", "title": "" }, { "docid": "91d178192f1178b9f44ca0413daeebdf", "score": "0.6327561", "text": "public Collection<ClusterMarker> createClusters( List<Point> matrix ) {...
a27d4726206edf14698dc11b33b925fb
Constructor based on a heuristic function and root node value along with default root cost value
[ { "docid": "27ea20c1b3b4f3cc9a331da480bd1474", "score": "0.5674454", "text": "public RecursiveBestFirstTreeTraversal(T value, HeuristicFunction<T,C> heuristics) \r\n\t\tthrows NullPointerException, DefaultValuesUnsupportedException\r\n\t{\r\n\t\tthis(value, heuristics.getDefaultRootCost(), heuristics);\...
[ { "docid": "6e47029aaf6e360f1170286e4c109fe3", "score": "0.65604985", "text": "public Node()\n\t{\n\t\t// Init cost to invalid value\n\t\tthis.m_cost = -1;\n\t\tthis.m_mutations = 0;\n\t\tthis.m_offspring = 0;\n\t}", "title": "" }, { "docid": "42b5032cf15a1ea8d5e68ad132dc409b", "score": ...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "c0b9dc3912c1141b0fd6c636b8bc5762", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_food_specification_client, ...
[ { "docid": "9889cfe738b7e9b399fedfcc374cd8be", "score": "0.6940545", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_feed, parent,...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6186b25c832eaacef78ab0106b30b2c5", "score": "0.0", "text": "@Override\n\tpublic Map<String, Object> doComplete() {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.66708666", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65675074", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "...
296701d5bdadba95f09e11d72c16f57c
Step 1:Navigate to test site
[ { "docid": "dcf83905f70bb11cd763e07db4dc8cd0", "score": "0.0", "text": "@Test\n public void hw1Test(){\n driver.navigate().to(\"https://jdi-framework.github.io/tests/\");\n\n //Step 2:Assert browser title\n Assert.assertEquals(driver.getTitle(), testTitle,\n String...
[ { "docid": "3300f07d1fccc00f4812f085718b0b98", "score": "0.7785165", "text": "public void openTestEnv() {\n gotoSite(URL2);\n }", "title": "" }, { "docid": "128bad528ed383747dfc7e00a11c116b", "score": "0.76923716", "text": "@Test(description = \"Step 1: Open the browser, Enter...
d759afa5a8ab686707a9e355b18aee11
.Node schema_node = 102;
[ { "docid": "be3c14a306421f71d79b37b07192522e", "score": "0.5404537", "text": "public sjtu.opennet.textilepb.Model.NodeOrBuilder getSchemaNodeOrBuilder() {\r\n if (schemaNodeBuilder_ != null) {\r\n return schemaNodeBuilder_.getMessageOrBuilder();\r\n } else {\r\n return sc...
[ { "docid": "22dc7370d882c649f62de4e08e6942be", "score": "0.7012592", "text": "sjtu.opennet.textilepb.Model.Node getSchemaNode();", "title": "" }, { "docid": "a87b982bdadd3fca1e625821046f1aa9", "score": "0.6171668", "text": "public void setSchema(Schema schema) {\n this.schema ...
3d7ec2a6700f0c1ad239e213adb8991b
Factory method for IsClickableAndroid
[ { "docid": "8a9caf879e2ddff6e2aa112af6f66939", "score": "0.7362941", "text": "public static IsClickableAndroid isClickableAndroid(String timeout) {\n return new IsClickableAndroid(timeout);\n }", "title": "" } ]
[ { "docid": "cb06ac29b89b5e483ae508fc4929a6c1", "score": "0.822235", "text": "public static IsClickableAndroid getIsClickableAndroid() {\n return new IsClickableAndroid();\n }", "title": "" }, { "docid": "f6b2711b7f07a289790bf30311dbee7c", "score": "0.6783588", "text": "public sta...
ebc04fabac27aa378f8895f6249bf511
Sets the working dir.
[ { "docid": "adeae02882dd438deec132a40f407c4d", "score": "0.79955447", "text": "public void setWorkingDir(File workingDir) {\n this.workingDir = workingDir;\n }", "title": "" } ]
[ { "docid": "dfc4935b1797a737d08a6f733f9b0d8f", "score": "0.7774424", "text": "private void setWorkDiretory() {\n\t\tthis.workDiretory = System.getProperty(\"user.dir\");\n\t}", "title": "" }, { "docid": "b2c9de95de2ec9daf2c38fcd43266986", "score": "0.7728539", "text": "void setWorkin...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "b8dd49c9958107f1734f562cca214552", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel2 = new javax.swing.JLabel();\n jLabel3...
[ { "docid": "5f8540ed063cf75672e07098d5395e1e", "score": "0.7699553", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n\n }", "title": "" }, { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.73208135", "text": "public Form() {\n initComponents();\...
d9ea846d1a1e6040d4141d6e3e71117b
for (String line : lines) if (line.startsWith(type)) return line; return null;
[ { "docid": "549822e58b71d8ba9c830bd0e24d4209", "score": "0.70029", "text": "String getLine(String type) {\n\n int start = input.indexOf(type + \"|\");\n if (start == -1)\n return null;\n return input.substring(start);\n\n }", "title": "" } ]
[ { "docid": "b77faba7e1695e992cc95f3301bed3d7", "score": "0.60991216", "text": "private boolean hasReturnDataType(String line) {\n\t\tfor(String dataType : dataTypes) {\n\t\t\tif(line.startsWith(dataType.trim())) {\n\t\t\t\tlog.info(\"contain: \" + dataType);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tre...
a059ddd16741ebb8de0b896e3cbe13ec
Interface that must be implemented from a component if is used to navigate back to a recent page or object.
[ { "docid": "114b7fa4834ff55486fd3cd76bb6aa69", "score": "0.6000332", "text": "public interface IRecent\n{\n\n /**\n * Open the Page the Link directs to.\n *\n * @param _openComponent Component that class the open command\n * @throws EFapsException on any error\n */\n void open(...
[ { "docid": "aed906f687ccbe9e2358a351da127a44", "score": "0.732528", "text": "public interface RefashListener {\n public void back();\n}", "title": "" }, { "docid": "fea4843447aad3648959ff676fe0e38a", "score": "0.72654825", "text": "@Override\r\n\tprotected void back() {\n\r\n\t}",...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9af0720c5af54f1a0c144cb768de7f57", "score": "0.0", "text": "@Override\n\tpublic void run(String... args) throws Exception {\n\t\tskillRepo.save(new Skills(\"Core Java\",\"7\"));\n\t\tskillRepo.save(new Skills(\"Spring boot\",\"6\"));\n\t\tskillRepo.save(new Skills(\"Angular Js\",\"7\"));\n\t...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
f695abe282074ac3fd2d360d7608f16f
Sets the "selected" attribute of the Trabajador controller in order to display its data in its View dialog.
[ { "docid": "dd28c875e08b2bc58cfc396a075deae2", "score": "0.59107935", "text": "public void prepareGuiaIdTrabajador(ActionEvent event) {\n if (this.getSelected() != null && guiaIdTrabajadorController.getSelected() == null) {\n guiaIdTrabajadorController.setSelected(this.getSelected().ge...
[ { "docid": "25cf09915dbe0d877b9969bdeccfa59a", "score": "0.6818257", "text": "public static void setSelected(RicettaEntity selected) {\n\t\tRicettaEntity.selected = selected;\n\t}", "title": "" }, { "docid": "7856c1beb3f467d6a175237934247d7b", "score": "0.6721412", "text": "public vo...
2a99c805f500853801f587fa708865f3
private Logger logger = Logger.getLogger(SessionServlet.class.getName());
[ { "docid": "a36ccd18bd3d2f5ffc53c1c5bc7dc0b6", "score": "0.0", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\t\t\t\n\t\tHttpSession session = request.getSession();\t\t\n\t\tString visits = (String) session.getAttribute(\"visits\");\n\t\tSyste...
[ { "docid": "bf84eb668deb914e9dfe56c3844c602e", "score": "0.6042097", "text": "public void loginservlet ()\n {\n\n }", "title": "" }, { "docid": "8d5bca5b7bd48579970449f1e80c74e1", "score": "0.59401363", "text": "public LoginServlet() {\n\t\tsuper();\n\t}", "title": "" },...
37311d23c472b3a9508f4c8983fe76dc
DeCompress the ZIP to the path
[ { "docid": "8c5de69df1585783d64cea7657551ccd", "score": "0.55085665", "text": "public static void UnZipFolder(String zipFileString, String outPathString) throws Exception {\n ZipInputStream inZip = new ZipInputStream(new FileInputStream(zipFileString));\n ZipEntry zipEntry;\n String...
[ { "docid": "a1778279a63588b4f0c23128d3c53de2", "score": "0.65081084", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic int uncompressZipFile(String zipName,String zipDir){\n\t\tFile directorio = new File(zipDir);\n\t\ttry {\n\t\t\tdirectorio.mkdir();\n\t\t\tZipFile zipFile = new ZipFile(zipName);\n\t...
3c31bd84132d934a09be1c8e52ddf600
Set whether the Controllable is powered up or powered down
[ { "docid": "028aa2172ad5ca9dcffa869e5e630a3a", "score": "0.66432005", "text": "public void setPowerStatus(boolean powerStatus) {\n\t this.powered = powerStatus;\n\t if(!powered){\n\t\t resetStatus();\n\t }\n }", "title": "" } ]
[ { "docid": "8d88f72b6a8226ba4369694effc2daf1", "score": "0.76422143", "text": "@Override\r\n public void setPower(boolean on) {\n \r\n }", "title": "" }, { "docid": "638e2f4b87daa3936e76a7685edd8b0e", "score": "0.7386337", "text": "void setPowered(boolean value) {\r\n ...
773a0b0b92dc0c4cc30efb42c6369552
Get all frequencies for all cores;
[ { "docid": "c986f368496cf6413df9292f88e9b7af", "score": "0.6375817", "text": "public final String getFreqPerCore() {\r\n String complete_path;\r\n String freq_string = \"\";\r\n String cpu_util = \"\";\r\n final int i = Runtime.getRuntime().availableProcessors();\r\n\r\n ...
[ { "docid": "7a64c4dd2f5b25223379a8470f60210b", "score": "0.62968916", "text": "int getFrequency();", "title": "" }, { "docid": "31ad0bc1a63cad13e3796657f6acc97c", "score": "0.6188322", "text": "private void calcFrequency() {\n //int windowSize = pcmdata.length / N_TASK...
386f9f0ae9d9c89074a329c3b6bc44fd
Removes all EvaluationResultObjects (roles granted to a user or group) from the cache.
[ { "docid": "b05c7062c64bfa7429e49a4d7183831f", "score": "0.5306363", "text": "@TriggersRemove(cacheName = \"roleIsGrantedCache\", removeAll = true)\r\n public void clearRoleIsGranted() {\r\n }", "title": "" } ]
[ { "docid": "6bf85f9fdc68df888329771cd6e03d0a", "score": "0.62945414", "text": "void clearCachedObjects();", "title": "" }, { "docid": "b7e1329da1fd9b34fbd10a443518ebc8", "score": "0.62326497", "text": "@Override\n public void clearCacheObjects() {\n GroupCache.clear();\n }", ...
2f2f52a1ad88fb30a7114b8383207e77
Sets the value of the SortBy field.
[ { "docid": "13d9530e7145e42565af6918ea1a1704", "score": "0.6027193", "text": "public void setSortBy(typekey.SortByRange value) {\n __getInternalInterface().setFieldValue(SORTBY_PROP.get(), value);\n }", "title": "" } ]
[ { "docid": "38fbead8d1caf964aae971a865c8d3dc", "score": "0.7168518", "text": "public void setOrderBy(String OrderBy) {\n this.OrderBy = OrderBy;\n }", "title": "" }, { "docid": "77a1643ae097046023883e27ea37988b", "score": "0.6985786", "text": "void setSort(Sort value);", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f837af38c7dfad055ae5eb92e7829494", "score": "0.0", "text": "@Override\n\tpublic void update( TodoTask todoTask )\n\t{\n\n\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
f95029dbf3c3e514277fbd1771aae21f
print a new end of line.
[ { "docid": "17be8dbf7d7cd4e90d30e5baff77c65a", "score": "0.6485549", "text": "public static void _writeln() {\r\n System.out.print(\"\\n\");\r\n }", "title": "" } ]
[ { "docid": "d0ffc21c7468f5addcaf2cf4b70b2be2", "score": "0.7585294", "text": "public static void newLine(){\n\t\tSystem.out.println(\"\");\n\t}", "title": "" }, { "docid": "b148546d432fd08b27d8e29c7bedeeff", "score": "0.7223877", "text": "public static void newLine() {\r\n\t\tprint(L...
4ea2b19f74602029c42c971a3ae4e0bc
Xac dinh 3 diem dau vao co tao thanh 1 goc vuong hay ko
[ { "docid": "e2e6d89f2fce95f8b65268d6978a7038", "score": "0.0", "text": "public boolean isPerpendicular() {\n\t\tVector3D u1 = new Vector3D(A1, B1);\n\t\tVector3D u2 = new Vector3D(B1, C1);\n\t\treturn (u1.getX() * u2.getX() + u1.getY() * u2.getY() + u1.getZ() * u2.getZ()) == 0;\n\t}", "title": "" ...
[ { "docid": "2a9de009e956b737b0541cff62f70cff", "score": "0.5898018", "text": "public void anazitisiSintagisVaseiGiatrou() {\n\t\tString doctorName = null;\n\t\ttmp_2 = 0;\n\t\tif(numOfPrescription != 0)\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\" STOIXEIA SYNTAGWN\");\n\t\t\t// Em...
f78aa4be12e6394796e2a0756a1eba7f
TODO: Add other SCM types for rewriting, and allow other layouts
[ { "docid": "8cfff470d7146aea4c263d26a1499eab", "score": "0.0", "text": "private void rewriteScmConnection( Scm scm, String tag )\n {\n if ( scm != null )\n {\n String scmConnection = scm.getConnection();\n if ( scmConnection != null && scmConnection.startsWith( \"s...
[ { "docid": "bc92a5d103e22f815a503385aeb7f89e", "score": "0.5336244", "text": "@Override\n\tpublic void customizeContent() {\n\t\t\n\t}", "title": "" }, { "docid": "8aa2f33dd2fd2b67ab7d7f309268ba9f", "score": "0.5294996", "text": "@Override\n\tpublic void setLayout(String layout) {\n\...
1e2550c3ea1069861bbd6eb10d96aa08
end method Method for adding the days in the date
[ { "docid": "ddd0a34b1be28d4ad4e01fced54dbe8b", "score": "0.6321262", "text": "public static String addDaysInDate(String sourceformat, String date,\n String days, String fianlFormat) {\n String newDate = date;\n SimpleDateFormat sdf = null;\n GregorianCalendar...
[ { "docid": "0cf05fa7994933539452de630fb80283", "score": "0.7697437", "text": "public void addDays(int d) {days += d;}", "title": "" }, { "docid": "5e827c9e5d2d45b59a5dd5cb99609cbf", "score": "0.74159926", "text": "public void IncreaseDay(){\n\t\tthis.totalDays++;\r\n\t\t//this.output...
3e867dc0c5e3ff2daa1c45213ef90e95
normal of the shape at a point.
[ { "docid": "64785ac41ade5f42070d44c1422ff1d4", "score": "0.0", "text": "public abstract boolean inside(double[] position);", "title": "" } ]
[ { "docid": "1783f1aed397f8c761b40191f4442069", "score": "0.73164374", "text": "public Vector2 normalAt(Point2 p) {\n return center.vectorTo(p).unit();\n }", "title": "" }, { "docid": "99d0b4e9c69b640b9c2ddd66ecb1dc58", "score": "0.7224578", "text": "public Vector getNormal(final ...
f41fe23ecac9d94f6ce589ad6aa35727
The default container for this home. Every home must be associated with a container.
[ { "docid": "812268364b9475a82813fa3c54e63216", "score": "0.0", "text": "public BOContainer getContainer()\n\t{\n\t\treturn boContainer;\n\t}", "title": "" } ]
[ { "docid": "5d20f8ab181d7f7f7fe3ec484d56f1ab", "score": "0.61023617", "text": "public static Container getDesktop()\n\t{\n\t\treturn desktop;\n\t}", "title": "" }, { "docid": "893b226e4de9ef45d4e2ad426719a4c9", "score": "0.5913392", "text": "IContainer getDefaultWebFolder();", "t...
b09a74cdb92b96bc7f0c68e61978d98b
ELEMENTOS TABLAS PARAMETOS ELEMENTOS TABLAS PARAMETOS_FIN
[ { "docid": "cd35e85074dc3cab5f27284641fb0d64", "score": "0.0", "text": "public ConsumosServiciosLogic getConsumosServiciosLogic()\t{\t\t\r\n\t\treturn consumosserviciosLogic;\r\n\t}", "title": "" } ]
[ { "docid": "ac94f9a35889033e0f2b883ebfa8bc2c", "score": "0.5934163", "text": "public SiacDProgrammaTipoFin() {\n\t}", "title": "" }, { "docid": "fc5c6fa3470a080655698765b6606d3c", "score": "0.57841176", "text": "void mostar(){\n List<Sucursales>consultar = Controller.Sucursale...
657e391d280158670797a7e93408ac6c
gets the cfscript scanner (handles highlighting for cfscript partitons
[ { "docid": "6d03fa0ea875678eda7cca81d64fca41", "score": "0.7471275", "text": "protected CFScriptScanner getCFScriptScanner() \n\t{\n\t\tToken textToken = new Token(\n\t\t\tnew TextAttribute(\n\t\t\t\tcolorManager.getColor(\n\t\t\t\t\tpreferenceManager.getColor(\n\t\t\t\t\t\t\tCFMLColorsPreferenceConstan...
[ { "docid": "345c314ed9b3715f8e9494d9683b3745", "score": "0.6695465", "text": "protected JavaScriptScanner getScriptScanner() \n\t{\n\t\tToken textToken = new Token(\n\t\t\tnew TextAttribute(\n\t\t\t\tcolorManager.getColor(\n\t\t\t\t\tpreferenceManager.getColor(\n\t\t\t\t\t\t\tCFMLColorsPreferenceConstan...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c3d9aded7023549010abd7a1e9bb7427", "score": "0.0", "text": "@Override\n public void print() {\n\n }", "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...
316a90024007d0b0b78bb70694fa5aa8
Use this inside subclasses as a convenience method.
[ { "docid": "2ed4ce6b11d2f3e29bd30ddf22169d61", "score": "0.0", "text": "protected List<T> findByCriteria(Criterion... criterion) {\n crit = getSession().createCriteria(getPersistentClass());//JSA01\n crit.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY);//JSA01\n for (Criterion c...
[ { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.6526832", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "d23cfad5b7b7ef3adadc6da1287e8abf", "score": "0.641706", "text": "private Util() {\r\n\t\tsuper();\r\n\t}", "title":...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c9f40082f9f0e8ad2956865df2dce070", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tString content = inputText.getText().toString();\n\t\t\t\tif (!\"\".equals(content)){\n\t\t\t\t\tHSTextMessage msg = new HSTextMessage(mid, content);\n\t\t\t\t\tsendMessages(ms...
[ { "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": "" }, ...
a00dcc9dfde3aa44715c980f4722345f
Auto generated setter method
[ { "docid": "f129c665af512e991a512f926e602af2", "score": "0.0", "text": "public void setU_customer_categorization(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n ...
[ { "docid": "8541b1cf741ee8244d45d2fd755acdb3", "score": "0.7789626", "text": "public abstract void set();", "title": "" }, { "docid": "7926260a33dacb33748cc5896367fecc", "score": "0.7313697", "text": "public void set()\n\t\t{\n\t\t}", "title": "" }, { "docid": "103930d9bb...
59cc5a596bddf69e353e34c3e10dae46
Changes the state of the current matrix object by setting each value to a number between 1 and 1
[ { "docid": "c1e4f15134696617570c62579ae01114", "score": "0.0", "text": "public Matrix randomize()\n {\n for(int i = 0; i < rows; i++)\n {\n for(int j = 0; j < cols; j++)\n {\n arr[i][j] = (Math.random()*2 - 1);\n }\n }\n\n re...
[ { "docid": "0ac2a1a4aa758e967e0731546663b4f8", "score": "0.68337923", "text": "public void setStateMatrix() {\n\n\t\tif(this.direction == Direction.N) {\n\t\t\t//Initialize for the start state ti i and j of the \"-\" marekd as 0\n\t\t\tsetFirstMinus_I_J();\n\t\t\tsetH();\n\t\t}\n\n\t\t//moves the number...
dc6b13ba5023e0059403a22a51bcf6fd
sets cyclic to cyclic
[ { "docid": "9a734f7d3fc5cd11418ce58aa443e119", "score": "0.8276949", "text": "public void setCyclic(boolean cyclic) {\n\t\tthis.cyclic = cyclic;\n\t}", "title": "" } ]
[ { "docid": "5718a40a449fdf17b0538b64bb72d914", "score": "0.82338375", "text": "public void setCyclic(byte cyclic) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeByte(__io__address + 12, cyclic);\n\t\t} else {\n\t\t\t__io__block.writeByte(__io__address + 12, cyclic);...
9c058864ba20ad8affc5218a8c47adc8
Erstellt das Fenster zum Login des Benutzers, um den User nach Benutzername und Passwort zu fragen Wenn der User auf den OK Button klickt oder Enter drueckt, springt das Programm zur Log Methode, in welcher die Login Daten des Users ueberprueft werden.
[ { "docid": "07cd8e4baed241ce1282d058ee2ecd80", "score": "0.0", "text": "public void createWindow(Stage primaryStage) {\n\t\t\t\t\n\t\tString dir = System.getProperty(\"user.dir\");\n\t\t\n\t\tprimaryStage.setTitle(dir);\n\t\t\n\t\tgrid.setAlignment(Pos.CENTER);\n\t\tgrid.setHgap(10);\n\t\tgrid.setVgap(1...
[ { "docid": "45a5040cfd32df2916f4d49ef52f772a", "score": "0.78461343", "text": "private void logIn() {\n\n try {\n mUsername = usernameTextField.getText();\n mPassword = passwordTextField.getText();\n\n Statement usersStatement = mConnection.createStatement();\n ...
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": "9d82bd438ca885e91ee42f441f6a67c0", "score": "0.7395552", "text": "@Override\n\tpublic void doPost(Request request, Response response) {\n\t\t\n\t}", "title": "" }, { "docid": "5e0c4bf9984bc451fe093fb1141f9960", "score": "0.73915166", "text": "@Override\n\tpublic void doPo...
ade7c45a6aeafd56d69260f7e309a07d
The path to the documents directory.
[ { "docid": "4c290bb27ecb09122269a1d34f761098", "score": "0.0", "text": "public static void main(String[] args) {\n String dataDir = Utils.getDataDir(AddColumnInTextBoxes.class);\n\n //ExStart:AddColumnInTextBoxes\n // Create an instance of Presentation class\n Presentation pr...
[ { "docid": "a74335e96583b234e468561ffc79b922", "score": "0.74098086", "text": "String getDocumentRootPath();", "title": "" }, { "docid": "29a1170b97060ac665567df1c119677c", "score": "0.7126181", "text": "public String getPath() {\n return docPath.toString();\n }", ...
17f44eb079f4fef7705252327d572798
Merges an XML fragment as a child of a holder element.
[ { "docid": "b847073a40ae76afae7ecb05bd889b0d", "score": "0.59093845", "text": "public void mergeXml(final DocumentBuilder docBuilder,\r\n final String partXml, final String partID,\r\n final Document docResult, final Element elHolder)\r\n throws TransformerException {\r\...
[ { "docid": "4034ebfcb30ddca1d2d977de9cdee190", "score": "0.5165917", "text": "public static void wrapXml(StringBuilder psbContent, String psOpenTag, String psCloseTag) {\n // Find the first line\n int iWhere = psbContent.indexOf(XML_VERSION_END) + XML_VERSION_END.length();\n // inse...
275bb29f32951f985bd53a5e5d185fed
The doGet method of the servlet. This method is called when a form has its tag value method equals to get.
[ { "docid": "55a2771577ddf40144f6e71dd1c59e1e", "score": "0.0", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t\tdoPost(request,response);\n\t}", "title": "" } ]
[ { "docid": "0ddccb85d255dae7492409c1f8aca50c", "score": "0.7523354", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n //out.println(\"<br/>\"+req...
4ab2c02c692f5ae7239d59e31d93c72a
Converts the given Pig exception to an appropriate exception from the org.springframework.dao hierarchy.
[ { "docid": "efa81c99fe6d52a6c9c0ec68d593ddad", "score": "0.57652515", "text": "protected DataAccessException convertPigAccessException(IOException ex) {\r\n\t\treturn PigUtils.convert(ex);\r\n\t}", "title": "" } ]
[ { "docid": "0dafde08a29f034db812f6a003a9d958", "score": "0.658097", "text": "public DataAccessException convertMappingAccessException(Exception ex) {\n // repository exception\n if (ex instanceof RepositoryException)\n return super.convertJcrAccessException((RepositoryException)...
c979125f58cdf6dfb6400e0343f63d5e
Dumps array to screen as is, no filtering or management
[ { "docid": "4b16a4b7dfb904c66d1090b4daed0d5a", "score": "0.6240108", "text": "public void showArray()\n {\n int index;\n \n for( index = 0; index < arraySize; index++ )\n {\n System.out.print( heapArray[ index ] + \" \" );\n }\n }", "ti...
[ { "docid": "94227748a16da90684b460143e698a38", "score": "0.69608015", "text": "static void show() {\n\t\tSystem.out.println(arr[0] + \" \" + arr[1] + \" \" + arr[2]);\n\t\tSystem.out.println(arr[3] + \" \" + arr[4] + \" \" + arr[5]);\n\t\tSystem.out.println(arr[6] + \" \" + arr[7] + \" \" + arr[8]);\n\t...
94870dd022487df5327391e6d23ba4a0
/ Instantiates the Twitter object
[ { "docid": "a4c45e2c2a10b0df441b42086816b236", "score": "0.701611", "text": "public Twitter getTwitter() {\n \tTwitter twitter = null;\n \t\n \t//set the consumer key and secret for our app\n \t\n\t\t//build the configuration\n \tConfigurationBuilder builder = new ConfigurationBuilder();\...
[ { "docid": "fdf0fa2051165891cfc63115b465c79a", "score": "0.85922635", "text": "public Twitter() {\n }", "title": "" }, { "docid": "bc8e1813215fb17d7dfc411393881d7e", "score": "0.8117713", "text": "public Metodos() {\r\n twitter=new TwitterFactory().getInstance();\r\n }", ...
765edf8de3651e46e50b380491ebe3c3
Returns the class the characteristics will be filtered by
[ { "docid": "54edc08fb6fc0a9e75409ecb2f8abb6a", "score": "0.6775796", "text": "public Class<?> getFilterType() {\r\n\t\treturn ICharacteristics.class;\r\n\t}", "title": "" } ]
[ { "docid": "85534a953e790e9b6ce1908127119c4b", "score": "0.65702426", "text": "public ClassFilter getClassFilter() {\r\n\t\t\treturn new ClassFilter() {\r\n\t\t\t\tpublic boolean matches(Class cls) {\r\n\t\t\t\t\treturn (cls == CategoryService.class);\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t}", "title": "" ...
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "70bc88bf23a800fc2331ffdbbb336d99", "score": "0.0", "text": "private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,\r\n javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.str...
[ { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamE...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f56bb7b8f6b89691b1ba00ff98e16ed7", "score": "0.0", "text": "public void leave(String borrower) {\n }", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "689d96227400b013bb14e2b41688f599", "score": "0.0", "text": "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Cale...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
069bcdb23a139627bab32b7ec4a92bf9
Get the state of a specific flight If the flight is complete and still in our inmemory map, we remove it. The logic is that if getFlightState is called, then either the wait finished or we are polling and won't perform a wait.
[ { "docid": "d242e9fe8f1db93178a6c643214893e9", "score": "0.59325427", "text": "public FlightState getFlightState(String flightId)\n throws StairwayException, FlightNotFoundException, DatabaseOperationException,\n InterruptedException;", "title": "" } ]
[ { "docid": "6871cf9e7bf2c6f828d71e4efce07f7b", "score": "0.5300283", "text": "FlightState waitForFlight(String flightId, Integer pollSeconds, Integer pollCycles)\n throws StairwayException, DatabaseOperationException, FlightNotFoundException,\n FlightWaitTimedOutException, InterruptedExcep...
f590c337f26260294cbd113abff3da00
System.out.print("Ruch " + Ruch[0] + " " + Ruch[1] + ", " + Ruch[2] + " " + Ruch[3] + ";");
[ { "docid": "c3215c9e97c6517e5bb0766d657bd07a", "score": "0.0", "text": "private void WykonajRuch() {\n if(Ruch[0]%2 != Ruch[1]%2)\n if(stan.plansza[Ruch[0]][Ruch[1]] != 0 && Ruch[2]<8 && Ruch[3]>=0 && Ruch[3]<8) {\n if(stan.LegalnyRuch()) {\n stan.setP...
[ { "docid": "ef84743760532fd6b0ff8b4467afd4e5", "score": "0.688305", "text": "@Override\r\n\tpublic void print() {\n\t\tfor(int i=0;i<len;i++) {\r\n\t\t\tSystem.out.print(arr[i]+\" \");\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "691270d8b411cb92ad72df8211a1d6d6"...
c29a12052cf2aa42e4f1633119e9354a
Sends a message to determine if any line has been hit
[ { "docid": "68d1b8e5846403ae3a4b0cbb23a4437f", "score": "0.0", "text": "public abstract void hit(Point point);", "title": "" } ]
[ { "docid": "820835813b011fee71669d18342cd7b3", "score": "0.6014782", "text": "public void sendMsg(String line){\n connection.sendMessage(line);\n }", "title": "" }, { "docid": "6d7f493f1b840f771f1a0349d1f0141e", "score": "0.59372914", "text": "boolean isSetLine();", "ti...
8c1c352fc6b8af5f5a5967f47bb4c420
$ANTLR end "And" $ANTLR start "Assign"
[ { "docid": "d996f63d7ff15bf2220859ba1d6c0442", "score": "0.51925737", "text": "public final void mAssign() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = Assign;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// grammars/Lua.g:56:8: ( '=' )\n\t\t\t// grammars/Lua.g:56:10: '='\n\t\t\t{\...
[ { "docid": "ae91ddef0e50fc1041cc3cf730e205a6", "score": "0.6702066", "text": "@Override\n\tpublic void visit(AndExpression andExpression) {\n\t\t\n\t}", "title": "" }, { "docid": "dfd49bfb78cfac7a6a19e2307216c783", "score": "0.6568817", "text": "@Override\npublic void visit(cfg.stm.A...
8ae061bd46dfbf811910723adeee5281
Calculates the amount of playlist created pre: The array must already be declared post: Gives the amount of playlist created in the array of playlist
[ { "docid": "a02056dfc287cef7ca6ee5f07aa6fea6", "score": "0.76395285", "text": "public int getPlaylistAmount(){\n\t\tint amount = 0;\n\t\tfor(int i = 0; i<playlist.length; i++){\n\t\t\tif(playlist[i] != null){\n\t\t\t\tamount++;\n\t\t\t}\n\t\t}\n\t\treturn amount;\n\t}", "title": "" } ]
[ { "docid": "081e5f32fbef17a59c6ed04473355a74", "score": "0.73012245", "text": "public int amountPlaylist(){\n\t\tboolean all = false;\n\t\tint amount = 0;\n\t\tfor(int i = 0; i < playList.length && !all; i++ ){\n\t\t\tif(playList[i] != null)\n\t\t\t\tamount++;\n\t\t\telse\n\t\t\t\tall = true;\n\t\t}//En...
44b8275197e86334f3cedcf94547ded4
tick the task by removing the task and put it into finished task list
[ { "docid": "e056724870c44857e1de650af3c2c84b", "score": "0.6878869", "text": "private boolean tickTask(Task toBeTicked) {\n\t\tArrayList<Task> finishedTask = state.getFinishedTasks();\n\t\tfinishedTask.add(toBeTicked);\n\t\tDeleteTask deleteTask = new DeleteTask(state);\n\t\tboolean isDeletedSuccessful ...
[ { "docid": "c3fdc5152987403a3e28aded3ad6675f", "score": "0.73300654", "text": "public void completeTasks(Task task) {\n\t\t_runningTasks.remove(task);\n\t}", "title": "" }, { "docid": "b57daadb9eb71167fb8dab99f9b7dd20", "score": "0.71149176", "text": "void removeTask(int pos);", ...
cf07163a235a8e0dbd70cc41a06a4b75
Internal implementation, normal users should not use it.
[ { "docid": "f6e63c9c2b2a27f5ed44274c7d113889", "score": "0.0", "text": "public void toMap(HashMap<String, String> map, String prefix) {\n this.setParamArrayObj(map, prefix + \"LineList.\", this.LineList);\n this.setParamArrayObj(map, prefix + \"LineGroupList.\", this.LineGroupList);\n ...
[ { "docid": "bc3a08c64e443ee86473be048cb9738a", "score": "0.6229524", "text": "private void smth() {\n\n\t\t}", "title": "" }, { "docid": "bc7909a7f4d299f205e6b78319cafd05", "score": "0.60439175", "text": "@Override\n protected void setupInternal() {\n }", "title": "" }, { ...
40ddd0c6440b63244d7f6d5072314c6d
skip first line with headers
[ { "docid": "653931380a9d769ae2f5a50d1f59cea3", "score": "0.0", "text": "@Override\n\t public void map(LongWritable key, Text value, Context context)\n\t throws IOException, InterruptedException {\n\t\tif (key.get() == 0) {\n\t\t\treturn;\n\t\t}\n\t\tparser.parse(value);\n\t\tif (!parser.isValidCou...
[ { "docid": "9a790836d71aea6b2836dd2546edcc9b", "score": "0.81637716", "text": "protected void skipHeader() {\n\t\ttry {\n\t\t\tif (params.getIgnoreHeader()) {\n\t\t\t\t// skip header;\n\t\t\t\tinput.readLine();\n\t\t\t\tline++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tthrow new ExternalTableExceptio...
ce3f013614b20a791a30f12161b8c182
Get a spacer letter
[ { "docid": "1d222bc45dd96364ce62282c83028b3c", "score": "0.7670619", "text": "private CryptoTextView getSpacerLetter(){\r\n CryptoTextView cl = new CryptoTextView(context);\r\n cl.setLetter(\" \");\r\n cl.setSpacer(true);\r\n return cl;\r\n }", "title": "" } ]
[ { "docid": "872ed0cd556f9c7fe7bf3dc6cafcbd7f", "score": "0.64347315", "text": "String getLeaderChar();", "title": "" }, { "docid": "83ee8b3c92a884148c3a737748f8d5bd", "score": "0.6424591", "text": "public char getDisplayChar()\r\n {\r\n \r\n if(getField() != null && getFi...
f39e413a1e20c60439502f4b5aed237c
Create Player with given name and starter Pokemon with given internal name.
[ { "docid": "f41f929d4feb673e4c556fe489c741b1", "score": "0.63709545", "text": "public Player(String name, String gender, String internalName) {\n\t\t\tthis.gender = gender;\n\t\t\tsetBasics();\n\t\t\tthis.name = name;\n\t\t\tthis.team[0] = new Pokemon(internalName);\n\t\t\tthis.pokeDex[this.team[0].getI...
[ { "docid": "6ba5897268abd65e32f418249d4de3e1", "score": "0.725531", "text": "public Player(String n) {\n name = n;\n }", "title": "" }, { "docid": "118c62722c950975f16c4759a4c8df38", "score": "0.71845794", "text": "public Player(String n)\n\t{\n\t\tname = n;\n\t}", "tit...
586d8df7e1854d3753a2ef3c0de425c2
System.out.println("[PC] getInodesBlock: " + id);
[ { "docid": "4b2cb7ad5e0a6150ad3d655fd449d463", "score": "0.58559126", "text": "public ByteBuffer getInodesBlock(InodesBlockID id) throws FileNotExistException, KawkabException{\n\n\t\ttry {\n\t\t\treturn client(id.primaryNodeID()).getInodesBlock(id.blockIndex());\n\t\t} catch (kawkab.fs.core.services.th...
[ { "docid": "f6086ea8dddb9a2855f91d6dd0c971df", "score": "0.72423", "text": "private int getBlockId()\n{\n return getBlockId(class_name, method_name, method_desc, ins_number);\n}", "title": "" }, { "docid": "19e250672f634d2e8935ee52d05b0d1d", "score": "0.658511", "text": "protected ...
33eadfcddc0e79e8aa88fa617e987a6b
Returns the sku name and account kind for the account. For more information, please see the .
[ { "docid": "944ff68bd5581edbc9b7eb4677e94125", "score": "0.0", "text": "public Single<ServiceGetAccountInfoResponse> getAccountInfo() {\n return this.getAccountInfo(null);\n }", "title": "" } ]
[ { "docid": "f29160fdb947152b5c240d58ea5443b4", "score": "0.6934846", "text": "SkuName name();", "title": "" }, { "docid": "6792472b3b81a4f6ca5e380e88ca832b", "score": "0.68796796", "text": "Sku sku();", "title": "" }, { "docid": "6792472b3b81a4f6ca5e380e88ca832b", "sc...
fa96a05de968e9d63d8385f0e3ce5b19
Writes a single bit to the output stream.
[ { "docid": "82c5f59b90d114167235133abbdfe0b9", "score": "0.7792719", "text": "public void writeBit(final boolean value) throws IOException {\n currentBits++;\n currentByte <<= 1;\n\n if (value)\n currentByte += 1;\n\n if (currentBits == 8) {\n outputStre...
[ { "docid": "4ee6cdff4924562338407612e1fed049", "score": "0.76021326", "text": "public void writeBit(int bit) throws IOException {\n\t\tbuf |= (bit & 0x1) << bitsWritten;\n\t\tbitsWritten++;\n\t\tif (bitsWritten == 8)\n\t\t\tflushBitBuffer();\n\t}", "title": "" }, { "docid": "0ac491e031630119...
db93bdf7f565f6ee35ff2490e789b1f5
Calculates middle point of all polygons (by taking the average of their middle points), and the point farthest away from this middle and the distance between the 2 points. See Polygon.calcValues()
[ { "docid": "2a3add9e87f6806b44662fb983fe8388", "score": "0.69098145", "text": "private void calcValues(){\n\t\tint length=polygonlist.size();\n\t\tmiddle[0]=0;\n\t\tmiddle[1]=0;\n\t\tfor(int i=0; i<length;i++){\n\t\t\tmiddle[0]+=polygonlist.get(i).getMiddleX();\n\t\t\tmiddle[1]+=polygonlist.get(i).getMi...
[ { "docid": "ba3222f275f55f0bc03e9232eba88245", "score": "0.62157774", "text": "public double centroid() {\n if (m_points.size() < 2)\n return 0;\n else {\n double ponderatedArea = 0;\n double totalArea = 0;\n double localArea;\n Point2...