idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
2,700 | returns the id route of this race . concode_field_sep Race _race concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep Race getWrappedRace concode_elem_sep boolean isCac... | long function ( ) { return _race . getIdRoute ( ) ; } |
2,701 | determine whether the given bean class qualifies as an mbean as-is . this implementation checks for javax.management.dynamicmbean classes as well as classes with corresponding `` mbean '' interface standard mbeans or corresponding `` mxbean '' interface java 6 mxbeans . concode_field_sep Log logger concode_elem_sep Str... | boolean function ( Class < ? > arg0 ) { return ( arg0 != null && ( DynamicMBean . class . isAssignableFrom ( arg0 ) || ( getMBeanInterface ( arg0 ) != null || getMXBeanInterface ( arg0 ) != null ) ) ) ; } |
2,702 | this method tweets a given nytimesword to the @ouracives twitter account concode_field_sep String consumerSecretStr concode_elem_sep String accessTokenStr concode_elem_sep String consumerKeyStr concode_elem_sep String accessTokenSecretStr concode_elem_sep OuracivesLogger ouracivesLogger concode_field_sep void callUrl c... | void function ( OuracivesNYTimesWord arg0 ) { String loc0 = convertNYTimesWordToTweet ( arg0 ) ; tweetText ( loc0 ) ; } |
2,703 | return the element index of the first element on the current page . element numbering starts with 0 . concode_field_sep Date refreshDate concode_elem_sep int page concode_elem_sep SortDefinition sortUsed concode_elem_sep int DEFAULT_MAX_LINKED_PAGES concode_elem_sep List<E> source concode_elem_sep SortDefinition sort c... | int function ( ) { return ( getPageSize ( ) * getPage ( ) ) ; } |
2,704 | called when a new image is received in these camera modes : com.sony.smarteyeglass.smarteyeglasscontrol.intents #camera_mode_still com.sony.smarteyeglass.smarteyeglasscontrol.intents #camera_mode_jpg_stream_low_rate com.sony.smarteyeglass.smarteyeglasscontrol.intents #camera_mode_jpg_stream_high_rate concode_field_sep ... | void function ( final CameraEvent arg0 ) { } |
2,705 | return the database of all thrust curves loaded into the system . concode_field_sep Injector injector concode_elem_sep ExceptionHandler exceptionHandler concode_field_sep boolean useSafetyChecks concode_elem_sep Preferences getPreferences concode_elem_sep void setExceptionHandler concode_elem_sep Injector getInjector c... | MotorDatabase function ( ) { return injector . getInstance ( MotorDatabase . class ) ; } |
2,706 | create an instance of lifetimetype concode_field_sep QName _KeyType_QNAME concode_elem_sep QName _RequestSecurityToken_QNAME concode_elem_sep QName _RequestedSecurityToken_QNAME concode_elem_sep QName _TokenType_QNAME concode_elem_sep QName _UseKey_QNAME concode_elem_sep QName _BinaryExchange_QNAME concode_elem_sep QNa... | LifetimeType function ( ) { return new LifetimeType ( ) ; } |
2,707 | writes a json object to a file . the object is passed to #savejson object , outputstream with file stream.it will converts the object to utf-8 string . if parent file does not exists , it is automatically created via file #mkdir not mkdirs . concode_field_sep UtilShell uSh concode_elem_sep ExceptionShell exSh concode_e... | void function ( Object arg0 , File arg1 ) { try { File loc0 = arg1 . getParentFile ( ) ; if ( loc0 != null && ! loc0 . exists ( ) ) { loc0 . mkdir ( ) ; } FileOutputStream loc1 = new FileOutputStream ( arg1 ) ; saveJson ( arg0 , loc1 ) ; loc1 . close ( ) ; } catch ( Exception loc0 ) { exSh . throwWrapped ( loc0 ) ; } } |
2,708 | get the players scrollers concode_field_sep HashMap<Player,ArrayList<Scroll>> scrollers concode_elem_sep HashMap<Player,Scroll> title concode_field_sep Scroll createScroller concode_elem_sep Scroll getTitleScroller concode_elem_sep void reset concode_elem_sep Scroll createTitleScroller | ArrayList < Scroll > function ( Player arg0 ) { return ScrollManager . scrollers . get ( arg0 ) ; } |
2,709 | get custom serializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String htmlSnippet concode_field_sep java.lang.String getHtmlSnippet concode_elem_sep org.apache.axis.description.TypeDe... | org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } |
2,710 | stops the server . server is shutdown after processing of the current request is complete . concode_field_sep int DEFAULT_SMTP_PORT concode_elem_sep ServerSocket serverSocket concode_elem_sep boolean stopped concode_elem_sep List<SmtpMessage> receivedMail concode_elem_sep int port concode_elem_sep int TIMEOUT concode_f... | void function ( ) { stopped = true ; try { serverSocket . close ( ) ; } catch ( final IOException loc0 ) { } } |
2,711 | test method concode_field_sep PlaceHolder placeHolder concode_field_sep void testFindLibFileDefault concode_elem_sep void testFileCopy concode_elem_sep void testCleanupTempFiles concode_elem_sep void teardown | void function ( ) { String loc0 = TestUtil . TEST_DATA_FOLDER + "srini_string" ; System . setProperty ( DLLManager . LIB_DIR_OVERRIDE , loc0 ) ; File loc1 = DLLManager . findLibFile ( ) ; assertTrue ( loc1 . getAbsolutePath ( ) . contains ( loc0 ) ) ; } |
2,712 | get the list of registered file extensions concode_field_sep FileTypes BINARY concode_elem_sep FileTypes ASCII concode_elem_sep Hashtable fileTypes concode_field_sep void unregisterExtension concode_elem_sep void registerExtension concode_elem_sep boolean matches concode_elem_sep boolean matches | String [ ] function ( ) { String [ ] loc0 = new String [ fileTypes . size ( ) ] ; Enumeration loc1 = fileTypes . elements ( ) ; int loc2 = 0 ; while ( loc1 . hasMoreElements ( ) ) { loc0 [ loc2 ++ ] = ( String ) loc1 . nextElement ( ) ; } return loc0 ; } |
2,713 | use an xpath string to select a nodelist . xpath namespace prefixes are resolved from the namespacenode . concode_field_sep PlaceHolder placeHolder concode_field_sep NodeList selectNodeList concode_elem_sep NodeList selectNodeList concode_elem_sep XObject eval concode_elem_sep XObject eval concode_elem_sep XObject eval... | NodeIterator function ( Node arg0 , String arg1 , Node arg2 ) { XObject loc0 = eval ( arg0 , arg1 , arg2 ) ; return loc0 . nodeset ( ) ; } |
2,714 | gets the topmost y-position of this rectangle . concode_field_sep boolean filled concode_elem_sep double x concode_elem_sep double width concode_elem_sep double y concode_elem_sep Color color concode_elem_sep double height concode_field_sep int getX concode_elem_sep int getHeight concode_elem_sep void grow concode_elem... | int function ( ) { return ( int ) Math . round ( y ) ; } |
2,715 | returns the number of key-value mappings that this sparseintarray currently stores . concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep int[] mValues concode_field_sep int keyAt concode_elem_sep int[] keys concode_elem_sep int[] values concode_elem_sep void clear concode_elem_sep int valueAt conc... | int function ( ) { return mSize ; } |
2,716 | render this escape . concode_field_sep CharSequence sequence concode_elem_sep int character concode_elem_sep TokenBuilder err concode_elem_sep CssReader reader concode_elem_sep boolean debug concode_elem_sep Optional<CssEscape> ABSENT concode_field_sep Optional<CssEscape> create concode_elem_sep String toString | int function ( TokenBuilder arg0 , CharMatcher arg1 ) { char loc0 = ( char ) character ; if ( arg1 . matches ( loc0 ) ) { arg0 . append ( loc0 ) ; } else { arg0 . append ( sequence ) ; } return sequence . length ( ) - 1 ; } |
2,717 | computes the distance tolerance to use during input line simplification . concode_field_sep PrecisionModel precisionModel concode_elem_sep double distance concode_elem_sep double SIMPLIFY_FACTOR concode_elem_sep BufferParameters bufParams concode_field_sep Coordinate[] getLineCurve concode_elem_sep Coordinate[] getRing... | double function ( double arg0 ) { return arg0 / SIMPLIFY_FACTOR ; } |
2,718 | gets the list of grant objects in this access control list acl . concode_field_sep Owner owner concode_elem_sep List<Grant> grantList concode_elem_sep long serialVersionUID concode_elem_sep Set<Grant> grantSet concode_field_sep void grantAllPermissions concode_elem_sep Set<Grant> getGrants concode_elem_sep void revokeA... | List < Grant > function ( ) { checkState ( ) ; if ( grantList == null ) { if ( grantSet == null ) { grantList = new LinkedList < Grant > ( ) ; } else { grantList = new LinkedList < Grant > ( grantSet ) ; grantSet = null ; } } return grantList ; } |
2,719 | check whether the message with this id has been already received . concode_field_sep String MESSAGE_ID_HEADER concode_elem_sep String MESSAGE_TYPE_IMAGE concode_elem_sep int MESSAGE_ID_HISTORY_LENGTH concode_elem_sep byte[] imageBuffer concode_elem_sep String MESSAGE_TYPE_TEXT concode_elem_sep byte historyIndex concode... | boolean function ( String arg0 ) { if ( arg0 == null ) { return false ; } if ( Arrays . contains ( messageIdHistory , arg0 ) ) { return true ; } messageIdHistory [ historyIndex ++ ] = arg0 ; if ( historyIndex >= MESSAGE_ID_HISTORY_LENGTH ) { historyIndex = 0 ; } return false ; } |
2,720 | the method should read this object from the cdr input stream , but following the jdk 1.5 api it does not . concode_field_sep PlaceHolder placeHolder concode_field_sep NameDynAnyPair[] extract concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | NameDynAnyPair [ ] function ( InputStream arg0 ) { throw new MARSHAL ( DynAnyFactoryHelper . not_applicable ( id ( ) ) ) ; } |
2,721 | the name of the api 's stage . concode_field_sep String basePath concode_elem_sep String stage concode_elem_sep String restApiId concode_field_sep String getBasePath concode_elem_sep GetBasePathMappingResult withStage concode_elem_sep int hashCode concode_elem_sep void setRestApiId concode_elem_sep boolean equals conco... | String function ( ) { return this . stage ; } |
2,722 | reads tags from the specified repository . concode_field_sep PlaceHolder placeHolder concode_field_sep void toRSS concode_elem_sep List<FeedEntryModel> readSearchFeed concode_elem_sep List<FeedEntryModel> readFeed concode_elem_sep List<FeedEntryModel> readFeed concode_elem_sep List<FeedEntryModel> readFeed | List < FeedEntryModel > function ( String arg0 , String arg1 , int arg2 , int arg3 , String arg4 , char [ ] arg5 ) { return readFeed ( arg0 , arg1 , null , FeedObjectType . TAG , arg2 , arg3 , arg4 , arg5 ) ; } |
2,723 | helper to build a 2-entry modifiers map . concode_field_sep Map<String,String> mods concode_elem_sep String mod concode_field_sep Builder thinktime concode_elem_sep Builder shouldFail concode_elem_sep Map<String,String> build concode_elem_sep Builder ignore concode_elem_sep String toString concode_elem_sep Builder time... | Map < String , String > function ( Mods arg0 , String arg1 , Mods arg2 , String arg3 ) { Map < String , String > loc0 = new HashMap < String , String > ( 2 ) ; loc0 . put ( arg0 . toString ( ) , arg1 ) ; loc0 . put ( arg2 . toString ( ) , arg3 ) ; return loc0 ; } |
2,724 | returns the raw response received from the network . will be null if this response did n't use the network , such as when the response is fully cached . the body of the returned response should not be read . concode_field_sep Response cacheResponse concode_elem_sep Request request concode_elem_sep Handshake handshake c... | Response function ( ) { return networkResponse ; } |
2,725 | returns the name of the method . concode_field_sep com.badlogic.gwtref.client.Method method concode_field_sep boolean isAccessible concode_elem_sep boolean isStatic concode_elem_sep void setAccessible concode_elem_sep boolean isAnnotationPresent concode_elem_sep boolean isVarArgs concode_elem_sep boolean isDefaultAcces... | String function ( ) { return method . getName ( ) ; } |
2,726 | returns the bundle context of this bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
2,727 | increments the local cseq number concode_field_sep Vector<NameAddress> route concode_elem_sep NameAddress local_contact concode_elem_sep NameAddress remote_name concode_elem_sep NameAddress remote_contact concode_elem_sep String remote_tag concode_elem_sep String local_tag concode_elem_sep long remote_cseq concode_elem... | void function ( ) { local_cseq ++ ; } |
2,728 | the consumer resource name we would like to watch concode_field_sep int poolSize concode_elem_sep String caCertData concode_elem_sep String resourceName concode_elem_sep String portName concode_elem_sep String oauthToken concode_elem_sep String clientKeyAlgo concode_elem_sep String clientCertFile concode_elem_sep Strin... | String function ( ) { return resourceName ; } |
2,729 | sets the minimal number of milliseconds which we should wait between sending messages to the provider , prevents issues with sending too many requests per second . concode_field_sep Request request concode_elem_sep String SMS_DEFAULT_MILLISECONDS_BETWEEN_MESSAGES concode_elem_sep Integer millisecondsBetweenMessages con... | void function ( Integer arg0 ) { this . millisecondsBetweenMessages = arg0 ; } |
2,730 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String marker concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<ReservedNodeOffering> reservedNodeOfferings concode_field_sep DescribeReservedNodeOfferingsResult withReservedNodeOfferings concode_elem_s... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getMarker ( ) != null ) loc0 . append ( "srini_string" + getMarker ( ) + "srini_string" ) ; if ( getReservedNodeOfferings ( ) != null ) loc0 . append ( "srini_string" + getReservedNodeOfferings ( ) ) ; loc0 . appe... |
2,731 | returns the number of recent layout set branchs . concode_field_sep RecentLayoutSetBranchLocalService _recentLayoutSetBranchLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getAction... | int function ( ) { return _recentLayoutSetBranchLocalService . getRecentLayoutSetBranchsCount ( ) ; } |
2,732 | adds the akismet data to the database . also notifies the appropriate model listeners . concode_field_sep AkismetDataLocalService _akismetDataLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.akismet.model.AkismetData createAkis... | com . liferay . akismet . model . AkismetData function ( com . liferay . akismet . model . AkismetData arg0 ) { return _akismetDataLocalService . addAkismetData ( arg0 ) ; } |
2,733 | returns whether there are any characters left to be read . concode_field_sep int charStart concode_elem_sep ByteList src concode_elem_sep int pos concode_elem_sep int srcEnd concode_elem_sep int quoteStart concode_elem_sep ThreadContext context concode_elem_sep ByteList out concode_field_sep char next concode_elem_sep ... | boolean function ( ) { return pos < srcEnd ; } |
2,734 | return true if object is between lower and upper concode_field_sep String[] args concode_elem_sep List<Runnable> initThreadHooks concode_elem_sep boolean testMode concode_elem_sep boolean hard concode_elem_sep Logger log concode_elem_sep List<Runnable> shutdownHooks concode_field_sep void setHardAssert concode_elem_sep... | boolean function ( ClarionObject arg0 , ClarionObject arg1 , ClarionObject arg2 ) { return ( arg0 . compareTo ( arg1 ) >= 0 && arg0 . compareTo ( arg2 ) <= 0 ) ; } |
2,735 | sets the applink url that will be used for deep-linking concode_field_sep String applinkUrl concode_elem_sep String promoText concode_elem_sep String previewImageUrl concode_elem_sep Destination destination concode_elem_sep String name concode_elem_sep String promoCode concode_elem_sep Creator<AppInviteContent> CREATOR... | Builder function ( final String arg0 ) { this . applinkUrl = arg0 ; return this ; } |
2,736 | collection of objects containing game session properties for each session matching the request . concode_field_sep String nextToken concode_elem_sep java.util.List<GameSession> gameSessions concode_field_sep void setNextToken concode_elem_sep int hashCode concode_elem_sep DescribeGameSessionsResult withGameSessions con... | java . util . List < GameSession > function ( ) { return gameSessions ; } |
2,737 | returns the index this module is associated with concode_field_sep IndexSettings indexSettings concode_elem_sep IndexEventListener listener concode_elem_sep String STORE_TYPE concode_elem_sep SetOnce<EngineFactory> engineFactory concode_elem_sep Set<IndexEventListener> indexEventListeners concode_elem_sep Map<String,Bi... | Index function ( ) { return indexSettings . getIndex ( ) ; } |
2,738 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String self concode_elem_sep java.util.List<String> awsAccountNumbers concode_field_sep java.util.List<String> getAwsAccountNumbers concode_elem_sep void setSelf concode_elem_sep void setAwsAccountNumbers concode_elem_... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( self != null ) loc0 . append ( "srini_string" + self + "srini_string" ) ; if ( awsAccountNumbers != null ) loc0 . append ( "srini_string" + awsAccountNumbers + "srini_string" ) ; loc0 . append ( "srini_string" ) ;... |
2,739 | returns the group id of this kaleo condition . concode_field_sep KaleoCondition _kaleoCondition concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel con... | long function ( ) { return _kaleoCondition . getGroupId ( ) ; } |
2,740 | resets the channel so that writing to it will overwrite the existing buffer . concode_field_sep byte[] data concode_elem_sep int offset concode_field_sep boolean isOpen concode_elem_sep int length concode_elem_sep int write concode_elem_sep void close concode_elem_sep byte[] getData | void function ( ) { offset = 0 ; } |
2,741 | indicates whether this reader supports the mark and reset methods . this default implementation returns false . concode_field_sep Object lock concode_field_sep int read concode_elem_sep int read concode_elem_sep int read concode_elem_sep int read concode_elem_sep boolean ready concode_elem_sep void reset concode_elem_s... | boolean function ( ) { return false ; } |
2,742 | getter method for the escalationruleid concode_field_sep int subSubCatId concode_elem_sep String classificationName concode_elem_sep String circleName concode_elem_sep String subSubCategoryName concode_elem_sep int subCatId concode_elem_sep String callBackWorkFlowName concode_elem_sep long serialVersionUID concode_elem... | int function ( ) { return escalationRuleId ; } |
2,743 | this is called when a resource adapter instance is bootstrapped . concode_field_sep Logger log concode_elem_sep Map<PureInflowActivationSpec,PureInflowActivation> activations concode_field_sep void endpointActivation concode_elem_sep void stop concode_elem_sep int hashCode concode_elem_sep void endpointDeactivation con... | void function ( BootstrapContext arg0 ) { log . trace ( "srini_string" ) ; } |
2,744 | testing method concode_field_sep double average concode_elem_sep int startingUid concode_elem_sep OpenIntIntHashMap count concode_elem_sep OpenIntDoubleHashMap sum concode_field_sep OpenIntIntHashMap cloneCount concode_elem_sep OpenIntDoubleHashMap cloneSum concode_elem_sep void findAverage concode_elem_sep void remove... | void function ( ) { IntArrayList loc0 = sum . loc0 ( ) ; int loc1 ; loc0 . sort ( ) ; for ( int loc2 = 0 ; loc2 < loc0 . size ( ) ; loc2 ++ ) { loc1 = loc0 . get ( loc2 ) ; System . out . println ( loc1 + "srini_string" + sum . get ( loc1 ) + "srini_string" + count . get ( loc1 ) ) ; } } |
2,745 | gets the value of the statuscode property . concode_field_sep String statusDescription concode_elem_sep long serialVersionUID concode_elem_sep String explanation concode_elem_sep String referenceId concode_elem_sep String statusCode concode_field_sep void setReferenceId concode_elem_sep void setStatusCode concode_elem_... | String function ( ) { return statusCode ; } |
2,746 | return the sequence number of the payload . concode_field_sep long sequence concode_elem_sep ByteBuffer data concode_elem_sep String SEQ_HEADER concode_elem_sep char[] HEX_CHARS concode_elem_sep Log logger concode_elem_sep int BUFFER_SIZE concode_field_sep void writeTo concode_elem_sep void logOutgoing concode_elem_sep... | long function ( ) { return this . sequence ; } |
2,747 | if active mode , accepts the ftp server 's connection - in pasv , we are already connected . then gets the input stream of the connection concode_field_sep String cvsId concode_elem_sep StreamSocket sock concode_field_sep void setTimeout concode_elem_sep void setReceiveBufferSize concode_elem_sep int getLocalPort conco... | InputStream function ( ) { return sock . getInputStream ( ) ; } |
2,748 | creates a json parser from a byte stream . the character encoding of the stream is determined as specified in rfc 4627 . concode_field_sep PlaceHolder placeHolder concode_field_sep JsonGenerator createGenerator concode_elem_sep JsonGenerator createGenerator concode_elem_sep JsonArrayBuilder createArrayBuilder concode_e... | JsonParser function ( InputStream arg0 ) { return JsonProvider . provider ( ) . createParser ( arg0 ) ; } |
2,749 | the policy document . the policy document is returned in the response to the getpolicyversion and getaccountauthorizationdetails operations . it is not returned in the response to the createpolicyversion or listpolicyversions operations . concode_field_sep String versionId concode_elem_sep Boolean isDefaultVersion conc... | PolicyVersion function ( String arg0 ) { setDocument ( arg0 ) ; return this ; } |
2,750 | returns a description that provides extra clarification about the question . this information could be presented to the user either in tool-tip , help button , or as a section of text before the question . if the question is of type fixed then the description should remain empty . concode_field_sep String TYPE_TEXT_MUL... | String function ( ) { return description ; } |
2,751 | returns a new token object , by default . however , if you want , you can create and return subclass objects based on the value of ofkind . simply add the cases to the switch for all those special cases . for example , if you have a subclass of token called idtoken that you want to create if ofkind is id , simply add s... | Token function ( int arg0 , String arg1 ) { switch ( arg0 ) { default : return new Token ( arg0 , arg1 ) ; } } |
2,752 | event concode_field_sep RewalkManager rewalkManager concode_elem_sep UnitWorks uw concode_elem_sep MapWorks mw concode_elem_sep UnitMap map concode_elem_sep PanelManager pm concode_elem_sep Body ba concode_field_sep void cancel concode_elem_sep void setSelectPlace concode_elem_sep boolean isNextPoint concode_elem_sep v... | void function ( ) { map . setData ( Page . P10 , ba . getX ( ) , ba . getY ( ) , 0 ) ; action ( ) ; } |
2,753 | setter for the field annotationpackages . concode_field_sep String pathToLookForClasses concode_elem_sep JavaOptionalityMode optinalityMode concode_elem_sep boolean ignoreUnreferencedAnnotationDeclarations concode_elem_sep MemberProcessingMode memberMode concode_elem_sep DefaultAnnotationBehavior annotationsBehavior co... | void function ( ArrayList < String > arg0 ) { this . annotationPackages = arg0 ; } |
2,754 | sets current instances for the ui and all related classes . the previously defined values can be restored by passing the returned map to #restoreinstances map . concode_field_sep WeakReference<Object> instance concode_elem_sep Object NULL_OBJECT concode_elem_sep ThreadLocal<Map<Class<?>,CurrentInstance>> instances conc... | Map < Class < ? > , CurrentInstance > function ( UI arg0 ) { Map < Class < ? > , CurrentInstance > loc0 = setCurrent ( arg0 . getSession ( ) ) ; loc0 . put ( UI . class , set ( UI . class , arg0 ) ) ; return loc0 ; } |
2,755 | builds a timeout instance using the values in this builder. , concode_field_sep boolean lookForStuckThread concode_elem_sep TimeUnit timeUnit concode_elem_sep long timeout concode_elem_sep boolean lookForStuckThread concode_elem_sep long timeout concode_elem_sep TimeUnit timeUnit concode_field_sep Timeout seconds conco... | Timeout function ( ) { return new Timeout ( this ) ; } |
2,756 | the description to use or null if it should not be customized . concode_field_sep String bootVersion concode_elem_sep String javaVersion concode_elem_sep String groupId concode_elem_sep String format concode_elem_sep String description concode_elem_sep String packaging concode_elem_sep String language concode_elem_sep ... | String function ( ) { return this . description ; } |
2,757 | the policy arn . concode_field_sep String policyArn concode_elem_sep String policyDocument concode_elem_sep String policyName concode_elem_sep String policyVersionId concode_field_sep void setPolicyVersionId concode_elem_sep void setPolicyName concode_elem_sep String getPolicyVersionId concode_elem_sep CreatePolicyResu... | void function ( String arg0 ) { this . policyArn = arg0 ; } |
2,758 | creates and returns a string representation of this object , using the given separator for the fields concode_field_sep cudaArray srcArray concode_elem_sep cudaPos dstPos concode_elem_sep cudaPos srcPos concode_elem_sep int srcDevice concode_elem_sep cudaPitchedPtr dstPtr concode_elem_sep cudaArray dstArray concode_ele... | String function ( String arg0 ) { return "srini_string" + srcArray + arg0 + "srini_string" + srcPos + arg0 + "srini_string" + srcPtr + arg0 + "srini_string" + srcDevice + arg0 + "srini_string" + dstArray + arg0 + "srini_string" + dstPos + arg0 + "srini_string" + dstPtr + arg0 + "srini_string" + dstDevice + arg0 + "srin... |
2,759 | verifies that the given array does not contain the given value at the given index . concode_field_sep Arrays arrays concode_elem_sep Failures failures concode_elem_sep BooleanArrays INSTANCE concode_field_sep void assertEndsWith concode_elem_sep void assertStartsWith concode_elem_sep BooleanArrays instance concode_elem... | void function ( AssertionInfo arg0 , boolean [ ] arg1 , boolean arg2 , Index arg3 ) { arrays . assertDoesNotContain ( arg0 , failures , arg1 , arg2 , arg3 ) ; } |
2,760 | sends a new text message . concode_field_sep SipProvider sip_provider concode_elem_sep Log log concode_elem_sep MessageAgentListener listener concode_elem_sep SipInterface sip_interface concode_elem_sep UserAgentProfile user_profile concode_field_sep void receive concode_elem_sep void halt concode_elem_sep void onDeliv... | void function ( String arg0 , String arg1 , String arg2 ) { send ( arg0 , arg1 , "srini_string" , arg2 ) ; } |
2,761 | as already described , but if separator is not null , then objects such as taggedword concode_field_sep PlaceHolder placeHolder concode_field_sep ArrayList<Word> toUntaggedList concode_elem_sep ArrayList<Word> toUntaggedList concode_elem_sep List<CoreLabel> toCoreLabelList concode_elem_sep List<CoreLabel> toCoreLabelLi... | String function ( List < T > arg0 , final boolean arg1 , final String arg2 ) { StringBuilder loc0 = new StringBuilder ( ) ; for ( Iterator < T > loc1 = arg0 . iterator ( ) ; loc1 . hasNext ( ) ; ) { T loc2 = loc1 . next ( ) ; loc0 . append ( wordToString ( loc2 , arg1 , arg2 ) ) ; if ( loc1 . hasNext ( ) ) { loc0 . app... |
2,762 | test that @postconstruct is invoked concode_field_sep InitialContext iniCtx concode_elem_sep String ARCHIVE_NAME concode_field_sep T lookup concode_elem_sep T rawLookup concode_elem_sep void doBMTTest concode_elem_sep void testSLSBCMT concode_elem_sep void testSLSBBMT concode_elem_sep void doCMTTest concode_elem_sep vo... | void function ( ) { SFSBCMT loc0 = lookup ( "srini_string" , SFSBCMT . class ) ; assertEquals ( "srini_string" + "srini_string" , 1 , MyListener . getPostCtorInvocationCount ( ) ) ; } |
2,763 | to string method concode_field_sep String duration concode_elem_sep double distance concode_elem_sep String kind concode_elem_sep List<Location> routes concode_elem_sep String location concode_elem_sep String startTime concode_elem_sep Long id concode_field_sep int hashCode concode_elem_sep boolean equals | String function ( ) { return toStringHelper ( this ) . addValue ( id ) . addValue ( kind ) . addValue ( location ) . addValue ( distance ) . addValue ( duration ) . toString ( ) ; } |
2,764 | gets the literal value , masked to be a nibble in size . this will throw if the value is out of the range of a signed nibble . concode_field_sep IndexType indexType concode_elem_sep InstructionCodec format concode_elem_sep int index concode_elem_sep int opcode concode_elem_sep int target concode_elem_sep long literal c... | int function ( ) { if ( ( literal < - 8 ) || ( literal > 7 ) ) { throw new DexException ( "srini_string" + Hex . u8 ( literal ) ) ; } return ( int ) literal & 0xf ; } |
2,765 | get the default ttl value in seconds concode_field_sep long DEFAULT_TTL concode_elem_sep String DEFAULT_CONFIG_URL concode_elem_sep Ehcache requestCache concode_elem_sep String REQUEST_CACHE_KEY concode_elem_sep CacheManager cacheManager concode_elem_sep String RESPONSE_CACHE_KEY concode_elem_sep Ehcache responseCache ... | long function ( ) { return ttl ; } |
2,766 | find the line number information for instruction whose handle is given . concode_field_sep MethodGen methodGen concode_elem_sep boolean LINE_NUMBER_BUG concode_elem_sep IdentityHashMap<InstructionHandle,LineNumber> lineNumberMap concode_elem_sep boolean hasLineNumbers concode_elem_sep boolean DEBUG concode_field_sep vo... | LineNumber function ( InstructionHandle arg0 ) { return lineNumberMap . get ( arg0 ) ; } |
2,767 | information about the device pool 's rules . concode_field_sep String name concode_elem_sep String description concode_elem_sep java.util.List<Rule> rules concode_elem_sep String arn concode_elem_sep String type concode_field_sep void setName concode_elem_sep String getName concode_elem_sep DevicePool withDescription c... | DevicePool function ( java . util . Collection < Rule > arg0 ) { setRules ( arg0 ) ; return this ; } |
2,768 | set the factory to be used to create the trace interceptor . it is expected that the factory will create a subclass of traceinterceptor . use this to take complete control of how trace events are handled . the traceinterceptorfactory should only be set before any routes are created , hence this method is not thread saf... | void function ( TraceInterceptorFactory arg0 ) { this . traceInterceptorFactory = arg0 ; } |
2,769 | returns true if the attribute must have an explicit value in the original document , false otherwise . concode_field_sep String value concode_field_sep short getConditionType concode_elem_sep String getValue concode_elem_sep String getLocalName concode_elem_sep String getNamespaceURI | boolean function ( ) { return false ; } |
2,770 | returns a set of all properies objects . if no properties are registered , returns an empty set . concode_field_sep Map<Class,PropertiesFactorySPI> cellPropertiesClassMap concode_elem_sep Logger logger concode_elem_sep Set<PropertiesFactorySPI> cellPropertiesSet concode_elem_sep PropertiesManager propertiesManager conc... | Set < PropertiesFactorySPI > function ( ) { return new HashSet ( cellPropertiesSet ) ; } |
2,771 | writes byte to current buffer position , and then increments position . note : if structured writing is enabled , additional padding bytes may be skipped automatically . concode_field_sep int structIndex concode_elem_sep MemoryLayout memLayout concode_elem_sep DataType[] structure concode_elem_sep ByteBuffer bbuf conco... | MemoryBuffer function ( byte arg0 ) { bbuf . put ( arg0 ) ; skipPaddingBytesFor ( DataType . BYTE ) ; return this ; } |
2,772 | get the number of operation #delete delete records that were #accept sourcerecord added to this object . concode_field_sep AtomicLong EMPTY concode_elem_sep AtomicLong tombstones concode_elem_sep EnumMap<Operation,AtomicLong> statsByOperation concode_field_sep long numberOfReads concode_elem_sep SourceRecordStats reset... | long function ( ) { return numberOf ( Operation . DELETE ) ; } |
2,773 | called on page transitions concode_field_sep PluginManager pluginManager concode_elem_sep int expectedBridgeSecret concode_elem_sep String LOG_TAG concode_elem_sep NativeToJsMessageQueue jsMessageQueue concode_field_sep void jsSetNativeToJsBridgeMode concode_elem_sep boolean isSecretEstablished concode_elem_sep boolean... | void function ( ) { expectedBridgeSecret = - 1 ; } |
2,774 | associates the given ` addresses ' with ` hostname ' . the association will expire after a certain length of time . concode_field_sep long expiryNanos concode_elem_sep long TTL_NANOS concode_elem_sep BasicLruCache<String,AddressCacheEntry> cache concode_elem_sep int MAX_ENTRIES concode_elem_sep Object value concode_fie... | void function ( String arg0 , InetAddress [ ] arg1 ) { cache . put ( arg0 , new AddressCacheEntry ( arg1 ) ) ; } |
2,775 | clears the hash table so that it has no more elements in it . concode_field_sep int valueTable[] concode_elem_sep int elementSize concode_elem_sep Object keyTable[] concode_elem_sep int threshold concode_field_sep int size concode_elem_sep boolean containsKey concode_elem_sep int hashCode concode_elem_sep int get conco... | void function ( ) { for ( int loc0 = this . keyTable . length ; -- loc0 >= 0 ; ) { this . keyTable [ loc0 ] = null ; this . valueTable [ loc0 ] = 0 ; } this . elementSize = 0 ; } |
2,776 | prepare an item view for use . see adapterview for the basic idea at work here . this may require creating a new item view , but well-behaved implementations will re-use the view passed as convertview if present . the returned view will be populated with data from the item parameter . concode_field_sep MenuView mMenuVi... | View function ( MenuItemImpl arg0 , View arg1 , ViewGroup arg2 ) { MenuView . ItemView loc0 ; if ( arg1 instanceof MenuView . ItemView ) { loc0 = ( MenuView . ItemView ) arg1 ; } else { loc0 = createItemView ( arg2 ) ; } bindItemView ( arg0 , loc0 ) ; return ( View ) loc0 ; } |
2,777 | gets the initial time in milliseconds . concode_field_sep boolean SINGLE_THREAD concode_elem_sep TimerListener listener concode_elem_sep boolean active concode_elem_sep long time concode_elem_sep String label concode_field_sep void init concode_elem_sep void halt concode_elem_sep String getLabel concode_elem_sep void s... | long function ( ) { return time ; } |
2,778 | returns the bundle context of this bundle concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
2,779 | this is a getter for ui . concode_field_sep int rankingOnWaiting concode_elem_sep List<SelectItem> moveAvailableTimeSlots concode_elem_sep List<AttendeeWrapper> waitingList concode_elem_sep int tsMarker concode_elem_sep SignupTimeslot timeSlot concode_elem_sep boolean comment concode_elem_sep List<AttendeeWrapper> atte... | SignupTimeslot function ( ) { return timeSlot ; } |
2,780 | the action must have been enabled for this to have been called , so we must have stored the selection already by this point . concode_field_sep String fActionID concode_elem_sep IAction action concode_elem_sep IEditorPart fEditorPart concode_field_sep void init concode_elem_sep void runWithEvent concode_elem_sep void s... | void function ( IAction arg0 ) { if ( fEditorPart instanceof ITextEditor ) { ITextEditor loc0 = ( ITextEditor ) fEditorPart ; IAction loc1 = loc0 . getAction ( fActionID ) ; if ( loc1 != null ) { loc1 . run ( ) ; } } } |
2,781 | sets the value of the partnersessionid property . concode_field_sep String dealerCode concode_elem_sep String channel concode_elem_sep long serialVersionUID concode_elem_sep String storeId concode_elem_sep String partnerSessionId concode_elem_sep String rspTransactionId concode_elem_sep String transactionType concode_e... | void function ( String arg0 ) { this . partnerSessionId = arg0 ; } |
2,782 | returns the correct serversocketchannel class based on iomode . concode_field_sep PlaceHolder placeHolder concode_field_sep PooledByteBufAllocator createPooledByteBufAllocator concode_elem_sep TransportFrameDecoder createFrameDecoder concode_elem_sep EventLoopGroup createEventLoop concode_elem_sep ThreadFactory createT... | Class < ? extends ServerChannel > function ( IOMode arg0 ) { switch ( arg0 ) { case NIO : return NioServerSocketChannel . class ; case EPOLL : return EpollServerSocketChannel . class ; default : throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } } |
2,783 | update one-to-many relation without rebuilding the whole entity concode_field_sep RepositoryVersionEntity parent concode_elem_sep StackEntity stack concode_elem_sep String displayName concode_elem_sep Set<HostVersionEntity> hostVersionEntities concode_elem_sep String version concode_elem_sep Logger LOG concode_elem_sep... | void function ( HostVersionEntity arg0 ) { hostVersionEntities . add ( arg0 ) ; } |
2,784 | load the optional roles used to annotate the method with . concode_field_sep Map<Class<? extends Annotation>,List<MethodParameter<?>>> annotatedMethodParameters concode_elem_sep Method method concode_elem_sep Roles roles concode_elem_sep List<MethodParameter<?>> methodParameters concode_elem_sep HttpMethod httpMethod c... | Roles function ( ) { AuthorizeInvocation loc0 = method . getAnnotation ( AuthorizeInvocation . class ) ; Roles loc1 = new Roles ( ) ; if ( loc0 != null ) { loc1 = new Roles ( loc0 . value ( ) ) ; } return loc1 ; } |
2,785 | attributes include the following : customuserdata -- arbitrary user data to associate with the endpoint . amazon sns does not use this data . the data must be in utf-8 format and less than 2kb . enabled -- flag that enables/disables delivery to the endpoint . amazon sns will set this to false when a notification servic... | GetEndpointAttributesResult function ( java . util . Map < String , String > arg0 ) { setAttributes ( arg0 ) ; return this ; } |
2,786 | gets the source url of the the data table builder . concode_field_sep int slideFrequency concode_elem_sep int windowSize concode_elem_sep int slideSize concode_elem_sep DataOperator patternConverstionOperator concode_elem_sep boolean isTemporal concode_elem_sep DataTableBuilder tableBuilder concode_elem_sep DataTable c... | String function ( ) { return tableBuilder . getSourceURL ( ) ; } |
2,787 | html-escapes the string representation of the given object . concode_field_sep PlaceHolder placeHolder concode_field_sep String jsEscape concode_elem_sep String jsEncode concode_elem_sep String xmlEncode concode_elem_sep String jsonEncode | String function ( Object arg0 ) { return arg0 != null ? StringEscapeUtils . escapeHtml4 ( String . valueOf ( arg0 ) ) : null ; } |
2,788 | true if the joined has successfully joined the cluster before concode_field_sep DiscoveryNode node concode_elem_sep boolean hasJoinedOnce concode_elem_sep ClusterName clusterName concode_elem_sep Map<DiscoveryNode,PingResponse> pings concode_elem_sep long id concode_elem_sep PingResponse[] EMPTY concode_elem_sep Atomic... | boolean function ( ) { return hasJoinedOnce ; } |
2,789 | return produtoscodigo concode_field_sep int codigo concode_elem_sep Date dataVenda concode_elem_sep Float desconto concode_elem_sep int clientesCodigo concode_elem_sep Float valorTotal concode_elem_sep Double valor concode_elem_sep ArrayList<ModelVendas> listamModelVendases concode_elem_sep int produtosCodigo concode_e... | int function ( ) { return this . produtosCodigo ; } |
2,790 | generate a join sequence representing the given association type . concode_field_sep SessionFactoryImplementor sfi concode_elem_sep Map<String,PropertyMapping> collectionPropertyMappingByRole concode_field_sep QueryableCollection getCollectionPersister concode_elem_sep Type getElementType concode_elem_sep Type findFunc... | JoinSequence function ( boolean arg0 , AssociationType arg1 , String arg2 , JoinType arg3 , String [ ] arg4 ) { JoinSequence loc0 = createJoinSequence ( ) ; loc0 . setUseThetaStyle ( arg0 ) ; loc0 . addJoin ( arg1 , arg2 , arg3 , arg4 ) ; return loc0 ; } |
2,791 | create an instance of the partitionedjdbchdfsjob job with the default hdfs target dir , filename , table , columnnames , partitioncolumn and partitions . concode_field_sep XdEnvironment environment concode_field_sep HdfsJdbcJob hdfsJdbcJob concode_elem_sep FtpHdfsJob ftpHdfsJob concode_elem_sep HdfsMongoDbJob hdfsMongo... | PartitionedJdbcHdfsJob function ( ) { return PartitionedJdbcHdfsJob . withDefaults ( ) ; } |
2,792 | returns the pointer to the wrapped native array . concode_field_sep int size concode_elem_sep long ptr concode_field_sep void NIA_Set concode_elem_sep void set concode_elem_sep long NIA_CreateArray concode_elem_sep int size concode_elem_sep int NIA_Get concode_elem_sep int get concode_elem_sep void clear concode_elem_s... | long function ( ) { return ptr ; } |
2,793 | compare to taxonomy nodes defined by their labels or keys by their relative weights . concode_field_sep Map<String,ATaxonomyNode> _map concode_elem_sep int _numTopNodes concode_elem_sep int DEFAULT_NUM_TOP_NODES concode_field_sep ATaxonomyNode[] score concode_elem_sep Map<String,Object> getRelevantClassesMap | int function ( String arg0 , String arg1 ) { return _map . get ( arg0 ) . getWeight ( ) < _map . get ( arg1 ) . getWeight ( ) ? 1 : - 1 ; } |
2,794 | returns map containing the given entries . concode_field_sep Map mMap concode_elem_sep boolean mUnderConstruction concode_field_sep Map<K,V> build concode_elem_sep HashMap<K,V> newHashMap concode_elem_sep Builder<K,V> builder concode_elem_sep Builder<K,V> put | Map < K , V > function ( K arg0 , V arg1 , K arg2 , V arg3 , K arg4 , V arg5 ) { Map loc0 = of ( ) ; loc0 . put ( arg0 , arg1 ) ; loc0 . put ( arg2 , arg3 ) ; loc0 . put ( arg4 , arg5 ) ; return loc0 ; } |
2,795 | is the agent past the goal marker ? concode_field_sep int lastAction concode_elem_sep Point2D agentPosition concode_elem_sep Random randomNoiseGenerator concode_elem_sep Vector<Puddle> thePuddles concode_elem_sep double goalSize concode_elem_sep Rectangle2D worldRect concode_elem_sep double transitionNoise concode_elem... | boolean function ( ) { return goalRect . contains ( agentPosition ) ; } |
2,796 | indicates the beginning of a code section that includes an i/o operation that is potentially blocking . after this operation , the application should invoke the corresponding end boolean method . concode_field_sep boolean interrupted concode_elem_sep ChannelCloser interruptAndCloseRunnable concode_elem_sep boolean clos... | void function ( ) { Thread . currentThread ( ) . pushInterruptAction$ ( interruptAndCloseRunnable ) ; } |
2,797 | sets the notification tag . concode_field_sep Integer timeToLive concode_elem_sep String restrictedPackageName concode_elem_sep Boolean dryRun concode_elem_sep Map<String,String> data concode_elem_sep String collapseKey concode_elem_sep Boolean delayWhileIdle concode_elem_sep Map<String,String> notificationParams conco... | Builder function ( String arg0 ) { notificationParams . put ( "srini_string" , arg0 ) ; return this ; } |
2,798 | returns a list of in edges to this vertex . concode_field_sep Comparator<ELabel> comparator concode_elem_sep List<Vertex> _successors concode_elem_sep Vertex _v0 concode_elem_sep List<Edge> _outEdges concode_elem_sep List<Vertex> _predecessors concode_elem_sep Vertex _v1 concode_elem_sep Set<Vertex> _vertices concode_e... | List < Edge > function ( ) { return _inEdges ; } |
2,799 | sets whether processing must continue until a proper intersection is found . concode_field_sep Coordinate intPt concode_elem_sep Coordinate[] intSegments concode_elem_sep boolean findProper concode_elem_sep boolean hasNonProperIntersection concode_elem_sep boolean findAllTypes concode_elem_sep boolean hasProperIntersec... | void function ( boolean arg0 ) { this . findProper = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.