idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
20,400 | populates a map with prefix to namespace uri mappings for all the mock data namespaces . concode_field_sep String DEFAULT_URI concode_elem_sep String DEFAULT_RASTER_STYLE concode_elem_sep String WCS_URI concode_elem_sep QName[] TYPENAMES concode_elem_sep QName WORLD concode_elem_sep QName STREAMS concode_elem_sep QName... | void function ( Map < String , String > arg0 ) { arg0 . put ( CITE_PREFIX , CITE_URI ) ; arg0 . put ( CDF_PREFIX , CDF_URI ) ; arg0 . put ( CGF_PREFIX , CGF_URI ) ; arg0 . put ( SF_PREFIX , SF_URI ) ; } |
20,401 | the id of the allocated dedicated host . this is used when you want to launch an instance onto a specific host . concode_field_sep com.amazonaws.internal.SdkInternalList<String> hostIds concode_field_sep java.util.List<String> getHostIds concode_elem_sep void setHostIds concode_elem_sep int hashCode concode_elem_sep bo... | AllocateHostsResult function ( java . util . Collection < String > arg0 ) { setHostIds ( arg0 ) ; return this ; } |
20,402 | returns a threadpool to schedule async durability operations concode_field_sep String INDEX_TRANSLOG_FS_TYPE concode_elem_sep String INDEX_TRANSLOG_SYNC_INTERVAL concode_elem_sep TimeValue syncInterval concode_elem_sep IndexSettings indexSettings concode_elem_sep ShardId shardId concode_elem_sep String INDEX_TRANSLOG_B... | ThreadPool function ( ) { return threadPool ; } |
20,403 | by design eoeditingcontext 's have a fetch timestamp default is 1 hour that effectively creates an in-memory caching system for eos . this works great for users browsing through pages in the app . however , experience has shown that background eof tasks are performing updates based on the state of other eos , and thus ... | long function ( ) { if ( _taskEditingContextTimestampLag == null ) { _taskEditingContextTimestampLag = System . currentTimeMillis ( ) ; } return _taskEditingContextTimestampLag . longValue ( ) ; } |
20,404 | determines whether at least one service has been published to specified csg server . concode_field_sep Log log concode_elem_sep String BUNDLE concode_elem_sep CGAgentAdminServiceStub stub concode_elem_sep ResourceBundle bundle concode_field_sep String getServiceStatus concode_elem_sep void updateCGServer concode_elem_s... | boolean function ( String arg0 ) { boolean loc1 = false ; try { loc1 = stub . isHasPublishedServices ( arg0 ) ; } catch ( RemoteException loc0 ) { handleException ( getI18nString ( "srini_string" , loc0 ) , loc0 ) ; } catch ( Exception loc0 ) { handleException ( loc0 . getMessage ( ) , loc0 ) ; } return loc1 ; } |
20,405 | returns the group id of this polls vote . concode_field_sep PollsVote _pollsVote concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep b... | long function ( ) { return _pollsVote . getGroupId ( ) ; } |
20,406 | constructs a new router converting the methods annotated with get , post , and delete to routes . a method subject to becoming a route must be annotated with get , post , or delete . the method return type must be a httphandler . concode_field_sep Map<String,List<Route>> routes concode_field_sep Router add concode_elem... | Router function ( Controller ... arg0 ) { if ( arg0 == null ) throw new IllegalArgumentException ( ) ; Router loc0 = new Router ( ) ; for ( Controller loc1 : arg0 ) Router . addRoutes ( loc1 . getClass ( ) , loc1 , loc0 ) ; return loc0 ; } |
20,407 | set the value at the given index concode_field_sep Vector attrs concode_field_sep int hashCode concode_elem_sep double get concode_elem_sep boolean equals | void function ( int arg0 , double arg1 ) { attrs . set ( arg0 , arg1 ) ; } |
20,408 | machine-readable data about the alarm in json format . concode_field_sep String historySummary concode_elem_sep String historyItemType concode_elem_sep String alarmName concode_elem_sep String historyData concode_elem_sep java.util.Date timestamp concode_field_sep void setAlarmName concode_elem_sep String getAlarmName ... | void function ( String arg0 ) { this . historyData = arg0 ; } |
20,409 | default implementation . maybe overridden by exact types . concode_field_sep PrimitiveTypeInfo typeInfo concode_field_sep Class<?> getPrimitiveWritableClass concode_elem_sep Class<?> getJavaPrimitiveClass concode_elem_sep PrimitiveCategory getPrimitiveCategory concode_elem_sep Category getCategory concode_elem_sep int ... | int function ( ) { return HiveDecimalUtils . getPrecisionForType ( typeInfo ) ; } |
20,410 | sets the alpha value of the color . value must be within the range 0 , 255 . concode_field_sep Color GREEN concode_elem_sep int green concode_elem_sep String OUTOFRANGE concode_elem_sep Color RED concode_elem_sep Color BLACK concode_elem_sep int red concode_elem_sep Color WHITE concode_elem_sep int blue concode_elem_se... | void function ( int arg0 ) { if ( withinRange ( arg0 ) ) { this . alpha = arg0 ; } else { throw new IllegalArgumentException ( OUTOFRANGE + arg0 ) ; } } |
20,411 | return all names of the given group of constants . note that this method assumes that constants are named in accordance with the standard java convention for constant values i.e. all uppercase . the supplied nameprefix will be uppercased in a locale-insensitive fashion prior to the main logic of this method kicking in ... | Set < String > function ( String arg0 ) { String loc0 = ( arg0 != null ? arg0 . trim ( ) . toUpperCase ( Locale . ENGLISH ) : "srini_string" ) ; Set < String > loc1 = new HashSet < > ( ) ; for ( String loc2 : this . fieldCache . keySet ( ) ) { if ( loc2 . startsWith ( loc0 ) ) { loc1 . add ( loc2 ) ; } } return loc1 ; ... |
20,412 | gets the value of the extlst property . concode_field_sep CTBackgroundFormatting bg concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTPtList ptLst concode_elem_sep CTCxnList cxnLst concode_elem_sep CTWholeE2OFormatting whole concode_field_sep CTBackgroundFormatting getBg concode_elem_sep void setBg co... | CTOfficeArtExtensionList function ( ) { return extLst ; } |
20,413 | return the date representation concode_field_sep int month concode_elem_sep int year concode_elem_sep int day concode_field_sep Calendar getGMT concode_elem_sep int getYear concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int getMonth concode_elem_sep int g... | Date function ( ) { Calendar loc0 = getGMT ( ) ; loc0 . set ( getYear ( ) , getMonth ( ) - 1 , getDay ( ) ) ; return loc0 . getTime ( ) ; } |
20,414 | gets the value of the return property . concode_field_sep SServiceDescriptor _return concode_field_sep void setReturn | SServiceDescriptor function ( ) { return _return ; } |
20,415 | appends a byte-array to the payload concode_field_sep short MAX_PAYLOAD_SIZE concode_elem_sep byte PT_ACTION concode_elem_sep byte ICON_JPEG concode_elem_sep byte majver concode_elem_sep byte[] payload concode_elem_sep byte PT_NOTIFICATION concode_elem_sep byte minver concode_elem_sep byte PT_BROADCAST concode_elem_sep... | void function ( byte [ ] arg0 ) { int loc0 = this . payload . length ; byte [ ] loc1 = this . payload ; this . payload = new byte [ loc0 + arg0 . length ] ; System . arraycopy ( loc1 , 0 , this . payload , 0 , loc0 ) ; System . arraycopy ( arg0 , 0 , this . payload , loc0 , arg0 . length ) ; } |
20,416 | returns a pbegin in the given pipeline . concode_field_sep Pipeline pipeline concode_field_sep Collection<? extends PValue> expand concode_elem_sep Pipeline getPipeline concode_elem_sep OutputT apply concode_elem_sep OutputT apply concode_elem_sep void finishSpecifying | PBegin function ( Pipeline arg0 ) { return new PBegin ( arg0 ) ; } |
20,417 | send data and reinitializes buffer . concode_field_sep int CLOSING concode_elem_sep StringBuffer buffer 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 writeElement concode_elem_sep void writeElement concode_elem_sep void... | void function ( ) { if ( writer != null ) { writer . write ( buffer . toString ( ) ) ; buffer = new StringBuffer ( ) ; } } |
20,418 | set behavior for getstring method when a referred-to system property is not set . set to one of refcapablepropertyresourcebundle.throw _ behavior refcapablepropertyresourcebundle.emptystring _ behavior refcapablepropertyresourcebundle.noop _ behavior the first value is the default . concode_field_sep boolean validated ... | void function ( int arg0 ) { this . missingPropertyBehavior = arg0 ; } |
20,419 | create a new relationalmodelprocessor relational model processor that can transform org.teiid.designer.jdbc.metadata.jdbcdatabase jdbc metadata into a org.teiid.designer.metamodels.relational.relationalpackage relational model . concode_field_sep String NAME concode_elem_sep String PROCESSOR_TYPE concode_elem_sep Strin... | RelationalModelProcessor function ( final String arg0 ) { return createRelationalModelProcessor ( RelationalTypeMappingImpl . getInstance ( ) , arg0 ) ; } |
20,420 | create a head route for the given path pattern . concode_field_sep Method actionMethod concode_elem_sep String method concode_elem_sep Pattern paramExtractor concode_elem_sep List<Route> routes concode_elem_sep String name concode_elem_sep PathBindable<?> pathBindable concode_elem_sep Object action concode_elem_sep Str... | PathPatternMatcher function ( String arg0 ) { return new PathPatternMatcher ( "srini_string" , arg0 ) ; } |
20,421 | obtiene el valor de la propiedad id . concode_field_sep String id concode_elem_sep byte[] value concode_field_sep byte[] getValue concode_elem_sep void setValue concode_elem_sep void setId | String function ( ) { return id ; } |
20,422 | method that can be used to serialize any java value as json output , using writer provided . note : method does not close the underlying stream explicitly here ; however , jsonfactory this mapper uses may chooseto close the stream depending on its settings by default , it will try to close it when jsongenerator we cons... | void function ( Writer arg0 , Object arg1 ) { _configAndWriteValue ( _jsonFactory . createJsonGenerator ( arg0 ) , arg1 ) ; } |
20,423 | retrieves the fully-qualified name of the java class whose instances should be passed to the method preparedstatement.setobject . 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 ... | String function ( int arg0 ) { checkRange ( arg0 ) ; return classNames [ -- arg0 ] ; } |
20,424 | sets the group id of this trash entry . concode_field_sep TrashEntry _trashEntry concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_s... | void function ( long arg0 ) { _trashEntry . setGroupId ( arg0 ) ; } |
20,425 | get public.film _ in_stock as a table . concode_field_sep FilmNotInStock FILM_NOT_IN_STOCK concode_elem_sep NicerButSlowerFilmList NICER_BUT_SLOWER_FILM_LIST concode_elem_sep PaymentP2007_02 PAYMENT_P2007_02 concode_elem_sep FilmActor FILM_ACTOR concode_elem_sep FilmInStock FILM_IN_STOCK concode_elem_sep PaymentP2007_0... | FilmInStock function ( Field < Integer > arg0 , Field < Integer > arg1 ) { return FilmInStock . FILM_IN_STOCK . call ( arg0 , arg1 ) ; } |
20,426 | indicates that the given channel has been terminated . after this occurs , we are guaranteed not to read from the associated streams again , so any state can be cleaned up . concode_field_sep PlaceHolder placeHolder concode_field_sep ManagedBuffer getChunk concode_elem_sep void registerChannel concode_elem_sep ManagedB... | void function ( Channel arg0 ) { } |
20,427 | add a new pobject containing changed data to the cache . concode_field_sep PTrailer trailer concode_elem_sep int nextReferenceNumber concode_elem_sep Logger logger concode_elem_sep HashMap<Reference,PObject> changes concode_field_sep boolean contains concode_elem_sep int compare concode_elem_sep boolean isChanged conco... | void function ( PObject arg0 ) { changes . put ( arg0 . getReference ( ) , arg0 ) ; int loc0 = arg0 . getReference ( ) . getObjectNumber ( ) ; if ( nextReferenceNumber <= loc0 ) { nextReferenceNumber = loc0 + 1 ; } } |
20,428 | strip the public suffix from the domain . returns the original domain if no public suffix could be found . www.mozilla.org - > www.mozilla independent.co.uk - > independent concode_field_sep PlaceHolder placeHolder concode_field_sep List<String> normalizeAndSplit concode_elem_sep int findPublicSuffixIndex concode_elem_... | String function ( Context arg0 , @ NonNull String arg1 ) { if ( arg1 . length ( ) == 0 ) { return arg1 ; } final int loc0 = findPublicSuffixIndex ( arg0 , arg1 ) ; if ( loc0 == - 1 ) { return arg1 ; } return arg1 . substring ( 0 , loc0 ) ; } |
20,429 | qty rows concode_field_sep Integer noViewColumns concode_elem_sep Integer column concode_elem_sep Integer row concode_elem_sep LinkedHashMap<Integer,MBrowseField> browserFields concode_elem_sep LinkedHashMap<Integer,Integer> displayIndexes concode_elem_sep LinkedHashMap<Integer,LinkedHashMap<Integer,GridField>> rows co... | int function ( ) { return rows . size ( ) ; } |
20,430 | gets the value of the userteamassociationaction property . concode_field_sep UserTeamAssociationAction userTeamAssociationAction concode_elem_sep Statement statement concode_field_sep void setUserTeamAssociationAction concode_elem_sep void setStatement concode_elem_sep Statement getStatement | UserTeamAssociationAction function ( ) { return userTeamAssociationAction ; } |
20,431 | puts the imaginary value . concode_field_sep int offset concode_elem_sep DoubleBuffer buffer concode_field_sep double getReal concode_elem_sep double getImag concode_elem_sep DoubleBuffer getBuffer concode_elem_sep DoubleComplex get concode_elem_sep DoubleComplex get concode_elem_sep DoubleComplex get concode_elem_sep ... | void function ( double arg0 ) { buffer . put ( offset + 1 , arg0 ) ; } |
20,432 | you must call this or #mayberefreshblocking , periodically , if you want that #acquire will return refreshed instances . threads : it 's fine for more than one thread to call this at once . only the first thread will attempt the refresh ; subsequent threads will see that another thread is already handling refresh and w... | boolean function ( ) { ensureOpen ( ) ; final boolean loc0 = refreshLock . tryLock ( ) ; if ( loc0 ) { try { doMaybeRefresh ( ) ; } finally { refreshLock . unlock ( ) ; } } return loc0 ; } |
20,433 | setter for url to the content review report concode_field_sep String reviewReport concode_elem_sep int reviewScore concode_elem_sep String reviewIconURL concode_elem_sep ContentResource resource concode_elem_sep String reviewStatus concode_elem_sep String reviewError concode_field_sep void setReviewStatus concode_elem_... | void function ( String arg0 ) { this . reviewReport = arg0 ; } |
20,434 | unregisters a component as a drop target . concode_field_sep javax.swing.event.EventListenerList listenerList concode_field_sep void addFileDropListener concode_elem_sep void fireFileDropHappened concode_elem_sep void addFileDropTarget concode_elem_sep void removeFileDropListener | boolean function ( java . awt . Component arg0 ) { return FileDrop . remove ( arg0 ) ; } |
20,435 | return true if - a reconfiguration task has finished or - an active reconfiguration task is running concode_field_sep long startTime concode_elem_sep long endTime concode_elem_sep Map<ReconfigurationUtil.PropertyChange,Optional<String>> status concode_field_sep boolean stopped concode_elem_sep long getEndTime concode_e... | boolean function ( ) { return startTime > 0 ; } |
20,436 | constructs and returns a compatible inputmanger concode_field_sep PlaceHolder placeHolder concode_field_sep void onInputDeviceAdded concode_elem_sep void onInputDeviceChanged concode_elem_sep InputDevice getInputDevice concode_elem_sep void unregisterInputDeviceListener concode_elem_sep void onGenericMotionEvent concod... | InputManagerCompat function ( Context arg0 ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . JELLY_BEAN ) { return new InputManagerV16 ( arg0 ) ; } else { return new InputManagerV9 ( ) ; } } |
20,437 | sets the password . concode_field_sep String password concode_elem_sep String userName concode_field_sep String getPassword concode_elem_sep void setUserName concode_elem_sep String getUserName | void function ( String arg0 ) { this . password = arg0 ; } |
20,438 | moves search result iteration to the previous search result . concode_field_sep boolean m_isAfterLast concode_elem_sep int m_currentSearchIndex concode_elem_sep List<SearchResult> m_results concode_elem_sep boolean m_isBeforeFirst concode_elem_sep List<SearchResult> m_reducedResults concode_field_sep void removeDuplica... | void function ( ) { if ( current ( ) == null ) { return ; } m_currentSearchIndex -- ; m_isBeforeFirst = false ; m_isAfterLast = false ; if ( m_currentSearchIndex < 0 ) { m_currentSearchIndex = m_reducedResults . size ( ) - 1 ; m_isBeforeFirst = true ; } } |
20,439 | incorporates a new item . this assumes the type name matches . concode_field_sep int totalSize concode_elem_sep int largestSize concode_elem_sep HashMap<String,Data> dataMap concode_elem_sep String name concode_elem_sep int count concode_elem_sep int smallestSize concode_field_sep void addAll concode_elem_sep void writ... | void function ( Item arg0 ) { int loc0 = arg0 . writeSize ( ) ; count ++ ; totalSize += loc0 ; if ( loc0 > largestSize ) { largestSize = loc0 ; } if ( loc0 < smallestSize ) { smallestSize = loc0 ; } } |
20,440 | return the shape that composites are rendered in . concode_field_sep double _compositeScale concode_elem_sep GraphController _controller concode_elem_sep Paint _compositeFill concode_elem_sep Shape _nodeShape concode_elem_sep Shape _compositeShape concode_elem_sep Paint _nodeFill concode_field_sep GraphController getGr... | Shape function ( ) { return _compositeShape ; } |
20,441 | implementation of collection #toarray object for collections backed by an objectarray . the runtime type of the returned array is that of the specified array . if the collection fits in the specified array , it is returned therein . otherwise , a new array is allocated with the runtime type of the specified array and t... | T [ ] function ( Object [ ] arg0 , int arg1 , int arg2 , T [ ] arg3 ) { checkPositionIndexes ( arg1 , arg1 + arg2 , arg0 . length ) ; if ( arg3 . length < arg2 ) { arg3 = newArray ( arg3 , arg2 ) ; } else if ( arg3 . length > arg2 ) { arg3 [ arg2 ] = null ; } System . arraycopy ( arg0 , arg1 , arg3 , 0 , arg2 ) ; retur... |
20,442 | get the index number of this category concode_field_sep String template concode_elem_sep Comparator<Category> ACTIVATION_COMPARATOR concode_elem_sep Comparator<Category> CATEGORY_NUMBER_COMPARATOR concode_elem_sep Comparator<Category> PATTERN_COMPARATOR concode_elem_sep String pattern concode_elem_sep AIMLSet matches c... | int function ( ) { return categoryNumber ; } |
20,443 | asserts we sent a specific amount of lucenework operations to the indexing backend . counter is reset after invocation . concode_field_sep LoadCountingListener loadCountListener concode_elem_sep AtomicInteger locationLoadEvents concode_field_sep void initializeData concode_elem_sep FullTextSessionBuilder createSearchFa... | void function ( int arg0 ) { List < LuceneWork > loc0 = LeakingLuceneBackend . getLastProcessedQueue ( ) ; Assert . assertEquals ( arg0 , loc0 . size ( ) ) ; LeakingLuceneBackend . reset ( ) ; } |
20,444 | inserts an element to the list at specific index . if the index is bigger , then to the count of the elements of the list just add the new element to the end . concode_field_sep int elementsCount concode_elem_sep int REDUCER concode_elem_sep double GROWING_FACTOR concode_elem_sep int[] array concode_elem_sep int INITIA... | void function ( int arg0 , int arg1 ) { if ( arg1 >= this . elementsCount ) { this . add ( arg0 ) ; return ; } tryGrow ( ) ; for ( int loc0 = this . elementsCount - 1 ; loc0 >= arg1 ; loc0 -- ) { this . array [ loc0 + 1 ] = this . array [ loc0 ] ; } this . array [ arg1 ] = arg0 ; this . elementsCount ++ ; } |
20,445 | return an iterator of the attribute names of this node . if there are no attributes , an empty iterator is returned . concode_field_sep String name concode_elem_sep HashMap attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList children concode_field_sep TreeNode findChild c... | Iterator function ( ) { if ( attributes == null ) return ( Collections . EMPTY_LIST . iterator ( ) ) ; else return ( attributes . keySet ( ) . iterator ( ) ) ; } |
20,446 | the description for the deployment resource . concode_field_sep java.util.Date createdDate concode_elem_sep java.util.Map<String,java.util.Map<String,MethodSnapshot>> apiSummary concode_elem_sep String description concode_elem_sep String id concode_field_sep UpdateDeploymentResult clearApiSummaryEntries concode_elem_se... | String function ( ) { return this . description ; } |
20,447 | creates a saslparticipant wrapping a saslserver . concode_field_sep String SERVER_NAME concode_elem_sep String MECHANISM concode_elem_sep SaslServer saslServer concode_elem_sep SaslClient saslClient concode_elem_sep String PROTOCOL concode_field_sep IOStreamPair createStreamPair concode_elem_sep boolean isNegotiatedQop... | SaslParticipant function ( Map < String , String > arg0 , CallbackHandler arg1 ) { return new SaslParticipant ( Sasl . createSaslServer ( MECHANISM , PROTOCOL , SERVER_NAME , arg0 , arg1 ) ) ; } |
20,448 | gets the value of the title property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep RSIdentifierType rsIdentifier concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep String type concode_elem_... | String function ( ) { return title ; } |
20,449 | returns the osgi service identifier . concode_field_sep ScreensRatingsEntryService _screensRatingsEntryService concode_field_sep com.liferay.portal.kernel.json.JSONObject updateRatingsEntry concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.json.JSONObject deleteRatingsEntry concode_elem... | java . lang . String function ( ) { return _screensRatingsEntryService . getOSGiServiceIdentifier ( ) ; } |
20,450 | the total time merge io writes were throttled . concode_field_sep String MERGES concode_elem_sep long totalBytesPerSecAutoThrottle concode_elem_sep String TOTAL_THROTTLE_BYTES_PER_SEC concode_elem_sep String CURRENT_SIZE_IN_BYTES concode_elem_sep String TOTAL_THROTTLED_TIME concode_elem_sep long totalTimeInMillis conco... | long function ( ) { return this . totalThrottledTimeInMillis ; } |
20,451 | returns the number of seconds to use to filter the messages received during that time . in other words , only the messages received in the last `` x '' seconds will be included in the history . concode_field_sep int seconds concode_elem_sep int maxChars concode_elem_sep int maxStanzas concode_elem_sep Date since concod... | int function ( ) { return seconds ; } |
20,452 | removes control characters char < = 32 from both ends of this string , handling null by returning null . the string is trimmed using string #trim . trim removes start and end characters < = 32 . to strip whitespace use #strip string . to trim your choice of characters , use the #strip string , string methods . stringut... | String function ( String arg0 ) { return arg0 == null ? null : arg0 . trim ( ) ; } |
20,453 | create a new filters aggregation with the given name . concode_field_sep PlaceHolder placeHolder concode_field_sep GeoBoundsBuilder geoBounds concode_elem_sep DateRangeBuilder dateRange concode_elem_sep DateHistogramBuilder dateHistogram concode_elem_sep RangeBuilder range concode_elem_sep SumBuilder sum concode_elem_s... | FiltersAggregationBuilder function ( String arg0 ) { return new FiltersAggregationBuilder ( arg0 ) ; } |
20,454 | the name of the attribute . concode_field_sep String alternateNameEncoding concode_elem_sep String name concode_elem_sep String alternateValueEncoding concode_elem_sep String value concode_field_sep Attribute withAlternateNameEncoding concode_elem_sep String getName concode_elem_sep Attribute withAlternateValueEncoding... | void function ( String arg0 ) { this . name = arg0 ; } |
20,455 | sets that there was an error , during evaluation . concode_field_sep Map<PackageIdentifier,Package> packages concode_elem_sep boolean hasError concode_field_sep void precomputePackages concode_elem_sep Iterable<Label> getLabels concode_elem_sep ResolvedTargets<Target> build concode_elem_sep Package findPackageInGraph c... | void function ( ) { hasError = true ; } |
20,456 | return the value created by the construct method . returns null if either the constructing thread or the current thread was interrupted before a value was produced . concode_field_sep Thread thread concode_elem_sep Integer threadPriority concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_s... | Object function ( ) { while ( true ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 == null ) { return getValue ( ) ; } try { loc0 . join ( ) ; } catch ( InterruptedException loc1 ) { Thread . currentThread ( ) . interrupt ( ) ; return null ; } } } |
20,457 | set whether an existing ehcache cachemanager of the same name will be accepted for this ehcachemanagerfactorybean setup . default is `` false '' . typically used in combination with #setcachemanagername `` cachemanagername '' but will simply work with the default cachemanager name if none specified . all references to ... | void function ( boolean arg0 ) { this . acceptExisting = arg0 ; } |
20,458 | returns a metadata object given the the metadata as a map . the total size of all keysand values must be less than 512 kb . keys must conform to the following regexp : a-za-z0-9 - _ + , and be less than 128 bytes in length . this is reflected as part of a url in the metadata server . additionally , to avoid ambiguity ,... | Metadata function ( Map < String , String > arg0 ) { return newBuilder ( ) . setValues ( arg0 ) . build ( ) ; } |
20,459 | makes a tag value given a field number and wire type . concode_field_sep int MESSAGE_SET_ITEM_TAG concode_elem_sep int MESSAGE_SET_MESSAGE_TAG concode_elem_sep int WIRETYPE_FIXED64 concode_elem_sep int MESSAGE_SET_TYPE_ID concode_elem_sep int WIRETYPE_END_GROUP concode_elem_sep int wireType concode_elem_sep int WIRETYP... | int function ( final int arg0 , final int arg1 ) { return ( arg0 << TAG_TYPE_BITS ) | arg1 ; } |
20,460 | generate a serialized representation of the graph . concode_field_sep long nativeHandle concode_elem_sep Object nativeHandleLock concode_elem_sep boolean active concode_elem_sep int refcount concode_field_sep Reference ref concode_elem_sep long nativeHandle concode_elem_sep long allocate concode_elem_sep OperationBuild... | byte [ ] function ( ) { synchronized ( nativeHandleLock ) { return toGraphDef ( nativeHandle ) ; } } |
20,461 | method to obtain the name of the data source . concode_field_sep String configName concode_elem_sep String timeBetweenEvictionRunsMillis concode_elem_sep String validationQuery concode_elem_sep String userName concode_elem_sep String maxActive concode_elem_sep SecretResolver secretResolver concode_elem_sep String dataS... | String function ( ) { return dataSourceName ; } |
20,462 | write bytes to the output stream . concode_field_sep boolean _msb concode_elem_sep byte[] PadBytes concode_elem_sep BufferedInputStream _inStream concode_elem_sep BufferedOutputStream _outStream concode_field_sep void writeInt concode_elem_sep void writeByte concode_elem_sep void writePadBytes concode_elem_sep void wri... | void function ( byte [ ] arg0 , int arg1 , int arg2 ) { _outStream . write ( arg0 , arg1 , arg2 ) ; } |
20,463 | set the type of the enclosure . concode_field_sep long length concode_elem_sep String type concode_elem_sep String url concode_field_sep String getUrl concode_elem_sep void setLength concode_elem_sep String getType concode_elem_sep long getLength concode_elem_sep void setUrl | void function ( String arg0 ) { this . type = arg0 ; } |
20,464 | gets the available mips in the pe . concode_field_sep double availableMips concode_elem_sep double mips concode_field_sep void setAvailableMips concode_elem_sep double getUtilization concode_elem_sep List<Double> getAllocatedMipsForVm concode_elem_sep void deallocateMipsForAllVms concode_elem_sep double getMips concode... | double function ( ) { return availableMips ; } |
20,465 | checks whether or not two doubles are equal and prints the result . concode_field_sep PlaceHolder placeHolder concode_field_sep void checkStringEquals concode_elem_sep void checkGetPlanet concode_elem_sep void main | void function ( double arg0 , double arg1 , String arg2 ) { if ( arg0 == arg1 ) { System . out . println ( "srini_string" + arg2 + "srini_string" + arg0 + "srini_string" + arg1 ) ; } else { System . out . println ( "srini_string" + arg2 + "srini_string" + arg0 + "srini_string" + arg1 ) ; } } |
20,466 | returns a message about the amount of time spent doing a task if elapsedtimenanos isat least #minnanosforlogging and null otherwise . concode_field_sep LoggingElapsedTimeReceiverFactory FACTORY concode_elem_sep String taskDescription concode_elem_sep Logger logger concode_elem_sep long startTimeNanos concode_elem_sep E... | String function ( long arg0 ) { if ( arg0 >= minNanosForLogging ) { return String . format ( "srini_string" , timeUnit . convert ( arg0 , TimeUnit . NANOSECONDS ) , timeUnit . toString ( ) . toLowerCase ( ) , taskDescription ) ; } else { return null ; } } |
20,467 | multiply two complex numbers concode_field_sep float _theta concode_elem_sep float _r concode_elem_sep PComplex Zero concode_field_sep PComplex div concode_elem_sep PComplex div concode_elem_sep PComplex div concode_elem_sep PComplex inv concode_elem_sep float r concode_elem_sep float abs concode_elem_sep boolean equal... | PComplex function ( PComplex arg0 ) { return new PComplex ( _r * arg0 . r ( ) , _theta + arg0 . theta ( ) ) ; } |
20,468 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep com.amazonaws.internal.SdkInternalList<Workspace> pendingRequests concode_elem_sep com.amazonaws.internal.SdkInternalList<FailedCreateWorkspaceRequest> failedRequests concode_field_sep CreateWorkspacesResult withPendin... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getFailedRequests ( ) != null ) loc0 . append ( "srini_string" + getFailedRequests ( ) + "srini_string" ) ; if ( getPendingRequests ( ) != null ) loc0 . append ( "srini_string" + getPendingRequests ( ) ) ; loc0 . ... |
20,469 | key method that blocks if the src has not yet been provided . concode_field_sep Filter src concode_elem_sep Rectangle2D bounds concode_elem_sep Map props concode_field_sep void setSource concode_elem_sep RenderedImage createRendering concode_elem_sep boolean isDynamic concode_elem_sep Object getProperty concode_elem_se... | Filter function ( ) { while ( src == null ) { try { wait ( ) ; } catch ( InterruptedException loc0 ) { } } return src ; } |
20,470 | receive notification of the end of an element . by default , do nothing . application writers may override this method in a subclass to take specific actions at the end of each element such as finalising a tree node or writing output to a file . concode_field_sep PlaceHolder placeHolder concode_field_sep void startElem... | void function ( String arg0 ) { } |
20,471 | adds a command handler mapped from the command class which this handler should be invoke for to the name of the handler to be created concode_field_sep boolean m_isStatus concode_elem_sep HandlerEntry m_defaultMsgHandler concode_elem_sep HandlerEntry m_dispatcher concode_elem_sep HashMap<Integer,HandlerEntry> m_message... | void function ( Class < ? extends Command > arg0 , HandlerEntry arg1 ) { m_commandHandlers . put ( arg0 , arg1 ) ; } |
20,472 | adds ifd data . if ifd data of the same type already exists , it will be replaced by the new data . concode_field_sep byte[] USER_COMMENT_JIS concode_elem_sep byte[] USER_COMMENT_ASCII concode_elem_sep byte[] mThumbnail concode_elem_sep ByteOrder mByteOrder concode_elem_sep ArrayList<byte[]> mStripBytes concode_elem_se... | void function ( IfdData arg0 ) { mIfdDatas [ arg0 . getId ( ) ] = arg0 ; } |
20,473 | accessor for the string to put in any update datastore statements for this field . in rdbms , this is typically a ? to be used in jdbc statements . concode_field_sep JavaTypeMapping mapping concode_elem_sep Column column concode_elem_sep RDBMSStoreManager storeMgr concode_field_sep void setByte concode_elem_sep boolean... | String function ( ) { return column . getWrapperFunction ( Column . WRAPPER_FUNCTION_UPDATE ) ; } |
20,474 | returns the spring bean id for this bean . concode_field_sep FeedLocalService _service concode_field_sep com.liferay.twitter.model.Feed fetchFeed concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep void updateFeeds concode_elem_sep void updateFeeds concod... | java . lang . String function ( ) { return getService ( ) . getBeanIdentifier ( ) ; } |
20,475 | returns the main title of the report . null if none . concode_field_sep boolean editable concode_elem_sep String separator concode_elem_sep boolean indexes concode_elem_sep boolean header concode_elem_sep long serialVersionUID concode_elem_sep boolean includeSectionTitles concode_elem_sep int separationLines concode_el... | String function ( ) { return mainTitle ; } |
20,476 | returns the flag id of this announcements flag . concode_field_sep AnnouncementsFlag _announcementsFlag concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boole... | long function ( ) { return _announcementsFlag . getFlagId ( ) ; } |
20,477 | retrieves the accumulated time this object has spent running since it was last started . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep void zero concode_elem_sep void stop concode_elem_sep String currentElapsedTimeToMessag... | long function ( ) { if ( running ) { return System . currentTimeMillis ( ) - startTime ; } else { return 0 ; } } |
20,478 | this method is invoked by the jaxb implementation on each instance when unmarshalling completes . concode_field_sep STExt ext concode_elem_sep Object parent concode_elem_sep STFillType type concode_field_sep Object getParent concode_elem_sep STExt getExt concode_elem_sep STFillType getType concode_elem_sep void setPare... | void function ( Unmarshaller arg0 , Object arg1 ) { setParent ( arg1 ) ; } |
20,479 | add this interface to the host 's interfaces list returns true if there is an existing interface with the same id it returns false concode_field_sep ArrayList<AbstractInterface> interfaces concode_elem_sep ArrayList<AbstractChain> chains concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_s... | void function ( Interface arg0 ) { interfaces . add ( arg0 ) ; } |
20,480 | returns a new floatset containing the union of the values in this set and the specified set . concode_field_sep FloatObjectHashMap mMap concode_field_sep boolean add concode_elem_sep FloatSet intersectionWith concode_elem_sep FloatSet xorWith concode_elem_sep boolean containsAll concode_elem_sep boolean containsAll con... | FloatSet function ( FloatSet arg0 ) { int loc0 = 2 * Math . max ( this . size ( ) , arg0 . size ( ) ) ; FloatSet loc1 = new FloatHashSet ( loc0 ) ; loc1 . addAll ( this . toArray ( ) ) ; loc1 . addAll ( arg0 . toArray ( ) ) ; return loc1 ; } |
20,481 | returns the value to which the specified key is mapped in this map . concode_field_sep Entry table[] concode_elem_sep Entry next concode_elem_sep float loadFactor concode_elem_sep int count concode_elem_sep int threshold concode_elem_sep Object value concode_elem_sep int hash concode_elem_sep int key concode_field_sep ... | Object function ( int arg0 ) { Entry loc0 [ ] = table ; int loc1 = arg0 ; int loc2 = ( loc1 & 0x7FFFFFFF ) % loc0 . length ; for ( Entry loc3 = loc0 [ loc2 ] ; loc3 != null ; loc3 = loc3 . next ) { if ( loc3 . loc1 == loc1 ) { return loc3 . value ; } } return null ; } |
20,482 | sets last method to null . concode_field_sep AtomicInteger putAllCnt concode_elem_sep AtomicInteger rmvAllCnt concode_elem_sep boolean shouldFail concode_elem_sep String lastMtd concode_elem_sep AtomicInteger rmvCnt concode_elem_sep Map<K,V> map concode_elem_sep AtomicInteger putCnt concode_elem_sep long ts concode_ele... | void function ( ) { lastMtd = null ; } |
20,483 | print application usage instructions . concode_field_sep String HELP_OPT concode_elem_sep String HELP_LONGOPT concode_elem_sep Log LOG concode_elem_sep String usage concode_field_sep Options buildOptions concode_elem_sep boolean isHelpOption concode_elem_sep void main concode_elem_sep int run | void function ( ) { System . out . println ( usage ) ; } |
20,484 | execute query using the current internal state as where clause . concode_field_sep StringBuilder mSelection concode_elem_sep ArrayList<String> mSelectionArgs concode_field_sep String getSelection concode_elem_sep String[] getSelectionArgs concode_elem_sep SelectionBuilder reset concode_elem_sep int update concode_elem_... | Cursor function ( SQLiteDatabase arg0 , String arg1 , String [ ] arg2 , String arg3 , String arg4 , String arg5 , String arg6 ) { return arg0 . query ( arg1 , arg2 , getSelection ( ) , getSelectionArgs ( ) , arg3 , arg4 , arg5 , arg6 ) ; } |
20,485 | retrieves the name of the savepoint that this savepoint object represents . concode_field_sep String name concode_elem_sep JDBCConnection connection concode_elem_sep int id concode_field_sep String toString concode_elem_sep int getSavepointId | String function ( ) { if ( id == - 1 ) { return name ; } throw Util . notSupported ( ) ; } |
20,486 | test method for org.adempiere.webui.component.wlistitemrenderer #addtablevaluechangelistener org.adempiere.webui.event.tablevaluechangelistener . concode_field_sep Vector<Object> m_dataValid concode_elem_sep Vector<Object> m_dataInvalid concode_elem_sep Vector<String> m_columnNames concode_elem_sep WListItemRenderer m_... | void function ( ) { fail ( "srini_string" ) ; } |
20,487 | utility for loading example tab set content include . concode_field_sep ArrayList<ExampleResource> tldResources concode_elem_sep String defaultId concode_elem_sep String descriptionPath concode_elem_sep String selectedExamplePath concode_elem_sep String resourcesPath concode_elem_sep org.icemobile.samples.mobileshowcas... | void function ( ActionEvent arg0 ) { String loc0 = ( String ) arg0 . getComponent ( ) . getAttributes ( ) . get ( "srini_string" ) ; if ( loc0 != null ) { selectedExamplePath = loc0 ; } } |
20,488 | if value is `` true '' , then true is returned . if value is `` false '' , then true is returned . otherwise , default is returned . case of value is unimportant . concode_field_sep String DELIM_START concode_elem_sep int DELIM_DEFAULT_LEN concode_elem_sep int DELIM_START_LEN concode_elem_sep String _IS_UNDEFINED conco... | boolean function ( String arg0 , boolean arg1 ) { if ( arg0 == null ) { return arg1 ; } String loc0 = arg0 . trim ( ) ; if ( "srini_string" . equalsIgnoreCase ( loc0 ) ) { return true ; } if ( "srini_string" . equalsIgnoreCase ( loc0 ) ) { return false ; } return arg1 ; } |
20,489 | adds the bar to the database . also notifies the appropriate model listeners . concode_field_sep BarLocalService _barLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep boolean hasClassName concode_elem_sep void setWrappedService concode_elem_sep com.liferay.testtransaction.model.B... | com . liferay . testtransaction . model . Bar function ( com . liferay . testtransaction . model . Bar arg0 ) { return _barLocalService . addBar ( arg0 ) ; } |
20,490 | disables the current thread for thread scheduling purposes , for up to the specified waiting time , unless the permit is available . if the permit is available then it is consumed and the call returns immediately ; otherwise the current thread becomes disabled for thread scheduling purposes and lies dormant until one o... | void function ( Object arg0 , long arg1 ) { if ( arg1 > 0 ) { Thread loc0 = Thread . currentThread ( ) ; setBlocker ( loc0 , arg0 ) ; unsafe . park ( false , arg1 ) ; setBlocker ( loc0 , null ) ; } } |
20,491 | calls outputstream #write_string string . concode_field_sep PlaceHolder placeHolder concode_field_sep String extract concode_elem_sep String read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type | void function ( OutputStream arg0 , String arg1 ) { arg0 . write_string ( arg1 ) ; } |
20,492 | returns the number of entries . concode_field_sep EntryLocalService _entryLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep void deleteEntri... | int function ( ) { return _entryLocalService . getEntriesCount ( ) ; } |
20,493 | returns the content of this vcms attached message . concode_field_sep VcmsAttachedMessage _vcmsAttachedMessage concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setContent concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_elem_s... | java . lang . String function ( ) { return _vcmsAttachedMessage . getContent ( ) ; } |
20,494 | gets the value of the type property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep JAXBElement<? extends UserDefinedCSType> userDefinedCS concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep S... | String function ( ) { if ( type == null ) { return "srini_string" ; } else { return type ; } } |
20,495 | sets the value of the service property . concode_field_sep String date concode_elem_sep BigInteger number concode_elem_sep String task concode_elem_sep int waiting concode_elem_sep String service concode_elem_sep String endSLA concode_elem_sep int type concode_elem_sep BigInteger taskId concode_elem_sep Integer timeFla... | void function ( String arg0 ) { this . service = arg0 ; } |
20,496 | see ` escapable_by_server ` variable in the sockjs protocol test suite . concode_field_sep PlaceHolder placeHolder concode_field_sep String encode concode_elem_sep char[] applyJsonQuoting concode_elem_sep String escapeSockJsSpecialChars | boolean function ( char arg0 ) { return ( arg0 >= ' ' && arg0 <= ' ' ) || ( arg0 >= '?' && arg0 <= '?' ) || ( arg0 >= '?' && arg0 <= '?' ) || ( arg0 >= '?' && arg0 <= '?' ) || ( arg0 >= '?' && arg0 <= '?' ) || ( arg0 >= '?' && arg0 <= '?' ) ; } |
20,497 | return the total time in milliseconds for all tasks . concode_field_sep boolean running concode_elem_sep int taskCount concode_elem_sep long startTimeMillis concode_elem_sep String currentTaskName concode_elem_sep TaskInfo lastTaskInfo concode_elem_sep long totalTimeMillis concode_elem_sep List<TaskInfo> taskList conco... | long function ( ) { return this . totalTimeMillis ; } |
20,498 | launch the application . this method is the initial entry point that should be called by a subclass public static void main string args method . concode_field_sep Logger logger concode_elem_sep String RUNNER_CLASS concode_field_sep String getMainClass concode_elem_sep Runnable createMainMethodRunner concode_elem_sep Li... | void function ( String [ ] arg0 ) { try { JarFile . registerUrlProtocolHandler ( ) ; ClassLoader loc0 = createClassLoader ( getClassPathArchives ( ) ) ; launch ( arg0 , getMainClass ( ) , loc0 ) ; } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; System . exit ( 1 ) ; } } |
20,499 | performs binary search of the upper bound in the given array . it is assumed that the array is sorted . the method is guaranteed to return the maximal index of the element that is less or equal to the given key . concode_field_sep PlaceHolder placeHolder concode_field_sep int lowerBound concode_elem_sep int lowerBound ... | int function ( T [ ] arg0 , T arg1 , Comparator < T > arg2 ) { return upperBound ( arg0 , arg1 , 0 , arg0 . length - 1 , Functions . < T > identitySelector ( ) , arg2 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.