idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
32,500 | prints the amount of memory currently used by this stack . concode_field_sep int currentVersionIndex concode_elem_sep int savePosition concode_elem_sep List<Delta<String>> deltas concode_elem_sep String currentVersion concode_field_sep void doSave concode_elem_sep boolean canUndo concode_elem_sep void undo concode_elem... | int function ( ) { int loc0 = 2 * currentVersion . length ( ) ; for ( Delta < String > loc1 : deltas ) { for ( int loc2 = 0 ; loc2 < loc1 . getSize ( ) ; ++ loc2 ) { loc0 += 4 + 2 * loc1 . getT ( loc2 ) . length ( ) ; } } return 2 * loc0 ; } |
32,501 | fetch 3-byte 24bit from message concode_field_sep int m_headerLength concode_elem_sep HashMap<String,Direction> s_map concode_elem_sep MsgDefinition m_definition concode_elem_sep long m_quietTime concode_elem_sep HashMap<Integer,Msg> s_replyMap concode_elem_sep HashMap<String,Msg> s_msgMap concode_elem_sep HashMap<Inte... | int function ( String arg0 , String arg1 , String arg2 ) { if ( m_definition == null ) throw new FieldException ( "srini_string" ) ; int loc0 = ( m_definition . getField ( arg0 ) . getByte ( m_data ) << 16 ) & ( m_definition . getField ( arg1 ) . getByte ( m_data ) << 8 ) & m_definition . getField ( arg2 ) . getByte ( ... |
32,502 | gets the value of the bubble3d property . concode_field_sep CTBoolean bubble3D concode_elem_sep CTSerTx tx concode_elem_sep CTDLbls dLbls concode_elem_sep List<CTErrBars> errBars concode_elem_sep CTExtensionList extLst concode_elem_sep List<CTDPt> dPt concode_elem_sep CTShapeProperties spPr concode_elem_sep CTNumDataSo... | CTBoolean function ( ) { return bubble3D ; } |
32,503 | returns true if other is a headers object with the same headers , with the samecasing , in the same order . note that two headers instances may be semantically equal but not equal according to this method . in particular , none of the following sets of headers are equal according to this method : 1 . original content-t... | boolean function ( Object arg0 ) { return arg0 instanceof Headers && Arrays . equals ( ( ( Headers ) arg0 ) . namesAndValues , namesAndValues ) ; } |
32,504 | return resource by path concode_field_sep IServiceInvoker serviceInvoker concode_elem_sep Logger logger concode_elem_sep IScopeResolver scopeResolver concode_elem_sep IClientRegistry clientRegistry concode_elem_sep ApplicationContext applicationContext concode_elem_sep String contextPath concode_elem_sep IPersistenceSt... | Resource function ( String arg0 ) { return applicationContext . getResource ( contextPath + arg0 ) ; } |
32,505 | clone methods concode_field_sep int width concode_elem_sep int height concode_field_sep CGSize CGSizeMake concode_elem_sep CGSize CGSizeMake concode_elem_sep CGSize CGSizeMake concode_elem_sep CGSize CGSizeMake concode_elem_sep CGSize setValues concode_elem_sep CGSize setValues concode_elem_sep CGSize setValues concode... | CGSize function ( ) { return new CGSize ( width , height ) ; } |
32,506 | puts byte into struct onto specified index with specified offset concode_field_sep ByteArrayTool bt concode_elem_sep long size concode_elem_sep OffHeapMemory ohm concode_elem_sep int MIN_CAPACITY_INCREMENT concode_elem_sep int structLength concode_elem_sep long capacity concode_field_sep void add concode_elem_sep void ... | void function ( long arg0 , int arg1 , byte arg2 ) { assert arg1 <= structLength - 1 : arg1 ; ohm . putByte ( arg0 * structLength + arg1 , arg2 ) ; } |
32,507 | ishaa time concode_field_sep Prayer[] prayers concode_field_sep Iterator<Prayer> iterator concode_elem_sep Prayer shuruq concode_elem_sep Prayer thuhr concode_elem_sep Prayer[] getPrayers concode_elem_sep String toString concode_elem_sep Prayer fajr concode_elem_sep Prayer assr concode_elem_sep void setAllExtreme conco... | Prayer function ( ) { return prayers [ 5 ] ; } |
32,508 | sets the user id of this d d m content . concode_field_sep DDMContent _ddmContent concode_field_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getNameCurrentValue concode_elem_sep void setGroupId concode_elem_sep java.lang.String getName concode_elem_sep java.lang.String getName concode_elem_sep ... | void function ( long arg0 ) { _ddmContent . setUserId ( arg0 ) ; } |
32,509 | return elapsed time without stopping timer . concode_field_sep long startTime concode_elem_sep long MILLISECONDS_TO_SECONDS concode_elem_sep Redwood.RedwoodChannels log concode_elem_sep long MILLISECOND_DIVISOR concode_elem_sep long start concode_elem_sep NumberFormat nf concode_elem_sep long SECOND_DIVISOR concode_fie... | long function ( ) { return ( System . nanoTime ( ) - start ) / MILLISECOND_DIVISOR ; } |
32,510 | tests the failed creation of a capacity by passing a negative body count . concode_field_sep PlaceHolder placeHolder concode_field_sep void defualtTest concode_elem_sep void createSuccess concode_elem_sep void createFailureJointCount concode_elem_sep void createFailureListenerCount | void function ( ) { new Capacity ( - 3 , 0 , 0 ) ; } |
32,511 | produce a comma delimited text from a jsonarray of jsonobjects . the first row will be a list of names obtained by inspecting the first jsonobject . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONObject rowToJSONObject concode_elem_sep JSONArray toJSONArray concode_elem... | String function ( JSONArray arg0 ) { JSONObject loc0 = arg0 . optJSONObject ( 0 ) ; if ( loc0 != null ) { JSONArray loc1 = loc0 . loc1 ( ) ; if ( loc1 != null ) { return rowToString ( loc1 ) + toString ( loc1 , arg0 ) ; } } return null ; } |
32,512 | convert a passed byte string e.g. 50b , 100k , or 250m to kibibytes for internal use . if no suffix is provided , the passed number is assumed to be in kibibytes . concode_field_sep long DEFAULT_DRIVER_MEM_MB concode_elem_sep Logger logger concode_elem_sep ImmutableMap<String,ByteUnit> byteSuffixes concode_elem_sep Imm... | long function ( String arg0 ) { return byteStringAs ( arg0 , ByteUnit . KiB ) ; } |
32,513 | return a general naming exception with a root cause and a remaining name field . concode_field_sep PlaceHolder placeHolder concode_field_sep Context createSubcontext concode_elem_sep void rebind concode_elem_sep void rebind concode_elem_sep void unbind concode_elem_sep void unbind concode_elem_sep boolean isEmpty conco... | NamingException function ( final String arg0 , final Throwable arg1 , final Name arg2 ) { final NamingException loc0 = namingException ( arg0 , arg1 ) ; loc0 . setRemainingName ( arg2 ) ; return loc0 ; } |
32,514 | returns the character set name specified for this parameter value . concode_field_sep String _inputValue concode_elem_sep boolean _isHexInput concode_elem_sep String _hexPrefixStr concode_elem_sep String _charsetName concode_field_sep String getParameterValue concode_elem_sep String toString | String function ( ) { return this . _charsetName ; } |
32,515 | getter for resource property concode_field_sep int requests concode_elem_sep CacheController controller concode_elem_sep int hits concode_elem_sep String resource concode_elem_sep Log log concode_elem_sep long flushIntervalSeconds concode_elem_sep Object NULL_OBJECT concode_elem_sep boolean readOnly concode_elem_sep bo... | String function ( ) { return resource ; } |
32,516 | get whether or not this scroller responds to horizontal scrolling commands . concode_field_sep boolean mVerticalScrollEnabled concode_elem_sep boolean mInvertVerticalScroll concode_elem_sep boolean mInvertHorizontalScroll concode_elem_sep Instrumentation mInstrumentation concode_elem_sep Point mBottomPoint concode_elem... | boolean function ( ) { return mHorizontalScrollEnabled ; } |
32,517 | remove all elements of toremove from this list . it is a fatal error if any elements of toremove are not present . takes time proportional to the size of the list , so should not be called often . concode_field_sep List<E> currentGroup concode_elem_sep CompactHashSet<E> elements concode_elem_sep Object EMPTY_LIST conco... | void function ( Set < E > arg0 ) { groupedList = GroupedList . remove ( groupedList , arg0 ) ; int loc0 = size ( ) ; elements . removeAll ( arg0 ) ; Preconditions . checkState ( loc0 == size ( ) + arg0 . size ( ) , "srini_string" , arg0 , this ) ; } |
32,518 | helper for error callbacks that just returns the status.error by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String ... | void function ( String arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . ERROR , arg0 ) ) ; } |
32,519 | get the domain concode_field_sep String path concode_elem_sep String expires concode_elem_sep int NULL_AGE concode_elem_sep int maxAge concode_elem_sep org.apache.commons.logging.Log _log concode_elem_sep String domain concode_elem_sep int EXPIRED_AGE concode_elem_sep boolean secure concode_elem_sep String value concod... | String function ( ) { return this . domain ; } |
32,520 | returns true if this setting was persisted . concode_field_sep int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS concode_elem_sep int DOWNLOAD_BANDWIDTH concode_elem_sep int set concode_elem_sep int DEFAULT_INITIAL_WINDOW_SIZE concode_elem_sep int UPLOAD_BANDWIDTH concode_elem_sep int CLIENT_CERTIFICATE_VECTOR_SIZE concode_... | boolean function ( int arg0 ) { int loc0 = 1 << arg0 ; return ( persisted & loc0 ) != 0 ; } |
32,521 | returns the testresultanalyzer associated with this listener . concode_field_sep ConcurrentMap<Artifact,TestResult> statusMap concode_elem_sep boolean blazeHalted concode_elem_sep Object summaryLock concode_elem_sep EventBus eventBus concode_elem_sep Multimap<LabelAndConfiguration,Artifact> remainingRuns concode_elem_s... | TestResultAnalyzer function ( ) { return analyzer ; } |
32,522 | override to add additional charfilter s. concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,AnalysisProvider<AnalyzerProvider<? extends Analyzer>>> getAnalyzers concode_elem_sep Map<String,org.apache.lucene.analysis.hunspell.Dictionary> getHunspellDictionaries concode_elem_sep Map<String,AnalysisPro... | Map < String , AnalysisProvider < CharFilterFactory >> function ( ) { return emptyMap ( ) ; } |
32,523 | invoked to indicate that a timed element has become active . concode_field_sep PlaceHolder placeHolder concode_field_sep void elementDeactivated concode_elem_sep void intervalRemoved concode_elem_sep void elementRepeated concode_elem_sep void elementAdded concode_elem_sep void intervalCreated concode_elem_sep void inte... | void function ( TimedElement arg0 , float arg1 ) { } |
32,524 | writes the csv header fieldnames . should be called after construction one time . concode_field_sep int nbrCols concode_elem_sep int nbrRows concode_elem_sep String newline concode_elem_sep OutputStreamWriter writer concode_field_sep String toCsvValue concode_elem_sep void doWriteData concode_elem_sep void writeData co... | void function ( String [ ] arg0 ) { this . nbrCols = arg0 . length ; doWriteData ( arg0 ) ; } |
32,525 | returns the value of the public exponent . concode_field_sep BigInteger publicExponent concode_elem_sep int keysize concode_elem_sep BigInteger F0 concode_elem_sep BigInteger F4 concode_field_sep int getKeysize | BigInteger function ( ) { return publicExponent ; } |
32,526 | set the the specified scrolling interpolator concode_field_sep Handler animationHandler concode_elem_sep int MIN_DELTA_FOR_SCROLLING concode_elem_sep ScrollingListener listener concode_elem_sep SimpleOnGestureListener gestureListener concode_elem_sep float lastTouchedY concode_elem_sep boolean isScrollingPerformed conc... | void function ( Interpolator arg0 ) { scroller . forceFinished ( true ) ; scroller = new Scroller ( context , arg0 ) ; } |
32,527 | gets collection . concode_field_sep CollectionItem collection concode_elem_sep Date createDate concode_elem_sep Item item concode_field_sep Date getTimestamp concode_elem_sep Item getItem | CollectionItem function ( ) { return collection ; } |
32,528 | file mode of this file . concode_field_sep int uid concode_elem_sep boolean dirFlag concode_elem_sep ZipShort HEADER_ID concode_elem_sep CRC32 crc concode_elem_sep int WORD concode_elem_sep int gid concode_elem_sep int mode concode_elem_sep String link concode_field_sep boolean isLink concode_elem_sep void setGroupId c... | int function ( ) { return mode ; } |
32,529 | indicates if action support is available . concode_field_sep boolean isWayBboxSupported concode_elem_sep boolean isWayLinestringSupported concode_elem_sep DatabaseContext dbCtx concode_elem_sep boolean initialized concode_elem_sep boolean isActionSupported concode_field_sep boolean isWayBboxSupported concode_elem_sep b... | boolean function ( ) { initialize ( ) ; return isActionSupported ; } |
32,530 | performs cleanup and notify the websockethandler . concode_field_sep WebSocketHandler handler concode_elem_sep Log logger concode_elem_sep long timeCreated concode_elem_sep Set<String> disconnectedClientExceptions concode_elem_sep HeartbeatTask heartbeatTask concode_elem_sep String DISCONNECTED_CLIENT_LOG_CATEGORY conc... | void function ( ) { close ( new CloseStatus ( 3000 , "srini_string" ) ) ; } |
32,531 | initialize this plugin . this method only called when the plugin is instantiated . concode_field_sep Log _logger concode_elem_sep String ENTRIES_PARAM concode_field_sep BlogEntry[] process concode_elem_sep void cleanup concode_elem_sep void destroy | void function ( ServletConfig arg0 , BlojsomConfiguration arg1 ) { } |
32,532 | this is a utility method that compares two booleans when one or both of the objects might be null the result of this method is determined as follows : if b1 and b2 are both true or neither b1 nor b2 is true , return false . otherwise , return true . this method produces the exact logically inverted result as the #arebo... | boolean function ( Boolean arg0 , Boolean arg1 ) { return ! areBooleansEqual ( arg0 , arg1 ) ; } |
32,533 | returns the first of the given parameters that is not null if any , or otherwise throws nullpointerexception . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean equal concode_elem_sep String deepToString concode_elem_sep boolean deepEquals concode_elem_sep int deepHashCode concode_elem_sep int hashCod... | T function ( T arg0 , T arg1 ) { return arg0 != null ? arg0 : nonNull ( arg1 ) ; } |
32,534 | two threads insert a single item each into the result list expected result : a list containing the two items in a policy/scheduler-dependent order . concode_field_sep PlaceHolder placeHolder concode_field_sep List<Object> testTwoThreadsTwoItems concode_elem_sep List<Object> testOneThreadOneItem concode_elem_sep List<Ob... | List < Object > function ( Object arg0 , Object arg1 ) { List < Object > loc0 = Collections . synchronizedList ( new ArrayList < Object > ( 2 ) ) ; Scheduler . scheduleMutator ( new TestMutator ( loc0 , Arrays . asList ( arg0 ) ) ) ; Scheduler . scheduleMutator ( new TestMutator ( loc0 , Arrays . asList ( arg1 ) ) ) ; ... |
32,535 | returns an inputstream object that contains a partial blob value , starting with the byte specified by pos , which is length bytes in length . concode_field_sep BlobDataID blob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep int setBytes concode_elem_sep int setBytes concod... | InputStream function ( long arg0 , long arg1 ) { if ( ! isInLimits ( Long . MAX_VALUE , arg0 - 1 , arg1 ) ) { throw Util . outOfRangeArgument ( ) ; } return new BlobInputStream ( session , blob , arg0 - 1 , arg1 ) ; } |
32,536 | checks that given dep supports the given language . concode_field_sep ImmutableSet<LibraryLanguage> languages concode_elem_sep String displayName concode_elem_sep Label label concode_field_sep Label getLabel concode_elem_sep ImmutableSet<LibraryLanguage> getSupportedLanguages concode_elem_sep String toString concode_el... | boolean function ( RuleContext arg0 , LanguageDependentFragment arg1 , LibraryLanguage arg2 ) { if ( arg1 . getSupportedLanguages ( ) . contains ( arg2 ) ) { return true ; } else { arg0 . attributeError ( "srini_string" , String . format ( "srini_string" , arg1 . getLabel ( ) , arg2 ) ) ; return false ; } } |
32,537 | returns the sum of the values . non-finite values if the dataset contains double #nan then the result is double #nan . if it contains both double #positive_infinity and double #negative_infinity then theresult is double #nan . if it contains double #positive_infinity and finite valuesonly or double #positive_infinity o... | double function ( ) { return mean * count ; } |
32,538 | returns a mutation that will delete the row with primary key key . exactly equivalent to delete table , keyset.singlekey key . concode_field_sep String currentColumn concode_elem_sep ImmutableList.Builder<String> columns concode_elem_sep ImmutableList.Builder<Value> values concode_elem_sep ValueBinder<WriteBuilder> bin... | Mutation function ( String arg0 , Key arg1 ) { return delete ( arg0 , KeySet . singleKey ( arg1 ) ) ; } |
32,539 | make sure input is a valid path . concode_field_sep PlaceHolder placeHolder concode_field_sep Path isReadablePath concode_elem_sep Path isRegularFilePath concode_elem_sep Path isDirectoryPath concode_elem_sep Path isWritablePath | Path function ( String arg0 , MessageFormatter arg1 ) { Path loc0 ; try { loc0 = Paths . get ( arg0 ) ; } catch ( InvalidPathException loc1 ) { throw new ValidationException ( arg1 . format ( arg0 ) , loc1 ) ; } return loc0 ; } |
32,540 | sets the value of the show property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep SVPortType svPort 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 ti... | void function ( String arg0 ) { this . show = arg0 ; } |
32,541 | time in milliseconds that we will wait in order to perform a retry after an ioexception . only relevant if maxioretries > 0 . concode_field_sep String SPARK_NETWORK_IO_NUMCONNECTIONSPERPEER_KEY concode_elem_sep String SPARK_NETWORK_IO_LAZYFD_KEY concode_elem_sep String SPARK_NETWORK_IO_SERVERTHREADS_KEY concode_elem_se... | int function ( ) { return ( int ) JavaUtils . timeStringAsSec ( conf . get ( SPARK_NETWORK_IO_RETRYWAIT_KEY , "srini_string" ) ) * 1000 ; } |
32,542 | returns the weight of this asset link . concode_field_sep AssetLink _assetLink concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode... | int function ( ) { return _assetLink . getWeight ( ) ; } |
32,543 | clears the last obtained response and the stashed fields concode_field_sep ESLogger logger concode_elem_sep RestResponse response concode_elem_sep RestClient restClient concode_elem_sep Stash stash concode_elem_sep RestSpec restSpec concode_field_sep String actualBody concode_elem_sep String bodyAsString concode_elem_s... | void function ( ) { logger . debug ( "srini_string" ) ; response = null ; stash . clear ( ) ; } |
32,544 | does this database support the jdbc 3.0 feature of retrieving generated keys java.sql.databasemetadata #supportsgetgeneratedkeys ? concode_field_sep String catalogName concode_elem_sep boolean generatedKeyColumnsUsed concode_elem_sep Log logger concode_elem_sep NativeJdbcExtractor nativeJdbcExtractor concode_elem_sep b... | boolean function ( ) { return this . metaDataProvider . isGetGeneratedKeysSupported ( ) ; } |
32,545 | merge lock instances . concode_field_sep boolean writeAll concode_elem_sep StringList read concode_elem_sep boolean readAll concode_elem_sep StringList write concode_field_sep String toString | void function ( final LockResult arg0 ) { if ( arg0 . write . contains ( DBLocking . CONTEXT ) ) write . add ( read ) ; read . add ( arg0 . read ) ; write . add ( arg0 . write ) ; readAll |= arg0 . readAll ; writeAll |= arg0 . writeAll ; } |
32,546 | a list of cluster objects , where each object describes one cluster . concode_field_sep String marker concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<Cluster> clusters concode_field_sep void setClusters concode_elem_sep String getMarker concode_elem_sep void setMarker concode_elem_sep int hashCode con... | java . util . List < Cluster > function ( ) { if ( clusters == null ) { clusters = new com . amazonaws . internal . ListWithAutoConstructFlag < Cluster > ( ) ; clusters . setAutoConstruct ( true ) ; } return clusters ; } |
32,547 | the id of this event . concode_field_sep String eventId concode_elem_sep java.util.Date notAfter concode_elem_sep String description concode_elem_sep String eventType concode_elem_sep java.util.Date notBefore concode_field_sep VolumeStatusEvent withEventType concode_elem_sep VolumeStatusEvent withNotBefore concode_elem... | void function ( String arg0 ) { this . eventId = arg0 ; } |
32,548 | resets the static reusable value today concode_field_sep SimpleDateFormat sdfd concode_elem_sep SimpleDateFormat sdfts concode_elem_sep String sdfdPattern concode_elem_sep String sdftsPattern concode_elem_sep SimpleDateFormat sdft concode_elem_sep Date today concode_elem_sep Date tempDate concode_elem_sep String sdftPa... | void function ( ) { Calendar loc0 = new GregorianCalendar ( ) ; resetToDate ( loc0 ) ; today = new Date ( loc0 . getTime ( ) . getTime ( ) ) ; } |
32,549 | hook for blocking the loading of external resources . this will be called when the webview 's shouldinterceptrequest wants to know whether to open a connection to an external resource . return false to block the request : if any plugin returns false , cordova will block the request . if all plugins return null , the de... | Boolean function ( String arg0 ) { return null ; } |
32,550 | ensures that this object is in the running state . if this object is not running , then the call has the effect of setting the starttime attribute to the current value of system.currenttimemillis and setting the running attribute to true . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep l... | void function ( ) { startTime = System . currentTimeMillis ( ) ; running = true ; } |
32,551 | puts all the entries in the map to the builder . concode_field_sep ImmutableOpenMap EMPTY concode_elem_sep ObjectObjectHashMap<KType,VType> map concode_field_sep VType getOrDefault concode_elem_sep VType getOrDefault concode_elem_sep void indexInsert concode_elem_sep ObjectLookupContainer<KType> keys concode_elem_sep O... | Builder < KType , VType > function ( Map < KType , VType > arg0 ) { for ( Map . Entry < KType , VType > loc0 : arg0 . entrySet ( ) ) { this . map . put ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } return this ; } |
32,552 | converts a color in the rgb format into the same color in the hsb format . concode_field_sep PlaceHolder placeHolder concode_field_sep int[] hsbToRgb | double [ ] function ( int [ ] arg0 ) { return rgbToHsb ( arg0 [ 0 ] , arg0 [ 1 ] , arg0 [ 2 ] ) ; } |
32,553 | gets the value of the digestmethod property . concode_field_sep byte[] digestValue concode_elem_sep DigestMethod digestMethod concode_elem_sep Transforms transforms concode_elem_sep String id concode_elem_sep String type concode_elem_sep String uri concode_field_sep Transforms getTransforms concode_elem_sep void setDig... | DigestMethod function ( ) { return digestMethod ; } |
32,554 | gets the value of the mymessage property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the mymessage property . for example , to add a new item , d... | List < MyMessage > function ( ) { if ( myMessage == null ) { myMessage = new ArrayList < MyMessage > ( ) ; } return this . myMessage ; } |
32,555 | gets a hash code for the period as defined by readableperiod . concode_field_sep PlaceHolder placeHolder concode_field_sep int size concode_elem_sep int[] getValues concode_elem_sep int get concode_elem_sep boolean equals concode_elem_sep Period toPeriod concode_elem_sep MutablePeriod toMutablePeriod concode_elem_sep D... | int function ( ) { int loc0 = 17 ; for ( int loc1 = 0 , loc2 = size ( ) ; loc1 < loc2 ; loc1 ++ ) { loc0 = 27 * loc0 + getValue ( loc1 ) ; loc0 = 27 * loc0 + getFieldType ( loc1 ) . hashCode ( ) ; } return loc0 ; } |
32,556 | retrieves the artifact name corresponds to the given updating artifact file name concode_field_sep Set<String> backedUpFiles concode_elem_sep Set<String> restoredFiles concode_elem_sep Log log concode_elem_sep String mainSeqLstUpdatedFile concode_elem_sep Map<String,ClassLoader> classMediatorClassLoaders concode_elem_s... | String function ( String arg0 ) { return updatingArtifacts . get ( getNormalizedAbsolutePath ( arg0 ) ) ; } |
32,557 | get the instance of the adminspec appropriate to the versionof the teiid instance . note . the teiid version is wrapped since the implementation of the version 8 spec caches against the version . concode_field_sep ITeiidServerVersion teiidVersion concode_field_sep Admin createAdmin concode_elem_sep VDB.Status getLoadin... | AdminSpec function ( ITeiidServerVersion arg0 ) { if ( arg0 . isLessThan ( Version . TEIID_8_0 ) ) return new Admin7Spec ( arg0 ) ; else return new Admin8Spec ( arg0 ) ; } |
32,558 | if no profile has been configured , set by default the `` dev '' profile . concode_field_sep Logger log concode_elem_sep Environment env concode_field_sep void initApplication concode_elem_sep void main | void function ( SpringApplication arg0 , SimpleCommandLinePropertySource arg1 ) { if ( ! arg1 . containsProperty ( "srini_string" ) && ! System . getenv ( ) . containsKey ( "srini_string" ) ) { arg0 . setAdditionalProfiles ( Constants . SPRING_PROFILE_LOCAL ) ; } } |
32,559 | function : public string gettime description : return the current time . parameters : return : string author : nguyen thai son created date : 07 jan 2002 concode_field_sep String m_strTime concode_elem_sep String m_strDate concode_field_sep void formatDate concode_elem_sep int getDateFromString concode_elem_sep String ... | String function ( ) { return this . m_strTime ; } |
32,560 | gets the user name . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep void setUserName | String function ( ) { return userName ; } |
32,561 | id for the local notification as a string . concode_field_sep long interval concode_elem_sep JSONObject options concode_elem_sep AssetUtil assets concode_elem_sep String EXTRA concode_elem_sep Context context concode_field_sep Boolean isAutoClear concode_elem_sep String getText concode_elem_sep long getRepeatInterval c... | String function ( ) { return getId ( ) . toString ( ) ; } |
32,562 | write the namespace if necessary . concode_field_sep String UNBOUND_NAMESPACE concode_field_sep void skipToNextStartElement concode_elem_sep void checkTag concode_elem_sep String writeStartElement concode_elem_sep void writeEndElement concode_elem_sep boolean checkParentFinished concode_elem_sep void writeAttributes co... | void function ( final XMLStreamWriter arg0 , final String arg1 , final String arg2 ) { final NamespaceContext loc0 = arg0 . getNamespaceContext ( ) ; final boolean loc1 = ( loc0 . getPrefix ( arg2 ) == null ) ; if ( loc1 ) { arg0 . setPrefix ( arg1 , arg2 ) ; arg0 . loc1 ( arg1 , arg2 ) ; } } |
32,563 | sets the edittext text . concode_field_sep Map<Character,Character> MAP_NORM concode_field_sep void hideSoftInPut concode_elem_sep View.OnKeyListener getSoftInPutHideListener concode_elem_sep void setEditTextMultiLine concode_elem_sep void setSearchHintWithColorIcon concode_elem_sep void setSearchHintIcon concode_elem_... | void function ( EditText arg0 , String arg1 ) { if ( arg1 == null ) { return ; } else { arg0 . setText ( arg1 ) ; } } |
32,564 | setter concode_field_sep UserNotificationPreferencesRegistrationService userNotificationPreferencesRegistrationService concode_elem_sep String defaultValue concode_elem_sep Map<String,String> rawOptions concode_elem_sep Log logger concode_elem_sep String type concode_elem_sep String sectionTitle concode_elem_sep boolea... | void function ( String arg0 ) { this . sectionTitle = arg0 ; } |
32,565 | returns g for the dsa algorithm . concode_field_sep BigInteger q concode_elem_sep BigInteger x concode_elem_sep BigInteger p concode_elem_sep BigInteger g concode_field_sep BigInteger getX concode_elem_sep BigInteger getP concode_elem_sep BigInteger getQ | BigInteger function ( ) { return this . g ; } |
32,566 | retrieves a hexidecimal character sequence representing the md5 digest of the specified character sequence , using the specified encoding to first convert the character sequence into a byte sequence . if the specified encoding is null , then iso-8859-1 is assumed concode_field_sep MessageDigest md5 concode_field_sep by... | String function ( String arg0 , String arg1 ) { return StringConverter . byteArrayToHexString ( digest ( arg0 , arg1 ) ) ; } |
32,567 | returns the value of the encapsulated long . concode_field_sep long serialVersionUID concode_elem_sep long value concode_field_sep void copyTo concode_elem_sep void read concode_elem_sep int getBinaryLength concode_elem_sep int hashCode concode_elem_sep void setValue concode_elem_sep void setValue concode_elem_sep bool... | long function ( ) { return this . value ; } |
32,568 | return a map view of the supplier storage container . concode_field_sep StoredSortedMap supplierByCityMap concode_elem_sep StoredSortedMap shipmentBySupplierMap concode_elem_sep StoredSortedMap supplierMap concode_elem_sep StoredSortedMap shipmentByPartMap concode_elem_sep StoredSortedMap partMap concode_elem_sep Store... | StoredSortedMap function ( ) { return supplierMap ; } |
32,569 | returns the identifier of the specific object affected by this permission . concode_field_sep String identifier concode_elem_sep Type type concode_field_sep Type getType concode_elem_sep int hashCode concode_elem_sep boolean equals | String function ( ) { return identifier ; } |
32,570 | returns all google accounts or null for none . concode_field_sep boolean received401 concode_elem_sep GoogleAccountManager accountManager concode_elem_sep String accountName concode_elem_sep BackOff backOff concode_elem_sep String scope concode_elem_sep Context context concode_elem_sep Sleeper sleeper concode_elem_sep ... | Account [ ] function ( ) { return accountManager . getAccounts ( ) ; } |
32,571 | directions . concode_field_sep String date concode_elem_sep String directions concode_elem_sep String MaxId concode_elem_sep String id concode_field_sep String getTabelData concode_elem_sep String getMaxId concode_elem_sep void setMaxId concode_elem_sep void setId concode_elem_sep void setDate concode_elem_sep String g... | void function ( String arg0 ) { this . directions = arg0 ; } |
32,572 | invokes `` static void registerexpression findexpressionfactory '' on the given class . this method abstracts the contract between the factory and the expression class . do not assume that directly invoking registerexpression on the given class will have the same effect . concode_field_sep String REGISTER_EXPRESSION_ME... | void function ( Class < ? extends Expression > arg0 ) { try { Method loc0 = arg0 . getMethod ( REGISTER_EXPRESSION_METHOD , ExpressionFactory . class ) ; if ( loc0 != null ) { loc0 . invoke ( null , this ) ; } } catch ( Exception loc0 ) { throw new RuntimeException ( StringUtils . stringifyException ( loc0 ) ) ; } } |
32,573 | longitude of this point concode_field_sep float latitude concode_elem_sep float[][] coordinates concode_elem_sep SpatialContext CTX concode_elem_sep float longitude concode_field_sep Point getPoint concode_elem_sep Point getPoint concode_elem_sep boolean intersect concode_elem_sep double distance concode_elem_sep boole... | float function ( ) { return longitude ; } |
32,574 | is error logging currently enabled ? concode_field_sep String name concode_elem_sep Level dummyLevel concode_elem_sep long serialVersionUID concode_elem_sep Logger logger concode_field_sep void debug concode_elem_sep void debug concode_elem_sep void log concode_elem_sep Logger getLogger concode_elem_sep boolean isWarnE... | boolean function ( ) { return getLogger ( ) . isLoggable ( Level . SEVERE ) ; } |
32,575 | set id concode_field_sep float score concode_elem_sep Set<String> contexts concode_elem_sep Long tstamp concode_elem_sep String formattedScore concode_elem_sep String welcomePage concode_elem_sep String docId concode_elem_sep String name concode_elem_sep String defaultForTool concode_elem_sep String location concode_el... | void function ( Long arg0 ) { this . id = arg0 ; } |
32,576 | inserts one laboratory exam laboratory with multiple results procedure two concode_field_sep LabIoOperations ioOperations concode_field_sep boolean newLabFirstProcedure concode_elem_sep boolean deleteLaboratory concode_elem_sep ArrayList<LaboratoryForPrint> getLaboratoryForPrint concode_elem_sep boolean editLabSecondPr... | boolean function ( Laboratory arg0 , ArrayList < String > arg1 ) { try { return ioOperations . newLabSecondProcedure ( arg0 , arg1 ) ; } catch ( OHException loc0 ) { JOptionPane . showMessageDialog ( null , loc0 . getMessage ( ) ) ; return false ; } } |
32,577 | 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 ) ; } |
32,578 | sets the status of this member request . concode_field_sep MemberRequest _memberRequest 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_ele... | void function ( int arg0 ) { _memberRequest . setStatus ( arg0 ) ; } |
32,579 | sets the value of the firstname property . concode_field_sep String firstName concode_elem_sep String lastName concode_elem_sep String password concode_elem_sep BigInteger id concode_elem_sep String userId concode_elem_sep String email concode_field_sep void setLastName concode_elem_sep void setPassword concode_elem_se... | void function ( String arg0 ) { this . firstName = arg0 ; } |
32,580 | returns the areas related to the location concode_field_sep Owner owner concode_elem_sep Image image concode_elem_sep List<Note> notes concode_elem_sep List<SubjectMatter> subjectMatters concode_elem_sep List<Area> areas concode_elem_sep List<Description> descriptions concode_elem_sep String staffNotePri concode_elem_s... | List < Area > function ( ) { return this . areas ; } |
32,581 | gets the timezone location used to identify this time zone . concode_field_sep boolean currentlyShowing concode_elem_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String abbreviation concode_elem_sep String mapCommandButtonId concode_field_sep boolean getCurre... | String function ( ) { return id ; } |
32,582 | same as #next except this does n't move the iteratorpointer forward . calling this method multiple times in a row results in the same server being returned , unlike #next . if you call #peek and then #next , both will return the same server . concode_field_sep int securePort concode_elem_sep List<ServerEntry> servers c... | ServerEntry function ( ) { if ( ! hasNext ( ) ) { return null ; } ServerEntry loc0 = servers . get ( nextIndex ) ; return loc0 ; } |
32,583 | insert the given provider at the specified position . the positions define the preference order in which providers are searched for requested algorithms . concode_field_sep Properties secprops concode_field_sep List<String> getAliases concode_elem_sep int addProvider concode_elem_sep String getProperty concode_elem_sep... | int function ( Provider arg0 , int arg1 ) { if ( getProvider ( arg0 . getName ( ) ) != null ) { return - 1 ; } int loc0 = Services . insertProviderAt ( arg0 , arg1 ) ; renumProviders ( ) ; return loc0 ; } |
32,584 | we can use this method to dispose of any system resources we previously allocated . concode_field_sep IWorkbenchWindow workbenchWindow concode_elem_sep IResource currentSelection concode_field_sep void init concode_elem_sep void selectionChanged concode_elem_sep void run concode_elem_sep void setActivePart | void function ( ) { } |
32,585 | get extra jsonobject value . concode_field_sep String mUrl concode_elem_sep String URL_KEY concode_elem_sep String EXTRA_KEY concode_elem_sep String mNewId concode_elem_sep String ID_KEY concode_elem_sep String mId concode_elem_sep JSONObject mExtraData concode_elem_sep String mNewUrl concode_elem_sep JSONObject mNewEx... | JSONObject function ( String arg0 ) { return mExtraData . optJSONObject ( arg0 ) ; } |
32,586 | converts an ast to dot representation and appends it to the given buffer . concode_field_sep String LINE concode_elem_sep int keyCount concode_elem_sep String ARROW concode_elem_sep ControlFlowGraph<Node> cfg concode_elem_sep boolean printAnnotations concode_elem_sep Appendable builder concode_elem_sep HashMap<Node,Int... | void function ( Node arg0 , ControlFlowGraph < Node > arg1 , Appendable arg2 ) { new DotFormatter ( arg0 , arg1 , arg2 , false ) ; } |
32,587 | gets the value of the value property . concode_field_sep Map<QName,String> otherAttributes concode_elem_sep QName value concode_field_sep void setValue concode_elem_sep Map<QName,String> getOtherAttributes | QName function ( ) { return value ; } |
32,588 | this will get the current clipping path . do not modify this area object ! concode_field_sep double nonStrokingAlphaConstant concode_elem_sep boolean isClippingPathDirty concode_elem_sep boolean alphaSource concode_elem_sep double smoothness concode_elem_sep PDColor nonStrokingColor concode_elem_sep PDSoftMask softMask... | Region function ( ) { return clippingPath ; } |
32,589 | the setter method which converts each string argument to a part object with _ srl `` obj '' and _ name argument content . concode_field_sep String originalSentence concode_elem_sep ArrayList<Part> subjects concode_elem_sep ArrayList<Part> objects concode_elem_sep Part verb concode_elem_sep ArrayList<Part> adverbs conco... | void function ( String ... arg0 ) { this . objects = new ArrayList < Part > ( ) ; for ( String loc0 : arg0 ) if ( loc0 != null ) this . objects . add ( new Part ( loc0 , SRL . OBJ ) ) ; } |
32,590 | sets the startup and last visit time to now , as well set the user id to anonymous . this method is usually called when the user hits the forum for the first time . concode_field_sep long serialVersionUID concode_elem_sep ImageCaptcha imageCaptcha concode_elem_sep String ip concode_elem_sep Date lastVisit concode_elem_... | void function ( ) { this . setStartTime ( new Date ( System . currentTimeMillis ( ) ) ) ; this . setLastVisit ( new Date ( System . currentTimeMillis ( ) ) ) ; this . setUserId ( SystemGlobals . getIntValue ( ConfigKeys . ANONYMOUS_USER_ID ) ) ; } |
32,591 | convert address id into an object concode_field_sep PlaceHolder placeHolder concode_field_sep Object getPrototype concode_elem_sep int tie concode_elem_sep int tied concode_elem_sep int instance concode_elem_sep int address concode_elem_sep int address concode_elem_sep void untie concode_elem_sep int getAddressPrototyp... | Object function ( int arg0 ) { return CMemoryImpl . getInstance ( ) . resolveAddress ( arg0 ) ; } |
32,592 | create a subcontext including any intermediate contexts . concode_field_sep PlaceHolder placeHolder concode_field_sep Object lookup concode_elem_sep Object lookup concode_elem_sep Object lookup concode_elem_sep Object lookup concode_elem_sep void bind concode_elem_sep void bind concode_elem_sep void unbind concode_elem... | Context function ( Context arg0 , Name arg1 ) { Context loc0 = arg0 ; for ( int loc1 = 0 ; loc1 < arg1 . size ( ) ; loc1 ++ ) { String loc2 = arg1 . get ( loc1 ) ; try { loc0 = ( Context ) arg0 . lookup ( loc2 ) ; } catch ( NameNotFoundException loc3 ) { loc0 = arg0 . createSubcontext ( loc2 ) ; } arg0 = loc0 ; } retur... |
32,593 | push binary context and return the old one . concode_field_sep byte STRING_ARR concode_elem_sep byte NULL concode_elem_sep byte DATE_ARR concode_elem_sep ThreadLocal<Boolean> KEEP_BINARIES concode_elem_sep byte LONG_ARR concode_elem_sep int SCHEMA_ID_POS concode_elem_sep byte DOUBLE concode_elem_sep byte TIME concode_e... | BinaryContext function ( ) { return pushContext ( ctx ) ; } |
32,594 | creates actions for the given build . concode_field_sep PlaceHolder placeHolder concode_field_sep ExtensionList<TransientBuildActionFactory> all | Collection < ? extends Action > function ( Run arg0 ) { if ( arg0 instanceof AbstractBuild ) return createFor ( ( AbstractBuild ) arg0 ) ; else return Collections . emptyList ( ) ; } |
32,595 | doc amaumont comment method `` createxpathexpression '' . concode_field_sep XmlToXPathLinker linker concode_elem_sep String EMPTY_STRING concode_elem_sep String SLASH concode_elem_sep String PIPE concode_elem_sep boolean isRelativeTable concode_elem_sep IContentProposalProvider[] otherContentProposalProviders concode_f... | String function ( String arg0 , boolean arg1 ) { String loc0 ; String loc1 = SLASH ; if ( arg0 . trim ( ) . equals ( "srini_string" ) && arg1 ) { arg0 = "srini_string" ; } if ( arg0 . endsWith ( SLASH ) ) { loc1 = EMPTY_STRING ; } loc0 = arg0 + loc1 + "srini_string" + "srini_string" + arg0 + loc1 + "srini_string" ; ret... |
32,596 | returns the configuration of the job the task belongs to . concode_field_sep JobID jobID concode_elem_sep Class<? extends AbstractInvokable> invokableClass concode_elem_sep SerializableArrayList<GateDeploymentDescriptor> inputGates concode_elem_sep ExecutionVertexID vertexID concode_elem_sep Configuration taskConfigura... | Configuration function ( ) { return this . jobConfiguration ; } |
32,597 | returns the current version of the bundle . concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void stop concode_elem_sep void start concode_elem_sep BundleContext getContext | Version function ( ) { return context . getBundle ( ) . getVersion ( ) ; } |
32,598 | returns the value at index or null if that is out of range . 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... | String function ( int arg0 ) { int loc0 = arg0 * 2 + 1 ; if ( loc0 < 0 || loc0 >= namesAndValues . length ) { return null ; } return namesAndValues [ loc0 ] ; } |
32,599 | called by the node to help determine whether or not it shouldtake the given task . individual properties can return a non-null value here if there is some reason the given task should not be run on its associated node . by default , this method returns null . concode_field_sep N node concode_field_sep NodePropertyDescr... | CauseOfBlockage function ( BuildableItem arg0 ) { return canTake ( arg0 . task ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.