idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
1,600 | returns the docvaluesproducer for the given generation . concode_field_sep Map<Long,RefCount<DocValuesProducer>> genDVProducers concode_field_sep void decRef concode_elem_sep RefCount<DocValuesProducer> newDocValuesProducer | DocValuesProducer function ( long arg0 , SegmentCommitInfo arg1 , Directory arg2 , FieldInfos arg3 ) { RefCount < DocValuesProducer > loc0 = genDVProducers . get ( arg0 ) ; if ( loc0 == null ) { loc0 = newDocValuesProducer ( arg1 , arg2 , arg0 , arg3 ) ; assert loc0 != null ; genDVProducers . put ( arg0 , loc0 ) ; } el... |
1,601 | gets the value of the mappedtype property . concode_field_sep CheckDirtyAfterGet checkDirtyAfterGet concode_elem_sep StateFactory stateFactory concode_elem_sep Mapper mapper concode_elem_sep MappedType mappedType concode_elem_sep JavaType javaType concode_field_sep void setStateFactory concode_elem_sep Mapper getMapper... | MappedType function ( ) { return mappedType ; } |
1,602 | start of event stream concode_field_sep String systemId concode_elem_sep PipelineConfiguration pipe concode_field_sep String getSystemId concode_elem_sep void startContent concode_elem_sep void startElement concode_elem_sep void startDocument concode_elem_sep void endDocument concode_elem_sep void setPipelineConfigurat... | void function ( ) { } |
1,603 | whether facet information can be returned for the field . concode_field_sep String sourceFields concode_elem_sep Boolean returnEnabled concode_elem_sep Long defaultValue concode_elem_sep Boolean facetEnabled concode_elem_sep Boolean searchEnabled concode_field_sep void setDefaultValue concode_elem_sep IntArrayOptions w... | void function ( Boolean arg0 ) { this . facetEnabled = arg0 ; } |
1,604 | return the name of the argument . if the option does not take an argument , returns null . 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 boolean getTakesArgument concode_elem_se... | String function ( ) { return argumentName ; } |
1,605 | calls the service layer for new auction data and merges it with the current state of the auctionbean . this method is called from the datarefreshlistener for each request/response cycle . it is important that underlying service call has a caching layer to avoid making costly db or web services on every call . concode_f... | void function ( ) { AuctionBean loc0 = ( AuctionBean ) FacesUtils . getManagedBean ( BeanNames . AUCTION_BEAN ) ; refreshAuctionBean ( loc0 ) ; } |
1,606 | total examples in the iterator concode_field_sep int passes concode_elem_sep int batch concode_elem_sep DataSetPreProcessor preProcessor concode_elem_sep DataSetIterator iter concode_elem_sep int numPasses concode_elem_sep Logger log concode_field_sep DataSet next concode_elem_sep DataSet next concode_elem_sep int curs... | int function ( ) { return iter . totalExamples ( ) ; } |
1,607 | count of days in the given month one indexed of the given year . concode_field_sep TimeZone ZULU concode_elem_sep long SECS_PER_DAY concode_elem_sep Pattern UTC_TZID concode_elem_sep TimeZone BOGUS_TIMEZONE concode_elem_sep int[] MONTH_START_TO_DOY concode_field_sep TimeZone utcTimezone concode_elem_sep DateValue add c... | int function ( int arg0 , int arg1 ) { switch ( arg1 ) { case 1 : case 3 : case 5 : case 7 : case 8 : case 10 : case 12 : return 31 ; case 4 : case 6 : case 9 : case 11 : return 30 ; case 2 : return isLeapYear ( arg0 ) ? 29 : 28 ; default : throw new AssertionError ( arg1 ) ; } } |
1,608 | indicates whether some other name object is `` equal to '' this one concode_field_sep int HEX_CHAR concode_elem_sep Logger logger concode_elem_sep String name concode_field_sep String convertHexChars concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep String toString | boolean function ( Object arg0 ) { if ( arg0 == null ) return false ; if ( arg0 instanceof Name ) return name . equals ( ( ( Name ) arg0 ) . getName ( ) ) ; return arg0 instanceof String && name . equals ( arg0 ) ; } |
1,609 | sets the id . concode_field_sep List xxs concode_elem_sep X x concode_elem_sep Y y concode_elem_sep Long id concode_field_sep void setY concode_elem_sep X getX concode_elem_sep Y getY concode_elem_sep void setXxs concode_elem_sep void setX concode_elem_sep List getXxs concode_elem_sep long getId concode_elem_sep Long g... | void function ( long arg0 ) { this . id = arg0 ; } |
1,610 | get the list of elements and their values that have been removed . concode_field_sep boolean reinstated concode_elem_sep Item item concode_elem_sep List<BulkEditMetadataValue> constant concode_elem_sep boolean newItem concode_elem_sep boolean withdrawn concode_elem_sep boolean empty concode_elem_sep Collection oldOwnin... | List < BulkEditMetadataValue > function ( ) { return removes ; } |
1,611 | gets certificate 's expiration date concode_field_sep Cipher cipher concode_elem_sep long m_keyTime concode_elem_sep long m_nonceSeq concode_elem_sep Key m_keyObj concode_elem_sep javax.crypto.Cipher m_cipher concode_elem_sep MessageDigest msgDigest concode_elem_sep SecdefsCommon.PwdKey m_pwdkey concode_elem_sep Certif... | byte [ ] function ( ) { return m_cert . getCertExpDate ( ) ; } |
1,612 | sets the datacenterurls value for this getdatacenterurlsresult . concode_field_sep com.netsuite.webservices.platform.core_2014_2.DataCenterUrls dataCenterUrls concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_ele... | void function ( com . netsuite . webservices . platform . core_2014_2 . DataCenterUrls arg0 ) { this . dataCenterUrls = arg0 ; } |
1,613 | send data and reinitializes buffer . concode_field_sep int CLOSING concode_elem_sep StringBuffer buffer concode_elem_sep int OPENING concode_elem_sep int NO_CONTENT concode_elem_sep Writer writer concode_field_sep void writeText concode_elem_sep void writeElement concode_elem_sep void writeElement concode_elem_sep void... | void function ( ) { if ( writer != null ) { writer . write ( buffer . toString ( ) ) ; buffer = new StringBuffer ( ) ; } } |
1,614 | an md5 digest of the non-url-encoded message body string . this can be used to verify that amazon sqs received the message correctly . amazon sqs first url decodes the message before creating the md5 digest . for information about md5 , go to http://www.faqs.org/rfcs/rfc1321.html . concode_field_sep String mD5OfMessage... | String function ( ) { return this . mD5OfMessageBody ; } |
1,615 | splits the geolocation into latitude and longitude . concode_field_sep Integer altitude concode_elem_sep Double latitude concode_elem_sep String thingUid concode_elem_sep Integer interval concode_elem_sep String geolocation concode_elem_sep Double longitude concode_field_sep Integer getInterval concode_elem_sep Double ... | void function ( ) { String [ ] loc0 = StringUtils . split ( geolocation , "srini_string" ) ; if ( loc0 . length == 2 ) { latitude = toDouble ( loc0 [ 0 ] ) ; longitude = toDouble ( loc0 [ 1 ] ) ; } } |
1,616 | test action with nominal data set . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpBeforeClass concode_elem_sep void testDownloadEmpty concode_elem_sep PleaseWaitRunnable createTask | void function ( ) { assertNotNull ( createTask ( "srini_string" ) ) ; } |
1,617 | test method for org.apache.usergrid.persistence.query.tree.longliteral #integerliteral org.antlr.runtime.token . concode_field_sep PlaceHolder placeHolder concode_field_sep void longMin | void function ( ) { long loc0 = Long . MAX_VALUE ; String loc1 = String . valueOf ( loc0 ) ; LongLiteral loc2 = new LongLiteral ( new CommonToken ( 0 , loc1 ) ) ; assertEquals ( loc0 , loc2 . getValue ( ) . longValue ( ) ) ; } |
1,618 | takes an argument in set-syntax , see evaluateset , and deletes any of characters present in the specified string . charsetutils.delete null , = null charsetutils.delete '' '' , = '' '' charsetutils.delete , null = charsetutils.delete , '' '' = charsetutils.delete `` hello '' , `` hl '' = `` eo '' charsetutils.delete `... | String function ( final String arg0 , final String ... arg1 ) { if ( StringUtils . isEmpty ( arg0 ) || deepEmpty ( arg1 ) ) { return arg0 ; } return modify ( arg0 , arg1 , false ) ; } |
1,619 | processes a method with this optimization step . concode_field_sep SsaMethod ssaMeth concode_field_sep int getParamIndex concode_elem_sep void run | void function ( SsaMethod arg0 ) { new MoveParamCombiner ( arg0 ) . run ( ) ; } |
1,620 | returns the length of the matched text region . concode_field_sep int ZZ_NO_MATCH concode_elem_sep int yyline concode_elem_sep int yycolumn concode_elem_sep int ZZ_UNKNOWN_ERROR concode_elem_sep int ZZ_PUSHBACK_2BIG concode_elem_sep java.io.Reader zzReader concode_elem_sep int ZZ_BUFFERSIZE concode_elem_sep int zzMarke... | int function ( ) { return zzMarkedPos - zzStartRead ; } |
1,621 | trigger power button of server for short period concode_field_sep Ecmd ecmd concode_elem_sep String password concode_elem_sep String host concode_elem_sep String username concode_elem_sep Integer port concode_field_sep Integer getUptime concode_elem_sep void setPassword concode_elem_sep void setHost concode_elem_sep vo... | void function ( ) { this . ecmd . sendCommand ( "srini_string" , "srini_string" ) ; if ( ! this . ecmd . getResponse ( ) . equals ( "srini_string" ) ) throw new Lome6Exception ( "srini_string" ) ; } |
1,622 | returns the clabel . concode_field_sep int severity concode_elem_sep Image warnImage concode_elem_sep String NEW_LINE concode_elem_sep String STATUS_MESSAGE_ID concode_elem_sep List<StatusMessage> statusMessageList concode_elem_sep DecoratedLabel label concode_elem_sep String message concode_elem_sep Image blankImage c... | DecoratedLabel function ( ) { return label ; } |
1,623 | returns the identifier of the connection associated with this record . concode_field_sep Date endDate concode_elem_sep String remoteHost concode_elem_sep boolean active concode_elem_sep String connectionIdentifier concode_elem_sep String connectionName concode_elem_sep Date startDate concode_elem_sep String username co... | String function ( ) { return connectionIdentifier ; } |
1,624 | cons i is true iff b i is a consonant . concode_field_sep int i_end concode_elem_sep char[] b concode_elem_sep int INC concode_elem_sep int i concode_elem_sep int j concode_elem_sep int k concode_field_sep void add concode_elem_sep void step6 concode_elem_sep Collection listOptions concode_elem_sep void step4 concode_e... | boolean function ( int arg0 ) { switch ( b [ arg0 ] ) { case 'a' : case 'e' : case 'i' : case 'o' : case 'u' : return false ; case 'y' : return ( arg0 == 0 ) ? true : ! cons ( arg0 - 1 ) ; default : return true ; } } |
1,625 | get access to the accountdao concrete implementation . concode_field_sep AccountDAO accountsHolder concode_elem_sep TransactionDAO transactionsHolder concode_field_sep TransactionDAO getTransactionsDAO concode_elem_sep List<Transaction> getTransactionLogs concode_elem_sep void setAccountsDAO concode_elem_sep List<Strin... | AccountDAO function ( ) { return accountsHolder ; } |
1,626 | authenticates the user first phase . the implementation does not really authenticate the user here . always return true . concode_field_sep User mUser concode_elem_sep Subject mSubject concode_field_sep boolean logout concode_elem_sep boolean abort concode_elem_sep Principal getPrincipalUser concode_elem_sep boolean co... | boolean function ( ) { return true ; } |
1,627 | translates characters to character classes chosen bits are 8 , 6 , 7 total runtime size is 1040 bytes concode_field_sep int ZZ_NO_MATCH concode_elem_sep String[] ZZ_ERROR_MSG concode_elem_sep CharSequence zzBuffer concode_elem_sep int ZZ_UNKNOWN_ERROR concode_elem_sep int ZZ_PUSHBACK_2BIG concode_elem_sep int ZZ_LEXSTA... | int function ( int arg0 ) { return ZZ_CMAP_A [ ZZ_CMAP_Y [ ZZ_CMAP_Z [ arg0 >> 13 ] | ( ( arg0 >> 7 ) & 0x3f ) ] | ( arg0 & 0x7f ) ] ; } |
1,628 | sets the date value for this reportdescription . concode_field_sep java.lang.String date concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String dateFrom concode_elem_sep com.omniture.www.ReportDefinitionLocale locale concode_elem_sep com.... | void function ( java . lang . String arg0 ) { this . date = arg0 ; } |
1,629 | decodes a byte into an @a image that can be used in the rest of the application . concode_field_sep boolean mSucceeded concode_elem_sep Image mImage concode_elem_sep URL mSourceUrl concode_elem_sep String mFilterName concode_field_sep void setSucceeded concode_elem_sep String getFilterName concode_elem_sep String getFo... | void function ( byte [ ] arg0 ) { mImage = PlatformStrategy . instance ( ) . makeImage ( arg0 ) ; } |
1,630 | configure the certificate chain to use when serving https responses . the first certificate in this chain is the server 's certificate , further certificates are included in the handshake so the client can build a trusted path to a ca certificate . concode_field_sep SSLContext localhost concode_elem_sep HeldCertificate... | SslContextBuilder function ( HeldCertificate ... arg0 ) { this . chain = arg0 ; return this ; } |
1,631 | find a class by its full-qualified name concode_field_sep PlaceHolder placeHolder concode_field_sep PsiMember add concode_elem_sep String getInvokedMethodName concode_elem_sep void delegatesTo concode_elem_sep PsiMember enclosingMember concode_elem_sep PsiMethod enclosingMethod concode_elem_sep PsiClass enclosingClass ... | PsiClass function ( String arg0 , GdslMembersHolderConsumer arg1 ) { final JavaPsiFacade loc0 = JavaPsiFacade . getInstance ( arg1 . getProject ( ) ) ; return loc0 . findClass ( arg0 , GlobalSearchScope . allScope ( arg1 . getProject ( ) ) ) ; } |
1,632 | tests if the given character is a vowel . concode_field_sep char[] CHARS_C concode_elem_sep char[] CHARS_G concode_elem_sep char[] CHARS_SSS concode_elem_sep char[] CHARS_N concode_elem_sep char[] CHARS_S concode_elem_sep int TRUE_LENGTH concode_elem_sep Pattern PAT_MAC concode_elem_sep Pattern PAT_KN concode_elem_sep ... | boolean function ( final char arg0 ) { return arg0 == 'A' || arg0 == 'E' || arg0 == 'I' || arg0 == 'O' || arg0 == 'U' ; } |
1,633 | deletes an observer of this observable . concode_field_sep LinkedHashSet observers concode_elem_sep boolean changed concode_field_sep void deleteObservers concode_elem_sep void addObserver concode_elem_sep boolean hasChanged concode_elem_sep void clearChanged concode_elem_sep int countObservers concode_elem_sep void se... | void function ( Observer arg0 ) { observers . remove ( arg0 ) ; } |
1,634 | determines if the logging process actually does anything . in-memory database objects do not need to log anything . this method is essentially equivalent to testing whether this logger 's database is an in-memory mode database . concode_field_sep Log lLog concode_elem_sep LockFile lf concode_field_sep void checkpoint c... | boolean function ( ) { return lLog != null ; } |
1,635 | get parameter value from the web.xml file concode_field_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getActionAttribute concode_elem_... | String function ( String arg0 ) { ServletContext loc0 = ( ServletContext ) FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getContext ( ) ; return loc0 . getInitParameter ( arg0 ) ; } |
1,636 | generates a hash of a server 's challenge . concode_field_sep String HASH_FUNCTION_NAME concode_elem_sep String appVersion concode_elem_sep Logger LOGGER concode_elem_sep String hisMinimumVersion concode_elem_sep String ENCODING_NAME concode_field_sep void performAuthentication concode_elem_sep boolean isVersionCompati... | byte [ ] function ( String arg0 , String arg1 ) { MessageDigest loc0 ; loc0 = MessageDigest . getInstance ( HASH_FUNCTION_NAME ) ; String loc1 = arg0 + arg1 ; loc0 . update ( loc1 . getBytes ( ENCODING_NAME ) , 0 , loc1 . length ( ) ) ; return loc0 . digest ( ) ; } |
1,637 | gets the page that is currently being searched by this task . concode_field_sep boolean wholeWord concode_elem_sep int totalHitCount concode_elem_sep SwingController controller concode_elem_sep SearchPanel searchPanel concode_elem_sep int lengthOfTask concode_elem_sep boolean caseSensitive concode_elem_sep String dialo... | int function ( ) { return current ; } |
1,638 | gets the current ` raw ' typing handler . concode_field_sep TypedActionHandler myRawHandler concode_elem_sep boolean myHandlersLoaded concode_elem_sep TypedActionHandler myHandler concode_field_sep TypedActionHandler setupHandler concode_elem_sep void actionPerformed concode_elem_sep void ensureHandlersLoaded concode_e... | TypedActionHandler function ( ) { return myRawHandler ; } |
1,639 | gets the unique id of this abstract instance . concode_field_sep SymbolicInstance<?> ZEROPOS_DOMAIN concode_elem_sep SymbolicInstance<?> ZERO concode_elem_sep SymbolicInstance<?> NEG_DOMAIN concode_elem_sep Map<CtVariableReference<?>,String> fields concode_elem_sep SymbolicInstance<?> NULL concode_elem_sep String symbo... | String function ( ) { if ( literal != null ) { return literal ; } return getSymbolId ( concreteType , symbolName ) ; } |
1,640 | get subtree height . concode_field_sep int width concode_elem_sep int subtreeHeight concode_elem_sep boolean positionCalculated concode_elem_sep int height concode_elem_sep String DATA_KEY concode_elem_sep int subtreeWidth concode_elem_sep int yPos concode_elem_sep int preferredWidth concode_elem_sep int xPos concode_e... | int function ( ) { return subtreeHeight ; } |
1,641 | gets the value of the mac property . concode_field_sep String sim concode_elem_sep String imei concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep String activationCode concode_elem_sep String oldIMEI concode_elem_sep String mac concode_field_sep void setIMEI concode_elem_sep voi... | String function ( ) { return mac ; } |
1,642 | this is n't empty concode_field_sep int arbitrarilyHighIndex concode_elem_sep Field debitOrCreditField concode_elem_sep String newLineProperty concode_elem_sep AccountingLineViewFieldDefinition definition concode_elem_sep boolean isDebit concode_elem_sep String collectionProperty concode_field_sep AccountingLineViewFie... | boolean function ( ) { return false ; } |
1,643 | gets the value of the atoms property . concode_field_sep BigInteger numobs concode_elem_sep BigDecimal obsval concode_elem_sep BigDecimal mean concode_elem_sep BigDecimal mindiff concode_elem_sep BigDecimal zscore concode_elem_sep BigDecimal stdev concode_elem_sep String atoms concode_field_sep BigInteger getNumobs con... | String function ( ) { return atoms ; } |
1,644 | creates a new range for all indices within the given array . concode_field_sep int stop concode_elem_sep int start concode_elem_sep int step concode_field_sep Iterator<Integer> iterator concode_elem_sep int getStart concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_e... | Range function ( T [ ] arg0 ) { return new Range ( 0 , arg0 . length - 1 , 1 ) ; } |
1,645 | simple check that hashcode is implemented . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testEquals | void function ( ) { StandardXYZToolTipGenerator loc0 = new StandardXYZToolTipGenerator ( ) ; StandardXYZToolTipGenerator loc1 = new StandardXYZToolTipGenerator ( ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; assertTrue ( loc0 . hashCode ( ) == loc1 . hashCode ( ) ) ; } |
1,646 | returns the last publish date of this sample l a r booking . concode_field_sep SampleLARBooking _sampleLARBooking concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean ... | Date function ( ) { return _sampleLARBooking . getLastPublishDate ( ) ; } |
1,647 | checks if all given transitions have at least one action . returns false for empty lists . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean hasEntryAction concode_elem_sep boolean containsOnlyEventsOfType concode_elem_sep boolean oneIncomingTransitionEntersCompositeWithEntryActions concode_elem_sep b... | boolean function ( EList < Transition > arg0 ) { if ( arg0 . isEmpty ( ) ) return false ; for ( Transition loc0 : arg0 ) { if ( ! hasAtLeastOneAction ( loc0 ) ) { return false ; } } return true ; } |
1,648 | getter method to get the sla met concode_field_sep String ART concode_elem_sep String l1 concode_elem_sep String l2 concode_elem_sep String l3 concode_elem_sep String l4 concode_elem_sep String l5 concode_elem_sep String SLA concode_elem_sep String type concode_elem_sep String percentSLAMet concode_elem_sep String cust... | String function ( ) { return SLAMet ; } |
1,649 | discards any cached value for key . concode_field_sep Cache<String,UserDetails> detailsCache concode_elem_sep String idOrFullName concode_elem_sep Integer EXPIRE_AFTER_WRITE_SEC concode_elem_sep Cache<String,Boolean> existenceCache concode_elem_sep String SYS_PROP_NAME concode_field_sep UserDetails call concode_elem_se... | void function ( final String arg0 ) { existenceCache . invalidate ( arg0 ) ; detailsCache . invalidate ( arg0 ) ; } |
1,650 | add a new data value to the current estimator . concode_field_sep KernelEstimator[] m_Estimators concode_elem_sep DiscreteEstimator m_Weights concode_field_sep double getProbability concode_elem_sep String toString concode_elem_sep void main concode_elem_sep Estimator getEstimator concode_elem_sep String getRevision | void function ( double arg0 , double arg1 , double arg2 ) { m_Estimators [ ( int ) arg0 ] . addValue ( arg1 , arg2 ) ; m_Weights . addValue ( ( int ) arg0 , arg2 ) ; } |
1,651 | removes the leading slash if present . concode_field_sep Pattern GLOB_TOKENS concode_field_sep void deleteEmptyParentDirectories concode_elem_sep Path getPathWithoutSchemeAndAuthority concode_elem_sep boolean isGlob concode_elem_sep boolean isAncestor concode_elem_sep Path removeExtension concode_elem_sep Path relativi... | Path function ( Path arg0 ) { return new Path ( StringUtils . removeStart ( arg0 . toString ( ) , Path . SEPARATOR ) ) ; } |
1,652 | registers the given object for uris matching the given pattern . concode_field_sep Map map concode_field_sep void setObjects concode_elem_sep Object lookup concode_elem_sep boolean matchUriRequestPattern concode_elem_sep void unregister concode_elem_sep void setHandlers | void function ( final String arg0 , final Object arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . map . put ( arg0 , arg1 ) ; } |
1,653 | returns this currency 's iso 4217 currency code . concode_field_sep Hashtable<String,Currency> codesToCurrencies concode_elem_sep Hashtable<Locale,Currency> localesToCurrencies concode_elem_sep long serialVersionUID concode_elem_sep String currencyCode concode_elem_sep int defaultFractionDigits concode_field_sep String... | String function ( ) { return currencyCode ; } |
1,654 | utility method that serializes the payload of the given message using given serializer and expectedrepresentation . this method will verify if the eventmessage is serializationaware . concode_field_sep Serializer serializer concode_field_sep SerializedType typeForClass concode_elem_sep SerializedObject<T> serialize con... | SerializedObject < T > function ( Message < ? > arg0 , Serializer arg1 , Class < T > arg2 ) { if ( arg0 instanceof SerializationAware ) { return ( ( SerializationAware ) arg0 ) . serializePayload ( arg1 , arg2 ) ; } return arg1 . serialize ( arg0 . getPayload ( ) , arg2 ) ; } |
1,655 | tells whether or not the previously-parsed ucs-4 character was originally represented by a surrogate pair . concode_field_sep int character concode_elem_sep boolean isPair concode_elem_sep char MIN concode_elem_sep char MIN_HIGH concode_elem_sep char MAX_HIGH concode_elem_sep char MIN_LOW concode_elem_sep CoderResult e... | boolean function ( ) { assert ( error == null ) ; return isPair ; } |
1,656 | map the result of a future to a specific value . when this future succeeds , this value will complete the future returned by this method call.when this future fails , the failure will be propagated to the returned future . concode_field_sep FutureFactory factory concode_field_sep Future<T> setHandler concode_elem_sep T... | Future < V > function ( V arg0 ) { Future < V > loc0 = Future . future ( ) ; setHandler ( ar -> { if ( ar . succeeded ( ) ) { loc0 . complete ( arg0 ) ; } else { loc0 . fail ( ar . cause ( ) ) ; } } ) ; return loc0 ; } |
1,657 | synchronized . concode_field_sep FileCollection delegate concode_elem_sep Object lock concode_field_sep String getCollectionName concode_elem_sep void releaseResources concode_elem_sep URL getResource concode_elem_sep boolean containsFile concode_elem_sep List<String> getFileNames concode_elem_sep URL[] getUrls concode... | URL [ ] function ( String arg0 ) { synchronized ( lock ) { return delegate . getResources ( arg0 ) ; } } |
1,658 | adds an instance with a start and/or close method to the lifecycle at stage.normal . if the lifecycle has already been started , it throws an ise concode_field_sep Stage currStage concode_elem_sep AtomicBoolean started concode_elem_sep Logger log concode_elem_sep Logger log concode_elem_sep Method stopMethod concode_el... | T function ( T arg0 ) { addHandler ( new StartCloseHandler ( arg0 ) ) ; return arg0 ; } |
1,659 | calls the rpclistener #onfailure string , throwable method for alllisteners . concode_field_sep Set<RpcListener> listeners concode_field_sep void removeRpcListener concode_elem_sep void fireSuccess concode_elem_sep void addRpcListener concode_elem_sep void fireStart | void function ( String arg0 , Throwable arg1 ) { for ( RpcListener loc0 : listeners ) { loc0 . onFailure ( arg0 , arg1 ) ; } } |
1,660 | computes column count in one row . concode_field_sep PlaceHolder placeHolder concode_field_sep ReportItemHandle getElementHandle concode_elem_sep Module getModule concode_elem_sep int getRowCount concode_elem_sep int getColumnCount concode_elem_sep boolean hasParent | int function ( RowHandle arg0 ) { TableRow loc0 = ( TableRow ) arg0 . getElement ( ) ; return computeRowCount ( loc0 ) ; } |
1,661 | sets the value of the resourceref property . concode_field_sep ResourceType resourceRef concode_elem_sep String label concode_field_sep String getLabel concode_elem_sep ResourceType getResourceRef concode_elem_sep void setLabel | void function ( ResourceType arg0 ) { this . resourceRef = arg0 ; } |
1,662 | decreases the key value for a heap node , given the new value to take on . the structure of the heap may be changed and will not be consolidated . running time : o 1 amortized concode_field_sep Map<Object,Node> nodes concode_elem_sep Node parent concode_elem_sep Node min concode_elem_sep int size concode_elem_sep Node ... | void function ( Node arg0 , double arg1 ) { if ( arg1 > arg0 . key ) { throw new IllegalArgumentException ( "srini_string" ) ; } arg0 . key = arg1 ; Node loc0 = arg0 . parent ; if ( ( loc0 != null ) && ( arg0 . key < loc0 . key ) ) { cut ( arg0 , loc0 ) ; cascadingCut ( loc0 ) ; } if ( min == null || arg0 . key < min .... |
1,663 | removes all the entries added into exprs . < p > returns a reference to this object so that method calls can be chained together . concode_field_sep com.amazonaws.internal.SdkInternalMap<String,String> highlights concode_elem_sep com.amazonaws.internal.SdkInternalMap<String,String> exprs concode_elem_sep String id conc... | Hit function ( ) { this . exprs = null ; return this ; } |
1,664 | get the type of edge in the depth first search . concode_field_sep VertexChooser<VertexType> vertexChooser concode_elem_sep boolean DEBUG concode_elem_sep int BLACK concode_elem_sep GraphType graph concode_elem_sep int[] colorList concode_elem_sep int[] finishTimeList concode_elem_sep SearchTreeCallback<VertexType> sea... | int function ( EdgeType arg0 ) { return dfsEdgeTypeList [ arg0 . getLabel ( ) ] ; } |
1,665 | get float preferences concode_field_sep String PREFERENCE_NAME concode_field_sep Object readObjectExt concode_elem_sep boolean putInt concode_elem_sep boolean saveBitmap concode_elem_sep boolean putString concode_elem_sep String getString concode_elem_sep String getString concode_elem_sep boolean putLong concode_elem_s... | float function ( Context arg0 , String arg1 ) { return getFloat ( arg0 , arg1 , - 1 ) ; } |
1,666 | creates an implementation of adapterviewprotocol that can work with expandablelistviews . concode_field_sep Object dataAtPosition concode_elem_sep String TAG concode_elem_sep AdapterViewProtocol EXPANDABLELISTVIEW_PROTOCOL concode_elem_sep int FULLY_RENDERED_PERCENTAGE_CUTOFF concode_elem_sep int group concode_elem_sep... | AdapterViewProtocol function ( ) { return EXPANDABLELISTVIEW_PROTOCOL ; } |
1,667 | starts the geolocation service concode_field_sep PlaceHolder placeHolder concode_field_sep List<Address> geoDecode concode_elem_sep void stopLocatingPhone concode_elem_sep void launchExternal | void function ( ) { Intent loc0 = new Intent ( XmppService . getInstance ( ) , LocationService . class ) ; loc0 . setAction ( LocationService . START_SERVICE ) ; XmppService . getInstance ( ) . startService ( loc0 ) ; } |
1,668 | returns a charsequence that concatenates the specified array of charsequence objects and then applies a list of zero or more tags to the entire range . concode_field_sep PlaceHolder placeHolder concode_field_sep CharSequence normal concode_elem_sep CharSequence color concode_elem_sep void openTags concode_elem_sep Char... | CharSequence function ( CharSequence [ ] arg0 , Object ... arg1 ) { SpannableStringBuilder loc0 = new SpannableStringBuilder ( ) ; openTags ( loc0 , arg1 ) ; for ( CharSequence loc1 : arg0 ) { loc0 . append ( loc1 ) ; } closeTags ( loc0 , arg1 ) ; return loc0 ; } |
1,669 | returns true if the http connection needs to tunnel one protocol over another , such as when using https through an http proxy . when doing so , we must avoid buffering bytes intended for the higher-level protocol . concode_field_sep int httpMinorVersion concode_elem_sep byte[] HTTP_11 concode_elem_sep Route route conc... | boolean function ( ) { return route . address . sslSocketFactory != null && route . proxy . type ( ) == Proxy . Type . HTTP ; } |
1,670 | sets needed by . concode_field_sep String patron concode_elem_sep String nyplSource concode_elem_sep String recordType concode_elem_sep String updatedDate concode_elem_sep String pickupLocation concode_elem_sep String neededBy concode_elem_sep String jobId concode_elem_sep Boolean processed concode_elem_sep String crea... | void function ( String arg0 ) { this . neededBy = arg0 ; } |
1,671 | restores the cluster to it 's initial state if this is a real cluster , otherwise does nothing . this is a best effort restore . if the servers are not reachable , or insufficient permissions , etc. restoration might be partial . concode_field_sep ClusterStatus initialClusterStatus concode_elem_sep Configuration conf c... | boolean function ( ) { return restoreClusterStatus ( getInitialClusterStatus ( ) ) ; } |
1,672 | evaluates the continued fraction at the value x. concode_field_sep double DEFAULT_EPSILON concode_field_sep double getA concode_elem_sep double getB | double function ( double arg0 ) { return evaluate ( arg0 , DEFAULT_EPSILON , Integer . MAX_VALUE ) ; } |
1,673 | called by the driver after issuing the mysql protocol handshake and reading the results of the handshake . concode_field_sep String host concode_elem_sep int socketTimeoutBackup concode_elem_sep long loginTimeoutCheckTimestamp concode_elem_sep Socket rawSocket concode_elem_sep int loginTimeoutCountdown concode_elem_sep... | Socket function ( ) { resetLoginTimeCountdown ( ) ; this . rawSocket . setSoTimeout ( this . socketTimeoutBackup ) ; return this . rawSocket ; } |
1,674 | should this node hold data shards or not . concode_field_sep String nodeName concode_elem_sep String hostName concode_elem_sep TransportAddress address concode_elem_sep Set<Role> roles concode_elem_sep String roleName concode_elem_sep Map<String,String> attributes concode_elem_sep String hostAddress concode_elem_sep St... | boolean function ( ) { return roles . contains ( Role . DATA ) ; } |
1,675 | gets value . concode_field_sep String value concode_elem_sep String key concode_field_sep String getKey concode_elem_sep void setValue concode_elem_sep String toString concode_elem_sep void setKey | String function ( ) { return value ; } |
1,676 | set the style . concode_field_sep int BLOB_CIRCLE concode_elem_sep double _normal concode_elem_sep double _originY concode_elem_sep double _originX concode_elem_sep int _style concode_elem_sep Paint _fillColor concode_elem_sep int BLOB_DIAMOND concode_elem_sep double _unit concode_elem_sep boolean _shapeValid concode_e... | void function ( int arg0 ) { _style = arg0 ; _shapeValid = false ; } |
1,677 | returns the number of times cache lookup methods have successfully loaded a new value.this is always incremented in conjunction with #misscount , though misscount is also incremented when an exception is encountered during cache loading see #loadexceptioncount . multiple concurrent misses for the same key will result i... | long function ( ) { return loadSuccessCount ; } |
1,678 | sets the value of the ` xlink : arcrole ' attribute of the given element . concode_field_sep PlaceHolder placeHolder concode_field_sep String getXLinkHref concode_elem_sep void setXLinkHref concode_elem_sep String getXLinkShow concode_elem_sep void setXLinkShow concode_elem_sep String getXLinkTitle concode_elem_sep Str... | void function ( Element arg0 , String arg1 ) { arg0 . setAttributeNS ( XLINK_NAMESPACE_URI , "srini_string" , arg1 ) ; } |
1,679 | test whether this iterator is set to traverse the graph across connected components . concode_field_sep List<TraversalListener<V,E>> traversalListeners concode_elem_sep boolean reuseEvents concode_elem_sep boolean crossComponentTraversal concode_elem_sep int nListeners concode_field_sep void removeTraversalListener con... | boolean function ( ) { return crossComponentTraversal ; } |
1,680 | getboolean . concode_field_sep Properties props concode_field_sep long getLong concode_elem_sep int getInt concode_elem_sep void set concode_elem_sep void load concode_elem_sep Enumeration<String> keys concode_elem_sep String get concode_elem_sep void store | boolean function ( String arg0 , boolean arg1 ) { String loc0 = props . getProperty ( arg0 ) ; if ( loc0 == null ) return arg1 ; return Boolean . parseBoolean ( loc0 ) ; } |
1,681 | sets the location value for this chartappearance . concode_field_sep java.lang.Boolean showValues concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.Boolean showLegend concode_elem_sep java.lang.String width concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.eclipse.birt.report.soapengi... | void function ( org . eclipse . birt . report . soapengine . api . ChartLocation arg0 ) { this . location = arg0 ; } |
1,682 | on agentsevent create a new agent . concode_field_sep AsteriskServerImpl server concode_elem_sep Map<String,AsteriskAgentImpl> ringingAgents concode_elem_sep Log logger concode_elem_sep Map<String,AsteriskAgentImpl> agents concode_field_sep void handleAgentCallbackLoginEvent concode_elem_sep void updateAgentState conco... | void function ( AgentsEvent arg0 ) { AsteriskAgentImpl loc0 = new AsteriskAgentImpl ( server , arg0 . getName ( ) , "srini_string" + arg0 . getAgent ( ) , AgentState . valueOf ( arg0 . getStatus ( ) ) ) ; logger . info ( "srini_string" + loc0 . getName ( ) + "srini_string" + loc0 . getAgentId ( ) + "srini_string" ) ; a... |
1,683 | path to the js bundle file to be loaded from the file system . example : `` assets : / / index.android.js '' or '' / sdcard/main . jsbundle '' concode_field_sep NotThreadSafeBridgeIdleDebugListener mBridgeIdleDebugListener concode_elem_sep Activity mCurrentActivity concode_elem_sep List<ReactPackage> mPackages concode_... | Builder function ( String arg0 ) { mJSBundleFile = arg0 ; return this ; } |
1,684 | trace the given text . concode_field_sep byte WARNING concode_elem_sep byte FINER concode_elem_sep Set<String> logged concode_elem_sep SimpleDateFormat sdf concode_elem_sep byte CONFIG concode_elem_sep byte FINEST concode_elem_sep byte PERFORMANCE concode_elem_sep String[] levelNames concode_elem_sep byte EXTENSION_POI... | void function ( byte arg0 , String arg1 ) { trace ( arg0 , arg1 , null ) ; } |
1,685 | check if there 's at least one form parameter concode_field_sep Boolean hasMore concode_elem_sep List<CodegenParameter> allParams concode_elem_sep String notes concode_elem_sep List<CodegenProperty> responseHeaders concode_elem_sep Set<String> imports concode_elem_sep Boolean isResponseBinary concode_elem_sep List<Code... | boolean function ( ) { return nonempty ( formParams ) ; } |
1,686 | register performancelogfilter to log running time of requests . concode_field_sep AutowireCapableBeanFactory beanFactory concode_field_sep DiagnosticContextFacade diagnosticContextFacade concode_elem_sep FilterRegistrationBean diagnosticContextFilter concode_elem_sep FilterRegistrationBean setCharacterEncodingFilter | FilterRegistrationBean function ( ) { FilterRegistrationBean loc0 = new FilterRegistrationBean ( ) ; Filter loc1 = new PerformanceLogFilter ( ) ; this . beanFactory . autowireBean ( loc1 ) ; loc0 . setFilter ( loc1 ) ; loc0 . addUrlPatterns ( "srini_string" ) ; return loc0 ; } |
1,687 | encodes the specified string using the base64 encoding . concode_field_sep byte[] BASE64_FOR_URL_ALPHABET_ARRAY concode_elem_sep byte[] BASE64_ALPHABET_ARRAY concode_elem_sep byte PAD concode_field_sep byte[] encodeForURL | String function ( String arg0 ) { if ( arg0 == null ) { return null ; } return new String ( encode ( arg0 . getBytes ( ) ) ) ; } |
1,688 | set the value of the text property . concode_field_sep String branchContractedIcon concode_elem_sep boolean expanded concode_elem_sep String tooltip concode_elem_sep String branchExpandedIcon concode_elem_sep String icon concode_elem_sep String action concode_elem_sep DefaultMutableTreeNode wrapper concode_elem_sep int... | void function ( String arg0 ) { this . text = arg0 ; } |
1,689 | overriding : classify score a feature set concode_field_sep int RETRAIN_INTERVAL concode_field_sep int retrain_interval concode_elem_sep void train | double function ( feature_set arg0 ) { return ( svm_classify . classify ( arg0 ) ) ; } |
1,690 | error log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void set... | void function ( String arg0 , String arg1 ) { if ( LOG . ERROR >= LOGLEVEL ) Log . e ( arg0 , arg1 ) ; } |
1,691 | a complex type that contains settings for the specified traffic policy . concode_field_sep TrafficPolicy trafficPolicy concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep UpdateTrafficPolicyCommentResult clone concode_elem_sep TrafficPolicy getTrafficPolicy concode_elem_sep String toString c... | UpdateTrafficPolicyCommentResult function ( TrafficPolicy arg0 ) { setTrafficPolicy ( arg0 ) ; return this ; } |
1,692 | sets the length of the data appended after the protocol header . note that this library , a bit in contrast to the specification , counts the unit identifier and the function code to the header , because it is part of each and every message . thus this message will append two 2 to the passed in integer value . concode_... | void function ( int arg0 ) { m_DataLength = arg0 + 2 ; } |
1,693 | creates a new instance of the scheduletocsv class and immediately calls the function getcsvschedule which returns a 2d array of strings that represent how the schedule will appear when printed out to the output file . concode_field_sep Schedule schedule concode_elem_sep ScheduleLogger logger concode_field_sep void logB... | String [ ] [ ] function ( ) { return new ScheduleToCSV ( this . schedule ) . getCSVSchedule ( ) ; } |
1,694 | retrieves the number of vertices in the graph . concode_field_sep IterationRuntimeContext runtimeContext concode_elem_sep long numberOfVertices concode_field_sep T getPreviousIterationAggregate concode_elem_sep void postSuperstep concode_elem_sep void init concode_elem_sep T getIterationAggregator concode_elem_sep int ... | long function ( ) { return numberOfVertices ; } |
1,695 | returns a string representation of the object . concode_field_sep long OPSP_CARD_SPECIFIC concode_elem_sep long OPSP_CARD_NEGOTIABLE concode_elem_sep long protocol concode_elem_sep long OPSP_CARD_PROTOCOL_T0 concode_elem_sep long OPSP_CARD_ABSENT concode_elem_sep long OPSP_CARD_PROTOCOL_T1 concode_elem_sep long OPSP_CA... | String function ( ) { return "srini_string" + OPSPUtil . toHexString ( ATR ) + "srini_string" + "srini_string" + protocol + "srini_string" + "srini_string" + state ; } |
1,696 | setup the tests . concode_field_sep String NAME concode_elem_sep String USER concode_elem_sep Application a concode_elem_sep String VERSION concode_field_sep void testSetTags concode_elem_sep void testSetConfigs concode_elem_sep void testSetCommands concode_elem_sep void testDefaultConstructor concode_elem_sep void tes... | void function ( ) { this . a = new Application ( ) ; } |
1,697 | returns the zoom type . concode_field_sep float mZoomRate concode_elem_sep boolean mZoomIn concode_field_sep float getZoomRate | boolean function ( ) { return mZoomIn ; } |
1,698 | getter method for sla concode_field_sep String sdr concode_elem_sep String ftr concode_elem_sep String sla concode_elem_sep long serialVersionUID concode_elem_sep String categoryName concode_elem_sep String caseType concode_elem_sep String subCategoryName concode_elem_sep String subSubCategoryName concode_elem_sep Stri... | String function ( ) { return sla ; } |
1,699 | checks if the text contains more words . concode_field_sep IntList[] searchPos concode_elem_sep int caret concode_elem_sep int pos concode_elem_sep int posEnd concode_elem_sep int length concode_elem_sep int start concode_elem_sep boolean link concode_elem_sep int searchIndex concode_elem_sep int end concode_elem_sep b... | boolean function ( ) { int loc0 = posEnd ; pos = loc0 ; if ( loc0 >= length ) return false ; int loc1 = cp ( text , loc0 ) ; loc0 += cl ( text , loc0 ) ; if ( lod ( loc1 ) ) { while ( loc0 < length ) { loc1 = cp ( text , loc0 ) ; if ( ! lod ( loc1 ) ) break ; loc0 += cl ( text , loc0 ) ; } } posEnd = loc0 ; return true... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.