idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
9,200 | programmatically removes all formats concode_field_sep String gdalTranslateExecutable concode_elem_sep Map<String,Format> formatsByMimeType concode_elem_sep Map<String,String> environment concode_elem_sep String gdalTranslatePath concode_elem_sep ToolWrapperFactory gdalWrapperFactory concode_elem_sep GeoTiffFormat GEOT... | void function ( ) { formatsLock . writeLock ( ) . lock ( ) ; try { clearFormatsInternal ( ) ; } finally { formatsLock . writeLock ( ) . unlock ( ) ; } } |
9,201 | a function that deletes the user password . concode_field_sep DataOutputStream output concode_elem_sep boolean connected concode_elem_sep DataInputStream input concode_elem_sep String idTextFile concode_elem_sep ConnectGUI gui concode_elem_sep Socket socket concode_elem_sep ClientID id concode_elem_sep String message c... | void function ( ) { try { BufferedWriter loc0 = new BufferedWriter ( new FileWriter ( idTextFile ) ) ; loc0 . write ( "srini_string" ) ; loc0 . close ( ) ; } catch ( IOException loc0 ) { } id . setID ( "srini_string" ) ; gui . setInfoDisplay ( "srini_string" ) ; } |
9,202 | set the exception handler for all native module calls . if not set , the default devsupportmanager will be used , which shows a redbox in dev mode and rethrows crashes the app in prod mode . concode_field_sep NotThreadSafeBridgeIdleDebugListener mBridgeIdleDebugListener concode_elem_sep List<ReactPackage> mPackages con... | Builder function ( NativeModuleCallExceptionHandler arg0 ) { mNativeModuleCallExceptionHandler = arg0 ; return this ; } |
9,203 | check whether tokenstream s generated with analyzer provide with character terms . concode_field_sep ImmutableMap<String,Set<?>> namedStopWords concode_field_sep boolean isNoStopwords concode_elem_sep CharArraySet parseArticles concode_elem_sep CharArraySet resolveNamedWords concode_elem_sep Version parseAnalysisVersio... | boolean function ( Analyzer arg0 , String arg1 ) { return isCharacterTokenStream ( arg0 . tokenStream ( arg1 , "srini_string" ) ) ; } |
9,204 | returns the nth link attached to this gate concode_field_sep long lastDecayCalculation concode_elem_sep int type concode_elem_sep int DEFAULT_GATELOAD_ASSUMPTION concode_elem_sep double activation concode_elem_sep NetEntity center concode_elem_sep OutputFunctionParameter[] ofParams concode_elem_sep double minimum conco... | Link function ( int arg0 ) { if ( arg0 >= links . size ( ) || arg0 < 0 ) return null ; return links . get ( arg0 ) ; } |
9,205 | returns the original position starting from 0 of the operator that is now at i-th position among the reward properties . concode_field_sep List<Integer> stepBoundsProb concode_elem_sep List<Integer> stepBounds concode_elem_sep List<OpRelOpBound> opInfos concode_elem_sep List<Integer> origPositionsReward concode_elem_se... | int function ( int arg0 ) { return origPositionsReward . get ( arg0 ) ; } |
9,206 | check and sleep for refresh_time mills concode_field_sep Logger logger concode_elem_sep SoulissTypicals soulissTypicalsRecipients concode_elem_sep EventPublisher eventPublisher concode_field_sep void check | void function ( ) { check ( soulissTypicalsRecipients ) ; } |
9,207 | sets the id . concode_field_sep int iconId concode_elem_sep int id concode_elem_sep String text concode_elem_sep String mark concode_field_sep int getIconId concode_elem_sep String getMark concode_elem_sep void setMark concode_elem_sep void setIconId concode_elem_sep String getText concode_elem_sep int getId concode_el... | void function ( int arg0 ) { this . id = arg0 ; } |
9,208 | returns the fully qualified name of the class belonging to this stacktraceelement . concode_field_sep String fileName concode_elem_sep long serialVersionUID concode_elem_sep String methodName concode_elem_sep int lineNumber concode_elem_sep int NATIVE_LINE_NUMBER concode_elem_sep String declaringClass concode_field_sep... | String function ( ) { return ( declaringClass == null ) ? "srini_string" : declaringClass ; } |
9,209 | gets the generation number represented by this reference . concode_field_sep int objf concode_elem_sep int genf concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int getObjectNumber | int function ( ) { return genf ; } |
9,210 | get the hashcode of x or 0 if x == null . concode_field_sep String classname concode_elem_sep MarshalledObject<?> data concode_elem_sep boolean restart concode_elem_sep ActivationGroupID groupid concode_elem_sep String location concode_elem_sep long serialVersionUID concode_field_sep String getLocation concode_elem_sep... | int function ( Object arg0 ) { return arg0 == null ? 0 : arg0 . hashCode ( ) ; } |
9,211 | gets the no . of column present in the first row of the currently opened sheet . concode_field_sep Map<String,List<String>> storedData concode_elem_sep Row openRow concode_elem_sep int noOfSheet concode_elem_sep Sheet openSheet concode_elem_sep Workbook openWorkbook concode_elem_sep Cell openCell concode_field_sep void... | int function ( ) { return this . getNoOfColumn ( 0 ) ; } |
9,212 | hook for blocking navigation by the cordova webview . this applies both to top-level and iframe navigations . this will be called when the webview 's needs to know whether to navigate to a new page . return false to block the navigation : if any plugin returns false , cordova will block the navigation . if all plugins ... | Boolean function ( String arg0 ) { return null ; } |
9,213 | set the current log level . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep ... | void function ( int arg0 ) { LOGLEVEL = arg0 ; Log . i ( "srini_string" , "srini_string" + arg0 ) ; } |
9,214 | write xml header . concode_field_sep StringBuilder buffer concode_elem_sep int CLOSING concode_elem_sep int OPENING concode_elem_sep int NO_CONTENT concode_elem_sep Writer writer concode_field_sep void writeText concode_elem_sep void sendData concode_elem_sep void writeElement concode_elem_sep void writeElement concode... | void function ( ) { buffer . append ( utf - 8 ) ; } |
9,215 | remove the specific page id from the buffer pool . needed by the recovery manager to ensure that the buffer pool does n't keep a rolled back page in its cache . concode_field_sep int pageSize concode_elem_sep int numPages concode_elem_sep int PAGE_SIZE concode_elem_sep HashMap<PageId,Page> m_pages concode_elem_sep int ... | void function ( PageId arg0 ) { } |
9,216 | add information message . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep ValueBinding getValueBinding concode_elem_sep Object getElValue concode_elem_sep Object getManagedBean concode_elem_sep void addErrorMessage conco... | void function ( String arg0 ) { addInfoMessage ( null , arg0 ) ; } |
9,217 | display as hex concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | String function ( long arg0 ) { return "srini_string" + Long . toHexString ( arg0 ) ; } |
9,218 | the task output a normal record . concode_field_sep boolean digestReceived concode_elem_sep Throwable exception concode_elem_sep float progressValue concode_elem_sep Reporter reporter concode_elem_sep Map<Integer,Counters.Counter> registeredCounters concode_elem_sep String expectedDigest concode_elem_sep boolean done c... | void function ( K arg0 , V arg1 ) { collector . collect ( arg0 , arg1 ) ; } |
9,219 | the line in the source file . the first line is numbered 1 ; 0 means no line number information is available . concode_field_sep FileObject filename concode_elem_sep Position.LineMap lineMap concode_elem_sep int position concode_field_sep File file concode_elem_sep FileObject fileObject concode_elem_sep int column conc... | int function ( ) { if ( lineMap == null ) { return 0 ; } else { return lineMap . getLineNumber ( position ) ; } } |
9,220 | allocates a url for a new hsqldb database . concode_field_sep AtomicInteger id concode_elem_sep TempDb INSTANCE concode_field_sep void test2 concode_elem_sep void testEnumerableWithJdbcJoinWithWhereClause concode_elem_sep void test concode_elem_sep void testEnumerableWithJdbcJoin concode_elem_sep Connection setup conco... | String function ( ) { return "srini_string" + id . getAndIncrement ( ) ; } |
9,221 | implements the getter for feature ' + comment : string ' concode_field_sep List<OJElement> allInstances concode_elem_sep Map<Class<?>,Long> counts concode_elem_sep String f_comment concode_elem_sep boolean usesAllInstances concode_elem_sep String f_name concode_field_sep void setName concode_elem_sep String getName con... | String function ( ) { return f_comment ; } |
9,222 | some text . concode_field_sep int CONSTANT concode_elem_sep InnerClassWithAnnotations anon concode_elem_sep String fFirstName concode_elem_sep String tThirdName concode_elem_sep String sSecondName concode_field_sep String method6 concode_elem_sep String method6 concode_elem_sep String method6 concode_elem_sep String me... | String function ( String arg0 ) { return "srini_string" ; } |
9,223 | gets the value of the dateregistered property . concode_field_sep Long idGoal concode_elem_sep GoalType goalType concode_elem_sep String goalValue concode_elem_sep String dateRegistered concode_elem_sep String status concode_field_sep void setGoalType concode_elem_sep void setGoalValue concode_elem_sep String getGoalVa... | String function ( ) { return dateRegistered ; } |
9,224 | sets the value of the databalancebefore property . concode_field_sep String bucketName concode_elem_sep DataBalanceWithUnlimited dataBalanceAfter concode_elem_sep BigDecimal dedicatedAccountBefore concode_elem_sep String bucketBalanceBefore concode_elem_sep BigDecimal dedicatedAccountAfter concode_elem_sep BigDecimal d... | void function ( DataBalanceWithUnlimited arg0 ) { this . dataBalanceBefore = arg0 ; } |
9,225 | return the compressed bytes . concode_field_sep byte[] bytes concode_elem_sep int crc32 concode_field_sep void writeTo concode_elem_sep String string concode_elem_sep int hashCode concode_elem_sep void assertConsistent concode_elem_sep CompressedXContent readCompressedString concode_elem_sep boolean equals concode_elem... | byte [ ] function ( ) { return this . bytes ; } |
9,226 | implements value #getliststyle . concode_field_sep Value computedValue concode_elem_sep Value cascadedValue concode_field_sep String getStringValue concode_elem_sep Value item concode_elem_sep Value getBottom concode_elem_sep Value getComputedValue concode_elem_sep Value getBlue concode_elem_sep Value getCascadedValue ... | String function ( ) { return computedValue . getListStyle ( ) ; } |
9,227 | determine window width to use for a scalar multiplication of the given size . concode_field_sep int[] EMPTY_INTS concode_elem_sep int[] DEFAULT_WINDOW_SIZE_CUTOFFS concode_elem_sep byte[] EMPTY_BYTES concode_elem_sep String PRECOMP_NAME concode_field_sep int[] generateCompactNaf concode_elem_sep byte[] generateJSF conc... | int function ( int arg0 , int [ ] arg1 ) { int loc0 = 0 ; for ( ; loc0 < arg1 . length ; ++ loc0 ) { if ( arg0 < arg1 [ loc0 ] ) { break ; } } return loc0 + 2 ; } |
9,228 | sets the value of the srgbclr property . concode_field_sep CTSRgbColor srgbClr concode_elem_sep int pos concode_elem_sep CTHslColor hslClr concode_elem_sep CTSchemeColor schemeClr concode_elem_sep CTSystemColor sysClr concode_elem_sep CTPresetColor prstClr concode_elem_sep CTScRgbColor scrgbClr concode_field_sep CTSyst... | void function ( CTSRgbColor arg0 ) { this . srgbClr = arg0 ; } |
9,229 | forces the reference object to be enqueued if it has been associated with a queue . concode_field_sep Reference<?> pendingNext concode_elem_sep T referent concode_elem_sep Reference queueNext concode_elem_sep ReferenceQueue<? super T> queue concode_field_sep T get concode_elem_sep void initReferent concode_elem_sep voi... | boolean function ( ) { return enqueueInternal ( ) ; } |
9,230 | gets the time taken . concode_field_sep boolean debug concode_elem_sep float realTarget concode_elem_sep float normalizedTarget concode_elem_sep float normalizedDfactor concode_elem_sep float velocity concode_elem_sep float normalizedValue concode_elem_sep int originalLoopCount concode_elem_sep long timeTaken concode_e... | float function ( ) { return this . timeTaken ; } |
9,231 | creates a new instance of contenttype . concode_field_sep ContentType TEXT_HTML concode_elem_sep Charset charset concode_elem_sep ContentType MULTIPART_FORM_DATA concode_elem_sep ContentType APPLICATION_FORM_URLENCODED concode_elem_sep ContentType APPLICATION_XML concode_elem_sep ContentType DEFAULT_TEXT concode_elem_s... | ContentType function ( final String arg0 , final Charset arg1 ) { final String loc0 = Args . notBlank ( arg0 , "srini_string" ) . toLowerCase ( Locale . US ) ; Args . check ( valid ( loc0 ) , "srini_string" ) ; return new ContentType ( loc0 , arg1 ) ; } |
9,232 | set the attribute name concode_field_sep Object attributeValue concode_elem_sep Type attributeType concode_elem_sep String attributeName concode_field_sep Type getAttributeType concode_elem_sep void setAttributeType concode_elem_sep Object getAttributeValue concode_elem_sep void setAttributeValue concode_elem_sep Strin... | void function ( String arg0 ) { attributeName = arg0 ; } |
9,233 | adds hl7 permissions to the request 's subject . concode_field_sep String HL7_SUBJECT_PERMISSION concode_elem_sep String HL7_RESOURCE_PERMISSION concode_elem_sep String RESOURCE_TYPE concode_elem_sep boolean debug concode_elem_sep String CONSENTED_SUBJECT_ID concode_elem_sep String PHYSICIAN concode_elem_sep String MED... | void function ( List < String > arg0 , RequestType arg1 ) { SubjectType loc0 = arg1 . getSubject ( ) . iterator ( ) . next ( ) ; if ( loc0 != null ) { for ( String loc1 : arg0 ) { loc0 . getAttribute ( ) . add ( RequestAttributeFactory . createStringAttributeType ( HL7_SUBJECT_PERMISSION , null , loc1 ) ) ; } } } |
9,234 | return the name of the form where an error occurred concode_field_sep int result concode_elem_sep String output concode_elem_sep int GENERAL_FAILURE concode_elem_sep String formName concode_elem_sep int YAIL_GENERATION_ERROR concode_elem_sep int SUCCESS concode_elem_sep String error concode_field_sep String getError co... | String function ( ) { return formName ; } |
9,235 | test of setgameover method , of class state . concode_field_sep PlaceHolder placeHolder concode_field_sep void testIsGameOver concode_elem_sep void setUpClass concode_elem_sep void testToggleState concode_elem_sep void testGetUserMove concode_elem_sep void setUp concode_elem_sep void tearDownClass concode_elem_sep void... | void function ( ) { System . out . println ( "srini_string" ) ; boolean loc0 = true ; boolean loc1 = true ; State loc2 = new State ( ) ; loc2 . setGameOver ( loc0 ) ; boolean loc3 = loc2 . isGameOver ( ) ; assertEquals ( loc1 , loc3 ) ; } |
9,236 | sets the service feature of the object passed in . the service value is retreived as an attribute from the node , if null , the default `` wfs '' is used . concode_field_sep PlaceHolder placeHolder concode_field_sep void set concode_elem_sep BigInteger asBigInteger concode_elem_sep void version concode_elem_sep void ou... | void function ( EObject arg0 , Node arg1 ) { String loc0 = ( String ) arg1 . getAttributeValue ( "srini_string" ) ; if ( loc0 == null ) { loc0 = "srini_string" ; } set ( arg0 , "srini_string" , loc0 ) ; } |
9,237 | called whenever the osgi framework starts our bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = arg0 ; logger . debug ( "srini_string" ) ; } |
9,238 | getter for the editing domain of the resource used in this refactoring . concode_field_sep RefactoringHelper helper concode_elem_sep List<T> contextObjects concode_field_sep Resource getResource concode_elem_sep boolean internalDoUndo concode_elem_sep List<?> getAffectedFiles concode_elem_sep String getCommandLabel con... | TransactionalEditingDomain function ( ) { return TransactionUtil . getEditingDomain ( getResource ( ) ) ; } |
9,239 | utility to determine if the countdowntime parameter is paste due or expired . this method should not be called via regular value binding instead it should only be called from validator ar converter calls . concode_field_sep int HOUR_COMPONENT concode_elem_sep int TIME_LEFT_EXPIRED concode_elem_sep boolean newBidPrice c... | boolean function ( long [ ] arg0 ) { return arg0 [ AuctionItemBean . DAY_COMPONENT ] <= 0 && arg0 [ AuctionItemBean . HOUR_COMPONENT ] <= 0 && arg0 [ AuctionItemBean . MINUTE_COMPONENT ] <= 0 && arg0 [ AuctionItemBean . SECOND_COMPONENT ] <= 0 ; } |
9,240 | returns the path attribute of the cookie concode_field_sep String cookieDomain concode_elem_sep Date cookieExpiryDate concode_elem_sep int cookieVersion concode_elem_sep String name concode_elem_sep boolean isSecure concode_elem_sep String cookiePath concode_elem_sep String value concode_elem_sep long serialVersionUID ... | String function ( ) { return cookiePath ; } |
9,241 | method to retrieve the current formatted date in yyyymmdd concode_field_sep Logger log concode_field_sep List<String> splitSQLSupportedString concode_elem_sep String readAndUpdateTimeStamp concode_elem_sep String getDBTimeStamp concode_elem_sep boolean isNotNullOrEmpty concode_elem_sep String populateStringFromList con... | String function ( ) { String loc0 = "srini_string" ; SimpleDateFormat loc1 = new SimpleDateFormat ( loc0 ) ; Calendar loc2 = Calendar . getInstance ( ) ; return loc1 . format ( loc2 . getTime ( ) ) ; } |
9,242 | extract the corresponding raw target label according to a code concode_field_sep List<Integer> predictors concode_elem_sep Dictionary targetDictionary concode_elem_sep String targetName concode_elem_sep String CANNOT_CONSTRUCT_CONVERTER concode_elem_sep Map<String,Class<? extends FeatureVectorEncoder>> TYPE_DICTIONARY ... | String function ( int arg0 ) { for ( String loc0 : targetDictionary . values ( ) ) { if ( targetDictionary . intern ( loc0 ) == arg0 ) { return loc0 ; } } return null ; } |
9,243 | ensures that this object is in the stopped state . if this object is in the running state , then this has the effect of adding to the total attribute the elapsed time since the last transition from stopped to running state and sets the running attribute to false . if this object is not in the running state , this call ... | void function ( ) { if ( running ) { total += System . currentTimeMillis ( ) - startTime ; running = false ; } } |
9,244 | returns the id of the node for simpler identification . concode_field_sep Node parent concode_elem_sep Parser parser concode_elem_sep Node[] children concode_elem_sep int id concode_field_sep void jjtOpen concode_elem_sep Node jjtGetParent concode_elem_sep void jjtAddChild concode_elem_sep int jjtGetNumChildren concode... | int function ( ) { return id ; } |
9,245 | verify if the given fetch orientation is part of the supported orientation types . concode_field_sep HiveSession parentSession concode_elem_sep EnumSet<FetchOrientation> DEFAULT_FETCH_ORIENTATION_SET concode_elem_sep long lastAccessTime concode_elem_sep HiveConf configuration concode_elem_sep boolean hasResultSet conco... | void function ( FetchOrientation arg0 , EnumSet < FetchOrientation > arg1 ) { if ( ! arg1 . contains ( arg0 ) ) { throw new HiveSQLException ( "srini_string" + arg0 . toString ( ) + "srini_string" , "srini_string" ) ; } } |
9,246 | fires a object deleted event . concode_field_sep boolean enabled_ concode_elem_sep String copyright concode_elem_sep ErrorEventSupport errorEventSupport_ concode_elem_sep VObjectEventSupport objectEventSupport_ concode_elem_sep VObject object_ concode_elem_sep WorkingEventSupport workingEventSupport_ concode_field_sep ... | void function ( ) { objectEventSupport_ . fireObjectDeleted ( object_ ) ; } |
9,247 | close the literal data packet - this is equivalent to calling close on the stream returned by the open method . concode_field_sep char UTF8 concode_elem_sep Date NOW concode_elem_sep String CONSOLE concode_elem_sep char BINARY concode_elem_sep boolean oldFormat concode_elem_sep char TEXT concode_elem_sep BCPGOutputStre... | void function ( ) { if ( pkOut != null ) { pkOut . finish ( ) ; pkOut . flush ( ) ; pkOut = null ; } } |
9,248 | gets this cloudlet object . concode_field_sep int peId concode_elem_sep int index concode_elem_sep double startExecTime concode_elem_sep int NOT_FOUND concode_elem_sep double totalCompletionTime concode_elem_sep int duration concode_elem_sep int[] peArrayId concode_elem_sep int machineId concode_elem_sep double arrival... | Cloudlet function ( ) { return cloudlet ; } |
9,249 | returns the a2 of this country . concode_field_sep Country _country concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getNameCurrentValue concode_elem_sep java.lang.String getName concode_... | java . lang . String function ( ) { return _country . getA2 ( ) ; } |
9,250 | celkova cena za polozku , cena za litr se pocita z aktualniho cerpani concode_field_sep Date date concode_elem_sep Costs costs concode_elem_sep double price concode_elem_sep double kilometers concode_elem_sep int id concode_elem_sep Refueling refuelings concode_elem_sep long serialVersionUID concode_field_sep Refueling... | void function ( double arg0 ) { this . price = arg0 ; } |
9,251 | this method is not supported , because matches should not normally need to have matches removed . concode_field_sep List<Double> scores concode_elem_sep Feature topMatch concode_elem_sep FeatureDataset dataset concode_elem_sep double topScore concode_field_sep void add concode_elem_sep void add concode_elem_sep void ad... | void function ( ) { throw new UnsupportedOperationException ( ) ; } |
9,252 | reallocate a buffer . concode_field_sep PlaceHolder placeHolder concode_field_sep void rotate concode_elem_sep void rotate concode_elem_sep void rotate | float [ ] function ( float [ ] arg0 , int arg1 , int arg2 ) { assert ( arg2 > arg1 ) ; float [ ] loc0 = new float [ arg2 ] ; if ( arg0 != null ) { System . arraycopy ( arg0 , 0 , loc0 , 0 , arg1 ) ; } return loc0 ; } |
9,253 | converts a byte array into an oscpacket either an oscmessage or oscbundle . concode_field_sep Charset charset concode_elem_sep String NO_ARGUMENT_TYPES concode_elem_sep String BUNDLE_START concode_elem_sep int streamPosition concode_elem_sep byte[] bytes concode_elem_sep char BUNDLE_IDENTIFIER concode_elem_sep int byte... | OSCPacket function ( byte [ ] arg0 , int arg1 ) { final Input loc0 = new Input ( arg0 , arg1 ) ; final OSCPacket loc1 ; if ( isBundle ( loc0 ) ) { loc1 = convertBundle ( loc0 ) ; } else { loc1 = convertMessage ( loc0 ) ; } return loc1 ; } |
9,254 | get the possibly null template directory . concode_field_sep File outputDir concode_elem_sep File jsDocDir concode_elem_sep boolean debug concode_elem_sep boolean recursive concode_elem_sep Log log concode_elem_sep boolean debug concode_elem_sep File tutorialsDirectory concode_elem_sep boolean recursive concode_elem_se... | File function ( ) { return templateDirectory ; } |
9,255 | returns the osgi service identifier . concode_field_sep RoleService _roleService concode_field_sep java.util.List<com.liferay.portal.kernel.model.Role> getUserRelatedRoles concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.model.Role updateRole concode_elem_sep void unsetUserRoles concod... | java . lang . String function ( ) { return _roleService . getOSGiServiceIdentifier ( ) ; } |
9,256 | tests the set sleep time method . concode_field_sep Settings settings concode_field_sep void setNegativeVelocityConstraintSolverIterations concode_elem_sep void setValidWarmStartDistance concode_elem_sep void setMaximumRotation concode_elem_sep void setValidMaximumLinearCorrection concode_elem_sep void setValidAngularT... | void function ( ) { settings . setSleepTime ( 12.0 ) ; TestCase . assertEquals ( 12.0 , settings . getSleepTime ( ) ) ; } |
9,257 | set the permission bits of a file . the permission bits are set to the provided mode . this method is only implemented for oses of the unix family and makes use of the ` chmod ' function of the native c library . see ` man 2 chmod ' for more information . concode_field_sep int S_IRUSR concode_elem_sep int gid concode_e... | int function ( String arg0 , int arg1 ) { if ( isWindows ( ) ) { throw new UnsupportedOperationException ( "srini_string" ) ; } return getUnixCLibrary ( ) . chmod ( arg0 , arg1 ) ; } |
9,258 | helper to check auth is set concode_field_sep String apiKey concode_elem_sep Logger log concode_elem_sep String login concode_elem_sep String BITLY_API_URL concode_field_sep String encode concode_elem_sep String getLogin concode_elem_sep void init concode_elem_sep String shorten concode_elem_sep String shorten concode_... | void function ( ) { if ( StringUtils . isBlank ( login ) || StringUtils . isBlank ( apiKey ) ) { throw new IllegalArgumentException ( "srini_string" + login + "srini_string" + apiKey ) ; } } |
9,259 | unlink a node from a linked list and link into the reclaimed list . concode_field_sep int[] hashTable concode_elem_sep boolean fixedSize concode_elem_sep int newNodePointer concode_elem_sep int elementCount concode_elem_sep int[] linkTable concode_elem_sep int reclaimedNodePointer concode_field_sep void resetTables con... | void function ( int arg0 , int arg1 , int arg2 ) { if ( arg1 == - 1 ) { hashTable [ arg0 ] = linkTable [ arg2 ] ; } else { linkTable [ arg1 ] = linkTable [ arg2 ] ; } linkTable [ arg2 ] = reclaimedNodePointer ; reclaimedNodePointer = arg2 ; elementCount -- ; } |
9,260 | deserialize #context . concode_field_sep List<Localizable> msgPatterns concode_elem_sep Throwable throwable concode_elem_sep Map<String,Object> context concode_elem_sep long serialVersionUID concode_elem_sep List<Object[]> msgArguments concode_field_sep String getLocalizedMessage concode_elem_sep void writeObject conco... | void function ( ObjectInputStream arg0 ) { final int loc0 = arg0 . readInt ( ) ; context = new HashMap < String , Object > ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { final String loc2 = ( String ) arg0 . readObject ( ) ; final Object loc3 = arg0 . readObject ( ) ; context . put ( loc2 , loc3 ) ; } } |
9,261 | find out how much work needs to be done . concode_field_sep File file concode_elem_sep ResourceBundle messageBundle concode_elem_sep int lengthOfTask concode_elem_sep String dialogMessage concode_elem_sep Document document concode_elem_sep Logger logger concode_elem_sep boolean done concode_elem_sep int current concode... | int function ( ) { return lengthOfTask ; } |
9,262 | creates a random string whose length is the number of characters specified . characters will be chosen from the set of characters specified . concode_field_sep PlaceHolder placeHolder concode_field_sep String randomAlphabetic concode_elem_sep String randomAlphanumeric concode_elem_sep String randomAscii concode_elem_se... | String function ( int arg0 , char [ ] arg1 ) { if ( arg1 == null ) { return random ( arg0 , 0 , 0 , false , false , null , ThreadLocalRandom . current ( ) ) ; } return random ( arg0 , 0 , arg1 . length , false , false , arg1 , ThreadLocalRandom . current ( ) ) ; } |
9,263 | this function fills a rectangle with a vertical gradient . this implementation does not use the gradient mechanism based on background patterns since they do not work stable on all systems . concode_field_sep PlaceHolder placeHolder concode_field_sep void fillVerticalGradientRoundedRectangle concode_elem_sep Color mixC... | void function ( Graphics arg0 , Rectangle arg1 , Color arg2 , Color arg3 ) { arg0 . pushState ( ) ; arg0 . setForegroundColor ( arg3 ) ; arg0 . setBackgroundColor ( arg2 ) ; arg0 . fillGradient ( arg1 . x , arg1 . y , arg1 . width , arg1 . height , true ) ; arg0 . popState ( ) ; } |
9,264 | convert ebus type int concode_field_sep Logger logger concode_field_sep byte[] encode concode_elem_sep byte decodeBCD concode_elem_sep short decodeUChar concode_elem_sep byte[] encodeWord concode_elem_sep short decodeDATA1b concode_elem_sep float decodeDATA2c concode_elem_sep float decodeDATA2b concode_elem_sep byte en... | short function ( byte [ ] arg0 ) { return ( short ) ( arg0 [ 0 ] << 8 | arg0 [ 1 ] & 0xFF ) ; } |
9,265 | helper method that will check to see if the form containing this tag is being rendered as a result of validation errors . this is not actually used by the default strategy , but is here to help subclasses provide different behaviour for when the form is rendering normally vs. in error . concode_field_sep Log log concod... | boolean function ( InputTagSupport arg0 ) { boolean loc0 = false ; ActionBean loc1 = arg0 . getParentFormTag ( ) . getActionBean ( ) ; if ( loc1 != null ) { ValidationErrors loc2 = loc1 . getContext ( ) . getValidationErrors ( ) ; loc0 = ( loc2 != null && loc2 . size ( ) > 0 ) ; } return loc0 ; } |
9,266 | getcount concode_field_sep AccessPointDao m_accessPointDao concode_elem_sep Lock m_writeLock concode_elem_sep SecurityContext m_securityContext concode_elem_sep UriInfo m_uriInfo concode_elem_sep ReentrantReadWriteLock m_globalLock concode_elem_sep ServletContext m_servletContext concode_elem_sep Lock m_readLock concod... | String function ( ) { readLock ( ) ; try { return Integer . toString ( m_accessPointDao . countAll ( ) ) ; } finally { readUnlock ( ) ; } } |
9,267 | set the amplitude of the oscillator , range is 0 , 1 . concode_field_sep float leftScale concode_elem_sep float portStep concode_elem_sep AudioSignal ampMod concode_elem_sep float amp concode_elem_sep float newPan concode_elem_sep float freq concode_elem_sep float stepSize concode_elem_sep AudioListener listener concod... | void function ( float arg0 ) { newAmp = constrain ( arg0 , 0 , 1 ) ; } |
9,268 | answers the hash of the receiver . concode_field_sep long serialVersionUID concode_elem_sep String name concode_elem_sep int ordinal concode_field_sep Class<E> getDeclaringClass concode_elem_sep T[] getValues concode_elem_sep T valueOf concode_elem_sep boolean equals concode_elem_sep String name concode_elem_sep Object... | int function ( ) { return ordinal + ( name == null ? 0 : name . hashCode ( ) ) ; } |
9,269 | a state must be reachable . concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphJavaValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart concode_field_sep ... | void function ( ) { prepareStateTest ( ) ; assertFalse ( validator . validate ( state , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertError ( diagnostics , ISSUE_NODE_NOT_REACHABLE ) ; } |
9,270 | create an accountinfocache with the currently loaded account entities . concode_field_sep AccountCache accountCache concode_elem_sep Map<Account.Id,Account> out concode_field_sep void want concode_elem_sep void want concode_elem_sep Account get | AccountInfoCache function ( ) { final List < AccountInfo > loc0 = new ArrayList < > ( out . size ( ) ) ; for ( final Account loc1 : out . values ( ) ) { loc0 . add ( new AccountInfo ( loc1 ) ) ; } return new AccountInfoCache ( loc0 ) ; } |
9,271 | alias to booleanproperty string name concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep void setProperty concode_elem_sep void setSystemProperty concode_elem_sep String property concode_elem_sep String prop... | boolean function ( String arg0 ) { return booleanProperty ( arg0 ) ; } |
9,272 | getting the text to be displayed for the build link . concode_field_sep String projectUrl concode_elem_sep String projectDisplayName concode_elem_sep List<FailureCauseDisplayData> downstreamFailureCauses concode_elem_sep String buildUrl concode_elem_sep String buildDisplayName concode_elem_sep Links links concode_elem_... | String function ( ) { return buildDisplayName ; } |
9,273 | called when he system received an ssl client certificate request . plugin can use the supplied clientcertrequest to process this certificate challenge . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName ... | boolean function ( CordovaWebView arg0 , ICordovaClientCertRequest arg1 ) { return false ; } |
9,274 | the maximum number of strongly consistent reads consumed per second before dynamodb returns a throttlingexception . for more information , see specifying read and write requirements in the amazon dynamodb developer guide . concode_field_sep Long writeCapacityUnits concode_elem_sep Long readCapacityUnits concode_field_s... | ProvisionedThroughput function ( Long arg0 ) { setReadCapacityUnits ( arg0 ) ; return this ; } |
9,275 | program entry point concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( String [ ] arg0 ) { DwarvenGoldmineFacade loc0 = new DwarvenGoldmineFacade ( ) ; loc0 . startNewDay ( ) ; loc0 . digOutGold ( ) ; loc0 . endDay ( ) ; } |
9,276 | set a view object to be used by the dispatcherservlet . will override any pre-existing view name or view . concode_field_sep boolean requestHandled concode_elem_sep Object view concode_elem_sep boolean redirectModelScenario concode_elem_sep ModelMap defaultModel concode_elem_sep SessionStatus sessionStatus concode_elem... | void function ( Object arg0 ) { this . view = arg0 ; } |
9,277 | returns the corresponding database id that is associated with this instance . concode_field_sep Optional<Integer> argumentIndex concode_elem_sep Optional<Integer> offset concode_elem_sep Optional<Integer> numberOfElements concode_elem_sep String name concode_elem_sep int id concode_elem_sep BaseType parentType concode_... | int function ( ) { return id ; } |
9,278 | the name of the source field to map to the field . constraints : length : 1 - 64 pattern : a-z a-z0-9 _ concode_field_sep String sourceField concode_elem_sep Boolean returnEnabled concode_elem_sep Long defaultValue concode_elem_sep Boolean facetEnabled concode_elem_sep Boolean sortEnabled concode_elem_sep Boolean searc... | void function ( String arg0 ) { this . sourceField = arg0 ; } |
9,279 | get the prefix of a fully qualified tag name . concode_field_sep String XML_NAMESPACE_PREFIX concode_elem_sep String prefix concode_elem_sep String uri concode_field_sep String getAsAttributeName | String function ( String arg0 ) { if ( arg0 != null ) { int loc0 = arg0 . indexOf ( ':' ) ; if ( loc0 > 0 ) { return arg0 . substring ( 0 , loc0 ) ; } } return null ; } |
9,280 | gets an integer from the tokenizer stream concode_field_sep String path concode_elem_sep StreamTokenizer st concode_elem_sep boolean atEOF concode_elem_sep Reader reader concode_elem_sep List<String> putbackList concode_field_sep void corrupt concode_elem_sep void expectString concode_elem_sep double getDouble concode_... | int function ( String arg0 ) { int loc0 = 0 ; try { String loc1 = getString ( ) ; loc0 = Integer . parseInt ( loc1 ) ; } catch ( NumberFormatException loc1 ) { corrupt ( "srini_string" + arg0 ) ; } return loc0 ; } |
9,281 | returns the mime type of the data specified by the given uri string . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String stripFileProtocol concode_elem_sep String getRealPath concode_elem_sep String getRealPath concode_elem_sep String getMimeTypeForExtension concode_elem_sep InputSt... | String function ( String arg0 , CordovaInterface arg1 ) { String loc0 = null ; Uri loc1 = Uri . parse ( arg0 ) ; if ( arg0 . startsWith ( "srini_string" ) ) { loc0 = arg1 . getActivity ( ) . getContentResolver ( ) . getType ( loc1 ) ; } else { loc0 = getMimeTypeForExtension ( loc1 . getPath ( ) ) ; } return loc0 ; } |
9,282 | returns an inputstream for stdin from the debugger 's internalconsole window . concode_field_sep Scriptable scope concode_elem_sep Dim dim concode_elem_sep int type concode_elem_sep SwingGui debugGui concode_elem_sep int EXIT_ACTION concode_elem_sep int SCOPE_PROVIDER concode_field_sep void setSourceProvider concode_el... | InputStream function ( ) { return debugGui . getConsole ( ) . getIn ( ) ; } |
9,283 | gets the number of persistence units deployed with the applicatino concode_field_sep AttachmentKey<PersistenceUnitsInApplication> PERSISTENCE_UNITS_IN_APPLICATION concode_elem_sep List<PersistenceUnitMetadataHolder> persistenceUnitMetadataHolderList concode_elem_sep int count concode_field_sep void increment concode_el... | int function ( ) { return count ; } |
9,284 | sets the value of the name property . concode_field_sep String wait concode_elem_sep String min concode_elem_sep String name concode_elem_sep List<LOGICALDATAIN> dataIn concode_field_sep void setMin concode_elem_sep String getName concode_elem_sep String getMin concode_elem_sep void setWait concode_elem_sep List<LOGICA... | void function ( String arg0 ) { this . name = arg0 ; } |
9,285 | instantiates an http client that can be used for all torrentflux-b4rt requests . concode_field_sep String RPC_URL_URL concode_elem_sep String RPC_URL_USER concode_elem_sep DaemonSettings settings concode_elem_sep String RPC_URL_TRANSFER concode_elem_sep String LOG_NAME concode_elem_sep String RPC_URL_DISPATCH2 concode_... | void function ( ) { httpclient = HttpHelper . createStandardHttpClient ( settings , true ) ; } |
9,286 | sound file path for the local notification . concode_field_sep long interval concode_elem_sep JSONObject options concode_elem_sep AssetUtil assets concode_elem_sep String EXTRA concode_elem_sep Context context concode_field_sep Boolean isAutoClear concode_elem_sep String getText concode_elem_sep long getRepeatInterval ... | Uri function ( ) { Uri loc0 = null ; try { loc0 = Uri . parse ( options . optString ( "srini_string" ) ) ; } catch ( Exception loc1 ) { loc1 . printStackTrace ( ) ; } return loc0 ; } |
9,287 | returns the amount of this transaction . concode_field_sep double amount concode_elem_sep Date when concode_elem_sep String who concode_field_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_e... | double function ( ) { return amount ; } |
9,288 | checks if the module is empty . this is analogous to calling size == 0 concode_field_sep PlaceHolder placeHolder concode_field_sep MutableValue<Literal> add concode_elem_sep MutableValue<Literal> add concode_elem_sep MutableValue<Literal> add concode_elem_sep boolean contains concode_elem_sep boolean contains concode_e... | boolean function ( ) { return size ( ) == 0 ; } |
9,289 | returns the value of the crc32 as a hex string . concode_field_sep CRC32 _crc32 concode_elem_sep MessageDigest _md5 concode_elem_sep MessageDigest _sha1 concode_elem_sep long _nByte concode_field_sep String getMD5 concode_elem_sep long getValue concode_elem_sep String padLeadingZeroes concode_elem_sep void reset concod... | String function ( ) { return padLeadingZeroes ( Long . toHexString ( _crc32 . getValue ( ) ) , 8 ) ; } |
9,290 | create a new file object from two file paths . concode_field_sep String LOG_TAG concode_field_sep long getFreeDiskSpace concode_elem_sep boolean testSaveLocationExists concode_elem_sep long freeSpaceCalculation concode_elem_sep boolean testFileExists | File function ( String arg0 , String arg1 ) { File loc0 ; if ( arg1 . startsWith ( arg0 ) ) { loc0 = new File ( arg1 ) ; } else { loc0 = new File ( arg0 + "srini_string" + arg1 ) ; } return loc0 ; } |
9,291 | set the reference instance . concode_field_sep Reference reference concode_elem_sep long serialVersionUID concode_elem_sep Float first concode_elem_sep ResourceAdapter ra concode_elem_sep String second concode_field_sep void setSecond concode_elem_sep void setResourceAdapter concode_elem_sep void setFirst concode_elem_... | void function ( Reference arg0 ) { this . reference = arg0 ; } |
9,292 | a callback for the scanhandler that allows it to force the lexer state to cdata content no markup is recognized except the end of element . concode_field_sep char[] theOutputBuffer concode_elem_sep String theSystemid concode_elem_sep int theLastColumn concode_elem_sep int theCurrentColumn concode_elem_sep int statetabl... | void function ( ) { theNextState = S_CDATA ; } |
9,293 | returns an instance suitable for encoding numvalues using bitspervalue concode_field_sep IndexOutput output concode_elem_sep int bitsPerValue concode_elem_sep int SUPPORTED_BITS_PER_VALUE[] concode_elem_sep long count concode_elem_sep long numValues concode_elem_sep boolean finished concode_elem_sep byte[] nextBlocks c... | DirectWriter function ( IndexOutput arg0 , long arg1 , int arg2 ) { if ( Arrays . binarySearch ( SUPPORTED_BITS_PER_VALUE , arg2 ) < 0 ) { throw new IllegalArgumentException ( "srini_string" + arg2 + "srini_string" ) ; } return new DirectWriter ( arg0 , arg1 , arg2 ) ; } |
9,294 | checks whether the logger is enabled . concode_field_sep PlaceHolder placeHolder concode_field_sep void logPacket | boolean function ( ) { PacketLoggingService loc0 = NetaddrActivator . getPacketLogging ( ) ; return ( loc0 != null ) && loc0 . isLoggingEnabled ( PacketLoggingService . ProtocolName . ICE4J ) ; } |
9,295 | indicates the strict mode for this nysiis encoder . concode_field_sep char[] CHARS_C concode_elem_sep char[] CHARS_G concode_elem_sep char[] CHARS_SSS concode_elem_sep char[] CHARS_N concode_elem_sep char[] CHARS_S concode_elem_sep int TRUE_LENGTH concode_elem_sep Pattern PAT_MAC concode_elem_sep Pattern PAT_KN concode... | boolean function ( ) { return this . strict ; } |
9,296 | returns the bounds of the area covered by this shape painte even if not painted . concode_field_sep Shape shape concode_elem_sep Paint paint concode_field_sep Shape getPaintedArea concode_elem_sep void paint concode_elem_sep Rectangle2D getPaintedBounds2D concode_elem_sep Shape getShape concode_elem_sep Shape getSensit... | Rectangle2D function ( ) { if ( shape == null ) return null ; return shape . getBounds2D ( ) ; } |
9,297 | sorts the elements in place concode_field_sep int[] V concode_elem_sep int sizeOfVector concode_field_sep IntVector subvector concode_elem_sep IntVector subvector concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void swap ... | void function ( ) { Arrays . sort ( V , 0 , size ( ) ) ; } |
9,298 | inserts a node into a child subtree as a particularly positioned sibling taking care to properly reorganize the tree to account for this new addition . concode_field_sep FilterPredicate predicate concode_elem_sep List collectedNodes concode_field_sep AST getLastSibling concode_elem_sep AST findTypeInChildren concode_el... | AST function ( AST arg0 , AST arg1 ) { arg0 . setNextSibling ( arg1 . getNextSibling ( ) ) ; arg1 . setNextSibling ( arg0 ) ; return arg0 ; } |
9,299 | gets the json path prefix to use . concode_field_sep Logger EVENTLOGGER concode_elem_sep Logger LOGGER concode_field_sep void doRun concode_elem_sep void showUsage concode_elem_sep DownloadService getDownloadService concode_elem_sep CommandLineParser processCommandline concode_elem_sep void main concode_elem_sep String... | String function ( ) { final Configuration loc0 = Configuration . getConfiguration ( ) ; final String loc1 = loc0 . getProperty ( ConfigurationParameter . JSON_BASE_URL ) ; return loc1 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.