idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
6,000 | returns the workspace file at the given location if such a file exists . concode_field_sep String PLUGIN_ID concode_elem_sep IWorkspaceRoot WORKSPACE_ROOT concode_field_sep ITextFileBufferManager getTextFileBufferManager concode_elem_sep IPath normalizeLocation | IFile function ( IPath arg0 ) { return getWorkspaceFileAtLocation ( arg0 , false ) ; } |
6,001 | this method is used instead of textutils #equals charsequence , charsequence because thelatter only checks the text of each sequence , and does not check for equality of styling that may be embedded within the charsequence s. concode_field_sep float spacingMult concode_elem_sep int windowColor concode_elem_sep RectF li... | boolean function ( CharSequence arg0 , CharSequence arg1 ) { return arg0 == arg1 || ( arg0 != null && arg0 . equals ( arg1 ) ) ; } |
6,002 | get the type of this shape . you can use this to down cast to the concrete shape . concode_field_sep float m_radius concode_elem_sep ShapeType m_type concode_field_sep void computeMass concode_elem_sep Shape clone concode_elem_sep boolean testPoint concode_elem_sep boolean raycast concode_elem_sep void computeAABB | ShapeType function ( ) { return m_type ; } |
6,003 | method used to get the field format concode_field_sep int dateStandard concode_elem_sep int size concode_elem_sep Field field concode_elem_sep boolean readHexa concode_elem_sep String format concode_elem_sep int index concode_elem_sep boolean skip concode_elem_sep ITag tag concode_field_sep boolean isSkip concode_elem_... | String function ( ) { return format ; } |
6,004 | sets the pool used in this request . concode_field_sep Short replication concode_elem_sep Path path concode_elem_sep long ms concode_elem_sep String pool concode_elem_sep long MAX_RELATIVE_EXPIRY_MS concode_elem_sep Expiration expiration concode_elem_sep Long id concode_elem_sep boolean isRelative concode_elem_sep Expi... | Builder function ( String arg0 ) { this . pool = arg0 ; return this ; } |
6,005 | the newly created upload . concode_field_sep Upload upload concode_field_sep void setUpload concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CreateUploadResult clone concode_elem_sep CreateUploadResult withUpload concode_elem_sep String toString | Upload function ( ) { return this . upload ; } |
6,006 | reshape the parameters view , without modifying the paramsview array values . same reshaping mechanism as #initweights int , weightinit , distribution , indarray concode_field_sep char DEFAULT_WEIGHT_INIT_ORDER concode_field_sep INDArray initWeights concode_elem_sep INDArray initWeights concode_elem_sep INDArray initWe... | INDArray function ( int [ ] arg0 , INDArray arg1 ) { return reshapeWeights ( arg0 , arg1 , DEFAULT_WEIGHT_INIT_ORDER ) ; } |
6,007 | gets the mapivalue data length in bytes . concode_field_sep RawInputStream rawData concode_elem_sep int type concode_field_sep Object getValue concode_elem_sep int getType concode_elem_sep String toString concode_elem_sep RawInputStream getRawData concode_elem_sep byte[] getData | int function ( ) { return ( int ) rawData . getLength ( ) ; } |
6,008 | retrieves the current pool configuration concode_field_sep ConcurrentHashMap<ObjectPoolMapKey,SbbObjectPoolImpl> pools concode_elem_sep Logger logger concode_elem_sep ServiceID serviceID concode_elem_sep SbbID sbbID concode_elem_sep SleeContainer sleeContainer concode_elem_sep GenericObjectPool.Config config concode_fi... | GenericObjectPool . Config function ( ) { return config ; } |
6,009 | adds the entityname into the cache . the key is a triple make with primarykey , revision and entity concode_field_sep Map<Triple<String,Number,Object>,Object> cache concode_elem_sep EnversMessageLogger LOG concode_elem_sep Map<Triple<Object,Number,Object>,String> entityNameCache concode_field_sep boolean containsEntity... | void function ( Object arg0 , Number arg1 , Object arg2 , String arg3 ) { LOG . debugf ( "srini_string" , arg0 , arg1 , arg2 . getClass ( ) . getName ( ) , arg3 ) ; entityNameCache . put ( make ( arg0 , arg1 , arg2 ) , arg3 ) ; } |
6,010 | record several details . concode_field_sep Map<String,Object> details concode_elem_sep Map<String,Object> content concode_field_sep Builder withDetail concode_elem_sep Info build concode_elem_sep int hashCode concode_elem_sep Object get concode_elem_sep T get concode_elem_sep boolean equals concode_elem_sep Map<String,... | Builder function ( Map < String , Object > arg0 ) { this . content . putAll ( arg0 ) ; return this ; } |
6,011 | sets the starting point of the transition , a float between 0.0 and 1.0 . defaults to 0.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_ele... | void function ( float arg0 ) { this . from = arg0 ; ea . add ( "srini_string" , arg0 ) ; } |
6,012 | check to see if there an another id left in the interation . concode_field_sep int offset concode_elem_sep Vector id_vector concode_field_sep org.osid.shared.Id nextId | boolean function ( ) { return ( offset < id_vector . size ( ) ) ; } |
6,013 | create a table if not exists , or alter a table if exists . concode_field_sep String DEFAULT_HIVE_TABLE_COMPARATOR_TYPE concode_elem_sep String HIVE_PARTITION_COMPARATOR_TYPE concode_elem_sep String DEFAULT_HIVE_PARTITION_COMPARATOR_TYPE concode_elem_sep ListeningExecutorService executor concode_elem_sep String HIVE_DB... | void function ( HiveTable arg0 ) { if ( ! createTableIfNotExists ( arg0 ) ) { alterTable ( arg0 ) ; } } |
6,014 | an opaque token indicating that more items than maxnumberofitems were matched , the response size exceeded 1 megabyte , or the execution time exceeded 5 seconds . concode_field_sep String nextToken concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<Item> items concode_field_sep java.util.List<Item> getIt... | String function ( ) { return nextToken ; } |
6,015 | get a particular tuple item concode_field_sep int TAG_OFFSET concode_elem_sep int NANOSECONDS_OFFSET concode_elem_sep byte STRING concode_elem_sep byte LIST concode_elem_sep Object[] mItems concode_elem_sep ByteBuffer mBuffer concode_elem_sep byte INT concode_elem_sep int THREAD_OFFSET concode_elem_sep int DATA_START c... | Object function ( int arg0 ) { return mItems [ arg0 ] ; } |
6,016 | check acl for folder . concode_field_sep List<ACLEntry> aclEntries concode_elem_sep String role concode_elem_sep boolean fileRename concode_elem_sep IConfiguration configuration concode_elem_sep boolean folderDelete concode_elem_sep boolean fileView concode_elem_sep int CKFINDER_CONNECTOR_ACL_FOLDER_DELETE concode_elem... | boolean function ( final String arg0 , final String arg1 , final String arg2 , final int arg3 ) { return ( ( checkACLForRole ( arg0 , arg1 , arg2 ) & arg3 ) == arg3 ) ; } |
6,017 | removes and returns the item at the specified index . concode_field_sep boolean ordered concode_elem_sep int size concode_elem_sep long[] items concode_field_sep void insert concode_elem_sep long pop concode_elem_sep long random concode_elem_sep boolean removeAll concode_elem_sep void truncate concode_elem_sep long get... | long function ( int arg0 ) { if ( arg0 >= size ) throw new IndexOutOfBoundsException ( String . valueOf ( arg0 ) ) ; long [ ] loc0 = this . items ; long loc1 = loc0 [ arg0 ] ; size -- ; if ( ordered ) System . arraycopy ( loc0 , arg0 + 1 , loc0 , arg0 , size - arg0 ) ; else loc0 [ arg0 ] = loc0 [ size ] ; return loc1 ;... |
6,018 | gets the index of the tab . concode_field_sep String removedTab concode_elem_sep List tabItems concode_elem_sep String newTabContent concode_elem_sep int index concode_elem_sep int tabIndex concode_elem_sep List tabs concode_elem_sep String newTabLabel concode_elem_sep String label concode_elem_sep PanelTabSet dynamicT... | int function ( ) { return index ; } |
6,019 | sets the module to which the input belongs . concode_field_sep SourceAst ast concode_elem_sep List<String> provides concode_elem_sep CodingConvention codingConvention concode_elem_sep JSModule module concode_elem_sep boolean generatedDependencyInfoFromSource concode_elem_sep long serialVersionUID concode_elem_sep boole... | void function ( JSModule arg0 ) { Preconditions . checkArgument ( arg0 == null || this . module == null || this . module == arg0 ) ; this . module = arg0 ; } |
6,020 | gets the error message . concode_field_sep String errorMessage concode_elem_sep AutodiscoverErrorCode errorCode concode_elem_sep String settingName concode_field_sep void setErrorMessage concode_elem_sep void loadFromXml concode_elem_sep AutodiscoverErrorCode getErrorCode concode_elem_sep void setSettingName concode_el... | String function ( ) { return errorMessage ; } |
6,021 | gets the current value of the auto increment concode_field_sep int _inc concode_elem_sep Logger LOGGER concode_elem_sep int _machine concode_elem_sep int _genmachine concode_elem_sep long serialVersionUID concode_elem_sep AtomicInteger _nextInc concode_elem_sep int _time concode_elem_sep boolean _new concode_field_sep ... | int function ( ) { return _nextInc . get ( ) ; } |
6,022 | password for proxy authentication concode_field_sep WeatherApi weatherApi concode_elem_sep String location concode_elem_sep String topLat concode_elem_sep String lon concode_elem_sep WeatherUnits units concode_elem_sep Integer proxyPort concode_elem_sep String proxyAuthPassword concode_elem_sep String period concode_el... | void function ( String arg0 ) { this . proxyAuthPassword = arg0 ; } |
6,023 | returns the dependencyresolutioncontext . concode_field_sep ClassNode classNode concode_elem_sep GroovyClassLoader loader concode_elem_sep DependencyResolutionContext dependencyResolutionContext concode_field_sep String getVersion concode_elem_sep String getVersion concode_elem_sep DependencyCustomizer ifAllMissingClas... | DependencyResolutionContext function ( ) { return this . dependencyResolutionContext ; } |
6,024 | update the resourcepolicy concode_field_sep ResourcePolicyDAO resourcePolicyDAO concode_elem_sep Logger log concode_elem_sep ContentServiceFactory contentServiceFactory concode_field_sep void removeDsoAndTypeNotEqualsToPolicies concode_elem_sep boolean isDateValid concode_elem_sep ResourcePolicy find concode_elem_sep L... | void function ( Context arg0 , ResourcePolicy arg1 ) { if ( arg1 . getdSpaceObject ( ) != null ) { contentServiceFactory . getDSpaceObjectService ( arg1 . getdSpaceObject ( ) ) . updateLastModified ( arg0 , arg1 . getdSpaceObject ( ) ) ; } resourcePolicyDAO . save ( arg0 , arg1 ) ; } |
6,025 | gets the exiftag with given tag id . return null if there is nosuch tag . concode_field_sep int mIfdId concode_elem_sep Map<Short,ExifTag> mExifTags concode_elem_sep int mOffsetToNextIfd concode_elem_sep int[] sIfds concode_field_sep void setOffsetToNextIfd concode_elem_sep int[] getIfds concode_elem_sep boolean checkC... | ExifTag function ( short arg0 ) { return mExifTags . get ( arg0 ) ; } |
6,026 | sets the value of the value property . concode_field_sep List<OccurrenceIdType> occurrences concode_elem_sep List<ClassType> classes concode_elem_sep List<ServiceUriType> serviceUriList concode_elem_sep List<ServiceUriSchemeType> serviceUriSchemeList concode_elem_sep List<Element> any concode_elem_sep String value conc... | void function ( String arg0 ) { this . value = arg0 ; } |
6,027 | returns an array of all files in the given directory matching . concode_field_sep PlaceHolder placeHolder concode_field_sep BufferedReader newBufferedReader concode_elem_sep void deleteSubDirectories concode_elem_sep Path[] toArray concode_elem_sep boolean exists concode_elem_sep Path append concode_elem_sep boolean is... | Path [ ] function ( Path arg0 , DirectoryStream . Filter < Path > arg1 ) { try ( DirectoryStream < Path > loc0 = Files . newDirectoryStream ( arg0 , arg1 ) ) { return toArray ( loc0 ) ; } } |
6,028 | get the red hat management key concode_field_sep String REDHAT_KEY concode_elem_sep String SET_KS_META concode_elem_sep String DEPTH concode_elem_sep String UID concode_elem_sep String INHERIT_KEY concode_elem_sep String MTIME concode_elem_sep String PARENT concode_elem_sep String MGMT_CLASSES concode_elem_sep String h... | String function ( ) { return ( String ) dataMap . get ( REDHAT_KEY ) ; } |
6,029 | builds simple type closing tag . concode_field_sep String TIMESTAMP concode_elem_sep String YEAR concode_elem_sep Map attributeMap concode_elem_sep String MONTH concode_elem_sep String DD_MAP_EXCLUSIVE_MIN_KEY concode_elem_sep String FLOATING_POINT concode_elem_sep String attributeKey concode_elem_sep String DD_MAP_VAL... | String function ( ) { return String . format ( "srini_string" , XSD_SCHEMA_PREFIX ) ; } |
6,030 | this is always called after #setseed long . concode_field_sep PlaceHolder placeHolder concode_field_sep void process concode_elem_sep void setSeed | void function ( ) { } |
6,031 | returns the value of the portalpos attribute . concode_field_sep long m_pointer concode_field_sep boolean isAtStart concode_elem_sep int move concode_elem_sep String getName concode_elem_sep boolean isValid concode_elem_sep boolean isPosOverflow concode_elem_sep boolean isAtEnd concode_elem_sep TupleDesc getTupleDesc c... | int function ( ) { synchronized ( Backend . THREADLOCK ) { return _getPortalPos ( m_pointer ) ; } } |
6,032 | a no-op concode_field_sep DefaultOutputPort<Boolean> mergedport concode_elem_sep boolean result concode_field_sep void beginWindow concode_elem_sep void process concode_elem_sep void endWindow concode_elem_sep void teardown | void function ( OperatorContext arg0 ) { } |
6,033 | folds right the specified sequence of elements with the specified function and initial value . concode_field_sep PlaceHolder placeHolder concode_field_sep Function<Iterator<A>,Iterator<A>> filter concode_elem_sep Iterator<A> filter concode_elem_sep Iterator<A> filter concode_elem_sep Function<Iterator<? extends A>,Iter... | B function ( Function2 < ? super A , ? super B , B > arg0 , B arg1 , List < ? extends A > arg2 ) { return foldr ( arg0 , arg1 , arg2 . listIterator ( arg2 . size ( ) ) ) ; } |
6,034 | returns the radius of the node 's ball . concode_field_sep int m_End concode_elem_sep BallNode m_Right concode_elem_sep double m_Radius concode_elem_sep long serialVersionUID concode_elem_sep int m_NodeNumber concode_elem_sep int m_Start concode_elem_sep double m_SplitVal concode_elem_sep Instance m_Pivot concode_elem_... | double function ( ) { return m_Radius ; } |
6,035 | only used for tcp and if textline = true . sets the text line delimiter to use . if none provided , camel will use default . this delimiter is used to mark the end of text . concode_field_sep boolean disconnect concode_elem_sep int maximumPoolSize concode_elem_sep SSLContextParameters sslContextParameters concode_elem_... | void function ( Mina2TextLineDelimiter arg0 ) { this . textlineDelimiter = arg0 ; } |
6,036 | encodes a string to be a valid query , which means it can contain pchar | '' ? '' | '' / '' without '' = '' | '' & '' | '' + '' . uses utf-8 . concode_field_sep BitSet GEN_DELIMS concode_elem_sep BitSet DIGIT concode_elem_sep BitSet RESERVED concode_elem_sep BitSet QUERY concode_elem_sep BitSet ALPHA concode_elem_sep B... | String function ( final String arg0 ) { try { return encodePart ( arg0 , "srini_string" , QUERY ) ; } catch ( final UnsupportedEncodingException loc0 ) { throw new RuntimeException ( loc0 ) ; } } |
6,037 | makes possible for activities entering busy state again . concode_field_sep GridSpinReadWriteLock lock concode_field_sep boolean enterBusy concode_elem_sep boolean blockedByCurrentThread concode_elem_sep void block concode_elem_sep void leaveBusy concode_elem_sep boolean tryBlock | void function ( ) { lock . writeUnlock ( ) ; } |
6,038 | set the radios volume in percent concode_field_sep String REQUEST_GET_MODE concode_elem_sep FrontierSiliconRadioConnection conn concode_elem_sep String REQUEST_SET_MUTE concode_elem_sep String REQUEST_GET_VOLUME concode_elem_sep String REQUEST_GET_PLAY_INFO_TEXT concode_elem_sep String REQUEST_GET_MUTE concode_elem_sep... | void function ( int arg0 ) { final int loc0 = ( arg0 * 32 ) / 100 ; final String loc1 = "srini_string" + loc0 ; conn . doRequest ( REQUEST_SET_VOLUME , loc1 ) ; currentVolume = arg0 ; } |
6,039 | returns an index for which #valueat would return thespecified key , or a negative number if no keys map to the specified value . beware that this is a linear search , unlike lookups by key , and that multiple keys can map to the same value and this will find only one of them . concode_field_sep int[] mKeys concode_elem... | int function ( long arg0 ) { for ( int loc0 = 0 ; loc0 < mSize ; loc0 ++ ) if ( mValues [ loc0 ] == arg0 ) return loc0 ; return - 1 ; } |
6,040 | interface to access operations by integer value for command-line convenience . concode_field_sep Op op concode_elem_sep int field concode_elem_sep long serialVersionUID concode_elem_sep Field operand concode_field_sep boolean filter concode_elem_sep Field getOperand concode_elem_sep int getField concode_elem_sep String... | Op function ( int arg0 ) { return values ( ) [ arg0 ] ; } |
6,041 | gets the value of the nilreason 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 nilreason property . for example , to add a new item , d... | List < String > function ( ) { if ( nilReason == null ) { nilReason = new ArrayList < String > ( ) ; } return this . nilReason ; } |
6,042 | each timezonewrapper has one or more ids of components in the ui that correspond to its time zone . by this , if an event comes from a component in the web page , then this will return the relevant timezonewrapper . concode_field_sep DateFormat selectedFormat concode_elem_sep ArrayList checkedTimeZoneList concode_elem_... | TimeZoneWrapper function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < allTimeZoneList . size ( ) ; loc0 ++ ) { TimeZoneWrapper loc1 = ( TimeZoneWrapper ) allTimeZoneList . get ( loc0 ) ; if ( loc1 . isRelevantComponentId ( arg0 ) ) { return loc1 ; } } return null ; } |
6,043 | date on which the identity was last modified . concode_field_sep Integer datasetCount concode_elem_sep java.util.Date lastModifiedDate concode_elem_sep String identityId concode_elem_sep Long dataStorage concode_elem_sep String identityPoolId concode_field_sep String getIdentityId concode_elem_sep IdentityUsage withIde... | java . util . Date function ( ) { return this . lastModifiedDate ; } |
6,044 | set the delay between refresh checks , in milliseconds . default is -1 , indicating no refresh checks at all . note that an actual refresh will only happen when #requiresrefresh returns true . concode_field_sep long lastRefreshTime concode_elem_sep long refreshCount concode_elem_sep Object targetObject concode_elem_sep... | void function ( long arg0 ) { this . refreshCheckDelay = arg0 ; } |
6,045 | the format for the exported image . concode_field_sep String diskImageFormat concode_elem_sep String containerFormat concode_elem_sep String s3Prefix concode_elem_sep String s3Bucket concode_field_sep String getContainerFormat concode_elem_sep ExportToS3TaskSpecification withS3Bucket concode_elem_sep ExportToS3TaskSpec... | void function ( DiskImageFormat arg0 ) { this . diskImageFormat = arg0 . toString ( ) ; } |
6,046 | sort contacts by identifier . concode_field_sep Contact[] backend concode_elem_sep Storage instance concode_elem_sep String TEMPLATE_SORT concode_field_sep List<Contact> getSortedByPhone concode_elem_sep boolean saveContact concode_elem_sep String toNumeric concode_elem_sep boolean removeContact concode_elem_sep boolea... | List < Contact > function ( ) { return Arrays . asList ( backend ) ; } |
6,047 | set the value of left . concode_field_sep R right concode_elem_sep L left concode_field_sep R getRight concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setRight concode_elem_sep L getLeft | void function ( L arg0 ) { this . left = arg0 ; } |
6,048 | called the user has pulled on the scrollable view . concode_field_sep PlaceHolder placeHolder concode_field_sep void onReleaseToRefresh concode_elem_sep void onReset concode_elem_sep boolean showHeaderView concode_elem_sep boolean hideHeaderView concode_elem_sep void onConfigurationChanged concode_elem_sep void onRefre... | void function ( float arg0 ) { } |
6,049 | the prefix that should be applied to the role names concode_field_sep String passwordAttributeName concode_elem_sep boolean convertToUpperCase concode_elem_sep String[] roleAttributes concode_elem_sep String rolePrefix concode_elem_sep Log logger concode_field_sep void setRoleAttributes concode_elem_sep UserDetails map... | void function ( String arg0 ) { this . rolePrefix = arg0 ; } |
6,050 | sets the named character represented by this instance . concode_field_sep NamedCharacter character concode_elem_sep double widthY concode_elem_sep RectangularShape bBox concode_elem_sep double widthX concode_elem_sep int charCode concode_field_sep boolean hasCharCode concode_elem_sep String getUnicodeSequence concode_e... | void function ( NamedCharacter arg0 ) { this . character = arg0 ; } |
6,051 | create a contextresolver context resolver for a current state of this moxyjsonconfig . concode_field_sep Map<String,Object> marshallerProperties concode_elem_sep Map<String,Object> unmarshallerProperties concode_field_sep MoxyJsonConfig setNamespacePrefixMapper concode_elem_sep MoxyJsonConfig setFormattedOutput concode... | ContextResolver < MoxyJsonConfig > function ( ) { return new ContextResolver < MoxyJsonConfig > ( ) { private final MoxyJsonConfig config = new MoxyJsonConfig ( MoxyJsonConfig . this ) ; @ Override public MoxyJsonConfig getContext ( final Class < ? > arg0 ) { return config ; } } ; } |
6,052 | make date . concode_field_sep long millis concode_field_sep String iso concode_elem_sep Date parse | long function ( ) { return this . millis ; } |
6,053 | converts android bitmap to opencv mat . this function converts an android bitmap image to the opencv mat . ` argb_8888 ' and ` rgb_565 ' input bitmap formats are supported . the output mat is always created of the same size as the input bitmap and of the ` cv_8uc4 ' type , it keeps the image in rgba format . this funct... | void function ( Bitmap arg0 , Mat arg1 , boolean arg2 ) { if ( arg0 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; if ( arg1 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; nBitmapToMat2 ( arg0 , arg1 . nativeObj , arg2 ) ; } |
6,054 | returns the number of user tracker paths . concode_field_sep UserTrackerPathLocalService _userTrackerPathLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery co... | int function ( ) { return _userTrackerPathLocalService . getUserTrackerPathsCount ( ) ; } |
6,055 | returns true if two possibly-null objects are equal . concode_field_sep byte[] EMPTY_BYTE_ARRAY concode_elem_sep Pattern VERIFY_AS_IP_ADDRESS concode_elem_sep Charset UTF_16_BE concode_elem_sep Charset UTF_32_BE concode_elem_sep Charset UTF_8 concode_elem_sep String[] EMPTY_STRING_ARRAY concode_elem_sep ByteString UTF_... | boolean function ( Object arg0 , Object arg1 ) { return arg0 == arg1 || ( arg0 != null && arg0 . equals ( arg1 ) ) ; } |
6,056 | method to remove any tags the user may have put in the passed string an example of a troublesome tag would be a closing div tag as a nickname concode_field_sep String color concode_elem_sep String DEFAULT_NICK concode_elem_sep String buttonImage concode_elem_sep Log log concode_elem_sep boolean minimized concode_elem_s... | String function ( String arg0 ) { arg0 = arg0 . replaceAll ( "srini_string" , "srini_string" ) ; arg0 = arg0 . replaceAll ( "srini_string" , "srini_string" ) ; arg0 = arg0 . replaceAll ( "srini_string" , "srini_string" ) ; return ( arg0 ) ; } |
6,057 | implements the hash method . concode_field_sep int value concode_field_sep int intValue concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep int compareTo | int function ( int arg0 ) { if ( value < 0 ) return - value % arg0 ; else return value % arg0 ; } |
6,058 | tests the supplied object to see if it is not a type of the supplied class . concode_field_sep PlaceHolder placeHolder concode_field_sep E isNotNull concode_elem_sep long checkNotNegative concode_elem_sep int checkNotNegative concode_elem_sep int checkAsyncBackupCount concode_elem_sep void checkFalse concode_elem_sep l... | E function ( Class arg0 , E arg1 , String arg2 ) { isNotNull ( arg0 , "srini_string" ) ; if ( arg0 . isInstance ( arg1 ) ) { throw new IllegalArgumentException ( arg2 ) ; } return arg1 ; } |
6,059 | get failed . concode_field_sep AtomicInteger failed concode_elem_sep AtomicLong totalElapsed concode_elem_sep AtomicInteger active concode_elem_sep AtomicLong succeededMaxElapsed concode_elem_sep ConcurrentMap<String,RpcStatus> SERVICE_STATISTICS concode_elem_sep ConcurrentMap<String,ConcurrentMap<String,RpcStatus>> ME... | int function ( ) { return failed . get ( ) ; } |
6,060 | sets the name of the asterisk server from which this response has been received . concode_field_sep String server concode_elem_sep String eventList concode_elem_sep Date dateReceived concode_elem_sep String response concode_elem_sep String actionId concode_elem_sep Map<String,Object> attributes concode_elem_sep long se... | void function ( String arg0 ) { this . server = arg0 ; } |
6,061 | returns the week before date . concode_field_sep Calendar CALENDAR concode_field_sep long nextWeek concode_elem_sep long incrementMonth concode_elem_sep boolean isFirstOfYear concode_elem_sep long getEndOfMonth concode_elem_sep long endOfDayInMillis concode_elem_sep int getDaysDiff concode_elem_sep int getDaysDiff conc... | long function ( long arg0 ) { return addDays ( arg0 , - 7 ) ; } |
6,062 | start time measurement . concode_field_sep long _prev concode_elem_sep long _total concode_elem_sep Map<String,Entry> _data concode_elem_sep long _nCalls concode_elem_sep int _nStart concode_field_sep void add concode_elem_sep void take concode_elem_sep void print concode_elem_sep String print concode_elem_sep void res... | void function ( ) { _prev = System . currentTimeMillis ( ) ; _nStart ++ ; } |
6,063 | remove fedora object from low-level store concode_field_sep FileSystem fileSystem concode_elem_sep PathAlgorithm pathAlgorithm concode_elem_sep PathRegistry pathRegistry concode_field_sep void rebuild concode_elem_sep long add concode_elem_sep long getSize concode_elem_sep void audit concode_elem_sep long replace conco... | void function ( String arg0 ) { File loc0 = getFile ( arg0 ) ; pathRegistry . remove ( arg0 ) ; fileSystem . delete ( loc0 ) ; } |
6,064 | create a new file object from two file paths . concode_field_sep String LOG_TAG concode_field_sep boolean testSaveLocationExists concode_elem_sep long getFreeExternalStorageSpace concode_elem_sep boolean testFileExists concode_elem_sep long getFreeSpaceInBytes | File function ( String arg0 , String arg1 ) { File loc0 ; if ( arg1 . startsWith ( arg0 ) ) { loc0 = new File ( arg1 ) ; } else { loc0 = new File ( arg0 + "srini_string" + arg1 ) ; } return loc0 ; } |
6,065 | guesses the content type based on the provided bytes . concode_field_sep int GUESS_HEADER_LENGTH concode_field_sep XContentBuilder contentBuilder concode_elem_sep XContentBuilder contentBuilder concode_elem_sep XContentBuilder cborBuilder concode_elem_sep XContentBuilder cborBuilder concode_elem_sep XContentType xConte... | XContent function ( byte [ ] arg0 ) { return xContent ( arg0 , 0 , arg0 . length ) ; } |
6,066 | get the authenticated session user concode_field_sep Log M_log concode_field_sep void init concode_elem_sep boolean hasAdvisors concode_elem_sep boolean unlock concode_elem_sep boolean unlock concode_elem_sep boolean unlock concode_elem_sep SecurityAdvisor popAdvisor concode_elem_sep UserDirectoryService userDirectoryS... | User function ( User arg0 ) { if ( arg0 != null ) return arg0 ; return userDirectoryService ( ) . getCurrentUser ( ) ; } |
6,067 | info log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setL... | void function ( String arg0 , String arg1 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 ) ; } |
6,068 | convert a long integer to a byte array . if the resulting array contains less bytes than 8 bytes , 0 bytes are prepended if the flag is set . concode_field_sep PlaceHolder placeHolder concode_field_sep byte numBitsToMask | byte [ ] function ( long arg0 , boolean arg1 ) { return toByteArray ( arg0 , arg1 , true ) ; } |
6,069 | returns an environmentdescription list . concode_field_sep com.amazonaws.internal.SdkInternalList<EnvironmentDescription> environments concode_field_sep ComposeEnvironmentsResult withEnvironments concode_elem_sep ComposeEnvironmentsResult withEnvironments concode_elem_sep void setEnvironments concode_elem_sep int hashC... | java . util . List < EnvironmentDescription > function ( ) { if ( environments == null ) { environments = new com . amazonaws . internal . SdkInternalList < EnvironmentDescription > ( ) ; } return environments ; } |
6,070 | sets the gradient start value and color . concode_field_sep boolean mGradientEnabled concode_elem_sep float mChartValuesTextSize concode_elem_sep BasicStroke mStroke concode_elem_sep boolean mDisplayChartValues concode_elem_sep int mGradientStopColor concode_elem_sep int mColor concode_elem_sep double mGradientStartVal... | void function ( double arg0 , int arg1 ) { mGradientStartValue = arg0 ; mGradientStartColor = arg1 ; } |
6,071 | returns a string suitable for use as a key in solrexception #setmetadata concode_field_sep String META_PRE concode_elem_sep String id concode_elem_sep int META_PRE_LEN concode_elem_sep CmdType type concode_elem_sep String message concode_field_sep List<SimpleOrderedMap<String>> formatForResponseHeader concode_elem_sep ... | String function ( ) { return META_PRE + type + "srini_string" + id ; } |
6,072 | return the genewithspec for the first gene with the given name , if any todo : as the same gene could appear multiple times in a spec this should return a set of genewithspec ; for now return the 1st concode_field_sep ArrayList<GeneSet> GeneSets concode_field_sep void add concode_elem_sep OncoPrintGeneDisplaySpec getUn... | GeneWithSpec function ( String arg0 ) { for ( GeneSet loc0 : this . GeneSets ) { GeneWithSpec loc1 = loc0 . getGeneWithSpec ( arg0 ) ; if ( null != loc1 ) { return loc1 ; } } return null ; } |
6,073 | returns the current package name from the context stack . concode_field_sep List<Object> contextStack concode_elem_sep Multimap<String,String> imports concode_elem_sep Map<String,Type> protoTypeNames concode_elem_sep ImmutableList<ProtoFile> protoFiles concode_elem_sep List<String> errors concode_field_sep Field derefe... | String function ( ) { for ( Object loc0 : contextStack ) { if ( loc0 instanceof ProtoFile ) return ( ( ProtoFile ) loc0 ) . packageName ( ) ; } return null ; } |
6,074 | estimates the remaining time of this task . concode_field_sep Collection<String> _messagePasser concode_elem_sep Class<? extends EOEnterpriseObject> _entityClass concode_elem_sep EOQualifier _qualifier concode_elem_sep Long _startTime concode_elem_sep int _rowCurrentlyBeingProcessed concode_elem_sep Long _endTime conco... | Long function ( ) { return ( totalNumberOfRowsToProcess ( ) - rowCurrentlyBeingProcessed ( ) ) * averageTimePerRun ( ) ; } |
6,075 | notifies this calllistener about a specific callevent . executes in whichever thread brought the event to this listener . delivers the event to the awt event dispatching thread . concode_field_sep PlaceHolder placeHolder concode_field_sep void outgoingCallCreated concode_elem_sep void callEndedInEventDispatchThread con... | void function ( final CallEvent arg0 ) { if ( SwingUtilities . isEventDispatchThread ( ) ) onCallEventInEventDispatchThread ( arg0 ) ; else { SwingUtilities . invokeLater ( new Runnable ( ) { public void run ( ) { onCallEventInEventDispatchThread ( arg0 ) ; } } ) ; } } |
6,076 | sets the log writer for this managedconnection instance . concode_field_sep Logger log concode_elem_sep AnnoManagedConnectionFactory1 mcf concode_elem_sep List<ConnectionEventListener> listeners concode_elem_sep AnnoConnectionImpl1 connection concode_elem_sep PrintWriter logwriter concode_field_sep void associateConnec... | void function ( PrintWriter arg0 ) { log . finest ( "srini_string" ) ; logwriter = arg0 ; } |
6,077 | removes all the entries added into options . < p > returns a reference to this object so that method calls can be chained together . concode_field_sep String logDriver concode_elem_sep java.util.Map<String,String> options concode_field_sep LogConfiguration withOptions concode_elem_sep String getLogDriver concode_elem_s... | LogConfiguration function ( ) { this . options = null ; return this ; } |
6,078 | returns , if the net with name p_net_name contains a powwer plane . concode_field_sep Layer[] arr concode_field_sep int get_no concode_elem_sep int signal_layer_count | boolean function ( String arg0 ) { for ( Layer loc0 : arr ) { if ( ! loc0 . is_signal ) { if ( loc0 . net_names . contains ( arg0 ) ) { return true ; } } } return false ; } |
6,079 | set the default merge setting for the document that 's currently parsed . concode_field_sep String autowireCandidates concode_elem_sep String initMethod concode_elem_sep String lazyInit concode_elem_sep String autowire concode_elem_sep String merge concode_elem_sep String destroyMethod concode_elem_sep Object source co... | void function ( String arg0 ) { this . merge = arg0 ; } |
6,080 | sets the value of the stats property . concode_field_sep Integer viewthroughLookbackWindow concode_elem_sep Integer productAdsChargeableConversionWindow concode_elem_sep String conversionTrackerType concode_elem_sep Long originalConversionTypeId concode_elem_sep String defaultRevenueCurrencyCode concode_elem_sep Conver... | void function ( ConversionTrackerStats arg0 ) { this . stats = arg0 ; } |
6,081 | make a new label with this string as the `` name '' . concode_field_sep PlaceHolder placeHolder concode_field_sep Label newLabelFromString | Label function ( String arg0 ) { return new CategoryWordTag ( arg0 ) ; } |
6,082 | the connection associated with @param socket is permanently finished . concode_field_sep ThriftSessionManager instance concode_elem_sep ThreadLocal<SocketAddress> remoteSocket concode_elem_sep Map<SocketAddress,ThriftClientState> activeSocketSessions concode_elem_sep Logger logger concode_field_sep ThriftClientState cu... | void function ( SocketAddress arg0 ) { assert arg0 != null ; activeSocketSessions . remove ( arg0 ) ; if ( logger . isTraceEnabled ( ) ) logger . trace ( "srini_string" , arg0 ) ; } |
6,083 | returns the resolved generic type of field . concode_field_sep Class<? super T> rawType concode_elem_sep int hashCode concode_elem_sep Type type concode_field_sep Class<? super T> getRawType concode_elem_sep Type resolveType concode_elem_sep TypeLiteral<?> resolve concode_elem_sep List<TypeLiteral<?>> getParameterTypes... | TypeLiteral < ? > function ( Field arg0 ) { checkArgument ( arg0 . getDeclaringClass ( ) . isAssignableFrom ( rawType ) , "srini_string" , arg0 , type ) ; return resolve ( arg0 . getGenericType ( ) ) ; } |
6,084 | sets user information in form of json data . concode_field_sep String sessionId concode_elem_sep JSONObject user concode_field_sep void setSessionId concode_elem_sep JSONObject getUser concode_elem_sep String getSessionId | void function ( final JSONObject arg0 ) { this . user = arg0 ; } |
6,085 | takes and rotates the it 90 degrees concode_field_sep PlaceHolder placeHolder concode_field_sep BitMatrix encode concode_elem_sep BitMatrix encode concode_elem_sep BitMatrix bitMatrixFromEncoder concode_elem_sep BitMatrix bitMatrixFrombitArray | byte [ ] [ ] function ( byte [ ] [ ] arg0 ) { byte [ ] [ ] loc0 = new byte [ arg0 [ 0 ] . length ] [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { int loc2 = arg0 . length - loc1 - 1 ; for ( int loc3 = 0 ; loc3 < arg0 [ 0 ] . length ; loc3 ++ ) { loc0 [ loc3 ] [ loc2 ] = arg0 [ loc1 ] [ loc3... |
6,086 | returns the number of rows matching the dynamic query . concode_field_sep AnnouncementsDeliveryLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep com.liferay.announcements.... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . dynamicQueryCount ( arg0 ) ; } |
6,087 | read an int from a line containing its decimal representation . concode_field_sep Charset charset concode_elem_sep byte[] buf concode_elem_sep InputStream in concode_elem_sep int pos concode_elem_sep byte LF concode_elem_sep byte CR concode_elem_sep int end concode_field_sep String readLine concode_elem_sep void fillBu... | int function ( ) { String loc0 = readLine ( ) ; try { return Integer . parseInt ( loc0 ) ; } catch ( NumberFormatException loc1 ) { throw new IOException ( "srini_string" = "srini_string" ) ; } } |
6,088 | repeatedly construct objectoutputstream and objectinputstream objects . arguments : concode_field_sep PlaceHolder placeHolder concode_field_sep void doReps | long function ( String [ ] arg0 ) { int loc0 = Integer . parseInt ( arg0 [ 0 ] ) ; Dummy loc1 = new Dummy ( ) ; StreamBuffer loc2 = new StreamBuffer ( ) ; doReps ( loc2 , loc1 , 1 ) ; long loc3 = System . currentTimeMillis ( ) ; doReps ( loc2 , loc1 , loc0 ) ; return System . currentTimeMillis ( ) - loc3 ; } |
6,089 | returns this vector minus c concode_field_sep double x concode_elem_sep double y concode_field_sep Vector2 unit concode_elem_sep Vector2 set concode_elem_sep Vector2 mult concode_elem_sep Vector2 mult concode_elem_sep Vector2 shortenLength concode_elem_sep double length | Vector2 function ( Double arg0 ) { Vector2 loc0 = new Vector2 ( this . x - arg0 , this . y - arg0 ) ; return loc0 ; } |
6,090 | produces list of directive objects concode_field_sep Directives KTEXT concode_elem_sep Directives SET concode_elem_sep Directives HALF concode_elem_sep String description concode_elem_sep Directives INCLUDE concode_elem_sep String descriptor concode_elem_sep ArrayList directiveList concode_elem_sep Directives DOUBLE co... | ArrayList function ( ) { return directiveList ; } |
6,091 | returns the argument array stored at the given index . may be empty , but not null . concode_field_sep List<String> methods concode_elem_sep List<Object[]> argLists concode_field_sep void add concode_elem_sep int size concode_elem_sep void clear concode_elem_sep String getMethod concode_elem_sep String getMethod | Object [ ] function ( int arg0 ) { return argLists . get ( arg0 ) ; } |
6,092 | information about incompatible devices . concode_field_sep java.util.List<DevicePoolCompatibilityResult> compatibleDevices concode_elem_sep java.util.List<DevicePoolCompatibilityResult> incompatibleDevices concode_field_sep GetDevicePoolCompatibilityResult withCompatibleDevices concode_elem_sep GetDevicePoolCompatibili... | void function ( java . util . Collection < DevicePoolCompatibilityResult > arg0 ) { if ( arg0 == null ) { this . incompatibleDevices = null ; return ; } this . incompatibleDevices = new java . util . ArrayList < DevicePoolCompatibilityResult > ( arg0 ) ; } |
6,093 | test if the http protocol version is equal to the given number . concode_field_sep HttpVersion HTTP_1_1 concode_elem_sep HttpVersion HTTP_0_9 concode_elem_sep HttpVersion HTTP_1_0 concode_elem_sep int major concode_elem_sep int minor concode_field_sep int getMinor concode_elem_sep boolean lessEquals concode_elem_sep in... | boolean function ( HttpVersion arg0 ) { return compareTo ( arg0 ) == 0 ; } |
6,094 | generate suite file name \ '' randomuid - testsutie.xml \ '' concode_field_sep Logger LOGGER concode_field_sep String generateAttachmentName concode_elem_sep Label createFeatureLabel concode_elem_sep Label createStoryId concode_elem_sep Label createHostLabel concode_elem_sep Marshaller createMarshallerForClass concode_... | String function ( ) { return String . format ( "srini_string" , UUID . randomUUID ( ) . toString ( ) , TEST_SUITE_FILE_SUFFIX ) ; } |
6,095 | determines how the method is exported in javascript : method_type_remote for regular methods method_type_remote_async for methods that return a promise object to the caller . concode_field_sep ArgumentExtractor<ReadableNativeArray> ARGUMENT_EXTRACTOR_ARRAY concode_elem_sep ArgumentExtractor<Promise> ARGUMENT_EXTRACTOR_... | String function ( ) { return mType ; } |
6,096 | based on the message type that has just been received return the associated token from the token store or null if one does not exist . concode_field_sep String className concode_elem_sep MqttException closedResponse concode_elem_sep Hashtable tokens concode_elem_sep String logContext concode_elem_sep Logger log concode... | MqttToken function ( MqttWireMessage arg0 ) { String loc0 = arg0 . getKey ( ) ; return ( MqttToken ) tokens . get ( loc0 ) ; } |
6,097 | setter method for reportformat concode_field_sep int sourceID concode_elem_sep String endDate concode_elem_sep String reportFormat concode_elem_sep int subCategoryID concode_elem_sep int classificationID concode_elem_sep int ticketStatusID concode_elem_sep String caseType concode_elem_sep int ticketNO concode_elem_sep ... | void function ( String arg0 ) { this . reportFormat = arg0 ; } |
6,098 | sets the value of the enable property . concode_field_sep boolean enable concode_elem_sep ManagedObjectReference _this concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep boolean isEnable | void function ( boolean arg0 ) { this . enable = arg0 ; } |
6,099 | invalidates the layout , indicating that if the layout manager has cached information it should be discarded . concode_field_sep int m_spaceH concode_elem_sep int m_spaceV concode_elem_sep boolean m_colFill concode_elem_sep ALayoutCollection m_data concode_field_sep Dimension preferredLayoutSize concode_elem_sep void r... | void function ( Container arg0 ) { } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.