idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
2,300 | sets the value of the type property . concode_field_sep String measure concode_elem_sep Goal goalI concode_elem_sep Long personId concode_elem_sep String type concode_field_sep void setMeasure concode_elem_sep Long getPersonId concode_elem_sep String getMeasure concode_elem_sep String getType concode_elem_sep Goal getG... | void function ( String arg0 ) { this . type = arg0 ; } |
2,301 | sets the transform to the value defined by the input matrix . concode_field_sep float m0 concode_elem_sep float m1 concode_elem_sep float m2 concode_elem_sep float m3 concode_elem_sep float m4 concode_elem_sep float m5 concode_field_sep SVGMatrix inverse concode_elem_sep SVGMatrix inverse concode_elem_sep void transfor... | void function ( final SVGMatrix arg0 ) { Transform loc0 = ( Transform ) arg0 ; if ( loc0 == null ) { m0 = 1 ; m1 = 0 ; m2 = 0 ; m3 = 1 ; m4 = 0 ; m5 = 0 ; return ; } this . m0 = loc0 . m0 ; this . m1 = loc0 . m1 ; this . m2 = loc0 . m2 ; this . m3 = loc0 . m3 ; this . m4 = loc0 . m4 ; this . m5 = loc0 . m5 ; } |
2,302 | the default speculative retry policy . the default speculative retry policy is a nospeculativeexecutionpolicy . concode_field_sep ReconnectionPolicy reconnectionPolicy concode_elem_sep SpeculativeExecutionPolicy DEFAULT_SPECULATIVE_EXECUTION_POLICY concode_elem_sep AddressTranslater addressTranslater concode_elem_sep R... | SpeculativeExecutionPolicy function ( ) { return DEFAULT_SPECULATIVE_EXECUTION_POLICY ; } |
2,303 | called before render to render the entire scene from the light 's perpsective . geometry rendered should only use the given shader and not their own . the only necessary uniform will only need to be model . concode_field_sep PlaceHolder placeHolder concode_field_sep void init concode_elem_sep void postRenderUniforms co... | void function ( Shader arg0 ) { } |
2,304 | this method returns the list of departments to be shown in the department dropdown . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | List function ( ITFSTransitDTO arg0 ) { List loc0 ; ITFSTransitDAO loc1 = new ITFSTransitDAO ( ) ; loc0 = loc1 . selectRequest_no ( arg0 ) ; return loc0 ; } |
2,305 | gives a description of this pipe . concode_field_sep int _out concode_elem_sep int _in concode_elem_sep byte _buffer[] concode_elem_sep boolean DEBUG concode_elem_sep int __waitTime concode_elem_sep PipedConnection _otherSide concode_elem_sep String __serviceName concode_elem_sep boolean _closed concode_field_sep void ... | String function ( ) { return getClass ( ) . getName ( ) ; } |
2,306 | closes closeable , ignoring any checked exceptions . does nothing if closeable is null . concode_field_sep Charset US_ASCII concode_elem_sep byte[] EMPTY_BYTE_ARRAY concode_elem_sep AtomicReference<byte[]> skipBuffer concode_elem_sep char[] DIGITS concode_elem_sep Charset UTF_8 concode_elem_sep String[] EMPTY_STRING_AR... | void function ( Closeable arg0 ) { if ( arg0 != null ) { try { arg0 . close ( ) ; } catch ( RuntimeException loc0 ) { throw loc0 ; } catch ( Exception loc0 ) { } } } |
2,307 | stop this bean server . this method will return immediately , but the server will continue to be up for a few seconds . concode_field_sep Logger LOG concode_elem_sep int port concode_elem_sep ConcurrentHashMap<String,Object> map concode_elem_sep boolean isListening concode_elem_sep ServerSocket listenerSocket concode_f... | void function ( ) { isListening = false ; } |
2,308 | loads and initializes opencv library from current application package . roughly , it 's an analog of system.loadlibrary `` opencv_java '' . concode_field_sep String OPENCV_VERSION_2_4_4 concode_elem_sep String OPENCV_VERSION_2_4_3 concode_elem_sep String OPENCV_VERSION_3_2_0 concode_elem_sep String OPENCV_VERSION_2_4_9... | boolean function ( ) { return StaticHelper . initOpenCV ( false ) ; } |
2,309 | was this information available ? concode_field_sep long serialVersionUID concode_elem_sep int javaPrivatePages concode_elem_sep int allocCount concode_elem_sep int otherPrivatePages concode_elem_sep int allocSize concode_elem_sep int freedCount concode_elem_sep String[] GET_DIRTY_PAGES concode_elem_sep int nativeShared... | boolean function ( ) { return nativeSharedPages != - 1 ; } |
2,310 | get the number of transitions . concode_field_sep double probSum concode_elem_sep int offset concode_elem_sep int numTransitions concode_elem_sep int numChoices concode_elem_sep int i concode_elem_sep ArrayList<Choice> choices concode_elem_sep ArrayList<Integer> transitionOffsets concode_elem_sep ArrayList<Integer> tra... | int function ( ) { return numTransitions ; } |
2,311 | sets the sequence length concode_field_sep int fileok concode_elem_sep boolean protein_soap concode_elem_sep int size concode_elem_sep int length_soap concode_elem_sep String outStd concode_elem_sep boolean protein concode_elem_sep int length concode_elem_sep float weight concode_elem_sep String errStd concode_elem_sep... | void function ( int arg0 ) { Ajax . arg0 = arg0 ; } |
2,312 | the final call you receive before your activity is destroyed . concode_field_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String id concode_field_sep boolean onOverrideUrlLoading concode_elem_sep Uri remapUri concode_elem_sep void onNewIntent concode_elem_sep Object onMessage co... | void function ( ) { } |
2,313 | return the file type . concode_field_sep FileObject fileObject concode_elem_sep boolean isBinary concode_field_sep FileObject getFileObject | boolean function ( ) { return isBinary ; } |
2,314 | set the value for status . concode_field_sep String description concode_elem_sep String status concode_field_sep void setDescription concode_elem_sep String getStatus concode_elem_sep String getDescription | void function ( String arg0 ) { this . status = arg0 ; } |
2,315 | get id concode_field_sep String name concode_elem_sep Long id concode_field_sep void setName concode_elem_sep String toIndentedString concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Category name concode_elem_sep void setId concode_elem_sep String toString ... | Long function ( ) { return id ; } |
2,316 | returns the joyid of this joystick . concode_field_sep InputManager inputManager concode_elem_sep JoyInput joyInput concode_elem_sep int joyId concode_elem_sep List<JoystickButton> buttons concode_elem_sep String name concode_elem_sep List<JoystickAxis> axes concode_field_sep int getAxisCount concode_elem_sep void addA... | int function ( ) { return joyId ; } |
2,317 | sets the network protocol attribute of the data source . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep... | void function ( String arg0 ) { this . networkProtocol = arg0 ; } |
2,318 | get the explanation of this result concode_field_sep boolean retryFailed concode_elem_sep boolean debugDecision concode_elem_sep RoutingNodes routingNodes concode_elem_sep MetaData metaData concode_elem_sep long currentNanoTime concode_elem_sep DiscoveryNodes nodes concode_elem_sep Map<ShardId,Set<String>> ignoredShard... | RoutingExplanations function ( ) { return explanations ; } |
2,319 | set the changed flag in mutable operations concode_field_sep boolean changed concode_field_sep void clearChanged concode_elem_sep void snapshot concode_elem_sep void snapshot concode_elem_sep boolean changed | void function ( ) { changed = true ; } |
2,320 | scans for factory plug-ins on the application class path . this method is needed because the application class path can theoretically change , or additional plug-ins may become available . rather than re-scanning the classpath on every invocation of the api , the class path is scanned automatically only on the first in... | void function ( ) { DataStoreFinder . scanForPlugins ( ) ; getServiceRegistry ( ) . scanForPlugins ( ) ; } |
2,321 | size of processed files concode_field_sep int numberOfFiles concode_elem_sep long totalSize concode_elem_sep int processedFiles concode_elem_sep boolean aborted concode_elem_sep String failure concode_elem_sep long startTime concode_elem_sep long indexVersion concode_elem_sep long time concode_elem_sep long processedSi... | long function ( ) { return processedSize ; } |
2,322 | returns the quality of the image encoding , which is a number in the range 0.0 f to 1.0 f higher values give better quality output , but larger file sizes . the default value is 0.95 f. concode_field_sep float quality concode_field_sep byte[] encode concode_elem_sep void encode concode_elem_sep void setQuality concode_... | float function ( ) { return this . quality ; } |
2,323 | returns the last value . concode_field_sep boolean ordered concode_elem_sep int size concode_elem_sep K[] keys concode_elem_sep V[] values concode_field_sep void insert concode_elem_sep int indexOfValue concode_elem_sep K getKeyAt concode_elem_sep void put concode_elem_sep boolean containsValue concode_elem_sep K peekK... | V function ( ) { return values [ size - 1 ] ; } |
2,324 | returns the most recently added inetaddress and returns null if the addresscache is empty.runs in o 1 time concode_field_sep Map<InetAddress,DListNode> objects concode_elem_sep ExecutorService threads concode_elem_sep long runRate concode_elem_sep long initialExpire concode_elem_sep DList orderedObjects concode_field_s... | InetAddress function ( ) { synchronized ( this ) { if ( this . objects . containsKey ( this . orderedObjects . peek ( ) . address ) ) { return this . orderedObjects . peek ( ) . address ; } else { return null ; } } } |
2,325 | return whether to use direct field access instead of bean property access . concode_field_sep boolean autoGrowNestedPaths concode_elem_sep BindingErrorProcessor bindingErrorProcessor concode_elem_sep MessageCodesResolver messageCodesResolver concode_elem_sep boolean directFieldAccess concode_elem_sep Validator validato... | boolean function ( ) { return directFieldAccess ; } |
2,326 | retrieves the number of parameters in the preparedstatement object for which this parametermetadata object provides information . concode_field_sep int[] types concode_elem_sep int[] modes concode_elem_sep int parameterCount concode_elem_sep int[] nullability concode_elem_sep Result.ResultMetaData rmd concode_elem_sep ... | int function ( ) { return parameterCount ; } |
2,327 | get whether the encoder should encode alpha transparency always false . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] encode concode_elem_sep void encode concode_elem_sep void setQuality concode_elem_sep float getQuality concode_elem_sep void setEncodingAlpha | boolean function ( ) { return false ; } |
2,328 | check if a region state is one of offline states that ca n't transition to pending_close / closing unassign/offline concode_field_sep long stamp concode_elem_sep ServerName serverName concode_elem_sep State state concode_elem_sep HRegionInfo hri concode_field_sep boolean isOpeningOrOpenedOnServer concode_elem_sep boole... | boolean function ( State arg0 ) { return arg0 == State . MERGED || arg0 == State . SPLIT || arg0 == State . OFFLINE || arg0 == State . SPLITTING_NEW || arg0 == State . MERGING_NEW ; } |
2,329 | right justify a string to a given length , padded with spaces . concode_field_sep PlaceHolder placeHolder concode_field_sep String trailing concode_elem_sep String left concode_elem_sep String leading | String function ( String arg0 , int arg1 ) { return leading ( arg0 . trim ( ) , arg1 , ' ' ) ; } |
2,330 | adds a set amount of time into the counter that represents the time that the customer has been waiting in the queue and at the checkout . concode_field_sep List<Product> basket concode_elem_sep List<Integer> shoppingList concode_elem_sep int cumulativeQueueing concode_elem_sep int timeShopping concode_elem_sep int time... | void function ( final int arg0 ) { this . timeQueueing += arg0 ; } |
2,331 | returns the date of the first day of a week concode_field_sep int DAYS_TILL_END_OF_WEEK concode_field_sep Calendar endOfWeek concode_elem_sep Calendar dateToCalendar concode_elem_sep String format concode_elem_sep int currentMonth concode_elem_sep Calendar endOfMonth concode_elem_sep Calendar endOfMonth concode_elem_se... | Calendar function ( final int arg0 , final int arg1 ) { final Calendar loc0 = new GregorianCalendar ( ) ; loc0 . clear ( ) ; loc0 . set ( Calendar . YEAR , arg0 ) ; loc0 . set ( Calendar . MONTH , arg1 ) ; return loc0 ; } |
2,332 | returns the number of times #get returned null or required a newvalue to be created . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep int createCount concode_elem_sep int maxSize concode_elem_sep LinkedHashMap<K,V> map concode_el... | int function ( ) { return missCount ; } |
2,333 | position frame grabber to a specific second in a movie . as a result the next decoded frame will be precisely at the requested second . warning : potentially very slow . use only when you absolutely need precise seek . tries to seek to exactly the requested second and for this it might have to decode a sequence of fram... | JcodecFrameGrab function ( double arg0 ) { sdt ( ) . seek ( arg0 ) ; decodeLeadingFrames ( ) ; return this ; } |
2,334 | the default implementation only creates a new default project . clients may override if they want to contribute generatorspecific project setup concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep MessageConsoleStream error concode_elem_sep String SEXEC_FILE_EXTENSION concode_elem_sep MessageConsoleStream in... | void function ( IProject arg0 , GeneratorEntry arg1 ) { try { NullProgressMonitor loc0 = new NullProgressMonitor ( ) ; arg0 . create ( loc0 ) ; arg0 . open ( loc0 ) ; } catch ( CoreException loc0 ) { loc0 . printStackTrace ( ) ; } } |
2,335 | tears down the test fixture . called after every test case method . concode_field_sep TrafficSourceMacro trafficSource concode_field_sep void testTrafficSource concode_elem_sep void testGetEnteringVehCounter concode_elem_sep void testSetFlowPerLane concode_elem_sep void setUp concode_elem_sep void testTimeStep concode_... | void function ( ) { } |
2,336 | closes this instance , and releases the underlying buffer to the pool . once the bytebuffer has been closed , subsequent operations especially getstream willfail . note : it is not an error to close an already closed bytebuffer concode_field_sep int mSize concode_elem_sep CloseableReference<NativeMemoryChunk> mBufRef c... | void function ( ) { CloseableReference . closeSafely ( mBufRef ) ; mBufRef = null ; } |
2,337 | sets #availableprocessors . concode_field_sep long uptime concode_elem_sep long prevUptime concode_elem_sep float cpuUsage concode_elem_sep int availableProcessors concode_elem_sep long prevProcessCpuTime concode_elem_sep long processCpuTime concode_field_sep void updateCpuUsage concode_elem_sep void setProcessCpuTime ... | void function ( int arg0 ) { this . availableProcessors = arg0 ; } |
2,338 | getvalueasstring concode_field_sep PlaceHolder placeHolder concode_field_sep Date[] createArray concode_elem_sep String formatValue concode_elem_sep void bindParam | String function ( Date arg0 ) { return arg0 == null ? "srini_string" : String . valueOf ( arg0 . getTime ( ) ) ; } |
2,339 | converts a string in jdbc date escape format to a date value . also accepts timestamp values . concode_field_sep Calendar today concode_elem_sep String zerodatetime concode_elem_sep Calendar tempCalGMT1 concode_elem_sep SimpleDateFormat sdfd concode_elem_sep SimpleDateFormat sdfts concode_elem_sep Date currentDate conc... | Date function ( String arg0 ) { if ( arg0 == null ) { throw new java . lang . IllegalArgumentException ( Trace . getMessage ( Trace . HsqlDateTime_null_date ) ) ; } if ( arg0 . length ( ) > sdfdPattern . length ( ) ) { return Date . valueOf ( arg0 . substring ( 0 , sdfdPattern . length ( ) ) ) ; } return Date . valueOf... |
2,340 | enables animating the views . this is the default . concode_field_sep ListViewWrapper mListViewWrapper concode_elem_sep int mFirstAnimatedPosition concode_elem_sep int DEFAULT_ANIMATION_DURATION_MILLIS concode_elem_sep long mAnimationStartMillis concode_elem_sep int DEFAULT_ANIMATION_DELAY_MILLIS concode_elem_sep int m... | void function ( ) { mShouldAnimate = true ; } |
2,341 | tie integer to index/key pair concode_field_sep PlaceHolder placeHolder concode_field_sep Object getPrototype concode_elem_sep Object resolveAddress concode_elem_sep int tied concode_elem_sep int instance concode_elem_sep int address concode_elem_sep int address concode_elem_sep void untie concode_elem_sep int getAddre... | int function ( String arg0 , int arg1 , int arg2 ) { return CMemoryImpl . getInstance ( ) . tie ( arg0 , arg1 , arg2 ) ; } |
2,342 | returns the popcount or cardinality of a ^ b neither array is modified . concode_field_sep byte[] BYTE_COUNTS concode_elem_sep int[] BIT_LISTS concode_field_sep long pop_intersect concode_elem_sep int nextHighestPowerOfTwo concode_elem_sep long nextHighestPowerOfTwo concode_elem_sep int bitCount concode_elem_sep int zi... | long function ( long [ ] arg0 , long [ ] arg1 , int arg2 , int arg3 ) { long loc0 = 0 ; for ( int loc1 = arg2 , loc2 = arg2 + arg3 ; loc1 < loc2 ; ++ loc1 ) { loc0 += Long . bitCount ( arg0 [ loc1 ] ^ arg1 [ loc1 ] ) ; } return loc0 ; } |
2,343 | used to initiate sasl handshake with server . concode_field_sep String secretKeyId concode_elem_sep SecretKeyHolder secretKeyHolder concode_elem_sep Logger logger concode_elem_sep SaslClient saslClient concode_elem_sep String expectedQop concode_field_sep byte[] response concode_elem_sep void dispose concode_elem_sep v... | byte [ ] function ( ) { if ( saslClient != null && saslClient . hasInitialResponse ( ) ) { try { return saslClient . evaluateChallenge ( new byte [ 0 ] ) ; } catch ( SaslException loc1 ) { throw Throwables . propagate ( loc1 ) ; } } else { return new byte [ 0 ] ; } } |
2,344 | resets the chain for re-initialisation and use with other characteristics . this method always succeeds . concode_field_sep Direction wired concode_elem_sep HashMap stages concode_elem_sep String DIRECTION concode_elem_sep LinkedList stageKeys concode_elem_sep int blockSize concode_field_sep void init concode_elem_sep ... | void function ( ) { for ( Iterator loc0 = stageKeys . listIterator ( ) ; loc0 . hasNext ( ) ; ) ( ( Stage ) stages . get ( loc0 . next ( ) ) ) . reset ( ) ; if ( wired == Direction . REVERSED ) Collections . reverse ( stageKeys ) ; wired = null ; blockSize = 0 ; } |
2,345 | create a skyfunctionname identified by name . concode_field_sep LoadingCache<String,SkyFunctionName> skyFunctionNameCache concode_elem_sep SkyFunctionName FOR_TESTING concode_elem_sep String name concode_field_sep String getName concode_elem_sep Predicate<SkyKey> functionIs concode_elem_sep Predicate<SkyKey> functionIs... | SkyFunctionName function ( String arg0 ) { try { return skyFunctionNameCache . get ( arg0 ) ; } catch ( ExecutionException loc0 ) { throw new IllegalStateException ( "srini_string" , loc0 ) ; } } |
2,346 | sets the files cached by this directive . concode_field_sep long bytesNeeded concode_elem_sep boolean hasExpired concode_elem_sep long filesCached concode_elem_sep long filesNeeded concode_elem_sep long bytesCached concode_field_sep boolean hasExpired concode_elem_sep Builder setBytesNeeded concode_elem_sep Builder set... | Builder function ( long arg0 ) { this . filesCached = arg0 ; return this ; } |
2,347 | convert string to int concode_field_sep PlaceHolder placeHolder concode_field_sep long toLong concode_elem_sep boolean isEmpty | int function ( String arg0 , int arg1 ) { if ( isEmpty ( arg0 ) ) { return arg1 ; } try { return Integer . valueOf ( arg0 ) ; } catch ( NumberFormatException loc0 ) { loc0 . printStackTrace ( ) ; return arg1 ; } } |
2,348 | sets the cache entry expiry strategy . concode_field_sep Cache<Object,Object> cache concode_elem_sep long maxCacheSize concode_elem_sep Logger logger concode_elem_sep int entryExpiryDurationInMillis concode_elem_sep ExpiryType entryExpiryStrategy concode_elem_sep int cacheCleanupIntervalInMillis concode_elem_sep int nu... | void function ( ExpiryType arg0 ) { this . entryExpiryStrategy = arg0 ; } |
2,349 | returns if a matching default rule set definition is present for the given legacy rule string . concode_field_sep Object[] TRANS_UNLOCKEDRULES concode_elem_sep String[] TRANS_OTHERLOCKRULES_LEGACY concode_elem_sep Object[] TRANS_LOCKEDLOCKRULES concode_elem_sep String MENURULE_LEGACY_SHOWSIBLINGS concode_elem_sep Strin... | boolean function ( String arg0 ) { String loc0 = ( String ) getRuleMappings ( ) . get ( substituteLegacyRules ( arg0 ) ) ; if ( CmsStringUtil . isNotEmpty ( loc0 ) && OpenCms . getWorkplaceManager ( ) != null ) { return OpenCms . getWorkplaceManager ( ) . getMenuRule ( loc0 ) != null ; } return false ; } |
2,350 | create an instance of companyobject concode_field_sep QName _Companyinfo_QNAME concode_field_sep JAXBElement<Company> createCompanyinfo concode_elem_sep Company createCompany | CompanyObject function ( ) { return new CompanyObject ( ) ; } |
2,351 | helper method - loads a testmodel from the testmodel directory concode_field_sep String VALIDATION_TESTMODEL_DIR concode_elem_sep IModelSequencer sequencer concode_field_sep Statechart loadStatechartFromResource concode_elem_sep String getModelDirectory concode_elem_sep Statechart loadStatechart concode_elem_sep Statec... | ExecutionFlow function ( String arg0 ) { Statechart loc0 = loadStatechartFromResource ( arg0 ) ; final ExecutionFlow loc1 = sequencer . transform ( loc0 ) ; return loc1 ; } |
2,352 | sets the user uuid of this bookmarks folder . concode_field_sep BookmarksFolder _bookmarksFolder concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep java.lang.String getName concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isRoot concode_elem_sep boolean i... | void function ( java . lang . String arg0 ) { _bookmarksFolder . setUserUuid ( arg0 ) ; } |
2,353 | helper method that should be called when a native view starts a native gesture e.g. a native scrollview takes control of a gesture stream and starts scrolling . this will handle dispatching the appropriate events to js to make sure the gesture in js is canceled . concode_field_sep PlaceHolder placeHolder concode_field_... | void function ( View arg0 , MotionEvent arg1 ) { RootViewUtil . getRootView ( arg0 ) . onChildStartedNativeGesture ( arg1 ) ; } |
2,354 | sets the xor mode . concode_field_sep Color elementOverlayStrokeColor concode_elem_sep JSVGCanvas canvas concode_elem_sep Overlay elementOverlay concode_elem_sep ElementOverlayController controller concode_elem_sep ArrayList elements concode_elem_sep boolean xorMode concode_elem_sep Color elementOverlayColor concode_el... | void function ( boolean arg0 ) { this . xorMode = arg0 ; } |
2,355 | gets/searches for a node that has the specified id . concode_field_sep Log logger concode_elem_sep Application application concode_elem_sep String META_DATA_RESOURCE_PATH concode_elem_sep String SCHEMA_FILE_NAME concode_elem_sep String JAXB_FACTORY_PACKAGE concode_elem_sep String META_DATA_FILE_NAME concode_field_sep S... | Node function ( String arg0 ) { return nodeSearch ( application . getNavigation ( ) . getNode ( ) , arg0 ) ; } |
2,356 | associates the given value with the given marker . note the marker #user_agent is only intended for internal useby the aws sdk . concode_field_sep EnumMap<Marker,String> markers concode_elem_sep int DEFAULT_STREAM_BUFFER_SIZE concode_elem_sep int readLimit concode_field_sep int getReadLimit concode_elem_sep void copyTo... | void function ( Marker arg0 , String arg1 ) { markers . put ( arg0 , arg1 ) ; } |
2,357 | returns a hash code for this instance . concode_field_sep long serialVersionUID concode_field_sep double round concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep String generateToolTip concode_elem_sep String generateLabel | int function ( ) { int loc0 = 127 ; return loc0 ; } |
2,358 | all the registered build choosers that are applicable to the specified item . concode_field_sep GitSCM gitSCM concode_elem_sep long serialVersionUID concode_field_sep Collection<Revision> getCandidateRevisions concode_elem_sep Collection<Revision> getCandidateRevisions concode_elem_sep Collection<Revision> getCandidate... | List < BuildChooserDescriptor > function ( Item arg0 ) { List < BuildChooserDescriptor > loc0 = new ArrayList < BuildChooserDescriptor > ( ) ; for ( BuildChooserDescriptor loc1 : all ( ) ) { if ( loc1 . isApplicable ( arg0 . getClass ( ) ) ) loc0 . add ( loc1 ) ; } return loc0 ; } |
2,359 | tests the dateutil #isvalidformatdate method for the given year andmonth . must return true . concode_field_sep String FORMAT concode_elem_sep int ELEVEN concode_elem_sep int TEN concode_elem_sep DateTime TESTDATE concode_field_sep void runsBeforeTheTestSuite concode_elem_sep void calculateAgeFromYear concode_elem_sep ... | void function ( ) { Assert . assertTrue ( DateUtil . isValidFormatDate ( "srini_string" , FORMAT ) ) ; } |
2,360 | info log message . 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 setL... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 , arg2 ) ; } |
2,361 | reads all bytes from inputstream and writes them to outputstream . when all bytes are read outputstream.tobytebuffer is called and obtained nativepooledbytebuffer is returned concode_field_sep PooledByteStreams mPooledByteStreams concode_elem_sep NativeMemoryChunkPool mPool concode_field_sep NativePooledByteBufferOutpu... | NativePooledByteBuffer function ( InputStream arg0 , NativePooledByteBufferOutputStream arg1 ) { mPooledByteStreams . copy ( arg0 , arg1 ) ; return arg1 . toByteBuffer ( ) ; } |
2,362 | return the unique instance of this class . concode_field_sep LocationPersitence INSTANCE concode_elem_sep Map<Character,LocationType> locationTypes concode_field_sep List<Location> loadLocations concode_elem_sep Location load concode_elem_sep void registerLocationType concode_elem_sep void saveLocations concode_elem_se... | LocationPersitence function ( ) { return INSTANCE ; } |
2,363 | this is setter method for subsubcategory concode_field_sep String subCategory concode_elem_sep String selectCause concode_elem_sep String repeateCAll concode_elem_sep String SLATime concode_elem_sep String caseType concode_elem_sep int resolveOnline concode_elem_sep int detpId concode_elem_sep String loggedBy concode_e... | void function ( String arg0 ) { this . subSubCategory = arg0 ; } |
2,364 | returns the copy to which this eventcache maps the specified entity . concode_field_sep Map<Object,Object> entityToCopyMap concode_elem_sep Map<Object,Boolean> entityToOperatedOnFlagMap concode_elem_sep Map<Object,Object> copyToEntityMap concode_field_sep boolean isOperatedOn concode_elem_sep Map invertMap concode_elem... | Object function ( Object arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( "srini_string" + getClass ( ) . getName ( ) ) ; } return entityToCopyMap . get ( arg0 ) ; } |
2,365 | sets the numeric id of the tag . concode_field_sep long serialVersionUID concode_elem_sep String m_Readable concode_elem_sep String m_IDStr concode_elem_sep int m_ID concode_field_sep void setReadable concode_elem_sep String toOptionSynopsis concode_elem_sep String getIDStr concode_elem_sep void setIDStr concode_elem_s... | void function ( int arg0 ) { m_ID = arg0 ; } |
2,366 | formats a warningvalue as a string suitable for including in a header . for example , you can : warningvalue wv = ... ; httpresponse resp = ... ; resp.addheader `` warning '' , wv.tostring ; concode_field_sep Pattern WARN_DATE_PATTERN concode_elem_sep String ASCTIME_DATE concode_elem_sep String HOST concode_elem_sep Da... | String function ( ) { if ( warnDate != null ) { return String . format ( "srini_string" % s , warnCode , warnAgent , warnText , DateUtils . formatDate ( warnDate ) ) ; } else { return String . format ( "srini_string" , warnCode , warnAgent , warnText ) ; } } |
2,367 | update static filestatus fields with values from this filestatus object to support legacy code that depends on the static . concode_field_sep int RUNNING concode_elem_sep File systemFile concode_elem_sep int RUNNABLE concode_elem_sep int EDITED concode_elem_sep int TERMINATED concode_elem_sep boolean systemEdited conco... | void function ( ) { systemStatus = this . status ; systemName = this . file . getPath ( ) ; systemAssembled = false ; systemSaved = ( status == NOT_EDITED || status == RUNNABLE || status == RUNNING || status == TERMINATED ) ; systemEdited = ( status == NEW_EDITED || status == EDITED ) ; systemFile = this . file ; } |
2,368 | if a write would exceed the capacity of the direct buffers , it is set aside to be loaded by this function while the compressed data are consumed . concode_field_sep int userBufOff concode_elem_sep boolean finished concode_elem_sep boolean useLz4HC concode_elem_sep Buffer uncompressedDirectBuf concode_elem_sep int user... | void function ( ) { if ( 0 >= userBufLen ) { return ; } finished = false ; uncompressedDirectBufLen = Math . min ( userBufLen , directBufferSize ) ; ( ( ByteBuffer ) uncompressedDirectBuf ) . put ( userBuf , userBufOff , uncompressedDirectBufLen ) ; userBufOff += uncompressedDirectBufLen ; userBufLen -= uncompressedDir... |
2,369 | sets the class name id of this social activity limit . concode_field_sep SocialActivityLimit _socialActivityLimit concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void... | void function ( long arg0 ) { _socialActivityLimit . setClassNameId ( arg0 ) ; } |
2,370 | sets the value of the spendinglimit property . concode_field_sep Money spendingLimit concode_elem_sep String startDateTime concode_elem_sep BudgetOrderRequest lastRequest concode_elem_sep String billingAccountName concode_elem_sep String budgetOrderName concode_elem_sep String primaryBillingId concode_elem_sep String b... | void function ( Money arg0 ) { this . spendingLimit = arg0 ; } |
2,371 | extract the byte from the given any . this implementation expects the any to hold the instance of octetseqholder that is returned by any #extract_streamable . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type co... | byte [ ] function ( Any arg0 ) { OctetSeqHolder loc0 = ( OctetSeqHolder ) arg0 . extract_Streamable ( ) ; return loc0 . value ; } |
2,372 | method to set the renew requirement . concode_field_sep boolean renew concode_elem_sep Logger logger concode_field_sep boolean isSatisfiedByInternal concode_elem_sep void reset concode_elem_sep boolean isSatisfiedBy concode_elem_sep boolean isRenew | void function ( final boolean arg0 ) { this . renew = arg0 ; } |
2,373 | create the type code for this exception . concode_field_sep String _id concode_field_sep NotFoundReason extract concode_elem_sep NotFoundReason read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep void write | TypeCode function ( ) { return OrbRestricted . Singleton . create_enum_tc ( id ( ) , "srini_string" , new String [ ] { "srini_string" , "srini_string" , "srini_string" } ) ; } |
2,374 | find kd-tree node whose key is identical to key . uses algorithm translated from 352.srch.c of gonnet & baeza-yates . concode_field_sep KDNode m_root concode_elem_sep int m_count concode_elem_sep int m_K concode_field_sep Vector<Pair<double[],Object>> rangePoints concode_elem_sep void insert concode_elem_sep Object[] r... | Object function ( double [ ] arg0 ) { if ( arg0 . length != m_K ) { throw new RuntimeException ( "srini_string" ) ; } KDNode loc0 = KDNode . srch ( new HPoint ( arg0 ) , m_root , m_K ) ; return ( loc0 == null ? null : loc0 . v ) ; } |
2,375 | create an instance of jaxbelement concode_field_sep QName _X509DataX509SubjectName_QNAME concode_elem_sep QName _X509DataX509Certificate_QNAME concode_elem_sep QName _X509DataX509SKI_QNAME concode_elem_sep QName _DigestValue_QNAME concode_elem_sep QName _TransformXPath_QNAME concode_elem_sep QName _X509DataX509IssuerSe... | JAXBElement < byte [ ] > function ( byte [ ] arg0 ) { return new JAXBElement < byte [ ] > ( _X509DataX509Certificate_QNAME , byte [ ] . class , X509Data . class , ( ( byte [ ] ) arg0 ) ) ; } |
2,376 | returns the number of ke hoach ve sinh xa news . concode_field_sep keHoachVeSinhXaNewLocalService _keHoachVeSinhXaNewLocalService concode_field_sep void setWrappedService concode_elem_sep vn.dtt.sol.ns.vesinhmoitruong.dao.model.keHoachVeSinhXaNew fetchkeHoachVeSinhXaNew concode_elem_sep java.util.List<vn.dtt.sol.ns.ves... | int function ( ) { return _keHoachVeSinhXaNewLocalService . getkeHoachVeSinhXaNewsCount ( ) ; } |
2,377 | get a parameter from a servletrequest . return null if the parameter contains only white spaces . concode_field_sep String HTML_TAIL concode_field_sep PrintWriter initHTML concode_elem_sep String encodeQueryValue concode_elem_sep long parseLongParam concode_elem_sep String encodePath concode_elem_sep String htmlFooter ... | String function ( ServletRequest arg0 , String arg1 ) { String loc0 = arg0 . getParameter ( arg1 ) ; if ( loc0 == null ) { return null ; } loc0 = loc0 . trim ( ) ; return loc0 . length ( ) == 0 ? null : loc0 ; } |
2,378 | gets the value of the direction property . concode_field_sep CodeAndDescription feature concode_elem_sep BigDecimal overageRate concode_elem_sep String periodName concode_elem_sep long serialVersionUID concode_elem_sep CodeAndDescription direction concode_field_sep BigDecimal getOverageRate concode_elem_sep void setOve... | CodeAndDescription function ( ) { return direction ; } |
2,379 | get the background color of the theme used for this activity . concode_field_sep GestureDetector mGestureDetector concode_elem_sep Activity mActivity concode_field_sep void preDispatchTouchEvent concode_elem_sep K9ActivityCommon newInstance concode_elem_sep void setupGestureDetector concode_elem_sep void setupGestureDe... | int function ( ) { TypedArray loc0 = mActivity . getTheme ( ) . obtainStyledAttributes ( new int [ ] { android . R . attr . colorBackground } ) ; int loc1 = loc0 . getColor ( 0 , 0xFF00FF ) ; loc0 . recycle ( ) ; return loc1 ; } |
2,380 | sets the value of the boolean property . concode_field_sep Boolean _boolean concode_elem_sep List<String> nilReason concode_field_sep Boolean isBoolean concode_elem_sep List<String> getNilReason | void function ( Boolean arg0 ) { this . _boolean = arg0 ; } |
2,381 | helper method to shorten message access concode_field_sep Shell shell concode_elem_sep IProject project concode_elem_sep PMDPropertyPageBean propertyPageBean concode_elem_sep Logger log concode_elem_sep boolean pmdAlreadyActivated concode_field_sep RuleSet getAvailableRules concode_elem_sep boolean performOk concode_el... | String function ( final String arg0 ) { return PMDPlugin . getDefault ( ) . getStringTable ( ) . getString ( arg0 ) ; } |
2,382 | logs a throwing message at debug level . concode_field_sep String FQCN concode_elem_sep Level TRACE concode_field_sep void entering concode_elem_sep void entering concode_elem_sep void entering concode_elem_sep void entering concode_elem_sep Boolean valueOf concode_elem_sep Character valueOf concode_elem_sep Byte value... | void function ( final Logger arg0 , final String arg1 , final String arg2 , final Throwable arg3 ) { if ( arg0 . isDebugEnabled ( ) ) { arg0 . callAppenders ( new LoggingEvent ( FQCN , arg0 , Level . DEBUG , arg1 + "srini_string" + arg2 + "srini_string" , arg3 ) ) ; } } |
2,383 | the runid of the external workflow execution to be canceled . constraints : length : 0 - 64 concode_field_sep String control concode_elem_sep String runId concode_elem_sep Long decisionTaskCompletedEventId concode_elem_sep String workflowId concode_field_sep RequestCancelExternalWorkflowExecutionInitiatedEventAttribute... | void function ( String arg0 ) { this . runId = arg0 ; } |
2,384 | sets the cache directory . if this property is set to an existing directory , this converter will cache image data . concode_field_sep List<MediaType> readableMediaTypes concode_elem_sep File cacheDir concode_elem_sep MediaType defaultContentType concode_field_sep void process concode_elem_sep void process concode_elem... | void function ( File arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; Assert . isTrue ( arg0 . isDirectory ( ) , "srini_string" ) ; this . cacheDir = arg0 ; } |
2,385 | the image name for hierarchy : persistentclass | -- rootclass | | -- specialrootclass | | -- subclass | -- joinedsubclass | -- singletablesubclass | -- unionsubclass concode_field_sep PlaceHolder placeHolder concode_field_sep ImageDescriptor getImageDescriptor | String function ( IPersistentClass arg0 ) { return "srini_string" ; } |
2,386 | tests whether working with different types transformations works properly . concode_field_sep PlaceHolder placeHolder concode_field_sep void testClone concode_elem_sep void setupLogMath concode_elem_sep void testUnivariateDensity | void function ( ) { float loc0 = 20 ; float loc1 = 0.001f ; MixtureComponent loc2 = new MixtureComponent ( new float [ ] { loc0 } , new float [ ] [ ] { { 2 } } , new float [ ] { 5 } , new float [ ] { loc1 } , null , null ) ; Assert . assertTrue ( LogMath . getLogMath ( ) . logToLinear ( loc2 . getScore ( new float [ ] ... |
2,387 | setting an airline concode_field_sep String Origin concode_elem_sep String Destination concode_elem_sep int Number concode_elem_sep String Airline concode_field_sep int getNumber concode_elem_sep String getDestination concode_elem_sep String getOrigin concode_elem_sep void setOrigin concode_elem_sep String getAirline c... | void function ( String arg0 ) { Airline = arg0 ; } |
2,388 | sets the value of the arcrole property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep MDSecurityConstraintsType mdSecurityConstraints concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep Strin... | void function ( String arg0 ) { this . arcrole = arg0 ; } |
2,389 | extracts a map of name/value pairs from the given array of characters . names are expected to be unique . concode_field_sep int pos concode_elem_sep int len concode_elem_sep boolean lowerCaseNames concode_elem_sep int i1 concode_elem_sep int i2 concode_elem_sep char[] chars concode_field_sep boolean hasChar concode_ele... | Map function ( final char [ ] arg0 , char arg1 ) { if ( arg0 == null ) { return new HashMap ( ) ; } return parse ( arg0 , 0 , arg0 . length , arg1 ) ; } |
2,390 | sets the cc mail id . concode_field_sep String emailAddress concode_elem_sep String[] ccMailList concode_elem_sep String[] bccMailList concode_elem_sep String templateName concode_elem_sep String userActivationCode concode_elem_sep String subject concode_elem_sep String ccMailId concode_elem_sep String bccMailId concod... | void function ( String arg0 ) { this . ccMailId = arg0 ; } |
2,391 | remove any records for the supplied componentname . concode_field_sep Bitmap mDefaultIcon concode_elem_sep int mIconDpi concode_elem_sep int INITIAL_ICON_CACHE_CAPACITY concode_elem_sep Bitmap icon concode_elem_sep HashMap<ComponentName,CacheEntry> mCache concode_elem_sep String RESOURCE_FILE_PREFIX concode_elem_sep Pa... | void function ( ComponentName arg0 ) { synchronized ( mCache ) { mCache . remove ( arg0 ) ; } } |
2,392 | this method resets the incoming events time events included . concode_field_sep long number concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean reset concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode... | void function ( ) { sCInterface . clearEvents ( ) ; } |
2,393 | notifies the listeners that a contact has been updated . concode_field_sep List<RosterEventListener> listeners concode_field_sep boolean addingContact concode_elem_sep void contactDeleted concode_elem_sep void removeListener concode_elem_sep void rosterLoaded concode_elem_sep void contactAdded concode_elem_sep void add... | void function ( Roster arg0 , RosterItem arg1 ) { if ( ! listeners . isEmpty ( ) ) { for ( RosterEventListener loc0 : listeners ) { loc0 . contactUpdated ( arg0 , arg1 ) ; } } } |
2,394 | sets the value of the producttype property . concode_field_sep MsisdnStatusCodeEnum subscriberStatusCode concode_elem_sep XMLGregorianCalendar statusChangeDate concode_elem_sep String statusReasonCode concode_elem_sep PersonalName name concode_elem_sep long serialVersionUID concode_elem_sep String msisdn concode_elem_s... | void function ( String arg0 ) { this . productType = arg0 ; } |
2,395 | adds a track to this animation concode_field_sep SafeArrayList<Track> tracks concode_elem_sep String name concode_elem_sep float length concode_field_sep String getName concode_elem_sep void removeTrack concode_elem_sep Track[] getTracks concode_elem_sep void read concode_elem_sep void cloneFields concode_elem_sep void... | void function ( Track arg0 ) { tracks . add ( arg0 ) ; } |
2,396 | is the host os windows ? concode_field_sep OSType OS_TYPE concode_field_sep OSType getOSType concode_elem_sep boolean isNix concode_elem_sep boolean isMacOs | boolean function ( ) { String loc0 = System . getProperty ( "srini_string" ) ; if ( loc0 . toLowerCase ( ) . indexOf ( "srini_string" ) >= 0 ) return true ; else return false ; } |
2,397 | the revocation signature is not checked here , so this may be false ! concode_field_sep Integer mCacheUsage concode_elem_sep PGPPublicKey mPublicKey concode_field_sep String getPrimaryUserIdWithFallback concode_elem_sep String getPrimaryUserId concode_elem_sep Iterator<WrappedSignature> getSignaturesForUserAttribute co... | boolean function ( ) { return mPublicKey . getSignaturesOfType ( isMasterKey ( ) ? PGPSignature . KEY_REVOCATION : PGPSignature . SUBKEY_REVOCATION ) . hasNext ( ) ; } |
2,398 | returns `` true '' if the value of the give boolean is true and returns `` false '' if the value of the given boolean is false . concode_field_sep Boolean FALSE concode_elem_sep Class<Boolean> TYPE concode_elem_sep Boolean TRUE concode_elem_sep boolean value concode_elem_sep long serialVersionUID concode_field_sep int ... | String function ( boolean arg0 ) { return arg0 ? "srini_string" : "srini_string" ; } |
2,399 | return setter function name for a specified property concode_field_sep PlaceHolder placeHolder concode_field_sep String getBeanNameFormat concode_elem_sep String getBeanPropertyFormat concode_elem_sep String getOppositeRelationType concode_elem_sep String getIsoCode concode_elem_sep int getOppositeCardinality concode_e... | String function ( String arg0 ) { return "srini_string" + getMethodFormat ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.