idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
4,600 | executes a sql statement that retrieves the count of results in the db . concode_field_sep Query mUpdate concode_elem_sep ConditionQueryBuilder<ModelClass> mConditionQueryBuilder concode_field_sep Query getQueryBuilderBase concode_elem_sep Class<ModelClass> getTable concode_elem_sep Cursor query concode_elem_sep Set<Mo... | long function ( ) { return where ( ) . count ( ) ; } |
4,601 | extract a single family name from a filteradaptercontext . throws if there is not exactly 1 family present in the scan . concode_field_sep RowFilter ACCEPT_ALL_FILTER concode_field_sep String extractRegexPattern | String function ( FilterAdapterContext arg0 ) { Preconditions . checkState ( arg0 . getScan ( ) . numFamilies ( ) == 1 , "srini_string" ) ; return Bytes . toString ( arg0 . getScan ( ) . getFamilies ( ) [ 0 ] ) ; } |
4,602 | sets root of test working directory and resets any other paths that must be children of the test working directory . typical usage is for subclasses that use hdfs to override the test directory to the form '' / tmp / '' so that on windows , tests wo n't attempt to use paths containing a ' : ' from the drive specifier .... | void function ( File arg0 ) { TEST_DIR = arg0 ; OUTPUT_DIR = new File ( arg0 , "srini_string" ) ; INPUT_FILE = new File ( arg0 , "srini_string" ) ; } |
4,603 | returns true if some incrementation options are defined . concode_field_sep VersioningActions defaultVersioningAction concode_elem_sep long serialVersionUID concode_elem_sep List<VersioningActions> options concode_field_sep VersioningActions getDefaultVersioningAction concode_elem_sep void addOption concode_elem_sep vo... | boolean function ( ) { return options != null && ! options . isEmpty ( ) ; } |
4,604 | setvalueat concode_field_sep EventListenerList listenerList concode_field_sep EventListener[] getListeners concode_elem_sep void addTableModelListener concode_elem_sep void removeTableModelListener concode_elem_sep int getRowCount concode_elem_sep void fireTableStructureChanged concode_elem_sep void fireTableRowsUpdate... | void function ( Object arg0 , int arg1 , int arg2 ) { } |
4,605 | the date and time when the credential report was created , in iso 8601 date-time format . concode_field_sep java.util.Date generatedTime concode_elem_sep String reportFormat concode_elem_sep java.nio.ByteBuffer content concode_field_sep void setReportFormat concode_elem_sep void setReportFormat concode_elem_sep void se... | void function ( java . util . Date arg0 ) { this . generatedTime = arg0 ; } |
4,606 | the arn specifying the resource group that is created . concode_field_sep String resourceGroupArn concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CreateResourceGroupResult clone concode_elem_sep CreateResourceGroupResult withResourceGroupArn concode_elem_sep String toString concode_elem_... | String function ( ) { return this . resourceGroupArn ; } |
4,607 | determine if this timerpreservemissed object represents the none option . this method is effectively equivalent to the conditional test : this == none , ie . the code : if timerpreservemissed.isnone ... is interchangeable with the code : if timerpreservemissed == timerpreservemissed.none ... concode_field_sep TimerPres... | boolean function ( ) { return option == PRESERVE_NONE ; } |
4,608 | load the profile-specific properties from the specified resource if any , give the name provided and add it as the first source . concode_field_sep List<PropertySourceLoader> loaders concode_elem_sep Log logger concode_elem_sep MutablePropertySources propertySources concode_field_sep boolean canLoadFileExtension concod... | PropertySource < ? > function ( Resource arg0 , String arg1 , String arg2 ) { return load ( arg0 , null , arg1 , arg2 ) ; } |
4,609 | get the full file model object for an absolute name . concode_field_sep Document dom concode_elem_sep File projectPath concode_elem_sep FullBuildModel model concode_elem_sep String[] sourcePaths concode_field_sep String checkNotBlank concode_elem_sep FullBuildModel getModel concode_elem_sep void setSourcePaths concode_... | FullFileModel function ( String arg0 ) { File loc0 = new File ( arg0 ) ; String loc1 = resolveName ( arg0 ) ; return getFileModel ( loc1 , loc0 ) ; } |
4,610 | tracks the occurrence of a custom event with additional dimensions . parse will store a data point at the time of invocation with the given event name . dimensions will allow segmentation of the occurrences of this custom event . to track a user signup along with additional metadata , consider the following : map dimen... | void function ( String arg0 , Map < String , String > arg1 , SaveCallback arg2 ) { ParseTaskUtils . callbackOnMainThreadAsync ( trackEventInBackground ( arg0 , arg1 ) , arg2 ) ; } |
4,611 | a value that indicates the starting point for the next set of response records in a subsequent request . if a value is returned in a response , you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command . if the marker field is empty , all response ... | DescribeClusterSecurityGroupsResult function ( String arg0 ) { this . marker = arg0 ; return this ; } |
4,612 | returns the primary key of this w s r p consumer portlet . concode_field_sep WSRPConsumerPortlet _wsrpConsumerPortlet concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setEx... | long function ( ) { return _wsrpConsumerPortlet . getPrimaryKey ( ) ; } |
4,613 | entry point for embedded applications . this method attaches to the given contextfactory with the given scope . noi/o redirection is performed as with #main string . 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 ... | Main function ( ContextFactory arg0 , ScopeProvider arg1 , String arg2 ) { return mainEmbeddedImpl ( arg0 , arg1 , arg2 ) ; } |
4,614 | returns true if this list is empty . concode_field_sep Vertex head concode_elem_sep Vertex tail concode_field_sep void add concode_elem_sep void addAll concode_elem_sep void clear concode_elem_sep void delete concode_elem_sep void delete concode_elem_sep Vertex first concode_elem_sep void insertBefore | boolean function ( ) { return head == null ; } |
4,615 | returns status from accumulated conversion . concode_field_sep byte TR1001_SYNCH1 concode_elem_sep boolean accumulatedConversionOK concode_elem_sep int TR1001_PREAMBLE_LENGTH concode_elem_sep byte TR1001_SYNCH2 concode_elem_sep int TR1001_NR_SYNCHBYTES concode_elem_sep int[] accumulatedConversionDataLengthArray concode... | boolean function ( ) { return accumulatedConversionOK ; } |
4,616 | returns the line number in the source file . concode_field_sep int line concode_elem_sep String modifier concode_elem_sep int origin concode_elem_sep CssValue value concode_elem_sep String sourceFile concode_field_sep String getFeatureName concode_elem_sep int getOrigin concode_elem_sep void setOrigin concode_elem_sep ... | int function ( ) { return line ; } |
4,617 | returns a name for this portlet . this is used by psml to identify a portlet within the portletregistry concode_field_sep String title concode_elem_sep JetspeedLogger logger concode_elem_sep String handle concode_elem_sep long creationTime concode_elem_sep String image concode_elem_sep PortletConfig pc concode_elem_sep... | String function ( ) { return name ; } |
4,618 | returns true if the file is a directory . concode_field_sep String date concode_elem_sep String size concode_elem_sep String name concode_elem_sep String href concode_elem_sep String type concode_elem_sep boolean isDirectory concode_field_sep String getHref concode_elem_sep String getFileSize concode_elem_sep List<File... | boolean function ( ) { return isDirectory ; } |
4,619 | creates new list being random subset of the passed list concode_field_sep Random random concode_field_sep int randomInt concode_elem_sep String numerify concode_elem_sep String numerify concode_elem_sep String letterify concode_elem_sep String letterify concode_elem_sep String replaceSymbolWithCharsFromTo concode_elem_... | List < T > function ( List < T > arg0 , int arg1 ) { shuffle ( arg0 , random ) ; return arg0 . subList ( 0 , arg1 % arg0 . size ( ) ) ; } |
4,620 | gets the value of the sku property . concode_field_sep String description concode_elem_sep long serialVersionUID concode_elem_sep String sku concode_elem_sep String type concode_elem_sep BigDecimal value concode_field_sep BigDecimal getValue concode_elem_sep String getType concode_elem_sep void setValue concode_elem_se... | String function ( ) { return sku ; } |
4,621 | send a cannotcomplete request . concode_field_sep ParticipantStub PARTICIPANT_STUB concode_field_sep void cancel concode_elem_sep void mixedOutcome concode_elem_sep void exit concode_elem_sep void fail concode_elem_sep void unsolicitedComplete concode_elem_sep void participantCompleteClose concode_elem_sep void partici... | void function ( final String arg0 , final CoordinationContextType arg1 ) { final String loc0 = MessageId . getMessageId ( ) ; final MAP loc1 = AddressingHelper . createRequestContext ( arg0 , loc0 ) ; SyncParticipantClient . getClient ( ) . sendCannotComplete ( arg1 , loc1 ) ; } |
4,622 | indicate whether sound effects should be played concode_field_sep boolean soundWorks concode_elem_sep SoundLoader store concode_elem_sep int sourceCount concode_elem_sep HashMap loaded concode_elem_sep boolean sounds concode_elem_sep IntBuffer sources concode_elem_sep int nextSource concode_elem_sep boolean inited conc... | void function ( boolean arg0 ) { if ( soundWorks ) { this . sounds = arg0 ; } } |
4,623 | gets the flag that indicates whether we start on scheduler startup . concode_field_sep String DEFAULT_DATE_FORMAT concode_elem_sep int MILLISECONDS_PER_SECOND concode_elem_sep String dateFormat concode_elem_sep String description concode_elem_sep int MINUTES_PER_HOUR concode_elem_sep int DAYS_PER_WEEK concode_elem_sep ... | Boolean function ( ) { return this . startOnStartup ; } |
4,624 | get the set of file summaries for a particular type . concode_field_sep Map<String,FullFileModel> fileModels concode_elem_sep SortedMap<String,SortedSet<FileSummary>> typeMap concode_field_sep void addType concode_elem_sep Map<String,FullFileModel> getFileModelMap concode_elem_sep void cleanup concode_elem_sep int getC... | SortedSet < FileSummary > function ( String arg0 ) { SortedSet < FileSummary > loc0 = typeMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new TreeSet < FileSummary > ( ) ; typeMap . put ( arg0 , loc0 ) ; } return loc0 ; } |
4,625 | handles new shipment request . in the jsp we are using spring 's form : form tags spring expects a model called by default ` command ' or any name we set to it . concode_field_sep ShipmentBOInterface shipmentBO concode_elem_sep Logger logger concode_field_sep ModelAndView shipmentDefault concode_elem_sep ModelAndView s... | String function ( @ Valid Shipment arg0 , BindingResult arg1 ) { logger . info ( "srini_string" + arg0 . toString ( ) ) ; if ( arg1 . hasErrors ( ) ) { Map < String , Object > loc0 = new HashMap < String , Object > ( ) ; loc0 . put ( "srini_string" , arg0 ) ; return "srini_string" ; } shipmentBO . insert ( arg0 ) ; ret... |
4,626 | returns the total number of search results for the query . concode_field_sep String baseURL concode_elem_sep String APIKey concode_field_sep JSONObject ExploitDBDownload concode_elem_sep JSONObject request concode_elem_sep JSONObject search concode_elem_sep JSONObject MSFSearch concode_elem_sep JSONObject ExploitsSearc... | JSONObject function ( String arg0 ) { return request ( "srini_string" , "srini_string" + arg0 ) ; } |
4,627 | adds an arc that should be required if this node is required concode_field_sep List<Arc> requiredArcs concode_elem_sep Log logger concode_elem_sep GraphElementDomain domain concode_elem_sep boolean queued concode_elem_sep GraphElementChangeListener listener concode_elem_sep int id concode_elem_sep List<Arc> arcs concod... | void function ( Arc arg0 ) { if ( requiredArcs == null ) requiredArcs = new LinkedList < Arc > ( ) ; requiredArcs . add ( arg0 ) ; } |
4,628 | returns the distance in kilometers . concode_field_sep Calendar date concode_elem_sep double kilometer concode_elem_sep double KM_TO_MILES concode_field_sep void setKilometer concode_elem_sep double getMiles concode_elem_sep void setDate concode_elem_sep Calendar getDate concode_elem_sep String toString | double function ( ) { return kilometer ; } |
4,629 | returns a summary of the dictionary entries . concode_field_sep Name LENGTH_KEY concode_elem_sep Name FORM_TYPE_KEY concode_elem_sep HashMap<Object,Object> entries concode_elem_sep Library library concode_elem_sep boolean inited concode_elem_sep boolean isDeleted concode_elem_sep Reference pObjectReference concode_elem... | String function ( ) { return getClass ( ) . getName ( ) + "srini_string" + entries . toString ( ) ; } |
4,630 | determine if the specified instance matches one of the candidates.if the candidates collection is null , returns false . concode_field_sep Collection<? extends T> excludes concode_elem_sep boolean matchIfEmpty concode_elem_sep Collection<? extends T> includes concode_field_sep String toString | boolean function ( T arg0 , Collection < ? extends T > arg1 ) { for ( T loc0 : arg1 ) { if ( match ( arg0 , loc0 ) ) { return true ; } } return false ; } |
4,631 | this is called to get a custom gradle executable file . if you do n't run gradle.bat or gradle shell script to run gradle , use this to specify what you do run . note : we 're going to pass it the arguments that we would pass to gradle so if you do n't like that , see altercommandlinearguments . normally , this should ... | File function ( ) { return gradleInterfaceWrapper . getCustomGradleExecutable ( ) ; } |
4,632 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String name concode_elem_sep Long id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setId concode_elem_sep ... | String function ( Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
4,633 | set the timeout in milliseconds for reading individual readrowsresponse messages from a stream . concode_field_sep double backoffMultiplier concode_elem_sep double backoffMultiplier concode_elem_sep boolean retriesEnabled concode_elem_sep int maxElaspedBackoffMillis concode_elem_sep int streamingBufferSize concode_elem... | Builder function ( int arg0 ) { this . readPartialRowTimeoutMillis = arg0 ; return this ; } |
4,634 | adds a log entry concode_field_sep File file concode_elem_sep SimpleDateFormat dateFormat concode_elem_sep PrintStream logFile concode_field_sep void exception concode_elem_sep void setDateFormat concode_elem_sep void debug concode_elem_sep void severe concode_elem_sep void warning concode_elem_sep File getFile concode... | void function ( String arg0 , String arg1 , String arg2 ) { logFile . println ( dateFormat . format ( new Date ( System . currentTimeMillis ( ) ) ) + "srini_string" + arg0 . toUpperCase ( ) + "srini_string" + arg1 . toUpperCase ( ) + "srini_string" + arg2 ) ; System . out . println ( dateFormat . format ( new Date ( Sy... |
4,635 | gets the end point of the transition , a float between 0.0 and 1.0 . defaults to 1.0 . concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep... | float function ( ) { return to ; } |
4,636 | get the type from which this item type is derived by restriction . this is the supertype in the xpath type heirarchy , as distinct from the schema base type : this means that the supertype of xs : boolean is xs : anyatomictype , whose supertype is item rather than xs : anysimpletype . in fact the concept of `` supertyp... | ItemType function ( TypeHierarchy arg0 ) { return AnyNodeTest . getInstance ( ) ; } |
4,637 | gets the value of the dfirstgame property . concode_field_sep XMLGregorianCalendar dFirstGame concode_elem_sep XMLGregorianCalendar dLastGroupDateGame concode_elem_sep int iGames concode_elem_sep XMLGregorianCalendar dLastGame concode_field_sep XMLGregorianCalendar getDLastGroupDateGame concode_elem_sep void setDLastGr... | XMLGregorianCalendar function ( ) { return dFirstGame ; } |
4,638 | return a shared parameter name discoverer which caches data internally . concode_field_sep String expression concode_elem_sep SpelExpressionParser parser concode_elem_sep ParameterNameDiscoverer parameterNameDiscoverer concode_elem_sep AnnotatedElementKey element concode_field_sep Expression getExpression concode_elem_... | ParameterNameDiscoverer function ( ) { return this . parameterNameDiscoverer ; } |
4,639 | gets the cpu time given the specified parameters only for time_shared . note : the cpu time for space_shared and advance_reservation are not yet implemented . concode_field_sep int OTHER_POLICY_DIFFERENT_RATING concode_elem_sep int SPACE_SHARED concode_elem_sep String os concode_elem_sep double timeZone concode_elem_se... | double function ( double arg0 , double arg1 ) { double loc0 = 0.0 ; switch ( getAllocationPolicy ( ) ) { case DatacenterCharacteristics . TIME_SHARED : loc0 = arg0 / ( getMipsOfOnePe ( ) * ( 1.0 - arg1 ) ) ; break ; default : break ; } return loc0 ; } |
4,640 | retrieve the type of the event . concode_field_sep long serialVersionUID concode_elem_sep Map<String,Object> eventData concode_elem_sep String EVENT_TYPE concode_elem_sep String EVENT_MESSAGE concode_elem_sep String EVENT_DATETIME concode_elem_sep String EVENT_ID concode_field_sep Iterator<Map.Entry<String,Object>> get... | String function ( ) { return ( String ) this . eventData . get ( EVENT_TYPE ) ; } |
4,641 | should bean validation be performed concode_field_sep Map<String,CloneableBootstrapContext> bootstrapContexts concode_elem_sep AtomicBoolean archiveValidationFailOnError concode_elem_sep AtomicBoolean beanValidation concode_elem_sep CloneableBootstrapContext defaultBootstrapContext concode_elem_sep AtomicBoolean archiv... | boolean function ( ) { return Tracer . isEnabled ( ) ; } |
4,642 | do not delete ! needed for jackson concode_field_sep String type concode_elem_sep UUID uuid concode_field_sep String getType concode_elem_sep int hashCode concode_elem_sep UUID getUuid concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep void setUuid | void function ( final String arg0 ) { this . type = arg0 ; } |
4,643 | returns rest status corresponding to this failure concode_field_sep String reason concode_elem_sep String index concode_elem_sep int shardId concode_elem_sep String nodeId concode_elem_sep RestStatus status concode_field_sep String reason concode_elem_sep void writeTo concode_elem_sep void readFrom concode_elem_sep voi... | RestStatus function ( ) { return status ; } |
4,644 | returns the list of unversioned files . this method may be slow , if the full-refresh of untracked files is needed . concode_field_sep Logger LOG concode_elem_sep VcsDirtyScopeManager myDirtyScopeManager concode_elem_sep GitRepository myRepository concode_elem_sep boolean myReady concode_elem_sep Object LOCK concode_el... | Collection < VirtualFile > function ( ) { if ( isReady ( ) ) { verifyPossiblyUntrackedFiles ( ) ; } else { rescanAll ( ) ; } synchronized ( myDefinitelyUntrackedFiles ) { return new ArrayList < VirtualFile > ( myDefinitelyUntrackedFiles ) ; } } |
4,645 | copies 4 first bytes of the byte concode_field_sep int header_len concode_elem_sep byte[] dir_uuid concode_elem_sep byte[] signature concode_elem_sep int currentPlace concode_elem_sep long serialVersionUID concode_elem_sep long lang_id concode_elem_sep long dir_offset concode_elem_sep int dataRemained concode_elem_sep ... | void function ( byte [ ] arg0 , ChmItsfHeader arg1 , int arg2 ) { ChmAssert . assertChmAccessorParameters ( arg0 , arg1 , arg2 ) ; System . arraycopy ( arg0 , 0 , arg1 . signature , 0 , arg2 ) ; this . setCurrentPlace ( this . getCurrentPlace ( ) + arg2 ) ; this . setDataRemained ( this . getDataRemained ( ) - arg2 ) ;... |
4,646 | get aspect concode_field_sep Dictionary<Object> dictionary_ concode_elem_sep int timestamp_ concode_elem_sep State KPtr concode_elem_sep Cloner cloner concode_elem_sep Impl pimpl_ concode_elem_sep ArrayList<String> aspects_ concode_field_sep State next concode_elem_sep ArrayList<String> getAspects concode_elem_sep void... | T function ( final String arg0 ) { return ( T ) getAny ( arg0 ) ; } |
4,647 | sets the value of the customrollup property . concode_field_sep Object parent concode_elem_sep String uniqueName concode_elem_sep CTExtensionList extLst concode_elem_sep Boolean customRollUp concode_elem_sep CTGroups groups concode_elem_sep String caption concode_elem_sep Boolean user concode_field_sep Object getParent... | void function ( Boolean arg0 ) { this . customRollUp = arg0 ; } |
4,648 | comparator class that compares two itemsets by timestamp . concode_field_sep int numberOfItems concode_elem_sep List<Itemset> itemsets concode_elem_sep int id concode_field_sep void addItem concode_elem_sep int size concode_elem_sep Itemset get concode_elem_sep int length concode_elem_sep void setID concode_elem_sep in... | int function ( Itemset arg0 , Itemset arg1 ) { long loc0 = arg0 . getTimestamp ( ) ; long loc1 = arg1 . getTimestamp ( ) ; if ( loc0 < loc1 ) { return - 1 ; } return 1 ; } |
4,649 | creates the log-entry format with level warn and logs under the loggers name org.openhab.model.script . < loggername > concode_field_sep String LOGGER_NAME_PREFIX concode_field_sep void logError concode_elem_sep void logInfo concode_elem_sep void logDebug | void function ( String arg0 , String arg1 , Object ... arg2 ) { LoggerFactory . getLogger ( LOGGER_NAME_PREFIX . concat ( arg0 ) ) . warn ( arg1 , arg2 ) ; } |
4,650 | return a set of messages based on the state of the flags . note : not typically implemented in remote stores , so not abstract . concode_field_sep PlaceHolder placeHolder concode_field_sep int getMessageCount concode_elem_sep String getName concode_elem_sep void copyMessages concode_elem_sep void delete concode_elem_se... | Message [ ] function ( Flag [ ] arg0 , Flag [ ] arg1 , MessageRetrievalListener arg2 ) { throw new MessagingException ( "srini_string" ) ; } |
4,651 | aligns the first rows cols components of parent in a grid . each component in a column is as wide as the maximum preferred width of the components in that column ; height is similarly determined for each row . the parent is made just big enough to fit them all . concode_field_sep Cursor DEFAULT_CURSOR concode_elem_sep ... | void function ( Container arg0 , int arg1 , int arg2 ) { makeSpringCompactGrid ( arg0 , arg1 , arg2 , PAD , PAD , PAD , PAD ) ; } |
4,652 | gets the value of the tinyimage property . concode_field_sep Image swatchImage concode_elem_sep Image largeImage concode_elem_sep Image smallImage concode_elem_sep Image tinyImage concode_elem_sep Image mediumImage concode_elem_sep Image thumbnailImage concode_elem_sep String category concode_field_sep void setLargeIma... | Image function ( ) { return tinyImage ; } |
4,653 | utility to check to see if a given entity class is instrumented . concode_field_sep JavassistDelegate INSTANCE concode_elem_sep String MARKER concode_elem_sep Set<Delegate> INSTRUMENTATION_DELEGATES concode_field_sep Set<Delegate> buildInstrumentationDelegates concode_elem_sep FieldInterceptor injectInterceptor concode... | boolean function ( Class arg0 ) { for ( Delegate loc0 : INSTRUMENTATION_DELEGATES ) { if ( loc0 . isInstrumented ( arg0 ) ) { return true ; } } return false ; } |
4,654 | verifies that the no refill happens after `` checkinterval '' if num values above `` lowwatermark '' concode_field_sep int num concode_elem_sep LinkedBlockingQueue<FillInfo> fillCalls concode_elem_sep String key concode_field_sep void testWarmUp concode_elem_sep void testgetAtMostPolicyLOW_WATERMARK concode_elem_sep vo... | void function ( ) { MockFiller loc0 = new MockFiller ( ) ; ValueQueue < String > loc1 = new ValueQueue < String > ( 10 , 0.5f , 300 , 1 , SyncGenerationPolicy . ALL , loc0 ) ; Assert . assertEquals ( "srini_string" , loc1 . getNext ( "srini_string" ) ) ; Assert . assertEquals ( 5 , loc0 . getTop ( ) . num ) ; Assert . ... |
4,655 | reset buffer when finished . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep int bufcolumn[] concode_elem_sep int bufline[] c... | void function ( ) { buffer = null ; bufline = null ; bufcolumn = null ; } |
4,656 | getter for property locale . concode_field_sep Object mutex concode_elem_sep HsqlArrayList bundleList concode_elem_sep Locale locale concode_elem_sep Method newGetBundleMethod concode_elem_sep String prefix concode_elem_sep HashMap bundleHandleMap concode_field_sep String getString concode_elem_sep Method getNewGetBund... | Locale function ( ) { synchronized ( mutex ) { return locale ; } } |
4,657 | specifies the origin of this event - a cache cluster , a parameter group , a security group , etc. . returns a reference to this object so that method calls can be chained together . constraints : allowed values : cache-cluster , cache-parameter-group , cache-security-group , cache-subnet-group concode_field_sep java.u... | Event function ( SourceType arg0 ) { this . sourceType = arg0 . toString ( ) ; return this ; } |
4,658 | gets the memory test . concode_field_sep String contextName concode_elem_sep int memoryTest concode_elem_sep int DEFAULT_MEMORY_SIZE concode_elem_sep int fileTest concode_elem_sep int webappAvailabilityTest concode_elem_sep long maxServiceTime concode_elem_sep String dataSourceName concode_elem_sep int TEST_UNKNOWN con... | int function ( ) { return memoryTest ; } |
4,659 | returns the list of files with the specified name . concode_field_sep ExtensionPointName<PsiShortNamesCache> EP_NAME concode_field_sep PsiField[] getFieldsByName concode_elem_sep PsiClass[] getClassesByName concode_elem_sep String[] getAllClassNames concode_elem_sep void getAllClassNames concode_elem_sep boolean proces... | PsiFile [ ] function ( @ NotNull String arg0 ) { return PsiFile . EMPTY_ARRAY ; } |
4,660 | convenience that passes through to typeinfodataaccess concode_field_sep DKDBTableDataAccess _tableDataAccess concode_elem_sep Logger _log concode_elem_sep String USERNAME_KEY concode_elem_sep DKDBConnectionInfo _connectionInfo concode_elem_sep String PASSWORD_KEY concode_elem_sep boolean _caseSensitive concode_elem_sep... | DKDBType function ( String arg0 ) { return _typeInfoDataAccess . getType ( arg0 ) ; } |
4,661 | gets the value of the showtimes property . concode_field_sep String showTimes concode_elem_sep String rating concode_elem_sep String name concode_elem_sep String runningTime concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getRunningTime concode_elem_sep void setRunningTime concode... | String function ( ) { return showTimes ; } |
4,662 | sets the value of the ins property . concode_field_sep Object parent concode_elem_sep CTTrackChange del concode_elem_sep CTTrackChange moveFrom concode_elem_sep List<Object> egrPrBase concode_elem_sep CTTrackChange ins concode_elem_sep CTTrackChange moveTo concode_field_sep CTTrackChange getIns concode_elem_sep void se... | void function ( CTTrackChange arg0 ) { this . ins = arg0 ; } |
4,663 | retrieves the canonical path for the given file , in a jdk 1.1 complaint way . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_elem_sep FileAccessRes fileA... | String function ( File arg0 ) { return arg0 . getCanonicalPath ( ) ; } |
4,664 | computes the elapsed time in nanoseconds between the two points indicated by the indices . for example , to obtain the duration between the first call to now and the second call to now , use elapsed 0,1 ; concode_field_sep long[] rawNanoTimes concode_elem_sep int index concode_elem_sep long C1 concode_elem_sep int numV... | long function ( int arg0 , int arg1 ) { return rawNanoTimes [ arg1 ] - rawNanoTimes [ arg0 ] ; } |
4,665 | removes from the underlying collection the last element returned by this iterator optional operation . this method can be called only once per call to #next . the behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this meth... | void function ( ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
4,666 | executes the remove actions . concode_field_sep String m_implementorName concode_elem_sep ArrayList m_removeCommands concode_elem_sep char[] m_image concode_elem_sep StringBuffer m_buffer concode_elem_sep ArrayList m_installCommands concode_elem_sep Logger m_logger concode_elem_sep int m_position concode_field_sep int ... | void function ( Connection arg0 ) { this . executeArray ( m_removeCommands , arg0 ) ; } |
4,667 | removes a unit of data to the current chart data model . concode_field_sep String LINE_CHART_NAME concode_elem_sep String CUSTOM_CHART_NAME concode_elem_sep String PIE2D_CHART_NAME concode_elem_sep Map chartDataModels concode_elem_sep String AREA_CHART_NAME concode_elem_sep String BAR_CLUSTERED_CHART_NAME concode_elem_... | void function ( ActionEvent arg0 ) { if ( currentChartModel != null ) { currentChartModel . addData ( ) ; } } |
4,668 | calls inputstream #read_string . concode_field_sep PlaceHolder placeHolder concode_field_sep String extract concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | String function ( InputStream arg0 ) { return arg0 . read_string ( ) ; } |
4,669 | is the key in the table ? concode_field_sep TreeMap<Key,Value> st concode_field_sep Iterator<Key> iterator concode_elem_sep Key min concode_elem_sep int size concode_elem_sep Key max concode_elem_sep Iterable<Key> keys concode_elem_sep Value get concode_elem_sep void main concode_elem_sep Key ceil concode_elem_sep Key ... | boolean function ( Key arg0 ) { return st . containsKey ( arg0 ) ; } |
4,670 | set the reference instance . concode_field_sep Reference reference concode_elem_sep MultipleManagedConnectionFactory1 mcf concode_elem_sep Logger log concode_elem_sep ConnectionManager connectionManager concode_elem_sep long serialVersionUID concode_field_sep MultipleConnection1 getConnection concode_elem_sep Reference... | void function ( Reference arg0 ) { log . trace ( "srini_string" ) ; this . reference = arg0 ; } |
4,671 | return true if this ticket was granted by an application server , and not via a ticket-granting ticket . concode_field_sep int INITIAL concode_elem_sep int NUM_FLAGS concode_elem_sep KerberosPrincipal server concode_elem_sep int RENEWABLE concode_elem_sep KeyImpl sessionKey concode_elem_sep byte[] asn1Encoding concode_... | boolean function ( ) { return flags [ INITIAL ] ; } |
4,672 | initializes the sparkclient library . must be called before creating client instances . concode_field_sep String CONF_CLIENT_ID concode_elem_sep RpcServer server concode_elem_sep String CONF_KEY_IN_PROCESS concode_elem_sep String CONF_KEY_SECRET concode_field_sep SparkClient createClient concode_elem_sep void stop | void function ( Map < String , String > arg0 ) { if ( server == null ) { try { server = new RpcServer ( arg0 ) ; } catch ( InterruptedException loc0 ) { throw Throwables . propagate ( loc0 ) ; } } } |
4,673 | set the game reference for this player . concode_field_sep boolean isRemote concode_elem_sep boolean mWasRight concode_elem_sep int playerID concode_elem_sep boolean isCPU concode_elem_sep boolean mWasUp concode_elem_sep byte PLAYER2 concode_elem_sep boolean mWasLeft concode_elem_sep byte PLAYER1 concode_elem_sep boole... | void function ( FrozenGame arg0 ) { mGameRef = arg0 ; } |
4,674 | returns the view url for the next page . used by action when returning the view . concode_field_sep Stack<ConversationContext<?>> contextes concode_elem_sep String CONVERSATION_COUNTER_KEY concode_elem_sep int conversationContextIdCounter concode_elem_sep Logger log concode_elem_sep int popContextOnNextPauseCounter con... | String function ( ) { ConversationContext < ? > loc0 = nextContext ( ) ; return loc0 != null ? loc0 . view ( ) : "srini_string" ; } |
4,675 | gets the value of the effectdag property . concode_field_sep Boolean bandRow concode_elem_sep CTPatternFillProperties pattFill concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTTableStyle tableStyle concode_elem_sep Boolean firstCol concode_elem_sep CTEffectList effectLst concode_elem_sep Boolean rtl ... | CTEffectContainer function ( ) { return effectDag ; } |
4,676 | read an integer key-value pair . concode_field_sep Map<Short,Float> floatsMap concode_elem_sep Boolean isGated concode_elem_sep byte[] valHeaders concode_elem_sep BufferedInputStream f concode_elem_sep ADACLog logger concode_elem_sep BufferedInputStream inputStream concode_elem_sep Map<Short,Integer> intsMap concode_el... | void function ( IntKvp arg0 ) { int loc0 = valBuffer . getInt ( arg0 . getFieldOffset ( ) ) ; arg0 . setValue ( loc0 ) ; intsMap . put ( arg0 . getKeyNum ( ) , arg0 . getValue ( ) ) ; logger . log ( arg0 . getLogString ( ) ) ; } |
4,677 | only when plan is not null and at least one of #validcascadingplan long , evictionplan , blockmetadatamanager , #validnoncascadingplan long , evictionplan , blockmetadatamanager is true , the assertionwill be passed , used in unit test . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean requestSpaceSa... | void function ( long arg0 , EvictionPlan arg1 , BlockMetadataManager arg2 ) { Assert . assertNotNull ( arg1 ) ; Assert . assertTrue ( validNonCascadingPlan ( arg0 , arg1 , arg2 ) || validCascadingPlan ( arg0 , arg1 , arg2 ) ) ; } |
4,678 | return the next lazy results concode_field_sep Iterator<LinkedList<SchemaTableTree>> emitLeftJoinResultsIterator concode_elem_sep boolean lazy concode_elem_sep LinkedList<SchemaTableTree> emitCurrentLeftJoinResult concode_elem_sep Iterator<List<Emit<SqlgElement>>> allElements concode_elem_sep Iterator<SchemaTableTree> ... | E function ( ) { List < Emit < SqlgElement >> loc0 = this . elements ; this . elements = null ; return ( E ) loc0 ; } |
4,679 | get the view interceptors for a method . these interceptors are run sequentially on the `` server side '' of an invocation . the interceptor factories are used every time a new view instance is constructed , called with a new factory context each time . the factory may return the same interceptor instance or a new inte... | List < InterceptorFactory > function ( Method arg0 ) { OrderedItemContainer < InterceptorFactory > loc0 = viewInterceptors . get ( arg0 ) ; if ( loc0 == null ) { return Collections . emptyList ( ) ; } return loc0 . getSortedItems ( ) ; } |
4,680 | some checks for the getrangeupperbound method . concode_field_sep double EPSILON concode_field_sep void testSerialization2 concode_elem_sep void testGetRangeLowerBound concode_elem_sep void testCloning concode_elem_sep void testSerialization1 concode_elem_sep void testRemove concode_elem_sep void testAdd concode_elem_s... | void function ( ) { DefaultStatisticalCategoryDataset loc0 = new DefaultStatisticalCategoryDataset ( ) ; loc0 . add ( 1.0 , 2.0 , "srini_string" , "srini_string" ) ; assertEquals ( 1.0 , loc0 . getRangeUpperBound ( false ) , EPSILON ) ; assertEquals ( 3.0 , loc0 . getRangeUpperBound ( true ) , EPSILON ) ; } |
4,681 | when this method is called , it means that there is an unimplemeted portion of the spec in the schema generator . concode_field_sep PlaceHolder placeHolder concode_field_sep void checkSpec concode_elem_sep void checkSpec concode_elem_sep void prototype concode_elem_sep void prototype | void function ( String arg0 ) { } |
4,682 | helper method to ensure that element array buffer objects are enabled . if they are disabled , we 'll throw an openglexception concode_field_sep PlaceHolder placeHolder concode_field_sep int calculateBytesPerPixel concode_elem_sep void ensureArrayVBOdisabled concode_elem_sep int calculateTexImage2DStorage concode_elem_... | void function ( ) { if ( LWJGLUtil . CHECKS && StateTracker . getTracker ( ) . elementArrayBuffer == 0 ) throw new OpenGLException ( "srini_string" ) ; } |
4,683 | implement the parcelable interface @hide concode_field_sep String NONE concode_elem_sep int HEX_RADIX concode_elem_sep ByteArrayOutputStream octets concode_elem_sep Creator<WifiSsid> CREATOR concode_elem_sep String TAG concode_field_sep byte[] getOctets concode_elem_sep String getHexString concode_elem_sep void convert... | int function ( ) { return 0 ; } |
4,684 | append a long value . concode_field_sep char mode concode_elem_sep boolean comma concode_elem_sep int top concode_elem_sep int maxdepth concode_elem_sep Writer writer concode_elem_sep JSONObject stack[] concode_field_sep void pop concode_elem_sep JSONWriter array concode_elem_sep JSONWriter end concode_elem_sep JSONWri... | JSONWriter function ( long arg0 ) { return this . append ( Long . toString ( arg0 ) ) ; } |
4,685 | adds a new synthetic method to be written . it must be analyzed ! concode_field_sep Map<String,Constant> constantInitializers concode_elem_sep Map<String,SFunction> syntheticMethods concode_elem_sep BitSet statements concode_field_sep Map<String,Constant> getConstantInitializers concode_elem_sep BitSet getStatements co... | void function ( SFunction arg0 ) { if ( ! arg0 . synthetic ) { throw new IllegalStateException ( "srini_string" + arg0 . name + "srini_string" ) ; } if ( syntheticMethods . put ( arg0 . name , arg0 ) != null ) { throw new IllegalStateException ( "srini_string" + arg0 . name + "srini_string" ) ; } } |
4,686 | inserts the entity into app engine datastore . it uses http post method . concode_field_sep Logger LOG concode_field_sep CheckIn updateCheckIn concode_elem_sep List<CheckIn> listCheckIn concode_elem_sep CheckIn findCheckIn concode_elem_sep void pushPersonalizedOffers concode_elem_sep void removeCheckIn concode_elem_sep... | CheckIn function ( final CheckIn arg0 , final User arg1 ) { EndpointUtil . throwIfNotAuthenticated ( arg1 ) ; arg0 . setUserEmail ( arg1 . getEmail ( ) ) ; arg0 . setCheckInDate ( new Date ( ) ) ; arg0 . clearKey ( ) ; ofy ( ) . save ( ) . entity ( arg0 ) . now ( ) ; pushPersonalizedOffers ( arg0 . getPlaceId ( ) , arg... |
4,687 | how long to keep data in archive area for this subject concode_field_sep Logger LOGGER concode_field_sep String getHdfsArchiveDir concode_elem_sep Subject getSubject concode_elem_sep int getLinuxStageRetentionDays concode_elem_sep int getHdfsArchiveRetentionDays concode_elem_sep String getHdfsStageDir concode_elem_sep ... | int function ( Message < Collection < FileMessage >> arg0 , SourceSnapshot arg1 ) { return getSubject ( arg0 , arg1 ) . getLinuxRetentionPolicy ( ) . getArchiveRetentionDays ( ) ; } |
4,688 | returns a string formatted date/time using the configured configuration #clienttimezone . concode_field_sep TimeZone clientTimeZone concode_elem_sep Target target concode_field_sep Target getTarget concode_elem_sep void setTarget concode_elem_sep void setClientTimeZone concode_elem_sep TimeZone getClientTimeZone | String function ( Date arg0 ) { return CommonUtils . getLocalTime ( arg0 , this . clientTimeZone ) ; } |
4,689 | o instanceof interval concode_field_sep Vector intervalls concode_elem_sep int pos concode_elem_sep boolean DEBUG concode_field_sep IntCharSet add concode_elem_sep void add concode_elem_sep void add concode_elem_sep void sub concode_elem_sep char max concode_elem_sep boolean containsElements concode_elem_sep Interval g... | boolean function ( Object arg0 ) { IntCharSet loc0 = ( IntCharSet ) arg0 ; if ( intervalls . size ( ) != loc0 . intervalls . size ( ) ) return false ; for ( int loc1 = 0 ; loc1 < intervalls . size ( ) ; loc1 ++ ) { if ( ! intervalls . elementAt ( loc1 ) . equals ( loc0 . intervalls . elementAt ( loc1 ) ) ) return false... |
4,690 | method declaration concode_field_sep int iFirstWildCard concode_elem_sep boolean optimised concode_elem_sep int[] wildCardType concode_elem_sep Character escapeChar concode_elem_sep boolean isIgnoreCase concode_elem_sep int PERCENT_CHAR concode_elem_sep boolean isNull concode_elem_sep int iLen concode_elem_sep int UNDE... | boolean function ( Object arg0 ) { if ( arg0 == null ) { return iLen == 0 ; } String loc0 = arg0 . toString ( ) ; if ( isIgnoreCase ) { loc0 = loc0 . toUpperCase ( ) ; } return compareAt ( loc0 , 0 , 0 , loc0 . length ( ) ) ; } |
4,691 | returns a record version matching the record and version . concode_field_sep ServiceTracker<DDLRecordVersionService,DDLRecordVersionService> _serviceTracker concode_field_sep java.util.List<com.liferay.dynamic.data.lists.model.DDLRecordVersion> getRecordVersions concode_elem_sep java.util.List<com.liferay.dynamic.data.... | com . liferay . dynamic . data . lists . model . DDLRecordVersion function ( long arg0 , java . lang . String arg1 ) { return getService ( ) . getRecordVersion ( arg0 , arg1 ) ; } |
4,692 | pick chara concode_field_sep boolean sortf concode_elem_sep int COL_CHARA2 concode_elem_sep int T_FREE concode_elem_sep Point ps concode_elem_sep int T_PASTE concode_elem_sep int OFFSET_ITEM concode_elem_sep MapWorks mw concode_elem_sep List<Body> equips concode_elem_sep int T_ERASE concode_elem_sep int T_STORE concode... | void function ( int arg0 , int arg1 ) { Body loc0 = equip . search ( arg0 , arg1 ) ; if ( loc0 == null ) { help ( arg0 , arg1 ) ; } else { loc0 . setColor ( GameColor . GREEN ) ; equips . remove ( loc0 ) ; ps = new Point ( arg0 , arg1 ) ; ba = loc0 ; } } |
4,693 | returns task id . concode_field_sep int eventId concode_elem_sep TaskCompletionEvent[] EMPTY_ARRAY concode_elem_sep int iteration concode_elem_sep boolean isMap concode_elem_sep int idWithinJob concode_elem_sep String taskTrackerHttp concode_elem_sep TaskAttemptID taskId concode_elem_sep int taskRunTime concode_elem_se... | String function ( ) { return taskId . toString ( ) ; } |
4,694 | returns the number of bytes that will be written to out in a callto #writeto , or -1 if that count is unknown . concode_field_sep RawHeaders headers concode_elem_sep String method concode_elem_sep RawHeaders headers concode_elem_sep String method concode_elem_sep Object tag concode_elem_sep Body body concode_elem_sep U... | long function ( ) { return - 1 ; } |
4,695 | draws the chart with a null info object to make sure that no exceptions are thrown a problem that was occurring at one point . concode_field_sep boolean flag concode_elem_sep JFreeChart chart concode_field_sep void chartChanged concode_elem_sep void testSetSeriesURLGenerator concode_elem_sep void testReplaceDataset con... | void function ( ) { try { BufferedImage loc0 = new BufferedImage ( 200 , 100 , BufferedImage . TYPE_INT_RGB ) ; Graphics2D loc1 = loc0 . createGraphics ( ) ; this . chart . draw ( loc1 , new Rectangle2D . Double ( 0 , 0 , 200 , 100 ) , null , null ) ; loc1 . dispose ( ) ; } catch ( Exception loc0 ) { fail ( "srini_stri... |
4,696 | returns true if the modifiers include the protected modifier . concode_field_sep int PROTECTED concode_elem_sep int PRIVATE concode_elem_sep int NATIVE concode_elem_sep int ANNOTATION concode_elem_sep int ENUM concode_elem_sep int INTERFACE concode_elem_sep int FINAL concode_elem_sep int VOLATILE concode_elem_sep int S... | boolean function ( int arg0 ) { return ( arg0 & PROTECTED ) != 0 ; } |
4,697 | verbose 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 s... | void function ( String arg0 , String arg1 ) { if ( LOG . VERBOSE >= LOGLEVEL ) Log . v ( arg0 , arg1 ) ; } |
4,698 | returns the string representation of this uuid , same as #tostring . this method is useful if bean like access to the uuid string is required . concode_field_sep CmsUUID NULL_UUID concode_elem_sep String m_uuid concode_field_sep CmsUUID getNullUUID concode_elem_sep CmsUUID valueOf concode_elem_sep int hashCode concode_... | String function ( ) { return toString ( ) ; } |
4,699 | sets the value of the moreinfo property . concode_field_sep String code concode_elem_sep long serialVersionUID concode_elem_sep String detail concode_elem_sep ErrorType type concode_elem_sep String message concode_elem_sep String moreInfo concode_field_sep String getMoreInfo concode_elem_sep ErrorType getType concode_e... | void function ( String arg0 ) { this . moreInfo = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.