idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
10,700 | sets the distance in pixels from the connection . concode_field_sep Connection conn concode_elem_sep int uDistance concode_elem_sep Transposer transposer concode_elem_sep boolean end concode_elem_sep int vDistance concode_elem_sep Rectangle figureBounds concode_field_sep Connection getConnection concode_elem_sep int ge... | void function ( int arg0 ) { vDistance = arg0 ; } |
10,701 | deletes the trash version from the database . also notifies the appropriate model listeners . concode_field_sep TrashVersionLocalService _trashVersionLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.Action... | com . liferay . trash . kernel . model . TrashVersion function ( com . liferay . trash . kernel . model . TrashVersion arg0 ) { return _trashVersionLocalService . deleteTrashVersion ( arg0 ) ; } |
10,702 | returns the data buffer for this packet concode_field_sep InetAddress address concode_elem_sep int offset concode_elem_sep int port concode_elem_sep int length concode_elem_sep byte[] buffer concode_elem_sep int maxlen concode_field_sep void setLength concode_elem_sep int getPort concode_elem_sep void setAddress concod... | byte [ ] function ( ) { return buffer ; } |
10,703 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep Integer name concode_elem_sep String PropertyClass concode_field_sep void setName concode_elem_sep Integer getName concode_elem_sep String getPropertyClass concode_elem_sep void setPropertyClass concode_elem... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
10,704 | get the data to filter for concode_field_sep boolean filter concode_elem_sep String filterData concode_elem_sep ResultsFilter customFilter concode_elem_sep boolean indexData concode_elem_sep String filterColumn concode_field_sep void setCustomFilter concode_elem_sep void setIndexData concode_elem_sep String getFilterCo... | String function ( ) { return filterData ; } |
10,705 | test method for com.google.code.magja.service.customer.customerremoteserviceimpl #listgroups . concode_field_sep CustomerRemoteService service concode_elem_sep Integer customer_id concode_elem_sep String first_name concode_field_sep void testDelete concode_elem_sep void testGetById concode_elem_sep void testList concod... | void function ( ) { try { List < CustomerGroup > loc0 = service . listGroups ( ) ; for ( CustomerGroup loc1 : loc0 ) System . out . println ( loc1 . toString ( ) ) ; } catch ( ServiceException loc1 ) { fail ( loc1 . getMessage ( ) ) ; } } |
10,706 | returns the record number of the record returned from the i/o operation that this object provides feedback for . concode_field_sep int NUMBER_OF_RECORDS_LOCKED concode_elem_sep int RECORD_FORMAT concode_elem_sep int RECORD_FORMAT_LENGTH concode_elem_sep int MEMBER_LOCKED concode_elem_sep String copyright concode_elem_s... | int function ( ) { return BinaryConverter . byteArrayToInt ( data_ , offset_ + RECORD_NUMBER ) ; } |
10,707 | resumes count statistics for the probe , or starts if it 's not yet started . concode_field_sep Comparator countComparator concode_elem_sep Comparator timeComparator concode_elem_sep Map<Logger,PerfLogger> loggers concode_elem_sep Logger log concode_elem_sep long totalTime concode_elem_sep boolean isEnabled concode_ele... | void function ( String arg0 ) { if ( ! isEnabled ( ) ) { return ; } String loc0 = arg0 . intern ( ) ; ProbeStat loc1 = probes . get ( loc0 ) ; if ( loc1 == null ) { loc1 = registerProbe ( loc0 ) ; } loc1 . resume ( ) ; } |
10,708 | retrieve the proc object associated with this block concode_field_sep boolean[] escaped concode_elem_sep Type type concode_elem_sep RubyProc proc concode_elem_sep Binding binding concode_elem_sep Block NULL_BLOCK concode_elem_sep BlockBody body concode_field_sep IRubyObject yieldArray concode_elem_sep BlockBody getBody... | RubyProc function ( ) { return proc ; } |
10,709 | returns a count of the bodies in the xhtml packet . concode_field_sep String NAMESPACE concode_elem_sep String ELEMENT concode_elem_sep List<CharSequence> bodies concode_field_sep void addBody concode_elem_sep String getNamespace concode_elem_sep XmlStringBuilder toXML concode_elem_sep XHTMLExtension from concode_elem_... | int function ( ) { synchronized ( bodies ) { return bodies . size ( ) ; } } |
10,710 | a processing instruction was parsed . concode_field_sep boolean allowPrefixMappings concode_elem_sep boolean allowIgnorableWhitespace concode_elem_sep boolean allowProcessingInstructions concode_elem_sep boolean allowDTDs concode_elem_sep boolean allowCDATA concode_elem_sep boolean allowDocuments concode_elem_sep Conte... | void function ( String arg0 , String arg1 ) { if ( allowProcessingInstructions ) { contentHandler . processingInstruction ( arg0 , arg1 ) ; } } |
10,711 | loads the sfx configuration file concode_field_sep Logger log concode_elem_sep Document doc concode_field_sep String getValue concode_elem_sep String getAttribute concode_elem_sep String processFields concode_elem_sep boolean isEmptyTextNode concode_elem_sep Node getElement concode_elem_sep Document parseFile concode_e... | String function ( String arg0 , Item arg1 ) { if ( doc == null ) { doc = parseFile ( arg0 ) ; } return doNodes ( doc , arg1 ) ; } |
10,712 | commit the changes enqueue and dequeue actions to andes core concode_field_sep DtxRegistry dtxRegistry concode_elem_sep Map<Long,State> associatedSessions concode_elem_sep ArrayList<AndesMessage> enqueueList concode_elem_sep List<AndesAckData> dequeueList concode_elem_sep long timeout concode_elem_sep Logger LOGGER con... | void function ( DisruptorEventCallback arg0 , AndesChannel arg1 ) { if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "srini_string" + xid ) ; } cancelTimeoutTaskIfExists ( ) ; this . callback = arg0 ; eventManager . requestDtxCommitEvent ( this , arg1 ) ; } |
10,713 | the price per instance . concode_field_sep Double price concode_elem_sep Integer count concode_field_sep PricingDetail withPrice concode_elem_sep PricingDetail withCount concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep PricingDetail clone concode_elem_sep String toString concode_elem_sep v... | Double function ( ) { return price ; } |
10,714 | returns the outer instance . concode_field_sep int loadOpcode concode_elem_sep StackSize stackSize concode_elem_sep int storeOpcode concode_field_sep StackManipulation load concode_elem_sep Size apply concode_elem_sep Size apply concode_elem_sep int hashCode concode_elem_sep int hashCode concode_elem_sep ArrayAccess of... | ArrayAccess function ( ) { return ArrayAccess . this ; } |
10,715 | get the response body as a byte array concode_field_sep com.ning.http.client.Response ahcResponse concode_field_sep InputStream getBodyAsStream concode_elem_sep JsonNode asJson concode_elem_sep Object getUnderlying concode_elem_sep String getBody concode_elem_sep List<WSCookie> getCookies concode_elem_sep Map<String,Li... | byte [ ] function ( ) { try { return ahcResponse . getResponseBodyAsBytes ( ) ; } catch ( IOException loc0 ) { throw new RuntimeException ( loc0 ) ; } } |
10,716 | test method for org.eclipse.gemini.blueprint.mock.mockbundle #mockbundle java.lang.string , java.util.dictionary , org.osgi.framework.bundlecontext . concode_field_sep MockBundle mock concode_field_sep void testMockBundleBundleContext concode_elem_sep void testDefaultGetBundleContext concode_elem_sep void testMockBundl... | void function ( ) { BundleContext loc0 = new MockBundleContext ( ) ; String loc1 = "srini_string" ; Dictionary loc2 = new Hashtable ( ) ; mock = new MockBundle ( loc1 , loc2 , loc0 ) ; assertNotNull ( mock . getLocation ( ) ) ; assertNotNull ( mock . getHeaders ( ) ) ; assertNotNull ( mock . getSymbolicName ( ) ) ; } |
10,717 | 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 ; } |
10,718 | whenever processing a messages results in the processing of messages that are permanent , or a message carrying a db_rep_permanent flag was processed successfully , but was not written to disk , the lsn of the record is available from the getlsn method . the application should take whatever action is deemed necessary t... | LogSequenceNumber function ( ) { return lsn ; } |
10,719 | puts a single value into the table . concode_field_sep int[][] data concode_elem_sep int count concode_elem_sep int targetSearchValue concode_elem_sep int sortedColumn concode_elem_sep int targetSearchColumn concode_field_sep void putPair concode_elem_sep void add concode_elem_sep void swap concode_elem_sep int binaryS... | void function ( int arg0 , int arg1 , int arg2 ) { data [ arg1 ] [ arg0 ] = arg2 ; if ( arg1 == sortedColumn ) { sortedColumn = - 1 ; } } |
10,720 | return an uppercase version of the input or null if user gave no input . if user gave no input and @a showtoast is true a toast is displayed to this effect . concode_field_sep String TAG concode_field_sep void hideKeyboard concode_elem_sep File openDirectory concode_elem_sep void setActivityResult concode_elem_sep void... | String function ( Context arg0 , String arg1 , boolean arg2 ) { if ( arg1 . isEmpty ( ) ) { if ( arg2 ) Utils . arg2 ( arg0 , "srini_string" ) ; return null ; } else return arg1 . toUpperCase ( Locale . ENGLISH ) ; } |
10,721 | read a character . concode_field_sep char[] m_aBuffer concode_elem_sep int m_nTokenBegin concode_elem_sep int m_nMaxNextCharInd concode_elem_sep boolean m_bPrevCharIsLF concode_elem_sep int m_nLine concode_elem_sep int m_nInBuf concode_elem_sep int m_nAvailable concode_elem_sep int m_nTabSize concode_elem_sep Reader m_... | char function ( ) { if ( m_nInBuf > 0 ) { -- m_nInBuf ; if ( ++ m_nBufpos == m_nBufsize ) m_nBufpos = 0 ; return m_aBuffer [ m_nBufpos ] ; } if ( ++ m_nBufpos == m_nAvailable ) _adjustBuffSize ( ) ; char loc0 ; m_aBuffer [ m_nBufpos ] = loc0 = _readByte ( ) ; if ( m_bTrackLineColumn ) _updateLineColumn ( loc0 ) ; retur... |
10,722 | gets the class attributes of the certificate here the commoncertificateattributes . concode_field_sep TLV subClassAttributes concode_elem_sep TLV classAttributes concode_elem_sep CommonObjectAttributes commonObjectAttributes concode_elem_sep CertAttributes typeAttributes concode_elem_sep TLV tlv concode_field_sep Commo... | TLV function ( ) { return classAttributes ; } |
10,723 | converts milliseconds to date . concode_field_sep PlaceHolder placeHolder concode_field_sep String convertByteArrayToStringWithoutEscape concode_elem_sep String convertMsToClockTime concode_elem_sep String convertMsToShortClockTime | String function ( long arg0 ) { DateFormat loc0 = new SimpleDateFormat ( "srini_string" ) ; return loc0 . format ( new Date ( arg0 ) ) ; } |
10,724 | returns the document library file rank with the primary key . concode_field_sep DLFileRankLocalService _service concode_field_sep com.liferay.portlet.documentlibrary.model.DLFileRank updateDLFileRank concode_elem_sep com.liferay.portlet.documentlibrary.model.DLFileRank deleteDLFileRank concode_elem_sep com.liferay.port... | com . liferay . portlet . documentlibrary . model . DLFileRank function ( long arg0 ) { return getService ( ) . getDLFileRank ( arg0 ) ; } |
10,725 | get the 0-based line number of this line . concode_field_sep String fileName concode_elem_sep int lineIdx concode_elem_sep Set<LineHighlight> listeners concode_elem_sep Position pos concode_elem_sep Document doc concode_field_sep void removeUpdate concode_elem_sep String fileName concode_elem_sep void updatePosition co... | int function ( ) { return lineIdx ; } |
10,726 | returns a rank in the range 0 , 1.0 based on the beacon 's rssi . the highest rssi values approach a rank of 1.0 while the weakest ones approach 0.0 concode_field_sep Beacon[] mBeacons concode_elem_sep Helper mHelper concode_elem_sep String mTime concode_field_sep void applyDisplacement concode_elem_sep int power2dBm c... | Double [ ] function ( ) { Double [ ] loc0 = new Double [ mBeacons . length ] ; int loc1 = 0 ; for ( Beacon loc2 : mBeacons ) { loc0 [ loc1 ] = loc2 . getRank ( ) ; loc1 ++ ; } return loc0 ; } |
10,727 | test of getid method , of class kadal . concode_field_sep PlaceHolder placeHolder concode_field_sep void testIncrTime concode_elem_sep void testGetKekuatan concode_elem_sep void testGetChar concode_elem_sep void testGetPosisi | void function ( ) { System . out . println ( "srini_string" ) ; int loc0 = 10 ; Kadal loc1 = new Kadal ( loc0 ) ; int loc2 = loc1 . getID ( ) ; assertTrue ( loc2 >= 0 ) ; } |
10,728 | get the ezid request status . concode_field_sep String UTF_8 concode_elem_sep String statusValue concode_elem_sep HttpResponse response concode_elem_sep Logger log concode_elem_sep Map<String,String> attributes concode_elem_sep String status concode_field_sep String getEZIDStatusValue concode_elem_sep String getHttpRea... | String function ( ) { return status ; } |
10,729 | sets the output of this transcoder output with the specified uri . concode_field_sep OutputStream ostream concode_elem_sep Document document concode_elem_sep Writer writer concode_elem_sep XMLFilter xmlFilter concode_elem_sep String uri concode_field_sep void setWriter concode_elem_sep void setDocument concode_elem_sep... | void function ( String arg0 ) { this . uri = arg0 ; } |
10,730 | sets the value of field ` specific ' . the field ` specific ' has the following description : the specific trap number concode_field_sep Integer _generic concode_elem_sep Long _timeStamp concode_elem_sep java.lang.String _idtext concode_elem_sep Integer _specific concode_elem_sep long serialVersionUID concode_elem_sep ... | void function ( final Integer arg0 ) { this . _specific = arg0 ; } |
10,731 | mark this piece as no longer being available at the given peer . concode_field_sep TorrentByteStorage bucket concode_elem_sep boolean valid concode_elem_sep boolean seeder concode_elem_sep long offset concode_elem_sep ByteBuffer data concode_elem_sep Piece piece concode_elem_sep long length concode_elem_sep int index c... | void function ( SharingPeer arg0 ) { this . seen -- ; } |
10,732 | get the authority . concode_field_sep Certificate[] chain concode_elem_sep X500Principal authority concode_elem_sep PrivateKey key concode_field_sep PrivateKey getKey concode_elem_sep Certificate[] getChain concode_elem_sep void setKey | X500Principal function ( ) { return authority ; } |
10,733 | set the `` availabilityrestricted '' setting for the forum concode_field_sep Area area concode_elem_sep SimpleDateFormat datetimeFormat concode_elem_sep TimeService timeService concode_elem_sep int numPendingMsgs concode_elem_sep Logger LOG concode_field_sep void setNumPendingMsgs concode_elem_sep boolean isAreaModerat... | void function ( String arg0 ) { LOG . debug ( "srini_string" ) ; if ( arg0 . equals ( Boolean . TRUE . toString ( ) ) ) { area . setAvailabilityRestricted ( Boolean . valueOf ( true ) ) ; } else { area . setAvailabilityRestricted ( Boolean . valueOf ( false ) ) ; } } |
10,734 | gets the value of the frequencies property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the frequencies property . for example , to add a new item... | List < String > function ( ) { if ( frequencies == null ) { frequencies = new ArrayList < String > ( ) ; } return this . frequencies ; } |
10,735 | an indication of the severity of this message : error : this message indicates that this is not a valid setting for an option . warning : this message is providing information you should take into account . concode_field_sep String severity concode_elem_sep String namespace concode_elem_sep String message concode_elem_... | String function ( ) { return this . severity ; } |
10,736 | adds a boolean property to a map only if the value is non-null , otherwise the key/value pair will not be added at all . concode_field_sep StringBuilder params concode_field_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBu... | JSONBuilder function ( String arg0 , Boolean arg1 ) { if ( arg1 == null ) { return this ; } return entry ( arg0 , arg1 . booleanValue ( ) ) ; } |
10,737 | this method is called by the authentication framework . concode_field_sep PlaceHolder placeHolder concode_field_sep void postAuthenticate concode_elem_sep AuthenticationResult doAuthenticate | AuthenticationResult function ( MessageContext arg0 ) { AuthenticationResult loc0 = this . doAuthenticate ( arg0 ) ; postAuthenticate ( arg0 , loc0 ) ; return loc0 ; } |
10,738 | callback method used while the query is executed . concode_field_sep int ncolumns concode_elem_sep int nrows concode_elem_sep String types[] concode_elem_sep Vector rows concode_elem_sep int maxrows concode_elem_sep boolean atmaxrows concode_elem_sep String column[] concode_field_sep void types concode_elem_sep boolean... | void function ( String arg0 [ ] ) { column = arg0 ; ncolumns = column . length ; } |
10,739 | associate the given listener with this facebook object . the listener 's callback interface will be invoked when logout occurs . concode_field_sep LinkedList<LogoutListener> mLogoutListeners concode_elem_sep LinkedList<AuthListener> mAuthListeners concode_field_sep void removeAuthListener concode_elem_sep void removeLo... | void function ( LogoutListener arg0 ) { mLogoutListeners . add ( arg0 ) ; } |
10,740 | returns a transformed parameter . concode_field_sep Mapping[] maps concode_elem_sep AtomicInteger OBJECT_COUNT concode_elem_sep int id concode_elem_sep T payload concode_elem_sep double[] step concode_elem_sep Random gen concode_elem_sep double[] params concode_elem_sep double omni concode_elem_sep double value concode... | double function ( int arg0 ) { Mapping loc0 = maps [ arg0 ] ; return loc0 == null ? params [ arg0 ] : loc0 . apply ( params [ arg0 ] ) ; } |
10,741 | return value for system property name parsed as int or defaultvalue if the property does not exist or a security manager denies access to it concode_field_sep Logger logger concode_field_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysPropertyDouble concode_elem_sep doubl... | int function ( String arg0 , int arg1 ) { String loc0 = property ( arg0 ) ; if ( loc0 != null ) { try { return Integer . parseInt ( loc0 ) ; } catch ( NumberFormatException loc1 ) { logger . log ( Level . FINE , "srini_string" , loc1 ) ; } } return arg1 ; } |
10,742 | performs a dynamic query on the database and returns the matching rows . concode_field_sep PasswordPolicyRelLocalService _passwordPolicyRelLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.model.PasswordPolicyRel updatePasswordPolicyRel concode_elem_sep void de... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _passwordPolicyRelLocalService . arg0 ( arg0 ) ; } |
10,743 | checks if the homematic valuetype is a double . concode_field_sep Integer subType concode_elem_sep Number minValue concode_elem_sep Number maxValue concode_elem_sep Integer valueType concode_elem_sep String name concode_elem_sep boolean writeable concode_elem_sep Object value concode_elem_sep String[] valueList concode... | boolean function ( ) { return valueType == 4 || valueType == 6 ; } |
10,744 | handles a mouse moved event . this implementation does nothing , override the method if required . concode_field_sep boolean shiftKey concode_elem_sep boolean ctrlKey concode_elem_sep boolean metaKey concode_elem_sep String id concode_elem_sep boolean altKey concode_elem_sep boolean enabled concode_field_sep void setEn... | void function ( ChartCanvas arg0 , MouseEvent arg1 ) { } |
10,745 | returns the props of this web dav props . concode_field_sep WebDAVProps _webDAVProps concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_el... | java . lang . String function ( ) { return _webDAVProps . getProps ( ) ; } |
10,746 | sets the spring bean id for this bean . concode_field_sep LocationService _service concode_field_sep java.lang.String getBeanIdentifier concode_elem_sep void clearService concode_elem_sep void setService concode_elem_sep java.lang.Object invokeMethod concode_elem_sep LocationService getService | void function ( java . lang . String arg0 ) { getService ( ) . setBeanIdentifier ( arg0 ) ; } |
10,747 | returns the index into the master list of the last object that should appear on the given page . concode_field_sep boolean partialList concode_elem_sep int pageCount concode_elem_sep int fullListSize concode_elem_sep int pageSize concode_elem_sep int currentPage concode_elem_sep Logger log concode_elem_sep TablePropert... | int function ( int arg0 ) { int loc0 = getFirstIndexForPage ( arg0 ) ; int loc1 = this . pageSize - 1 ; int loc2 = this . fullListSize - 1 ; return Math . min ( loc0 + loc1 , loc2 ) ; } |
10,748 | sets the company id of this event . concode_field_sep Event _event concode_field_sep long getLocationId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep void setGr... | void function ( long arg0 ) { _event . setCompanyId ( arg0 ) ; } |
10,749 | gets the disapprovalreasons value for this policydata . concode_field_sep com.google.api.ads.adwords.axis.v201502.cm.DisapprovalReason[] disapprovalReasons concode_elem_sep java.lang.String policyDataType concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.... | com . google . api . ads . adwords . axis . v201502 . cm . DisapprovalReason [ ] function ( ) { return disapprovalReasons ; } |
10,750 | returns a collection of all property values that have keys with a certain prefix . concode_field_sep String prefix concode_elem_sep Properties props concode_field_sep Properties readProperties concode_elem_sep Properties readProperties concode_elem_sep Adder withPrefix concode_elem_sep void addProperties concode_elem_s... | Collection function ( Properties arg0 , String arg1 ) { final HashSet loc0 = new HashSet ( ) ; for ( Iterator loc1 = arg0 . keySet ( ) . iterator ( ) ; loc1 . hasNext ( ) ; ) { String loc2 = ( String ) loc1 . next ( ) ; if ( loc2 . startsWith ( arg1 ) ) { loc0 . add ( arg0 . getProperty ( loc2 ) ) ; } } return loc0 ; } |
10,751 | update the size of the image to be returned by getoffscreen . note that this change will not be reflected by calls to getoffscreen until either clearoffscreen has completed when isdoublebuffered is false or reapint has completed when isdoublebuffered is true . concode_field_sep AffineTransform usr2dev concode_elem_sep ... | void function ( int arg0 , int arg1 ) { offScreenWidth = arg0 ; offScreenHeight = arg1 ; } |
10,752 | set the number of files to check per run . a additional delay will be added if there are more files to check concode_field_sep Thread m_aMonitorThread concode_elem_sep int DEFAULT_MAX_FILES concode_elem_sep List<FileMonitor> m_aMonitorList concode_elem_sep boolean m_bShouldRun concode_elem_sep Logger s_aLogger concode_... | FileMonitorManager function ( final int arg0 ) { m_nChecksPerRun = arg0 ; return this ; } |
10,753 | gets the value of the viburls property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the viburls property . for example , to add a new item , do as... | List < String > function ( ) { if ( vibUrls == null ) { vibUrls = new ArrayList < String > ( ) ; } return this . vibUrls ; } |
10,754 | gets a value based on if the event has been triggered . with an event other than eventtype #nodedeleted concode_field_sep boolean triggered concode_elem_sep boolean deleted concode_field_sep void process concode_elem_sep boolean isDeleted concode_elem_sep void reset | boolean function ( ) { return triggered ; } |
10,755 | increments the flow control window for this stream by the given delta and returns the new value . concode_field_sep FrameWriter frameWriter concode_elem_sep int streamId concode_elem_sep Buffer data concode_elem_sep boolean enqueued concode_elem_sep int initialWindowSize concode_elem_sep Queue<Frame> pendingWriteQueue ... | int function ( int arg0 ) { if ( arg0 > 0 && Integer . MAX_VALUE - arg0 < window ) { throw new IllegalArgumentException ( "srini_string" + streamId ) ; } window += arg0 ; return window ; } |
10,756 | gets the conversion_level value for this video_tracking . concode_field_sep java.lang.String daily_visitors_tracked concode_elem_sep java.lang.String conversion_level concode_elem_sep java.lang.String segments_tracked concode_elem_sep java.lang.String segment_length concode_elem_sep java.lang.Object __equalsCalc concod... | java . lang . String function ( ) { return conversion_level ; } |
10,757 | check if the given class represents a primitive wrapper , i.e. boolean , byte , character , short , integer , long , float , or double . concode_field_sep Map<Class,Class> primitiveWrappers concode_elem_sep Map<Class,Class> wrapperPrimitives concode_field_sep boolean isAssignable concode_elem_sep boolean isPrimitiveArr... | boolean function ( Class arg0 ) { return wrapperPrimitives . containsKey ( arg0 ) ; } |
10,758 | appends a new pattern operator to the existing one . the new pattern operator enforces strict temporal contiguity . this means that the whole pattern only matches if an event which matches this operator directly follows the preceding matching event . thus , there can not be any events in between two matching events . c... | Pattern < T , T > function ( final String arg0 ) { return new Pattern < T , T > ( arg0 , this ) ; } |
10,759 | dummy method so that intellj recognizes this as a test class . concode_field_sep NoneSecurityGroupFetcher fetcher concode_elem_sep TransactionAuthorizationObject authorizationObject concode_field_sep void testWrongTransactionAuthorizationObjectKind concode_elem_sep void setUp concode_elem_sep void testSuccess | void function ( ) { } |
10,760 | order status concode_field_sep Long id concode_elem_sep Date shipDate concode_elem_sep String value concode_elem_sep StatusEnum status concode_elem_sep Long petId concode_elem_sep Integer quantity concode_elem_sep Boolean complete concode_field_sep Date getShipDate concode_elem_sep String toIndentedString concode_elem_... | StatusEnum function ( ) { return status ; } |
10,761 | get patient by id or uuid string . concode_field_sep Log log concode_field_sep String renderDashboard | Patient function ( String arg0 ) { if ( StringUtils . isBlank ( arg0 ) ) { return null ; } PatientService loc0 = Context . getPatientService ( ) ; Patient loc1 = null ; try { loc1 = loc0 . getPatient ( Integer . valueOf ( arg0 ) ) ; } catch ( Exception loc2 ) { loc1 = loc0 . getPatientByUuid ( arg0 ) ; } return loc1 ; ... |
10,762 | initializes the processor with the processing environment by setting the processingenv field to the value of the processingenv argument . an illegalstateexception will be thrown if this method is calledmore than once on the same object . concode_field_sep ProcessingEnvironment processingEnv concode_elem_sep boolean ini... | void function ( ProcessingEnvironment arg0 ) { if ( initialized ) throw new IllegalStateException ( "srini_string" ) ; if ( arg0 == null ) throw new NullPointerException ( "srini_string" ) ; this . processingEnv = arg0 ; initialized = true ; } |
10,763 | called by the material to tell the technique that it has been made current . the technique updates dynamic defines based on the currently set material parameters . concode_field_sep Material owner concode_elem_sep DefineList dynamicDefines concode_elem_sep TechniqueDef def concode_elem_sep DefineList paramDefines conco... | void function ( ) { ListMap < String , MatParam > loc0 = owner . getParamsMap ( ) ; paramDefines . clear ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . size ( ) ; loc1 ++ ) { MatParam loc2 = loc0 . getValue ( loc1 ) ; notifyParamChanged ( loc2 . getName ( ) , loc2 . getVarType ( ) , loc2 . getValue ( ) ) ; } } |
10,764 | sets the section handling for all sections which are not set by level or name ... concode_field_sep EnumMap<CIT,Boolean> pageHandling concode_elem_sep EnumMap<CIT,Boolean> firstParagraphHandling concode_elem_sep Map<String,EnumMap<SIT,EnumMap<CIT,Boolean>>> sectionHandling concode_elem_sep int levelModifier concode_fie... | void function ( EnumMap < SIT , EnumMap < CIT , Boolean >> arg0 ) { sectionHandling . put ( SectionType . DEFAULT_SECTION . toString ( ) , arg0 ) ; } |
10,765 | debug 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 setLogLevel concode_elem_sep void setLogLevel concode_elem_sep void e conco... | void function ( String arg0 , String arg1 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , arg1 ) ; } |
10,766 | hook for blocking the loading of external resources . this will be called when the webview 's shouldinterceptrequest wants to know whether to open a connection to an external resource . return false to block the request : if any plugin returns false , cordova will block the request . if all plugins return null , the de... | Boolean function ( String arg0 ) { return null ; } |
10,767 | callback method that subclasses may override to get a chance to act on newly saved definitions . concode_field_sep JobParser composedJobParser concode_elem_sep XDParser parser concode_elem_sep ZooKeeperConnection zkConnection concode_elem_sep ParsingContext definitionKind concode_elem_sep PagingAndSortingRepository<D,S... | D function ( D arg0 ) { return arg0 ; } |
10,768 | gets the value of the orderid property . concode_field_sep String statusDescription concode_elem_sep String orderId concode_elem_sep long serialVersionUID concode_elem_sep String statusCode concode_field_sep String getStatusCode concode_elem_sep void setStatusCode concode_elem_sep String getStatusDescription concode_el... | String function ( ) { return orderId ; } |
10,769 | converts a json integer array to an arraylist of integers . concode_field_sep PlaceHolder placeHolder concode_field_sep String[] jsonStringArrayToStringArray concode_elem_sep int[] jsonIntArrayToIntArray concode_elem_sep String htmlEntitiesDecode concode_elem_sep List<String> jsonStringArrayToStringList concode_elem_se... | List < Integer > function ( JSONObject arg0 , List < Integer > arg1 , String arg2 ) { arg1 = new ArrayList < Integer > ( ) ; for ( int loc0 = 0 ; loc0 < ( ( JSONArray ) arg0 . get ( arg2 ) ) . length ( ) ; loc0 ++ ) { arg1 . add ( ( ( JSONArray ) arg0 . get ( arg2 ) ) . getInt ( loc0 ) ) ; } return arg1 ; } |
10,770 | checks if the action string belongs to an rm protocol message . concode_field_sep PlaceHolder placeHolder concode_field_sep RMProperties retrieveRMProperties concode_elem_sep void storeRMProperties concode_elem_sep boolean isServerSide concode_elem_sep ProtocolVariation getProtocolVariation concode_elem_sep void setPro... | boolean function ( String arg0 ) { return RM10Constants . ACTIONS . contains ( arg0 ) || RM11Constants . ACTIONS . contains ( arg0 ) ; } |
10,771 | creates a metadata instances with a single entry , with the given key and given value . concode_field_sep MetaData EMPTY_META_DATA concode_elem_sep String UNSUPPORTED_MUTATION_MSG concode_elem_sep Map<String,Object> values concode_elem_sep long serialVersionUID concode_field_sep MetaData mergedWith concode_elem_sep Obj... | MetaData function ( String arg0 , Object arg1 ) { return MetaData . from ( Collections . singletonMap ( arg0 , arg1 ) ) ; } |
10,772 | performs a motif refinement , starting with a specific motif partition cell/color that needs refinement concode_field_sep Set<Integer> colorsToRecheck concode_elem_sep int[] topMotifnodeToColor concode_elem_sep Motif motif concode_elem_sep Map<Integer,List<Integer>> colorToTopMotifnode concode_elem_sep Map<Integer,List... | boolean function ( int arg0 ) { boolean loc0 = refine ( arg0 ) ; while ( loc0 && ! colorsToRecheck . isEmpty ( ) ) { int loc1 = colorsToRecheck . iterator ( ) . next ( ) ; loc0 = refine ( loc1 ) ; colorsToRecheck . remove ( ( Integer ) loc1 ) ; } return loc0 ; } |
10,773 | gets the lastdaynumevents value for this spotlightactivitytagproperty . concode_field_sep int averageNumEvents concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep int lastDayNumEvents concode_elem_sep java... | int function ( ) { return lastDayNumEvents ; } |
10,774 | evaluates the condition by evaluating its child expression . concode_field_sep Expression expression concode_elem_sep List<Expression> children concode_elem_sep Function function concode_elem_sep URI booleanIdentifier concode_elem_sep boolean isVersionOne concode_field_sep void encode concode_elem_sep void encode conco... | EvaluationResult function ( EvaluationCtx arg0 ) { return ( ( Evaluatable ) expression ) . evaluate ( arg0 ) ; } |
10,775 | find out how much has been done . concode_field_sep File file concode_elem_sep ResourceBundle messageBundle concode_elem_sep int lengthOfTask concode_elem_sep String dialogMessage concode_elem_sep Document document concode_elem_sep Logger logger concode_elem_sep boolean done concode_elem_sep int current concode_elem_se... | int function ( ) { return current ; } |
10,776 | extracts the first word from a timezone displayname . concode_field_sep DateFormat currentFormat concode_elem_sep ArrayList checkedTimeZoneList concode_elem_sep String GMT7DAYLIGHTLOCATION concode_elem_sep String GMT9DAYLIGHTLOCATION concode_elem_sep String GMT8DAYLIGHTLOCATION concode_elem_sep String GMT10DAYLIGHTLOCA... | String function ( String arg0 ) { if ( arg0 == null ) { arg0 = "srini_string" ; } else { StringTokenizer loc0 = new StringTokenizer ( arg0 , "srini_string" ) ; if ( loc0 . hasMoreTokens ( ) ) { arg0 = loc0 . nextToken ( ) ; } } return arg0 ; } |
10,777 | gets the nesting beancontext for this beancontextchildsupport . concode_field_sep long serialVersionUID concode_elem_sep boolean rejectedSetBCOnce concode_elem_sep VetoableChangeSupport vcSupport concode_elem_sep BeanContext beanContext concode_elem_sep PropertyChangeSupport pcSupport concode_elem_sep BeanContextChild ... | BeanContext function ( ) { return beanContext ; } |
10,778 | returns a hash code value for the object . concode_field_sep ConnectionManager cm concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep Logger log concode_elem_sep ResourceAdapter ra concode_field_sep ManagedConnection createManagedConnection concode_elem_sep void setResourceAda... | int function ( ) { return 17 ; } |
10,779 | sample_has_redundancy takes one of the following four values : 0 : it is unknown whether there is redundant coding in this sample ; 1 : there is redundant coding in this sample ; 2 : there is no redundant coding in this sample ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int samplePad... | int function ( ) { return sampleHasRedundancy ; } |
10,780 | returns the number of times #get returned null . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep int maxSize concode_elem_sep LinkedHashMap<String,Bitmap> map concode_elem_sep int missCount concode_field_sep int evictionCount con... | int function ( ) { return missCount ; } |
10,781 | gets the nombre value for this ctbodyrs . concode_field_sep java.lang.String tipoDocumento concode_elem_sep java.lang.String fechaAlta concode_elem_sep java.lang.String[] datos concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCo... | java . lang . String function ( ) { return nombre ; } |
10,782 | the name of the db cluster parameter group . constraints : must be 1 to 255 alphanumeric characters first character must be a letter can not end with a hyphen or contain two consecutive hyphens this value is stored as a lowercase string . returns a reference to this object so that method calls can be chained together .... | ResetDBClusterParameterGroupResult function ( String arg0 ) { this . dBClusterParameterGroupName = arg0 ; return this ; } |
10,783 | return false if the tree node is a folder.by default all tree nodes are folders . 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 Defaul... | boolean function ( ) { return this . leaf ; } |
10,784 | sets the fontmapping attribute of the fontresolver object concode_field_sep HashMap available_fonts_hash concode_elem_sep HashMap instance_hash concode_field_sep void init concode_elem_sep void flushCache concode_elem_sep FSFont resolveFont concode_elem_sep Font resolveFont concode_elem_sep FSFont resolveFont concode_e... | void function ( String arg0 , Font arg1 ) { available_fonts_hash . put ( arg0 , arg1 . deriveFont ( 1f ) ) ; } |
10,785 | names must begin with a letter and can contain the following characters : a-z lowercase , 0-9 , and _ underscore . returns a reference to this object so that method calls can be chained together . constraints : length : 1 - 64 pattern : a-z a-z0-9 _ concode_field_sep String analysisSchemeName concode_elem_sep String an... | AnalysisScheme function ( String arg0 ) { this . analysisSchemeName = arg0 ; return this ; } |
10,786 | simple test to see if utiity methods are working correctly . concode_field_sep boolean mCorrect concode_field_sep void longTest concode_elem_sep void finishTest concode_elem_sep void intTest | void function ( String [ ] arg0 ) { if ( arg0 . length != 2 ) { finishTest ( false ) ; qautil . debug ( "srini_string" ) ; System . exit ( 0 ) ; } if ( arg0 [ 0 ] . equals ( "srini_string" ) ) { intTest ( arg0 [ 1 ] ) ; } else { longTest ( arg0 [ 1 ] ) ; } } |
10,787 | this method was generated by mybatis generator . this method sets the value of the database column public.survey.date concode_field_sep Date date concode_elem_sep Integer country concode_elem_sep String preparedBy concode_elem_sep Integer deleted concode_elem_sep Date insertedDate concode_elem_sep String name concode_e... | void function ( Date arg0 ) { this . date = arg0 ; } |
10,788 | any validation warnings that were found . concode_field_sep com.amazonaws.internal.SdkInternalList<ValidationWarning> validationWarnings concode_elem_sep com.amazonaws.internal.SdkInternalList<ValidationError> validationErrors concode_elem_sep Boolean errored concode_field_sep java.util.List<ValidationError> getValidat... | void function ( java . util . Collection < ValidationWarning > arg0 ) { if ( arg0 == null ) { this . validationWarnings = null ; return ; } this . validationWarnings = new com . amazonaws . internal . SdkInternalList < ValidationWarning > ( arg0 ) ; } |
10,789 | get token end line number . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep boolean staticFlag concode_elem_sep int bufcolumn... | int function ( ) { return bufline [ bufpos ] ; } |
10,790 | returns a hex string of the given byte . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] getBytes | String function ( byte arg0 ) { return Integer . toHexString ( 0x100 | arg0 & 0xff ) . substring ( 1 ) . toUpperCase ( ) ; } |
10,791 | gets the value of the totalcount property . concode_field_sep List<ArtifactType> artifact concode_elem_sep SearchResult.Data data concode_elem_sep BigInteger count concode_elem_sep BigInteger from concode_elem_sep BigInteger totalCount concode_elem_sep boolean tooManyResults concode_field_sep void setTotalCount concode... | BigInteger function ( ) { return totalCount ; } |
10,792 | mainbugset should probably always be the same as the data field in the current bugtreemodel we have n't run into any issues where it is n't , but if the two are n't equal using == , problems might occur . if these problems do occur , see bugtreemodel.resetdata and perhaps adding a setasrootandcache to it would fix the ... | BugSet function ( ) { return mainBugSet ; } |
10,793 | clones this configuration . concode_field_sep Class booterClass concode_elem_sep Configuration parentConfiguration concode_elem_sep DefaultConfiguration configuration concode_elem_sep long serialVersionUID concode_field_sep boolean isLocallyDefined concode_elem_sep void setParentConfig concode_elem_sep void writeObject... | Object function ( ) { try { final HierarchicalConfiguration loc0 = ( HierarchicalConfiguration ) super . clone ( ) ; loc0 . configuration = ( DefaultConfiguration ) configuration . clone ( ) ; return loc0 ; } catch ( CloneNotSupportedException loc0 ) { throw new IllegalStateException ( loc0 ) ; } } |
10,794 | a long running task is started when this method is called . actually not that long around 10 seconds . this long process longoperationrunner is responsible for updating the percent complete in the model class . concode_field_sep Log log concode_elem_sep long PROCCESS_SLEEP_LENGTH concode_elem_sep OutputProgressModel ou... | void function ( ActionEvent arg0 ) { longRunningTaskThreadPool . execute ( new LongOperationRunner ( outputProgressModel , persistentFacesState ) ) ; } |
10,795 | creates a linkedblockingdeque with a capacity of integer #max_value , containing the elements of the specified iterable , in the order they are returned by the iterable 's iterator . concode_field_sep PlaceHolder placeHolder concode_field_sep SynchronousQueue<E> newSynchronousQueue concode_elem_sep ConcurrentLinkedQueu... | LinkedBlockingDeque < E > function ( Iterable < ? extends E > arg0 ) { if ( arg0 instanceof Collection ) { return new LinkedBlockingDeque < E > ( Collections2 . cast ( arg0 ) ) ; } LinkedBlockingDeque < E > loc0 = new LinkedBlockingDeque < E > ( ) ; Iterables . addAll ( loc0 , arg0 ) ; return loc0 ; } |
10,796 | tells whether or not the alluxiouri is absolute . an alluxiouri is absolute if , and only if , it has a scheme component . concode_field_sep String SEPARATOR concode_elem_sep long serialVersionUID concode_elem_sep String CUR_DIR concode_elem_sep String WILDCARD concode_elem_sep URI mUri concode_elem_sep AlluxioURI EMPT... | boolean function ( ) { return mUri . isAbsolute ( ) ; } |
10,797 | used to close the channel opened in this object instance . this should be called after the end of each call on storemessage method but instead of this , finally block is used in storemethod to close the channels concode_field_sep boolean isConnectionError concode_elem_sep String queueName concode_elem_sep boolean isIni... | boolean function ( ) { return store . cleanup ( null , false ) ; } |
10,798 | return the type of the field the receiver represents , this is an internal method concode_field_sep int offset concode_elem_sep boolean unshared concode_elem_sep boolean isDeserialized concode_elem_sep String name concode_elem_sep String typeString concode_elem_sep Object type concode_field_sep String getName concode_e... | Class < ? > function ( ) { if ( type instanceof WeakReference ) { return ( Class < ? > ) ( ( WeakReference < ? > ) type ) . get ( ) ; } return ( Class < ? > ) type ; } |
10,799 | sets the owner id of this resource permission . concode_field_sep ResourcePermission _resourcePermission concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep boolean ... | void function ( long arg0 ) { _resourcePermission . setOwnerId ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.