idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
23,900 | return first node satisfying the pred concode_field_sep PlaceHolder placeHolder concode_field_sep List<? extends Tree> getAncestors concode_elem_sep Collection<ParseTree> findAllTokenNodes concode_elem_sep ParserRuleContext getRootOfSubtreeEnclosingRegion concode_elem_sep List<ParseTree> descendants concode_elem_sep St... | Tree function ( Tree arg0 , Predicate < Tree > arg1 ) { if ( arg1 . test ( arg0 ) ) return arg0 ; int loc0 = arg0 . getChildCount ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { Tree loc2 = findNodeSuchThat ( arg0 . getChild ( loc1 ) , arg1 ) ; if ( loc2 != null ) return loc2 ; } return null ; } |
23,901 | get the stateauditrecords value . concode_field_sep String submitter concode_elem_sep List<JobErrorDetails> errorMessage concode_elem_sep JobType type concode_elem_sep Integer priority concode_elem_sep Integer degreeOfParallelism concode_elem_sep List<String> logFilePatterns concode_elem_sep JobResult result concode_el... | List < JobStateAuditRecord > function ( ) { return this . stateAuditRecords ; } |
23,902 | helper method which creates the standard output stream . vm implementors may choose to construct these streams differently . this method can also return null if the stream is created somewhere else in the vm startup sequence . concode_field_sep PlaceHolder placeHolder concode_field_sep void setErr concode_elem_sep Inpu... | PrintStream function ( ) { return new PrintStream ( new BufferedOutputStream ( new FileOutputStream ( FileDescriptor . out ) ) , true ) ; } |
23,903 | gets the value of the komentar property . concode_field_sep String nazev concode_elem_sep String komentar concode_elem_sep TKlicovaSlova klicovaSlova concode_field_sep void setNazev concode_elem_sep void setKomentar concode_elem_sep TKlicovaSlova getKlicovaSlova concode_elem_sep String getNazev concode_elem_sep void se... | String function ( ) { return komentar ; } |
23,904 | utility method for finding month names . concode_field_sep int OFFSET_HH concode_elem_sep int OFFSET_MM concode_elem_sep String month concode_elem_sep int OFFSET_SS concode_elem_sep String second concode_elem_sep int OFFSET_YYYY concode_elem_sep String minute concode_elem_sep String hour concode_elem_sep String[] month... | String function ( String arg0 ) { int loc0 = 0 ; try { loc0 = Integer . parseInt ( arg0 ) ; } catch ( NumberFormatException loc1 ) { } return monthNames [ loc0 ] ; } |
23,905 | get the name of the parser class for a given catalog type . this method returns the parserclass associated with the namespaceuri/rootelement names specified . concode_field_sep Hashtable namespaceMap concode_field_sep void setCatalogParser concode_elem_sep void readCatalog concode_elem_sep void readCatalog | String function ( String arg0 , String arg1 ) { if ( arg0 == null ) { return ( String ) namespaceMap . get ( arg1 ) ; } else { return ( String ) namespaceMap . get ( "srini_string" + arg0 + "srini_string" + arg1 ) ; } } |
23,906 | gets the value of the componentstatus property . concode_field_sep List<ProductPrice> offeringPrice concode_elem_sep List<OfferingComponentNotification> notification concode_elem_sep Status componentStatus concode_elem_sep long serialVersionUID concode_elem_sep ProductProfile componentProduct concode_elem_sep BigIntege... | Status function ( ) { return componentStatus ; } |
23,907 | returns true if the given state is currently active otherwise false . concode_field_sep boolean f_available_in_next_cycle concode_elem_sep boolean f_available_in_cycle concode_elem_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean f concode_elem_sep int nextStateIndex concode_elem_sep ... | boolean function ( State arg0 ) { switch ( arg0 ) { case r1_A : return stateVector [ 0 ] == State . r1_A ; case r1_B : return stateVector [ 0 ] == State . r1_B ; case r2_B : return stateVector [ 1 ] == State . r2_B ; default : return false ; } } |
23,908 | get the blockid from the name of the meta or block file concode_field_sep long blockId concode_elem_sep long numBytes concode_elem_sep String METADATA_EXTENSION concode_elem_sep String BLOCK_FILE_PREFIX concode_elem_sep Pattern metaOrBlockFilePattern concode_elem_sep Pattern metaFilePattern concode_elem_sep Pattern blo... | long function ( String arg0 ) { Matcher loc0 = metaOrBlockFilePattern . matcher ( arg0 ) ; return loc0 . matches ( ) ? Long . parseLong ( loc0 . group ( 1 ) ) : 0 ; } |
23,909 | gets the value of the id property . concode_field_sep String replicationType concode_elem_sep Boolean homeIsClusterable concode_elem_sep String homeCallRouterClassName concode_elem_sep Boolean useServersideStubs concode_elem_sep String id concode_elem_sep String homeLoadAlgorithm concode_field_sep void setHomeCallRoute... | String function ( ) { return id ; } |
23,910 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep JustSymbolEnum justSymbol concode_elem_sep List<ArrayEnumEnum> arrayEnum concode_elem_sep String value concode_field_sep JustSymbolEnum fromValue concode_elem_sep ArrayEnumEnum fromValue concode_elem_sep Enu... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
23,911 | sets the value of the strategy property . concode_field_sep EagerLoadGroup eagerLoadGroup concode_elem_sep PageSize pageSize concode_elem_sep List<LeftJoin> leftJoin concode_elem_sep Strategy strategy concode_field_sep Strategy getStrategy concode_elem_sep PageSize getPageSize concode_elem_sep List<LeftJoin> getLeftJoi... | void function ( final Strategy arg0 ) { this . strategy = arg0 ; } |
23,912 | does the database use lower case for identifiers concode_field_sep boolean supportsSchemasInProcedureCalls concode_elem_sep boolean storesLowerCaseIdentifiers concode_elem_sep boolean procedureColumnMetaDataUsed concode_elem_sep List<CallParameterMetaData> callParameterMetaData concode_elem_sep Log logger concode_elem_... | boolean function ( ) { return this . storesLowerCaseIdentifiers ; } |
23,913 | check if targeted column value in the row indexed i is less than the search target object . concode_field_sep int[][] data concode_elem_sep int count concode_elem_sep int targetSearchValue concode_elem_sep int sortedColumn concode_elem_sep int targetSearchColumn concode_field_sep void putPair concode_elem_sep void add ... | boolean function ( int arg0 ) { return targetSearchValue > data [ targetSearchColumn ] [ arg0 ] ; } |
23,914 | sets the value of the params property . concode_field_sep GetResponseTypeParams params concode_elem_sep String operation concode_field_sep String getOperation concode_elem_sep void setOperation concode_elem_sep GetResponseTypeParams getParams | void function ( GetResponseTypeParams arg0 ) { this . params = arg0 ; } |
23,915 | some checks for the indexof comparable method . concode_field_sep double EPSILON concode_field_sep void testAddSeries concode_elem_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testGetSeriesKey concode_elem_sep void testEquals concode_elem_s... | void function ( ) { DefaultXYDataset loc0 = createSampleDataset1 ( ) ; assertEquals ( 0 , loc0 . indexOf ( "srini_string" ) ) ; assertEquals ( 1 , loc0 . indexOf ( "srini_string" ) ) ; assertEquals ( - 1 , loc0 . indexOf ( "srini_string" ) ) ; assertEquals ( - 1 , loc0 . indexOf ( null ) ) ; } |
23,916 | sets the position of this roaduser on the current drivelane concode_field_sep Color color concode_elem_sep int cycleAsked concode_elem_sep int waitTl concode_elem_sep int prevWaitTl concode_elem_sep Node destNode concode_elem_sep int prevSign concode_elem_sep int drivelaneStartTime concode_elem_sep boolean voted concod... | void function ( int arg0 ) { position = arg0 ; } |
23,917 | sets the value of the requestexpirationtimestamp property . concode_field_sep FilterCriteria filterCriteria concode_elem_sep String eventCategory concode_elem_sep String operationExecutionTime concode_elem_sep String requestExpirationTimestamp concode_elem_sep String resultExpirationTimestamp concode_elem_sep String gr... | void function ( String arg0 ) { this . requestExpirationTimestamp = arg0 ; } |
23,918 | transforms this iterable in a single object having the same methods of a single object in this iterable . that allows to invoke a method on each t in the collection with a single strong typed method call . the actual class of t is inferred from the class of the first iterable 's item , but you can specify a particular ... | T function ( ) { return Lambda . forEach ( getInnerIterator ( ) ) ; } |
23,919 | retreives a thread instance for running the specified runnable concode_field_sep ThreadFactory factory concode_field_sep ThreadFactory getImpl concode_elem_sep ThreadFactory setImpl | Thread function ( Runnable arg0 ) { return factory == this ? new Thread ( arg0 ) : factory . newThread ( arg0 ) ; } |
23,920 | start the worker thread . concode_field_sep Logger LOG concode_elem_sep ThreadVar myThreadVar concode_elem_sep Object value concode_elem_sep ModalityState myModalityState concode_elem_sep Thread myThread concode_field_sep void onThrowable concode_elem_sep Object getValue concode_elem_sep Thread get concode_elem_sep Obj... | void function ( ) { Thread loc0 = myThreadVar . get ( ) ; if ( loc0 != null ) { loc0 . start ( ) ; } } |
23,921 | returns the publication . concode_field_sep long serialVersionUID concode_elem_sep ResultPublication resultPublication concode_elem_sep String subtitle concode_elem_sep Translation translation concode_elem_sep Language language concode_elem_sep Long id concode_field_sep Language getLanguage concode_elem_sep int hashCod... | ResultPublication function ( ) { return resultPublication ; } |
23,922 | for local access concode_field_sep JMSProviderAdapter adapter concode_elem_sep JmsMCFProperties mcfProperties concode_elem_sep Logger log concode_field_sep void setSessionDefaultType concode_elem_sep String getSessionDefaultType concode_elem_sep void setPassword concode_elem_sep void setLogWriter concode_elem_sep Conne... | void function ( final JMSProviderAdapter arg0 ) { this . adapter = arg0 ; } |
23,923 | set the prefix that gets prepended to view names when building a url . concode_field_sep UrlBasedViewResolver viewResolver concode_field_sep UrlBasedViewResolverRegistration prefix concode_elem_sep UrlBasedViewResolverRegistration viewNames concode_elem_sep UrlBasedViewResolverRegistration suffix concode_elem_sep UrlBa... | UrlBasedViewResolverRegistration function ( String arg0 ) { this . viewResolver . setPrefix ( arg0 ) ; return this ; } |
23,924 | set in millis , the last time the cache was accessed . concode_field_sep File fileToWrite concode_elem_sep File cacheDir concode_elem_sep ThreadExecutor threadExecutor concode_elem_sep long EXPIRATION_TIME concode_elem_sep FileManager fileManager concode_elem_sep String DEFAULT_FILE_NAME concode_elem_sep Context contex... | void function ( ) { long loc0 = System . currentTimeMillis ( ) ; this . fileManager . writeToPreferences ( this . context , SETTINGS_FILE_NAME , SETTINGS_KEY_LAST_CACHE_UPDATE , loc0 ) ; } |
23,925 | this should not be in this class , move to a dedicated ascii-art class when appropriate . use this to standardize the width of some text output to all be right-justified and space-padded on the left side to fill up the given column width . concode_field_sep PlaceHolder placeHolder concode_field_sep void print concode_e... | String function ( String arg0 , int arg1 ) { return String . format ( "srini_string" + arg1 + "srini_string" , arg0 ) ; } |
23,926 | get latitude . concode_field_sep Integer rooms concode_elem_sep Integer pricePerMonth concode_elem_sep Landlord landlord concode_elem_sep String city concode_elem_sep double latitude concode_elem_sep String postcode concode_elem_sep Date validFrom concode_elem_sep Type type concode_elem_sep String number concode_elem_s... | double function ( ) { return latitude ; } |
23,927 | encodes a byte array into base64 format . no blanks or line breaks are inserted in the output . concode_field_sep char[] map1 concode_elem_sep String systemLineSeparator concode_elem_sep byte[] map2 concode_field_sep byte[] decodeLines concode_elem_sep String encodeLines concode_elem_sep String encodeLines concode_elem... | char [ ] function ( byte [ ] arg0 ) { return encode ( arg0 , 0 , arg0 . length ) ; } |
23,928 | the content-disposition header value in the http reseponse . concode_field_sep String contentDisposition concode_elem_sep java.nio.ByteBuffer body concode_elem_sep String contentType concode_field_sep java.nio.ByteBuffer getBody concode_elem_sep GetSdkResult withContentType concode_elem_sep int hashCode concode_elem_se... | String function ( ) { return this . contentDisposition ; } |
23,929 | return previous phonecallstate 's concode_field_sep PhoneCallState mCurrentCallState concode_elem_sep PhoneCallState mPreviousCallState concode_elem_sep boolean mThreeWayCallOrigStateDialing concode_elem_sep boolean mAddCallMenuStateAfterCW concode_field_sep boolean getAddCallMenuStateAfterCallWaiting concode_elem_sep ... | PhoneCallState function ( ) { return mPreviousCallState ; } |
23,930 | clears the map , total and default value concode_field_sep double defaultValue concode_elem_sep double total concode_elem_sep MapFactory<K1,ClassicCounter<K2>> outerMF concode_elem_sep long serialVersionUID concode_elem_sep Map<K1,ClassicCounter<K2>> map concode_elem_sep MapFactory<K2,MutableDouble> innerMF concode_fie... | void function ( ) { map . clear ( ) ; total = 0 ; defaultValue = 0 ; } |
23,931 | add a link to the config for the default mount table concode_field_sep PlaceHolder placeHolder concode_field_sep void setHomeDirConf concode_elem_sep void setHomeDirConf concode_elem_sep String getHomeDirValue concode_elem_sep String getHomeDirValue concode_elem_sep String getConfigViewFsPrefix concode_elem_sep String ... | void function ( final Configuration arg0 , final String arg1 , final URI arg2 ) { addLink ( arg0 , Constants . CONFIG_VIEWFS_DEFAULT_MOUNT_TABLE , arg1 , arg2 ) ; } |
23,932 | extract the simp session attributes from the given message , wrap them in a simpattributes instance and bind it to the current thread , concode_field_sep ThreadLocal<SimpAttributes> attributesHolder concode_field_sep SimpAttributes getAttributes concode_elem_sep void setAttributes concode_elem_sep SimpAttributes curren... | void function ( Message < ? > arg0 ) { setAttributes ( SimpAttributes . fromMessage ( arg0 ) ) ; } |
23,933 | returns the id of the triangle . concode_field_sep boolean border concode_elem_sep List<Edge> edges concode_elem_sep List<Triangle> neighbours concode_elem_sep int id concode_field_sep boolean addNeighbour concode_elem_sep boolean removeNeighbour concode_elem_sep boolean isBorder concode_elem_sep List<Triangle> getNeig... | int function ( ) { return this . id ; } |
23,934 | save this state into the current thread 's local storage concode_field_sep FileInfo fileInfo concode_elem_sep boolean asyncLifecycle concode_elem_sep ThreadLocal holder concode_elem_sep UploadConfig uploadConfig concode_elem_sep String iframeContent concode_field_sep UploadStateHolder take concode_elem_sep void setAsyn... | void function ( ) { holder . set ( this ) ; } |
23,935 | returns the action of the binding . concode_field_sep BindingAction action concode_field_sep placeholderType placeHolder | BindingAction function ( ) { return action ; } |
23,936 | deletes all existing tracks & release associated resources . concode_field_sep VideoStream mVideoStream concode_elem_sep InetAddress mDestination concode_elem_sep Object sLock concode_elem_sep int mTimeToLive concode_elem_sep Context mContext concode_elem_sep long mTimestamp concode_elem_sep WifiManager.MulticastLock m... | void function ( ) { synchronized ( sLock ) { if ( mVideoStream != null ) { mVideoStream . stop ( ) ; mVideoStream = null ; } if ( mAudioStream != null ) { mAudioStream . stop ( ) ; mAudioStream = null ; } } } |
23,937 | set the order for this result handler relative to others . by default set to ordered #lowest_precedence , however see javadoc of sub-classes which may change this default . concode_field_sep ReactiveAdapterRegistry adapterRegistry concode_elem_sep RequestedContentTypeResolver contentTypeResolver concode_elem_sep MediaT... | void function ( int arg0 ) { this . order = arg0 ; } |
23,938 | utility method to merge instructions from props2 into the props1 . the instructions from props2 do not override the instructions from props1 when both contain the sameinstruction , so instructions from props1 stay unchanged and are contained in the file set ofinstructions . notice that entries with empty values from pr... | Properties function ( Properties arg0 , Properties arg1 ) { Properties loc0 = new Properties ( ) ; loc0 . putAll ( arg0 ) ; for ( String loc1 : arg1 . stringPropertyNames ( ) ) { if ( ! arg0 . containsKey ( loc1 ) && ! Strings . isNullOrEmpty ( arg1 . getProperty ( loc1 ) ) ) { loc0 . put ( loc1 , arg1 . getProperty ( ... |
23,939 | the time interval at which we should consider whether or not to show some voice search hints . concode_field_sep long VOICE_SEARCH_HINT_VISIBLE_PERIOD concode_elem_sep long DAY_MILLIS concode_elem_sep String TAG concode_elem_sep int HTTP_CONNECT_TIMEOUT_MILLIS concode_elem_sep long VOICE_SEARCH_HINT_ACTIVE_PERIOD conco... | long function ( ) { return VOICE_SEARCH_HINT_UPDATE_INTERVAL ; } |
23,940 | explain the description for this method here . concode_field_sep String password concode_elem_sep Date lastCheckDate concode_elem_sep String svnUrl concode_elem_sep Date firstDateCommitted concode_elem_sep SVNWCClient wcClient concode_elem_sep String wcPath concode_elem_sep Long rev concode_elem_sep String username con... | void function ( ) { } |
23,941 | sets the value of the grpsp property . concode_field_sep CTPositiveSize2D ext concode_elem_sep CTGroupShape grpSp concode_elem_sep CTGraphicalObjectFrame graphicFrame concode_elem_sep CTMarker from concode_elem_sep CTPicture pic concode_elem_sep CTAnchorClientData clientData concode_elem_sep CTShape sp concode_elem_sep... | void function ( CTGroupShape arg0 ) { this . grpSp = arg0 ; } |
23,942 | translates a gl error code to a string describing the error . concode_field_sep PlaceHolder placeHolder concode_field_sep void checkEGLError concode_elem_sep String translateEGLErrorString concode_elem_sep void checkGLError | String function ( int arg0 ) { switch ( arg0 ) { case GL_NO_ERROR : return "srini_string" ; case GL_INVALID_ENUM : return "srini_string" ; case GL_INVALID_VALUE : return "srini_string" ; case GL_INVALID_OPERATION : return "srini_string" ; case GL_OUT_OF_MEMORY : return "srini_string" ; default : return null ; } } |
23,943 | construct and return a fixed-size row . the row will not grow when the layout is resized , and its size will be computed from the default sizes of its children . concode_field_sep boolean grows concode_elem_sep int size concode_elem_sep boolean largerThanChildren concode_field_sep Row growing concode_elem_sep Row growi... | Row function ( ) { return new Row ( false ) ; } |
23,944 | sets the value of the id property . concode_field_sep String id concode_field_sep String getId | void function ( String arg0 ) { this . id = arg0 ; } |
23,945 | given the uri to a pdf file , and a slide number , returns a url to the image . concode_field_sep PlaceHolder placeHolder concode_field_sep DeployedPDF loadDeployedPDF | URL function ( String arg0 , int arg1 ) { String loc0 = arg0 + "srini_string" + arg1 + "srini_string" ; return AssetUtils . getAssetURL ( loc0 ) ; } |
23,946 | gets the value of the evidencniudaje property . concode_field_sep TEvidencniUdajeDilu evidencniUdaje concode_elem_sep TDokumenty dokumenty concode_elem_sep String id concode_field_sep void setDokumenty concode_elem_sep void setEvidencniUdaje concode_elem_sep void setID concode_elem_sep String getID concode_elem_sep TDo... | TEvidencniUdajeDilu function ( ) { return evidencniUdaje ; } |
23,947 | returns true if the edge is left or right , and false otherwise . concode_field_sep RectangleEdge LEFT concode_elem_sep RectangleEdge RIGHT concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep RectangleEdge TOP concode_elem_sep RectangleEdge BOTTOM concode_field_sep double coordinate con... | boolean function ( final RectangleEdge arg0 ) { return ( arg0 == RectangleEdge . LEFT || arg0 == RectangleEdge . RIGHT ) ; } |
23,948 | modified clone override concode_field_sep Integer rssi concode_field_sep int hashCode concode_elem_sep void setRssi concode_elem_sep boolean equals concode_elem_sep Integer getRssi concode_elem_sep int compareTo | Object function ( ) { RSSI2DistInternalBufferRaw loc0 = ( RSSI2DistInternalBufferRaw ) super . loc0 ( ) ; loc0 . rssi = new Integer ( ( Integer ) rssi ) ; return loc0 ; } |
23,949 | called when the user clicks `` done . '' can be called only once . if this method is called , then cancel should not be called . concode_field_sep List<EditorFieldModel> mFields concode_elem_sep String mTitle concode_elem_sep Runnable mDoneCallback concode_elem_sep Runnable mCancelCallback concode_field_sep void cancel... | void function ( ) { if ( mDoneCallback != null ) mDoneCallback . run ( ) ; mDoneCallback = null ; mCancelCallback = null ; } |
23,950 | clears the data associated with the specified type . concode_field_sep String COLUMN_DELIMITER concode_elem_sep String ROW_DELIMITER concode_field_sep List<List<String>> convertTableData concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep String getContents concode_elem_sep Object getCont... | void function ( Transfer arg0 ) { Clipboard loc0 = getSystemClipboard ( ) ; loc0 . setContents ( new Object [ ] { null } , new Transfer [ ] { arg0 } ) ; } |
23,951 | main method , used to run the application . concode_field_sep Logger log concode_elem_sep Environment env concode_field_sep void initApplication concode_elem_sep void addLiquibaseScanPackages concode_elem_sep void addDefaultProfile | void function ( String [ ] arg0 ) { SpringApplication loc0 = new SpringApplication ( Application . class ) ; loc0 . setShowBanner ( false ) ; SimpleCommandLinePropertySource loc1 = new SimpleCommandLinePropertySource ( arg0 ) ; addDefaultProfile ( loc0 , loc1 ) ; } |
23,952 | deletes all hints for the provided destination . does n't make snapshots - should be used with care . concode_field_sep HintsBufferPool bufferPool concode_elem_sep ImmutableMap<String,Object> EMPTY_PARAMS concode_elem_sep int MIN_BUFFER_SIZE concode_elem_sep boolean isShutDown concode_elem_sep String MBEAN_NAME concode... | void function ( InetAddress arg0 ) { UUID loc0 = StorageService . instance . getHostIdForEndpoint ( arg0 ) ; if ( loc0 == null ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; catalog . deleteAllHints ( loc0 ) ; } |
23,953 | returns the type of transform . concode_field_sep GradientPaintTransformType type concode_elem_sep long serialVersionUID concode_field_sep GradientPaint transform concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Object clone | GradientPaintTransformType function ( ) { return this . type ; } |
23,954 | set the default l & f . while i enjoy the bounty of the sixteen possible exception types that this uimanager method might throw , i feel that in just this one particular case , i 'm being spoiled by those engineers at sun , those masters of the abstractionverse . it leaves me feeling sad and overweight . so instead , i... | void function ( ) { UIManager . setLookAndFeel ( UIManager . getSystemLookAndFeelClassName ( ) ) ; } |
23,955 | returns the class on which the method with name `` getter '' and parameters of type parametertypes is declared . the given instanceclass is the instance on which the method cn be called . if the method is not available on the given instanceclass , null is returned . concode_field_sep Map<Class<?>,Class<?>> primitiveWra... | Class < ? > function ( Class < ? > arg0 , String arg1 , Class < ? > ... arg2 ) { try { return arg0 . getMethod ( arg1 , arg2 ) . getDeclaringClass ( ) ; } catch ( NoSuchMethodException loc0 ) { return null ; } } |
23,956 | gets the value of the ejbrefname property . concode_field_sep EjbRefType ejbRefType concode_elem_sep Description description concode_elem_sep String id concode_elem_sep EjbRefName ejbRefName concode_elem_sep Remote remote concode_elem_sep Home home concode_field_sep void setEjbRefName concode_elem_sep Home getHome conc... | EjbRefName function ( ) { return ejbRefName ; } |
23,957 | returns the parent account id of this account . concode_field_sep Account _account 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 boolean isEscapedModel concode... | long function ( ) { return _account . getParentAccountId ( ) ; } |
23,958 | see comment for getmoreresults . concode_field_sep boolean isEscapeProcessing concode_elem_sep int queryTimeout concode_elem_sep Result errorResult concode_elem_sep int SUCCESS_NO_INFO concode_elem_sep Result batchResultOut concode_elem_sep int maxRows concode_elem_sep JDBCConnection connection concode_elem_sep int RET... | void function ( ) { if ( currentResultSet != null ) { currentResultSet . close ( ) ; } if ( generatedResultSet != null ) { generatedResultSet . close ( ) ; } generatedResultSet = null ; generatedResult = null ; resultIn = null ; currentResultSet = null ; } |
23,959 | access methods concode_field_sep int mWhat concode_elem_sep int STARTBELL concode_elem_sep int SETSENSORINACTIVE concode_elem_sep int ENTRY concode_elem_sep Thread _waitingThread concode_elem_sep int EXIT concode_elem_sep int SENSORINACTIVE concode_elem_sep int TOMANUALMODE concode_elem_sep boolean _waitingForSectionEx... | int function ( ) { return mWhen ; } |
23,960 | generates the hash code for the compact array object concode_field_sep boolean isCompact concode_elem_sep int INDEXSHIFT concode_elem_sep byte[] values concode_elem_sep int INDEXCOUNT concode_elem_sep short indices[] concode_elem_sep int[] hashes concode_elem_sep int BLOCKMASK concode_elem_sep int BLOCKCOUNT concode_el... | int function ( ) { int loc0 = 0 ; int loc1 = Math . min ( 3 , values . length / 16 ) ; for ( int loc2 = 0 ; loc2 < values . length ; loc2 += loc1 ) { loc0 = loc0 * 37 + values [ loc2 ] ; } return loc0 ; } |
23,961 | an image visualizing the connection . concode_field_sep String profileUrl concode_elem_sep Long expireTime concode_elem_sep String providerId concode_elem_sep String displayName concode_elem_sep String imageUrl concode_elem_sep String secret concode_elem_sep String accessToken concode_elem_sep String providerUserId con... | String function ( ) { return imageUrl ; } |
23,962 | add a listener to be notified as the tests run . concode_field_sep RunNotifier notifier concode_field_sep String getVersion concode_elem_sep void main concode_elem_sep Result run concode_elem_sep Result run concode_elem_sep Result run concode_elem_sep Result run concode_elem_sep Result run concode_elem_sep Result runMa... | void function ( RunListener arg0 ) { notifier . addListener ( arg0 ) ; } |
23,963 | generates the result key blob for this exemption mechanism and stores it into the output buffer . concode_field_sep Provider provider concode_elem_sep boolean generated concode_elem_sep ExemptionMechanismSpi spiImpl concode_elem_sep String mechanism concode_elem_sep Engine ENGINE concode_elem_sep boolean isInit concode... | int function ( byte [ ] arg0 ) { return genExemptionBlob ( arg0 , 0 ) ; } |
23,964 | convert the given byte buffer to a string . the resulting string can be converted back to the same byte buffer through #stringtobytes string . concode_field_sep long DEFAULT_DRIVER_MEM_MB concode_elem_sep Logger logger concode_elem_sep ImmutableMap<String,ByteUnit> byteSuffixes concode_elem_sep ImmutableMap<String,Time... | String function ( ByteBuffer arg0 ) { return Unpooled . wrappedBuffer ( arg0 ) . toString ( Charsets . UTF_8 ) ; } |
23,965 | returns the dewpoint in degrees . concode_field_sep Double current concode_elem_sep Double min concode_elem_sep Double dewpoint concode_elem_sep Double max concode_elem_sep Double feel concode_field_sep void setMax concode_elem_sep void setDewpoint concode_elem_sep void setMin concode_elem_sep void setFeel concode_elem... | Double function ( ) { return dewpoint ; } |
23,966 | returns the media to use to compute the styles . concode_field_sep StyleSheet parent concode_elem_sep Rule[] rules concode_elem_sep int size concode_elem_sep boolean alternate concode_elem_sep SACMediaList media concode_elem_sep String title concode_field_sep boolean isAlternate concode_elem_sep StyleSheet getParent co... | SACMediaList function ( ) { return media ; } |
23,967 | returns true if there is another postponed route to try . 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_ele... | boolean function ( ) { return ! postponedRoutes . isEmpty ( ) ; } |
23,968 | a list of error messages . concode_field_sep String[] diagnostics concode_elem_sep long finishTime concode_elem_sep Counters counters concode_elem_sep TIPStatus currentStatus concode_elem_sep float progress concode_elem_sep TaskAttemptID successfulAttempt concode_elem_sep long startTime concode_elem_sep String state co... | String [ ] function ( ) { return diagnostics ; } |
23,969 | return the next int from the input stream . concode_field_sep Scanner scanner concode_elem_sep String charsetName concode_elem_sep Locale usLocale concode_field_sep boolean isEmpty concode_elem_sep String readString concode_elem_sep String[] readStrings concode_elem_sep double[] readDoubles concode_elem_sep void main c... | int function ( ) { return scanner . nextInt ( ) ; } |
23,970 | get the search strategy . concode_field_sep String mPatternString concode_elem_sep Pattern mPattern concode_elem_sep int MATCH concode_elem_sep int FIND concode_elem_sep int LOOKINGAT concode_elem_sep int mStrategy concode_field_sep void setStrategy concode_elem_sep void setPattern concode_elem_sep String getPattern co... | int function ( ) { return ( mStrategy ) ; } |
23,971 | returns an unmodifiable set that contains all scopes declared by this class . concode_field_sep String USERINFO_EMAIL concode_field_sep placeholderType placeHolder | java . util . Set < String > function ( ) { java . util . Set < String > loc0 = new java . util . HashSet < String > ( ) ; loc0 . add ( USERINFO_EMAIL ) ; return java . util . Collections . unmodifiableSet ( loc0 ) ; } |
23,972 | determine if an annotatednode has one or more of the specified annotations.n.b . the annotation type names are not normally fully qualified . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean hasAtLeastOneInterface concode_elem_sep List<ExpressionStatement> getExpressionStatements concode_elem_sep Clo... | boolean function ( AnnotatedNode arg0 , String ... arg1 ) { for ( AnnotationNode loc0 : arg0 . getAnnotations ( ) ) { for ( String loc1 : arg1 ) { if ( PatternMatchUtils . simpleMatch ( loc1 , loc0 . getClassNode ( ) . getName ( ) ) ) { return true ; } } } return false ; } |
23,973 | get custom deserializer concode_field_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String[] wsSynchronizationItemPK concode_field_sep org.apache.axis.description.TypeDesc getTypeDesc concode_elem_sep o... | org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; } |
23,974 | returns a new instance of gridfilelock , that can be used to synchronize on a lock file , which resides in a temporary directory . if a lock file does not exist , it is created . if a temporary directory does not exist , an exception is thrown . concode_field_sep File LOCK_FILE concode_elem_sep SimpleDateFormat DATE_TI... | GridFileLock function ( ) { try { return new GridFileLock ( LOCK_FILE ) ; } catch ( FileNotFoundException loc0 ) { throw new RuntimeException ( "srini_string" , loc0 ) ; } } |
23,975 | all blocks except last block are of same size which is same as default blocksize . last block is smaller than default blocksize then fast merge is possible concode_field_sep FastMergerDecisionMaker fastMergerDecisionMaker concode_elem_sep FileStatus status0 concode_elem_sep OutputFileMetadata fileMetadata concode_elem_... | void function ( ) { initializeMocks ( new long [ ] { DEFAULT_BLOCK_SIZE , DEFAULT_BLOCK_SIZE , DEFAULT_BLOCK_SIZE - 10 } , DEFAULT_REPLICATION ) ; Assert . assertTrue ( fastMergerDecisionMaker . isFastMergePossible ( fileMetadata ) ) ; } |
23,976 | sets the occupied squares based on a 64-bit long representation . see the class definition for a description of the long representation . concode_field_sep long data concode_field_sep Bitboard bitboardFromFile concode_elem_sep void updateUnion concode_elem_sep void updateUnion concode_elem_sep boolean intersects concod... | void function ( long arg0 ) { this . data = arg0 ; } |
23,977 | gets the value of the compaddress property . concode_field_sep String banStatusCode concode_elem_sep String compAddress concode_elem_sep String accountSubType concode_elem_sep String accountType concode_elem_sep Boolean employeeInd concode_elem_sep long serialVersionUID concode_elem_sep String compName concode_elem_sep... | String function ( ) { return compAddress ; } |
23,978 | get the thrift class encoded in the metadata . concode_field_sep String THRIFT_CLASS concode_elem_sep Log LOG concode_elem_sep Class<?> thriftClass concode_elem_sep String thriftClassName concode_elem_sep StructType descriptor concode_elem_sep String THRIFT_DESCRIPTOR concode_field_sep StructType getDescriptor concode_... | Class < ? > function ( ) { if ( thriftClass == null ) { thriftClass = getThriftClass ( thriftClassName ) ; } return thriftClass ; } |
23,979 | write the service context to an output stream . this method must be used for writing the service context to a request or reply header . concode_field_sep InputStream in concode_field_sep int getId concode_elem_sep String toString concode_elem_sep void writeData concode_elem_sep void dprint | void function ( OutputStream arg0 , GIOPVersion arg1 ) { EncapsOutputStream loc0 = sun . corba . OutputStreamFactory . newEncapsOutputStream ( ( ORB ) ( arg0 . orb ( ) ) , arg1 ) ; loc0 . putEndian ( ) ; writeData ( loc0 ) ; byte [ ] loc1 = loc0 . toByteArray ( ) ; arg0 . write_long ( getId ( ) ) ; arg0 . write_long ( ... |
23,980 | gets the formatted value . concode_field_sep String rawValue concode_elem_sep boolean sameAsPrev concode_elem_sep String formattedValue concode_elem_sep boolean right concode_elem_sep String parentDimension concode_field_sep void setSameAsPrev concode_elem_sep void setParentDimension concode_elem_sep void setRawValue c... | String function ( ) { return formattedValue ; } |
23,981 | give back the elf object that this helper is wrapping concode_field_sep Elf.Dynamic[] dynamics concode_elem_sep long total concode_elem_sep long bss concode_elem_sep long data concode_elem_sep Elf.Symbol[] dynsyms concode_elem_sep long text concode_elem_sep Elf elf concode_elem_sep Elf.Symbol[] symbols concode_elem_sep... | Elf function ( ) { return elf ; } |
23,982 | returns a builder to add operation s to the graph . concode_field_sep long nativeHandle concode_elem_sep Object nativeHandleLock concode_elem_sep boolean active concode_elem_sep int refcount concode_field_sep Reference ref concode_elem_sep long nativeHandle concode_elem_sep long allocate concode_elem_sep void importGra... | OperationBuilder function ( String arg0 , String arg1 ) { return new OperationBuilder ( this , arg0 , arg1 ) ; } |
23,983 | invoke the joinpoint using reflection . subclasses can override this to use custom invocation . concode_field_sep Object proxy concode_elem_sep Method method concode_elem_sep Map<String,Object> userAttributes concode_elem_sep Class<?> targetClass concode_elem_sep List<?> interceptorsAndDynamicMethodMatchers concode_ele... | Object function ( ) { return AopUtils . invokeJoinpointUsingReflection ( this . target , this . method , this . arguments ) ; } |
23,984 | writes the raw packet data to the data stream . concode_field_sep int[] entityIDs concode_field_sep int[] getEntityIDs concode_elem_sep void processPacket concode_elem_sep void readPacketData | void function ( PacketBuffer arg0 ) { arg0 . writeVarIntToBuffer ( this . entityIDs . length ) ; for ( int loc0 : this . entityIDs ) { arg0 . writeVarIntToBuffer ( loc0 ) ; } } |
23,985 | create an empty project if this project does not exist . concode_field_sep PlaceHolder placeHolder concode_field_sep IProject getTargetProject concode_elem_sep void refreshTargetProject concode_elem_sep File getTargetFolder concode_elem_sep FeatureConfiguration getOutletFeatureConfiguration concode_elem_sep boolean get... | boolean function ( IProject arg0 ) { if ( ! arg0 . exists ( ) ) { try { NullProgressMonitor loc0 = new NullProgressMonitor ( ) ; arg0 . create ( loc0 ) ; arg0 . open ( loc0 ) ; return true ; } catch ( CoreException loc0 ) { loc0 . printStackTrace ( ) ; } } return false ; } |
23,986 | sets the value of the keyboxidentifier property . concode_field_sep CMSDataObjectRequiredMetaType dataObject concode_elem_sep CMSReferenceObject referenceObject concode_elem_sep Boolean pAdESCompatibility concode_elem_sep String structure concode_elem_sep String keyboxIdentifier concode_field_sep CMSDataObjectRequiredM... | void function ( String arg0 ) { this . keyboxIdentifier = arg0 ; } |
23,987 | decreases amount of entity in coffee machine concode_field_sep EntityObserver<E> entityObserver concode_field_sep int getContainerLack concode_elem_sep void updateEntitiesInDatabase concode_elem_sep boolean isEntityNeedToBeFilled concode_elem_sep void fill concode_elem_sep void unUseEntity | void function ( E arg0 , int arg1 ) { if ( arg0 . getAmount ( ) < arg1 ) { throw new InvalidDrinkOrderException ( ) ; } arg0 . setAmount ( arg0 . getAmount ( ) - arg1 ) ; entityObserver . handleEntityEvent ( arg0 ) ; } |
23,988 | pop activity from stack . must be called from activity #ondestroy . concode_field_sep OnErrorListener onErrorListener concode_elem_sep ActivityManager instance concode_elem_sep Application application concode_elem_sep int nextTaskIndex concode_elem_sep ArrayList<Activity> activities concode_elem_sep WeakHashMap<Activit... | void function ( Activity arg0 ) { if ( LOG ) LogManager . i ( arg0 , "srini_string" ) ; activities . remove ( arg0 ) ; } |
23,989 | updates the data in a bhuser pass the method a bhuser with all the values set to your liking and this method will update the database with these values . this method does n't actually return anything but the good feeling that your update has been completed . if it ca n't be completed then it wo n't tell you . sounds li... | void function ( Bhuser arg0 ) { EntityManager loc0 = DbUtil . getEmFactory ( ) . createEntityManager ( ) ; EntityTransaction loc1 = loc0 . getTransaction ( ) ; try { loc1 . begin ( ) ; loc0 . merge ( arg0 ) ; loc1 . commit ( ) ; } catch ( Exception loc2 ) { System . out . println ( loc2 ) ; loc1 . rollback ( ) ; } fina... |
23,990 | ask that the tests run stop before starting the next test . phrased politely because the test currently running will not be interrupted . it seems a little odd to put this functionality here , but the runnotifier is the only object guaranteed to be shared amongst the many runners involved . concode_field_sep List<RunLi... | void function ( ) { fPleaseStop = true ; } |
23,991 | filter item by child index and item data . concode_field_sep MenuView mMenuView concode_elem_sep int mMenuLayoutRes concode_elem_sep Context mSystemContext concode_elem_sep MenuBuilder mMenu concode_elem_sep LayoutInflater mSystemInflater concode_elem_sep int mItemLayoutRes concode_elem_sep int mId concode_elem_sep Cal... | boolean function ( int arg0 , MenuItemImpl arg1 ) { return true ; } |
23,992 | closes the csv file . concode_field_sep int nbrCols concode_elem_sep int nbrRows concode_elem_sep String newline concode_elem_sep OutputStreamWriter writer concode_field_sep void writeHeader concode_elem_sep String toCsvValue concode_elem_sep void doWriteData concode_elem_sep void writeData | void function ( ) { this . writer . close ( ) ; } |
23,993 | return the name of the provider . concode_field_sep String name concode_elem_sep Map<String,Object> parameters concode_field_sep void setName concode_elem_sep Map<String,Object> getParameters concode_elem_sep String toString | String function ( ) { return this . name ; } |
23,994 | matches : / items / concode_field_sep String _ID concode_elem_sep String THUMB_URL concode_elem_sep String ASPECT_RATIO concode_elem_sep String CONTENT_ITEM_TYPE concode_elem_sep String PHOTO_URL concode_elem_sep String CONTENT_TYPE concode_elem_sep String SERVER_ID concode_elem_sep String AUTHOR concode_elem_sep Strin... | Uri function ( ) { return BASE_URI . buildUpon ( ) . appendPath ( "srini_string" ) . build ( ) ; } |
23,995 | scale the region by the given scale amount . this re-constructs new region by scaling the rects that this region consists of . new rectis are computed by scaling coordinates by float , then rounded by roundf function to integers . this may results in less internal rects if 0 < scale < 1 . zero and negative scale result... | void function ( float arg0 ) { arg0 ( arg0 , null ) ; } |
23,996 | test if a repository path is for a personal repository of a specific user . concode_field_sep String userRepoPrefix concode_field_sep String getUserRepoPrefix concode_elem_sep boolean isPersonalRepository concode_elem_sep String getUserNameFromRepoPath concode_elem_sep void setUserRepoPrefix concode_elem_sep String get... | boolean function ( String arg0 , String arg1 ) { if ( arg1 . equalsIgnoreCase ( getPersonalPath ( arg0 ) ) ) return true ; return false ; } |
23,997 | adds return statements in method code whenever an implicit return is detected . concode_field_sep boolean doAdd concode_elem_sep ReturnStatementListener listener concode_elem_sep ReturnStatementListener DEFAULT_LISTENER concode_field_sep void returnStatementAdded concode_elem_sep void returnStatementAdded concode_elem_... | void function ( MethodNode arg0 ) { ReturnAdder loc0 = new ReturnAdder ( ) ; loc0 . visitMethod ( arg0 ) ; } |
23,998 | starts a decompression process using the bzip2 program . concode_field_sep String PATH_PROGRAM_7ZIP concode_elem_sep ConfigurationManager config concode_elem_sep String WIKIPEDIA_ENCODING concode_elem_sep boolean MODE_STATISTICAL_OUTPUT concode_field_sep InputStreamReader readXMLFile concode_elem_sep InputStreamReader ... | InputStreamReader function ( final String arg0 ) { Bzip2Archiver loc0 = new Bzip2Archiver ( ) ; InputStreamReader loc1 = null ; try { loc1 = loc0 . getDecompressionStream ( arg0 , WIKIPEDIA_ENCODING ) ; } catch ( IOException loc2 ) { loc2 . printStackTrace ( ) ; } return loc1 ; } |
23,999 | creates the url to invoke . concode_field_sep PlaceHolder placeHolder concode_field_sep Object deserializeJavaObjectFromStream concode_elem_sep String doCreateURL concode_elem_sep void writeObjectToStream concode_elem_sep URI createURI concode_elem_sep void setCharsetFromContentType | String function ( Exchange arg0 , AhcEndpoint arg1 ) { String loc0 = doCreateURL ( arg0 , arg1 ) ; return URISupport . normalizeUri ( loc0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.