query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
ac1c6e16755734347eabcc2f0bc506d6
Creates a new instance of HexBinarySG.
[ { "docid": "d364ee032cd5b20aec7867d0cca3274f", "score": "0.67498547", "text": "public HexBinarySG(SGFactory pFactory, SchemaSG pSchema, XSType pType) throws SAXException {\r\n super(pFactory, pSchema, pType);\r\n }", "title": "" } ]
[ { "docid": "8a76b3b72656e96761ef5f7736da2e37", "score": "0.61916596", "text": "BSG createBSG();", "title": "" }, { "docid": "abc6a07f3c43918fc7924d5ee55dbf99", "score": "0.58763206", "text": "GSMX createGSMX();", "title": "" }, { "docid": "128c9d96a56b958ddf03f470497cb9f9...
afbd48d5666ef1ee1f69737911345033
sets p, i, and d terms
[ { "docid": "83d39fc2ebd3dd9ac26d3206661305c6", "score": "0.6045292", "text": "public void setTuning(double pterm, double iterm, double dterm) {\n\t\tthis.pterm = pterm;\r\n\t\tthis.iterm = iterm;\r\n\t\tthis.dterm = dterm;\r\n\t}", "title": "" } ]
[ { "docid": "e0d576b88b18064534830cb9f97014b3", "score": "0.6908124", "text": "public void set(int i, double p) {\n\t\tpot.put(i, p);\n\t\tz += p;\n\t}", "title": "" }, { "docid": "60cc2ba9e03edeed757348f98c2fd381", "score": "0.6663307", "text": "public void setPID(double p, double i,...
1822121dca0bf33f2e942991a4aa57eb
Get instance of the class. implements the singleton design pattern.
[ { "docid": "21f298a1caf64d2cb46df710eb605b05", "score": "0.0", "text": "public static NotificationsManager getInstance(Context context) {\n\t\tif (instance == null) {\n\t\t\tinstance = new NotificationsManager(context);\n\t\t}\n\t\treturn instance;\n\t}", "title": "" } ]
[ { "docid": "e13f7be8a6a479dfb87dbd6c277ed4c4", "score": "0.82681376", "text": "public static SingletonClass getInstance(){\n return instance;\n }", "title": "" }, { "docid": "c9e4437e9897e7ccb9a99198c29ccd9d", "score": "0.8108036", "text": "public static SingletonClass getI...
2df6a62a773d17b427815cec7a4ee36d
Setter du login de l'utilisateur modifiant l'Element noeud correspondant
[ { "docid": "074ee4d8b3cc1c7484c3c4a438960507", "score": "0.63351196", "text": "public void setLogin(String login){\r\n\t\tif (this.getNode() != null) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.getNode().getChild(\"login\").setText(login);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tSystem.out.println(\"login fiel...
[ { "docid": "9749f22fa8e9aa801b621a420a6ede40", "score": "0.72077096", "text": "public void setUsuLogin(String pUsuLogin){\n this.usuLogin = pUsuLogin;\n }", "title": "" }, { "docid": "3ac678b3c6a2d73cd9c5abad46c14b4e", "score": "0.7187914", "text": "public void SetUsuario()...
c4af05349da641af9b6c9135451a75cc
Count how many items are in the Images Uri from Realtime database
[ { "docid": "4be87e9fc1fc96f550e54d6962191930", "score": "0.0", "text": "@Override\n public int getCount() {\n //slider view count could be dynamic size\n return mSliderItems.size();\n }", "title": "" } ]
[ { "docid": "d7a888bda34c8435738bbf33475c2aa5", "score": "0.7416468", "text": "int getCount(URI uri);", "title": "" }, { "docid": "3abeb3d0cc597bbef5c046066637c752", "score": "0.73405695", "text": "public int getCount() { return this.myRemoteImages.length; }", "title": "" }, {...
3082fda51eee27f3c4f2720dbdc03f3a
Setters Reinitialise l'achat de chaque ville a false.
[ { "docid": "a19fcfea8bbdae4edcd935844595f5e1", "score": "0.6526957", "text": "public void reset() {\n for (AbstractVille v : villes)\n v.setAchete(false);\n }", "title": "" } ]
[ { "docid": "a2d53924e3b590313246938317f38e34", "score": "0.6758776", "text": "static void setPauza(boolean pauza) {Pauza = pauza;}", "title": "" }, { "docid": "89b0b8c253fe2f18b4f1c0c9ebb5758f", "score": "0.67343986", "text": "public void setEnMarche(boolean b);", "title": "" }...
486063251488ff656561a93e35d8c08c
/ Convert s to UTF8
[ { "docid": "486a70ef96c68b813fb92a178e91399d", "score": "0.73967266", "text": "private static byte[] toUTF8(String s) throws CharacterCodingException {\r\n ByteBuffer out;\r\n byte[] b;\r\n out = Charset.forName(\"UTF-8\").newEncoder().encode(CharBuffer.wrap(s.toCharArray()));\r\n ...
[ { "docid": "a10757c8aec1f3cacad7a2b696390dd0", "score": "0.681702", "text": "public static String unicodeStringToString(String s) {\n StringBuffer sb = new StringBuffer(s.length() * 6);\n for (int i = 0; i < s.length(); i++) {\n sb.append(unicodeCodepointToString(s.charAt(i), fa...
e3e88721d19a7cb67eefb61e7357db1e
This method was generated by MyBatis Generator. This method returns the value of the database column bs_static_data.STATE
[ { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.58357453", "text": "public String getState() {\n return state;\n }", "title": "" } ]
[ { "docid": "476bdb6d16f5c6f597f23c3d4fdc3f58", "score": "0.6054867", "text": "public int getState() {\n\t\treturn MY_STATE;\n\t}", "title": "" }, { "docid": "af7123009b08118297c75c4cd534d5c7", "score": "0.60283685", "text": "Template.stateType getState();", "title": "" }, { ...
ae54485cd222539f9585dec5669fd50f
.dstore.values.IntegerValue unit_id = 4;
[ { "docid": "c772a1b0b60eb844d4d7391dab49b768", "score": "0.7976187", "text": "io.dstore.values.IntegerValue getUnitId();", "title": "" } ]
[ { "docid": "e7f0d50df4be40e90c6038a35e253209", "score": "0.697792", "text": "io.dstore.values.IntegerValueOrBuilder getUnitIdOrBuilder();", "title": "" }, { "docid": "ff3512bc80466536230387d41e0f01e1", "score": "0.6566449", "text": "public void setM_Warehouse_ID (int M_Warehouse_ID)\...
0cdf9c76b50c9c6f3c832eec5586b3d8
Set the value for the ith parameter
[ { "docid": "f51a9e66a1130ed38c24d8c75e546a74", "score": "0.7328341", "text": "@Override\n public void setParamValue(int i, Object value) {\n _values[i] = value;\n }", "title": "" } ]
[ { "docid": "03cbba05461d816839365646b82f56f5", "score": "0.7177119", "text": "public void setValue(int i) {\n\t\tthis.value = i;\n\t}", "title": "" }, { "docid": "d37276b6f27b557cdf827e3716a45161", "score": "0.7165854", "text": "public void setValue(int value) { this.value = value; }...
89b3f4e20f82a333620985dc1ca502b9
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
[ { "docid": "d930488ca23f6352e25f6aecc8dd9b2c", "score": "0.0", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getDBClusterIdentifier() != null)\n sb.append(\"DBClusterIdentifier: \").append(getDBClust...
[ { "docid": "beb593453fb7027ed2da5dc30f1c5cba", "score": "0.80488414", "text": "public final String toString() {\n\t\t\n\t\treturn format(this);\n\t}", "title": "" }, { "docid": "71b29fb5d7ec15420b2bbd6f91587148", "score": "0.8034775", "text": "@Override\n public String toString() ...
b4307377e6e5c818a30f32f50c597ce3
Use when running code on another thread that may not
[ { "docid": "b2a78569702469a7c825e2f912eeddd5", "score": "0.0", "text": "protected void wrapAsyncTest(long latchTimeout,\n\t TimeUnit timeUnit,\n\t CountDownLatch latch,\n\t LatchRunner beforeLatchAwait,\n\t ...
[ { "docid": "c71c73ccfc4da288531963e1225b9b90", "score": "0.65774465", "text": "public void testInvokationIsOnADifferentThread() {}", "title": "" }, { "docid": "9a83d37ba71b05610266b0aa42bfe1f2", "score": "0.65505254", "text": "@Override\n public boolean requireSingleThreaded() {\n...
871b077ec249ec299d6fd59ed6debe86
get the flavor of the Pringles
[ { "docid": "51e1f62cf03e2152093a227f25914780", "score": "0.7060832", "text": "public String getFlavor() {\r\n\t\treturn flavor;\r\n\t}", "title": "" } ]
[ { "docid": "074e3018cc9e8214e3a741c5721678bb", "score": "0.6607337", "text": "public String getFlavor() {\n return iceCreamFlavor;\n }", "title": "" }, { "docid": "91b1b6aef6e85538ff0c5754ac33b4ff", "score": "0.65787065", "text": "Flavor getFlavor();", "title": "" }, ...
d5c95df2741d1f933c1c575aa6420980
Gets array of all "Breaklines" elements
[ { "docid": "b731b00064aeaa73e40c32df049238c0", "score": "0.8063459", "text": "public org.landxml.schema.landXML11.BreaklinesDocument.Breaklines[] getBreaklinesArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.L...
[ { "docid": "159ca336cdcd7f55c65d1cbe5e7c1460", "score": "0.70564276", "text": "public java.util.List<org.landxml.schema.landXML11.BreaklinesDocument.Breaklines> getBreaklinesList()\r\n {\r\n final class BreaklinesList extends java.util.AbstractList<org.landxml.schema.landXML11.Breaklin...
de87ef0a282cfa5eb73dd20efde2cac4
A class function that will shuffle our deck(s)
[ { "docid": "908b7435398e7f9ebd1ac6ea5f9fa50a", "score": "0.80605584", "text": "void shuffle() { \r\n\t\t// Our random number generator\r\n\t\tRandom randomGenerator = new Random();\r\n\t\t// Shuffle 300,000 times to ensure a good shuffle!\r\n\t\tfor (int shuffle=0; shuffle < 300000; shuffle++) {\r\n\t\t...
[ { "docid": "41a2a431ed45e0fef80be0cdc49f2269", "score": "0.86895955", "text": "public void shuffle() {\n CardShuffler shuffler = new CardShuffler();\n deck = shuffler.shuffle(deck);\n }", "title": "" }, { "docid": "fa35cab4dddf5631feebc2f246575347", "score": "0.85887796"...
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": "6e31b9121c381e0bcd388607e23f0a3a", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n private void initComponents() {//GEN-BEGIN:initComponents\n\n jFileChooser1 = new javax.swing.JFileChooser();\n textInput = new javax.swing.JPanel();\n jLabel1 = new javax.s...
[ { "docid": "98e3f367d20a60eb829a633a5ff465e6", "score": "0.7293339", "text": "public LeTanForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7290941", "text": "public MainForm() {\n initComponents();\n }", ...
44cc0942005c53864854bab1256e2b16
Adds the given element to the PolicyLocations array. This is achieved by setting the parent foreign key to this entity instance.
[ { "docid": "b3353dc387eaa0e4bcc3166be7f08ee6", "score": "0.81932473", "text": "public void addToPolicyLocations(entity.PolicyLocation element) {\n __getInternalInterface().addArrayElement(POLICYLOCATIONS_PROP.get(), element);\n }", "title": "" } ]
[ { "docid": "f90128fc155feb3435823a20371b4a3f", "score": "0.8325264", "text": "public void addToPolicyLocations(entity.PolicyLocation element);", "title": "" }, { "docid": "1b7d08482396bf7e2cc58fad6896d580", "score": "0.82220346", "text": "public void addToPolicyLocations(entity.Polic...
365ef5017aac1634994ea704b2ac5efb
Convert to String, for debugging.
[ { "docid": "aa964f53a1e5bb720319900a8a9ce5f1", "score": "0.0", "text": "@Override\n public String toString()\n {\n return (\"(\" + x + ',' + y + ',' + w + ',' + h + ')');\n }", "title": "" } ]
[ { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.7524113", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.7524113", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398...
350d220752c390d22b4e6ca507e05d12
Initailizes variables and prints a solution if exists.
[ { "docid": "d75211ed6999b0dc78180c2b2c2070ea", "score": "0.5662636", "text": "public mainClass(){\n\t\tboard = new int[N][N];\n\t\t// creates a board\n\t\ttest.creatingBoard(board);\n\t\t// finds a solution if exists prints it out \n\t\tif(solution(board,0) == false){\n\t\t\tSystem.out.println(\"no solu...
[ { "docid": "1dfc4d6f5e917648b7215df5d5ea23d9", "score": "0.6663646", "text": "public void printSol() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "7673253e28d57f4f5fc2079f5247edb0", "score": "0.65375715", "text": "public void printSolution () {\n\n...
193fb1e5f9f47d0cae79d43fb62d5579
Test of removed method, of class TarefaController. Caso de Tarefa com id diferente do Teste passado
[ { "docid": "828c555b49c4370abdac8d56563a6be3", "score": "0.77259225", "text": "@Test\r\n\tpublic void testRemovedTesteComTarefaDeIdDiferenteDoTeste() {\r\n\t\tSystem.out.println(\"removed\");\r\n\t\tLong idTarefa = 15l;\r\n\t\tint qAntes = repository.findAll().size();\r\n\t\tList<Message> errors = null;...
[ { "docid": "ee521ed54b326499550262a2fd45ef2c", "score": "0.74113286", "text": "@Test\r\n\tpublic void testRemovedTesteComIDNulo() {\r\n\t\tSystem.out.println(\"removed\");\r\n\t\tLong idTarefa = 7l;\r\n\t\tint qAntes = repository.findAll().size();\r\n\t\tList<Message> errors = null;\r\n\r\n\t\ttry {\r\n...
e961afc8a325865bf4ec95d178a1a867
all AliasToEntityMapResultTransformer are considered equal ~~~~~~~~~~~~~ All AliasToEntityMapResultTransformer are considered equal
[ { "docid": "63b3d232ded99c7b61e74f4fa248fd5a", "score": "0.62922114", "text": "public boolean equals(Object other)\n {\n // todo : we can remove this once the deprecated ctor can be made private...\n return other != null && AliasLowerToMapResultTransformer.class.isInstance(other);\n ...
[ { "docid": "5a351c46570674bc4c60db0c02d34e8b", "score": "0.52737385", "text": "ResultMapping getResult();", "title": "" }, { "docid": "4d6d4cf87580dc3f1b08e6b95ca98b16", "score": "0.52624965", "text": "@Test\n public void testGetEntityTypeByName_multipleEntitiesWithSameName() {\n ...
db23288186537a54cdf1ddbfcf5212ec
Objeto para conectarse al servidor web. =========================================================================================== //
[ { "docid": "4bf56a0244497ddbb77c75304d55439c", "score": "0.0", "text": "public static void main(String[] args) {\n \n //Conectando al servidor.\n a.conecting();\n \n //Saludando al usuario y explicando instrucciones. \n JOptionPane.showM...
[ { "docid": "f702cce0d0ad89c41cac023352a4e1c8", "score": "0.64776784", "text": "public void connexion() {\n \n }", "title": "" }, { "docid": "aa42eff87e41625e1500d62a66802d2e", "score": "0.637343", "text": "public void lancerConnexion() {\n Properties ipProps = super.r...
3b9a3b6309d414eaa292ebeb242ba4bb
$ANTLR end "ruleOpSingleAssign" $ANTLR start "entryRuleOpMultiAssign" ../org.xtext.scripting.ui/srcgen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:175:1: entryRuleOpMultiAssign : ruleOpMultiAssign EOF ;
[ { "docid": "fc6cf1189eef7688fca9ac5268f48825", "score": "0.826152", "text": "public final void entryRuleOpMultiAssign() throws RecognitionException {\n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:176:1: ( ruleOpMu...
[ { "docid": "30ce5d525b26e88ebd4768d250047af8", "score": "0.82083803", "text": "public final void entryRuleOpMultiAssign() throws RecognitionException {\n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:234...
5a2b6001181a7222490717d29827cc84
Method to log exit of a method with arguments passed. This method captures exit point of all methods defines as per pointcut expression. This log is printed in console logs , If debug level is changed from debug to error these logs will stop printing.
[ { "docid": "48b080d6cb57c4d1e4a36b208d541f0f", "score": "0.6714421", "text": "@AfterReturning(\"logAllMethods()\") \n public void logMethodAfterExecComplete(JoinPoint jp){\n \tLOGGER.debug(\"Executed method {} . {} with args= {}\",jp.getTarget().getClass().getName(),jp.getSignature().getName(),l...
[ { "docid": "25eee6600e5bb7608be5dcdee52c64fe", "score": "0.71320283", "text": "private void logExit(String methodName) {\r\n if (log != null) {\r\n log.log(Level.INFO, \"Exit method [ProjectServiceBean#{0}].\", methodName);\r\n }\r\n }", "title": "" }, { "docid": ...
767346062d59d3bb24d7aabbd9a02970
repeated .scifirpg.Outcome outcome = 5;
[ { "docid": "36f819e19744df3c2366e04efcad1239", "score": "0.0", "text": "public Builder clearOutcome() {\n if (outcomeBuilder_ == null) {\n outcome_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000010);\n onChanged();\n } else {...
[ { "docid": "99fd1075f52648774f2c54b48cddda44", "score": "0.6223244", "text": "int getOutcomeCount();", "title": "" }, { "docid": "43f0cd9d4e8ec5d084b41e49f5e1ed3f", "score": "0.6049893", "text": "Outcome createOutcome();", "title": "" }, { "docid": "e920947165853d4f9b5c3d...
dae4957796427b07d6cff51408137567
$ANTLR end "rule__XExpressionInClosure__Group_1__1__Impl" $ANTLR start "rule__XShortClosure__Group__0" ../org.xtext.mongobeans.ui/srcgen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:9669:1: rule__XShortClosure__Group__0 : rule__XShortClosure__Group__0__Impl rule__XShortClosure__Group__1 ;
[ { "docid": "f1af3bf45411da52bafc71d41dfbb7b0", "score": "0.82860714", "text": "public final void rule__XShortClosure__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobe...
[ { "docid": "7cbb8894ed6521e8fe65fb71e2d08917", "score": "0.8249621", "text": "public final void rule__XShortClosure__Group_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtex...
1860fd1e25c2114a3b84f2484c4b8598
Deactivate component by unbinding the service from the message router.
[ { "docid": "35613f6a1340ce6d78f73db295e255ea", "score": "0.839379", "text": "@Deactivate\n public void deactivate()\n {\n m_MessageRouter.unbindMessageService(this);\n }", "title": "" } ]
[ { "docid": "443b7696842d127a199f740e8b60e292", "score": "0.7337816", "text": "@Deactivate\n public void deactivate() {\n if (serviceRegistration != null) {\n serviceRegistration.unregister();\n }\n }", "title": "" }, { "docid": "1665ceea4119aca98ff4fb09b338761f", "score": "0...
0c9711b68ca0d52b0b4b5b811aef896b
Gets the item description.
[ { "docid": "132dcc736b57fd005641eff0b41f4301", "score": "0.8736238", "text": "public String getItemDescription() {\n\t\treturn itemDescription;\n\t}", "title": "" } ]
[ { "docid": "51b44c943c8ad8d0dd01f445e0c1320c", "score": "0.8646794", "text": "public String getItemDescription() {\n return itemDescription;\n }", "title": "" }, { "docid": "71c80d3ef3c9eda42525b35df7f7c86d", "score": "0.8615692", "text": "public String getItemDescription()...
f4adb9708f2c61ea4b87a655838513c5
set the filter "credit is given by cash" by user
[ { "docid": "0e978d166b512f312d5f1467361538d0", "score": "0.6670559", "text": "public void setFilterIsCashKB() {\n System.out.println(bundle.getString(\"set1.filter.cash\"));\n boolean bool = false;\n bool = in.safeBooleanInput();\n storage.setFilterIsCash(bool);\n }", ...
[ { "docid": "a6fdd6ad5adbf7a445525e1e64cba2a1", "score": "0.6056979", "text": "public void setFilter(COSName filter) {\n cosSetField(DK_Filter, filter);\n }", "title": "" }, { "docid": "f716386d639960bc3d82bdf62ef39c58", "score": "0.60271543", "text": "public void setCredit(...
6a68b6301c678f22f3d3f132b0a12867
Check if the character given as argument is an enemy of the current one. An enemy will be all characters that are monsters (Overridden method)
[ { "docid": "c7a3f14974c524d5182835b06d98871c", "score": "0.808769", "text": "@Override\n\tpublic boolean isEnemy(Character c) {\n\t\treturn (c instanceof Monster && !(c instanceof Goblin) || (c instanceof Goblin && !((Invisible)c).isHidden()));\n\t}", "title": "" } ]
[ { "docid": "48da7109508822d04d2be8d34cf0cb28", "score": "0.7340449", "text": "public boolean isEnemy(){\n return getOwner() instanceof Enemy;\n }", "title": "" }, { "docid": "c8388dcd087ab5e351f038b7b5d5aafa", "score": "0.67902005", "text": "public Class<? extends Character...
4c798758da9e05e5b8b90480185bd54b
String url= " uploadJSONObject.post(user.getInnerJSONObject(),url);
[ { "docid": "18f505d8fb33618f2d64d09611b5ecbe", "score": "0.60490316", "text": "public void connectServerString(JSONObject obj,String url){\n\t\t\tHttpPost postRequest = new HttpPost(url);\r\n\t\t\tHttpParams httpParameters = new BasicHttpParams();\r\n\t\t\tint timeoutConnection = 3000;\r\n\t\t\tHttpConn...
[ { "docid": "63152a927d2060d1f029fdf0e0603d32", "score": "0.6331423", "text": "@Override\n public void onCallback(String imageURL) {\n System.out.print(\"step upload success\");\n try {\n step.put(\"image\", imageURL);\n\n ...
fc06c77b926a513ec1f28726a7d6689b
Previously the server.close call was disable for the following reason, just leaving this comment here for historical reasons: It would be nice to wait for client threads to end, but since these client threads pass into HBase client code which is notoriously difficult to interrupt, we skip this step
[ { "docid": "1b8548f5b9c29e4e364ed18b0b185040", "score": "0.6264787", "text": "@PreDestroy\n public void stop() {\n server.close();\n\n // Actual work is now being performed on the threads of the ExecutorService\n if (executorService != null) {\n // Interrupt the thread...
[ { "docid": "f51a479c30fbb5f3153e8b187e8d5982", "score": "0.6812133", "text": "public void stopServer() {\n //Terminating the thread poolb\n try {\n if (this.executor.awaitTermination(2, TimeUnit.SECONDS)) {\n System.out.println(\"Client processes terminated succes...
b9ffdb3c936458d72dde67071112b916
check for required fields check for substruct validity
[ { "docid": "f656ae2e53a7448eb1a1ae59d10aa6ae", "score": "0.0", "text": "public void validate() throws org.apache.thrift.TException {\n }", "title": "" } ]
[ { "docid": "268558c6ec2dfc6f7621f96360b58798", "score": "0.74526197", "text": "public void validate() throws org.apache.thrift.TException {\n if (!isSetGatewayId()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'gatewayId' is unset! Struct:\" + toString());\n }\...
14e4b5bb29a3bd9c0d3234c1fea3fcc6
Sets the failReason value for this GatewayRefundQueryResultDto.
[ { "docid": "55a7eafc71b4df3cec02accae9da9f53", "score": "0.6516662", "text": "public void setFailReason(java.lang.String failReason) {\n this.failReason = failReason;\n }", "title": "" } ]
[ { "docid": "4fbbf47cc55429ecc14fbd7e4a4b694e", "score": "0.59366816", "text": "public void setFailureReason(String failureReason) {\n this.failureReason = failureReason;\n }", "title": "" }, { "docid": "4fbbf47cc55429ecc14fbd7e4a4b694e", "score": "0.59366816", "text": "publ...
310a9c32aa0e6daa47ff96adf2c9807b
Displays that testing has ended.
[ { "docid": "b746a46b8ab8fe6949a6108a089c6e6c", "score": "0.765561", "text": "void endTests() {\n\t\tthis.progressBar.setProgress(1.0);\n\t\tthis.percent.setText(\"Done\");\n\t}", "title": "" } ]
[ { "docid": "2e69f0aec6c0a98cf69ba27e300f2479", "score": "0.7305476", "text": "public static void endStep() {\n\t\tTestNotify.log(GenLogTC() + \"has been tested.\");\n\t}", "title": "" }, { "docid": "02fddf1edd811cf2843975fda0e53415", "score": "0.72082657", "text": "public void junitE...
c6c53af9b0abd2f0ecc7c40ea411fefe
Encerra a execucao da musica
[ { "docid": "08eec736be5233345b0479596c52ec44", "score": "0.0", "text": "public void encerra(){\n\n\t\tif(this.RTSPsocket != null && !this.RTSPsocket.isClosed()){\n\t\t\t//aumenta o numero de sequencia do RTSP\n\t\t\tthis.RTSPNumeroSequencia++;\n \n\t\t\t//espera por resposta\n\t\t\tif (analisaMensagemSe...
[ { "docid": "7210179eb9545bd8c23a197ec4916b9a", "score": "0.7481187", "text": "public void exec();", "title": "" }, { "docid": "5f3bd21c1982f1795ef0b8a9f69a5656", "score": "0.7420018", "text": "@Override\n public void exec() {\n }", "title": "" }, { "docid": "aadd9d0...
dd2f7fc9131030152a05419ac0ef3e3c
Converts the provided pattern to it's minimum equivalent. Basically this method converts all touching 's to a single .
[ { "docid": "71463656f1e54d845c555db3519ecc40", "score": "0.64272434", "text": "public static String toMinimalPattern(String s) {\n\t\tint len = s.length();\n\t\tStringBuffer sb = new StringBuffer();\n\t\tint x = 0;\n\t\tint y = s.indexOf('*');\n\t\twhile (x <= y) {\n\t\t\ty++;\n\t\t\tsb.append(s.substri...
[ { "docid": "dc4a4c39be7a77974e83ea8a7a13ccd2", "score": "0.58632386", "text": "public void preprocess(String pattern) {\n int M = pattern.length();\n next = new int[M];\n int j = -1;\n for (int i = 0; i < M; i++) {\n if (i == 0) ...
0d7fafb2d45427859c7c7b2082c15ba0
Status Code 201 and Insertion of data
[ { "docid": "ba3f9f877fa0284ee47bf4f83729ae73", "score": "0.0", "text": "public void apiPostValues(String title,String type,String Holdertype,String accno,String Balance ) throws IOException\n {\n Path path=Paths.get(\"src/test/resources/Body.json\");\n String json=new String(Files.readA...
[ { "docid": "3e7bbda93035e7d881a22978dbe0cb03", "score": "0.6393359", "text": "int insert(StatusReplies record);", "title": "" }, { "docid": "c759943ac96330b17e49fe672edd3513", "score": "0.6238031", "text": "@Test\n public void create_400() throws Exception {\n\n // PREPARE ...
70d7f33d3b74d0647f57534e8dbd9f1b
Creation timestamp in microseconds since epoch.
[ { "docid": "ca653d519ea7f57c130b3223ebba5460", "score": "0.0", "text": "long created();", "title": "" } ]
[ { "docid": "891d33fe1334de21a35b017ab0da2c57", "score": "0.7363133", "text": "public Long getCreationTimeMillis() {\n return creationTimeMillis;\n }", "title": "" }, { "docid": "4bf98958d16749e1f75020432e3e4295", "score": "0.73054045", "text": "public long getCreationTimestamp() ...
acf09e070d5d4f2ef5c98f30ffacbc36
Checks if is cancelled.
[ { "docid": "91dd40d6ddb85e18044f1de08fcc2335", "score": "0.781575", "text": "public boolean getIsCancelled() {\n return isCancelled();\n }", "title": "" } ]
[ { "docid": "80d7210bfb5df58881f7fa9cb540286b", "score": "0.8367252", "text": "public boolean checkCancel() {\r\n\t\t\r\n\t\treturn cancel ;\r\n\t\t\t\t\r\n\t}", "title": "" }, { "docid": "88319474635e017fc5fac370717614bb", "score": "0.82319576", "text": "public boolean isCancelled() ...
1b5f622dc79019019fbb79b63f91ba2f
Convert the given polar coordinates to Cartesian form.
[ { "docid": "13e1724c65397542ca45bb97df7b7a6d", "score": "0.676151", "text": "public static Vector2D toCartesian(final double radius, final double azimuth) {\n final double x = radius * Math.cos(azimuth);\n final double y = radius * Math.sin(azimuth);\n\n return Vector2D.of(x, y);\n ...
[ { "docid": "94d7ecc3ffe06aa5650d79f711e771ac", "score": "0.8242344", "text": "public final void polarToCartesian() {\n\t\tfloat r = x;\r\n\t\tfloat t = y;\r\n\t\tset(r * (float)Math.cos(t), r * (float)Math.sin(t));\r\n\t}", "title": "" }, { "docid": "5ad10d5208a8df5bf0dfada42de1b3db", "s...
5b5e4179c38dc090273a0fde5785cc82
$ANTLR end "ruleBreakType" $ANTLR start "ruleTemplateStatuses" ../net.ages.workbench.templates.dsl.ui/srcgen/net/ages/workbench/templates/dsl/ui/contentassist/antlr/internal/InternalAtem.g:3228:1: ruleTemplateStatuses : ( ( rule__TemplateStatuses__Alternatives ) ) ;
[ { "docid": "3ce5b3ade85bd663b373bb101a294fb4", "score": "0.8034242", "text": "public final void ruleTemplateStatuses() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../net.ages.workbench.templates.dsl.ui/src-gen/net/ages/workbe...
[ { "docid": "61ee68c0e2de3fe5d886f1f309df973e", "score": "0.654273", "text": "public final void rule__TemplateStatuses__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../net.ages.workbench.templates.dsl.ui/src-gen/...
da780df7837a86b93d122e123dc36f47
string field_1259 = 1259;
[ { "docid": "8aef0bd4da9ff3ca194a4885547678db", "score": "0.0", "text": "public Builder clearField1259() {\n \n field1259_ = getDefaultInstance().getField1259();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "4c218e4e9596468192dc862f6174448f", "score": "0.7515633", "text": "java.lang.String getField1307();", "title": "" }, { "docid": "753fb552341623091c379be25220910b", "score": "0.7471623", "text": "java.lang.String getField1236();", "title": "" }, { "docid": "3b69...
fc6063fa460b9a8e994d86d0f7757834
Return whether the MetaClass has been modified or not
[ { "docid": "88b4dcbb72c45027423232688b92c817", "score": "0.7340888", "text": "boolean isModified();", "title": "" } ]
[ { "docid": "3a6e50e9e83b6bfd3ff445382d5ce67c", "score": "0.7374703", "text": "public boolean isModified() {\n return modified;\n }", "title": "" }, { "docid": "eecae0201b0e8895e48848c851465875", "score": "0.73178244", "text": "public boolean isModified() {\n\t\treturn(asIsM...
7656c72cbf79e8ca330bf4f7833493ad
Outputs the poem to the command line prompt (console).
[ { "docid": "0956e74d5a84c738831ded959d1d416f", "score": "0.68942434", "text": "public static void writePoemToConsole(String p) {\r\n\r\n\t\tSystem.out.println(p);\r\n\r\n\t}", "title": "" } ]
[ { "docid": "aa5c64e0f4d6fbe07f5b096860f7fc01", "score": "0.6136639", "text": "public void printOneLineHelp() {\r\n System.out.println(\"New world -- Creates a new random world\");\r\n }", "title": "" }, { "docid": "f757331cb1da6d9ba0812cd6f4d1ee7d", "score": "0.6107785", "text...
35d746bf97345e5a8a2e73f7028a7afd
An empty constructor for the finance object
[ { "docid": "72a1a45038d71fe35895c14dec870aad", "score": "0.84881437", "text": "public Finance(){\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "b6df4b0e5336173d6851e98b0b4aa720", "score": "0.7712724", "text": "public StockTrade() {}", "title": "" }, { "docid": "3bebad582afbb020576ee04f7076b452", "score": "0.745378", "text": "public Fund() {\r\n\t}", "title": "" }, { "docid": "d1aa997aa7a018fe4e9f38881...
78b9d3c15a72102f9f5bafb4b0bcb5b2
Get users display name, defaults to registered name if not set
[ { "docid": "a5fb02aa8b0254883e910f2e148f6cd4", "score": "0.7489861", "text": "public String getDisplayName() {\n \t\treturn displayName;\n \t}", "title": "" } ]
[ { "docid": "8fbe43f61d2a24176ce7b476097fb162", "score": "0.82667154", "text": "public String getUserDisplayname() {\n return userDisplayname;\n }", "title": "" }, { "docid": "a36e9e9e8c416f56f75233fd586d7ff4", "score": "0.82525784", "text": "public String getCurrentUserDisp...
3b0a70c57fb564b7a78ece23c06e7499
Function to set Extent Report Path within Framework and initialze extent objects
[ { "docid": "83da13c78973f16a624d2731d90d423e", "score": "0.607355", "text": "private void generateExtentReports() {\n\t\tProperties properties = Settings.getInstance();\n\t\thtmlReporter = new ExtentHtmlReporter(resultSummaryManager.getReportPath() + Util.getFileSeparator()\n\t\t\t\t+ \"Extent Result\" ...
[ { "docid": "1071289bcb87f0b9904da515fd1c8ea8", "score": "0.719814", "text": "@BeforeTest\n\tpublic void setExtent() {\n\t\thtmlReporter = new ExtentSparkReporter(System.getProperty(\"user.dir\") + \"/employee_report/myReport.html\");\n\t\thtmlReporter.config().setDocumentTitle(\"Automation Report\"); //...
ae5155c5780c4a57562eac94f703a5e0
Metodo que establece el valor para el miembro dato apellidoMaterno.
[ { "docid": "6dc9d1881c240367ca34d977e2aca5db", "score": "0.6974454", "text": "public void setApellidoMaterno(String apellidoMaterno) {\n\t\tthis.apellidoMaterno = apellidoMaterno;\n\t}", "title": "" } ]
[ { "docid": "1b185761847f3b43e0034d65ab02ba11", "score": "0.77620393", "text": "public String getApellidoMaterno() {\n\t\treturn apellidoMaterno;\n\t}", "title": "" }, { "docid": "1b185761847f3b43e0034d65ab02ba11", "score": "0.77620393", "text": "public String getApellidoMaterno() {\n...
5e0ef62cf70e9e69c4ea2a7b16118e70
Reads Phoenix resource assignments.
[ { "docid": "344a61c2f91acab76098415f6ba6ac2a", "score": "0.710984", "text": "private void readAssignments(Resource mpxjResource, net.sf.mpxj.phoenix.schema.Project.Storepoints.Storepoint.Resources.Resource res)\n {\n for (Assignment assignment : res.getAssignment())\n {\n readAssignm...
[ { "docid": "968fdd81f96b685f5e97eda6e3781cb9", "score": "0.67996323", "text": "private void readResources(Storepoint phoenixProject)\n {\n Resources resources = phoenixProject.getResources();\n if (resources != null)\n {\n for (net.sf.mpxj.phoenix.schema.Project.Storepoints.Stor...
bc504c540e6e29c2a3e8ff3b5f1f04ab
add adjacent contacts if not exist
[ { "docid": "4509cb62b6dcf0089dc91c19d0f2fecd", "score": "0.67282456", "text": "private void addAdjacentContacts(double IF){\n\t\t\n\t\tboolean[] hasAdjacentContact = new boolean[n];// hasAdjacentContact[i] = true if contact (i, i + 1) exists\n\t\tSystem.out.println(\"Checking constraint...\");\n\t\t\n\t...
[ { "docid": "63421668ee70420e5095fd710096ebb1", "score": "0.62139595", "text": "Contact add(Contact contact);", "title": "" }, { "docid": "627c32cda725a1380c1a23dfa2413f38", "score": "0.6167437", "text": "public void addContact() {\n\t\tSystem.out.println(\"Please enter first name.\")...
61f05bf0ae0933aa98db9c44ae26d4ab
The egress settings for the connector, controlling what traffic is diverted through it. .google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings vpc_connector_egress_settings = 23;
[ { "docid": "71124f0264d8a23ff6670738916e24a9", "score": "0.7466684", "text": "public Builder setVpcConnectorEgressSettingsValue(int value) {\n vpcConnectorEgressSettings_ = value;\n bitField0_ |= 0x00400000;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "eec36aa2c6fbdfb094d9d6637292c9d8", "score": "0.807816", "text": "@java.lang.Override\n public int getVpcConnectorEgressSettingsValue() {\n return vpcConnectorEgressSettings_;\n }", "title": "" }, { "docid": "8c1bccc977aa386df072b76b49323b92", "score": "0.8001463", "t...
8ff097ec06a5dbf54c3d04426b986531
Makes sure the values for lat/lon/alt are valid to the application
[ { "docid": "da77c916ba13b945175134af1b44b964", "score": "0.6982992", "text": "public boolean attemptValidLatLonAlt ()\n\t{\n\t\tresetColors ();\n\n\t\tboolean isGood = true;\n\n\t\tdouble lat = MathUtility.parseDouble (m_latitudeInput.getText ());\n\t\tdouble lon = MathUtility.parseDouble (m_longitudeIn...
[ { "docid": "21f620e0d8ab04dbab313f0d444eeb82", "score": "0.71586424", "text": "public boolean validateLatLonAlt ()\n\t{\n\t\tboolean isValid = true;\n\n\t\tif (!latIsValid ())\n\t\t{\n\t\t\tisValid = false;\n\t\t}\n\n\t\tif (!lonIsValid ())\n\t\t{\n\t\t\tisValid = false;\n\t\t}\n\n\t\tif (!altIsValid ()...
b71c28a79a76605cd23662bf7e6dc02f
Instance Method Setter Getter
[ { "docid": "669d662dbe806520e84a3fb6529ed740", "score": "0.0", "text": "public void setWidth(double width) {\r\n\t\tthis.width = width;\t\r\n\t}", "title": "" } ]
[ { "docid": "331c840866fcda0ba51084a6deb099bd", "score": "0.710971", "text": "public Method getPropertySetter();", "title": "" }, { "docid": "d5cb9868107c8eecb7cce633fbc84945", "score": "0.69697", "text": "protected abstract void setInstance();", "title": "" }, { "docid": ...
678503df0c6535a3c3a98201e9e139c9
Get the true time at which the current task began to execute.
[ { "docid": "abbc01ba1df94f268001a2a540e2e50b", "score": "0.0", "text": "public long get_dispatcher_true_time () {\n\t\treturn dispatcher_true_time;\n\t}", "title": "" } ]
[ { "docid": "3a012c7d3b601c6dc7921fe8c478b553", "score": "0.70958364", "text": "public long getStartTime();", "title": "" }, { "docid": "3a012c7d3b601c6dc7921fe8c478b553", "score": "0.70958364", "text": "public long getStartTime();", "title": "" }, { "docid": "a3e9f4826526...
ff0cd79f7eb691b7b05efca32a16b822
version byte + maxSize + hllBuckets + minhashSize + totalHllSize + minhash keys + individual HLL sizes + HLLs size sum
[ { "docid": "49be64337596cc8987bdb108807dced9", "score": "0.6191929", "text": "public int estimatedSerializedSize()\n {\n return SIZE_OF_BYTE +\n 4 * SIZE_OF_INT +\n minhash.size() * (SIZE_OF_LONG + SIZE_OF_INT) +\n hllsTotalEstimatedSerializedSize *...
[ { "docid": "10ce2dda80e4b24da4970677fa0790b8", "score": "0.6615781", "text": "public int gethashSize() {\r\n return hashSize;\r\n }", "title": "" }, { "docid": "c376ac5a756988b3254d1b833da4654b", "score": "0.6548223", "text": "public void testHashsizeCount() {\n hash...
189b9b7529b78a98d6e226e3f2ba166a
Setter for mobsters.expansion_cost_config.speedup_expansion_gem_cost. For speeding up building expansion
[ { "docid": "2a2dfbd5956926d4384c8087eb5e6a74", "score": "0.768488", "text": "public IExpansionCostConfig setSpeedupExpansionGemCost(Integer value);", "title": "" } ]
[ { "docid": "85b85a582d4fe2a96d9996d710d44141", "score": "0.66346854", "text": "@Column(name = \"speedup_expansion_gem_cost\", precision = 10)\n\tpublic Integer getSpeedupExpansionGemCost();", "title": "" }, { "docid": "1c2a66f502a72b9629ebc4ffc2de17f6", "score": "0.54949605", "text":...
858b1e917b01feee538a638d22fd078c
Sets the flag that indicates if the .owl extension in the IRI should be replaced with .fhir.
[ { "docid": "4f72809836c6a4a3b9e57fbb121342c1", "score": "0.60419136", "text": "public void setUseFhirExtension(boolean useFhirExtension) {\n this.useFhirExtension = useFhirExtension;\n }", "title": "" } ]
[ { "docid": "7a65a147a86cea6631776bc056932467", "score": "0.54127926", "text": "void changeOriName(String name) {\r\n oriName = name + oriName.substring(oriName.indexOf(\".\"), oriName.length());\r\n }", "title": "" }, { "docid": "d413e60ed480ba9cebc005e393eaeb8b", "score": "0.5...
5ebe7a89005c267cdbf61f7e27e8f337
metodo para moverse con las teclas.
[ { "docid": "b84b0020f19ecbbc19f111c9a81ee1c8", "score": "0.0", "text": "public void moving()\n {\n move(speed);\n if(Greenfoot.getRandomNumber(100)<20)\n {\n turn(Greenfoot.getRandomNumber(40)-20);\n \n }\n if(corner())\n {\n turn(180); move(20);\n }\n...
[ { "docid": "d8c2bd2b016ef66a66e11876e07050be", "score": "0.64881974", "text": "public void mostraTelaInicial() {\n\t\tthis.viewControl.exibeTelaInicial();\n\t}", "title": "" }, { "docid": "8b7984bec894332d10e6be1978da5cd7", "score": "0.64414763", "text": "public void IniciaTorneo() {...
8fcdafe7bf04dad587e6cf2b17088306
/ Enabled aggressive block sorting Enabled unnecessary exception pruning Enabled aggressive exception aggregation
[ { "docid": "ce97d06432b39058ae1bf0c2e85bd098", "score": "0.0", "text": "public static Handler newHandler(String handlerArray, Runnable runnable, Handler.Callback object) {\n int n10 = 1;\n handlerArray = new Handler[n10];\n MobHandlerThread$1 mobHandlerThread$1 = new MobHandlerThrea...
[ { "docid": "261f93e6f236383ac7090fd94363f5d4", "score": "0.5642829", "text": "@Override\r\n public void finish() throws MolapPaginationException\r\n {\r\n if(paginationEnabled)\r\n {\r\n writeData();\r\n List compratorList = new ArrayList(MolapCommonConstants.CO...
babc214dbacadd8c8d8919d9f432c9d9
public Filter doMerge(Filter f, int ttl); public Filter doMerge(Filter f);
[ { "docid": "5057a484a23a2ed6b3edf7369f87c582", "score": "0.5228876", "text": "public Filter intersection(Filter f);", "title": "" } ]
[ { "docid": "97cb4e488811611cb0535d95b4a161e6", "score": "0.65897614", "text": "public Filter doUnion(Filter f);", "title": "" }, { "docid": "6a1ab5fc59a9b4be2d04a39ce2554f2e", "score": "0.5757928", "text": "void merge();", "title": "" }, { "docid": "112c8745cabab9ae9f54f1...
9c62adee91b764f6e240634eed92f162
see if item is available for looking or not and return appropriate response for user.
[ { "docid": "36b3108d6f87c43a33aab5f1d603c0dd", "score": "0.5828977", "text": "public String findItemToLookAt(String theItem){ \n if(isAnItem(theItem) && (this.itemInRoom(theItem) || this.itemInInventory(theItem)) ){\n //check if the item is in current room or inventory \n r...
[ { "docid": "f9fa0939db454894cd0c57e49914dd01", "score": "0.65403926", "text": "protected abstract void itemFoundAction(Item item);", "title": "" }, { "docid": "8af8c86440d5d624cf9ee482ff1a9e40", "score": "0.65255797", "text": "boolean hasItem();", "title": "" }, { "docid"...
d37cc112062e152315e42038cb7dfd39
/ Select the card currently hovered over (keyboard interaction) or just clicked (mouse interaction). Color its border blue. Check if a set is formed. If so, reload the display.
[ { "docid": "9bf657efa29d52e95a11bc06839e33fb", "score": "0.7078032", "text": "public static void selectCard() {\n // select the corresponding card on the SetBoard.\n int oldScore = board.getScore();\n board.cardSelect(board.hovRow, board.hovCol);\n\n //switchCard(board.hovRow, board.hovCol);...
[ { "docid": "069e356b1f57b8e77b8b5e2bbcc6e69a", "score": "0.6850277", "text": "public static void tutorialSelectCard() {\n // select the corresponding card on the SetBoard.\n int oldScore = board.getScore();\n SetCard[] set = board.tutorialCardSelect(board.hovRow, board.hovCol);\n\n if (set =...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0448ee96c2a5390ac3e486ae5bca457f", "score": "0.0", "text": "@Override\n\tpublic String toString() {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "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...
cb8a6a15c14279cef7934e79fad0c540
Checks to see if an item is a diamond tool.
[ { "docid": "b985f60ba0c6e425b6e9bae4082389db", "score": "0.81808543", "text": "private static boolean isDiamondTool(ItemStack is) {\n switch (is.getType()) {\n case DIAMOND_AXE:\n case DIAMOND_HOE:\n case DIAMOND_PICKAXE:\n case DIAMOND_SPADE:\n ...
[ { "docid": "fee5a4d32bfb277291680b1d6b141d32", "score": "0.71505624", "text": "private static boolean isDiamondArmor(ItemStack is) {\n switch (is.getType()) {\n case DIAMOND_BOOTS:\n case DIAMOND_CHESTPLATE:\n case DIAMOND_HELMET:\n case DIAMOND_LEGGING...
a42cca6d19355bfc80564856ab1ddb92
Commits changes to the store.
[ { "docid": "95eb02f0dcd1ada95201b4fcebe6f891", "score": "0.70886236", "text": "@Override\n public final void commit() {\n commit(null);\n }", "title": "" } ]
[ { "docid": "e0a1dd1b6088996a12e5b1bcc875d157", "score": "0.74727166", "text": "public final void commit() throws com.mendix.core.CoreException\r\n\t{\r\n\t\tcom.mendix.core.Core.commit(context, getMendixObject());\r\n\t}", "title": "" }, { "docid": "e0a1dd1b6088996a12e5b1bcc875d157", "sc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "deb511846399c4f8fa15ccae67164a30", "score": "0.0", "text": "@Override\n\t\t\tpublic Serializable run() {\n\t\t\t\tWeb web = new Web(\n\t\t\t\t\t\t\"http://v.juhe.cn/boxoffice/rank.php?&area=\" + area + \"&key=4df242ac5d8d1e143cea0e364c807d63\");\n\t\t\t\treturn web.getPlan();\n\t\t\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...
3515d8ae96948f967c8c83e9b95c0629
This method is a passthrough method between the IO class and the GamePanel object where input is actually displayed. It is used to clear the screen.
[ { "docid": "4777c58228f55698fd4b075ea14350cc", "score": "0.7607413", "text": "public void clearScreen()\r\n {\r\n this.panel.clear();\r\n }", "title": "" } ]
[ { "docid": "ed7bf196f6163c0e8764041b2a6f0ac2", "score": "0.781105", "text": "public final void clearInput()\n\t{\n\t\trawInput = NO_RAW_INPUT;\n\t}", "title": "" }, { "docid": "6950c156ba15da4a0f837277b92b81f5", "score": "0.76097494", "text": "private static void clearScreen() {\n ...
631e7584933ba2d1fcec9d504bd02e2f
Marker interface for a handler of metadata.
[ { "docid": "8d5503909a1f9c782a4b27b22d5a3aa5", "score": "0.7218656", "text": "public interface MetadataHandler<M extends Metadata> {\n MetadataDef<M> getDef();\n\n /**\n * Finds handler methods defined by a {@link MetadataHandler},\n * and returns a map keyed by method name.\n *\n * <p>Ignores...
[ { "docid": "c0baf97371e08488d2d65859a5a8ad5b", "score": "0.6362163", "text": "MethodReaderBuilder metaDataHandler(Object... components);", "title": "" }, { "docid": "ebe2a21c042dc3d3efc7d65bd379d011", "score": "0.6125206", "text": "public interface ContentEntityHandler {\n int get...
ea03827a01f466a575553b0d459910c6
Toast.makeText(ConnectionServer.this, "this is my response: "+response.toString(), Toast.LENGTH_SHORT).show();
[ { "docid": "05a9d154b3d388969183ff58d28591f6", "score": "0.0", "text": "@Override\n public void onResponse(JSONObject response) {\n }", "title": "" } ]
[ { "docid": "e597654b58309ec4bfdc292a27a16c6b", "score": "0.7862362", "text": "@Override\n public void onResponse(String response) {\n Toast.makeText(mCtxt, \"Success!\", Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid...
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": "f968bd276a9e01b672015951d21684d3", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jPanel3...
[ { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.73211485", "text": "public Form() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72904706", "text": "public MainForm() {\n initComponents();\n }", ...
ef0fe633a230d60366c057bbee67c341
optional fixed32 from_router_cluster = 4;
[ { "docid": "0efcf61f9c5b00a731f62a77bf2d148c", "score": "0.5932203", "text": "@java.lang.Override\n public boolean hasFromRouterCluster() {\n return ((bitField0_ & 0x00000008) != 0);\n }", "title": "" } ]
[ { "docid": "2dce39df9c3b4a312b28ccde9fa909b8", "score": "0.6851717", "text": "@java.lang.Override\n public int getFromRouterCluster() {\n return fromRouterCluster_;\n }", "title": "" }, { "docid": "5a2edd9bf26e8771dca07cef55f36502", "score": "0.6806588", "text": "int getFr...
e20e6e64423367902ad919705a661b68
Returns the node at the index given
[ { "docid": "01231941d74002daab241ddde9a36d53", "score": "0.7795924", "text": "private Node<T> getNodeAtIndex(int index) {\r\n if (index < 0 || size() <= index) {\r\n throw new IndexOutOfBoundsException(\"No element exists at \"\r\n + index);\r\n }\r\n Node<...
[ { "docid": "44cd2e97299e60af134a9437209509ea", "score": "0.8141267", "text": "private Node getNode(int index) {\n\t\treturn getNode(index, 0, size() - 1);\n\t}", "title": "" }, { "docid": "a6505bbcddfa10972d4f55c317f5081a", "score": "0.80125445", "text": "private Node getNodeAt(int i...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "02f72a8d25e15954619435ac71f17979", "score": "0.0", "text": "@Override\n\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\n\t\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4291b3144590667e3e92eb34242ed8e3", "score": "0.0", "text": "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\tfor (int i = 0; i < getImagenesAbiertas().size(); i++) {\n\t\t\t\tif (getImagenesAbiertas().get(i).isSelected()) {\n\t\t\t\t\tInformacionImagenDialog informacion = n...
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
9156e742f0762d356f81ed59242bef02
private constructor for Util class.
[ { "docid": "d7a13a3f663d4ba9f5128e351c694cc5", "score": "0.0", "text": "private AndroidTestMockUtil() {\n }", "title": "" } ]
[ { "docid": "6bbc7abb32892722b68179a2ccfb8089", "score": "0.89808714", "text": "private Util(){}", "title": "" }, { "docid": "ec82531d88262c9a11254c544824d5bb", "score": "0.8697071", "text": "private Util() {\r\n\r\n }", "title": "" }, { "docid": "538ed6c4cfbe3a2a779518...
c81cb19992db70a693bd3907af9cf5eb
Returns the offset of the change.
[ { "docid": "664e2d8b015e6896c6dd37aa702c162a", "score": "0.7072221", "text": "public int getOffset() {\n\t\treturn fOffset;\n\t}", "title": "" } ]
[ { "docid": "d32d9d9170fc823ba25283e360515f60", "score": "0.7712345", "text": "public long getOffset() {\n return e.getOffset();\n }", "title": "" }, { "docid": "9896023846dd68dbc8e449d3d5b3b852", "score": "0.74971557", "text": "long getOffset();", "title": "" }, { ...
7d7b08b0c4d1c16809a95d9703797602
when first date comes after second date
[ { "docid": "a1b7d41cbf1558e87d6ec7f02f0ead1e", "score": "0.57499063", "text": "@Test\n void difference() {\n assertEquals(Data.difference(dec2, dec1), -1);\n //when first and second dates are equal\n assertEquals(Data.difference(dec1, dec1), 1);\n //when the second date co...
[ { "docid": "6dcefc96145346f114e5d7a46d93ca0a", "score": "0.62242275", "text": "private void checkSecondDateBiggerOrEqual(int firstDate, int secondDate, String message) throws Exception {\n if (firstDate > secondDate && secondDate >= 0) throw new Exception(message);\n }", "title": "" }, ...
02d7720b1e27848476a3bc62fc480713
1) if the haystack equals the needle return 0 2) make substrings from i to i+needle length 3) check to see if the strings are equal if they are, return i important thing to note here are the for loop bounds and the .equals() method for string!
[ { "docid": "06732b56c86cc36a0dbffc6cfa2d6180", "score": "0.67403775", "text": "public int strStr(String haystack, String needle) {\n\n if(haystack.equals(needle)){\n return 0;\n }\n\n for(int i =0; i<haystack.length()-needle.length()+1; i++){\n\n String sub = h...
[ { "docid": "c4732e9dee823a50a179a4e47c770753", "score": "0.7083725", "text": "public static void strStr(String haystack, String needle) {\n\n int[] next = table(needle); //get jump table\n\n int i = 0, j = 0;\n\n while (i <= haystack.length() - needle.length()) {\n\n if (...
3c200ddcae4874a028650c759991aff2
This method was generated by MyBatis Generator. This method corresponds to the database table jg_hy_bus_order
[ { "docid": "77a7804af188ba93b760974674fd04db", "score": "0.0", "text": "public String asc() {\n return this.getEscapedColumnName() + \" ASC\";\n }", "title": "" } ]
[ { "docid": "10df479c161499c30d1f2ca5b2e90883", "score": "0.63996345", "text": "@Override\r\n\tpublic void genOrderRec(String sql) throws java.sql.SQLException {\r\n\t\tordermapper.genOrderRec(sql);\r\n\t}", "title": "" }, { "docid": "2dc372a6515cc31c5518748f91b3c3b6", "score": "0.5850958...
41a2e56e5b85d77a7a0c44b5d5800f8f
Runs as the plugin is disabled.
[ { "docid": "7485cdb64531cba3c9da1f5ebca5e607", "score": "0.0", "text": "public void onDisable() {\n for (Player player : Bukkit.getOnlinePlayers()) {\n HardcorePlayers.HardcorePlayer hcPlayer = plugin.hcPlayers.get(player);\n hcPlayer.setInCombat(false);\n hcPlaye...
[ { "docid": "31409c8295b79479e0ca77d8087bc54d", "score": "0.7986043", "text": "void pluginDisabled() {\n getAbstractLogger().info(\"Running #disable for all plugins!\");\n Fromage.PLUGINS.forEach(LuaPlugin::disable);\n }", "title": "" }, { "docid": "aed723cf183d92ccf4efc7f9ce...
9d48275b086eaca751479e4db96478db
Constructor (for serialisation only).
[ { "docid": "0ee4bb33a06ac34e99548113f1bb5abd", "score": "0.0", "text": "@SuppressWarnings(\"unused\")\n private Register()\n {\n // For serialisation only\n }", "title": "" } ]
[ { "docid": "3507cf7037c692c62cee81f871796c74", "score": "0.72269017", "text": "protected void constructor() {\n\t\t/* this is intentionally empty to override the parent class */\n\t}", "title": "" }, { "docid": "0d124f174a71188d51a630f43c538165", "score": "0.6924941", "text": "privat...
d54df35029580b3ced03dc15a2e5f8bd
Returns a list of the most preferable atoms for substitution (empty list if none are) An atom must have have sufficient valency to support a substituent requiring a bond of order bondOrder If an atom can support multiple substituents it will appear in the list multiple times This method iterates over the the fragment a...
[ { "docid": "0a195c0afceb81529d520e5e948a81b6", "score": "0.6854772", "text": "static List<Atom> findSubstituableAtoms(Fragment frag, int bondOrder) {\r\n\t\tList<Atom> potentialAtoms = findnAtomsForSubstitution(frag, 1, bondOrder);\r\n\t\tif (potentialAtoms == null) {\r\n\t\t\treturn Collections.emptyLi...
[ { "docid": "16f878f35acdceae506ab4dac252f409", "score": "0.6783275", "text": "static List<Atom> findnAtomsForSubstitution(Fragment frag, int numberOfSubstitutionsRequired, int bondOrder) {\r\n\t\treturn findnAtomsForSubstitution(frag.getAtomList(), frag.getDefaultInAtom(), numberOfSubstitutionsRequired,...
01b41d32fab5a646031fa075b9c9a921
System.out.println("\n Queue size : " + queue.size() + " for " + container);
[ { "docid": "a82c643d6c165240187eb9e6852b8ec0", "score": "0.0", "text": "public Statistic getLatest() {\n\t\tStatistic s = null;\n\t\tif (this.queue.size() > 0) {\n\t\t\ts = this.queue.get(0);\n\t\t} else {\n\t\t}\n\t\treturn s;\n\t}", "title": "" } ]
[ { "docid": "4faf0b43e2f27f24b1eaf440550db368", "score": "0.7692024", "text": "public int size(){\n return queue.size();\n }", "title": "" }, { "docid": "9377ad5448f3396df5cd540dfb4e731c", "score": "0.7496622", "text": "public int size(){\n return queue.size();\n }", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5ce6d488b390b06d4647ecc3daad061c", "score": "0.0", "text": "@Override\n\tpublic Object visit(RegularExpressionFunctionRef regularExpressionFunctionRef, Object param) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66284287", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65319943", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
ed9a43047e37206a37f12e979888e5f0
String path = root_path + "/" +"doc_"+channelid;
[ { "docid": "2e42934538a0c35fad6faa1ae5a4b541", "score": "0.48858985", "text": "public void ImportOneDocument(String filename) throws MessageException, SQLException\n\t{\n\t\tFile file = new File(filename);\n\t\tif(!file.exists())\n\t\t\treturn;\n\t\t\n\t\t//System.out.println(\"ImportOneDocument userid:...
[ { "docid": "df7095a73d0e15edbc6f18efb1f87552", "score": "0.6010991", "text": "private String getPath() {\n \t\tString path;\n \t\tif (isMix) {\n \t\t\tpath = MainActivity.ROOT_URL + MIXES_PATH + streamId + getMixCountParameter() + getContinuationParameter()\n \t\t\t\t\t+ getOnlyUnreadParameter();\n \t\t...
e045032cac57c163158c5061357581e5
Envoi de notre position aux autres joueurs
[ { "docid": "516cf2c47091a86ef4011bf8bfb0ecab", "score": "0.0", "text": "public void envoiPositionServeur(ClientTron client) {\n if (!joueurClient.getEvent().isEventConsumed()) {\n PacketCoord p = joueurClient.createPacketCoord();\n client.envoyerTCP(p);\n joueurCl...
[ { "docid": "a88816ecf5633207976f14ee6eb98dee", "score": "0.66944236", "text": "@Override\n public ISalle getPosition(){\n return position;\n }", "title": "" }, { "docid": "857c914b04f418eccec3942928f7ad97", "score": "0.6513468", "text": "public void agregapos(){\n//\t\tS...
660888a2b16598b7d5d6562143e8a855
sqrt method calculates the square root of the number by using Babylonian method
[ { "docid": "f00560987169f8f8970f982e40e16cfe", "score": "0.7207822", "text": "public static double sqrt(double findSqrt) {\n if (findSqrt == 0 ) {\n double answer = 0;\n return answer;\n }\n if (findSqrt < 0)\n return -1;\n\n double seed = 1; ...
[ { "docid": "8aff489254db7a8d7d77ac0bdda806cd", "score": "0.760751", "text": "private static double sqrt(int number) {\n double t;\n\n double squareRoot = number / 2;\n\n do {\n t = squareRoot;\n squareRoot = (t + (number / t)) / 2;\n } while ((t - square...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d4cd7d13c9111f25c313479274d9fa30", "score": "0.0", "text": "private static void scrub(String s) {\n\t\tfor(int i = s.length(); i > 0; i-- ){\r\n\t\t\tSystem.out.println(s.charAt(i));\r\n\t}\r\n\t\r\n\t}", "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...
28a0c2c986150d426f8390aa511f39bb
/ The method possJumps returns an ArrayList of Moves from the other method possibleJumps.
[ { "docid": "1e209463ed0c67e32b01875a6f82d33c", "score": "0.7343619", "text": "public ArrayList<Move> possJumps(int player, int x, int y, ArrayList<Pawn> pawns, Move jump, Square[][] board){\n\t\tArrayList<Move> moves = new ArrayList<Move>();\n\t\tthis.possibleJumps(player, x, y, pawns, jump, moves, boar...
[ { "docid": "090a12c83c9819be6b6d24e283987634", "score": "0.7035387", "text": "public ArrayList<Position> getPossibleMoves() {\n\t\tthis.possibleMoves.clear();\n\t\tthis.takenCheckers.clear();\n\t\tArrayList<Position> moves = new ArrayList<Position>();\n\t\tArrayList<Position> jumps = getJumps();\n\t\tif...
abed592d4ac979252286498bafd6d6ac
end paintComponent / Set the background color of the box Color c background color for the box
[ { "docid": "0191d7d572001652256e443acbd728a1", "score": "0.0", "text": "public void setBackgroundColor(Color c) {\r\n\t\tbackgroundColor = c;\r\n\t}", "title": "" } ]
[ { "docid": "43836239b21111d8fb2ed7bdb2f2e5e6", "score": "0.7637434", "text": "@Override\n \t\tprotected void paintComponent(Graphics g) {\n \t\t\tsuper.paintComponent(g);\n \t\t\tg.setColor(getBackground());\n \t\t\tg.drawRect(this.getX(), this.getY(), this.getWidth(), this.getHeight());\n ...
c2e3c582757448f5f475ac1ff26c3b45
Ticks the block if it's been scheduled
[ { "docid": "b39a26793baf1c8483c444e619db48e8", "score": "0.0", "text": "public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, Random p_149674_5_)\n{\n if (!p_149674_1_.isRemote)\n {\n if (p_149674_1_.getBlockLightValue(p_149674_2_, p_149674_3_ + 1, p_1...
[ { "docid": "95f02f225ca7938a4126fa0c86fa0993", "score": "0.6649242", "text": "@Override\n public boolean Tick()\n {\n System.out.println(\"Delay tick\");\n if ((int) (System.currentTimeMillis() - startTime) >= milliseconds)\n {\n return true;\n }\n return false;\n }", "title":...
bc5b09f7b2cdccb249adad05241a77a9
bytes data = 6;
[ { "docid": "1b2e578e820f5d24dd0321fcbc8fd88c", "score": "0.0", "text": "public com.google.protobuf.ByteString getData() {\n return data_;\n }", "title": "" } ]
[ { "docid": "093c6a4504d40e288edc042f0380fd37", "score": "0.72664475", "text": "byte[] getData();", "title": "" }, { "docid": "f06371854434abc421ac5324d0bd5437", "score": "0.70327556", "text": "byte[] getByteData();", "title": "" }, { "docid": "90d78a8f7fd7df697910f2141d98...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c5c894526a816dc5f30394f2660ab334", "score": "0.0", "text": "@Override\n\tpublic void continueTransforming(Graphics2D g2d, int x, int y) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6840185", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68005073", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "tit...
75871cfdbb334e5803f99b5802c5f928
Recursive method for "moving" disks.
[ { "docid": "5b138c52adbf1f0720f0d780599aa1c8", "score": "0.0", "text": "public static String showMoves(int n, char startPeg,\r\n char destPeg, char tempPeg) {\r\n if (n == 1) {\r\n return \"Move disk 1 from peg \" + startPeg\r\n + \" to peg \" + destPeg + ...
[ { "docid": "368d7cb0950633ace72919c4138cf71d", "score": "0.64209", "text": "@Override\n\tpublic Set<PathImpl> step() {\n\t\tSet<PathImpl> result = new HashSet<>();\n\t\t\n\t\t/* We try each direction */\n\t\tfor (Dir dir : Dir.getAll()) {\n\t\t\t\n\t\t\t/* This is the new position if we would take direc...
fa3b198f8f608586e4a1cb4f4fff536a
/ Opens a Dialog Fragment Which Allows you to add a review and rate a product
[ { "docid": "41a7104904d368b0957e68079684d8ad", "score": "0.61652946", "text": "private void writeReview() {\n review = new addReviewFragment();\n review.setUser(user);\n review.setProduct(product);\n review.show(getSupportFragmentManager(), \"\");\n\n }", "title": "" ...
[ { "docid": "f93552022da4aa0fbd4dc88e3e624074", "score": "0.67898655", "text": "private void showRatingDialog() {\n RatingDialogFragment.newInstance().show(getSupportFragmentManager(), TAG_RATING_DIALOG);\n }", "title": "" }, { "docid": "2a0a6e0474ea0b72d6ea35ca3983b506", "score...
517d0f61aadbedc8d3e8796658884209
optional .com.bingo.server.msg.LoginCreateRoleRequest LoginCreateRoleRequest = 2;
[ { "docid": "ffbc7c2b26bf5a5fa34774df449a0372", "score": "0.67597014", "text": "public Builder setLoginCreateRoleRequest(com.bingo.server.msg.Login.LoginCreateRoleRequest value) {\n if (loginCreateRoleRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExce...
[ { "docid": "7f991870c81ace83f16e945b07903338", "score": "0.8808482", "text": "com.bingo.server.msg.Login.LoginCreateRoleRequest getLoginCreateRoleRequest();", "title": "" }, { "docid": "068a6f852c8395945c20ebbcf0920d90", "score": "0.85383856", "text": "com.bingo.server.msg.Login.Logi...
c477b7fc35bb2b0129e6cf891ce823b2
only static methods, don't instantiate
[ { "docid": "5be239fed1b714f68096ffd3d118e7a4", "score": "0.0", "text": "public static void constrain(Container container, Component component, int grid_x, int grid_y, int grid_width, int grid_height){\r\n\t\tconstrain(container, component, grid_x, grid_y, grid_width, grid_height, GridBagConstraints.NONE...
[ { "docid": "eaf74ca8e264ae69325646e1f98f40ae", "score": "0.7622978", "text": "private staticMethods(){\n\n }", "title": "" }, { "docid": "2d27e68ca7cc383c5b94ac3d012f85fb", "score": "0.73164725", "text": "private Util() {\n\t\t// This class should not be instantiated.\n\t}", "...
0edd99ee241d6fcdae6b1c65074b78f7
reserves the seat for holder if it is not holded by another user
[ { "docid": "26ec67e23f1d3368ae4af5fba09e52d7", "score": "0.67993474", "text": "public boolean reserve(User holder){\n\n lock.lock();\n if(is_reserved){\n lock.unlock();\n return false;\n }\n try {\n holder_name=hold...
[ { "docid": "d849cf714b153f2f13b01dfc15cca7cf", "score": "0.69966793", "text": "public void give_up(User loser){\n lock.lock();\n if(holder_name==loser.get_name()){\n holder_name=\"\";\n is_reserved=false;\n }\n lock.unlock();\n ...
addf664da90a6ad103b69ccf71a3bdba
Fix some header problems in midifiles
[ { "docid": "d2a299977150a0bb5830c2bc77f85d24", "score": "0.48280486", "text": "private static byte[] fixDecapMidiFileIfNecessary(byte[] content)\n\t\t\tthrows Exception {\n\n\t\tint header = BinaryUtils.nextOccur(new byte[] { 'M', 'T', 'h', 'd' },\n\t\t\t\tcontent, 0);\n\t\tif (header != 0)\n\t\t\tthrow...
[ { "docid": "8a0ac41f0e93b8301f3569971c4a4d04", "score": "0.5850188", "text": "private String header() {\n/* 992 */ return this.header;\n/* */ }", "title": "" }, { "docid": "f7d199a702b723393654215d603dc2af", "score": "0.5738199", "text": "public void modifyHeader(String f...