idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
8,900 | add each node as a one element set . concode_field_sep Node parent concode_elem_sep Map<Integer,Node> map concode_elem_sep int name concode_elem_sep int rank concode_field_sep int size concode_elem_sep void main concode_elem_sep boolean union concode_elem_sep Node findSet concode_elem_sep Node findSet | void function ( int arg0 ) { Node loc0 = new Node ( arg0 ) ; map . putIfAbsent ( arg0 , loc0 ) ; } |
8,901 | overwrites the first header with the same name . the new header will be appended to the end of the list , if no header with the given name can be found . concode_field_sep List<HeaderItem> headers concode_elem_sep List<NameValuePair> queryStringParams concode_elem_sep String charset concode_elem_sep HttpEntity bodyEnti... | void function ( Header arg0 ) { if ( this . headers == null ) { this . headers = new ArrayList < HeaderItem > ( ) ; } this . headers . add ( new HeaderItem ( arg0 , true ) ) ; } |
8,902 | used for testing only initialize the connection and setup the table to use the org.apache.phoenix.query.queryservicesoptions #default_tracing_stats_table_name concode_field_sep String TAG_COUNT concode_elem_sep Connection conn concode_elem_sep Joiner COLUMN_JOIN concode_elem_sep String ANNOTATION_COUNT concode_elem_sep... | void function ( Connection arg0 ) { initializeInternal ( arg0 , QueryServicesOptions . DEFAULT_TRACING_STATS_TABLE_NAME ) ; } |
8,903 | format a short value using upper case characters . concode_field_sep char[] LOWER_NIBBLE_MAP concode_elem_sep char[] UPPER_NIBBLE_MAP concode_field_sep long parseLong concode_elem_sep StringBuilder formatL concode_elem_sep String formatL concode_elem_sep StringBuilder formatL concode_elem_sep String formatL concode_ele... | String function ( short arg0 ) { return formatU ( new StringBuilder ( ) , arg0 ) . toString ( ) ; } |
8,904 | called when the observed mediasession has enabled an action . concode_field_sep MediaSessionImpl mMediaSession concode_field_sep void mediaSessionDestroyed concode_elem_sep MediaSession getMediaSession concode_elem_sep void mediaSessionMetadataChanged concode_elem_sep void mediaSessionDisabledAction concode_elem_sep vo... | void function ( int arg0 ) { } |
8,905 | notifies that the remove button has been pressed . concode_field_sep TableViewer viewer concode_elem_sep List<Object> backupList concode_elem_sep boolean isReadOnly concode_elem_sep Button upButton concode_elem_sep Button removeButton concode_elem_sep Button downButton concode_elem_sep Composite buttonBox concode_elem_... | void function ( ) { IStructuredSelection loc0 = ( IStructuredSelection ) viewer . getSelection ( ) ; if ( loc0 . isEmpty ( ) ) { return ; } for ( Object loc1 : loc0 . toArray ( ) ) { list . remove ( loc1 ) ; } viewer . refresh ( ) ; selectionChanged ( ) ; afterDeleteSelection ( loc0 . toList ( ) ) ; } |
8,906 | this field is set at the api level when vfinfo is retrieved from fe . at that time , the imageinfo is also retrieved from buffers or from the fe and sweeptimestamp is initialized to sweepstart . note that sweepstart is unix time seconds since jan 1st , 1970 concode_field_sep ImageIdBean imageId concode_elem_sep String ... | void function ( long arg0 ) { this . timestamp = arg0 ; } |
8,907 | get the adapter for the given adaptee type to adapt to . concode_field_sep Function<Flux<?>,Object> fromAdapter concode_elem_sep boolean rxJava1Present concode_elem_sep Descriptor descriptor concode_elem_sep Map<Class<?>,ReactiveAdapter> adapterMap concode_elem_sep Descriptor descriptor concode_elem_sep Function<Object... | ReactiveAdapter function ( Class < ? > arg0 ) { return getAdapterTo ( arg0 , null ) ; } |
8,908 | returns a hash value based on a seed value and the value of an int primitive . concode_field_sep PlaceHolder placeHolder concode_field_sep int hashCodeForDoubleArray concode_elem_sep int hashCodeForPaint | int function ( int arg0 , int arg1 ) { return 37 * arg0 + arg1 ; } |
8,909 | load a class . concode_field_sep Map<String,Object> PRIMITIVE_RETURN_VALUES concode_elem_sep V val concode_elem_sep String className concode_elem_sep Class<? extends V> clazz concode_field_sep void setField concode_elem_sep void setField concode_elem_sep R callConstructor concode_elem_sep Object[] getValues concode_ele... | Class < ? > function ( ClassLoader arg0 , String arg1 ) { try { return arg0 . loadClass ( arg1 ) ; } catch ( ClassNotFoundException loc0 ) { throw new RuntimeException ( loc0 ) ; } } |
8,910 | this method was generated by mybatis generator . this method returns the value of the database column cp_sequence . cache concode_field_sep BigDecimal cache concode_elem_sep Long maxvalue concode_elem_sep BigDecimal stepvalue concode_elem_sep Long curvalue concode_elem_sep String year concode_elem_sep String seqname co... | BigDecimal function ( ) { return cache ; } |
8,911 | set the duration of the effect in seconds concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep String sequence concode_elem_sep float delay... | void function ( float arg0 ) { this . duration = arg0 ; ea . add ( "srini_string" , arg0 ) ; } |
8,912 | returns the space reserved for axes at the left of the plot area . concode_field_sep long serialVersionUID concode_elem_sep double top concode_elem_sep double left concode_elem_sep double bottom concode_elem_sep double right concode_field_sep void add concode_elem_sep double getBottom concode_elem_sep void setLeft conc... | double function ( ) { return this . left ; } |
8,913 | this method may be called by a deployment tool to validate the overall activation configuration information provided by the endpoint deployer . concode_field_sep Boolean myBooleanProperty concode_elem_sep String myStringProperty concode_elem_sep Logger log concode_elem_sep ResourceAdapter ra concode_field_sep String ge... | void function ( ) { log . trace ( "srini_string" ) ; } |
8,914 | some javadoc . this method returns some javadoc . concode_field_sep InnerInputCorrectJavaDocParagraphCheck anon concode_elem_sep byte NUL_2 concode_elem_sep byte NUL concode_field_sep void foo6 concode_elem_sep void foo6 concode_elem_sep void foo6 concode_elem_sep boolean emulated1 concode_elem_sep int geId concode_ele... | boolean function ( ) { return false ; } |
8,915 | creates a new kaleo transition with the primary key . does not add the kaleo transition to the database . concode_field_sep ServiceTracker<KaleoTransitionLocalService,KaleoTransitionLocalService> _serviceTracker concode_field_sep void deleteCompanyKaleoTransitions concode_elem_sep java.lang.String getOSGiServiceIdentif... | com . liferay . portal . workflow . kaleo . model . KaleoTransition function ( long arg0 ) { return getService ( ) . createKaleoTransition ( arg0 ) ; } |
8,916 | util method to write an attribute without the ns prefix concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.DescribeReservedInstancesListingsType localDescribeReservedInstancesListings concode_field_sep java.lang.String generatePrefix concode_elem_sep void setDescribeReservedInstancesLi... | void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , javax . xml . stream . XMLStreamWriter arg3 ) { if ( arg0 . equals ( "srini_string" ) ) { arg3 . writeAttribute ( arg1 , arg2 ) ; } else { registerPrefix ( arg3 , arg0 ) ; arg3 . writeAttribute ( arg0 , arg1 , arg2 ) ; }... |
8,917 | get date concode_field_sep byte[] _byte concode_elem_sep String password concode_elem_sep BigDecimal number concode_elem_sep Float _float concode_elem_sep Integer integer concode_elem_sep Double _double concode_elem_sep String string concode_elem_sep DateTime dateTime concode_elem_sep byte[] binary concode_elem_sep Int... | LocalDate function ( ) { return date ; } |
8,918 | returns the number of lines in this token marker . concode_field_sep Token lastToken concode_elem_sep Token firstToken concode_elem_sep boolean nextLineRequested concode_elem_sep int lastLine concode_elem_sep LineInfo[] lineInfo concode_elem_sep int length concode_elem_sep byte token concode_field_sep void addToken con... | int function ( ) { return length ; } |
8,919 | sets 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 String getUserName | void function ( String arg0 ) { this . userName = arg0 ; } |
8,920 | returns a point with the same coordinates as the anchor point for color 1 . note that if you modify this point , the gradientpaint remains unchanged . concode_field_sep float y1 concode_elem_sep float x1 concode_elem_sep float y2 concode_elem_sep float x2 concode_elem_sep Color c1 concode_elem_sep boolean cyclic concod... | Point2D function ( ) { return new Point2D . Float ( x1 , y1 ) ; } |
8,921 | compares this record with the given userstackrecord . compares the first unequal pair of bytes at the same index in each record 's raw stack data , or if all corresponding bytes are equal , compares the length of each record 's array of raw stack data . corresponding bytes are compared as unsigned values . the comparet... | int function ( UserStackRecord arg0 ) { if ( arg0 == this ) { return 0 ; } return stackRecord . compareTo ( arg0 . stackRecord ) ; } |
8,922 | returns the shipping of this shopping item price . concode_field_sep ShoppingItemPrice _shoppingItemPrice concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean i... | double function ( ) { return _shoppingItemPrice . getShipping ( ) ; } |
8,923 | makes sure the servlet container supports servlet api 2.4 + . concode_field_sep ServletContext _servletContext concode_elem_sep L10N L concode_elem_sep QuercusEngine engine concode_elem_sep Logger logger concode_elem_sep String defaultUserDir concode_field_sep void setIni concode_elem_sep void init concode_elem_sep voi... | void function ( ServletContext arg0 ) { int loc0 = arg0 . getMajorVersion ( ) ; int loc1 = arg0 . getMinorVersion ( ) ; if ( loc0 < 2 || loc0 == 2 && loc1 < 4 ) { throw new QuercusRuntimeException ( L . l ( "srini_string" ) ) ; } } |
8,924 | request the write permission for external storage . concode_field_sep int PERMISSIONS_WRITE_EXTERNAL_STORAGE concode_field_sep boolean shouldShowRequestPermissionRationale concode_elem_sep boolean checkSelfPermission | void function ( Activity arg0 ) { ActivityCompat . requestPermissions ( arg0 , new String [ ] { Manifest . permission . WRITE_EXTERNAL_STORAGE } , PERMISSIONS_WRITE_EXTERNAL_STORAGE ) ; } |
8,925 | the number of skipped entities . concode_field_sep Integer total concode_elem_sep Integer stopped concode_elem_sep Integer warned concode_elem_sep Integer passed concode_elem_sep Integer failed concode_elem_sep Integer errored concode_elem_sep Integer skipped concode_field_sep void setTotal concode_elem_sep Counters wi... | Integer function ( ) { return this . skipped ; } |
8,926 | returns true if the access flags include neither public , protected , or private . concode_field_sep int PRIVATE concode_elem_sep int PROTECTED concode_elem_sep int INTERFACE concode_elem_sep int PUBLIC concode_elem_sep int STATIC concode_elem_sep int NATIVE concode_elem_sep int SUPER concode_elem_sep int VARARGS conco... | boolean function ( int arg0 ) { return ( arg0 & ( PROTECTED | PUBLIC | PRIVATE ) ) == 0 ; } |
8,927 | zeros accumulated running time and restarts this object . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep long currentElapsedTime concode_elem_sep void stop concode_elem_sep String currentElapsedTimeToMessage concode_elem_se... | void function ( ) { total = 0 ; start ( ) ; } |
8,928 | returns a repository for the given key or null if repository is not found in cache . if repository is found its opencounter is incremented . when the caller is done with repository it must call #release method . concode_field_sep Repository myRepository concode_elem_sep AtomicInteger myOpenCounter concode_elem_sep Map<... | Repository function ( @ NotNull RepositoryCache . FileKey arg0 ) { CachedRepository loc0 = myRepositories . get ( arg0 ) ; if ( loc0 != null ) { Repository loc1 = loc0 . getRepository ( ) ; loc0 . inc ( ) ; return loc1 ; } return null ; } |
8,929 | two objects that are equal are required to return the same hashcode . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testDrawWithNullInfo concode_elem_sep void testEquals | void function ( ) { LayeredBarRenderer loc0 = new LayeredBarRenderer ( ) ; LayeredBarRenderer loc1 = new LayeredBarRenderer ( ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; int loc2 = loc0 . hashCode ( ) ; int loc3 = loc1 . hashCode ( ) ; assertEquals ( loc2 , loc3 ) ; } |
8,930 | returns the osgi service identifier . concode_field_sep AssetVocabularyService _assetVocabularyService concode_field_sep com.liferay.asset.kernel.model.AssetVocabulary addVocabulary concode_elem_sep com.liferay.asset.kernel.model.AssetVocabulary addVocabulary concode_elem_sep void setWrappedService concode_elem_sep com... | java . lang . String function ( ) { return _assetVocabularyService . getOSGiServiceIdentifier ( ) ; } |
8,931 | returns a hash code value for the object . this version is identical to the one in object , but is also final . concode_field_sep Attribute LANGUAGE concode_elem_sep Attribute INPUT_METHOD_SEGMENT concode_elem_sep String name concode_elem_sep Attribute READING concode_elem_sep Map instanceMap concode_elem_sep long seri... | int function ( ) { return super . hashCode ( ) ; } |
8,932 | use this inside icapabilityprovider.getcapability to avoid unchecked cast warnings . example : return some_capability . cast instance ; use with caution ; concode_field_sep Callable<? extends T> factory concode_elem_sep String name concode_elem_sep IStorage<T> storage concode_field_sep T getDefaultInstance concode_elem... | R function ( T arg0 ) { return ( R ) arg0 ; } |
8,933 | returns the portlet id of this user notification delivery . concode_field_sep UserNotificationDelivery _userNotificationDelivery concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concod... | java . lang . String function ( ) { return _userNotificationDelivery . getPortletId ( ) ; } |
8,934 | get the resource name of the single file . we have to open the file and parse the constant pool in order to find this out . concode_field_sep boolean isAppCodeBase concode_elem_sep String fileName concode_elem_sep long lastModifiedTime concode_elem_sep ICodeBaseLocator codeBaseLocator concode_elem_sep ICodeBase.Discove... | String function ( ) { if ( ! resourceNameKnown ) { try { resourceName = getClassDescriptor ( ) . toResourceName ( ) ; } catch ( Exception loc0 ) { resourceName = fileName ; } resourceNameKnown = true ; } return resourceName ; } |
8,935 | close a inputstream passed in . concode_field_sep PlaceHolder placeHolder concode_field_sep void closeBufferedReader concode_elem_sep void closeOutputStream | void function ( InputStream arg0 , String arg1 ) { if ( arg0 != null ) { try { arg0 . close ( ) ; } catch ( IOException loc0 ) { Log . loc0 ( arg1 , "srini_string" + loc0 ) ; } } } |
8,936 | check to see if unlimited strength crypto is available . there is an implicit assumption that the jce jurisdiction policy files are not going to be changing while this given jvm is running . concode_field_sep Logger s_aLogger concode_elem_sep boolean s_bUnlimitedStrength concode_elem_sep AtomicBoolean s_aChecked concod... | boolean function ( ) { if ( ! s_aChecked . get ( ) ) { s_bUnlimitedStrength = _isUnlimitedStrengthAvailable ( ) ; s_aChecked . set ( true ) ; } return s_bUnlimitedStrength ; } |
8,937 | two objects that are equal are required to return the same hashcode . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization concode_elem_sep void testEquals | void function ( ) { DefaultPolarItemRenderer loc0 = new DefaultPolarItemRenderer ( ) ; DefaultPolarItemRenderer loc1 = new DefaultPolarItemRenderer ( ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; int loc2 = loc0 . hashCode ( ) ; int loc3 = loc1 . hashCode ( ) ; assertEquals ( loc2 , loc3 ) ; } |
8,938 | xml - > java object . concode_field_sep ConcurrentMap<Class,JAXBContext> jaxbContexts concode_elem_sep Collection<?> collection concode_field_sep Marshaller createMarshaller concode_elem_sep Unmarshaller createUnmarshaller concode_elem_sep String toXml concode_elem_sep String toXml concode_elem_sep String toXml concode... | T function ( String arg0 , Class < T > arg1 ) { try { StringReader loc0 = new StringReader ( arg0 ) ; return ( T ) createUnmarshaller ( arg1 ) . unmarshal ( loc0 ) ; } catch ( JAXBException loc0 ) { throw Exceptions . unchecked ( loc0 ) ; } } |
8,939 | determine whether the array contains the given element concode_field_sep String OS concode_elem_sep NumberFormat LONG_DECIMAL_FORMAT concode_field_sep boolean isLinux concode_elem_sep boolean checkOverwrite concode_elem_sep String getExtension concode_elem_sep T[] intersect concode_elem_sep boolean shouldOverwrite conc... | boolean function ( T [ ] arg0 , T arg1 ) { if ( arg0 == null ) return false ; for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { if ( arg0 [ loc0 ] == arg1 ) return true ; if ( arg1 != null && arg1 . equals ( arg0 [ loc0 ] ) ) return true ; } return false ; } |
8,940 | break a path down into individual elements and add to a list . example : if a path is / a/b/c/d.txt , the breakdown will be d.txt , c , b , a concode_field_sep PlaceHolder placeHolder concode_field_sep String matchPathLists concode_elem_sep void main concode_elem_sep String getRelativePath | List function ( File arg0 ) { List loc0 = new ArrayList ( ) ; File loc1 ; try { loc1 = arg0 . getCanonicalFile ( ) ; while ( loc1 != null ) { loc0 . add ( loc1 . getName ( ) ) ; loc1 = loc1 . getParentFile ( ) ; } } catch ( IOException loc2 ) { loc2 . printStackTrace ( ) ; loc0 = null ; } return loc0 ; } |
8,941 | return the value of the text property . concode_field_sep String tooltip concode_elem_sep String branchExpandedIcon concode_elem_sep String icon concode_elem_sep DefaultMutableTreeNode wrapper concode_elem_sep long serialVersionUID concode_elem_sep boolean leaf concode_elem_sep String leafIcon concode_elem_sep String b... | String function ( ) { return text ; } |
8,942 | gets the defaultteamaccesstype value for this userrecordteamassociation . concode_field_sep java.lang.Long teamId concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String userRecordTeamAssociat... | com . google . api . ads . dfp . axis . v201405 . TeamAccessType function ( ) { return defaultTeamAccessType ; } |
8,943 | indicates whether the user is both online and avaliable can be reached and is likely to respond or not . concode_field_sep int EXTENDED_AWAY_THRESHOLD concode_elem_sep int MAX_STATUS_VALUE concode_elem_sep byte[] statusIcon concode_elem_sep String statusName concode_elem_sep int EAGER_TO_COMMUNICATE_THRESHOLD concode_e... | boolean function ( ) { return getStatus ( ) >= AVAILABLE_THRESHOLD ; } |
8,944 | returns the current durability mode of this translog . concode_field_sep String INDEX_TRANSLOG_FS_TYPE concode_elem_sep String INDEX_TRANSLOG_SYNC_INTERVAL concode_elem_sep TimeValue syncInterval concode_elem_sep Settings indexSettings concode_elem_sep ShardId shardId concode_elem_sep String INDEX_TRANSLOG_BUFFER_SIZE ... | Translog . Durabilty function ( ) { return durabilty ; } |
8,945 | return a list of of all schemas defined by the wsdl definition . concode_field_sep HashSet<String> _elementFormQualifiedNamespaces concode_elem_sep Map<String,String> _prefixMappings concode_elem_sep WsdlComplexTypes _namedComplexTypes concode_elem_sep Class<?> PKG concode_elem_sep long serialVersionUID concode_elem_se... | List < ExtensibilityElement > function ( ) { if ( _types == null ) { return Collections . emptyList ( ) ; } return WsdlUtils . findExtensibilityElements ( _types , WsdlUtils . SCHEMA_ELEMENT_NAME ) ; } |
8,946 | invoked when the connection as been fully established and suspended , e.g ready for receiving messages . concode_field_sep Logger logger concode_field_sep void onDisconnect concode_elem_sep ChatMessage onMessage | void function ( final AtmosphereResource arg0 ) { logger . info ( "srini_string" , arg0 . uuid ( ) ) ; } |
8,947 | return a driver for a neo4j instance with custom configuration . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Driver function ( URI arg0 , Config arg1 ) { return new Driver ( arg0 , arg1 ) ; } |
8,948 | remove and return the element at the tail of the list . concode_field_sep AbstractRecord listHead concode_elem_sep AbstractRecord listTail concode_elem_sep int noEntries concode_field_sep AbstractRecord peekRear concode_elem_sep AbstractRecord getFront concode_elem_sep void putFront concode_elem_sep void replace concod... | AbstractRecord function ( ) { AbstractRecord loc0 = listTail ; if ( noEntries == 1 ) { listHead = listTail = null ; noEntries = 0 ; } else if ( noEntries > 1 ) { listTail = listTail . getPrevious ( ) ; listTail . setNext ( null ) ; loc0 . setPrevious ( null ) ; noEntries -- ; } return loc0 ; } |
8,949 | set name concode_field_sep Logger log concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep ResourceAdapter ra concode_field_sep ManagedConnection createManagedConnection concode_elem_sep void setResourceAdapter concode_elem_sep String getName concod... | void function ( String arg0 ) { this . name = arg0 ; } |
8,950 | starts scrolling 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 concode_elem_sep int SCROLLING_D... | void function ( ) { if ( ! isScrollingPerformed ) { isScrollingPerformed = true ; listener . onStarted ( ) ; } } |
8,951 | the name of the function . concode_field_sep String name concode_elem_sep String functionClass concode_elem_sep String functionSignature concode_field_sep String getFunctionClass concode_elem_sep String getFunctionSignature | String function ( ) { return name ; } |
8,952 | the token to use to retrieve the next page of results . this value is null when there are no more results to return . returns a reference to this object so that method calls can be chained together . concode_field_sep com.amazonaws.internal.ListWithAutoConstructFlag<NatGateway> natGateways concode_elem_sep String nextT... | DescribeNatGatewaysResult function ( String arg0 ) { this . nextToken = arg0 ; return this ; } |
8,953 | construct a direct native-order intbuffer with the specified number of elements . concode_field_sep PlaceHolder placeHolder concode_field_sep LongBuffer createLongBuffer concode_elem_sep ShortBuffer createShortBuffer concode_elem_sep ByteBuffer createByteBuffer concode_elem_sep int getElementSizeExponent concode_elem_s... | IntBuffer function ( int arg0 ) { return createByteBuffer ( arg0 << 2 ) . asIntBuffer ( ) ; } |
8,954 | encode the name in der form to the stream . concode_field_sep X500Principal dnPrincipal concode_elem_sep X500Name dnName concode_elem_sep String IDENT concode_elem_sep String DN_PRINCIPAL concode_elem_sep String NAME concode_elem_sep String DN_NAME concode_field_sep void set concode_elem_sep String getName concode_elem... | void function ( OutputStream arg0 ) { DerOutputStream loc0 = new DerOutputStream ( ) ; dnName . encode ( loc0 ) ; arg0 . write ( loc0 . toByteArray ( ) ) ; } |
8,955 | returns the language id of this e d function . concode_field_sep EDFunction _edFunction concode_field_sep void setName concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedMode... | java . lang . String function ( ) { return _edFunction . getLanguageId ( ) ; } |
8,956 | a flag that indicates whether there are more items in the list . if your results were truncated , you can use the marker parameter to make a subsequent pagination request to retrieve more items in the list . concode_field_sep String nextMarker concode_elem_sep Boolean truncated concode_elem_sep com.amazonaws.internal.S... | ListKeyPoliciesResult function ( Boolean arg0 ) { setTruncated ( arg0 ) ; return this ; } |
8,957 | sets the value of the diskavailableleast property . concode_field_sep Integer diskAvailableLeast concode_elem_sep Integer localGbUsed concode_elem_sep Integer memoryMb concode_elem_sep Integer returnCode concode_elem_sep Integer vcpusUsed concode_elem_sep Integer memoryMbUsed concode_elem_sep Integer freeDiskGb concode... | void function ( Integer arg0 ) { this . diskAvailableLeast = arg0 ; } |
8,958 | setter for the numberformat which is set on the underlying defaultjobparametersconverter . if not set explicitly , defaults to numberformat.getinstance locale.us ; concode_field_sep ExpandedJobParametersConverter jobParametersConverter concode_elem_sep String jobParametersAsJsonMap concode_elem_sep JobParameters jobPar... | void function ( NumberFormat arg0 ) { this . jobParametersConverter . setNumberFormat ( arg0 ) ; } |
8,959 | apply overhead factor , or default value in absence of estimate . concode_field_sep BandwidthMeter bandwidthMeter concode_elem_sep int queueSize concode_elem_sep int TRIGGER_MANUAL concode_elem_sep Format format concode_elem_sep int DEFAULT_MAX_INITIAL_BITRATE concode_elem_sep int DEFAULT_MAX_DURATION_FOR_QUALITY_DECRE... | long function ( long arg0 ) { return arg0 == BandwidthMeter . NO_ESTIMATE ? maxInitialBitrate : ( long ) ( arg0 * bandwidthFraction ) ; } |
8,960 | loads the text content of a file into a list of strings , each string corresponding to a line . the line endings are either \ n , \ r or \ r \ n. concode_field_sep PlaceHolder placeHolder concode_field_sep File newTemporaryFile concode_elem_sep File newFile concode_elem_sep File temporaryFolder concode_elem_sep File ne... | List < String > function ( File arg0 , String arg1 ) { checkArgumentCharsetIsSupported ( arg1 ) ; return linesOf ( arg0 , Charset . forName ( arg1 ) ) ; } |
8,961 | increments currentcandidateindex , unless it is already at its maximum . concode_field_sep Color[] dataSetColors concode_elem_sep ArrayList<DerivationTreeFrame> activeFrame concode_elem_sep int DEFAULT_HEIGHT concode_elem_sep int currentSourceIndex concode_elem_sep TranslationInfoList translations concode_elem_sep JLis... | void function ( ) { if ( currentCandidateIndex == translations . getInfo ( currentSourceIndex ) . getAllTranslations ( ) . size ( ) - 1 ) return ; currentCandidateIndex ++ ; return ; } |
8,962 | to use a existing configured amazonec2client as client concode_field_sep Integer proxyPort concode_elem_sep String secretKey concode_elem_sep AmazonEC2Client amazonEc2Client concode_elem_sep String accessKey concode_elem_sep String amazonEc2Endpoint concode_elem_sep String label concode_elem_sep EC2Operations operation... | void function ( AmazonEC2Client arg0 ) { this . amazonEc2Client = arg0 ; } |
8,963 | sets the action associated with the whiteboardobject to send . delete - draw - move concode_field_sep Logger logger concode_elem_sep String ACTION_DELETE concode_elem_sep String ELEMENT_NAME concode_elem_sep String ACTION_DRAW concode_elem_sep WhiteboardObjectJabberImpl whiteboardObject concode_elem_sep String action c... | void function ( String arg0 ) { this . action = arg0 ; } |
8,964 | create an instance of sbbvendor concode_field_sep PlaceHolder placeHolder concode_field_sep EnvEntryName createEnvEntryName concode_elem_sep SbbUsageParametersInterfaceName createSbbUsageParametersInterfaceName concode_elem_sep SbbClasses createSbbClasses concode_elem_sep EjbRef createEjbRef concode_elem_sep ResourceAd... | SbbVendor function ( ) { return new SbbVendor ( ) ; } |
8,965 | returns the list type with the primary key . concode_field_sep ListTypeLocalService _listTypeLocalService concode_field_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep com.liferay.portal.model.ListType createListType concode... | com . liferay . portal . model . ListType function ( long arg0 ) { return _listTypeLocalService . getListType ( arg0 ) ; } |
8,966 | gets protocol type concode_field_sep String PROTO_UDP concode_elem_sep String proto concode_elem_sep TransportListener listener concode_elem_sep UdpProvider udp_provider concode_field_sep void onServiceTerminated concode_elem_sep void halt concode_elem_sep void onReceivedPacket concode_elem_sep void sendMessage concode... | String function ( ) { return PROTO_UDP ; } |
8,967 | increments the item count . concode_field_sep double startBoundary concode_elem_sep long serialVersionUID concode_elem_sep int count concode_elem_sep double endBoundary concode_field_sep boolean equals concode_elem_sep double getStartBoundary concode_elem_sep Object clone concode_elem_sep double getBinWidth concode_ele... | void function ( ) { this . count ++ ; } |
8,968 | encode the image in a specific format . concode_field_sep PlaceHolder placeHolder concode_field_sep void writeBufferedImage concode_elem_sep void writeBufferedImage concode_elem_sep void writeBufferedImage concode_elem_sep void writeBufferedImage | byte [ ] function ( BufferedImage arg0 , String arg1 ) { ImageEncoder loc0 = ImageEncoderFactory . newInstance ( arg1 ) ; return loc0 . encode ( arg0 ) ; } |
8,969 | this method is used by the ibatis2 generators to know if the xml < selectkey > element should be placed before the insert sql statement . concode_field_sep String column concode_elem_sep String runtimeSqlStatement concode_elem_sep boolean isIdentity concode_elem_sep String configuredSqlStatement concode_elem_sep String... | boolean function ( ) { boolean loc0 ; if ( stringHasValue ( type ) ) { loc0 = true ; } else { loc0 = ! isIdentity ; } return loc0 ; } |
8,970 | format a string array to the java source code that represents this object . concode_field_sep int XID concode_elem_sep int XA_DATA_SOURCE concode_elem_sep int PREPARED_STATEMENT concode_elem_sep int SAVEPOINT concode_elem_sep int CLOB concode_elem_sep int DATA_SOURCE concode_elem_sep int BLOB concode_elem_sep int CALLA... | String function ( String [ ] arg0 ) { return StringUtils . quoteJavaStringArray ( arg0 ) ; } |
8,971 | gets the value of the primarybillingid property . concode_field_sep String name concode_elem_sep String primaryBillingId concode_elem_sep String id concode_elem_sep String secondaryBillingId concode_elem_sep String currencyCode concode_field_sep void setName concode_elem_sep String getCurrencyCode concode_elem_sep Stri... | String function ( ) { return primaryBillingId ; } |
8,972 | a method that will return the translatable status for a given language code . concode_field_sep PlaceHolder placeHolder concode_field_sep FontRenderingStatus isFontRenderingSupported concode_elem_sep int isFontRenderingSupported concode_elem_sep void translateWithOption concode_elem_sep void getBranding concode_elem_se... | boolean function ( Language arg0 ) { return isTranslatable ( arg0 . getLangCode ( ) ) ; } |
8,973 | return 1 or 0 based on condition concode_field_sep String[] args concode_elem_sep List<Runnable> initThreadHooks concode_elem_sep boolean hard concode_elem_sep Logger log concode_elem_sep List<Runnable> shutdownHooks concode_field_sep void setHardAssert concode_elem_sep void initThread concode_elem_sep void init concod... | ClarionNumber function ( boolean arg0 ) { return new ClarionNumber ( arg0 ? 1 : 0 ) ; } |
8,974 | create an instance of states concode_field_sep PlaceHolder placeHolder concode_field_sep Transitions createTransitions concode_elem_sep T createT concode_elem_sep S createS concode_elem_sep Fsm createFsm | States function ( ) { return new States ( ) ; } |
8,975 | gets selected time zone display name . concode_field_sep DateFormat selectedFormat concode_elem_sep int[] pacificXCoords concode_elem_sep int[] nfldXCoords concode_elem_sep int[] easternYCoords concode_elem_sep int[] alaskaYCoords concode_elem_sep int[] pacificYCoords concode_elem_sep ArrayList allTimeZoneList concode_... | String function ( ) { return displayNameTokenizer ( selectedTimeZone . getDisplayName ( ) ) ; } |
8,976 | resource string str_export_title export concode_field_sep String STR_INVALID_FILE_INPUT concode_elem_sep String STR_RESULT_DESCRIPTION concode_elem_sep String STR_EXPORT_ERROR concode_elem_sep String STR_FILE_NOT_WRITABLE concode_elem_sep ResourceBundle BUNDLE concode_elem_sep String STR_EXPORT_TITLE concode_elem_sep S... | String function ( Object ... arg0 ) { return format ( STR_EXPORT_TITLE , arg0 ) ; } |
8,977 | gets the value of the wday property . concode_field_sep String sec concode_elem_sep String wday concode_elem_sep String min concode_elem_sep String hour concode_elem_sep String year concode_elem_sep String mday concode_elem_sep String mon concode_field_sep Schedule withHour concode_elem_sep Schedule withMon concode_ele... | String function ( ) { return wday ; } |
8,978 | simply delegate to org.assertj.core.util.dateutil #parsedatetime string concode_field_sep Date actual concode_elem_sep Failures failures concode_elem_sep ExpectedException thrown concode_elem_sep Dates datesWithCustomComparisonStrategy concode_elem_sep YearAndMonthComparator yearAndMonthComparator concode_elem_sep Date... | Date function ( String arg0 ) { return DateUtil . parseDatetime ( arg0 ) ; } |
8,979 | throw the exception concode_field_sep PlaceHolder placeHolder concode_field_sep Object referenceInsert concode_elem_sep boolean shouldLogOnNullSet concode_elem_sep String includeEvent | Object function ( Class arg0 , String arg1 , Exception arg2 ) { throw arg2 ; } |
8,980 | gets the mime type for the file with the given name , by extension . this method tries to extract the file extension and then use the #getmimetypeforextension string to determine themime type . if the extension can not be determined , or the extension is unrecognized , this method return null . concode_field_sep String... | String function ( String arg0 ) { int loc0 = arg0 . lastIndexOf ( '.' ) ; if ( loc0 >= 1 && loc0 < arg0 . length ( ) - 1 ) { String loc1 = arg0 . substring ( loc0 + 1 ) ; return getMimeTypeForExtension ( loc1 ) ; } else { return null ; } } |
8,981 | static factory method to instantiate new flagged textmarker . concode_field_sep PlaceHolder placeHolder concode_field_sep Marker newTextMarker concode_elem_sep Marker newTextMarker concode_elem_sep Marker newShapeMarker concode_elem_sep Marker newShapeMarker | Marker function ( final String arg0 , final Color arg1 , final int arg2 ) { checkNotNull ( arg0 , "srini_string" ) ; checkNotNull ( arg1 , "srini_string" ) ; checkArgument ( arg2 > 0 , "srini_string" ) ; return new TextMarker ( arg0 , arg1 , arg2 , Priority . NORMAL , true ) ; } |
8,982 | creates a new instance of this comparator key . concode_field_sep long serialVersionUID concode_elem_sep String PROPERTY_DATE concode_elem_sep boolean m_asc concode_elem_sep int m_priority concode_elem_sep long m_date concode_elem_sep CmsObject m_cms concode_elem_sep Map<CmsUUID,CmsPriorityDateResourceComparator> m_key... | CmsPriorityDateResourceComparator function ( CmsResource arg0 , CmsObject arg1 ) { CmsPriorityDateResourceComparator loc0 = new CmsPriorityDateResourceComparator ( null , false ) ; loc0 . init ( arg0 , arg1 ) ; return loc0 ; } |
8,983 | get an array of the current difference set . concode_field_sep Set<E> removals concode_elem_sep Set<E> source concode_field_sep boolean add concode_elem_sep boolean contains concode_elem_sep Iterator<E> iterator concode_elem_sep boolean removeAll concode_elem_sep int size concode_elem_sep boolean addAll concode_elem_se... | Object [ ] function ( ) { return calculate ( ) . toArray ( ) ; } |
8,984 | get a array the contains all exiftag in this ifd . 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 checkCollision concode_elem_s... | ExifTag [ ] function ( ) { return mExifTags . values ( ) . toArray ( new ExifTag [ mExifTags . size ( ) ] ) ; } |
8,985 | remove any existing value for the specified attribute name . concode_field_sep String name concode_elem_sep HashMap attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList children concode_field_sep TreeNode findChild concode_elem_sep String findAttribute concode_elem_sep Str... | void function ( String arg0 ) { if ( attributes != null ) attributes . remove ( arg0 ) ; } |
8,986 | creates a compositedata instance of this instance concode_field_sep long executionMaxTime concode_elem_sep String[] ITEM_DESCRIPTIONS concode_elem_sep long cacheHitCount concode_elem_sep String query concode_elem_sep String TABULAR_TYPE_NAME concode_elem_sep long cachePutCount concode_elem_sep CompositeType COMPOSITE_T... | CompositeData function ( ) { try { return new CompositeDataSupport ( COMPOSITE_TYPE , ITEM_NAMES , new Object [ ] { query , cacheHitCount , cacheMissCount , cachePutCount , executionCount , executionRowCount , executionAvgTime , executionMaxTime , executionMinTime } ) ; } catch ( OpenDataException loc0 ) { throw new Ru... |
8,987 | returns the resource id . concode_field_sep byte[] m_fileContent concode_elem_sep String m_str concode_elem_sep long serialVersionUID concode_elem_sep int m_publishTagFrom concode_elem_sep int m_last concode_elem_sep int m_onlineFlag concode_elem_sep String m_resourceId concode_elem_sep int m_publishTagTo concode_field... | String function ( ) { return m_resourceId ; } |
8,988 | gets the timezone location used to identify this time zone . concode_field_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_elem_sep String checkboxId concode_field_sep String getUseDaylightTime concode_elem_sep boolean isRelevantComponentId concode_elem_sep String... | String function ( ) { return id ; } |
8,989 | returns the next token if it is an operator . otherwise , it resets the stream and returns null . concode_field_sep Pattern PUNCTUATION concode_elem_sep String stream concode_elem_sep int streamPos concode_field_sep void skipUnit concode_elem_sep boolean hasMoreTokens concode_elem_sep void sanitizeQuery concode_elem_se... | Token function ( ) { int loc0 = streamPos ; Token loc1 = nextToken ( ) ; if ( loc1 != null && loc1 . isOperator ( ) ) { return loc1 ; } else { streamPos = loc0 ; return null ; } } |
8,990 | returns the address of the connection that requests authorization or null if unknown . concode_field_sep String protocol concode_elem_sep RequestorType rt concode_elem_sep String scheme concode_elem_sep int port concode_elem_sep String host concode_elem_sep InetAddress addr concode_elem_sep Authenticator thisAuthentica... | InetAddress function ( ) { return this . addr ; } |
8,991 | an auto scaling lifecycle event hook name . concode_field_sep String hook concode_elem_sep String name concode_field_sep void setName concode_elem_sep AutoScalingGroup withHook concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep AutoScalingGroup clone concode_e... | void function ( String arg0 ) { this . hook = arg0 ; } |
8,992 | returns the plugin 's service name what you 'd use when calling pluginmanger.getplugin concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName concode_field_sep boolean onReceivedClientCertRequest concode_elem... | String function ( ) { return serviceName ; } |
8,993 | updates the social activity setting in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep SocialActivitySettingLocalService _socialActivitySettingLocalService concode_field_sep void updateActivitySetting concode_elem_sep void updateActivitySetting concod... | com . liferay . portlet . social . model . SocialActivitySetting function ( com . liferay . portlet . social . model . SocialActivitySetting arg0 ) { return _socialActivitySettingLocalService . updateSocialActivitySetting ( arg0 ) ; } |
8,994 | gets the value of the custom property . concode_field_sep CustomReceiverTradingPartnerType custom concode_elem_sep long serialVersionUID concode_elem_sep List<IdentifierType> tradingPartnerID concode_field_sep void setCustom concode_elem_sep List<IdentifierType> getTradingPartnerID | CustomReceiverTradingPartnerType function ( ) { return custom ; } |
8,995 | this method was generated by mybatis generator . this method sets the value of the database column boss_service_bill . charge_year concode_field_sep Date accountStart concode_elem_sep BigDecimal totalCharge concode_elem_sep Date accountEnd concode_elem_sep Integer chargeYear concode_elem_sep Integer chargeMonth concode... | void function ( Integer arg0 ) { this . chargeYear = arg0 ; } |
8,996 | amazon s3 bucket name where the . zip file containing your deployment package is stored . this bucket must reside in the same aws region where you are creating the lambda function . constraints : length : 3 - 63 pattern : ^ 0-9a-za-z \ . \ - _ ? concode_field_sep String s3ObjectVersion concode_elem_sep String s3Key con... | String function ( ) { return s3Bucket ; } |
8,997 | method declaration concode_field_sep String ls concode_elem_sep Vector vList concode_elem_sep int MAX_LINELENGTH concode_elem_sep Vector vSwitches concode_elem_sep Vector vSwitchOn concode_elem_sep Vector vSwitchOff concode_field_sep boolean processFile concode_elem_sep void writeFileLines concode_elem_sep void process... | void function ( String arg0 ) { System . out . println ( "srini_string" ) ; System . out . println ( "srini_string" + arg0 ) ; } |
8,998 | returns true if the mac address is the broadcast address . concode_field_sep long LLDP_MAC_ADDRESS_MASK concode_elem_sep MacAddress BROADCAST concode_elem_sep long BROADCAST_VAL concode_elem_sep int MacAddrLen concode_elem_sep MacAddress NONE concode_elem_sep MacAddress NO_MASK concode_elem_sep int MAC_STRING_LENGTH co... | boolean function ( ) { return this == BROADCAST ; } |
8,999 | gives user an opportunity to add money to his cash box concode_field_sep Integer currentSum concode_elem_sep String name concode_field_sep void takeAllMoney concode_elem_sep String printInformation | void function ( Integer arg0 ) { if ( arg0 < 0 ) { System . out . println ( "srini_string" ) ; } else currentSum += arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.