idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
12,200 | adds the value of x to this object 's integer value . concode_field_sep int value concode_field_sep int getValue concode_elem_sep void dec concode_elem_sep void setValue concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep void inc | void function ( int arg0 ) { value += arg0 ; } |
12,201 | returns the number of minpoints concode_field_sep double epsilon concode_elem_sep String database_distanceType concode_elem_sep int numberOfAttributes concode_elem_sep long serialVersionUID concode_elem_sep int minPoints concode_elem_sep int databaseSize concode_elem_sep FastVector resultVector concode_elem_sep boolean... | int function ( ) { return minPoints ; } |
12,202 | this method does an actual decode . it takes the decoded bytes and writes them to the outputstream . the integer l tells the method how many bytes are required . this is always < = bytesperatom . concode_field_sep PlaceHolder placeHolder concode_field_sep void decodeBufferPrefix concode_elem_sep ByteBuffer decodeBuffer... | void function ( PushbackInputStream arg0 , OutputStream arg1 , int arg2 ) { throw new CEStreamExhausted ( ) ; } |
12,203 | gets the long mapped from the specified key , or the specified value if no such mapping has been made . concode_field_sep long[] mKeys concode_elem_sep int mSize concode_elem_sep long[] mValues concode_field_sep long keyAt concode_elem_sep int size concode_elem_sep int indexOfKey concode_elem_sep void clear concode_ele... | long function ( long arg0 , long arg1 ) { int loc0 = ContainerHelpers . binarySearch ( mKeys , mSize , arg0 ) ; if ( loc0 < 0 ) { return arg1 ; } else { return mValues [ loc0 ] ; } } |
12,204 | encode characters outside the unreserved character set as defined in rfc 3986 section 2 . this can be used to ensure the given string will not contain any characters with reserved uri meaning regardless of uri component . concode_field_sep String LAST_PATTERN concode_elem_sep String QUERY_PATTERN concode_elem_sep Patte... | String function ( String arg0 , String arg1 ) { HierarchicalUriComponents . Type loc0 = HierarchicalUriComponents . Type . URI ; return HierarchicalUriComponents . encodeUriComponent ( arg0 , arg1 , loc0 ) ; } |
12,205 | configure if using a jta datasource , i.e. if localcontainerentitymanagerfactorybean #setdatasource datasource setdatasource or localcontainerentitymanagerfactorybean #setjtadatasource datasource setjtadatasource should be called on the localcontainerentitymanagerfactorybean . concode_field_sep PersistenceUnitManager p... | Builder function ( boolean arg0 ) { this . jta = arg0 ; return this ; } |
12,206 | creates a new spriteanimated from the given parameters on the spritesheet . the width and height are defaulted to 1 . values for the parameters are not in pixels , rather they are in sprites the animation goes first from left to right , then goes down a row , if either are applicable . concode_field_sep int sHeight con... | SpriteAnimated function ( int arg0 , int arg1 , int arg2 , int arg3 , int arg4 ) { return this . getAnimated ( arg0 , arg1 , arg2 , arg3 , arg4 , 1 , 1 ) ; } |
12,207 | this method is invoked by the jaxb implementation on each instance when unmarshalling completes . concode_field_sep Object parent concode_elem_sep Boolean auto concode_elem_sep Long indexed concode_elem_sep Long theme concode_elem_sep byte[] rgb concode_elem_sep Double tint concode_field_sep Long getTheme concode_elem_... | void function ( Unmarshaller arg0 , Object arg1 ) { setParent ( arg1 ) ; } |
12,208 | gets the value of the viewlevel property . concode_field_sep IdentificationType identification concode_elem_sep String viewLevel concode_elem_sep String mobileNumber concode_elem_sep String channel concode_elem_sep long serialVersionUID concode_elem_sep String eventType concode_elem_sep XMLGregorianCalendar accessDateT... | String function ( ) { return viewLevel ; } |
12,209 | indicates that at least this or one of the child instances of abstracttext is selected . concode_field_sep boolean highlight concode_elem_sep boolean hasHighlight concode_elem_sep Rectangle2D.Float bounds concode_elem_sep boolean selected concode_elem_sep boolean hasSelected concode_field_sep boolean isHighlighted conc... | boolean function ( ) { return hasSelected ; } |
12,210 | returns the singleton instance of this validator . concode_field_sep long serialVersionUID concode_elem_sep InetAddressValidator VALIDATOR concode_elem_sep String IPV4_REGEX concode_elem_sep RegexValidator ipv4Validator concode_field_sep boolean isValid concode_elem_sep boolean isValidInet4Address concode_elem_sep bool... | InetAddressValidator function ( ) { return VALIDATOR ; } |
12,211 | returns callback url for this token applicable just to request tokens concode_field_sep ConcurrentHashMap<String,Token> accessTokenByTokenString concode_elem_sep String owner concode_elem_sep ConcurrentHashMap<String,Consumer> consumerByConsumerKey concode_elem_sep Set<String> roles concode_elem_sep String secret conco... | String function ( ) { return callbackUrl ; } |
12,212 | set or change the object that is to be edited . primitive types such as `` int '' must be wrapped as the corresponding object type such as `` java.lang.integer '' . concode_field_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep StagingMode value concode_field_sep String getJavaInitializationString conco... | void function ( final Object arg0 ) { final Object loc0 = this . value ; if ( StagingMode . MEMORY . equals ( arg0 ) || StagingMode . TMPFILE . equals ( arg0 ) || StagingMode . THRU . equals ( arg0 ) ) { this . value = ( StagingMode ) arg0 ; } else { this . value = null ; } propertyChangeSupport . firePropertyChange ( ... |
12,213 | get the name of the main module for the given compilation unit file name . concode_field_sep String QNAME_DELIMITER concode_elem_sep IStatus invalidCUFileNameStatus concode_elem_sep String ADJACENT_DELIMITERS_ERROR concode_field_sep IStatus validateIdentifier concode_elem_sep String[] getQualifiedNameSegments concode_e... | String function ( String arg0 ) { int loc0 = arg0 . lastIndexOf ( MDAConstants . QVTO_FILE_EXTENSION_WITH_DOT ) ; if ( loc0 > 0 ) { return arg0 . substring ( 0 , loc0 ) ; } return "srini_string" ; } |
12,214 | setter and getter of basic information concode_field_sep int emptySeatFromHome concode_elem_sep String address concode_elem_sep ArrayList<User> riderListSchool concode_elem_sep ArrayList<String> departFromSchool concode_elem_sep String fullName concode_elem_sep User driverFromHome concode_elem_sep int emptySeatFromScho... | String function ( ) { return this . username ; } |
12,215 | calculates the greatest common divisor of two numbers concode_field_sep PlaceHolder placeHolder concode_field_sep int lcm concode_elem_sep int lcm | int function ( int arg0 , int arg1 ) { if ( arg0 % arg1 == 0 ) return arg1 ; return gcd ( arg1 , arg0 % arg1 ) ; } |
12,216 | gets the value of the remaining property . concode_field_sep String name concode_elem_sep BigDecimal limit concode_elem_sep long serialVersionUID concode_elem_sep BigDecimal used concode_elem_sep String units concode_elem_sep BigDecimal included concode_elem_sep BigDecimal remaining concode_field_sep void setName conco... | BigDecimal function ( ) { return remaining ; } |
12,217 | performs initialization tasks if required . concode_field_sep HibernateSessionFactoryBeanDelegate localSessionFactory concode_elem_sep Log LOG concode_elem_sep Collection<? extends DatabaseInitializationCallback> callbacks concode_elem_sep DataSource datasource concode_elem_sep String PATH_SCHEMA concode_field_sep List... | void function ( ) { if ( ! isSchemaInitialized ( ) ) { this . executeStatements ( PATH_SCHEMA ) ; LOG . info ( "srini_string" ) ; for ( DatabaseInitializationCallback loc0 : callbacks ) { loc0 . execute ( ) ; } } validateSchema ( ) ; } |
12,218 | performs the opening handshake . when call this method you must not retain the fullhttprequest which is passed in . concode_field_sep String SUB_PROTOCOL_WILDCARD concode_elem_sep InternalLogger logger concode_elem_sep ClosedChannelException CLOSED_CHANNEL_EXCEPTION concode_elem_sep int maxFramePayloadLength concode_el... | ChannelFuture function ( Channel arg0 , FullHttpRequest arg1 ) { return handshake ( arg0 , arg1 , null , arg0 . newPromise ( ) ) ; } |
12,219 | this method should be called before beginning any equals methods . in order to return true the method : the two given objects are the same instance using == . this also means if both objects are null then this method will return true well technically they are equal tests that neither object is null the the two classes ... | boolean function ( Object arg0 , Object arg1 ) { return arg0 == arg1 || ! ( arg0 == null || arg1 == null ) && arg0 . getClass ( ) == arg1 . getClass ( ) ; } |
12,220 | set the context attribute key for the source attribute . concode_field_sep String toKey concode_elem_sep String value concode_elem_sep String fromKey concode_field_sep void setToKey concode_elem_sep String getValue concode_elem_sep void setValue concode_elem_sep String getToKey concode_elem_sep Message execute concode_... | void function ( String arg0 ) { this . fromKey = arg0 ; } |
12,221 | sets the listatemas value for this listatemaswsexecuteresponse . concode_field_sep SIPV2190b.TemasSDTTemasSDTItem[] listatemas concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_field_sep SIPV2190b.TemasSDTTemasSD... | void function ( SIPV2190b . TemasSDTTemasSDTItem [ ] arg0 ) { this . listatemas = arg0 ; } |
12,222 | gets the value of the statusinformationservice property . concode_field_sep String annotation concode_elem_sep Mandator mandator concode_elem_sep String statusInformationService concode_elem_sep List<SimpleMandateContentType> simpleMandateContent concode_elem_sep SignatureType signature concode_elem_sep String mandateI... | String function ( ) { return statusInformationService ; } |
12,223 | a token used to retrieve the next value . concode_field_sep String nextToken concode_elem_sep java.util.List<TopicRuleListItem> rules concode_field_sep ListTopicRulesResult withRules concode_elem_sep ListTopicRulesResult withRules concode_elem_sep void setNextToken concode_elem_sep int hashCode concode_elem_sep boolean... | ListTopicRulesResult function ( String arg0 ) { setNextToken ( arg0 ) ; return this ; } |
12,224 | removes all mappings from this map whose values are zero . this method is not atomic : the map may be visible in intermediate states , where some of the zero values have been removed and others have not . concode_field_sep Map<K,Long> asMap concode_elem_sep ConcurrentHashMap<K,Long> map concode_field_sep long getAndInc... | void function ( ) { map . values ( ) . removeIf ( x -> x == 0 ) ; } |
12,225 | runs the given runnable on the ui thread . concode_field_sep Handler sMainHandler concode_field_sep boolean isOnUiThread concode_elem_sep void assertOnUiThread concode_elem_sep void assertNotOnUiThread | void function ( Runnable arg0 ) { synchronized ( UiThreadUtil . class ) { if ( sMainHandler == null ) { sMainHandler = new Handler ( Looper . getMainLooper ( ) ) ; } } sMainHandler . post ( arg0 ) ; } |
12,226 | register a new client shutdown hook . concode_field_sep Logger LOG concode_elem_sep HostnameVerifier hostnameVerifier concode_elem_sep UnsafeValue<SSLContext,IllegalStateException> sslContext concode_elem_sep LinkedBlockingDeque<ShutdownHook> shutdownHooks concode_elem_sep ClientConfig config concode_elem_sep AtomicBoo... | void function ( final ShutdownHook arg0 ) { checkNotClosed ( ) ; shutdownHooks . push ( arg0 ) ; } |
12,227 | returns true if the graph is biconnected no cutpoint , false otherwise . concode_field_sep BlockCutpointGraph<V,E> blockCutpointGraph concode_field_sep Set<V> getCutpoints concode_elem_sep Set<Set<V>> getBiconnectedVertexComponents concode_elem_sep Set<Set<V>> getBiconnectedVertexComponents | boolean function ( ) { return this . blockCutpointGraph . vertexSet ( ) . size ( ) == 1 ; } |
12,228 | displays value of all registers concode_field_sep int[] registry concode_field_sep void add concode_elem_sep void division concode_elem_sep void setRegistry concode_elem_sep int getNthDigit concode_elem_sep int getRegistry concode_elem_sep void sqrt concode_elem_sep void increment concode_elem_sep void pow concode_elem... | void function ( ) { System . out . printf ( "srini_string" , registry [ 0 ] , registry [ 1 ] , registry [ 2 ] , registry [ 3 ] , registry [ 4 ] , registry [ 5 ] , registry [ 6 ] , registry [ 7 ] , registry [ 8 ] , registry [ 9 ] ) ; } |
12,229 | this code is executed after the method is called . concode_field_sep Map calls concode_field_sep Map getCalls concode_elem_sep List statistic concode_elem_sep boolean doInvoke concode_elem_sep void reset concode_elem_sep Object beforeInvoke | Object function ( Object arg0 , String arg1 , Object [ ] arg2 , Object arg3 ) { ( ( List ) calls . get ( arg1 ) ) . add ( new Long ( System . currentTimeMillis ( ) ) ) ; return arg3 ; } |
12,230 | trims the input string with custom things . concode_field_sep Pattern LEADING_HASHTAGS concode_elem_sep Pattern SINGLE_NEWLINES concode_elem_sep String NEW_LINE concode_elem_sep Pattern LEADING_SPACES concode_field_sep placeholderType placeHolder | String function ( String arg0 ) { arg0 = LEADING_HASHTAGS . matcher ( arg0 ) . replaceAll ( "srini_string" ) ; arg0 = LEADING_SPACES . matcher ( arg0 ) . replaceAll ( "srini_string" ) ; arg0 = SINGLE_NEWLINES . matcher ( arg0 ) . replaceAll ( "srini_string" ) ; return arg0 . trim ( ) ; } |
12,231 | determine if a file or directory exists . concode_field_sep String LOG_TAG concode_field_sep long getFreeDiskSpace concode_elem_sep boolean testSaveLocationExists concode_elem_sep File constructFilePaths concode_elem_sep long freeSpaceCalculation concode_elem_sep String getTempDirectoryPath | boolean function ( String arg0 ) { boolean loc0 ; if ( ( testSaveLocationExists ( ) ) && ( ! arg0 . equals ( "srini_string" ) ) ) { File loc1 = Environment . getExternalStorageDirectory ( ) ; File loc2 = constructFilePaths ( loc1 . toString ( ) , arg0 ) ; loc0 = loc2 . exists ( ) ; } else { loc0 = false ; } return loc0... |
12,232 | get a list of url s from the context classloader for all the resources found at the specified path . concode_field_sep Logger logger concode_elem_sep VFS instance concode_elem_sep List<Class<? extends VFS>> USER_IMPLEMENTATIONS concode_elem_sep Class<?>[] IMPLEMENTATIONS concode_field_sep Class<?> getClass concode_elem... | List < URL > function ( String arg0 ) { return Collections . list ( Thread . currentThread ( ) . getContextClassLoader ( ) . getResources ( arg0 ) ) ; } |
12,233 | return the set of tables sharded in this mapping . concode_field_sep int mappingId concode_elem_sep ShardingType shardingType concode_elem_sep Set<ShardTable> shardTables concode_elem_sep Set<ShardIndex> shardIndices concode_elem_sep String globalGroupName concode_field_sep ShardIndex getShardIndexForKey concode_elem_s... | Set < ShardTable > function ( ) { return Collections . unmodifiableSet ( this . shardTables ) ; } |
12,234 | allows callbacks to override/wrap the input reader concode_field_sep String request concode_elem_sep UUID identifier concode_elem_sep Map kvp concode_elem_sep Service serviceDescriptor concode_elem_sep Map rawKvp concode_elem_sep Throwable error concode_elem_sep String version concode_elem_sep BufferedReader input conc... | void function ( BufferedReader arg0 ) { this . input = arg0 ; } |
12,235 | print help and quit . concode_field_sep String[] args concode_elem_sep String application concode_elem_sep int nbArgs concode_elem_sep String shortOptionsString concode_elem_sep String longOptionsString concode_field_sep String getOptionValue concode_elem_sep String getOptionValue concode_elem_sep String getOptionValue... | void function ( ) { System . out . println ( "srini_string" + application + "srini_string" + longOptionsString + "srini_string" + shortOptionsString ) ; System . exit ( 0 ) ; } |
12,236 | upload file path ref current datetime concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | String function ( ) { return DateTimeKit . formatNowToStyle ( "srini_string" ) ; } |
12,237 | create an instance of jaxbelement concode_field_sep QName _ClassB_QNAME concode_elem_sep QName _ADeepIndexHint_QNAME concode_elem_sep QName _DateFormat_QNAME concode_elem_sep QName _TrimStrings_QNAME concode_elem_sep QName _B_QNAME concode_elem_sep QName _BDeepIndexHint_QNAME concode_elem_sep QName _CopyByReference_QNA... | JAXBElement < String > function ( String arg0 ) { return new JAXBElement < String > ( _AHint_QNAME , String . class , null , arg0 ) ; } |
12,238 | listens to client input from commandbuttons in the ui map and sets the selected time zone . concode_field_sep DateFormat currentFormat concode_elem_sep ArrayList checkedTimeZoneList concode_elem_sep String GMT7DAYLIGHTLOCATION concode_elem_sep String GMT9DAYLIGHTLOCATION concode_elem_sep String GMT8DAYLIGHTLOCATION con... | void function ( ActionEvent arg0 ) { FacesContext loc0 = FacesContext . getCurrentInstance ( ) ; String loc1 = arg0 . getComponent ( ) . getClientId ( loc0 ) ; String loc2 = interpretID ( loc1 , "srini_string" , "srini_string" ) ; selectedTimeZone = TimeZone . getTimeZone ( loc2 ) ; } |
12,239 | removes a listener from the template . concode_field_sep String debugClientHost concode_elem_sep int debugClientPort concode_elem_sep int debuggerTemplateId concode_elem_sep SQLProvider sqlProvider concode_elem_sep ListenerProvider<IDebuggerTemplateListener> listeners concode_elem_sep String debuggerTemplateName concod... | void function ( final IDebuggerTemplateListener arg0 ) { listeners . removeListener ( arg0 ) ; } |
12,240 | adds values to this vector and returns result - alters this vector . concode_field_sep float x concode_elem_sep float y concode_elem_sep long serialVersionUID concode_field_sep Vec2 mulLocal concode_elem_sep Vec2 sub concode_elem_sep void absToOut concode_elem_sep Vec2 mul concode_elem_sep void crossToOutUnsafe concode... | Vec2 function ( float arg0 , float arg1 ) { this . x += arg0 ; this . y += arg1 ; return this ; } |
12,241 | gets the value of the size property . concode_field_sep List<Long> categoryIds concode_elem_sep Long size concode_elem_sep String name concode_elem_sep String description concode_elem_sep Long id concode_elem_sep AudienceSegmentDataProvider dataProvider concode_elem_sep AudienceSegmentAudienceSegmentType type concode_e... | Long function ( ) { return size ; } |
12,242 | converts a biginteger into a hex string . in contrast to biginteger #tostring int biginteger.tostring 16 4-digit-groups are separated by points , like 23ea .4 f11 ... concode_field_sep PlaceHolder placeHolder concode_field_sep boolean coprime concode_elem_sep int byte_size concode_elem_sep void print_array concode_elem... | String function ( BigInteger arg0 ) { return Misc_host . to_byte_hex_string ( arg0 . toByteArray ( ) ) ; } |
12,243 | resets the spacing instance to its default state . this method is meant to be used when recycling spacing instances . concode_field_sep boolean mHasAliasesSet concode_elem_sep int END concode_elem_sep int LEFT concode_elem_sep int mValueFlags concode_elem_sep int RIGHT concode_elem_sep int ALL concode_elem_sep int TOP ... | void function ( ) { Arrays . fill ( mSpacing , YogaConstants . UNDEFINED ) ; mHasAliasesSet = false ; mValueFlags = 0 ; } |
12,244 | sets the acl entry type . concode_field_sep AclEntryScope scope concode_elem_sep String name concode_elem_sep FsAction permission concode_elem_sep AclEntryType type concode_elem_sep AclEntryScope scope concode_field_sep Builder setName concode_elem_sep String getName concode_elem_sep FsAction getPermission concode_elem... | Builder function ( AclEntryType arg0 ) { this . type = arg0 ; return this ; } |
12,245 | returns the dot product of this complex with the double components of another one . concode_field_sep boolean hashed concode_elem_sep float x concode_elem_sep Complex IDENTITY concode_elem_sep float y concode_elem_sep int hashCode concode_elem_sep long serialVersionUID concode_field_sep Complex add concode_elem_sep Com... | float function ( double arg0 , double arg1 ) { return dot ( ( float ) arg0 , ( float ) arg1 ) ; } |
12,246 | return the beanfactory that this bean runs in . concode_field_sep BeanFactory beanFactory concode_elem_sep Log logger concode_elem_sep T singletonInstance concode_elem_sep boolean singleton concode_elem_sep ClassLoader beanClassLoader concode_elem_sep T earlySingletonInstance concode_elem_sep boolean initialized concod... | BeanFactory function ( ) { return this . beanFactory ; } |
12,247 | returns the osgi service identifier . concode_field_sep FlagsEntryService _flagsEntryService concode_field_sep void setWrappedService concode_elem_sep void addEntry concode_elem_sep FlagsEntryService getWrappedService | java . lang . String function ( ) { return _flagsEntryService . getOSGiServiceIdentifier ( ) ; } |
12,248 | number of bits concode_field_sep long[] data concode_elem_sep double fpp concode_elem_sep int k concode_elem_sep BitSet bitSet concode_elem_sep int m concode_elem_sep double DEFAULT_FPP concode_elem_sep long n concode_field_sep long sizeInBytes concode_elem_sep void addFloat concode_elem_sep int optimalNumOfHashFunctio... | long function ( ) { return ( long ) data . length * Long . SIZE ; } |
12,249 | gets the minimum joint according to the given comparator . you can use this with the methods comparex , comparey and comparez to find the most extreme joints in a particular dimension . for example , minjointby userdata.getalljoints , comparex will get the leftmost joint as it appears on screen - this will probably be ... | int function ( Joint [ ] arg0 , Comparator < Joint > arg1 ) { Joint [ ] loc0 = new Joint [ arg0 . length ] ; System . arraycopy ( arg0 , 0 , loc0 , 0 , arg0 . length ) ; java . util . Arrays . sort ( loc0 , arg1 ) ; return loc0 [ 0 ] . joint ; } |
12,250 | gets the facilitytype value for this dmis . concode_field_sep java.lang.String facilityServiceCode concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String facilityType concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String description concode_elem_sep b... | java . lang . String function ( ) { return facilityType ; } |
12,251 | retrieves prefix + '' in '' + elapsedtime + '' ms. '' concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep void zero concode_elem_sep long currentElapsedTime concode_elem_sep void stop concode_elem_sep void start concode_elem_sep... | String function ( String arg0 ) { return arg0 + "srini_string" + currentElapsedTime ( ) + "srini_string" ; } |
12,252 | processes the element by adding it or the different parts to an elementlistener . concode_field_sep Float right concode_elem_sep float yLine concode_elem_sep PdfName role concode_elem_sep Float top concode_elem_sep float paddingBottom concode_elem_sep Float percentageHeight concode_elem_sep float paddingLeft concode_el... | boolean function ( final ElementListener arg0 ) { try { return arg0 . add ( this ) ; } catch ( DocumentException loc0 ) { return false ; } } |
12,253 | called when the webview does a top-level navigation or refreshes . plugins should stop any long-running processes and clean up internal state . does nothing by default . concode_field_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String id concode_field_sep boolean onOverrideUrlL... | void function ( ) { } |
12,254 | returns a reader object that contains a partial clob value , starting with the character specified by pos , which is length characters in length . concode_field_sep ClobDataID clob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep Writer setCharacterStream concode_elem_sep in... | Reader function ( long arg0 , long arg1 ) { return new ClobInputStream ( this , arg0 - 1 , arg1 , session . getStreamBlockSize ( ) ) ; } |
12,255 | returns true if the value is zero using the default tolerance as upper bound concode_field_sep float radDeg concode_elem_sep double BIG_ENOUGH_ROUND concode_elem_sep int SIN_BITS concode_elem_sep float PI concode_elem_sep Random random concode_elem_sep double BIG_ENOUGH_CEIL concode_elem_sep int BIG_ENOUGH_INT concode_... | boolean function ( float arg0 ) { return Math . abs ( arg0 ) <= FLOAT_ROUNDING_ERROR ; } |
12,256 | closes the stream object associated with the stream having the given index , if any , removing it from the map , logging any errors that occur during closure , and unblocking any in-progress calls to waitfor for that stream . if no such stream exists within this map , then this function has no effect . concode_field_se... | InterceptedStream < T > function ( String arg0 ) { InterceptedStream < T > loc0 = streams . remove ( arg0 ) ; if ( loc0 == null ) return null ; close ( loc0 . getStream ( ) ) ; return loc0 ; } |
12,257 | returns the size of the mtp object 's thumbnail will be zero for objects with no thumbnail concode_field_sep int mParent concode_elem_sep int mAssociationType concode_elem_sep int mImagePixWidth concode_elem_sep int mAssociationDesc concode_elem_sep int mFormat concode_elem_sep int mStorageId concode_elem_sep int mSequ... | int function ( ) { return mThumbCompressedSize ; } |
12,258 | resets #nextproxy to the first option . concode_field_sep int nextSocketAddressIndex concode_elem_sep List<Route> postponedRoutes concode_elem_sep int TLS_MODE_MODERN concode_elem_sep Address address concode_elem_sep Iterator<Proxy> proxySelectorProxies concode_elem_sep ConnectionPool pool concode_elem_sep Dns dns conc... | void function ( URI arg0 , Proxy arg1 ) { this . hasNextProxy = true ; if ( arg1 != null ) { this . userSpecifiedProxy = arg1 ; } else { List < Proxy > loc0 = proxySelector . select ( arg0 ) ; if ( loc0 != null ) { this . proxySelectorProxies = loc0 . iterator ( ) ; } } } |
12,259 | print information about this instance . concode_field_sep ByteArrayInputStream _inputStream concode_elem_sep boolean _valid concode_elem_sep byte[] _byteArray concode_elem_sep DataInputStream _input concode_field_sep char unpackChar concode_elem_sep boolean reread concode_elem_sep void setBuffer concode_elem_sep int le... | void function ( PrintWriter arg0 ) { if ( _valid ) { arg0 . println ( "srini_string" ) ; arg0 . println ( "srini_string" ) ; for ( int loc0 = 0 ; loc0 < _byteArray . length ; loc0 ++ ) arg0 . write ( ( char ) _byteArray [ loc0 ] ) ; } else arg0 . println ( "srini_string" ) ; } |
12,260 | makes a closed ring out of the current coordinates by adding the starting point as the end point . will have no effect of starting and end point are already the same coordinate . concode_field_sep List<Coordinate> points concode_field_sep CoordinatesBuilder coordinate concode_elem_sep CoordinatesBuilder coordinate conc... | CoordinatesBuilder function ( ) { Coordinate loc0 = points . get ( 0 ) ; Coordinate loc1 = points . get ( points . size ( ) - 1 ) ; if ( loc0 . x != loc1 . x || loc0 . y != loc1 . y ) { points . add ( loc0 ) ; } return this ; } |
12,261 | loads the per-point flags of a glyph into the pointflags field . concode_field_sep short WE_HAVE_INSTRUCTIONS concode_elem_sep byte[] pointFlags concode_elem_sep short USE_MY_METRICS concode_elem_sep short MORE_COMPONENTS concode_elem_sep short SCALED_COMPONENT_OFFSET concode_elem_sep int unitsPerEm concode_elem_sep sh... | void function ( int arg0 , ByteBuffer arg1 ) { byte loc0 ; int loc1 ; for ( int loc2 = 0 ; loc2 < arg0 ; loc2 ++ ) { pointFlags [ loc2 ] = loc0 = arg1 . get ( ) ; if ( ( loc0 & 8 ) != 0 ) { loc1 = ( ( int ) arg1 . get ( ) ) & 0xff ; while ( loc1 > 0 ) { pointFlags [ ++ loc2 ] = loc0 ; -- loc1 ; } } } } |
12,262 | returns the class p k of this d d m storage link . concode_field_sep DDMStorageLink _ddmStorageLink concode_field_sep long getClassNameId concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridge... | long function ( ) { return _ddmStorageLink . getClassPK ( ) ; } |
12,263 | returns the property 's type . concode_field_sep long id concode_elem_sep long type concode_elem_sep Object value concode_field_sep boolean typesAreEqual concode_elem_sep Object getValue concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep long getID concode_elem_sep String toString concode_el... | long function ( ) { return type ; } |
12,264 | return the id of the given entity . delegates to persistenceunitutil #getidentifier object . concode_field_sep EntityManagerFactory entityManagerFactory concode_field_sep E persistFlushFind concode_elem_sep void flush concode_elem_sep E find concode_elem_sep Object persistAndGetId concode_elem_sep T persistAndGetId con... | Object function ( Object arg0 ) { return this . entityManagerFactory . getPersistenceUnitUtil ( ) . getIdentifier ( arg0 ) ; } |
12,265 | returns the default servlet container . for most embedded use cases this will be sufficient . concode_field_sep ServletContainer container concode_field_sep FilterInfo filter concode_elem_sep FilterInfo filter concode_elem_sep WebResourceCollection webResourceCollection concode_elem_sep SecurityConstraint securityConst... | ServletContainer function ( ) { if ( container != null ) { return container ; } synchronized ( Servlets . class ) { if ( container != null ) { return container ; } return container = ServletContainer . Factory . newInstance ( ) ; } } |
12,266 | returns a throwinglongtointfunction throwing an exception of the given type if this function throws an exception.the original exception thrown by this function is the throwable #getcause cause of the thrown exception.the exception class must have a constructor accepting a single throwable as an argument . concode_field... | ThrowingLongToIntFunction function ( Class < ? extends RuntimeException > arg0 ) { Contract . checkArgument ( arg0 != null , "srini_string" ) ; return argument -> { try { return applyAsIntThrowing ( argument ) ; } catch ( Exception loc0 ) { throw ReflectionUtils . createException ( arg0 , loc0 ) ; } } ; } |
12,267 | requests , in a jdk 1.1 compliant way , that the file or directory denoted by the given abstract pathname be deleted when the virtual machine terminates . deletion will be attempted only for jdk 1.2 and greater runtime environments and only upon normal termination of the virtual machine , as defined by the java languag... | void function ( File arg0 ) { JavaSystem . deleteOnExit ( arg0 ) ; } |
12,268 | sets the modified date of this w s r p producer . concode_field_sep WSRPProducer _wsrpProducer concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep long getWsrpProduc... | void function ( Date arg0 ) { _wsrpProducer . setModifiedDate ( arg0 ) ; } |
12,269 | retrieves the serialized form of the specified object as an array of bytes . concode_field_sep long DEFAULT_COPY_AMOUNT concode_elem_sep int DEFAULT_COPY_BUFFER_SIZE concode_field_sep long copy concode_elem_sep long copy concode_elem_sep long copy concode_elem_sep long copy concode_elem_sep long copy concode_elem_sep l... | byte [ ] function ( Serializable arg0 ) { HsqlByteArrayOutputStream loc0 = new HsqlByteArrayOutputStream ( ) ; ObjectOutputStream loc1 = new ObjectOutputStream ( loc0 ) ; loc1 . writeObject ( arg0 ) ; return loc0 . toByteArray ( ) ; } |
12,270 | tells whether the given byte array slice is a well-formed , malformed , or incomplete utf-8 byte sequence . the range of bytes to be checked extends from index index , inclusive , to limit , exclusive . this is a convenience method , equivalent to a call to partialisvalidutf8 utf8.complete , bytes , index , limit . con... | int function ( byte [ ] arg0 , int arg1 , int arg2 ) { while ( arg1 < arg2 && arg0 [ arg1 ] >= 0 ) { arg1 ++ ; } return ( arg1 >= arg2 ) ? COMPLETE : partialIsValidUtf8NonAscii ( arg0 , arg1 , arg2 ) ; } |
12,271 | write a message to the console concode_field_sep SimpleDateFormat FMT concode_elem_sep IEditorSite editorSite concode_field_sep IEditorSite getEditorSite concode_elem_sep void bringToFront concode_elem_sep MessageConsole findConsole concode_elem_sep void setEditorSite | void function ( final String arg0 , final boolean arg1 ) { writeToConsole ( arg0 , arg1 ? SWT . COLOR_RED : SWT . COLOR_BLACK ) ; } |
12,272 | opens the textcache object . concode_field_sep Log lLog concode_elem_sep LockFile lf concode_field_sep void writeCommit concode_elem_sep void checkpoint concode_elem_sep void releaseLock concode_elem_sep void openLog concode_elem_sep boolean closeLog concode_elem_sep boolean hasLog concode_elem_sep void setScriptType c... | DataFileCache function ( Table arg0 , String arg1 , boolean arg2 , boolean arg3 ) { return lLog . openTextCache ( arg0 , arg1 , arg2 , arg3 ) ; } |
12,273 | get method names annotated with a given annotation concode_field_sep LoadingCache<String,Multimap<String,String>> loadingCache concode_field_sep Set<String> getFieldsAnnotatedWith concode_elem_sep boolean isClass concode_elem_sep Map<String,Multimap<String,String>> getStoreMap concode_elem_sep boolean isInheritedAnnota... | Set < String > function ( final String arg0 ) { return get ( MethodAnnotationsScanner . class , arg0 ) ; } |
12,274 | create a shallow copy of the object . concode_field_sep List<IRecommender> recommenders concode_elem_sep double max_rating_value concode_elem_sep double min_rating_value concode_field_sep void loadModel concode_elem_sep void saveModel concode_elem_sep boolean canPredict concode_elem_sep void setMaxRatingValue concode_e... | Object function ( ) { return this . clone ( ) ; } |
12,275 | get the title . concode_field_sep Color color concode_elem_sep int fontSize concode_elem_sep String title concode_field_sep int getFontSize concode_elem_sep void setTitle concode_elem_sep void setTitle concode_elem_sep Color getColor | String function ( ) { return title ; } |
12,276 | damage concode_field_sep DataPanelPainter pp concode_elem_sep int HEIGHT concode_elem_sep ImageManager im concode_elem_sep EXPBar expb concode_elem_sep Statics statics concode_elem_sep boolean left concode_elem_sep int width concode_elem_sep GameColor bgcolor concode_elem_sep SleepManager sm concode_elem_sep HPBar hpb ... | void function ( Body arg0 , int arg1 ) { hpb . setMin ( arg0 . getHp ( ) - arg1 , true ) ; panel . repaint ( 50 , 50 , 96 , 12 ) ; } |
12,277 | get the closest offset for the given time . concode_field_sep int[] offset concode_elem_sep int readIndex concode_elem_sep long[] time concode_elem_sep int bufferSize concode_elem_sep int writeIndex concode_field_sep int getBufferContentSize concode_elem_sep long getMaxTime concode_elem_sep void increaseWriteIndex conc... | int function ( long arg0 ) { for ( int loc0 = 1 ; loc0 < getBufferContentSize ( ) ; loc0 ++ ) { int loc1 = ( readIndex + loc0 ) % bufferSize ; if ( this . time [ loc1 ] > arg0 ) { if ( loc1 > 0 ) { return this . offset [ loc1 - 1 ] ; } else { return this . offset [ bufferSize - 1 ] ; } } } return - 1 ; } |
12,278 | unsucbsribe from topic concode_field_sep FCMListener mFCMListener concode_elem_sep FCMManager instance concode_elem_sep Context mContext concode_elem_sep BroadcastReceiver mMessageReceiver concode_field_sep void init concode_elem_sep void unRegisterListener concode_elem_sep void onMessage concode_elem_sep void subscrib... | void function ( String arg0 ) { if ( PrefsHelper . hasFCMToken ( mContext ) ) { FirebaseMessaging . getInstance ( ) . unsubscribeFromTopic ( arg0 ) ; } } |
12,279 | this should return the individual or company name responsible for the this implementation of the extension . concode_field_sep PlaceHolder placeHolder concode_field_sep String getURL concode_elem_sep float getPriority concode_elem_sep void registerTags concode_elem_sep Element create concode_elem_sep Element create con... | String function ( ) { return "srini_string" ; } |
12,280 | return an alphacomposite similar to this , that uses the specified alpha . if alph is the same as this.alpha , then this is returned . concode_field_sep int SRC_OVER concode_elem_sep AlphaComposite DstAtop concode_elem_sep AlphaComposite Src concode_elem_sep int rule concode_elem_sep AlphaComposite SrcOver concode_elem... | AlphaComposite function ( float arg0 ) { if ( this . getAlpha ( ) == arg0 ) return this ; else return AlphaComposite . getInstance ( this . getRule ( ) , arg0 ) ; } |
12,281 | consume the entire request body , if one was supplied . concode_field_sep String ATTRIBUTE_HANDLER concode_elem_sep String ATTRIBUTE_REPOSITORY concode_field_sep boolean isChunked concode_elem_sep boolean acceptsGzipEncoding concode_elem_sep boolean acceptsGzipEncoding concode_elem_sep String identify concode_elem_sep ... | void function ( HttpServletRequest arg0 ) { if ( 0 < arg0 . getContentLength ( ) || isChunked ( arg0 ) ) { try { consumeRequestBody ( arg0 . getInputStream ( ) ) ; } catch ( IOException loc0 ) { } } } |
12,282 | stop the activation concode_field_sep MessageEndpointFactory endpointFactory concode_elem_sep PureInflowActivationSpec spec concode_elem_sep PureInflowResourceAdapter ra concode_field_sep PureInflowActivationSpec getActivationSpec concode_elem_sep MessageEndpointFactory getMessageEndpointFactory concode_elem_sep void s... | void function ( ) { } |
12,283 | add additional high priority values to an environment . name-value pairs can be specified with colon '' : '' or equals '' = '' separators . concode_field_sep PlaceHolder placeHolder concode_field_sep int getSeparatorIndex | void function ( ConfigurableEnvironment arg0 , String ... arg1 ) { addEnvironment ( "srini_string" , arg0 , arg1 ) ; } |
12,284 | escapes the given string to a double quoted '' javascript/json string concode_field_sep char[] HEX_CHARS concode_field_sep void appendHexJavaScriptRepresentation concode_elem_sep void appendHexJavaScriptRepresentation | String function ( String arg0 ) { } |
12,285 | debug 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 setLogLevel concode_elem_sep void setLogLevel concode_elem_sep void e conco... | void function ( String arg0 , String arg1 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , arg1 ) ; } |
12,286 | returns the frequency of change . concode_field_sep FunctionOptimisationProblem fda5_g_problem concode_elem_sep int n_t concode_elem_sep ContinuousFunction fda5_g concode_elem_sep int tau concode_elem_sep int K concode_elem_sep long serialVersionUID concode_elem_sep int M concode_elem_sep int tau_t concode_elem_sep int... | int function ( ) { return this . tau_t ; } |
12,287 | get class internal name from class.getname . sub class like a$ b to a.b concode_field_sep Map<String,Class<?>> PRIMIIIVE_TYPE_NAME_MAP concode_elem_sep Map<Class<?>,Class<?>> PRIMITIVE_WRAPPER_TYPE_MAP concode_elem_sep String ARRAY_SUFFIX concode_elem_sep String INTERNAL_ARRAY_PREFIX concode_field_sep ClassLoader getCa... | String function ( String arg0 ) { if ( arg0 == null ) { return null ; } return arg0 . replace ( '$' , '.' ) ; } |
12,288 | hides the autofill view . concode_field_sep long mNativeAutofillKeyboardAccessory concode_elem_sep Context mContext concode_elem_sep AutofillKeyboardAccessory mAccessoryView concode_field_sep void init concode_elem_sep AutofillSuggestion[] createAutofillSuggestionArray concode_elem_sep void onClick concode_elem_sep voi... | void function ( ) { if ( mAccessoryView != null ) mAccessoryView . dismiss ( ) ; mContext = null ; } |
12,289 | getter method to get the status of a case concode_field_sep String subSubCategoryName concode_elem_sep String total concode_elem_sep String callSource concode_elem_sep String avgTime concode_elem_sep String circle concode_elem_sep String categoryName concode_elem_sep String subCategoryName concode_elem_sep String caseT... | String function ( ) { return status ; } |
12,290 | sets the value of the type 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 MLPassThroughO... | void function ( String arg0 ) { this . type = arg0 ; } |
12,291 | gets the value of the httpmethod property . concode_field_sep String httpAuthorizationHeader concode_elem_sep String httpRequestUrl concode_elem_sep String httpMethod concode_field_sep void setHttpMethod concode_elem_sep void setHttpAuthorizationHeader concode_elem_sep String getHttpAuthorizationHeader concode_elem_sep... | String function ( ) { return httpMethod ; } |
12,292 | sets the value of the initialvalue property . concode_field_sep String schema concode_elem_sep String catalog concode_elem_sep Integer allocationSize concode_elem_sep String name concode_elem_sep String description concode_elem_sep Integer initialValue concode_elem_sep String sequenceName concode_field_sep void setName... | void function ( final Integer arg0 ) { this . initialValue = arg0 ; } |
12,293 | if any cause in the given exception chain is an apiauthenticationexception , rethrow that concode_field_sep PlaceHolder placeHolder concode_field_sep void rethrowIfCause | void function ( Throwable arg0 ) { rethrowIfCause ( arg0 , APIAuthenticationException . class ) ; } |
12,294 | retrieve current selected pane view concode_field_sep PlaceHolder placeHolder concode_field_sep AcquireImageInfo getImageInfo | ViewCanvas < ImageElement > function ( ) { return EventManager . getInstance ( ) . getSelectedViewPane ( ) ; } |
12,295 | returns the password associated with this object concode_field_sep char[] password concode_elem_sep String username concode_field_sep String getUserName | char [ ] function ( ) { return password ; } |
12,296 | retrieves the canonical file for the given file , in a jdk 1.1 complaint way . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_field_sep void renameElement concode_elem_sep java.io.InputStre... | File function ( File arg0 ) { return new File ( arg0 . getCanonicalPath ( ) ) ; } |
12,297 | performs a dynamic query on the database and returns the matching rows . concode_field_sep PhoneLocalService _service concode_field_sep com.liferay.portal.model.Phone getPhone concode_elem_sep com.liferay.portal.model.Phone getPhoneByUuidAndCompanyId concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_el... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } |
12,298 | return the class name of the service component that implements this input method . concode_field_sep int mIsDefaultResId concode_elem_sep ResolveInfo mService concode_elem_sep Parcelable.Creator<InputMethodInfo> CREATOR concode_elem_sep ArrayList<InputMethodSubtype> mSubtypes concode_elem_sep String mId concode_elem_se... | String function ( ) { return mService . serviceInfo . name ; } |
12,299 | constructs and returns a compatible inputmanger concode_field_sep PlaceHolder placeHolder concode_field_sep void onInputDeviceAdded concode_elem_sep void onInputDeviceChanged concode_elem_sep InputDevice getInputDevice concode_elem_sep void unregisterInputDeviceListener concode_elem_sep void onGenericMotionEvent concod... | InputManagerCompat function ( Context arg0 ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . JELLY_BEAN ) { return new InputManagerV16 ( arg0 ) ; } else { return new InputManagerV9 ( ) ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.