idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
4,000 | create an instance of createsessionresponse concode_field_sep QName _CreateSession_QNAME concode_elem_sep QName _EndSessionResponse_QNAME concode_elem_sep QName _HasSession_QNAME concode_elem_sep QName _GetNextPageString_QNAME concode_elem_sep QName _HasNext_QNAME concode_elem_sep QName _GetPrevPageString_QNAME concode... | CreateSessionResponse function ( ) { return new CreateSessionResponse ( ) ; } |
4,001 | runs after the builder completes , and performs a tear down . this method is invoked even when the build failed , so that the clean up operation can be performed regardless of the build result for example , you 'll want to stop application server even if a build fails . concode_field_sep PlaceHolder placeHolder concode... | boolean function ( AbstractBuild arg0 , BuildListener arg1 ) { return true ; } |
4,002 | method declaration concode_field_sep HsqlHashMap rightsMap concode_elem_sep User uPublic concode_elem_sep String sName concode_elem_sep boolean bAdministrator concode_elem_sep String sPassword concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep String getName concode_elem_sep void ch... | void function ( Object arg0 , int arg1 ) { Integer loc0 = ( Integer ) rightsMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new Integer ( arg1 ) ; } else { loc0 = new Integer ( loc0 . intValue ( ) & ( UserManager . ALL - arg1 ) ) ; } rightsMap . put ( arg0 , loc0 ) ; } |
4,003 | request the subscription from a given jid concode_field_sep Roster sRoster concode_elem_sep XMPPConnection sConnection concode_elem_sep Context sContext concode_elem_sep XmppBuddies sXmppBuddies concode_elem_sep SettingsManager sSettings concode_field_sep String retrieveStatusMessage concode_elem_sep void addFriend con... | void function ( String arg0 , XMPPConnection arg1 ) { Presence loc0 = new Presence ( Presence . Type . subscribe ) ; sendPresenceTo ( arg0 , loc0 , arg1 ) ; } |
4,004 | flips bit i. concode_field_sep int size concode_elem_sep int[] bits concode_field_sep void set concode_elem_sep void toBytes concode_elem_sep void clear concode_elem_sep void reverse concode_elem_sep boolean isRange concode_elem_sep int getSize concode_elem_sep void appendBit concode_elem_sep int getSizeInBytes concode... | void function ( int arg0 ) { bits [ arg0 >> 5 ] ^= 1 << ( arg0 & 0x1F ) ; } |
4,005 | a default method that assumes the key is com.tinkerpop.gremlin.process.computer.mapreduce.nullobject . concode_field_sep NullObject INSTANCE concode_elem_sep String NULL_OBJECT concode_field_sep void reduce concode_elem_sep void loadState concode_elem_sep Optional<Comparator<RK>> getReduceKeySort concode_elem_sep void ... | void function ( final OV arg0 ) { this . emit ( ( OK ) MapReduce . NullObject . instance ( ) , arg0 ) ; } |
4,006 | set active status as given boolean concode_field_sep long updateDate concode_elem_sep String DEFAULTUSERIMAGE concode_elem_sep String description concode_elem_sep String title concode_elem_sep String moreInfo concode_elem_sep String developerId concode_elem_sep int downloads concode_elem_sep String imageURL concode_ele... | void function ( boolean arg0 ) { this . active = arg0 ; } |
4,007 | whether highlights can be returned for the field . returns a reference to this object so that method calls can be chained together . concode_field_sep String sourceFields concode_elem_sep Boolean returnEnabled concode_elem_sep String analysisScheme concode_elem_sep String defaultValue concode_elem_sep Boolean highlight... | TextArrayOptions function ( Boolean arg0 ) { this . highlightEnabled = arg0 ; return this ; } |
4,008 | get custom serializer concode_field_sep com.netsuite.webservices.platform.core_2014_2.CustomizationRef customizationRef concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep com.netsuite.webservices.platform.core_2014_2.SearchRecordBasic searchRecordBasic concode_elem_s... | 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 ) ; } |
4,009 | this method calculates a weight used to decide the object 's order in a collection . concode_field_sep PlaceHolder placeHolder concode_field_sep int compare | int function ( ConceptMapType arg0 ) { return ( ( arg0 . isRetired ( ) ? 1 : 0 ) + ( arg0 . isHidden ( ) ? 2 : 0 ) ) ; } |
4,010 | sets the value of the separator property . concode_field_sep String separator concode_elem_sep String morseCodeSequence concode_field_sep void setMorseCodeSequence concode_elem_sep String getMorseCodeSequence concode_elem_sep String getSeparator | void function ( String arg0 ) { this . separator = arg0 ; } |
4,011 | get bookmarked issue filters this method may perform network i/o and should never be called on the ui-thread concode_field_sep Factory allRepos concode_elem_sep Organizations userAndOrgsResource concode_elem_sep DatabaseCache dbCache concode_elem_sep File root concode_elem_sep Context context concode_elem_sep int FORMA... | Collection < IssueFilter > function ( ) { final File loc0 = new File ( root , "srini_string" ) ; Collection < IssueFilter > loc1 = read ( loc0 ) ; if ( loc1 != null ) return loc1 ; return Collections . emptyList ( ) ; } |
4,012 | get utilization created by all cloudlets running on this vm in mips . concode_field_sep long currentAllocatedSize concode_elem_sep List<Double> currentAllocatedMips concode_elem_sep double mips concode_elem_sep int numberOfPes concode_elem_sep int userId concode_elem_sep boolean inMigration concode_elem_sep CloudletSch... | double function ( double arg0 ) { return getTotalUtilizationOfCpu ( arg0 ) * getMips ( ) ; } |
4,013 | sets the configuration and its value to the config value . concode_field_sep Properties configData concode_elem_sep DefaultConfig defaultConfig concode_field_sep String getConfigValue concode_elem_sep void loadConfig concode_elem_sep DefaultConfig getDefaultConfig | void function ( String arg0 , String arg1 ) { configData . setProperty ( arg0 , arg1 ) ; } |
4,014 | get the starttime value . concode_field_sep int retentionPeriodInDays concode_elem_sep int frequencyInterval concode_elem_sep FrequencyUnit frequencyUnit concode_elem_sep DateTime startTime concode_elem_sep DateTime lastExecutionTime concode_elem_sep boolean keepAtLeastOneBackup concode_field_sep int retentionPeriodInD... | DateTime function ( ) { return this . startTime ; } |
4,015 | generate id with null owner login concode_field_sep PlaceHolder placeHolder concode_field_sep void defaultState concode_elem_sep void generateIdEmptyName concode_elem_sep void updateFields concode_elem_sep void generateIdEmptyOwnerLogin concode_elem_sep void generateId concode_elem_sep void generateIdNullName concode_e... | void function ( ) { Repository loc0 = new Repository ( ) ; loc0 . setName ( "srini_string" ) ; loc0 . setOwner ( new User ( ) . setLogin ( null ) ) ; assertNull ( loc0 . generateId ( ) ) ; } |
4,016 | returns the given assertion . this method improves code readability by surrounding the given assertion with `` assertthat '' . for example , let 's assume we have the following custom assertion class : public class serversocketassertion implements assertextension private final serversocket socket ; public serversocketa... | T function ( T arg0 ) { return arg0 ; } |
4,017 | return the system color that matches the provided swt constant value . concode_field_sep Field[] cachedFields concode_field_sep boolean isDirectValue concode_elem_sep RGB process concode_elem_sep Field[] getFields concode_elem_sep RGB blend concode_elem_sep int blend concode_elem_sep RGB blend concode_elem_sep int blen... | RGB function ( int arg0 ) { return Display . getCurrent ( ) . getSystemColor ( arg0 ) . getRGB ( ) ; } |
4,018 | convert an int into a byte array . concode_field_sep PlaceHolder placeHolder concode_field_sep int unpack4 concode_elem_sep void pack8 concode_elem_sep int convertToInt concode_elem_sep String convertToString concode_elem_sep long convertToLong concode_elem_sep void pack4 concode_elem_sep void pack2 | byte [ ] function ( int arg0 ) { arg0 = ( arg0 ^ 0x80000000 ) ; byte [ ] loc0 = new byte [ 4 ] ; pack4 ( loc0 , 0 , arg0 ) ; return loc0 ; } |
4,019 | sets the whiteboxpluginhost to which the plugin tool is tied . this is the class that the plugin will send all feedback messages , progress updates , and return objects . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgress... | void function ( WhiteboxPluginHost arg0 ) { myHost = arg0 ; } |
4,020 | test of getx method , of class point . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCompareTo concode_elem_sep void testGetY concode_elem_sep void testSetX concode_elem_sep void testHashCode concode_elem_sep void testSetY concode_elem_sep void testEquals | void function ( ) { System . out . println ( "srini_string" ) ; Point loc0 = new Point ( 1 , 2 ) ; int loc1 = 1 ; int loc2 = loc0 . getX ( ) ; assertEquals ( loc1 , loc2 ) ; } |
4,021 | convert a saml2 response into a document concode_field_sep PicketLinkLogger logger concode_elem_sep SAMLDocumentHolder samlDocumentHolder concode_elem_sep String nameIDFormat concode_field_sep void setNameIDFormat concode_elem_sep RequestAbstractType getRequestType concode_elem_sep AuthnRequestType getAuthnRequestType ... | Document function ( ResponseType arg0 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; SAMLResponseWriter loc1 = new SAMLResponseWriter ( StaxUtil . getXMLStreamWriter ( loc0 ) ) ; loc1 . write ( arg0 ) ; ByteArrayInputStream loc2 = new ByteArrayInputStream ( loc0 . toByteArray ( ) ) ; return DocumentUt... |
4,022 | set the starting position for which items should animate as the first position which is n't currently visible on screen . this call is also valid when the view s have n't been drawn yet . will also call #enableanimations . concode_field_sep ListViewWrapper mListViewWrapper concode_elem_sep int mFirstAnimatedPosition co... | void function ( ) { enableAnimations ( ) ; mFirstAnimatedPosition = mListViewWrapper . getLastVisiblePosition ( ) ; mLastAnimatedPosition = mListViewWrapper . getLastVisiblePosition ( ) ; } |
4,023 | we 're done . concode_field_sep ResultSetImpl owner concode_elem_sep ServerPreparedStatement prepStmt concode_elem_sep Field[] metadata concode_elem_sep boolean wasEmpty concode_elem_sep boolean lastRowFetched concode_elem_sep List<ResultSetRow> fetchedRows concode_elem_sep int BEFORE_START_OF_ROWS concode_elem_sep lon... | void function ( ) { this . metadata = null ; this . owner = null ; } |
4,024 | the default behavior of this method is to call getwindowid on the wrapped request object . concode_field_sep PortletRequest request concode_field_sep void setRequest concode_elem_sep String getAuthType concode_elem_sep Principal getUserPrincipal concode_elem_sep WindowState getWindowState concode_elem_sep PortletReques... | String function ( ) { return request . getWindowID ( ) ; } |
4,025 | estimates the number of block accesses in the selection , which is the same as in the underlying query . concode_field_sep Plan p concode_elem_sep Predicate pred concode_field_sep Schema schema concode_elem_sep int distinctValues concode_elem_sep int recordsOutput concode_elem_sep Scan open | int function ( ) { return p . blocksAccessed ( ) ; } |
4,026 | sets the representation value for this conceptvalue . concode_field_sep java.lang.String NCID concode_elem_sep java.lang.String domain concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String context concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc ty... | void function ( java . lang . String arg0 ) { this . representation = arg0 ; } |
4,027 | returns a pair of source ports , the first one is the one used for rtp and the second one is used for rtcp . concode_field_sep AbstractPacketizer mPacketizer concode_elem_sep int mSocketId concode_elem_sep int mMode concode_elem_sep boolean mStreaming concode_elem_sep LocalSocket mSender concode_elem_sep int sSuggested... | int [ ] function ( ) { return new int [ ] { this . mPacketizer . getRtpSocket ( ) . getLocalPort ( ) , this . mPacketizer . getRtcpSocket ( ) . getLocalPort ( ) } ; } |
4,028 | prebuilt standard configuration for the default owl reasoner . this configuration is hybrid forward/backward reasoner . concode_field_sep Map<String,ReasonerFactory> reasonerFactories concode_elem_sep ReasonerRegistry theRegistry concode_elem_sep Reasoner theRDFSSimpleReasoner concode_elem_sep Reasoner theOWLMicroReaso... | Reasoner function ( ) { if ( theOWLReasoner == null ) theOWLReasoner = OWLFBRuleReasonerFactory . theInstance ( ) . create ( null ) ; return theOWLReasoner ; } |
4,029 | throws an assertionerror if ` actual ' is not equal to ` expected ' . if junit 4 or greater is in the classpath , this method will throw a comparisonfailure instead . more details about this feature can be found here . concode_field_sep PlaceHolder placeHolder concode_field_sep void fail concode_elem_sep void fail conc... | void function ( String arg0 , Description arg1 , Object arg2 , Object arg3 ) { if ( areEqual ( arg2 , arg3 ) ) return ; failWithMessage ( arg0 ) ; throw comparisonFailed ( arg1 , arg2 , arg3 ) ; } |
4,030 | record a test step failure . test step failures are recorded and reported at the end of the test case . concode_field_sep int ignored concode_elem_sep int run concode_elem_sep Class<?> classUnderTest concode_elem_sep long serialVersionUID concode_elem_sep List<StepFailure> failures concode_field_sep void logIgnoredTest... | void function ( final StepFailure arg0 ) { failures . add ( arg0 ) ; } |
4,031 | get the jdbc types value . concode_field_sep String UNDEFINED concode_elem_sep int jcrType concode_elem_sep String STRING concode_elem_sep String LONG concode_elem_sep int UUID_LENGTH concode_elem_sep String DATE concode_elem_sep String BINARY concode_elem_sep String WEAK_REF concode_elem_sep int precision concode_elem... | int function ( ) { return jdbcType ; } |
4,032 | general information about the workflow type . the status of the workflow type returned in the workflowtypeinfo structure can be one of the following . registered : the type is registered and available . workers supporting this type should be running . deprecated : the type was deprecated using deprecateworkflowtype , b... | void function ( WorkflowTypeInfo arg0 ) { this . typeInfo = arg0 ; } |
4,033 | set whether the persistencemanagerfactory proxy is allowed to create a non-transactional persistencemanager when no transactional persistencemanager can be found for the current thread . default is `` true '' . can be turned off to enforce access to transactional persistencemanagers , which safely allows for daos writt... | void function ( boolean arg0 ) { this . allowCreate = arg0 ; } |
4,034 | performs a dynamic query on the database and returns a 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 to com.l... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 ) ; } |
4,035 | dispose of cached objects and their underlying os resources . this should only be called when the cached objects are no longer needed e.g. on application shutdown . concode_field_sep Map<Font,Font> m_fontToBoldFontMap concode_elem_sep Map<RGB,Color> m_colorMap concode_elem_sep int BOTTOM_LEFT concode_elem_sep int BOTTO... | void function ( ) { disposeColors ( ) ; disposeImages ( ) ; disposeFonts ( ) ; disposeCursors ( ) ; } |
4,036 | records the last event . concode_field_sep DatasetChangeEvent lastEvent concode_field_sep void testClear concode_elem_sep void testGetIndex concode_elem_sep void testGetKey concode_elem_sep void testCloning concode_elem_sep void testSerialization | void function ( DatasetChangeEvent arg0 ) { this . lastEvent = arg0 ; } |
4,037 | instantiates the generic type variable of the given name with the given type . the contract is that the type should return this if unchanged , otherwise the new value ... concode_field_sep String _name concode_field_sep String getName concode_elem_sep String toString concode_elem_sep String toErasureDescriptor concode_... | Type function ( String arg0 , Type arg1 ) { if ( _name . equals ( arg0 ) ) return arg1 ; else return this ; } |
4,038 | given a particular split point , based on b0 , find the number of left 1s needed to satisfy the left condition more than half 0s . that is , for a split point at i for the section before we can add 1s until just before the number of zeros contained therein . it is the difference of 0s and 1s at i minus one . concode_fi... | int function ( int [ ] arg0 , int arg1 ) { return Math . max ( 0 , num0s ( arg0 , arg1 ) - num1s ( arg0 , arg1 ) - 1 ) ; } |
4,039 | the current status of the search domain . concode_field_sep DomainStatus domainStatus concode_field_sep CreateDomainResult withDomainStatus concode_elem_sep DomainStatus getDomainStatus concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString | void function ( DomainStatus arg0 ) { this . domainStatus = arg0 ; } |
4,040 | check whether a node can be compiled to bytecode . the reasoning in each node may be different but will typically involve checking whether the exit type descriptor of the node is known and any relevant child nodes are compilable . concode_field_sep SpelNodeImpl parent concode_elem_sep SpelNodeImpl[] NO_CHILDREN concode... | boolean function ( ) { return false ; } |
4,041 | create an instance of policy concode_field_sep QName _GetDataToSignResponse_QNAME concode_elem_sep QName _SignDocument_QNAME concode_elem_sep QName _ExtendSignature_QNAME concode_elem_sep QName _GetDataToSign_QNAME concode_elem_sep QName _SignDocumentResponse_QNAME concode_elem_sep QName _ExtendSignatureResponse_QNAME ... | Policy function ( ) { return new Policy ( ) ; } |
4,042 | get the meta information of the replica that matches both block id and generation stamp concode_field_sep Map<String,Map<Long,ReplicaInfo>> map concode_elem_sep Object mutex concode_field_sep ReplicaInfo add concode_elem_sep void initBlockPool concode_elem_sep void cleanUpBlockPool concode_elem_sep int size concode_ele... | ReplicaInfo function ( String arg0 , Block arg1 ) { checkBlockPool ( arg0 ) ; checkBlock ( arg1 ) ; ReplicaInfo loc0 = get ( arg0 , arg1 . getBlockId ( ) ) ; if ( loc0 != null && arg1 . getGenerationStamp ( ) == loc0 . getGenerationStamp ( ) ) { return loc0 ; } return null ; } |
4,043 | tests if this udpslaveterminal is active . concode_field_sep int m_LocalPort concode_elem_sep int m_Timeout concode_elem_sep InetAddress m_LocalAddress concode_elem_sep int m_RemotePort concode_elem_sep InetAddress m_RemoteAddress concode_elem_sep DatagramSocket m_Socket concode_elem_sep Logger logger concode_elem_sep ... | boolean function ( ) { return m_Active ; } |
4,044 | returns the id used by the client to authenticate itself when authentication is enabled . concode_field_sep TransportResponseHandler handler concode_elem_sep Logger logger concode_elem_sep String clientId concode_elem_sep Channel channel concode_field_sep byte[] sendRpcSync concode_elem_sep Channel getChannel concode_e... | String function ( ) { return clientId ; } |
4,045 | bounding boxes , created by pairs of lat/lons . can be used for streaming/filter . a pair is defined as lat , lon . and multiple paris can be separated by semi colon . concode_field_sep String keywords concode_elem_sep String httpProxyHost concode_elem_sep Double latitude concode_elem_sep String consumerSecret concode_... | void function ( String arg0 ) { this . locations = arg0 ; } |
4,046 | utility method to create from an sqlwarning an istatus with istatus #getseverity severity of istatus #warning . concode_field_sep PlaceHolder placeHolder concode_field_sep JdbcSource findJdbcSource concode_elem_sep IStatus createOkIStatus | IStatus function ( final SQLWarning arg0 ) { return new Status ( IStatus . WARNING , JdbcPlugin . PLUGIN_ID , 0 , arg0 . getMessage ( ) , arg0 ) ; } |
4,047 | sac : implements org.w3c.css.sac.conditionfactory #createonlychildcondition . concode_field_sep String classLocalName concode_elem_sep String idNamespaceURI concode_elem_sep String classNamespaceURI concode_elem_sep String idLocalName concode_field_sep LangCondition createLangCondition concode_elem_sep CombinatorCondit... | Condition function ( ) { throw new CSSException ( "srini_string" ) ; } |
4,048 | get the date that this token expires concode_field_sep TokenReference unAttachedReference concode_elem_sep Date expires concode_elem_sep String tokenId concode_elem_sep Date created concode_elem_sep long lifetime concode_elem_sep TokenReference attachedReference concode_elem_sep Element token concode_field_sep void set... | Date function ( ) { return expires ; } |
4,049 | gets the value of the write property . concode_field_sep LanguageSkillsList read concode_elem_sep DataQualityTypeList dataQualityType concode_elem_sep String preference concode_elem_sep LanguageSkillsList understand concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep List<Languages.Language> language co... | LanguageSkillsList function ( ) { return write ; } |
4,050 | adds an unnamed value to the formatted output . it is strongly encouraged to use #add string , char insteadand give value a readable name . concode_field_sep StringBuilder builder concode_elem_sep boolean isNull concode_elem_sep String className concode_elem_sep boolean omitNullValues concode_elem_sep List<ValueHolder>... | ToStringHelper function ( char arg0 ) { addHolder ( ) . builder . append ( arg0 ) ; return this ; } |
4,051 | associate a raw json form to the current thread concode_field_sep ThreadLocal<Map> rawJsonMap concode_elem_sep boolean registeredAtleastOnce concode_field_sep Relationship createRelationship concode_elem_sep Status createStatus concode_elem_sep SavedSearch createSavedSearch concode_elem_sep DirectMessage createDirectMe... | T function ( T arg0 , Object arg1 ) { registeredAtleastOnce = true ; rawJsonMap . get ( ) . put ( arg0 , arg1 ) ; return arg0 ; } |
4,052 | returns a certain serializable object associated with a certain key . concode_field_sep long serialVersionUID concode_elem_sep Map<String,Serializable> ctxData concode_field_sep Map<String,Serializable> getCtx concode_elem_sep void put | Serializable function ( String arg0 ) { return ctxData . get ( arg0 ) ; } |
4,053 | returns the endpoint nearest to the given node . concode_field_sep long serialVersionUID concode_elem_sep Endpoint endpoint1 concode_elem_sep Endpoint endpoint2 concode_elem_sep Node node2 concode_elem_sep Node node1 concode_field_sep Edge serializableInstance concode_elem_sep Node getNode2 concode_elem_sep Node getNod... | Endpoint function ( Node arg0 ) { if ( this . node1 == arg0 ) { return getEndpoint1 ( ) ; } else if ( this . node2 == arg0 ) { return getEndpoint2 ( ) ; } return null ; } |
4,054 | sets the date of the calendar . concode_field_sep GregorianCalendar date concode_elem_sep int quantity concode_elem_sep double price concode_elem_sep String description concode_field_sep String getDateString concode_elem_sep int getQuantity concode_elem_sep void setQuantity concode_elem_sep GregorianCalendar getDate co... | void function ( GregorianCalendar arg0 ) { this . date = arg0 ; } |
4,055 | sets the value of the movewithcells property . concode_field_sep Object parent concode_elem_sep Boolean moveWithCells concode_elem_sep CTMarker from concode_elem_sep CTMarker to concode_elem_sep Boolean sizeWithCells concode_field_sep Object getParent concode_elem_sep void setSizeWithCells concode_elem_sep void setFrom... | void function ( Boolean arg0 ) { this . moveWithCells = arg0 ; } |
4,056 | this implementation returns the long description . can be overridden to return the short description or any kind of custom description instead . concode_field_sep String[] aliases concode_elem_sep String beanName concode_elem_sep BeanDefinition beanDefinition concode_field_sep String[] getAliases concode_elem_sep Strin... | String function ( ) { return getLongDescription ( ) ; } |
4,057 | returns the sequence number of the last committed event , or null if no events have been committed . concode_field_sep List<DomainEventMessage> events concode_elem_sep long serialVersionUID concode_elem_sep List<EventRegistrationCallback> registrationCallbacks concode_elem_sep Object aggregateIdentifier concode_elem_se... | Long function ( ) { return lastCommittedSequenceNumber ; } |
4,058 | gets the status of the redo command . concode_field_sep int cursor concode_elem_sep ArrayList<Memento> mementoStateHistory concode_elem_sep int maxHistorySize concode_field_sep void undo concode_elem_sep boolean isUndo concode_elem_sep void redo concode_elem_sep void addState | boolean function ( ) { return cursor + 1 < mementoStateHistory . size ( ) ; } |
4,059 | creates an identityexception instance wrapping the given error message and concode_field_sep IdentityClaimManager claimManager concode_elem_sep Log log concode_elem_sep Object lock concode_field_sep Claim[] getAllSupportedClaims concode_elem_sep Claim[] getAllSupportedClaims concode_elem_sep IdentityClaimManager getIns... | void function ( String arg0 , Exception arg1 ) { log . error ( arg0 , arg1 ) ; throw IdentityException . error ( arg0 , arg1 ) ; } |
4,060 | sets the quantity of this definition . concode_field_sep Definition _definition 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 concode_elem_sep bo... | void function ( int arg0 ) { _definition . setQuantity ( arg0 ) ; } |
4,061 | determines whether the copy button is disabled . this should only occur when there is no node selected , which occurs at initialization and when a node is deleted . concode_field_sep SelectItem[] componentList concode_elem_sep NodeUserObject selectedNodeObject concode_elem_sep DefaultMutableTreeNode rootTreeNode concod... | boolean function ( ) { return ( selectedNode == null || selectedNodeObject == null ) ; } |
4,062 | record the fact that a servlet context attribute was removed . concode_field_sep ServletContext context concode_field_sep void log concode_elem_sep void contextInitialized concode_elem_sep void attributeReplaced concode_elem_sep void contextDestroyed concode_elem_sep void attributeAdded | void function ( ServletContextAttributeEvent arg0 ) { log ( "srini_string" + arg0 . getName ( ) + "srini_string" + arg0 . getValue ( ) + "srini_string" ) ; } |
4,063 | sets the 1-parameter closure for this job concode_field_sep TimerImpl timer concode_elem_sep Procedure0 procedure concode_elem_sep Object argument1 concode_elem_sep Procedure1<Object> procedure1 concode_elem_sep Logger logger concode_field_sep void setProcedure concode_elem_sep void setTimer concode_elem_sep void execu... | void function ( Procedure1 < Object > arg0 ) { this . procedure1 = arg0 ; } |
4,064 | returns a globally unique transaction id . xid `` number '' is based on provided tid argument , inet local host address , static counter of generated ids and a random int number . xid format is static value 4660 . concode_field_sep byte[] gtrid concode_elem_sep int formatId concode_elem_sep byte[] localIP concode_elem_... | Xid function ( int arg0 ) { Random loc0 = new Random ( System . currentTimeMillis ( ) ) ; txnUniqueID ++ ; int loc1 = txnUniqueID ; int loc2 = arg0 ; int loc3 = loc0 . nextInt ( ) ; return getXid ( loc1 , loc2 , loc3 ) ; } |
4,065 | gets the action type concode_field_sep ActionType actionType concode_elem_sep String data concode_elem_sep ArrayList<String> suggestions concode_elem_sep String to concode_elem_sep Filters filters concode_elem_sep String message concode_elem_sep String title concode_elem_sep String objectId concode_field_sep Builder re... | ActionType function ( ) { return this . actionType ; } |
4,066 | creates an instance of defaultnhttpclientconnection based on thegiven ssl iosession . this method can be overridden in a super class in order to provide a different implementation of the nhttpclientiotarget interface . concode_field_sep SSLIOSessionHandler sslHandler concode_elem_sep NHttpClientHandler handler concode_... | NHttpClientIOTarget function ( final IOSession arg0 ) { return new DefaultNHttpClientConnection ( arg0 , createHttpResponseFactory ( ) , createByteBufferAllocator ( ) , this . params ) ; } |
4,067 | sets the value of the animations property . concode_field_sep Bonehierarchy bonehierarchy concode_elem_sep Animationlinks animationlinks concode_elem_sep Bones bones concode_elem_sep Animations animations concode_field_sep Animationlinks getAnimationlinks concode_elem_sep Bonehierarchy getBonehierarchy concode_elem_sep... | void function ( Animations arg0 ) { this . animations = arg0 ; } |
4,068 | this implementation calls #setvaluesifavailable and sets this instance 's exhaustion flag accordingly . concode_field_sep boolean exhausted concode_field_sep int getBatchSize concode_elem_sep boolean isBatchExhausted concode_elem_sep boolean setValuesIfAvailable | void function ( PreparedStatement arg0 , int arg1 ) { this . exhausted = ! setValuesIfAvailable ( arg0 , arg1 ) ; } |
4,069 | debug 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 setLogLevel concode_elem_sep void setLogLevel concod... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
4,070 | performs a dynamic query on the database and returns the matching rows . concode_field_sep VcmsThreadLocalService _service concode_field_sep com.vportal.portlet.vcms.model.VcmsThread updateVcmsThread concode_elem_sep com.vportal.portlet.vcms.model.VcmsThread updateVcmsThread concode_elem_sep com.vportal.portlet.vcms.mo... | java . util . List function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } |
4,071 | gets the status value for this designator . concode_field_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String statusName concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String value concode_elem_sep java.lang.Integer desig... | java . lang . Integer function ( ) { return status ; } |
4,072 | creates a datachecksum from header_len bytes from arr offset . concode_field_sep int HEADER_LEN concode_elem_sep int CHECKSUM_NULL_SIZE concode_elem_sep int inSum concode_elem_sep int size concode_elem_sep int SIZE_OF_INTEGER concode_elem_sep int CHECKSUM_CRC32_SIZE concode_elem_sep int type concode_elem_sep int CHECKS... | DataChecksum function ( byte arg0 [ ] , int arg1 ) { if ( arg1 < 0 || arg0 . length < arg1 + HEADER_LEN ) { return null ; } int loc0 = ( ( arg0 [ arg1 + 1 ] & 0xff ) << 24 ) | ( ( arg0 [ arg1 + 2 ] & 0xff ) << 16 ) | ( ( arg0 [ arg1 + 3 ] & 0xff ) << 8 ) | ( ( arg0 [ arg1 + 4 ] & 0xff ) ) ; return newDataChecksum ( arg... |
4,073 | set the dataserviceid value . concode_field_sep String dataServiceId concode_elem_sep String clientRequestId concode_elem_sep String requestId concode_elem_sep String eTag concode_elem_sep DateTimeRfc1123 lastModified concode_field_sep JobUpdateHeaders withLastModified concode_elem_sep String dataServiceId concode_elem... | JobUpdateHeaders function ( String arg0 ) { this . dataServiceId = arg0 ; return this ; } |
4,074 | returns a string representation of the object . the hex data is converted to an equivalent string representation concode_field_sep Reference reference concode_elem_sep Logger logger concode_elem_sep StringBuilder stringData concode_field_sep String getHexString concode_elem_sep StringBuilder hexToString concode_elem_se... | String function ( ) { return getLiteralString ( ) ; } |
4,075 | returns the destination inetaddress of this tcpmasterconnection . concode_field_sep int m_Timeout concode_elem_sep Socket m_Socket concode_elem_sep boolean m_Connected concode_elem_sep ModbusSocketBasedTransportFactory m_TransportFactory concode_elem_sep Logger logger concode_elem_sep ModbusTransport m_ModbusTransport ... | InetAddress function ( ) { return m_Socket . getLocalAddress ( ) ; } |
4,076 | explicitly cancels the stanza / packet collector so that no more results are queued up . once a stanza / packet collector has been cancelled , it can not be re-enabled . instead , a new stanza / packet collector must be created . concode_field_sep ArrayBlockingQueue<Stanza> resultQueue concode_elem_sep long waitStart c... | void function ( ) { if ( ! cancelled ) { cancelled = true ; connection . removePacketCollector ( this ) ; } } |
4,077 | get the column handle that will generate row ids for the delete operation . these ids will be passed to the deleterows method of the updatablepagesource that created them . concode_field_sep PlaceHolder placeHolder concode_field_sep List<SchemaTableName> listTables concode_elem_sep boolean supportsMetadataDelete concod... | ColumnHandle function ( ConnectorSession arg0 , ConnectorTableHandle arg1 ) { throw new PrestoException ( NOT_SUPPORTED , "srini_string" ) ; } |
4,078 | set the user 's duz . concode_field_sep String dateTime concode_elem_sep String divisionIEN concode_elem_sep String userDegree concode_elem_sep String userDuz concode_elem_sep String divisionName concode_elem_sep String userServiceSection concode_elem_sep String language concode_elem_sep String userFirstName concode_el... | void function ( String arg0 ) { this . userDuz = arg0 ; } |
4,079 | adds the given topic to the subscription store - used for topic to subscription matching . concode_field_sep SubscriptionsStore subscriptionsStore concode_elem_sep String DUMMY_CLIENT_ID concode_field_sep List<String> getMatchingSubscriptions concode_elem_sep void removeSubscriptionFromStore | void function ( final String arg0 ) { subscriptionsStore . add ( new Subscription ( DUMMY_CLIENT_ID , arg0 , QOSType . MOST_ONE , true ) ) ; } |
4,080 | tests if the item is in the queue . because the queue allows duplicate items , isqueued will return true even if the item was removed from the queue if the item was queued twice before being removed from the queue . concode_field_sep List<Object> delegate concode_elem_sep long serialVersionUID concode_field_sep Object ... | boolean function ( Object arg0 ) { return this . delegate . contains ( arg0 ) ; } |
4,081 | helper method for serialization . concode_field_sep Configuration parentConfiguration concode_elem_sep Properties configuration concode_field_sep boolean isLocallyDefined concode_elem_sep void setParentConfig concode_elem_sep void writeObject concode_elem_sep boolean isRootConfig concode_elem_sep void insertConfigurati... | void function ( final ObjectInputStream arg0 ) { arg0 . defaultReadObject ( ) ; final boolean loc0 = arg0 . readBoolean ( ) ; if ( loc0 ) { this . parentConfiguration = ( ModifiableConfiguration ) arg0 . readObject ( ) ; } else { this . parentConfiguration = null ; } configurationLoaded ( ) ; } |
4,082 | returns whether we 're running under windows 95/98/me . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isLinux concode_elem_sep String getOSName concode_elem_sep boolean isSolaris concode_elem_sep boolean isWindows concode_elem_sep boolean isOldMicrosoftVM concode_elem_sep boolean isMacOSX concode_... | boolean function ( ) { String loc0 = System . getProperty ( "srini_string" ) ; return isWindows ( ) && ( System . getProperty ( "srini_string" ) . compareTo ( "srini_string" ) < 0 ) && ! loc0 . toLowerCase ( ) . startsWith ( "srini_string" ) ; } |
4,083 | sets value of element at specified index relatively to pointer concode_field_sep int pointer concode_elem_sep float[] array concode_elem_sep boolean noCheck concode_field_sep void pp concode_elem_sep void mm concode_elem_sep void set concode_elem_sep void setPointer concode_elem_sep float get concode_elem_sep float get... | void function ( final int arg0 , final float arg1 ) { array [ pointer + arg0 ] = arg1 ; } |
4,084 | this method returns the character at the current index position concode_field_sep int index concode_elem_sep int end concode_elem_sep String text concode_elem_sep int begin concode_field_sep char next concode_elem_sep char previous concode_elem_sep char last concode_elem_sep int getIndex concode_elem_sep char setIndex ... | char function ( ) { return ( index < end ) ? text . charAt ( index ) : DONE ; } |
4,085 | add an attribute for a transactional method . method names can be exact matches , or of the pattern `` xxx '' , `` xxx '' or `` xxx '' for matching multiple methods . concode_field_sep Log logger concode_elem_sep Map<String,TransactionAttribute> nameMap concode_field_sep TransactionAttribute getTransactionAttribute con... | void function ( String arg0 , TransactionAttribute arg1 ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" ) ; } this . nameMap . put ( arg0 , arg1 ) ; } |
4,086 | when activating the service , we need to keep the bundle context . concode_field_sep Logger logger concode_elem_sep TranslationProvider i18nProvider concode_elem_sep BundleContext context concode_field_sep InputStream getResource concode_elem_sep Integer hasIcon concode_elem_sep void unsetTranslationProvider concode_el... | void function ( BundleContext arg0 ) { this . context = arg0 ; } |
4,087 | returns the file number . concode_field_sep String path concode_elem_sep int fileNumber concode_field_sep int footprint concode_elem_sep String getPath concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep void setFileNumber | int function ( ) { return fileNumber ; } |
4,088 | stores the given throwable and rethrows it . it will be rethrown as is if it is an ioexception , runtimeexception or error . otherwise , it will be rethrown wrapped in a runtimeexception . note : be sure to declare all of the checked exception types your try block can throw when calling an overload of this method so as... | RuntimeException function ( Throwable arg0 ) { checkNotNull ( arg0 ) ; thrown = arg0 ; Throwables . propagateIfPossible ( arg0 , IOException . class ) ; throw new RuntimeException ( arg0 ) ; } |
4,089 | is this item a divider ? concode_field_sep PlaceHolder placeHolder concode_field_sep String getForm concode_elem_sep boolean isEmpty concode_elem_sep MenuItem getItem concode_elem_sep String getAction concode_elem_sep String getAccessibilityLabel concode_elem_sep String getIcon concode_elem_sep boolean getIsEnabled con... | boolean function ( ) { return true ; } |
4,090 | set the maximum nr of times the slow optimiziation of alignment should iterate . default : unlimited concode_field_sep double rmsdThrJoin concode_elem_sep int maxGapSize concode_elem_sep double DEFAULT_GAP_OPEN concode_elem_sep double DISTANCE_INCREMENT concode_elem_sep double distanceIncrement concode_elem_sep int sid... | void function ( int arg0 ) { this . maxNrIterationsForOptimization = arg0 ; } |
4,091 | sets the value of the response property . concode_field_sep WsDocument response concode_field_sep WsDocument getResponse | void function ( WsDocument arg0 ) { this . response = arg0 ; } |
4,092 | adds the recent layout set branch to the database . also notifies the appropriate model listeners . concode_field_sep RecentLayoutSetBranchLocalService _recentLayoutSetBranchLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.port... | com . liferay . portal . kernel . model . RecentLayoutSetBranch function ( com . liferay . portal . kernel . model . RecentLayoutSetBranch arg0 ) { return _recentLayoutSetBranchLocalService . addRecentLayoutSetBranch ( arg0 ) ; } |
4,093 | returns a chart entity from the collection . concode_field_sep long serialVersionUID concode_elem_sep List entities concode_field_sep void add concode_elem_sep Iterator iterator concode_elem_sep void addAll concode_elem_sep boolean equals concode_elem_sep int getEntityCount concode_elem_sep void clear concode_elem_sep ... | ChartEntity function ( int arg0 ) { return ( ChartEntity ) this . entities . get ( arg0 ) ; } |
4,094 | use a fixed port , otherwise the port is randomly chosen from a range of oauthtokenweblistener #port_lower and oauthtokenweblistener #port_upper . concode_field_sep Undertow server concode_elem_sep int PORT_LOWER concode_elem_sep List<InetAddress> allowedClients concode_elem_sep List<InetAddress> allowedClients concode... | Builder function ( int arg0 ) { if ( ! VALID_PORT_RANGE . contains ( arg0 ) ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } if ( ! isPortAvailable ( arg0 ) ) { throw new RuntimeException ( "srini_string" + arg0 ) ; } this . port = arg0 ; return this ; } |
4,095 | sets the sponsor value for this transportationproject . concode_field_sep java.lang.String approvalStatus concode_elem_sep java.lang.String fromLoc concode_elem_sep String lit_category concode_elem_sep Long spatial_oid concode_elem_sep TIPScenario[] scenarios concode_elem_sep java.lang.Double curFundTotal concode_elem_... | void function ( java . lang . String arg0 ) { this . sponsorLead = arg0 ; } |
4,096 | returns a copy of the certificate path parameters . concode_field_sep CertPathParameters params concode_field_sep placeholderType placeHolder | CertPathParameters function ( ) { return ( CertPathParameters ) params . clone ( ) ; } |
4,097 | get the component configuration for this view . concode_field_sep Map<Class<?>,Object> privateData concode_elem_sep ViewInstanceFactory viewInstanceFactory concode_elem_sep Set<Method> asyncMethods concode_elem_sep ServiceName viewServiceName concode_elem_sep OrderedItemContainer<InterceptorFactory> clientPreDestroyInt... | ComponentConfiguration function ( ) { return componentConfiguration ; } |
4,098 | called whenever the osgi framework stops our bundle concode_field_sep ServiceTracker<ItemRegistry,ItemRegistry> itemRegistryTracker concode_elem_sep ServiceTracker<ScriptEngine,ScriptEngine> scriptEngineTracker concode_elem_sep ServiceTracker<EventPublisher,EventPublisher> eventPublisherTracker concode_field_sep void s... | void function ( BundleContext arg0 ) { itemRegistryTracker . close ( ) ; eventPublisherTracker . close ( ) ; } |
4,099 | return the frame rate of this format . concode_field_sep int sampleSizeInBits concode_elem_sep Encoding encoding concode_elem_sep float sampleRate concode_elem_sep boolean bigEndian concode_elem_sep float frameRate concode_elem_sep int frameSize concode_elem_sep int channels concode_elem_sep Encoding ALAW concode_elem_... | float function ( ) { return frameRate ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.