query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
36cece5e0022efa4b0e94a722c079a20
Obtiene el descuento por tipo de cliente formateado de un producto
[ { "docid": "a8d0417cfde0b44af321d28df8aeaf8e", "score": "0.0", "text": "private String getDiscount(Item item) {\n double discount = 0;\n if (client.getClientType().getId() == 1) {\n discount = item.getPriceOne();\n }\n if (client.getClientType().getId() == 2) {\n ...
[ { "docid": "86e6a4052b8cb4151ea1f877afd80f27", "score": "0.64326423", "text": "public java.lang.String getTipoCatalogador();", "title": "" }, { "docid": "54795d2dd1453370d4a17b5b6a8eaa0c", "score": "0.63463235", "text": "@Override\n\tpublic String getType() {\n\t\treturn \"DEPORTIVO\...
4d86e7895dd27a8fe73d1ed49725c5fa
This method was generated by MyBatis Generator. This method sets the value of the database column user.description
[ { "docid": "e551bbbf519d2fab7b0529fc288fdd13", "score": "0.0", "text": "public void setDescription(String description) {\n this.description = description == null ? null : description.trim();\n }", "title": "" } ]
[ { "docid": "3c9b2d3caf3cb2f1d7afb1d5120af8eb", "score": "0.7482053", "text": "public void setUserDescription(String userDescription)\r\n\t{\r\n\t\tthis.userDescription = userDescription;\r\n\t}", "title": "" }, { "docid": "0701d16079266f0b6ec499f4a1dee725", "score": "0.70003927", "te...
b2504756565e7924aa20d8f6e8cfc7b9
Test case number: 398 /Coverage entropy=1.8261674308051876
[ { "docid": "b173f9c37aaff88b72247c1d6890a124", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test398() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Component component0 = errorPage0.entity(\"i/F_$i;%QZY\\\"*d(%R\");\n assertEquals(\"wheel_ErrorPage\", ...
[ { "docid": "886d1ff30171da2d9824f1f8c336f345", "score": "0.6642219", "text": "@Test\n public void test22() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = ConverterUtils.DataSource.read((Loader) textDirectoryLoader0);\n ...
4030c28c5b498465900bf54fa35a4f14
the listener of user pressed.
[ { "docid": "06a00c85cd029629e9aaa157e4ad5ee8", "score": "0.68514013", "text": "void onUserPressed(int position, MessageSender userId);", "title": "" } ]
[ { "docid": "3fe7612518fe9a56e1dea172233e60c6", "score": "0.7420242", "text": "@Override\n\t\t\tpublic void pressed() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "3fe7612518fe9a56e1dea172233e60c6", "score": "0.7420242", "text": "@Override\n\t\t\tpublic void pressed() {\n\t\t\t\t\...
1e70bea124654fe17a4c701d6179d329
This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
[ { "docid": "b9c2520ad6893b28b4b9ce24302b4590", "score": "0.0", "text": "protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n if ( ejbRef() != null )\n return;\n\n com.hps.july.persistence.Sitedoc2SplaceKey k...
[ { "docid": "19def8ee9a9cacfd168fa29cb08dcee2", "score": "0.6072209", "text": "@Override\n\tpublic void vaccination()\n\t{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.5992148", "text": "@Override\n\tpub...
8756e70b63edb53f9754e8eb6de135b1
Checks whether every value in the safety net is equal to the first one.
[ { "docid": "7c779173cd0edb3aa904e2408ba21597", "score": "0.0", "text": "private boolean isNetSafe(ArrayList<String> ary) {\n for (String s : ary) {\n if (!s.equals(ary.get(0))) {\n return false;\n }\n }\n return true;\n }", "title": "" }...
[ { "docid": "f76f34355964fbb358b2e7ae6f9030d1", "score": "0.6071795", "text": "public boolean testequals(boolean verbose)\r\n {\n List<Integer> list = new LinkedList<Integer>();\r\n List<Integer> comp = new LinkedList<Integer>();\r\n list.add(null);\r\n list.add(32);\r\n ...
d4e469d3b348288eeb9c151e5b20289f
Tests if the job is currently running. If the status is unknown, this value will always be false.
[ { "docid": "794efcd05332be26c82088c35afdb057", "score": "0.71839654", "text": "public boolean isRunning();", "title": "" } ]
[ { "docid": "3c65d3362e5b1c6ca5b0b363dc1bdd59", "score": "0.7714541", "text": "@Override\n\tpublic boolean isJobRunning() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6ed24d59623330fb06219375da8905e8", "score": "0.7371944", "text": "public final boolean isRunning() {\n\t\tre...
8a10000a264d4b1ce524c741ae083b5b
BA.debugLineNum = 1001;BA.debugLine="Sub Smvmin_ValueChange (Value As Double)"; BA.debugLineNum = 1003;BA.debugLine="Lmvmin.Text =\"L: \" & Round2( Value, 2)";
[ { "docid": "b7b60eb90014f9deae86cd537bb16243", "score": "0.8196897", "text": "public static String _smvmin_valuechange(double _value) throws Exception{\n_lmvmin.setText(\"L: \"+BA.NumberToString(anywheresoftware.b4a.keywords.Common.Round2(_value,(int) (2))));\r\n //BA.debugLineNum = 1004;BA.debugLine=\...
[ { "docid": "838c2d237a052097500b5b31b0d4fcae", "score": "0.7708938", "text": "public static String _smvmax_valuechange(double _value) throws Exception{\n_lmvmax.setText(\"H: \"+BA.NumberToString(anywheresoftware.b4a.keywords.Common.Round2(_value,(int) (2))));\r\n //BA.debugLineNum = 988;BA.debugLine=\"...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "e7d7e70db3ba616031acbf833eacdfd5", "score": "0.0", "text": "@Override\n public View onCreateView(final LayoutInflater inflater, final ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_signup, container, ...
[ { "docid": "9889cfe738b7e9b399fedfcc374cd8be", "score": "0.69417876", "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...
47902f438471dd0fbef0de203841a884
/ Emoji set up size
[ { "docid": "8ed3eb96bbf12c0fd1d36acd84c8c9cf", "score": "0.67989606", "text": "public void resizeEmoji() {\n if (isShowed()) {\n WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);\n WindowManager.LayoutParams layoutParams = (WindowManager.La...
[ { "docid": "4bc3009393a9188c196ec952091d37aa", "score": "0.66989315", "text": "public int getSize() { return chineseCharacters.size(); }", "title": "" }, { "docid": "4bc3009393a9188c196ec952091d37aa", "score": "0.66989315", "text": "public int getSize() { return chineseCharacters.siz...
a6aa7128577e6d79670cfa6ae0f4518f
write data to our back end
[ { "docid": "1f4349f5fcb583192820d79238e95096", "score": "0.0", "text": "public void write(byte[] b) throws IOException {\n source.write(b);\n }", "title": "" } ]
[ { "docid": "0da349ca25f122d4ba1d262eead453dd", "score": "0.7184492", "text": "@Override\r\n abstract public void write();", "title": "" }, { "docid": "3dcf9308f251ea549f3e8b172cc0d5f7", "score": "0.7039503", "text": "public void write(){\n\t}", "title": "" }, { "docid": ...
8b14211b5c376166ab1886183ae974bb
No tenemos que importar nada ya que Thread esta incorporado en el paquete java.lang
[ { "docid": "f4c176ab3bea8bd7a2e49e7735617c1b", "score": "0.0", "text": "public Hilo() {\n\n\t}", "title": "" } ]
[ { "docid": "d1bf895fe89d8bd1dfd9f24ece4d97b6", "score": "0.67660916", "text": "@Override\r\n\tprotected void threadTask() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d68db755c7b9c72d33e356a1258159bc", "score": "0.6268278", "text": "Thread start();", "title": "" }, { "doci...
3851cc1e4652072f799e89d66758449c
Gets the AudioDescriptor that shall be sampled.
[ { "docid": "4e87b23796458d638f0db16a9b8300f1", "score": "0.77397543", "text": "public AudioDescriptor getAudioDescriptor();", "title": "" } ]
[ { "docid": "ce4b93a96332ea009c2a83b50331448f", "score": "0.657257", "text": "public String getDescriptor()\r\n {\r\n return soundFileDescriptor;\r\n }", "title": "" }, { "docid": "9e625d07427fdf23a028fae3b17ecccd", "score": "0.62848336", "text": "public DataSource getAud...
c2df2905963fed7a7956147c8e4deccd
PP NLJS 22/10/2017 A partir de analisis vectorial obtiene el angulo entre el plano y una de las diagonales
[ { "docid": "5abf90e9480b94f1e10fb74ffad6f84a", "score": "0.55211365", "text": "double findAnglex(Point p1, Point p2){\n\n Point o2 = new Point(0,mRgba.rows() - 1);\n Point o1 = new Point(0,mRgba.cols() - 1);\n // Imgproc.line(dibujada, o1, o2 ,new Scalar(122, 100, 200, 255), 1);\n ...
[ { "docid": "364413d38c744449167621da491cce5d", "score": "0.6796566", "text": "@Override\r\n\tpublic int calculaDiagonal() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "07622b9f50963f9dd0360df366b17561", "score": "0.5927148", "text": "public static void main(String[] args) {\n ...
f7ba0a4adaa2fe9207f77301d56a26e0
Populate the target language selection combo box
[ { "docid": "bdca209a9fc915ea3c2eab21a7bf2e7a", "score": "0.7295031", "text": "@Messages({\"GoogleTranslatorSettingsPanel.errorMessage.noFileSelected=A JSON file must be selected to provide your credentials for Google Translate.\",\n \"GoogleTranslatorSettingsPanel.errorMessage.unknownFailurePopul...
[ { "docid": "76d2cd324013dddf0c6cb3801e887205", "score": "0.7911258", "text": "@Messages({\"BingTranslatorSettingsPanel.warning.targetLanguageFailure=Unable to get list of target languages or parse the result that was received\"})\n private void populateComboBox() {\n Request get_request = new ...
48915b7986a03844eacf196b03d8f108
string text = 1;
[ { "docid": "e10cc95f18a65d55e325711b587519a1", "score": "0.0", "text": "public Builder setText(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n text_ = value;\n onChanged();\n return this;\n }", "title": "...
[ { "docid": "47c321abc7a9714e3cb98ff6818506a5", "score": "0.6945137", "text": "String text();", "title": "" }, { "docid": "2be08ae376882ae028de1fa35d4456d3", "score": "0.64618313", "text": "public void primer1(String text){\n\n System.out.println(text);\n\n }", "title": ...
e55624b18cc68a808131db82c341a12f
Handles any nonfatal errors generated by incorrect user input.
[ { "docid": "24efdc9130617d32602e07b16929d7df", "score": "0.0", "text": "public void error(SAXParseException exception)\n {\n System.err.println(\"line \" + exception.getLineNumber() + \": col. \"\n + exception.getColumnNumber() + \": \" + exception.getMessage());\n }", "t...
[ { "docid": "517870d6213e4d67907d82ae4d95c27d", "score": "0.6831312", "text": "private void invalidInput() {\r\n System.out.println(\"Invalid input! Please try again.\");\r\n }", "title": "" }, { "docid": "97b78139a04b354ec669109990302b2a", "score": "0.6569376", "text": "pub...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0865bf2920e029eaa3d282aab943a48f", "score": "0.0", "text": "public static Background getBg1() {\n\t\treturn bg1;\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.66835845", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.66835845", "text": "@Override\n public void otvori() {\n ...
03b7849454d7bead1555a80418c43ac2
Gets The default poll interval for longrunning operation.
[ { "docid": "c105b72ffbabab147a3fbc3e951cbe77", "score": "0.8043062", "text": "public Duration getDefaultPollInterval() {\n return this.defaultPollInterval;\n }", "title": "" } ]
[ { "docid": "2b747791b8a9a5249599259121fb9520", "score": "0.75866306", "text": "public long getPollInterval()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n tar...
ceeb2284a93577aeaec4f33ebd217bab
need to do better
[ { "docid": "af9df8832e5e7ea9fcf9ab78818bfd83", "score": "0.0", "text": "private static int asInt(BitSet bitSet, int size) {\n\t\tint result = 0;\n\t\tfor (int i = 0; i<size; i++) {\n\t\t\tif (bitSet.get(i)) {\n\t\t\t\tresult+=Math.pow(2, size-i-1);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title":...
[ { "docid": "cf4409f0f900da10c2ee7d6b68401927", "score": "0.5580624", "text": "private void consolidate(){\n\t\t\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.54190594", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "d...
9d78e5eb2495d20630df5620532f0d1d
Agrego este test (aunque sea un getter) para aumentar cobertura
[ { "docid": "fbf3d40088446688267162989c63fa92", "score": "0.0", "text": "@Test\n public void testCreoPreguntaOrderedChoiceYTieneNombreEsperado15(){\n\n ColeccionOpciones opciones = new ColeccionOpciones();\n\n OpcionCorrecta primeraOpcion = new OpcionCorrecta(\"A\");\n OpcionCorre...
[ { "docid": "fcd008b6f2f7a6b497aabb43c644d61e", "score": "0.6861116", "text": "@Test\n public void testGetNombreBanco() {\n System.out.println(\"getNombreBanco\");\n String expResult = \"Banco\";\n Transferencia instance = new Transferencia(2,2006.43);\n String result = ins...
c53e1676c5b6d052686841284df33e6a
Get Order Reference. Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
[ { "docid": "9ba87a1a38c41a4d95aee4104ac0ce34", "score": "0.61689454", "text": "public String getPOReference();", "title": "" } ]
[ { "docid": "8d5c3dd5921f2df347060bd476805b0a", "score": "0.6669059", "text": "public com.floreantpos.model.PurchaseOrder getReferenceNo () {\n\t\t\t\t\treturn referenceNo;\n\t\t\t}", "title": "" }, { "docid": "f6fe37bed647968f59f5198f99449876", "score": "0.6654231", "text": "public S...
45eb3d274b1a79a3933846557f8f6422
Parse command and call its related function if the command array is valid
[ { "docid": "718d897addce37ee72328d4b68c345ad", "score": "0.0", "text": "private void creerMatch(String[] commande) throws SQLException\r\n {\r\n if (commande.length == 5)\r\n {\r\n creerMatch(commande[1], commande[2], commande[3], commande[4]);\r\n }\r\n else\r\...
[ { "docid": "9e4c7b5b332a1770654059a8c18a89a2", "score": "0.73366874", "text": "void parseCommand(String command);", "title": "" }, { "docid": "df07e3147415a04bc774b053eeda0161", "score": "0.705606", "text": "@Override\n public void parseCommand(String command) {\n String[] ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b9669cd71ff074fa875763ae5d9a4ad9", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tint[] num = {1,2,3,4,5};\n\t\tint toFind = 3;\n\t\tboolean found = false;\n\t\t\n\t\tfor(int n :num) {\n\t\t\tif(n == toFind) {\n\t\t\t\tfound=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\n\...
[ { "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...
269fa2987225d478a8c0db68a7e98110
Instantiates a new Wizard.
[ { "docid": "ae37cba97fdb5f1c722562d1358652d0", "score": "0.6530581", "text": "public Wizard() {\n super();\n setWeapon(new Staff());\n setChanceOfFatalDamage(getWeapon().getChanceOfFatalDamage());\n nameOfWeapon = new Staff().getName(WeaponName.STAFF);\n }", "title": "...
[ { "docid": "1757920d8ed96f58241f28171c8e018a", "score": "0.7959941", "text": "public Wizard() { super(); }", "title": "" }, { "docid": "c88c0c25270a5b49da5d572d22f6c3e8", "score": "0.6661665", "text": "public LicenseWizard() {\n\t\tsuper();\n\t\tthis.setWindowTitle(Messages.getString...
1bd7d9a7f07e370b46b8e348529e4c1d
MainComponent Desc: Team: InHand User: Wooxxx Date: 20151022 Time: 10:00
[ { "docid": "d10c55abaec8658c647567f368a67c6f", "score": "0.0", "text": "@ActivityScope\n@Component(\n dependencies = AppComponent.class,\n modules = {MainModule.class, ActivityModule.class}\n)\npublic interface MainComponent {\n void inject(HomeFragment homeFragment);\n}", "title": ...
[ { "docid": "e12d7b1c43a54ccc6f6afe3bf31f4cef", "score": "0.5524482", "text": "public void testMain(Object[] args) \n\t{\n\t\t// TODO Insert code here\n\t\tWN.useProject(Cfg.projectName);\n\t\tEE.dnd(\"Database Connections->My Sample Database->sampledb->Tables->T_olc (dba)\", 10, 10);\n\t\tWN.deployProje...
b4fe8abb2788444a62fbd613c70f83fe
/ If the OUT parameter 'exited' of drmaa_wifexited() is nonzero, this function evaluates into 'exit_code' the exit code that the job passed to _exit() (see exit(2)) or exit(3C), or the value that the child process returned from main.
[ { "docid": "14dd398cf5d3449038255cdca18721a5", "score": "0.66774654", "text": "public static native int drmaa_wexitstatus(IntByReference exit_status, int stat, Pointer error_diagnosis,\n NativeLong error_diag_len);", "title": "" } ]
[ { "docid": "f766a9c8f3b7cc47d6c4e0ba40a0c6fa", "score": "0.6966745", "text": "public static native int drmaa_wifexited(IntByReference exited, int stat, Pointer error_diagnosis,\n NativeLong error_diag_len);", "title": "" }, { "docid": "a2758cc67fa0b4769c3eb1bbf622d74a", ...
5f59a568db8727b471db295be8e7c5a7
Set the content and color for a feedback element with given index
[ { "docid": "f4fb6e794fc68c771cc21647ac75dafd", "score": "0.7259309", "text": "public void setFeedbackStyle(int index, String text, Color color) {\r\n\t\tfeedbackList.get(index).setText(text);\r\n\t\tfeedbackList.get(index).setFill(color);\r\n\t}", "title": "" } ]
[ { "docid": "215a4ec103ae99a064f7426a0598a963", "score": "0.65351826", "text": "private void setFeedbackWithTaskIndices() {\r\n\t\tsetFeedbackStyle(1, \"<index1> <index2> <index3> ...\", colourScheme[6]);\r\n\t\temptyFeedback(2);\r\n\t}", "title": "" }, { "docid": "db8b0128960f9e2092bfa109104...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "370672397813f81a8d6611994ed2d213", "score": "0.0", "text": "@Override\n\tpublic List<Map<String, Object>> getCityByProviceId(String pro_id) {\n\t\treturn citiesMapper.selectAllCities(Integer.parseInt(pro_id));\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
ee475a0f8f5001db55cde6919880bd41
Get a clever bot response
[ { "docid": "08bf23c260656de4468c1339ef07b010", "score": "0.6859693", "text": "public String getResponse(ChatterBotSession session, String message) {\r\n\t\t// Replace bot's IRC nickname by CleverBot name\r\n\t\tmessage = message.replace(super.getNick(), this.botName);\r\n\t\t\r\n\t\t// FIXME This could ...
[ { "docid": "c705f0010a8a60b843c9fe6ae59c2c95", "score": "0.7173151", "text": "private String getResponse() {\n String message = null;\n String identifier = String.format(\"bot %d \", this.botId);\n\n if (this.reader != null) {\n identifier = \"\";\n }\n\n wh...
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": "b4bf3ced0837b76411bfefa72c604486", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n myMovies_newPUEntityManager = java.beans.Beans.isDes...
[ { "docid": "0f21badeaf42d1b745bc4a2d835f9543", "score": "0.74299765", "text": "public Calendar2Form() {\n super();\n initAndShowGUI();\n }", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.73918587", "text": "@SuppressWarnings(\"unchecked\")...
9b3f23efaa54f33e0fe6ebe08fa71f25
Vend a Snack item from the front of the Slot.
[ { "docid": "da442314b088c75cd3941aedbff35acf", "score": "0.57238275", "text": "public Snack vend() {\n\t\treturn items.poll();\n\t}", "title": "" } ]
[ { "docid": "d8d6723dd5a9db1d04285647ec51af5d", "score": "0.62226826", "text": "public void addItem(Snack snack) {\n\t\titems.offer(snack);\n\t}", "title": "" }, { "docid": "ee250c5c4b910934b4761a5b3e1ae6f8", "score": "0.5944835", "text": "public void insertBack(Object item) {\n\t ...
7ac5ce0224d22bf465d313b604d76be4
Amount in micros. One million is equivalent to one unit. Currency value is in the unit (USD, EUR or other) specified by the request. For example, $6.50 whould be represented as 6500000 micros. int64 micros_value = 3;
[ { "docid": "dbbc9f2b04035c0ce673ab98f99d8ac4", "score": "0.0", "text": "boolean hasMicrosValue();", "title": "" } ]
[ { "docid": "eb2d4e0511b1579a2db7f6e11dae7786", "score": "0.62351996", "text": "long getMicrosValue();", "title": "" }, { "docid": "eec86e1f5a09ba40a92aae9c7f0aeaa6", "score": "0.6023254", "text": "public static double micro2unit(double micro) {\n\t\treturn micro * 1e-6;\n\t}", "t...
56d61586954d0a05e9289a350cea6b76
Conditionally updates cluster state with new step info. The new cluster state is only built if the step info has changed, otherwise the same old clusterState is returned
[ { "docid": "9c0e98b8521776a0b828f226cd4745e3", "score": "0.64160615", "text": "static ClusterState addStepInfoToClusterState(Index index, ClusterState clusterState, ToXContentObject stepInfo) throws IOException {\n IndexMetadata indexMetadata = clusterState.getMetadata().index(index);\n if...
[ { "docid": "f5a1b5c259ae32050e0e67efd1cd66e0", "score": "0.5532164", "text": "@Override\n public ClusterState execute(final ClusterState currentState) {\n RoutingAllocation.Result routingResult = allocationService.reroute(currentState, \"reroute after cluster up...
96926edcaf93259ad25e7f0836a7ea43
.dstore.values.IntegerValue language_id = 3;
[ { "docid": "5adba53a17140629d76da9494791cb8e", "score": "0.0", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n io.dstore.values.IntegerValue, io.dstore.values.IntegerValue.Builder, io.dstore.values.IntegerValueOrBuilder> \n getLanguageIdFieldBuilder() {\n if (langua...
[ { "docid": "29c47100376a657b518240dd2a5ee4ea", "score": "0.7990928", "text": "io.dstore.values.IntegerValue getLanguageId();", "title": "" }, { "docid": "29c47100376a657b518240dd2a5ee4ea", "score": "0.7990928", "text": "io.dstore.values.IntegerValue getLanguageId();", "title": ""...
2cf93a65434fdfeced3dab5e37783883
================================================================= Properties ================================================================= Load properties file from specified location.
[ { "docid": "f636870fbdb1b195de73691c72fe4c40", "score": "0.66543454", "text": "public Properties loadProperties(URL url) throws IOException {\n return new ContentReader(this.createInputStream(url), true).loadProperties();\n }", "title": "" } ]
[ { "docid": "b4ef6c458a90bcf3cd7a478ef9cf6d46", "score": "0.790746", "text": "private void loadProperties() {\r\n\t\tFile configFile = null;\r\n\t\t\r\n\t\ttry{\r\n\t\t\tconfigFile = new File(PropertyManager.CONFIG_FILE_PATH);\r\n\t\t} catch(NullPointerException e) {}\r\n\t\t\r\n\t\tif(!configFile.exists...
5f39682fbaa86e0ba51449a847d0d348
/ Megkeresi az atadott nevu szekciot, es az elso azutanit adja vissza tovabbi feldolgozasra.
[ { "docid": "5e8acce1984e8d9e6398044f7cdbc609", "score": "0.0", "text": "protected String SzekcioigElmegy( String sSzekcioNeve) throws IOException\r\n {\r\n String sEgyInSor = null ;\r\n \r\n if ( sSzekcioNeve != null && m_fInputFile != null )\r\n {\r\n sEgyInSor = m_fInputFile.readLine...
[ { "docid": "3ea8f3e3bb64039b9b9fc34e83793806", "score": "0.67826515", "text": "public void kisJatekFuttatas() {\n int lepesSzam = 0;\r\n Koordinata k;\r\n do {\r\n Jel elhelyezendoJel;\r\n // egyszer az egyik, masszor a masik jon\r\n // kettovel valo...
9b0bc711abe6c087ca8b6174f0fa78d7
Title: GroovyLoadedScriptListener Description: A listener that is notified when a groovy class matching the specified criteria is loaded Company: Helios Development Group LLC
[ { "docid": "58c5239bfc2c344b3520b4bbf1288fd7", "score": "0.712099", "text": "public interface GroovyLoadedScriptListener {\n\t/**\n\t* Returns a set of type annotations this listener is interested in\n\t* @return a set of type annotations this listener is interested in\n\t*/\n\tSet<Class<? extends Annot...
[ { "docid": "6ff0428a56721df46f7daeef42c51a84", "score": "0.58632636", "text": "public void externalScriptLoading(NodeImpl node);", "title": "" }, { "docid": "832632134f3a51d7ea3aee1b9d7dcd15", "score": "0.56242275", "text": "Class<?> loadFromScriptClassLoader(String clazz) throws Cla...
e7df936657749c098f86e17809ff816a
Se asegura que siempre exista el directorio de configuracion
[ { "docid": "91d487e83ba26da1af781cadeef92c57", "score": "0.69553727", "text": "public Path get_config_dir() throws IOException {\n Path path = FileSystems.getDefault().getPath(System.getProperty(\"user.home\"), \".LeeArchivos\");\n \n if (!Files.isDirectory(path)) {\n File...
[ { "docid": "e91368326b42ddd45fd034cf1572e894", "score": "0.70262533", "text": "private static String getConfigDir() {\n \n \t\t// This is the correct path for Maven-based tests\n \t\tString configDir = System.getProperty(USER_DIR_KEY) + CORRECT_CONF_DIR;\n \t\tif (new File(configDir).exists()) {\n \t\t\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "48ddb92defb30cadc323436ef10c83dd", "score": "0.0", "text": "@Override\n\tpublic long createProvisionedService(String Name, String wsdlAddress,\n\t\t\tBindingEncodingType encType, BindingProtocolType protocolType,\n\t\t\tString endPoint, String authenticationToken) {\n\t\treturn 0;\n\t}", ...
[ { "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...
886fe336c89dbd04cb7776904db72f2a
Cette methode execute le corps du thread Le thread lit l'appel, le traite et renvoi la reponse
[ { "docid": "3427b530120f8d4f6cf3c9976d6029a8", "score": "0.0", "text": "public void run(){\n\t\tSystem.out.println(\"Un client s'est connecte\");\n\t\ttry { \n\t\t\tDocumentBuilderFactory docBuilderFact = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder docBuilder = docBuilderFact.newDocumen...
[ { "docid": "8ba258632024eb532952475d859c4cd3", "score": "0.6645892", "text": "@Override\n\tpublic void execute() {\n\t\t// TODO Auto-generated method stub\n\t\tif(lectureComplete){\n\t\t\t\n\t\t\tnombreLecture = 0;\n\t\t\tlectureComplete = false;\n\t\t\tvaleurCourante = capteur.getValue();\n\t\t\t\n\t\t...
5640d0adbf56f85a84ef9c138bd5efac
kibibytes of physical RAM left unused by the system (Required)
[ { "docid": "41f9c05e6a100d0bfcadd7e7b8099911", "score": "0.0", "text": "@JsonProperty(\"memoryFree\")\r\n public Double getMemoryFree() {\r\n return memoryFree;\r\n }", "title": "" } ]
[ { "docid": "a6e2e8bf85a21439ee558ebde8cae5f8", "score": "0.77746665", "text": "protected long minRamBytesUsed() {\n return 1;\n }", "title": "" }, { "docid": "21aa532d5da6ab2261ca2df149a557af", "score": "0.7707019", "text": "double getMemoryNonHeapUsedPerc();", "title":...
7cd65a8505b70da8fec22927f6133ccc
uint64_t Level_hash(const enum LDKLevel NONNULL_PTR o);
[ { "docid": "d0e39ecf672e7f68ce5b96ed2be68fc1", "score": "0.847612", "text": "public static native long Level_hash(long o);", "title": "" } ]
[ { "docid": "e0cc48299dac0f2321654bac585ec355", "score": "0.67688394", "text": "long getHash(int L, int R) {\n return h[R] - h[L] * deg[R - L];\n }", "title": "" }, { "docid": "ab51c13819f943bc2cc83ed5fc9afd1d", "score": "0.67217726", "text": "public static native lo...
9a6dcb73d7eeb8780b26e1c260459fe0
Join the data of this joinable instance with the data of the joinable parameter.
[ { "docid": "9992794454266d43b532e6c04a7e9a86", "score": "0.55350834", "text": "Joinable join(String leftResource, String rightResource, Joinable joinable);", "title": "" } ]
[ { "docid": "766fba3e59d474bba1fbab2cdb8c48d5", "score": "0.6331303", "text": "public abstract ColumnData join( ColumnData data, ColumnData right );", "title": "" }, { "docid": "1715beef2aca789145340a36fe33079a", "score": "0.603334", "text": "protected abstract void join(Object[] data...
cb5e6f4ed56dd491faced1756ec96c61
Removes all the reviews from the database.
[ { "docid": "f8613da2845075af847883a35460a436", "score": "0.7282237", "text": "@Override\n public void removeAll() throws SystemException {\n for (Review review : findAll()) {\n remove(review);\n }\n }", "title": "" } ]
[ { "docid": "94830fd15a94622ac43ffd2651baeec7", "score": "0.6201119", "text": "public void deleteReview(){\n calendarState = CalendarState.DELETING_REVIEW;\n openListAssignment(proxy);\n }", "title": "" }, { "docid": "f83e573fd8b40cf99d6b548cacdb82e0", "score": "0.6032097...
ae2a6c7526552828dff7e88ddd1bf376
9. using our main method we can create the four nodes we need. usually main method I would put in the first few lines, but putting it near the bottom of the code makes more sense for blockchain, also creating new blocks, mining, and adding to the block chain are important. hashes weren't equal to each other when I trie...
[ { "docid": "582ac7b98d4892f7dc159d82868fe199", "score": "0.6773101", "text": "public static void main(String[] args) {\r\n\r\n BlockB genesisBlock = new BlockB(\"Genesis Block!\", \"0\");\r\n genesisBlock.mine(difficultLevel);\r\n blockchain.add(genesisBlock);\r\n\r\n BlockB ...
[ { "docid": "d66155cd77d20893eaac6114c289c1e9", "score": "0.7002318", "text": "public static void main(String[] args)\n {\n blockchain.add(new Block(\"This is the genesis block\", \"0\"));\n System.out.println(\"Mining block 1 ...\");\n blockchain.get(0).mineBlock(difficulty);\n ...
a3b7ebfcf14a83aba07f9841c7b3f3c6
Create new user Check if user already exists & form validation
[ { "docid": "e40c841bab6e94079b8155ee82d729c4", "score": "0.68011653", "text": "@PostMapping(value = \"registeruser\")\n public String save(@Valid @ModelAttribute(\"signupform\") SignupForm signupForm, BindingResult bindingResult) {\n \tif (!bindingResult.hasErrors()) { // validation errors\n \t...
[ { "docid": "2d2b1feb7a84ac283002379646c025a1", "score": "0.81650025", "text": "private void createUser() {\n if (nameBox.isEmpty() || userNameBox.isEmpty() || passWordBox.isEmpty()) {\n Notification.show(\"Error, missing data!\");\n } else {\n Users newUser = new User...
e7be3be78d5236eb0f086ee8859bf262
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Customer is new, it will return an empty collection; or if this Customer has previously been saved, it will retrieve related PaymentItems from storage. This method is protected by default in order to...
[ { "docid": "c656a9f950a9c4d0d3a70f3081fb1360", "score": "0.57401043", "text": "protected List getPaymentItemsJoinCurrency(Criteria criteria)\n throws TorqueException\n {\n if (collPaymentItems == null)\n {\n if (isNew())\n {\n collP...
[ { "docid": "9cb4e264b5d76419ab8f7b8ab9b5e6ae", "score": "0.6537489", "text": "protected List getPaymentItemsJoinCustomer(Criteria criteria)\n throws TorqueException\n {\n if (collPaymentItems == null)\n {\n if (isNew())\n {\n collPa...
97faddc023ce4d1dcd2d54acf9feacc4
optional fixed64 xuid = 3;
[ { "docid": "85c209bc10c73c4efc08cbd29bd5d0be", "score": "0.62369347", "text": "public Builder setXuid(long value) {\n bitField0_ |= 0x00000004;\n xuid_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "837734d07db30de70ab9b9f531bdb8df", "score": "0.7403142", "text": "long getXuid();", "title": "" }, { "docid": "676853fc852bb1f2b29a4de0df79299d", "score": "0.70402145", "text": "public native long uid();", "title": "" }, { "docid": "be07319351491029f841ea6abba...
6e2a32af0f5078b4dad9259f30bfdc3c
Reads the cycles array and stores their name, place, and crashTime. These stored values are stored in arrays and are sorted based on their place.
[ { "docid": "affb29d2740d97b0a68a0c1fc885d149", "score": "0.6071908", "text": "public GameResultsData(Cycle[] cycles ){\n int dataSize = cycles.length + 1;\n\n mPlaces = new String[dataSize];\n mNames = new String[dataSize];\n mDurations = new String[dataSize];\n mWins ...
[ { "docid": "4becbf4cbd2594019e1368c6f5a9c66a", "score": "0.65763384", "text": "private void readCycleData( Cycle cycle ){\n int place = cycle.getPlace();\n int index = getPlaceIndex(place);\n\n mPlaces[index] = formatPlace(place);\n mNames[index] = cycle.getName();\n ...
326b55f6c815f6faa3ac314c23eca807
Returns a User object transformed from a user entity.
[ { "docid": "22fd590db897e7bed9505d2c5f8659d5", "score": "0.8117267", "text": "private User transformEntityToUser(Entity entity) {\n String email = (String) entity.getProperty(\"email\");\n String username = (String) entity.getProperty(\"username\");\n String bio = (String) entity.getProperty(\"...
[ { "docid": "5f857ecc841aa28053880f8b3a687fc3", "score": "0.7995751", "text": "@Override\n\tpublic User entityToUser(UserEntity entity) {\n\t\treturn new User(entity.getId(), entity.getName(), entity.getUsername(), entity.getGender(), entity.getPhoneno(), entity.getPassword(), entity.getRoles());\n\t}", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e3a1ee2d25d2bb72d60fd7f3d99dbec2", "score": "0.0", "text": "@Override\n public boolean onBackendResponse(MySQLSession session) throws IOException {\n return false;\n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
9b051c85f4b4b9edcac00210f462656f
Normal constructor (takes a Person)
[ { "docid": "78017ab32cff8affdfcf8f2f9776b66d", "score": "0.0", "text": "PyramidScheme(Person startElem, double rPrice, double pUp) {\n super(startElem);\n recruitPrice = rPrice;\n paidUp = pUp;\n while (paidUp > 1) {\n paidUp *= .01; //This will convert percentages...
[ { "docid": "658b54920e85f68234775d3b4af67a0b", "score": "0.8247417", "text": "public Person() {\n\t\n\t}", "title": "" }, { "docid": "783c9cec98f477a64a329741e1ac723e", "score": "0.82108486", "text": "public Person() {\n\t\t// nothing\n\t}", "title": "" }, { "docid": "c2d...
edfc84ac4cc33626513333d790014866
Creates the underlying database table.
[ { "docid": "f0c0098fc80a41afafb45e4a4cd978d1", "score": "0.0", "text": "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"'FORMA_PAGO_DET' (\" + //\n ...
[ { "docid": "9dbdd71b528a9a361ad53bf3329c4c42", "score": "0.8053783", "text": "CreateTable createCreateTable();", "title": "" }, { "docid": "5159e7178debecafe0a85f63dce477b8", "score": "0.7762821", "text": "protected abstract Table createTable();", "title": "" }, { "docid"...
7d97d877714c3ff04b796ac05de46b90
Instantiates a new base step dialog.
[ { "docid": "2a7c213ea29862af8152e2184fb528c9", "score": "0.52741474", "text": "public tripleGEOStepDialog(Shell parent, Object in, TransMeta transMeta, String sname) {\n\t\tsuper(parent, (BaseStepMeta)in, transMeta, sname);\n\t\tthis.input = ((tripleGEOStepMeta)in);\n\t\tthis.trans = transMeta;\n\t}", ...
[ { "docid": "5df0cd6689815f0a5a62239b14f33fe7", "score": "0.61389965", "text": "public Dialog()\n {\n fields = constructFields();\n dialogFlags = createDialogFlags();\n debugFlags = createDebugFlags();\n }", "title": "" }, { "docid": "9cf1dc8f479856f00d5707cdae...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "5f7da4b645aaa90c107e3c63b34f2802", "score": "0.0", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.winner, menu);\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "f7b4a566abea6cea746c19c84d9eea8b", "score": "0.72142", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.actionbar_items, menu);\n }", "title": "" }, { "docid": "501a577c0ff00ec1b56f13c07613a302", "...
153cbd25f891bbfae9752a7e9482118e
Performs actions necessary to prepare for execution of the current test (refer to the description of this method in the parent class).
[ { "docid": "792508d6cf2236b9bb2987fbfdcde38b", "score": "0.0", "text": "public Test construct(QAConfig sysConfig) throws Exception {\n super.construct(sysConfig);\n methodType = GET_DISCOVERED_LOCATORS;\n return this;\n }", "title": "" } ]
[ { "docid": "baa3b594e7dd160ebddd269600d95039", "score": "0.7439887", "text": "public void driveTestExecution()\n\t{\n\t\tstartUp();\n\t\tinitializeTestIterations();\n\t\tinitializeWebDriver();\n\t\tinitializeTestReport();\n\t\tinitializeDatatable();\n\t\tinitializeTestScript();\n\t\t\n\t\ttry {\n\t\t\tt...
f5b91fb2f714abc41a97e6c918242e26
Identical to &x60;UPDATE /snippets/encoded_id&x60;, except that this endpoint takes an explicit commit revision. Only the snippet&x27;s \"HEAD\"/\"tip\" (most recent) version can be updated and requests on all other, older revisions fail by returning a 405 status. Usage of this endpoint over the unrestricted &x60;/snip...
[ { "docid": "d5ec96e119ce4069e7bb6ae3c21e1cc4", "score": "0.5433665", "text": "@Test\n public void snippetsWorkspaceEncodedIdNodeIdPutTest() {\n String workspace = null;\n String encodedId = null;\n String nodeId = null;\n Snippet response = api.snippetsWorkspaceEncodedIdNo...
[ { "docid": "5cc653466e38334f033e95f6135d3b2d", "score": "0.6514994", "text": "@Test\n public void snippetsWorkspaceEncodedIdRevisionPatchGetTest() {\n String workspace = null;\n String encodedId = null;\n String revision = null;\n api.snippetsWorkspaceEncodedIdRevisionPatc...
9b01d576a1d40a2ae8061551a101e607
convert data type ArrayTupleImpl to data type set.
[ { "docid": "f66d324f5998e40117b81944040d9e15", "score": "0.6303954", "text": "public Set<RegionIdentifier> convertToSet(ArrayTupleImpl a) {\n Set<RegionIdentifier> set = new HashSet<RegionIdentifier>();\n int length = a.size();\n for (int i = 0; i < length; i++) {\n set.a...
[ { "docid": "06a045965ca22bc98c97ac8bad7b3d05", "score": "0.5725676", "text": "public EvalResult setFromArray(ArrayType ary) throws Exception {\n if (this.getBoundType() != ary.getBoundType()) {\n // XXX - Throw an error here because arrays must be homogenous.\n if ( ary.coer...
2addddd7d9b4ab37891c012bb88f2526
Media engine delegate register/unregister methods
[ { "docid": "3795dc3f4dc28505049048b233fe2136", "score": "0.5687746", "text": "public boolean registerMediaEngineDelegate(OPMediaEngine mediaEngine, OPMediaEngineDelegate delegate)\n\t{\n\t\tif (mediaEngine == null || delegate == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tif (mMediaEngine == null)\n...
[ { "docid": "c30a53e37fd58eb8803243ab940c848f", "score": "0.64333886", "text": "private MediaEngine() { }", "title": "" }, { "docid": "777ca89d812d6308d86fcd57da0437ce", "score": "0.6013362", "text": "public abstract void holdMediaSession();", "title": "" }, { "docid": "0a...
b9e02a5c0fa5c62d4ab45b44ede9fefa
Count the elements in the tree.
[ { "docid": "ea49d4864428885049026cc699a83583", "score": "0.0", "text": "private void countHelper(Node n) {\n\n if (n == null) {\n\n } else {\n if (n.key != null) {\n this.elements = this.elements + 1;\n countHelper(n.left);\n countHel...
[ { "docid": "170e77f23d153f6975201d9f62c42204", "score": "0.81118345", "text": "public int treeNodeCount();", "title": "" }, { "docid": "24c341a825b86561bf3457fcc72c7740", "score": "0.75926846", "text": "public int getNodeCount();", "title": "" }, { "docid": "0de34ee073734...
ad82ddfdca1a1db0e36d81984130cb83
Read values from sensors into arrays.
[ { "docid": "7cc51e4ac65bfb13d750e488da8499c4", "score": "0.51354146", "text": "private void updateSenorReadings() {\n \n maxIRActivation = 0;\n for (int j = 0; j < NB_INPUTS; j++) {\n states[j] = ps[j].getValue() - ps_offset[j] < 0 ? 0 : (ps[j].getValue() - (ps_offset[j]) / P...
[ { "docid": "c0eb41b1cd488da86e4dd89ddd66d2a0", "score": "0.7338721", "text": "public void readValues() { \r\n \t\r\n \ti_IRBucketSensor = ana_IRBucketSensor.getAverageValue();\r\n \ti_StringPotentiometerWedge = ana_StringPotentiometerWedge.getAverageValue();\r\n \ti_SonicFrontSensor = this...
4032a7190ad7e101e855252be5f53944
Created by gonglei on 16/3/15.
[ { "docid": "3fb7187b253d6bfb2c264463161420e0", "score": "0.0", "text": "public interface CommentDao extends JpaRepository<Comment, Integer>, JpaSpecificationExecutor<Comment> {\n}", "title": "" } ]
[ { "docid": "88ecb62c7a1a93131fb72fdf892b6e96", "score": "0.5957112", "text": "public void mo18969b() {\n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.5926573", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { ...
b2c8872458fe55e69a53d3572df5cf3a
Returns the hostmonitoring information for a Host between starTime and endTime
[ { "docid": "d70586a0fea97cbd6f39fecb592fd363", "score": "0.7323098", "text": "public List<HostMonitoring> getHostMonitoringStatus(Testbed testbed, String hostname, long startTime, long endTime);", "title": "" } ]
[ { "docid": "a02495e9fb9ee5de29bf408760dd9eb9", "score": "0.6062984", "text": "public HostMonitoring getHostMonitoringStatus(Testbed testbed, String hostname);", "title": "" }, { "docid": "8f9ee138333af1954a7a1b44fbae43aa", "score": "0.54363936", "text": "public interface hostInfoOper...
9b1da2adfa2eb469857c9c072182cbaa
Generates a fresh context with the given label for the current user and time.
[ { "docid": "2d78d8be2d093189d4bad89481231c8e", "score": "0.6161684", "text": "public static Context getFreshUserContext( ContextLabel contextLabel )\n\t{\n\t\treturn getFreshUserContextWithURI(null, contextLabel);\n\t}", "title": "" } ]
[ { "docid": "58aa782ea8d3a2628aad7e851fe62748", "score": "0.5145581", "text": "public static Context getFreshUserContextWithURI(URI contextUri, ContextLabel contextLabel ) \n\t{\t\t\t\n\t\tlong timestamp = getContextTimestampSafe();\n\t\tURI source = EndpointImpl.api().getUserURI();\n\t\t\t\n\t\tif (con...
b08f7edc3e647d63573ea60b777e4ae0
Once a player selected game, we need to display competitors
[ { "docid": "6d38ffaf0d22956a08506f3f9ba4d45f", "score": "0.0", "text": "private void fillInGameMap(Game selectedItem) {\n athleteGameMap.clear();\n tblViewGame.getItems().clear();\n HashMap<Athlete, Integer> map = (HashMap<Athlete, Integer>) selectedItem.getAthleteTimes();\n ...
[ { "docid": "00992a20578416f5853e3d5e587c8b45", "score": "0.70628965", "text": "private void chooseOpponent() {\n //identifies the opponent that was selected\n int opponent_index = 0;\n for (Opponents i : opponents) {\n if (name_label.getText().substring(name_label.getText...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "b43832b81ae25e9051a78b1ca7d6e6e4", "score": "0.0", "text": "int mo7628a();", "title": "" } ]
[ { "docid": "6e7d19f90dff629712933844b194e213", "score": "0.62741643", "text": "interface xb {\n /* renamed from: a */\n void mo3338a(String str);\n}", "title": "" }, { "docid": "dfc8884398507d7a30967d7ad7e44432", "score": "0.62433356", "text": "interface C11843b {\n /* r...
3c96aad1f164c09a50f286f8d2d29b27
Set the service property: The name of the service.
[ { "docid": "e198838ee1cd6e576d13cece35605c10", "score": "0.0", "text": "public ManagedProxyRequest withService(String service) {\n this.service = service;\n return this;\n }", "title": "" } ]
[ { "docid": "802e03ae1292776d0bf5c0df0eac7f45", "score": "0.8077799", "text": "public void setService(java.lang.String service) {\r\n this.service = service;\r\n }", "title": "" }, { "docid": "451dc34f74a3fa74e69774dfaa46d1ba", "score": "0.79204726", "text": "public void set...
ca5868af10b1995cb6a63c888b63929e
/Socket soc = new Socket("127.0.0.1", 9081); PrintWriter nos = new PrintWriter( new BufferedWriter( new OutputStreamWriter( soc.getOutputStream() ) ), true );
[ { "docid": "865f9716d93a508dbb194433a6c00a14", "score": "0.0", "text": "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n System.out.println(\"Enter 2 prime numbers\");\n int p = sc.nextInt();\n int q = sc.nextInt();\n i...
[ { "docid": "11275be34ae37e9579489459913564ce", "score": "0.6380887", "text": "boolean open(String host, Integer port) throws Exception\n{\n m_clientSocket = new Socket(host, port);\n m_outputStream = new DataOutputStream(m_clientSocket.getOutputStream());\n\n return true;\n}", "...
0a4377107f69af413c7806d03b8c79cd
Check to see if correct book TODO: Check the book Add the book
[ { "docid": "b6a124f99ca70a33e41e416cca53b48a", "score": "0.0", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n \tSystem.out.println(\"This is the txt_ibsn: \" + txt_isbn.getText());\n \tlibrary.addBook(new Book(txt_isbn.getText(), txt_title.getText(),...
[ { "docid": "ddb4b63bf92ae05a111eaf7e5872cace", "score": "0.7082853", "text": "private void addBook() {\n\t\ttry {\n\t\t\t// Create locals variables from form field data.\n\t\t\tString isbn = txtISBN.getText();\n\t\t\tString title = txtTitle.getText();\n\t\t\tString author = txtAuthor.getText();\n\t\t\tS...
70bf3b459dd37e643e2eeeabcd1d7a3a
/ renamed from: i
[ { "docid": "5bbdef67eaa810634d362355b77b7a24", "score": "0.0", "text": "public int mo1178i() {\n if (this.f938ea == 8) {\n return 0;\n }\n return this.f912I;\n }", "title": "" } ]
[ { "docid": "511d7ac3187d729ee99f0f409c5fb683", "score": "0.7642266", "text": "private static int idxof(int i) {\n return i;\n }", "title": "" }, { "docid": "a2fa262fae5242c80cd70fa4d57a3423", "score": "0.6998465", "text": "void mo7522wC(int i);", "title": "" }, { ...
eef5ee1e2c7622a1bcd7fc41d4575a51
This method was generated by MyBatis Generator. This method sets the value of the database column FASAST.TRX_DEPT_CODE
[ { "docid": "169c71befe9682d64dd7f0aae53120b7", "score": "0.72717386", "text": "public void setTRX_DEPT_CODE(BigDecimal TRX_DEPT_CODE) {\r\n this.TRX_DEPT_CODE = TRX_DEPT_CODE;\r\n }", "title": "" } ]
[ { "docid": "228183acf2b85df5213a507120a249b8", "score": "0.6713303", "text": "public BigDecimal getTRX_DEPT_CODE() {\r\n return TRX_DEPT_CODE;\r\n }", "title": "" }, { "docid": "c08600491f613e0961c46ce1c45bc3fe", "score": "0.6698181", "text": "public void setDeptcode(String...
4a1f1f40bf4ee06e314b560b3d1b3e80
/private static SessionFactory sessionFactory; private static ServiceRegistry serviceRegistry;
[ { "docid": "344ad108fd974b3c638bd67e2c89d7b5", "score": "0.58748513", "text": "@BeforeClass\r\n\tpublic static void before(){\r\n\t\t/*Configuration configuration = new Configuration().configure();\r\n\t\tserviceRegistry = new ServiceRegistryBuilder().applySettings(configuration.getProperties())\r\n\t\t...
[ { "docid": "9d528cb369735204f75216bc33a29b91", "score": "0.7092688", "text": "public SessionService createSessionService();", "title": "" }, { "docid": "a89a025771c85ffc24f14598e07cd2db", "score": "0.7049957", "text": "private SessionFactoryUtil() {\r\n\t\tif(sessionFactory==null){\r...
f71765b625b3f4eec0bef37ca1a6ec76
Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
[ { "docid": "ea18e3a59d7d2cc099aa036a21904831", "score": "0.0", "text": "public boolean hitEntity(ItemStack var1, EntityLiving var2, EntityLiving var3)\r\n {\r\n var1.damageItem(2, var3);\r\n return true;\r\n }", "title": "" } ]
[ { "docid": "c02ce26626232a047eb8a4f9486da0bb", "score": "0.6393315", "text": "public static void takeDamage() {\n\n\t}", "title": "" }, { "docid": "8902191344ceac37bc6f9a3c44a0776a", "score": "0.62727183", "text": "@Override\n public void takeHit(float damage) {\n }", "titl...
aac15b8d8b2546b8dcfe57628a1a0146
/ private int red; private int green;
[ { "docid": "75453afe653286653d896a6d4dacccec", "score": "0.0", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_check_ticket_ofline);\n overridePendingTransition(android.R.anim.fade_...
[ { "docid": "93bd616ce858cf4860cb29ae9101b378", "score": "0.7620256", "text": "public int getRed() { return red; }", "title": "" }, { "docid": "1db5edb129922741590ddb00c22766ea", "score": "0.74489", "text": "public Color getColor(){ return this.color; }", "title": "" }, { ...
3af5f9e466d6ccdd6e39028b92ea45d3
Determines the animal speak
[ { "docid": "5268c4ba7b96f112e2084ef5139e56e0", "score": "0.6213418", "text": "@Override\n public void speak() {\n System.out.printf(\"I'm %s. I'm an Emu!\", this.name);\n }", "title": "" } ]
[ { "docid": "c48ae7a2279587441d5572eab75c50d6", "score": "0.7255226", "text": "public String speak() {\n\t\tString speak;\n\t\tif(indoor) {\n\t\t\tspeak = \"meow-purr\";\n\t\t}else {\n\t\t\tspeak = \"MEOW-hiss\";\n\t\t}\n\t\treturn speak;\n\t}", "title": "" }, { "docid": "a9ecbca2af6dbbda4154...
005f027044d09fa4cb4008e11aab2dcf
Used to delete a survey response from the database.
[ { "docid": "ca18830c4ae1b6ef12853462bd856236", "score": "0.5369478", "text": "public void destroy(Long id) throws NonexistentEntityException {\n try {\n em.getTransaction().begin();\n SurveyResponses surveyResponses;\n try {\n surveyResponses = em.g...
[ { "docid": "085d334221e181daea20daf25813534a", "score": "0.69077766", "text": "public void deleteSurvey(SurveyEntity survey) {\n\t\tEntityManager em = factory.createEntityManager();\n\t\t em.getTransaction( ).begin( );\n\t //em.createNativeQuery(\"DELETE FROM Surveys where id=\"+surveyId);\n\t\t...
01e2b26cf6b6b5720fda51e1e12c61cd
converts feet into miles and rounds it up to 2 decimal places
[ { "docid": "440aabc16db32de18e470d00f90e0858", "score": "0.5165412", "text": "public String getDistanceInString(){\n if(distance == null) return \"na\";\n double miles = Math.round(distance * 0.00018939 * 100.0)/100.0;\n if(miles < 0.1){\n return String.valueOf(Math.round...
[ { "docid": "c170145ed6f01bf5715dc7248276b168", "score": "0.74036056", "text": "private int convertToMeters(int miles) {\n return miles * 1609;\n }", "title": "" }, { "docid": "41a15cabd0a21cfd76422ea0c53b7eea", "score": "0.7022714", "text": "public static double asMiles(fin...
d9f6c22571ebe78db23922af89337588
Replaces once the variables found in the text by its corresponding value in the collection. Note: All the parameters of type Object will be converted to String. For more examples, see the Junit tests (StringCookerTest) This method is equivalent to replaceCollection(text, variable, _startIndex, withCollection,1);
[ { "docid": "ef6ea9629a3aa99ef107f334b51babce", "score": "0.7821923", "text": "public static String replaceFirstCollection(Object text, String variable,\r\n\t\t\tint _startIndex, Collection withCollection) {\r\n\t\treturn replaceCollection(text, variable, _startIndex, withCollection, 1);\r\n\r\n\t}", ...
[ { "docid": "5db348bee64ae66a89095eaa9630630b", "score": "0.8394045", "text": "public static String replaceAllCollection(Object text, String variable,\r\n\t\t\tint _startIndex, Collection withCollection) {\r\n\t\tif (_startIndex == -1)\r\n\t\t\tthrow new RuntimeException(\"the start index must be positiv...
20b878caf1135442203ac6d297dc4281
Start QUIC server on local host.
[ { "docid": "c889c4874ece3a8c8d081f230229a365", "score": "0.5937545", "text": "public static int startQuicServer() {\n return nativeStartQuicServer();\n }", "title": "" } ]
[ { "docid": "dbfcdc9c91a33173e1329c3eae6dd3e5", "score": "0.58304036", "text": "private void start() throws IOException {\n server = ServerBuilder.forPort(port)\n .addService(new EchoImpl())\n .build()\n .start();\n\n System.out.println(\"Server running ...\");\n Runtime.get...
6bfa8c23b203a35a20f267bb576c69b6
base condition check if array is null
[ { "docid": "d6094473c78f78d4d81a8b4ec76672cb", "score": "0.0", "text": "public static void minmax(int []nums){\n if(nums== null || nums.length<1)\n return;\n\n int min ,max;\n //initialized two variables\n\n //in case array has just one element in it\n if(nu...
[ { "docid": "4882196cf2581f4e2d6ef990fb12b13e", "score": "0.6643408", "text": "public static boolean isNotNullAndEmpty(byte[] array) {\n \treturn array!=null && array.length>0;\n }", "title": "" }, { "docid": "a03c44e473f063d6f8574205d69dca0d", "score": "0.66193914", "te...
1862cd773ecd1f7e4d2260413b8e91bc
Advice that logs methods throwing exceptions.
[ { "docid": "0d18a7b13fc76003e04807c71492ba47", "score": "0.51907414", "text": "@AfterThrowing(pointcut = \"errorPointcut()\", throwing = \"e\")\n public void logAfterThrowing(JoinPoint joinPoint, Throwable e) {\n log.error(\"Exception in {}.{}({}) with cause = {}\", joinPoint.getSignature().ge...
[ { "docid": "9ce21544a6aba49aaa2425430d1872bb", "score": "0.67176944", "text": "@AfterThrowing(pointcut = \"controllerClassMethods()\", throwing = \"exception\")\n\tpublic void logAfterThrowingCall(JoinPoint joinPoint, SPFException exception) throws Throwable {\n\t\tSystem.out.println(\"-----------------...
ab6943482b5b85f962e8e4674ee89971
end method Add New ability to the database
[ { "docid": "8a37d45fdc3e1ffb780b71eae2b55020", "score": "0.5490302", "text": "public void addAbility(String ability_name, String level,\n\t\t\tString stat_bonus, String features, String damage,\n\t\t\tString spell_slots, String spell_casting_stat, String class_name) {\n\t\ttry {\n\t\t\t// Do something w...
[ { "docid": "98f05015824032b79262eec5838e9a7d", "score": "0.6468188", "text": "@Override\n public void addToDatabase() {}", "title": "" }, { "docid": "caf170e636818575f37a881fad7f5060", "score": "0.632646", "text": "@Override\n\tpublic void createAbility(Ability ability) {\n\t\tSes...
fb00c0087074ac01b1ec21c3b7a0aacc
index when client request"/index.html",server return index.html
[ { "docid": "4198523476bdd016acec40566d45d826", "score": "0.6721404", "text": "@CrossOrigin\n @RequestMapping(value = \"/index.html\")\n public ModelAndView index(){\n System.out.println(\"/index\");\n ModelAndView mv = new ModelAndView(\"index\");\n\n return mv;\n }", "...
[ { "docid": "e0a1325156bdd0413e24ee65b7fa359e", "score": "0.7510845", "text": "@GetMapping(path = {\"/\", \"/login\", \"/label\", \"/settings\", \"/admin\", \"/home\" })\n public String index() {\n return \"forward:index.html\";\n }", "title": "" }, { "docid": "92a24590a466652eb6...
07c6caf144ffa7c15d3c6a1fe4e62221
This method was generated by MyBatis Generator. This method sets the value of the database column bjwg_my_coupon_use.can_use_money
[ { "docid": "127180c31e74ad4771ed408139985f8c", "score": "0.7592662", "text": "public void setCanUseMoney(BigDecimal canUseMoney) {\r\n this.canUseMoney = canUseMoney;\r\n }", "title": "" } ]
[ { "docid": "4991fd9e1eb553aa9fc401f2d7650f1b", "score": "0.6893653", "text": "public void setUseMoney(BigDecimal useMoney) {\r\n this.useMoney = useMoney;\r\n }", "title": "" }, { "docid": "e3af5bc2a7f6e2ebfab8fb0d2a361d29", "score": "0.6699266", "text": "public BigDecimal ...
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": "800a63b0960d74614ffe4892a7fb3c8b", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jFormat...
[ { "docid": "5f8540ed063cf75672e07098d5395e1e", "score": "0.76988506", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n\n }", "title": "" }, { "docid": "4837a419ef51215909345e93ff8d7eb0", "score": "0.7681747", "text": "private void initComponents () {//GEN-BEGIN...
43f8962dd1c958f7747107a75baf134b
Signals the the player has chosen a certain private objective card.
[ { "docid": "47ffa2506e14c39750d5fa063491e616", "score": "0.7455304", "text": "void userChoosePrivateObjectiveCard(String token, PrivateObjectiveCard privateObjectiveCard) throws InvalidActionException;", "title": "" } ]
[ { "docid": "fb8b6ee1ab9e5b0eb4eb863db9a81479", "score": "0.5759725", "text": "void payPenalty (FieldCard card, Player opponent) {\n //subtract penalty from player's resources\n int newRes = activePlayer.getResources() - card.getPenalty();\n activePlayer.setResources(newRes);\n ...
739804d25e928667986247180d6d954d
run time permission check here
[ { "docid": "169380e72b8a70a3609e54845b3543e5", "score": "0.0", "text": "public int checkPermissions(String[] permissions){\n int permissionNeeded = 0;\n if(Build.VERSION.SDK_INT >= 23){\n for(int i = 0; i < permissions.length; i++){\n int result = ContextCompat.ch...
[ { "docid": "fd661cd10e876421e75b1469a81d3f66", "score": "0.8562709", "text": "protected void checkPermission() {\n\t\t\n\t}", "title": "" }, { "docid": "1623daca475379543fbdd3acb59f6f03", "score": "0.7730159", "text": "private void permissionsTool() {\n }", "title": "" }, ...
3937475559997a4bbcd171b4e4587894
Instantiates a new Menu.
[ { "docid": "d11ddcbe3a348790f2bd01ba2562634a", "score": "0.0", "text": "public Menu(String name, MenuClick menuClick, ItemStack borderCorners, ItemStack borderSides) {\n this(name, -1, new ClickEvent() {\n @Override\n public void click() {\n menuClick.click(th...
[ { "docid": "e466d4219ce4e149aa8589c326502cc1", "score": "0.83856744", "text": "public Menu(){}", "title": "" }, { "docid": "7a2c9c0f169c68d23e48a111663e63f0", "score": "0.77808654", "text": "public MenuItem() {\r\n // init();\r\n }", "title": "" }, { "docid": "d...
5f1beb4c7c4706a3439b749371a26724
Unregister a listener from this Service.
[ { "docid": "caa256a987a6ca2fbac3ccae0f3a0762", "score": "0.7284965", "text": "public void unregisterListener(VpnStateListener listener)\n\t{\n\t\tmListeners.remove(listener);\n\t}", "title": "" } ]
[ { "docid": "675a0df26e7aa4019809bf3c3cd1ae49", "score": "0.82282114", "text": "public void unregisterListener() {\n\t\tthis.listener = null;\n\t}", "title": "" }, { "docid": "31e6ace7214eaf28cfb44ccc1c5eca56", "score": "0.7837237", "text": "public void unregister(IMessageListener lis...
86bf6cc78cb17970135ad7d05de4b89c
The username and password are always null after this method returns.
[ { "docid": "3a5a18f34b66b293e6f7e0048c597996", "score": "0.0", "text": "@Override\n\tpublic final Subject login() throws LoginException\n\t{\n\t\tif (username == null || password == null)\n\t\t\tthrow new LoginException(\"Insufficient information to login\");\n\t\tSubject subject = getSubject(username, ...
[ { "docid": "a5779bdfb8ab3324d1b57013fd2969a7", "score": "0.7505119", "text": "public Login() {\r\n this.username=\"\";\r\n this.password=\"\";\r\n }", "title": "" }, { "docid": "192d6a25ed91aac7a1ef8c117d1023c2", "score": "0.7427433", "text": "protected void login() ...
c6925abbdd343bdcedf6f17eb596937e
This method was generated by MyBatis Generator. This method corresponds to the database table tl_school_homework_return
[ { "docid": "fd68b51a2f4199e596f1902d910ab2db", "score": "0.6402148", "text": "HomeworkReturn selectByPrimaryKey(Integer homeworkReturnId);", "title": "" } ]
[ { "docid": "6486ccabd55886932bec74b98f881d11", "score": "0.5826757", "text": "List<HomeworkReturn> selectAll();", "title": "" }, { "docid": "171220a13d63ec553a4414ec728a22cc", "score": "0.5711243", "text": "com.felania.msldb.BattleEndResultTypeOuterClass.BattleEndResultType getResult...
b6a2c818d3a043d806dcc836de27bcf1
Gets the firstName value for this AlcForwardState.
[ { "docid": "a1f27623bb0b1583475f9c3b38d1034d", "score": "0.80380255", "text": "public java.lang.String getFirstName() {\r\n return firstName;\r\n }", "title": "" } ]
[ { "docid": "e408f035899d17e5cf91bff480e6fd3e", "score": "0.8250593", "text": "public final String getFirstName() {\r\n\t\treturn firstName;\r\n\t}", "title": "" }, { "docid": "5feabffbcaac49840e2e58fc42744f55", "score": "0.82469857", "text": "public final String getFirstName() {\n\t\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cc4b2ef955cb34b3cb82158366f2126e", "score": "0.0", "text": "@Override\n\tpublic List<PlanVO> findbyCampId(Integer campId) {\n\t\tList<PlanVO> planlist = new ArrayList<PlanVO>();\n\t\tPlanVO planVO = null;\n\t\tConnection con = null;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = nu...
[ { "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": "" }, ...
7d87918a56155ed129d70c3719e41fb7
Toggle the sate of a role return the new value of the toggle or null if its not a togglable role
[ { "docid": "cc096647065976a9d2ff0ab0ab4c65e3", "score": "0.74248934", "text": "@Override\n\tpublic Boolean toggleRole(String name){\n\t\tif( toggle_map == null ){\n\t\t\tsetupToggleMap();\n\t\t}\n\t\tBoolean v = toggle_map.get(name);\n\t\tif( v != null ){\n\t\t\tv = Boolean.valueOf(! v);\n\t\t toggle_...
[ { "docid": "d5d1c7229013fc83d74af87ee11bacac", "score": "0.72946537", "text": "@Override\n\tpublic final Boolean getToggle(String role){\n\t\tif( ! apply_toggle ) {\n\t\t\treturn null;\n\t\t}\n\t\tif( toggle_map == null ){\n\t\t\tsetupToggleMap();\n\t\t\tif( toggle_map == null){\n\t\t\t\treturn null;\n\...
e56d983c50997af984b2810b5d47b652
Instantiates a new limited real distribution.
[ { "docid": "081df41f7869ae7dee2fe0639883ef03", "score": "0.6817043", "text": "public LimitedRealDistribution(\r\n final AbstractRealDistribution paramDistribution,\r\n final double paramMin, final double paramMax) {\r\n if (paramMax <= paramMin) {\r\n throw new Ru...
[ { "docid": "4b9d50a0a64ea02f375cc680bd1dd126", "score": "0.6009555", "text": "public UniformDistr(double min, double max) {\n\t\tif (min >= max) {\n\t\t\tthrow new IllegalArgumentException(\"Maximum must be greater than the minimum.\");\n\t\t}\n\t\tnumGen = new Random();\n\t\tmag = max - min;\n\t\tthis....
256611f0b928f799d187ec776b4009e7
as we use our reconnection system, this shouldn't be called
[ { "docid": "82635edf9fcee181997493bc02b9941e", "score": "0.68874", "text": "@Override\n \tpublic void reconnectingIn(int arg0) {\n \t}", "title": "" } ]
[ { "docid": "ff909e1dd4dda3b845fcdb2e2528adf1", "score": "0.7829478", "text": "@Override\n \tpublic void reconnectionSuccessful() {\n \t}", "title": "" }, { "docid": "661038330832e899e30166904afa9daa", "score": "0.7480279", "text": "public void reconnected() { }", "title": "" },...
43255afc5dacb4bed077211b279b6c89
The Product subcategory covers the responsibility of a company for the development, design, and management of its products and services. This subcategory reflects a company&39;s capacity to reduce environmental costs, create new market opportunities, and produce or market goods and services that enhance the health and ...
[ { "docid": "f98e16092fd17401862a3f73cc4a8ee9", "score": "0.5949351", "text": "@ApiModelProperty(value = \"The Product subcategory covers the responsibility of a company for the development, design, and management of its products and services. This subcategory reflects a company's capacity to reduce envi...
[ { "docid": "db5efbe907a974d78fff182de8024d02", "score": "0.6226228", "text": "private void modifyProduct () {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1c5bfa4f1884115ab75037c2933f6fae", "score": "0.61269534", "text": "ProductFeatureCategory createProductFeatureCategory();", "t...
00bdb2e44ab9944d5c085dc92b464ca5
Create a generator at location.
[ { "docid": "3c6c7d033aaeabec442de6c42a6e818a", "score": "0.71069765", "text": "public Generator createGenerator(Location location, GeneratorPreset preset) {\n Generator generator = new Generator(location);\n cache.add(generator);\n return generator;\n }", "title": "" } ]
[ { "docid": "db50f8fb024ea560877b292d3173bcbc", "score": "0.6473825", "text": "private RandomLocationGen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a235ee4d8e736cd0c76d4cb6cebbdd09", "score": "0.61367935", "text": "public interface LocationsGenerator {\n /**\n * Should generate...
a450f18805ab019fbdc0c65093c67a96
static final String SERVERPORT = "80";
[ { "docid": "d14fc4dad4aac1f56501198ecd961d34", "score": "0.0", "text": "public static void main(String[] args) {\r\n boolean skip = false;\r\n ArrayList<String> passedTests = new ArrayList<String>();\r\n ArrayList<String> failedTests = new ArrayList<String>();\r\n\t \r\n t...
[ { "docid": "d19cb4711a035398d0ffb7d9f7bbfaff", "score": "0.8066498", "text": "public Server(){ this.port = 80; }", "title": "" }, { "docid": "cd70bfb2f8d342e19bd971b80d257a1c", "score": "0.77357626", "text": "int getServerPort();", "title": "" }, { "docid": "0b80b38ea0b8c...