idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
20,700 | method to update and return the message log stored in the faces context concode_field_sep LogBean singleton concode_elem_sep MessageLog messageLog concode_elem_sep ChatState state concode_elem_sep Log log concode_elem_sep String autoLoad concode_elem_sep ArrayList controlLog concode_elem_sep String LOG_PATH concode_ele... | MessageLog function ( ) { externalContext . getApplicationMap ( ) . put ( LOG_PATH , messageLog ) ; return ( messageLog ) ; } |
20,701 | closes an element . concode_field_sep TokenBuilder cache concode_elem_sep boolean indent concode_elem_sep boolean indenting concode_elem_sep TokenList open concode_elem_sep boolean opening concode_field_sep void add concode_elem_sep XMLBuilder indent concode_elem_sep byte[] finish concode_elem_sep String toString conco... | XMLBuilder function ( ) { final TokenBuilder loc0 = cache ; final byte [ ] loc1 = open . pop ( ) ; if ( opening ) { loc0 . add ( '/' ) ; opening = false ; } else { ws ( ) ; loc0 . add ( '<' ) . add ( '/' ) . add ( loc1 ) ; } loc0 . add ( '>' ) ; indenting = indent ; return this ; } |
20,702 | adds a double property to a map . concode_field_sep StringBuilder params concode_field_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_... | JSONBuilder function ( String arg0 , double arg1 ) { appendCommaAndKey ( arg0 ) ; params . append ( arg1 ) ; return this ; } |
20,703 | set whether insecure http vs https connections should be allowed by this client . concode_field_sep JsonClientCaller caller concode_field_sep void _setFileForNextRpcResponse concode_elem_sep FilterContigsResults filterContigs concode_elem_sep void setStreamingModeOn concode_elem_sep boolean isStreamingModeOn concode_el... | void function ( boolean arg0 ) { caller . setInsecureHttpConnectionAllowed ( arg0 ) ; } |
20,704 | getter for the field is . concode_field_sep boolean isQuestioned concode_elem_sep Map<String,MimeType> body concode_elem_sep Resource resource concode_elem_sep String description concode_elem_sep Map<String,QueryParameter> queryParameters concode_elem_sep ActionType type concode_elem_sep List<String> is concode_elem_se... | List < String > function ( ) { return is ; } |
20,705 | helper method - loads a testmodel from the given filename . concode_field_sep String VALIDATION_TESTMODEL_DIR concode_elem_sep IModelSequencer sequencer concode_field_sep ExecutionFlow loadExecutionFlowFromResource concode_elem_sep Statechart loadStatechartFromResource concode_elem_sep String getModelDirectory | Statechart function ( String arg0 ) { return AbstractTestModelsUtil . loadStatechart ( URI . createPlatformPluginURI ( arg0 , true ) ) ; } |
20,706 | adds the element to the list . if the maximum size of the list is exceeded , this function returns false to indicate that adding failed . concode_field_sep Log logger concode_elem_sep int size concode_elem_sep int maxChilds concode_elem_sep Reference<T>[] childs concode_elem_sep T master concode_field_sep void set conc... | boolean function ( final T arg0 ) { if ( size == 0 ) { master = arg0 ; size = 1 ; return true ; } else { if ( size < getMaxChildCount ( ) ) { childs [ size - 1 ] = createReference ( arg0 ) ; size ++ ; return true ; } else { return false ; } } } |
20,707 | gets whether a data value is null based on a packed byte array containing boolean data concode_field_sep ColumnSerializer defaultSerializer concode_elem_sep ITeiidServerVersion teiidVersion concode_elem_sep byte currentVersion concode_field_sep void writeIsNullData concode_elem_sep void writeIsNullData concode_elem_sep... | boolean function ( byte [ ] arg0 , int arg1 ) { return ( arg0 [ arg1 / 8 ] & ( 0x01 << ( 7 - ( arg1 % 8 ) ) ) ) != 0 ; } |
20,708 | the index the search failed on . concode_field_sep String reason concode_elem_sep ShardSearchFailure[] EMPTY_ARRAY concode_elem_sep SearchShardTarget shardTarget concode_elem_sep Throwable cause concode_elem_sep RestStatus status concode_field_sep String reason concode_elem_sep void writeTo concode_elem_sep void readFr... | String function ( ) { if ( shardTarget != null ) { return shardTarget . index ( ) ; } return null ; } |
20,709 | the number of fractional digits for this type . null is returned for data types where this is not applicable . concode_field_sep TypeQualifiers typeQualifiers concode_elem_sep String typeName concode_elem_sep Type type concode_field_sep TypeQualifiers getTypeQualifiers concode_elem_sep TTypeDesc toTTypeDesc concode_ele... | Integer function ( ) { switch ( this . type ) { case BOOLEAN_TYPE : case TINYINT_TYPE : case SMALLINT_TYPE : case INT_TYPE : case BIGINT_TYPE : return 0 ; case FLOAT_TYPE : return 7 ; case DOUBLE_TYPE : return 15 ; case DECIMAL_TYPE : return typeQualifiers . getScale ( ) ; case TIMESTAMP_TYPE : return 9 ; default : ret... |
20,710 | gets the value of the label property . concode_field_sep String code concode_elem_sep long serialVersionUID concode_elem_sep Long id concode_elem_sep String label concode_elem_sep List<DataSet> dataSet concode_field_sep List<DataSet> getDataSet concode_elem_sep void unsetDataSet concode_elem_sep void unsetId concode_el... | String function ( ) { return label ; } |
20,711 | adds multiple accessible beandeploymentarchive s concode_field_sep ServiceRegistry serviceRegistry concode_elem_sep BeansXml beansXml concode_elem_sep Set<EjbDescriptor<?>> ejbDescriptors concode_elem_sep Module module concode_elem_sep boolean root concode_elem_sep Set<BeanDeploymentArchive> beanDeploymentArchives conc... | void function ( Collection < ? extends BeanDeploymentArchive > arg0 ) { for ( BeanDeploymentArchive loc0 : arg0 ) { if ( loc0 != this ) { beanDeploymentArchives . add ( loc0 ) ; } } } |
20,712 | test method concode_field_sep PlaceHolder placeHolder concode_field_sep void testPac concode_elem_sep void testManualFtp concode_elem_sep void testNone concode_elem_sep void testManualHttps concode_elem_sep void testWhiteList | void function ( ) { TestUtil . setTestDataFolder ( "srini_string" ) ; ProxySelector loc0 = new GnomeProxySearchStrategy ( ) . getProxySelector ( ) ; List < Proxy > loc1 = loc0 . select ( TestUtil . HTTP_TEST_URI ) ; assertEquals ( TestUtil . HTTP_TEST_PROXY , loc1 . get ( 0 ) ) ; } |
20,713 | returns an immutable case-insensitive set of header names . concode_field_sep List<String> namesAndValues concode_elem_sep String[] namesAndValues concode_field_sep Builder add concode_elem_sep Builder add concode_elem_sep Builder addLenient concode_elem_sep Builder addLenient concode_elem_sep Builder set concode_elem_... | Set < String > function ( ) { TreeSet < String > loc0 = new TreeSet < > ( String . CASE_INSENSITIVE_ORDER ) ; for ( int loc1 = 0 , loc2 = loc2 ( ) ; loc1 < loc2 ; loc1 ++ ) { loc0 . add ( name ( loc1 ) ) ; } return Collections . unmodifiableSet ( loc0 ) ; } |
20,714 | matches code . concode_field_sep PlaceHolder placeHolder concode_field_sep int ascii | int function ( String arg0 , String arg1 ) { return arg0 . matches ( arg1 ) ? 1 : 0 ; } |
20,715 | adds multiple pings if newer than previous pings from the same node concode_field_sep DiscoveryNode node concode_elem_sep boolean hasJoinedOnce concode_elem_sep ClusterName clusterName concode_elem_sep Map<DiscoveryNode,PingResponse> pings concode_elem_sep long id concode_elem_sep PingResponse[] EMPTY concode_elem_sep ... | void function ( PingResponse [ ] arg0 ) { for ( PingResponse loc0 : arg0 ) { addPing ( loc0 ) ; } } |
20,716 | convert nanoseconds time to milliseconds concode_field_sep long nanosPerMilli concode_field_sep long nanoTime concode_elem_sep long timeSinceMillis concode_elem_sep long millisToNanos concode_elem_sep long timeSinceNanos concode_elem_sep long millis | long function ( long arg0 ) { return arg0 / nanosPerMilli ; } |
20,717 | specify the set of cache names for this cachemanager 's ` static ' mode . the number of caches and their names will be fixed after a call to this method , with no creation of further cache regions at runtime . calling this with a null collection argument resets themode to ` dynamic ' , allowing for further creation of ... | void function ( Collection < String > arg0 ) { if ( arg0 != null ) { for ( String loc0 : arg0 ) { this . cacheMap . put ( loc0 , createCaffeineCache ( loc0 ) ) ; } this . dynamic = false ; } else { this . dynamic = true ; } } |
20,718 | cleanup resources cleanly and exit . concode_field_sep String DEFAULT_PASSWORD concode_elem_sep String DEFAULT_BROKER_NAME concode_elem_sep String APP_TOPIC concode_elem_sep String DEFAULT_USER_NAME concode_elem_sep javax.jms.TopicConnection connect concode_elem_sep javax.jms.TopicSession session concode_field_sep void... | void function ( ) { try { connect . close ( ) ; } catch ( javax . jms . JMSException loc0 ) { loc0 . printStackTrace ( ) ; } System . exit ( 0 ) ; } |
20,719 | get the output writer concode_field_sep String systemId concode_elem_sep StreamResult streamResult concode_elem_sep NamePool namePool concode_elem_sep PipelineConfiguration pipelineConfig concode_elem_sep CharacterSet characterSet concode_elem_sep boolean allCharactersEncodable concode_elem_sep Writer writer concode_el... | Writer function ( ) { return writer ; } |
20,720 | retrieve the contents of a node by key . concode_field_sep PlaceHolder placeHolder concode_field_sep Map<K,R> getItems concode_elem_sep void addNode concode_elem_sep void addNode concode_elem_sep boolean containsKey concode_elem_sep void unmarkAll concode_elem_sep R get | V function ( K arg0 ) { if ( ! getItems ( ) . containsKey ( arg0 ) ) return null ; return getItems ( ) . get ( arg0 ) . getItem ( ) ; } |
20,721 | gets the submenus the optional menu items should be in concode_field_sep String[] optionalPropType concode_elem_sep String words concode_elem_sep String[][] removableValues concode_elem_sep boolean removableNode concode_elem_sep String[] optional concode_elem_sep String[] removableNL concode_elem_sep String[] compulsor... | String [ ] function ( ) { return optionalPropType ; } |
20,722 | performs a dynamic query on the database and returns the matching rows . concode_field_sep ServiceTracker<WallEntryLocalService,WallEntryLocalService> _serviceTracker concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep java.util.List<com.liferay.social.networking.model.WallEntry> getWallEntries... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } |
20,723 | gets the value of the role property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep String show concode_elem_sep OperationAltType operationAlt concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep String type concode_elem_s... | String function ( ) { return role ; } |
20,724 | sets the name of the data source . concode_field_sep String LIQUIBASE_PARAMETER concode_elem_sep String LIQUIBASE_CONTEXTS concode_elem_sep String hostName concode_elem_sep String LIQUIBASE_HOST_INCLUDES concode_elem_sep String LIQUIBASE_CHANGELOG concode_elem_sep ServletContext servletContext concode_elem_sep String L... | void function ( String arg0 ) { this . dataSourceName = arg0 ; } |
20,725 | verifies that given string is not a reserved java keyword . throws org.motechproject.mds.exception.entity.reservedkeywordexception if given string is reserved . concode_field_sep Set<String> JAVA_KEYWORDS concode_field_sep void validateValidJavaFieldName | void function ( String arg0 ) { if ( JAVA_KEYWORDS . contains ( arg0 ) ) { throw new ReservedKeywordException ( arg0 ) ; } } |
20,726 | sets the username value for this changepasswordrequest . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String oldPassword concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String confirmPassword concode_elem_sep java.lang.String newPassword concode_el... | void function ( java . lang . String arg0 ) { this . username = arg0 ; } |
20,727 | the store page size . note that this may be different from the system-wide page size reported by the pagecache concode_field_sep StoreIdGenerator idGenerator concode_elem_sep StoreChannel channel concode_elem_sep int pageSize concode_elem_sep long firstRecordId concode_elem_sep int recordSize concode_field_sep long fil... | int function ( ) { return pageSize - pageSize % recordSize ; } |
20,728 | method declaration concode_field_sep String ls concode_elem_sep Vector vList concode_elem_sep int MAX_LINELENGTH concode_elem_sep Vector vSwitches concode_elem_sep Vector vSwitchOn concode_elem_sep Vector vSwitchOff concode_field_sep boolean processFile concode_elem_sep void writeFileLines concode_elem_sep void process... | void function ( String arg0 ) { System . out . println ( "srini_string" ) ; System . out . println ( "srini_string" + arg0 ) ; } |
20,729 | set the identity of the user appearing in the reflog . the timestamp portion of the identity is ignored . a new identity with the current timestamp will be created automatically when the rename occurs and the log record is written . concode_field_sep Result result concode_elem_sep RefUpdate destination concode_elem_sep... | void function ( final PersonIdent arg0 ) { destination . setRefLogIdent ( arg0 ) ; } |
20,730 | register . concode_field_sep Log log concode_elem_sep Properties ALIASES concode_elem_sep Map<String,TimeZone> DEFAULT_TIMEZONES concode_elem_sep Map<String,TimeZone> timezones concode_field_sep TimeZone getTimeZone concode_elem_sep void clear | void function ( TimeZone arg0 , boolean arg1 ) { timezones . put ( arg0 . getID ( ) , arg0 ) ; } |
20,731 | a convenience shorthand for sessiondata #get string . concode_field_sep PlaceHolder placeHolder concode_field_sep JavaSessionSerializer getJavaSerializer concode_elem_sep Operation set concode_elem_sep Operation set concode_elem_sep Operation set concode_elem_sep Operation set concode_elem_sep Operation set concode_ele... | Promise < Optional < ? >> function ( String arg0 ) { return getData ( ) . map ( d -> d . get ( arg0 ) ) ; } |
20,732 | calculate the size of a tib concode_field_sep Object[] data concode_field_sep boolean isInternalLazyCompilationTrampoline concode_elem_sep Offset getVirtualMethodOffset concode_elem_sep boolean slotContainsCode concode_elem_sep int[] getDoesImplement concode_elem_sep void setImt concode_elem_sep int getVirtualMethodInd... | int function ( int arg0 ) { return TIB_FIRST_VIRTUAL_METHOD_INDEX + arg0 + lazyMethodInvokerTrampolineWords ( ) ; } |
20,733 | specifies the content-type header , as a string . the default implementation calls #setcontenttype header setcontenttype header . concode_field_sep Header contentEncoding concode_elem_sep boolean chunked concode_elem_sep Header contentType concode_field_sep Header getContentEncoding concode_elem_sep boolean isChunked c... | void function ( final String arg0 ) { Header loc0 = null ; if ( arg0 != null ) { loc0 = new BasicHeader ( HTTP . CONTENT_TYPE , arg0 ) ; } setContentType ( loc0 ) ; } |
20,734 | creates a new meetups entry with the primary key . does not add the meetups entry to the database . concode_field_sep ServiceTracker<MeetupsEntryLocalService,MeetupsEntryLocalService> _serviceTracker concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.Actionabl... | com . liferay . social . networking . model . MeetupsEntry function ( long arg0 ) { return getService ( ) . createMeetupsEntry ( arg0 ) ; } |
20,735 | gets the status of the redo command . concode_field_sep int cursor concode_elem_sep ArrayList<Memento> mementoStateHistory concode_elem_sep int maxHistorySize concode_field_sep void undo concode_elem_sep boolean isUndo concode_elem_sep void redo concode_elem_sep void addState | boolean function ( ) { return cursor + 1 < mementoStateHistory . size ( ) ; } |
20,736 | gets the result value for this successdeletecustomobjects . concode_field_sep com.marketo.www.mktows.ResultDeleteCustomObjects result concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache.axis.de... | com . marketo . www . mktows . ResultDeleteCustomObjects function ( ) { return result ; } |
20,737 | disconnects this connection from any service . concode_field_sep boolean connected concode_elem_sep String destinationService concode_elem_sep Context context concode_elem_sep Semaphore waitForBinder concode_elem_sep IBinder lastBinder concode_field_sep void setDestinationService concode_elem_sep void onServiceDisconne... | void function ( ) { Log . d ( this , "srini_string" ) ; this . context . unbindService ( this ) ; this . connected = false ; } |
20,738 | returns true , if puzzle is solved . in order to know the current state , you have to call validate first . concode_field_sep long mActiveFromTime concode_elem_sep int GAME_STATE_PLAYING concode_elem_sep OnPuzzleSolvedListener mOnPuzzleSolvedListener concode_elem_sep int GAME_STATE_COMPLETED concode_elem_sep long mId c... | boolean function ( ) { return mCells . isCompleted ( ) ; } |
20,739 | returns the setting of a band in the equalizer . concode_field_sep float[] settings concode_elem_sep Equalizer PASS_THRU_EQ concode_elem_sep float BAND_NOT_PRESENT concode_elem_sep int BANDS concode_field_sep void setFrom concode_elem_sep void setFrom concode_elem_sep void setFrom concode_elem_sep float limit concode_e... | float function ( int arg0 ) { return 0.0f ; } |
20,740 | returns the cache status of the library at the given position . concode_field_sep String[] requiredLibraries concode_elem_sep boolean[] cached concode_field_sep void read concode_elem_sep void setCached concode_elem_sep void write | boolean function ( final int arg0 ) { if ( arg0 < this . cached . length ) { return this . cached [ arg0 ] ; } return false ; } |
20,741 | scales dimensions according to incoming scale . returns new object . concode_field_sep int TO_STRING_MAX_LENGHT concode_elem_sep String SEPARATOR concode_elem_sep int width concode_elem_sep int height concode_field_sep int getHeight concode_elem_sep ImageSize scaleDown concode_elem_sep ImageSize scale concode_elem_sep ... | ImageSize function ( float arg0 ) { return new ImageSize ( ( int ) ( width * arg0 ) , ( int ) ( height * arg0 ) ) ; } |
20,742 | this method was generated by mybatis generator . this method sets the value of the database column public.species.name _ s concode_field_sep String nameF concode_elem_sep String nameE concode_elem_sep String nameS concode_elem_sep String nameC concode_elem_sep String scientificName concode_elem_sep Integer id concode_e... | void function ( String arg0 ) { this . nameS = arg0 == null ? null : arg0 . trim ( ) ; } |
20,743 | splits the page at the specified position . a new page is created , and the records of the page starting at the split position are transferred to the new page . concode_field_sep Transaction tx concode_elem_sep TableInfo ti concode_elem_sep int slotsize concode_elem_sep Block currentblk concode_field_sep void insertDir... | Block function ( int arg0 , int arg1 ) { Block loc0 = appendNew ( arg1 ) ; BTreePage loc1 = new BTreePage ( loc0 , ti , tx ) ; transferRecs ( arg0 , loc1 ) ; loc1 . setFlag ( arg1 ) ; loc1 . close ( ) ; return loc0 ; } |
20,744 | returns false if the cookie should be discarded at the end of the `` session '' ; true otherwise . concode_field_sep String cookieDomain concode_elem_sep Date cookieExpiryDate concode_elem_sep int cookieVersion concode_elem_sep String name concode_elem_sep boolean isSecure concode_elem_sep String cookiePath concode_ele... | boolean function ( ) { return ( null != cookieExpiryDate ) ; } |
20,745 | set the context . overrides this method for a macro concode_field_sep CssIdent initial concode_elem_sep int line concode_elem_sep int origin concode_elem_sep long increment concode_elem_sep CssIdent none concode_elem_sep CssIdent currentColor concode_elem_sep String sourceFile concode_elem_sep CssIdent transparent conc... | void function ( CssSelectors arg0 ) { this . context = arg0 ; } |
20,746 | read the next 64 bits from standard input and return as a 64-bit long . concode_field_sep int buffer concode_elem_sep int EOF concode_elem_sep int N concode_elem_sep BufferedInputStream in concode_field_sep short readShort concode_elem_sep void fillBuffer concode_elem_sep double readDouble concode_elem_sep boolean isEm... | long function ( ) { long loc0 = 0 ; for ( int loc1 = 0 ; loc1 < 8 ; loc1 ++ ) { char loc2 = readChar ( ) ; loc0 <<= 8 ; loc0 |= loc2 ; } return loc0 ; } |
20,747 | wraps arguments passed into a list if necessary . returns the first value as is if it is the only argument and a subtype of ` java.util.list ` otherwise , it calls arrays.aslist on args concode_field_sep play.api.i18n.MessagesApi messages concode_field_sep play.api.i18n.MessagesApi scalaApi concode_elem_sep String get ... | List < T > function ( final T ... arg0 ) { List < T > loc0 ; if ( ArrayUtils . isNotEmpty ( arg0 ) && arg0 . length == 1 && arg0 [ 0 ] instanceof List ) { loc0 = ( List < T > ) arg0 [ 0 ] ; } else { loc0 = Arrays . asList ( arg0 ) ; } return loc0 ; } |
20,748 | returns a copy of this object . changes to the copy will not affect the original and vice versa . note : this method currently performs a shallow copy of the object simply calls object.clone . this may be changed in a future revision to perform a deep copy if new parameters are added that should not be shared . concode... | Object function ( ) { try { return super . clone ( ) ; } catch ( CloneNotSupportedException loc0 ) { throw new InternalError ( loc0 . toString ( ) , loc0 ) ; } } |
20,749 | logs a message object with the org.apache.logging.log4j.level #info info level . concode_field_sep String NO_USER concode_elem_sep Logger LOGGER concode_field_sep String getUser concode_elem_sep void requestIpAndPortAndUserMessage concode_elem_sep void requestIpAndPortAndUserMessage concode_elem_sep void auditWarn conc... | void function ( String arg0 ) { StringBuilder loc0 = new StringBuilder ( ) ; requestIpAndPortAndUserMessage ( PhaseInterceptorChain . getCurrentMessage ( ) , loc0 ) ; LOGGER . info ( loc0 . append ( arg0 ) . toString ( ) ) ; } |
20,750 | get last privacyitem from list ordered by privacyitem.order concode_field_sep boolean _isActive concode_elem_sep Set<SparkPrivacyItemListener> _listeners concode_elem_sep PrivacyList _myPrivacyList concode_elem_sep List<PrivacyItem> _privacyItems concode_elem_sep String _listName concode_elem_sep boolean _isDefault con... | PrivacyItem function ( ) { long loc0 = 0 ; PrivacyItem loc1 = null ; for ( PrivacyItem loc2 : _privacyItems ) { if ( loc0 < loc2 . getOrder ( ) ) { loc0 = loc2 . getOrder ( ) ; loc1 = loc2 ; } } return loc1 ; } |
20,751 | extracts the attribute name form a field . any underscore will be removed ; and the first letter will be made to lower case . concode_field_sep Logger log concode_field_sep int getArrayDimension concode_elem_sep int getArrayDimension concode_elem_sep Method findMatchingMethod concode_elem_sep Method findMatchingMethod ... | String function ( Field arg0 ) { String loc0 = arg0 . getName ( ) ; if ( loc0 . startsWith ( "srini_string" ) ) loc0 = loc0 . substring ( 1 , loc0 . length ( ) ) ; return loc0 ; } |
20,752 | get whether all the ranges have been skipped . concode_field_sep long startIndex concode_elem_sep Range range concode_elem_sep long indicesCount concode_elem_sep long length concode_elem_sep long next concode_elem_sep Log LOG concode_elem_sep Iterator<Range> rangeIterator concode_elem_sep TreeSet<Range> ranges concode_... | boolean function ( ) { return ! rangeIterator . hasNext ( ) && next > range . getEndIndex ( ) ; } |
20,753 | sets the status of this j i r a issue . concode_field_sep JIRAIssue _jiraIssue concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setIssueNumber concode_elem_sep boolean isEscapedModel concode_elem_sep... | void function ( java . lang . String arg0 ) { _jiraIssue . setStatus ( arg0 ) ; } |
20,754 | record a mapping file ontology/features model concode_field_sep MappingFile mappingFile concode_elem_sep List mappingFileList concode_field_sep List getMappingFileList concode_elem_sep MappingFile getMappingFile concode_elem_sep void setMappingFileList concode_elem_sep void setMappingFile | void function ( ActionEvent arg0 ) { new MappingFileDAO ( ) . save ( mappingFile ) ; mappingFileList = new MappingFileDAO ( ) . getAll ( ) ; } |
20,755 | clears all stats . concode_field_sep CommonStatsFlags ALL concode_elem_sep String[] groups concode_elem_sep String[] fieldDataFields concode_elem_sep String[] completionDataFields concode_elem_sep EnumSet<Flag> flags concode_elem_sep CommonStatsFlags NONE concode_elem_sep String[] types concode_elem_sep String restName... | CommonStatsFlags function ( ) { flags = EnumSet . noneOf ( Flag . class ) ; types = null ; groups = null ; fieldDataFields = null ; completionDataFields = null ; return this ; } |
20,756 | a publish action was unsuccessful , notify user and update client history concode_field_sep Context context concode_elem_sep Action action concode_elem_sep String clientHandle concode_elem_sep String[] additionalArgs concode_field_sep void disconnect concode_elem_sep void disconnect concode_elem_sep void subscribe conc... | void function ( Throwable arg0 ) { Connection loc0 = Connections . getInstance ( context ) . getConnection ( clientHandle ) ; String loc1 = context . getString ( R . string . toast_pub_failed , ( Object [ ] ) additionalArgs ) ; loc0 . addAction ( loc1 ) ; Notify . toast ( context , loc1 , Toast . LENGTH_SHORT ) ; } |
20,757 | gets the value of the id property . concode_field_sep String id concode_elem_sep String value concode_field_sep void setvalue concode_elem_sep String getvalue concode_elem_sep void setId | String function ( ) { return id ; } |
20,758 | get / users / : login - > get the `` login '' user . concode_field_sep Logger log concode_elem_sep UserRepository userRepository concode_field_sep List<User> getAll | User function ( @ PathVariable String arg0 , HttpServletResponse arg1 ) { log . debug ( "srini_string" , arg0 ) ; User loc0 = userRepository . findOneByLogin ( arg0 ) ; if ( loc0 == null ) { arg1 . setStatus ( HttpServletResponse . SC_NOT_FOUND ) ; } return loc0 ; } |
20,759 | transitory effects do not alter the display state . example : pulsate , shake however other effects change css style properties , and in some cases the application needs to be aware of these changes . for refreshing a page for example when css changes need to be sent to the application you need to set the transitory pr... | void function ( boolean arg0 ) { this . transitory = arg0 ; } |
20,760 | sets the value of the actuate property . concode_field_sep String role concode_elem_sep String arcrole 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_sep String title concode_elem_sep DQNonQuanti... | void function ( String arg0 ) { this . actuate = arg0 ; } |
20,761 | load the url into the webview . concode_field_sep PluginManager pluginManager concode_elem_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep BroadcastReceiver receiver concode_elem_sep SystemWebView webView concode_elem_sep CordovaWebView parentWebView concode_elem_sep Cordov... | void function ( final String arg0 , boolean arg1 ) { webView . loadUrl ( arg0 ) ; } |
20,762 | set system property to value . if securitymanager denies property modification , print debug trace concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysPropertyDouble concode_elem_sep double doubleP... | void function ( String arg0 , String arg1 ) { setProperty ( arg0 , arg1 ) ; } |
20,763 | returns the minor http version that should be used for future requests on this connection . either 0 for http/1 .0 , or 1 for http/1 .1 . the default value is 1 for new connections . concode_field_sep int httpMinorVersion concode_elem_sep byte[] HTTP_11 concode_elem_sep Route route concode_elem_sep long idleStartTimeNs... | int function ( ) { return httpMinorVersion ; } |
20,764 | gets the value of the value property . concode_field_sep String lang concode_elem_sep String value concode_field_sep String getLang concode_elem_sep void setValue | String function ( ) { return value ; } |
20,765 | we will cache window object in order to be able to provide parent shell for the message dialog . concode_field_sep IWorkbenchWindow window concode_field_sep void selectionChanged concode_elem_sep void run concode_elem_sep void dispose | void function ( IWorkbenchWindow arg0 ) { this . window = arg0 ; } |
20,766 | return true if this object is more valuable than the other , false otherwise . concode_field_sep byte generation concode_elem_sep short move concode_elem_sep short evalScore concode_elem_sep byte type concode_elem_sep int T_LE concode_elem_sep int T_GE concode_elem_sep short score concode_elem_sep int T_EXACT concode_e... | boolean function ( TTEntry arg0 , int arg1 ) { if ( ( generation == arg1 ) != ( arg0 . generation == arg1 ) ) { return generation == arg1 ; } if ( ( type == T_EXACT ) != ( arg0 . type == T_EXACT ) ) { return type == T_EXACT ; } if ( getDepth ( ) != arg0 . getDepth ( ) ) { return getDepth ( ) > arg0 . getDepth ( ) ; } r... |
20,767 | returns ` true ` if the application is ` dev ` mode . concode_field_sep play.api.Environment env concode_field_sep Mode mode concode_elem_sep ClassLoader classLoader concode_elem_sep boolean isTest concode_elem_sep URL resource concode_elem_sep boolean isProd concode_elem_sep InputStream resourceAsStream concode_elem_s... | boolean function ( ) { return mode ( ) . equals ( Mode . DEV ) ; } |
20,768 | enables/disables debug mode for the oysterattributes . concode_field_sep String refID concode_elem_sep String system concode_elem_sep ConsoleHandler consoleHandler concode_elem_sep ArrayList<IndexRule> indexingRules concode_elem_sep FileHandler fileHandler concode_elem_sep Logger logger concode_elem_sep boolean debug c... | void function ( boolean arg0 ) { this . debug = arg0 ; } |
20,769 | get the job id concode_field_sep JobSubmitted datum concode_field_sep String getWorkflowNodeName concode_elem_sep String getJobName concode_elem_sep long getSubmitTime concode_elem_sep String getWorkflowName concode_elem_sep EventType getEventType concode_elem_sep Object getDatum concode_elem_sep String getWorkflowId c... | JobID function ( ) { return JobID . forName ( datum . getJobid ( ) . toString ( ) ) ; } |
20,770 | for formatting double values in error messages concode_field_sep PlaceHolder placeHolder concode_field_sep int compare concode_elem_sep int compareAcrossSubnormalThreshold concode_elem_sep int compareSubnormalNumbers | String function ( double arg0 ) { return "srini_string" + Long . toHexString ( Double . doubleToLongBits ( arg0 ) ) . toUpperCase ( ) ; } |
20,771 | create a uri to be used for a person 's email address that degrades nicely if one is not defined concode_field_sep SakaiProxy sakaiProxy concode_elem_sep TimeService timeService concode_field_sep java.util.Calendar getStartDate concode_elem_sep void init concode_elem_sep boolean isIcsEnabled concode_elem_sep VEvent add... | URI function ( String arg0 ) { if ( arg0 == null || arg0 . isEmpty ( ) ) { return URI . create ( "srini_string" ) ; } else { return URI . create ( "srini_string" + arg0 ) ; } } |
20,772 | returns true if route has failed recently and should be avoided . concode_field_sep Set<Route> failedRoutes concode_field_sep void connected concode_elem_sep int failedRoutesCount concode_elem_sep void failed | boolean function ( Route arg0 ) { return failedRoutes . contains ( arg0 ) ; } |
20,773 | sets the isaspectratio value for this size . concode_field_sep java.lang.Boolean isAspectRatio concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.Integer width concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Integer... | void function ( java . lang . Boolean arg0 ) { this . isAspectRatio = arg0 ; } |
20,774 | sets the sort to the given criteria . concode_field_sep Sort RELEVANCE concode_elem_sep Sort INDEXORDER concode_elem_sep SortField[] fields concode_field_sep SortField[] getSort concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean needsScores concode_elem_sep String toString concode_el... | void function ( SortField arg0 ) { this . fields = new SortField [ ] { arg0 } ; } |
20,775 | performs a dynamic query on the database and returns the matching rows . concode_field_sep BrowserTrackerLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep com.liferay.port... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } |
20,776 | returns the last millisecond of the time period , evaluated within a specific time zone . concode_field_sep TimeZone DEFAULT_TIME_ZONE concode_elem_sep Calendar WORKING_CALENDAR concode_field_sep RegularTimePeriod next concode_elem_sep RegularTimePeriod createInstance concode_elem_sep void peg concode_elem_sep long get... | long function ( TimeZone arg0 ) { Calendar loc0 = Calendar . getInstance ( arg0 ) ; return getLastMillisecond ( loc0 ) ; } |
20,777 | cast the passed object into the poa current . concode_field_sep PlaceHolder placeHolder concode_field_sep Current extract concode_elem_sep Current read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | Current function ( org . omg . CORBA . Object arg0 ) { try { return ( Current ) arg0 ; } catch ( ClassCastException loc0 ) { BAD_PARAM loc1 = new BAD_PARAM ( "srini_string" ) ; loc1 . initCause ( loc0 ) ; throw loc1 ; } } |
20,778 | sets snapshot processing time 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 proce... | void function ( long arg0 ) { this . time = arg0 ; } |
20,779 | set a map of additional parameters to be added to the url . this map specifies hard-coded parameters that will be used in every url . the map keys represent the parameter name , while the entry values should be an array of values for the associated parameter name . concode_field_sep Map<String,String> dynamicParameters... | void function ( Map < String , String [ ] > arg0 ) { this . additionalParameters = arg0 ; } |
20,780 | used to communicate feedback pop-up messages between a plugin tool and the main whitebox user-interface . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep bool... | void function ( String arg0 ) { if ( myHost != null ) { myHost . showFeedback ( arg0 ) ; } else { System . out . println ( arg0 ) ; } } |
20,781 | gets the value of the qty property . concode_field_sep String itemID concode_elem_sep double price concode_elem_sep int qty concode_elem_sep String customerID concode_field_sep String getItemID concode_elem_sep void setQty concode_elem_sep void setItemID concode_elem_sep void setPrice concode_elem_sep void setCustomerI... | int function ( ) { return qty ; } |
20,782 | get current control based on target setting concode_field_sep PlaceHolder placeHolder concode_field_sep ClarionKey newKey concode_elem_sep ClarionReal newReal concode_elem_sep ClarionAny newAny concode_elem_sep ClarionObject getClarionObject concode_elem_sep ClarionNumber newNumber concode_elem_sep ClarionNumber newNum... | PropertyObject function ( ClarionObject arg0 ) { return CWin . getControl ( arg0 ) ; } |
20,783 | return an immutablelist of measures in this record . expected to be invoked after all meters have finished adding the measures . concode_field_sep Collection<Measure<?>> measures concode_elem_sep Record NOOP concode_field_sep Record addAll concode_elem_sep Record create concode_elem_sep String toString | ImmutableList < ? extends Measure < ? >> function ( ) { return ImmutableList . copyOf ( measures ) ; } |
20,784 | returns the instance . concode_field_sep JVLC jvlc concode_elem_sep LibVlcMediaList instance concode_elem_sep LibVlcEventManager eventManager concode_elem_sep List<String> items concode_field_sep void addMedia concode_elem_sep void addMedia concode_elem_sep int size concode_elem_sep MediaDescriptor getMediaDescriptorAt... | LibVlcMediaList function ( ) { return instance ; } |
20,785 | gets the data for the table containing the modified text and the variable name of each numerical variable . concode_field_sep ArrayList<ModifyNumericalVariablesSpec> modifyNumericalVariablesSpec concode_elem_sep String[] variablesColumnNames concode_elem_sep String[][] variablesData concode_field_sep ArrayList<ModifyNu... | String [ ] [ ] function ( ) { return variablesData ; } |
20,786 | make an instance managed and persistent , synchronize the persistence context to the underlying database and finally find the persisted entity by its id . delegates to #persistandflush object then #find class , object with the #getid object entity id . helpful when ensuring that entity data is actually written and read... | E function ( E arg0 ) { EntityManager loc0 = getEntityManager ( ) ; persistAndFlush ( arg0 ) ; Object loc1 = getId ( arg0 ) ; loc0 . detach ( arg0 ) ; return ( E ) loc0 . find ( arg0 . getClass ( ) , loc1 ) ; } |
20,787 | convert the key to a string . concode_field_sep Comparable[] key concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void main concode_elem_sep int compareTo | String function ( ) { String loc0 = "srini_string" ; for ( int loc1 = 0 ; loc1 < key . length ; loc1 ++ ) loc0 += "srini_string" + key [ loc1 ] ; return loc0 + ( "srini_string" ) ; } |
20,788 | apply type conversion . concode_field_sep ValueExpression[] NO_VARIABLES concode_elem_sep ValueExpression[] variables concode_elem_sep Method method concode_elem_sep Method[] functions concode_elem_sep TypeConverter converter concode_elem_sep Method[] NO_FUNCTIONS concode_elem_sep long serialVersionUID concode_field_se... | T function ( Object arg0 , Class < T > arg1 ) { return converter . convert ( arg0 , arg1 ) ; } |
20,789 | creates an empty js file named after the given filename . before creating the js file the given filename is validated and false is returned in case the filename does n't pass the validation . concode_field_sep FileService fileService concode_elem_sep DirectoryService dirService concode_elem_sep Logger logger concode_fi... | boolean function ( String arg0 , Owner arg1 ) { return this . create ( arg0 , "srini_string" , arg1 ) ; } |
20,790 | updates the ke hoach ve sinh xa new in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep keHoachVeSinhXaNewLocalService _service concode_field_sep vn.dtt.sol.ns.vesinhmoitruong.dao.model.keHoachVeSinhXaNew fetchkeHoachVeSinhXaNew concode_elem_sep java.u... | vn . dtt . sol . ns . vesinhmoitruong . dao . model . arg0 function ( vn . dtt . sol . ns . vesinhmoitruong . dao . model . arg0 arg0 ) { return getService ( ) . updatekeHoachVeSinhXaNew ( arg0 ) ; } |
20,791 | get the operand being ordered . concode_field_sep long serialVersionUID concode_elem_sep int hcode concode_elem_sep DynamicOperand operand concode_elem_sep Order order concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Order getOrder concode_elem_sep String toString concode_elem_sep void ac... | DynamicOperand function ( ) { return operand ; } |
20,792 | standard setter . concode_field_sep Set<String> supportedPortletModes concode_elem_sep String portalName concode_elem_sep Set<String> supportedWindowStates concode_elem_sep String containerName concode_elem_sep RenderConfig renderConfig concode_elem_sep Logger LOG concode_elem_sep String portalVersion concode_field_sep... | void function ( String arg0 ) { this . containerName = arg0 ; } |
20,793 | the exit code returned from the container . concode_field_sep String reason concode_elem_sep String taskArn concode_elem_sep String name concode_elem_sep Integer exitCode concode_elem_sep String containerArn concode_elem_sep com.amazonaws.internal.SdkInternalList<NetworkBinding> networkBindings concode_elem_sep String ... | Container function ( Integer arg0 ) { setExitCode ( arg0 ) ; return this ; } |
20,794 | sets value of the coreconnectionpnames #so_reuseaddr parameter . concode_field_sep PlaceHolder placeHolder concode_field_sep int getLinger concode_elem_sep void setTcpNoDelay concode_elem_sep void setConnectionTimeout concode_elem_sep void setSoTimeout concode_elem_sep boolean getSoReuseaddr concode_elem_sep boolean ge... | void function ( final HttpParams arg0 , boolean arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } arg0 . setBooleanParameter ( CoreConnectionPNames . SO_REUSEADDR , arg1 ) ; } |
20,795 | set the report definition see reportdef . concode_field_sep ReportDef reportDef concode_elem_sep Date reportGenerationDate concode_elem_sep List<Stat> reportData concode_elem_sep long serialVersionUID concode_field_sep ReportDef getReportDefinition concode_elem_sep List<Stat> getReportData concode_elem_sep void setRepo... | void function ( ReportDef arg0 ) { this . reportDef = arg0 ; } |
20,796 | set y , the second value . concode_field_sep byte x concode_elem_sep byte y concode_elem_sep byte z concode_elem_sep long serialVersionUID concode_field_sep byte getX concode_elem_sep void set concode_elem_sep void set concode_elem_sep void setX concode_elem_sep byte getY concode_elem_sep byte getZ concode_elem_sep int... | void function ( byte arg0 ) { this . y = arg0 ; } |
20,797 | performs a dynamic query on the database and returns an ordered range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
20,798 | goes to the user list screen . concode_field_sep PlaceHolder placeHolder concode_field_sep void navigateToUserDetails | void function ( Context arg0 ) { if ( arg0 != null ) { Intent loc0 = UserListActivity . getCallingIntent ( arg0 ) ; arg0 . startActivity ( loc0 ) ; } } |
20,799 | establishes the end data for this purge action concode_field_sep Date endDate concode_field_sep Date getEndDate | void function ( Date arg0 ) { this . endDate = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.