idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
10,400 | setter method to set the user name who created the user concode_field_sep String lastName concode_elem_sep String invalidLoginCount concode_elem_sep String emailId concode_elem_sep Timestamp userLastLogin concode_elem_sep long serialVersionUID concode_elem_sep String userId concode_elem_sep String firstName concode_ele... | void function ( String arg0 ) { this . createdBy = arg0 ; } |
10,401 | getassetfiledescriptor allows for zipresourcefile to directly feed android api 's that want an fd , offset , and length such as the mediaplayer . it also allows for the class to be used in a content provider that can feed video players . the file must be stored non-compressed in the zip file for this to work . concode_... | AssetFileDescriptor function ( String arg0 ) { ZipEntryRO loc0 = mHashMap . get ( arg0 ) ; if ( null != loc0 ) { return loc0 . getAssetFileDescriptor ( ) ; } return null ; } |
10,402 | get the current block number , zero based . concode_field_sep int DEFAULT_RCDSIZE concode_elem_sep int currBlkIdx concode_elem_sep boolean debug concode_elem_sep InputStream inStream concode_elem_sep int DEFAULT_BLKSIZE concode_elem_sep int recsPerBlock concode_elem_sep int currRecIdx concode_elem_sep OutputStream outS... | int function ( ) { return currBlkIdx ; } |
10,403 | simple checks that everything is ok concode_field_sep PlaceHolder placeHolder concode_field_sep Permissions createPermissions concode_elem_sep void ensureDirectoryExists concode_elem_sep void configure concode_elem_sep void addPath | void function ( ) { try { Path loc0 = Files . createTempFile ( null , null ) ; try { Files . delete ( loc0 ) ; } catch ( IOException loc1 ) { } } catch ( SecurityException loc0 ) { throw new SecurityException ( "srini_string" , loc0 ) ; } } |
10,404 | returns the real path of the given uri . if the given uri is a content : / / uri , the real path is retrieved from the media store . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String getRealPathFromURI_API11to18 concode_elem_sep String getDataColumn concode_elem_sep boolean isGoogl... | String function ( String arg0 , CordovaInterface arg1 ) { return FileHelper . getRealPath ( Uri . parse ( arg0 ) , arg1 ) ; } |
10,405 | sets the provider value for this grpsettings . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep com.google.api.ads.dfp.axis.v201502.GrpProvider provider concode_elem_sep java.lang.Long targetImpressionGoal concode_elem_sep java.lang.Long maxTargetAge concode_elem_sep java.lang.Object __e... | void function ( com . google . api . ads . dfp . axis . v201502 . GrpProvider arg0 ) { this . provider = arg0 ; } |
10,406 | sets the date_submitted value for this attachmentdata . concode_field_sep java.util.Calendar date_submitted concode_elem_sep java.lang.String filename concode_elem_sep java.math.BigInteger size concode_elem_sep java.lang.String content_type concode_elem_sep java.math.BigInteger user_id concode_elem_sep java.lang.Object... | void function ( java . util . Calendar arg0 ) { this . date_submitted = arg0 ; } |
10,407 | gets the name of this time zone to be displayed in the ui . concode_field_sep boolean currentlyShowing concode_elem_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String abbreviation concode_elem_sep String mapCommandButtonId concode_field_sep boolean getCurren... | String function ( ) { TimeZone loc0 = TimeZone . getTimeZone ( id ) ; return TimeZoneBean . displayNameTokenizer ( loc0 . getDisplayName ( ) ) ; } |
10,408 | getter method for the subsubcategorydetails concode_field_sep int subSubCatId concode_elem_sep List subSubCategoryDetails concode_elem_sep ArrayList displayDetails concode_elem_sep int subCatId concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep String subCategoryId concode_elem_... | List function ( ) { return subSubCategoryDetails ; } |
10,409 | will return true since @example can be used in field documentation . concode_field_sep String NAME concode_elem_sep String HEADER concode_field_sep boolean inPackage concode_elem_sep String createHTML concode_elem_sep String getName concode_elem_sep boolean inOverview concode_elem_sep boolean inMethod concode_elem_sep ... | boolean function ( ) { return true ; } |
10,410 | get the distance from this point to another concode_field_sep float x concode_elem_sep float y concode_elem_sep long serialVersionUID concode_field_sep Vector2f add concode_elem_sep Vector2f add concode_elem_sep Vector2f getNormal concode_elem_sep Vector2f sub concode_elem_sep Vector2f sub concode_elem_sep Vector2f neg... | float function ( Vector2f arg0 ) { return ( float ) Math . sqrt ( distanceSquared ( arg0 ) ) ; } |
10,411 | get / account : get the current user . concode_field_sep Logger log concode_elem_sep UserRepository userRepository concode_elem_sep PersistentTokenRepository persistentTokenRepository concode_elem_sep MailService mailService concode_elem_sep UserService userService concode_field_sep ResponseEntity<String> finishPasswor... | ResponseEntity < UserDTO > function ( ) { return Optional . ofNullable ( userService . getUserWithAuthorities ( ) ) . map ( user -> new ResponseEntity < > ( new UserDTO ( user ) , HttpStatus . OK ) ) . orElse ( new ResponseEntity < > ( HttpStatus . INTERNAL_SERVER_ERROR ) ) ; } |
10,412 | get the instances not covered by this rule concode_field_sep boolean m_smoothPredictions concode_elem_sep double[] m_splitVals concode_elem_sep double m_minNumInstances concode_elem_sep int LEFT concode_elem_sep long serialVersionUID concode_elem_sep int[] m_splitAtts concode_elem_sep boolean m_regressionTree concode_e... | Instances function ( ) { return m_notCovered ; } |
10,413 | returns the class p k of this ticket . concode_field_sep Ticket _ticket concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolea... | long function ( ) { return _ticket . getClassPK ( ) ; } |
10,414 | returns the number of elements in the vector . concode_field_sep double[] m_Elements concode_field_sep AlgVector add concode_elem_sep void scalarMultiply concode_elem_sep void setElements concode_elem_sep void main concode_elem_sep double dotMultiply concode_elem_sep void changeLength concode_elem_sep double norm conco... | int function ( ) { return m_Elements . length ; } |
10,415 | create a mutable long integer counter concode_field_sep Map<String,MutableMetric> metricsMap concode_elem_sep Map<String,MetricsTag> tagsMap concode_elem_sep MetricsInfo metricsInfo concode_field_sep void add concode_elem_sep void add concode_elem_sep MutableGaugeInt newGauge concode_elem_sep MutableGaugeInt newGauge c... | MutableCounterLong function ( MetricsInfo arg0 , long arg1 ) { checkMetricName ( arg0 . name ( ) ) ; MutableCounterLong loc0 = new MutableCounterLong ( arg0 , arg1 ) ; metricsMap . put ( arg0 . name ( ) , loc0 ) ; return loc0 ; } |
10,416 | clears cached search results for this page index and clears the highlighted state for this page . concode_field_sep HashMap<Integer,WeakReference<PageText>> searchResultCache concode_elem_sep ArrayList<SearchTerm> searchTerms concode_field_sep void addPageSearchHit concode_elem_sep Set<Integer> getPageSearchHits concod... | void function ( int arg0 ) { WeakReference < PageText > loc0 = searchResultCache . get ( arg0 ) ; if ( loc0 != null ) { PageText loc1 = loc0 . get ( ) ; if ( loc1 != null ) { loc1 . clearHighlighted ( ) ; } } searchResultCache . remove ( arg0 ) ; } |
10,417 | string representation of the revision codec data . concode_field_sep int blocksize_B concode_elem_sep int countB concode_elem_sep int blocksize_S concode_elem_sep int countE concode_elem_sep int blocksize_E concode_elem_sep boolean converted concode_elem_sep int countC concode_elem_sep int countS concode_elem_sep int c... | String function ( ) { return this . blocksize_S + "srini_string" + this . blocksize_E + "srini_string" + this . blocksize_B + "srini_string" + this . blocksize_L ; } |
10,418 | returns true if the next line should be repainted . this will return true after a line has been tokenized that starts a multiline token that continues onto the next line . concode_field_sep Token lastToken concode_elem_sep Token firstToken concode_elem_sep boolean nextLineRequested concode_elem_sep int lastLine concode... | boolean function ( ) { return nextLineRequested ; } |
10,419 | print an object to standard output and flush standard output . concode_field_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep PrintWriter out concode_field_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep void println concode_elem_sep void println conc... | void function ( Object arg0 ) { out . print ( arg0 ) ; out . flush ( ) ; } |
10,420 | returns the guacamoletunnel having the given uuid , wrapped within a guacamolehttptunnel . if the no tunnel having the given uuid is available , null is returned . concode_field_sep ConcurrentMap<String,GuacamoleHTTPTunnel> tunnelMap concode_elem_sep long tunnelTimeout concode_elem_sep ScheduledExecutorService executor... | GuacamoleHTTPTunnel function ( String arg0 ) { GuacamoleHTTPTunnel loc0 = tunnelMap . get ( arg0 ) ; if ( loc0 != null ) loc0 . access ( ) ; return loc0 ; } |
10,421 | documentation pending concode_field_sep boolean negative concode_elem_sep Integer hours concode_elem_sep Integer months concode_elem_sep Integer weeks concode_elem_sep boolean bounded concode_elem_sep Log log concode_elem_sep Integer minutes concode_elem_sep long WEEKS concode_elem_sep Integer years concode_elem_sep Lo... | boolean function ( ) { return this . negative ; } |
10,422 | sets the version v concode_field_sep int packet_len concode_elem_sep byte[] packet concode_field_sep long getSscr concode_elem_sep void setSscr concode_elem_sep boolean hasPadding concode_elem_sep void setExtension concode_elem_sep int getSequenceNumber concode_elem_sep byte[] getPacket concode_elem_sep boolean hasMark... | void function ( int arg0 ) { if ( packet_len >= 12 ) packet [ 0 ] = ( byte ) ( ( packet [ 0 ] & 0x3F ) | ( ( arg0 & 0x03 ) << 6 ) ) ; } |
10,423 | gets the value of the mobilecarriers property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the mobilecarriers property . for example , to add a ne... | List < Technology > function ( ) { if ( mobileCarriers == null ) { mobileCarriers = new ArrayList < Technology > ( ) ; } return this . mobileCarriers ; } |
10,424 | sets the value of the data property . concode_field_sep Repositories.Data data concode_elem_sep List<RepositoryType> repositoriesItem concode_field_sep List<RepositoryType> getRepositoriesItem concode_elem_sep Repositories.Data getData | void function ( Repositories . Data arg0 ) { this . data = arg0 ; } |
10,425 | check if no entry for the specified field is present concode_field_sep PlaceHolder placeHolder concode_field_sep IErrorList getSubList concode_elem_sep IMultiMapListBased<String,IError> getGroupedByID concode_elem_sep IMultiMapListBased<T,IError> getGrouped concode_elem_sep IErrorList getAllErrors concode_elem_sep ICom... | boolean function ( @ Nullable final String arg0 ) { return containsNone ( x -> x . hasErrorFieldName ( arg0 ) ) ; } |
10,426 | create an input source from the given content , and associate path with this source . path will be used in error messages etc. but we will never attempt to read the content from path . concode_field_sep PlaceHolder placeHolder concode_field_sep char[] getContent concode_elem_sep String contentHashCode concode_elem_sep ... | ParserInputSource function ( String arg0 , Path arg1 ) { return create ( arg0 . toCharArray ( ) , arg1 ) ; } |
10,427 | returns the id of the vertex . concode_field_sep boolean border concode_elem_sep Coordinate coordinate concode_elem_sep int id concode_field_sep Coordinate getCoordinate concode_elem_sep void setBorder concode_elem_sep void setId concode_elem_sep void setCoordinate concode_elem_sep boolean isBorder | int function ( ) { return this . id ; } |
10,428 | returns the revision number from the checkout output . concode_field_sep Pattern AT_REV_NUM_PATTERN concode_elem_sep Pattern CHECKOUT_REV_NUM_PATTERN concode_elem_sep Pattern UPDATE_REV_NUM_PATTERN concode_elem_sep Pattern COMMIT_REV_NUM_PATTERN concode_field_sep long getUpdateRevision concode_elem_sep long getCommitRe... | long function ( final List < String > arg0 ) { return findRevision ( arg0 , CHECKOUT_REV_NUM_PATTERN ) ; } |
10,429 | retrieve an iterator over the values encoded in src . src 's position is consumed by consuming this iterator . concode_field_sep boolean isOrderPreserving concode_elem_sep DataType[] fields concode_elem_sep boolean isSkippable concode_field_sep int encodedLength concode_elem_sep int encode concode_elem_sep boolean isOr... | StructIterator function ( PositionedByteRange arg0 ) { return new StructIterator ( arg0 , fields ) ; } |
10,430 | verifies that a chain that is missing an intermediate certificate is rejected . concode_field_sep X509Certificate[] untrustedCAChain concode_elem_sep KeyStore trustStore concode_elem_sep String location concode_elem_sep OpenfireX509TrustManager systemUnderTest concode_elem_sep X509Certificate[] expiredIntChain concode_... | void function ( ) { assert validChain . length == 4 ; final X509Certificate [ ] loc0 = new X509Certificate [ 3 ] ; loc0 [ 0 ] = validChain [ 0 ] ; loc0 [ 1 ] = validChain [ 2 ] ; loc0 [ 2 ] = validChain [ 3 ] ; systemUnderTest . checkClientTrusted ( loc0 , "srini_string" ) ; } |
10,431 | return whether or not the text has been set . concode_field_sep Font font concode_elem_sep boolean imageUpdated concode_elem_sep String tooltipText concode_elem_sep Color tooltipBackgroundColor concode_elem_sep Point tooltipShift concode_elem_sep boolean hasPendingDecorations concode_elem_sep Image newImage concode_ele... | boolean function ( ) { if ( startText == null ) { return newText != null ; } if ( textUpdated ) { return ! ( startText . equals ( newText ) ) ; } return false ; } |
10,432 | indicates that the vehicle with the given id number has left the admission control zone by driving out of it within the lane . concode_field_sep Map<Integer,Double> vinToReservationLength concode_elem_sep double MIN_DIST_BETWEEN_VEHICLES concode_elem_sep double maxSize concode_elem_sep double currentSize concode_field_... | void function ( int arg0 ) { if ( vinToReservationLength . containsKey ( arg0 ) ) { currentSize -= vinToReservationLength . remove ( arg0 ) ; } else { throw new RuntimeException ( "srini_string" + arg0 + "srini_string" ) ; } } |
10,433 | wait for up to 10 seconds for the connection factory to have the specified number of connections . concode_field_sep PlaceHolder placeHolder concode_field_sep void waitStopListening concode_elem_sep void waitListening | void function ( AbstractConnectionFactory arg0 , int arg1 ) { int loc0 = 0 ; while ( loc0 < 10000 ) { if ( arg0 . getOpenConnectionIds ( ) . size ( ) == arg1 ) { return ; } Thread . sleep ( 100 ) ; loc0 += 100 ; } throw new IllegalStateException ( "srini_string" + arg0 . getOpenConnectionIds ( ) . size ( ) + "srini_str... |
10,434 | get the keysize . concode_field_sep int keySize concode_elem_sep byte[] entropyBytes concode_elem_sep Entropy clientEntropy concode_elem_sep byte[] secret concode_elem_sep boolean computedKey concode_elem_sep Logger LOG concode_field_sep byte[] getSecret concode_elem_sep void createSymmetricKey concode_elem_sep boolean... | long function ( ) { return keySize ; } |
10,435 | this method is invoked as soon as we enter this lifecycle state . when this method is executed this lifecycle object is the current agent lifecycle . concode_field_sep Agent myAgent concode_elem_sep int myState concode_field_sep void setAgent concode_elem_sep boolean isMessageAware concode_elem_sep void init concode_el... | void function ( LifeCycle arg0 ) { } |
10,436 | returns the instance of the serverconfigurationservice injected by the spring framework specified in the components.xml file via ioc . concode_field_sep int numDaysAfterTermEnds concode_elem_sep ServerConfigurationService serverConfigurationService concode_elem_sep Logger logger concode_elem_sep UserDirectoryService us... | ServerConfigurationService function ( ) { return serverConfigurationService ; } |
10,437 | gets whether this operation can possibly throw an exception . this is just a convenient wrapper for getexceptions . size ! = 0 . concode_field_sep int BRANCH_RETURN concode_elem_sep int BRANCH_GOTO concode_elem_sep int BRANCH_IF concode_elem_sep TypeList sources concode_elem_sep int BRANCH_THROW concode_elem_sep int BR... | boolean function ( ) { return ( exceptions . size ( ) != 0 ) ; } |
10,438 | returns the value of the specified field in the current record . concode_field_sep String filename concode_elem_sep Transaction tx concode_elem_sep TableInfo ti concode_elem_sep int currentblknum concode_elem_sep RecordPage rp concode_field_sep boolean next concode_elem_sep boolean atLastBlock concode_elem_sep RID curr... | String function ( String arg0 ) { return rp . getString ( arg0 ) ; } |
10,439 | pushes a frame onto this output port . this is typically a frame instance you obtained by previously calling #fetchavailableframe int , but may come from other sources such as an input port that is attached to this output port . once you have pushed a frame to an output , you may no longer modify it as it may be shared... | void function ( Frame arg0 ) { long loc0 = arg0 . getTimestamp ( ) ; if ( loc0 == Frame . TIMESTAMP_NOT_SET ) arg0 . setTimestamp ( mFilter . getCurrentTimestamp ( ) ) ; getQueue ( ) . pushFrame ( arg0 ) ; } |
10,440 | deserialize only a string field addressed by recursively using field id from a byte record . concode_field_sep TProtocol protocol_ concode_elem_sep TMemoryInputTransport trans_ concode_field_sep Long partialDeserializeI64 concode_elem_sep Byte partialDeserializeByte concode_elem_sep Integer partialDeserializeI32 concod... | String function ( byte [ ] arg0 , TFieldIdEnum arg1 , TFieldIdEnum ... arg2 ) { return ( String ) partialDeserializeField ( TType . STRING , arg0 , arg1 , arg2 ) ; } |
10,441 | gets the value of the financecharge property . concode_field_sep double totalSalesTax concode_elem_sep double totalPrice concode_elem_sep double annualPercentageRate concode_elem_sep double totalFinancedAmount concode_elem_sep String firstMonthlyInstallmentDueDate concode_elem_sep String planDate concode_elem_sep doubl... | double function ( ) { return financeCharge ; } |
10,442 | cleanup resources and then exit . concode_field_sep javax.jms.Session sendSession concode_elem_sep String DEFAULT_PASSWORD concode_elem_sep String DEFAULT_BROKER_NAME concode_elem_sep javax.jms.Connection connect concode_elem_sep javax.jms.Session receiveSession concode_elem_sep int MESSAGE_LIFESPAN concode_elem_sep ja... | void function ( ) { try { sendSession . rollback ( ) ; connect . close ( ) ; } catch ( javax . jms . JMSException loc0 ) { loc0 . printStackTrace ( ) ; } System . exit ( 0 ) ; } |
10,443 | verbose log message with printf formatting . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d ... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . VERBOSE >= LOGLEVEL ) Log . v ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
10,444 | reinitialise . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep boolean staticFlag concode_elem_sep int bufcolumn[] concode_el... | void function ( java . io . InputStream arg0 , String arg1 , int arg2 , int arg3 ) { ReInit ( arg0 , arg1 , arg2 , arg3 , 4096 ) ; } |
10,445 | adds the given keylistener l to the given component . concode_field_sep PlaceHolder placeHolder concode_field_sep Frame getFrame concode_elem_sep void setBackground | void function ( Component arg0 , KeyListener arg1 ) { arg0 . addKeyListener ( arg1 ) ; if ( arg0 instanceof Container ) { Component [ ] loc0 = ( ( Container ) arg0 ) . getComponents ( ) ; for ( Component loc1 : loc0 ) addKeyListener ( loc1 , arg1 ) ; } } |
10,446 | called by the cluster before sending out the message . concode_field_sep String password concode_elem_sep String ssoId concode_elem_sep SerializablePrincipal principal concode_elem_sep String username concode_elem_sep long timestamp concode_elem_sep int ADD_SESSION concode_elem_sep Member address concode_elem_sep Strin... | void function ( long arg0 ) { this . timestamp = arg0 ; } |
10,447 | breaks the bond between two atoms , if they are bonded concode_field_sep ILocation location concode_elem_sep EnumType type concode_elem_sep ArrayList<Atom> bonds concode_elem_sep ArrayList<ILocation> bondsLocation concode_elem_sep int state concode_elem_sep ReactionData[] reactions concode_field_sep ILocation getLocati... | void function ( Atom arg0 ) { if ( isBondedTo ( arg0 ) ) { bonds . remove ( arg0 ) ; arg0 . bonds . remove ( this ) ; } } |
10,448 | returns the `` continuation without first '' indent instance , indicating that the block will be indented by the number of spaces indicated in the `` project code style | general | continuation indent '' setting relative to its parent block , unless this block is the first of the children of its parent having the same ... | Indent function ( ) { return myFactory . getContinuationWithoutFirstIndent ( false ) ; } |
10,449 | resolves all phi types in the method concode_field_sep BitSet worklist concode_elem_sep SsaMethod ssaMeth concode_field_sep void run concode_elem_sep boolean equalsHandlesNulls concode_elem_sep boolean resolveResultType | void function ( SsaMethod arg0 ) { new PhiTypeResolver ( arg0 ) . run ( ) ; } |
10,450 | subtracts two quaternions . concode_field_sep Quaternion IDENTITY concode_elem_sep double q1 concode_elem_sep Quaternion K concode_elem_sep double q2 concode_elem_sep double q3 concode_elem_sep long serialVersionUID concode_elem_sep Quaternion J concode_elem_sep Quaternion ZERO concode_elem_sep Quaternion I concode_ele... | Quaternion function ( final Quaternion arg0 , final Quaternion arg1 ) { return new Quaternion ( arg0 . getQ0 ( ) - arg1 . getQ0 ( ) , arg0 . getQ1 ( ) - arg1 . getQ1 ( ) , arg0 . getQ2 ( ) - arg1 . getQ2 ( ) , arg0 . getQ3 ( ) - arg1 . getQ3 ( ) ) ; } |
10,451 | reset to new initial value concode_field_sep long lastValue concode_elem_sep long currValue concode_elem_sep int dataType concode_elem_sep HsqlName name concode_elem_sep long increment concode_elem_sep long startValue concode_field_sep long getValue concode_elem_sep long getValue concode_elem_sep HsqlName getName conco... | void function ( long arg0 ) { startValue = currValue = lastValue = arg0 ; } |
10,452 | performs a dynamic query on the database and returns an ordered range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
10,453 | creates an unhealthy result , with the given message . concode_field_sep boolean healthy concode_elem_sep String message concode_elem_sep Throwable error concode_elem_sep Result HEALTHY concode_field_sep Throwable getError concode_elem_sep String getName concode_elem_sep Result healthy concode_elem_sep Result healthy c... | Result function ( String arg0 ) { return new Result ( false , arg0 , null ) ; } |
10,454 | '' # '' are used for internal references . if a token-id comes with that we need to remove concode_field_sep int poolSize concode_elem_sep ExecutorService executorService concode_elem_sep Log log concode_elem_sep DBStsDAO dbStsDAO concode_elem_sep Token token concode_field_sep void add concode_elem_sep Token[] getExpir... | String function ( String arg0 ) { if ( arg0 != null && arg0 . startsWith ( "srini_string" ) ) { arg0 = arg0 . substring ( 1 ) ; } return arg0 ; } |
10,455 | gets the expiry date of this cache entry , expressed as a string . concode_field_sep long expires concode_elem_sep String contentdisposition concode_elem_sep InputStream inStream concode_elem_sep String mimeType concode_elem_sep String encoding concode_elem_sep OutputStream outStream concode_elem_sep File outFile conco... | String function ( ) { return expiresString ; } |
10,456 | getter for the @linkplain grasscoveragereadparam #requestedworldregion active region concode_field_sep JGrassRegion requestedWorldRegion concode_field_sep placeholderType placeHolder | JGrassRegion function ( ) { return requestedWorldRegion ; } |
10,457 | find the number of records matching a string query ; concode_field_sep Logger log concode_elem_sep String ANY concode_elem_sep HashMap<String,MetadataSource> importSources concode_field_sep Collection<String> getImportUrls concode_elem_sep Map<String,MetadataSource> getImportSources concode_elem_sep Collection<Metadata... | int function ( String arg0 , String arg1 ) { try { int loc0 = 0 ; for ( loc1 loc1 : matchingImports ( arg0 ) ) { loc0 += loc1 . getNbRecords ( arg1 ) ; } return loc0 ; } catch ( Exception loc0 ) { throw new MetadataSourceException ( loc0 ) ; } } |
10,458 | returns the escaped name for a given relative path as a string . this takes a short relative path and turns it into a string suitable for use as a filename . invalid filename characters are escaped with an '_' + a single character token . concode_field_sep Escaper PATH_ESCAPER concode_field_sep boolean canBeShared conc... | String function ( String arg0 ) { return PATH_ESCAPER . escape ( arg0 ) ; } |
10,459 | get the hystrixcircuitbreaker instance for a given hystrixcommandkey or null if none exists . concode_field_sep AtomicBoolean circuitOpen concode_elem_sep AtomicLong circuitOpenedOrLastTestedTime concode_elem_sep ConcurrentHashMap<String,HystrixCircuitBreaker> circuitBreakersByCommand concode_elem_sep HystrixCommandMet... | HystrixCircuitBreaker function ( HystrixCommandKey arg0 ) { return circuitBreakersByCommand . get ( arg0 . name ( ) ) ; } |
10,460 | alias to property string name concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysPropertyDouble concode_elem_sep double doubleProperty concode_elem_sep void setProperty concode_elem_sep void setSy... | String function ( String arg0 ) { return property ( arg0 ) ; } |
10,461 | gets the value of the count property . concode_field_sep Integer count concode_elem_sep List<Project> project concode_elem_sep String prevHref concode_elem_sep String href concode_elem_sep String nextHref concode_field_sep String getHref concode_elem_sep void setNextHref concode_elem_sep void setHref concode_elem_sep v... | Integer function ( ) { return count ; } |
10,462 | forces the request to not commit the connection . concode_field_sep Configuration templateConfig concode_elem_sep Connection conn concode_elem_sep ForumContext forumContext concode_elem_sep boolean enableRollback concode_elem_sep ThreadLocal userData concode_elem_sep boolean isCustomContent concode_elem_sep String redi... | void function ( ) { ( ( JForumExecutionContext ) userData . get ( ) ) . enableRollback = true ; } |
10,463 | unique down to millisecond concode_field_sep int JVM concode_elem_sep int IP concode_elem_sep short counter concode_field_sep int getLoTime concode_elem_sep int toInt concode_elem_sep int getJVM concode_elem_sep int getIP concode_elem_sep String format concode_elem_sep String format concode_elem_sep String generate con... | short function ( ) { return ( short ) ( System . currentTimeMillis ( ) >>> 32 ) ; } |
10,464 | add the given value to e. concode_field_sep double[] doubles concode_elem_sep Class<E> enumClass concode_field_sep void negation concode_elem_sep void set concode_elem_sep void set concode_elem_sep int hashCode concode_elem_sep double get concode_elem_sep void subtract concode_elem_sep void subtract concode_elem_sep bo... | void function ( final E arg0 , final double arg1 ) { doubles [ arg0 . ordinal ( ) ] += arg1 ; } |
10,465 | use the wire format of ganglia 3.1.0 and later versions . set this to false to use ganglia 3.0.x or earlier . concode_field_sep String DEFAULT_METRIC_NAME concode_elem_sep boolean DEFAULT_WIRE_FORMAT_31X concode_elem_sep String DEFAULT_UNITS concode_elem_sep int DEFAULT_TMAX concode_elem_sep String prefix concode_elem_... | void function ( boolean arg0 ) { this . wireFormat31x = arg0 ; } |
10,466 | returns the unicodeindex . concode_field_sep String name concode_elem_sep int wx concode_elem_sep long offset concode_elem_sep int index concode_elem_sep int[] boundingBox concode_elem_sep int lsb concode_elem_sep byte found concode_elem_sep List unicodeIndex concode_field_sep void setName concode_elem_sep byte getFoun... | List function ( ) { return unicodeIndex ; } |
10,467 | wraps the given map and prevent adding of null keys . concode_field_sep PlaceHolder placeHolder concode_field_sep ObjectObjectHashMap<K,V> newNoNullKeysMap concode_elem_sep ObjectObjectHashMap<K,V> newNoNullKeysMap concode_elem_sep ObjectObjectHashMap<K,V> newMap concode_elem_sep ObjectObjectHashMap<K,V> newMap concode... | ObjectObjectHashMap < K , V > function ( int arg0 ) { return new ObjectObjectHashMap < K , V > ( arg0 ) { @ Override public V put ( K arg1 , V arg2 ) { if ( arg1 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return super . put ( arg1 , arg2 ) ; } } ; } |
10,468 | returns the primary key of this browser tracker . concode_field_sep BrowserTracker _browserTracker concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean is... | long function ( ) { return _browserTracker . getPrimaryKey ( ) ; } |
10,469 | return an iterator that returns all of the open buffers with the most recently used first . concode_field_sep BufferManager UniqueInstance concode_elem_sep BufferCache openBuffers concode_field_sep void addBuffer concode_elem_sep Buffer getBuffer concode_elem_sep Buffer createNullBuffer concode_elem_sep BufferManager g... | Iterator < Buffer > function ( ) { Iterator < Buffer > loc0 ; synchronized ( openBuffers ) { openBuffers . shrink ( ) ; loc0 = openBuffers . iterator ( ) ; } openBuffers . closeBuffers ( ) ; return loc0 ; } |
10,470 | gets whether the executor prints progress results to `` standard out '' system #out . concode_field_sep String REMOTE_EXECUTOR_CLASS concode_elem_sep boolean printUpdatesToSysout concode_elem_sep String LOCAL_EXECUTOR_CLASS concode_field_sep JobExecutionResult executePlan concode_elem_sep PlanExecutor createLocalExecut... | boolean function ( ) { return this . printUpdatesToSysout ; } |
10,471 | closes the camera driver if still in use . must be called from camera thread . concode_field_sep Size previewSize concode_elem_sep String TAG concode_elem_sep AutoFocusManager autoFocusManager concode_elem_sep Size requestedPreviewSize concode_elem_sep Size resolution concode_elem_sep String defaultParameters concode_e... | void function ( ) { if ( camera != null ) { camera . release ( ) ; camera = null ; } } |
10,472 | by default , there are no collisions in pasting . concode_field_sep Map nameFeatureMap concode_elem_sep Object NULL_TOKEN concode_field_sep boolean shouldOverrideCopyOperation concode_elem_sep void setName concode_elem_sep boolean canContain concode_elem_sep XMLResource getResource concode_elem_sep String getName conco... | PasteAction function ( EClass arg0 ) { return PasteAction . ADD ; } |
10,473 | checks if the string contains only unicode digits or space ' ' . a decimal point is not a unicode digit and returns false . null will return false . an empty string '' '' will return true . stringutils.isnumeric null = false stringutils.isnumeric '' '' = true stringutils.isnumeric '' '' = true stringutils.isnumeric `` ... | boolean function ( final String arg0 ) { if ( arg0 == null ) { return false ; } final int loc0 = arg0 . length ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { if ( ( Character . isDigit ( arg0 . charAt ( loc1 ) ) == false ) && ( arg0 . charAt ( loc1 ) != ' ' ) ) { return false ; } } return true ; } |
10,474 | gets the value of the type property . concode_field_sep TransformsType transforms concode_elem_sep String type concode_elem_sep String uri concode_field_sep TransformsType getTransforms concode_elem_sep void setURI concode_elem_sep void setType concode_elem_sep void setTransforms concode_elem_sep String getURI | String function ( ) { return type ; } |
10,475 | normalizes the given vector of three floats to have length == 1.0 . vectors with length zero are unaffected . concode_field_sep int mPrimitive concode_elem_sep float PI concode_elem_sep Buffer mIndexBuffer concode_elem_sep int INT_BYTES concode_elem_sep IntBuffer mColorBuffer concode_elem_sep IntBuffer mNormalBuffer co... | void function ( float [ ] arg0 ) { float loc0 = loc0 ( arg0 ) ; if ( loc0 != 0.0f ) { float loc1 = 1.0f / loc0 ; arg0 [ 0 ] *= loc1 ; arg0 [ 1 ] *= loc1 ; arg0 [ 2 ] *= loc1 ; } } |
10,476 | get the deployment id of the verticle deployment concode_field_sep Context context concode_elem_sep Vertx vertx concode_field_sep void init concode_elem_sep void stop concode_elem_sep void stop concode_elem_sep List<String> processArgs concode_elem_sep void start concode_elem_sep void start concode_elem_sep Vertx getVe... | String function ( ) { return context . deploymentID ( ) ; } |
10,477 | returns a line starting at given start point and in the given direction . this line may be used when calculating intersection points . concode_field_sep Vector<Interval> subIntervals concode_elem_sep Logger logger concode_field_sep double getSize concode_elem_sep boolean contains concode_elem_sep double getEndAngle con... | Line2D function ( Point2D arg0 , double arg1 , double arg2 ) { return new Line2D . Double ( arg0 . getX ( ) , arg0 . getY ( ) , arg0 . getX ( ) + arg2 * Math . cos ( arg1 ) , arg0 . getY ( ) + arg2 * Math . sin ( arg1 ) ) ; } |
10,478 | databinding method to get an xml representation of this object concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.CreateKeyPairResponseType localCreateKeyPairResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize conco... | javax . xml . stream . XMLStreamReader function ( javax . xml . namespace . QName arg0 ) { return localCreateKeyPairResponse . getPullParser ( MY_QNAME ) ; } |
10,479 | gets the current earpiece state . concode_field_sep int CHANNELS concode_elem_sep int savedAudioMode concode_elem_sep int SAMPLE_RATE_HZ concode_elem_sep int nativeChannels concode_elem_sep int nativeSampleRate concode_elem_sep long nativeAudioManager concode_elem_sep Context context concode_elem_sep boolean DEBUG conc... | boolean function ( ) { return context . getPackageManager ( ) . hasSystemFeature ( PackageManager . FEATURE_TELEPHONY ) ; } |
10,480 | the data location with the cluster name as a sub directory . concode_field_sep Path logsFile concode_elem_sep Settings settings concode_elem_sep Path sharedDataFile concode_elem_sep Path[] dataWithClusterFiles concode_elem_sep Path modulesFile concode_elem_sep Path pidFile concode_elem_sep FileStore[] fileStores concod... | Path [ ] function ( ) { return dataWithClusterFiles ; } |
10,481 | asserts that lhs is less than or equal to rhs . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertLTE concode_elem_sep void assertLTE concode_elem_sep int compare concode_elem_sep void assertGTE concode_elem_sep void assertGTE concode_elem_sep void assertFalse concode_elem_sep void assertFalse conc... | void function ( T arg0 , T arg1 , String arg2 ) { assertTrue ( compare ( arg0 , arg1 , arg2 ) <= 0 , arg2 ) ; } |
10,482 | return true if this and o are ` close enough ' concode_field_sep double m_Added concode_elem_sep int m_Mass concode_elem_sep DebugMatchPeak[] EMPTY_ARRAY concode_elem_sep Class THIS_CLASS concode_elem_sep IonType m_Type concode_elem_sep double m_MassOffset concode_field_sep IonType getType concode_elem_sep int hashCode... | boolean function ( final DebugMatchPeak arg0 ) { if ( getMass ( ) != arg0 . getMass ( ) ) return false ; if ( getMassOffset ( ) != arg0 . getMassOffset ( ) ) return false ; if ( getType ( ) != arg0 . getType ( ) ) return false ; if ( Math . abs ( getAdded ( ) - arg0 . getAdded ( ) ) > 0.005 ) return false ; return true... |
10,483 | push the ajaxbehavior into scope making it available for subsequent calls to #getbehaviorforevent . concode_field_sep AjaxBehaviorHandler handler concode_elem_sep LinkedList<BehaviorInfo> behaviorStack concode_elem_sep FaceletContext ctx concode_elem_sep String AJAX_BEHAVIORS concode_elem_sep String eventName concode_f... | void function ( FaceletContext arg0 , AjaxBehaviorHandler arg1 , String arg2 ) { behaviorStack . add ( new BehaviorInfo ( arg0 , arg1 , arg2 ) ) ; } |
10,484 | adds an observer instance if it is not already in the set of observers for this observable . concode_field_sep Vector<Observer> m_Observers concode_field_sep void removeObservers concode_elem_sep void removeObserver concode_elem_sep void notifyObservers concode_elem_sep int getObserverCount | void function ( Observer arg0 ) { synchronized ( m_Observers ) { if ( ! m_Observers . contains ( arg0 ) ) { m_Observers . addElement ( arg0 ) ; } } } |
10,485 | return the long name of the option , or null if none . concode_field_sep String argumentName concode_elem_sep boolean joined concode_elem_sep String description concode_elem_sep char shortName concode_elem_sep String longName concode_field_sep String getArgumentName concode_elem_sep boolean getTakesArgument concode_ele... | String function ( ) { return longName ; } |
10,486 | method declaration concode_field_sep Database dDatabase concode_elem_sep HsqlArrayList tTransaction concode_elem_sep int iNestedOldTransIndex concode_elem_sep int iId concode_elem_sep jdbcConnection intConnection concode_elem_sep boolean script concode_elem_sep boolean bAutoCommit concode_elem_sep boolean bReadOnly con... | void function ( ) { uUser . checkAdmin ( ) ; } |
10,487 | user hook for rendering at the game level after the current state and/or transition have been rendered concode_field_sep GameContainer container concode_elem_sep HashMap states concode_elem_sep GameState nextState concode_elem_sep Transition enterTransition concode_elem_sep GameState currentState concode_elem_sep Strin... | void function ( GameContainer arg0 , Graphics arg1 ) { } |
10,488 | retrieve the list of user objects concode_field_sep Users instance concode_elem_sep List<User> users concode_field_sep String getUsernameById concode_elem_sep void getUsersFromDB concode_elem_sep void addUser concode_elem_sep Users getInstance concode_elem_sep int getUserIdByUsername | List < User > function ( ) { return users ; } |
10,489 | a new method that interrupts the worker thread . call this method to force the worker to stop what it 's doing . concode_field_sep Thread thread concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep v... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { loc0 . interrupt ( ) ; } threadVar . clear ( ) ; } |
10,490 | return the networkinterfacebinding for the default interface . concode_field_sep boolean isFixedPort concode_elem_sep int port concode_elem_sep List<ClientMapping> clientMappings concode_elem_sep NetworkInterfaceBinding networkInterface concode_elem_sep InetAddress multicastAddress concode_elem_sep ServiceName JBOSS_BI... | NetworkInterfaceBinding function ( ) { return networkInterface != null ? networkInterface : socketBindings . getDefaultInterfaceBinding ( ) ; } |
10,491 | returns a function that accepts a supplier and returns the result of invoking supplier #get on that supplier.java 8 users : use the method reference supplier : : get instead . concode_field_sep long serialVersionUID concode_elem_sep Supplier<T> delegate concode_elem_sep long expirationNanos concode_elem_sep long durati... | Function < Supplier < T > , T > function ( ) { @ SuppressWarnings ( "srini_string" ) SupplierFunction < T > loc0 = ( SupplierFunction < T > ) SupplierFunctionImpl . INSTANCE ; return loc0 ; } |
10,492 | returns the mvcc version of this recent layout branch . concode_field_sep RecentLayoutBranch _recentLayoutBranch concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_... | long function ( ) { return _recentLayoutBranch . getMvccVersion ( ) ; } |
10,493 | returns the mime type of the data specified by the given uri string . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String stripFileProtocol concode_elem_sep String getRealPath concode_elem_sep String getRealPath concode_elem_sep String getMimeTypeForExtension concode_elem_sep InputSt... | String function ( String arg0 , CordovaInterface arg1 ) { String loc0 = null ; Uri loc1 = Uri . parse ( arg0 ) ; if ( arg0 . startsWith ( "srini_string" ) ) { loc0 = arg1 . getActivity ( ) . getContentResolver ( ) . getType ( loc1 ) ; } else { loc0 = getMimeTypeForExtension ( loc1 . getPath ( ) ) ; } return loc0 ; } |
10,494 | sets the value of the agentperfomance property . concode_field_sep boolean parcelBasedAccessibility concode_elem_sep String opusHome concode_elem_sep String matsim4OpusTemp concode_elem_sep BigInteger year concode_elem_sep boolean agentPerfomance concode_elem_sep String customParameter concode_elem_sep boolean zoneBase... | void function ( boolean arg0 ) { this . agentPerfomance = arg0 ; } |
10,495 | read crypto buffer size concode_field_sep int MIN_BUFFER_SIZE concode_field_sep void checkCodec concode_elem_sep int checkBufferSize concode_elem_sep long getInputStreamOffset concode_elem_sep void freeDB | int function ( Configuration arg0 ) { return arg0 . getInt ( HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_KEY , HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_DEFAULT ) ; } |
10,496 | gets the value of the biddescptr property . concode_field_sep BigInteger lqdtyNumSecurities concode_elem_sep BigDecimal lqdtyPctHigh concode_elem_sep BigDecimal efpTrkngErr concode_elem_sep BigInteger sideValuInd concode_elem_sep BigDecimal valuOfFuts concode_elem_sep BigInteger bidDescptrTyp concode_elem_sep String bi... | String function ( ) { return bidDescptr ; } |
10,497 | gets the instancepattern value for this wssynchronizationgetunsynchronizedobjectsids . concode_field_sep java.lang.String revisionID concode_elem_sep java.lang.String instancePattern concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String objectName concode_elem_sep boolean __hashCodeCalc conco... | java . lang . String function ( ) { return instancePattern ; } |
10,498 | retrieves the instance of rxandroidschedulershook to use based on order ofprecedence as defined in the rxandroidplugins class header . override the default by calling #registerschedulershook rxandroidschedulershook or bysetting the property rxandroid.plugin.rxandroidschedulershook.implementation with thefull classname ... | RxAndroidSchedulersHook function ( ) { if ( schedulersHook . get ( ) == null ) { schedulersHook . compareAndSet ( null , RxAndroidSchedulersHook . getDefaultInstance ( ) ) ; } return schedulersHook . get ( ) ; } |
10,499 | sets the value of the totalresultsetsize property . concode_field_sep Integer startIndex concode_elem_sep Integer totalResultSetSize concode_elem_sep List<Creative> results concode_field_sep Integer getStartIndex concode_elem_sep void setStartIndex concode_elem_sep List<Creative> getResults concode_elem_sep Integer get... | void function ( Integer arg0 ) { this . totalResultSetSize = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.