idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
15,000 | returns the attributes for this view or view group . maybe empty but not null . concode_field_sep String mStyleName concode_elem_sep String[] mParents concode_elem_sep String mJavaDoc concode_elem_sep AttributeInfo[] mAttributes concode_field_sep String[] getParents concode_elem_sep void setJavaDoc concode_elem_sep Str... | AttributeInfo [ ] function ( ) { return mAttributes ; } |
15,001 | find the cmpfieldmapping element with a matching field-name element value concode_field_sep ResourceBundle bundle concode_field_sep BaseBean findSingleCompatibleBean concode_elem_sep SunCmpMapping getFirstSunCmpMapping concode_elem_sep EntityMapping findEntityMapping concode_elem_sep List findCompatibleBeansWithValue c... | CmpFieldMapping function ( EntityMapping arg0 , String arg1 , boolean arg2 ) { CmpFieldMapping loc0 = ( CmpFieldMapping ) findSingleCompatibleBean ( "srini_string" , arg0 , "srini_string" , arg1 , "srini_string" , CmpFieldMapping . class ) ; if ( ( null == loc0 ) && arg2 ) { loc0 = new CmpFieldMapping ( ) ; loc0 . setF... |
15,002 | returns a string representation of the value . concode_field_sep StringBuilder sb concode_elem_sep DocEnv env concode_elem_sep Attribute attr concode_elem_sep Object value concode_field_sep void visitArray concode_elem_sep void visitArray concode_elem_sep void visitCompound concode_elem_sep void visitCompound concode_e... | String function ( ) { ToStringVisitor loc0 = new ToStringVisitor ( ) ; attr . accept ( loc0 ) ; return loc0 . toString ( ) ; } |
15,003 | this method will return the required sql statements to initialize the lock database . concode_field_sep String lockIdTableName concode_elem_sep String lockTableName concode_elem_sep String clusterName concode_field_sep String getLockTableName concode_elem_sep int getLockDelayFromLockSelectStatement concode_elem_sep int... | String [ ] function ( long arg0 ) { return new String [ ] { getLockTableCreateStatement ( ) , getLockIdTableCreateStatement ( ) , getLockTableInitialInsertStatement ( ) , getLockIdTableInitialInsertStatement ( ) } ; } |
15,004 | get custom serializer concode_field_sep pe.com.grupobbva.ohc.hy30.CtBodyRs data concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep pe.com.grupobbva.xsd.ps9.CtHeaderRs header concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_field_sep org.apache.a... | 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 ) ; } |
15,005 | creates a new d d m structure version with the primary key . does not add the d d m structure version to the database . concode_field_sep DDMStructureVersionLocalService _ddmStructureVersionLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep int getStructureVersionsCount concode_el... | com . liferay . dynamic . data . mapping . model . DDMStructureVersion function ( long arg0 ) { return _ddmStructureVersionLocalService . createDDMStructureVersion ( arg0 ) ; } |
15,006 | gets the frames property . concode_field_sep List<CrashDataThreadFrame> frames concode_elem_sep int id concode_field_sep void serialize concode_elem_sep void setFrames concode_elem_sep void setId concode_elem_sep int getId concode_elem_sep void InitializeFields concode_elem_sep String serializeContent | List < CrashDataThreadFrame > function ( ) { if ( this . frames == null ) { this . frames = new ArrayList < CrashDataThreadFrame > ( ) ; } return this . frames ; } |
15,007 | performs a dynamic query on the database and returns an ordered range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
15,008 | get user object class . the object class used for users . concode_field_sep String userIdAttribute concode_elem_sep String groupMemberAttribute concode_elem_sep boolean groupSubtree concode_elem_sep String groupIdAttribute concode_elem_sep String userRealNameAttribute concode_elem_sep String groupBaseDn concode_elem_se... | String function ( ) { return this . userObjectClass ; } |
15,009 | return maximum number of entries in the set . concode_field_sep Value binName concode_elem_sep String PackageName concode_elem_sep Value createModule concode_elem_sep AerospikeClient client concode_elem_sep Key key concode_elem_sep WritePolicy policy concode_field_sep void add concode_elem_sep void add concode_elem_sep... | int function ( ) { Object loc0 = client . execute ( policy , key , PackageName , "srini_string" , binName ) ; return Util . toInt ( loc0 ) ; } |
15,010 | create an in-memory h2 database . concode_field_sep PlaceHolder placeHolder concode_field_sep Database createFrom concode_elem_sep Database createFrom concode_elem_sep Database createFrom concode_elem_sep Database createFrom concode_elem_sep Database inMemoryWith concode_elem_sep Database inMemoryWith concode_elem_sep ... | Database function ( String arg0 , Map < String , String > arg1 , Map < String , ? extends Object > arg2 ) { String loc0 = "srini_string" ; for ( Map . Entry < String , String > loc1 : arg1 . entrySet ( ) ) { loc0 += "srini_string" + loc1 . getKey ( ) + "srini_string" + loc1 . getValue ( ) ; } String loc2 = "srini_strin... |
15,011 | sets the value of the pxtyp property . concode_field_sep BigInteger pxTyp concode_elem_sep BigInteger impldMktInd concode_elem_sep BigInteger mlegModel concode_elem_sep BigInteger expirationCycle concode_elem_sep BigDecimal minTrdVol concode_elem_sep BigInteger mlegPxMeth concode_elem_sep BigDecimal rndLot concode_elem... | void function ( BigInteger arg0 ) { this . pxTyp = arg0 ; } |
15,012 | gets the number of events in this log , including duplicate events . the chunk size may not be representative of the number of events returned by this eventlog 's iterator because the iterator will automatically ignore duplicate events . the value returned by this method corresponds to the chunk_size field returned by ... | int function ( ) { return this . chunkSize ; } |
15,013 | invoked when the mouse enters a component . concode_field_sep Point lastMousePosition concode_elem_sep DocumentViewController documentViewController concode_field_sep void mouseReleased concode_elem_sep void mouseDragged concode_elem_sep void mouseExited concode_elem_sep void mouseClicked concode_elem_sep void mouseMov... | void function ( MouseEvent arg0 ) { } |
15,014 | gets the value of the content 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 content property . for example , to add a new item , do as... | List < String > function ( ) { if ( content == null ) { content = new ArrayList < String > ( ) ; } return this . content ; } |
15,015 | a collection of key and value pairs . note : this method appends the values to the existing list if any . use #settaglist java.util.collection or #withtaglist java.util.collection if you want to override theexisting values . concode_field_sep java.util.List<Tag> tagList concode_field_sep void setTagList concode_elem_se... | ListTagsForResourceResult function ( Tag ... arg0 ) { if ( this . tagList == null ) { setTagList ( new java . util . ArrayList < Tag > ( arg0 . length ) ) ; } for ( Tag loc0 : arg0 ) { this . tagList . add ( loc0 ) ; } return this ; } |
15,016 | the sum of values for the sample set . concode_field_sep double sampleCount concode_elem_sep double maximum concode_elem_sep double sum concode_elem_sep double minimum concode_field_sep Builder sampleCount concode_elem_sep double getSampleCount concode_elem_sep StatisticValues build concode_elem_sep double getMinimum c... | Builder function ( double arg0 ) { this . sum = arg0 ; return this ; } |
15,017 | sets the status of pes of this machine to failed . concode_field_sep PlaceHolder placeHolder concode_field_sep double getMaxUtilizationAmongVmsPes concode_elem_sep Pe getById concode_elem_sep int getMips concode_elem_sep double getMaxUtilization concode_elem_sep boolean setPeStatus concode_elem_sep int getNumberOfBusyP... | void function ( List < T > arg0 , boolean arg1 ) { for ( Pe loc0 : arg0 ) { if ( arg1 ) { loc0 . setStatus ( Pe . FAILED ) ; } else { loc0 . setStatus ( Pe . FREE ) ; } } } |
15,018 | gets the external data value for this triangle . concode_field_sep QuadEdge[] edge concode_elem_sep List triangles concode_elem_sep Object data concode_field_sep void setData concode_elem_sep int getEdgeIndex concode_elem_sep int getEdgeIndex concode_elem_sep Polygon getGeometry concode_elem_sep int nextIndex concode_e... | Object function ( ) { return data ; } |
15,019 | grabs the database version from the manifest . concode_field_sep String METADATA_QUERY_LOG concode_elem_sep String DATABASE_DEFAULT_NAME concode_elem_sep String LOG_TAG concode_elem_sep String METADATA_DATABASE concode_elem_sep String METADATA_DOMAIN_PACKAGE_NAME concode_elem_sep String METADATA_VERSION concode_elem_se... | int function ( ) { Integer loc0 = getMetaDataInteger ( METADATA_VERSION ) ; if ( ( loc0 == null ) || ( loc0 == 0 ) ) { loc0 = 1 ; } return loc0 ; } |
15,020 | a list of event instances . returns a reference to this object so that method calls can be chained together . concode_field_sep String marker concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<Event> events concode_field_sep java.util.List<Event> getEvents concode_elem_sep String getMarker concode_elem_s... | DescribeEventsResult function ( java . util . Collection < Event > arg0 ) { if ( arg0 == null ) { this . events = null ; } else { com . amazonaws . internal . ListWithAutoConstructFlag < Event > loc0 = new com . amazonaws . internal . ListWithAutoConstructFlag < Event > ( arg0 . size ( ) ) ; loc0 . addAll ( arg0 ) ; th... |
15,021 | obtains value of the coreprotocolpnames #use_expect_continue parameter.if not set , returns false . concode_field_sep PlaceHolder placeHolder concode_field_sep ProtocolVersion getVersion concode_elem_sep void setHttpElementCharset concode_elem_sep void setVersion concode_elem_sep String getUserAgent concode_elem_sep vo... | boolean function ( final HttpParams arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return arg0 . getBooleanParameter ( CoreProtocolPNames . USE_EXPECT_CONTINUE , false ) ; } |
15,022 | convert a time parameter such as 50s , 100ms , or 250us to seconds for internal use . if no suffix is provided , the passed number is assumed to be in seconds . concode_field_sep long DEFAULT_DRIVER_MEM_MB concode_elem_sep Logger logger concode_elem_sep ImmutableMap<String,ByteUnit> byteSuffixes concode_elem_sep Immuta... | long function ( String arg0 ) { return timeStringAs ( arg0 , TimeUnit . SECONDS ) ; } |
15,023 | sets whether comment nodes appear in the tree . concode_field_sep boolean ending concode_elem_sep int CHUNK_SIZE concode_elem_sep BrowserTreeBuilder domTreeBuilder concode_elem_sep ParseEndListener parseEndListener concode_elem_sep UTF16Buffer stream concode_elem_sep boolean lastWasCR concode_elem_sep LinkedList<UTF16B... | void function ( boolean arg0 ) { domTreeBuilder . setIgnoringComments ( arg0 ) ; } |
15,024 | error log message with printf formatting . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d co... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . ERROR >= LOGLEVEL ) Log . e ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
15,025 | non-javadoc concode_field_sep P2pEventType p2pEventType concode_elem_sep FermatEventMonitor eventMonitor concode_elem_sep FermatEventHandler eventHandler concode_field_sep P2pEventType getEventType concode_elem_sep FermatEventHandler getEventHandler concode_elem_sep void raiseEvent | void function ( FermatEventHandler arg0 ) { this . eventHandler = arg0 ; } |
15,026 | sets the cookies . concode_field_sep String serverHost concode_elem_sep String scheme concode_elem_sep Map<String,String[]> parameters concode_elem_sep byte[] body concode_elem_sep String[] EMPTY_STRING_ARRAY concode_elem_sep RequestDispatcher requestDispatcher concode_elem_sep String HDR_CONTENT_TYPE concode_elem_sep ... | void function ( ArrayList arg0 ) { cookies = arg0 ; } |
15,027 | returns whether or not an auth code is currently valid concode_field_sep long expires concode_elem_sep String clientID concode_elem_sep Logger log concode_elem_sep Map<String,OAuthSession> tokenSessionMap concode_elem_sep OAuthManager oauthManager concode_elem_sep Map<String,OAuthSession> codeSessionMap concode_elem_se... | boolean function ( String arg0 ) { purgeExpiredSessions ( ) ; OAuthSession loc0 = codeSessionMap . get ( arg0 ) ; return loc0 != null ; } |
15,028 | gets integer parameter or default value concode_field_sep HashMap<String,String> m_parameters concode_elem_sep String m_itemName concode_elem_sep EventPublisher m_eventPublisher concode_elem_sep Logger logger concode_elem_sep HashMap<Class<?>,State> m_state concode_field_sep void setParameters concode_elem_sep String g... | int function ( String arg0 , int arg1 ) { if ( m_parameters == null ) return arg1 ; String loc0 = m_parameters . get ( arg0 ) ; if ( loc0 == null ) return arg1 ; return ( Integer . parseInt ( loc0 ) ) ; } |
15,029 | sets the currencycode value for this exchangerate . concode_field_sep com.google.api.ads.dfp.axis.v201411.ExchangeRateRefreshRate refreshRate concode_elem_sep java.lang.Long exchangeRate concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.T... | void function ( java . lang . String arg0 ) { this . currencyCode = arg0 ; } |
15,030 | returns true if the given state is currently active otherwise false . concode_field_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void reactMain_region_A concode_elem_sep void init concode_elem_sep void exit concode_elem_sep void reactMain_region_B concode_elem_sep void exitAction concod... | boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_A : return stateVector [ 0 ] == State . main_region_A ; case main_region_B : return stateVector [ 0 ] == State . main_region_B ; default : return false ; } } |
15,031 | clear out the keys registered so far . concode_field_sep StringBuilder mTypedWord concode_elem_sep String mPreferredWord concode_elem_sep boolean mAutoCapitalized concode_elem_sep int mCapsCount concode_elem_sep ArrayList<int[]> mCodes concode_elem_sep boolean mIsFirstCharCapitalized concode_field_sep void add concode_... | void function ( ) { mCodes . clear ( ) ; mIsFirstCharCapitalized = false ; mPreferredWord = null ; mTypedWord . setLength ( 0 ) ; mCapsCount = 0 ; } |
15,032 | implement concode_field_sep CastKnownForMapper castKnownForMapper concode_field_sep CastBriefModel transformTo | CastBriefEntity function ( @ NonNull CastBriefModel arg0 ) { throw new Error ( "srini_string" ) ; } |
15,033 | calculate and return the absolute path of a resource concode_field_sep PlaceHolder placeHolder concode_field_sep String getEventReceiverEndpoint concode_elem_sep boolean unsubscribeForRegistryEvents concode_elem_sep String subscribeForRegistryEvents | String function ( String arg0 , String arg1 ) { if ( ! arg0 . startsWith ( "srini_string" ) ) { arg0 = "srini_string" + arg0 ; } return arg1 + arg0 ; } |
15,034 | the revocation signature is not checked here , so this may be false ! concode_field_sep Integer mCacheUsage concode_elem_sep PGPPublicKey mPublicKey concode_field_sep String getPrimaryUserIdWithFallback concode_elem_sep String getPrimaryUserId concode_elem_sep Iterator<WrappedSignature> getSignaturesForUserAttribute co... | boolean function ( ) { return mPublicKey . getSignaturesOfType ( isMasterKey ( ) ? PGPSignature . KEY_REVOCATION : PGPSignature . SUBKEY_REVOCATION ) . hasNext ( ) ; } |
15,035 | test do/while loops concode_field_sep InnerEmptyBlocks anon concode_elem_sep boolean flag concode_elem_sep int[] a concode_field_sep void whitespaceAfterSemi concode_elem_sep void testFor concode_elem_sep boolean condition concode_elem_sep void foo concode_elem_sep void foo concode_elem_sep void foo concode_elem_sep vo... | void function ( ) { do { testDoWhile ( ) ; } while ( condition ( ) ) ; do testDoWhile ( ) ; while ( condition ( ) ) ; } |
15,036 | logging of block updates . off by default , can be enabled inside the configuration file . concode_field_sep String DEFAULT_EXCEPTION_MESSAGE concode_elem_sep Logger CLIENT concode_elem_sep Logger SERVER concode_elem_sep String SERVER_SUFFIX concode_elem_sep String LOGGER_PREFIX concode_elem_sep String BLOCK_UPDATE con... | void function ( @ Nonnull final BlockPos arg0 , @ Nonnull final AEBaseTile arg1 ) { if ( AEConfig . instance . isFeatureEnabled ( AEFeature . UpdateLogging ) ) { info ( BLOCK_UPDATE , arg1 . getClass ( ) . getName ( ) , arg0 ) ; } } |
15,037 | returns the uuid of this w s r p consumer . concode_field_sep WSRPConsumer _wsrpConsumer concode_field_sep void setRegistrationContextString concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.Strin... | java . lang . String function ( ) { return _wsrpConsumer . getUuid ( ) ; } |
15,038 | true if it can contain a type concode_field_sep int containNum concode_elem_sep String slotName concode_elem_sep Set<String> containEqList concode_elem_sep String slotNumType concode_field_sep Set<String> getContainType concode_elem_sep void setSlotName concode_elem_sep EquipSlot clone concode_elem_sep void setContainN... | boolean function ( final String arg0 ) { final StringTokenizer loc0 = new StringTokenizer ( arg0 , "srini_string" , false ) ; while ( loc0 . hasMoreTokens ( ) ) { final String loc1 = loc0 . nextToken ( ) ; for ( String loc2 : containEqList ) { if ( loc1 . equalsIgnoreCase ( loc2 ) ) { return true ; } } } return false ;... |
15,039 | get a reference to the exception to which the context relates . concode_field_sep List<Localizable> msgPatterns concode_elem_sep Throwable throwable concode_elem_sep Map<String,Object> context concode_elem_sep long serialVersionUID concode_elem_sep List<Object[]> msgArguments concode_field_sep String getLocalizedMessag... | Throwable function ( ) { return throwable ; } |
15,040 | returns new url object from the given string url . concode_field_sep String LOG_TAG concode_field_sep ArrayList<Earthquake> extractEarthquakes concode_elem_sep String makeHTTPRequest concode_elem_sep String readFromStream | URL function ( String arg0 ) { URL loc0 = null ; try { loc0 = new URL ( arg0 ) ; } catch ( MalformedURLException loc1 ) { Log . loc1 ( LOG_TAG , "srini_string" , loc1 ) ; } return loc0 ; } |
15,041 | gets a state handle from zookeeper . concode_field_sep Logger LOG concode_elem_sep CuratorFramework client concode_elem_sep StateStorageHelper<T> storage concode_field_sep StateHandle<T> add concode_elem_sep StateHandle<T> add concode_elem_sep void removeAndDiscardState concode_elem_sep List<Tuple2<StateHandle<T>,Strin... | StateHandle < T > function ( String arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; byte [ ] loc0 = client . getData ( ) . forPath ( arg0 ) ; return ( StateHandle < T > ) InstantiationUtil . deserializeObject ( loc0 , ClassLoader . getSystemClassLoader ( ) ) ; } |
15,042 | gets the timezone id used to identify this time zone in the javacode . concode_field_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_elem_sep String checkboxId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_sep boolean... | String function ( ) { return id ; } |
15,043 | retrieves the remarks , if any , recorded against the specified column . concode_field_sep short tableIndexOther concode_elem_sep int HALF_MAX_INT concode_elem_sep int bestRowNotPseudo concode_elem_sep int bestRowTransaction concode_elem_sep int hnd_column_remarks concode_elem_sep int hnd_table_remarks concode_elem_sep... | String function ( int arg0 ) { String loc0 ; if ( table . getTableType ( ) != TableBase . INFO_SCHEMA_TABLE ) { return table . getColumn ( arg0 ) . getName ( ) . comment ; } loc0 = getName ( ) + "srini_string" + getColName ( arg0 ) ; return ResourceBundleHandler . getString ( hnd_column_remarks , loc0 ) ; } |
15,044 | sets the separation normal . must be normalized . concode_field_sep Vector2 normal concode_elem_sep double distance concode_elem_sep Vector2 point1 concode_elem_sep Vector2 point2 concode_field_sep Vector2 getNormal concode_elem_sep double getDistance concode_elem_sep void setDistance concode_elem_sep Vector2 getPoint1... | void function ( Vector2 arg0 ) { this . normal = arg0 ; } |
15,045 | a list that contains the configuration history of one or more resources . concode_field_sep com.amazonaws.internal.SdkInternalList<ConfigurationItem> configurationItems concode_elem_sep String nextToken concode_field_sep void setNextToken concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Ge... | java . util . List < ConfigurationItem > function ( ) { if ( configurationItems == null ) { configurationItems = new com . amazonaws . internal . SdkInternalList < ConfigurationItem > ( ) ; } return configurationItems ; } |
15,046 | gets the value of the maxang property . concode_field_sep String gdRefAng concode_elem_sep String minAng concode_elem_sep String minR concode_elem_sep CTAdjPoint2D pos concode_elem_sep String gdRefR concode_elem_sep String maxAng concode_elem_sep String maxR concode_field_sep void setGdRefAng concode_elem_sep void setM... | String function ( ) { return maxAng ; } |
15,047 | this method is invoked by the jaxb implementation on each instance when unmarshalling completes . concode_field_sep Object parent concode_elem_sep List<CTOleObject> oleObject concode_field_sep List<CTOleObject> getOleObject concode_elem_sep Object getParent concode_elem_sep void setParent | void function ( Unmarshaller arg0 , Object arg1 ) { setParent ( arg1 ) ; } |
15,048 | return the current inter-frame interval . concode_field_sep Handler handler concode_elem_sep long FRAME_INTERVAL concode_elem_sep SoftThreadLocal<Choreographer> instance concode_elem_sep long nanoTime concode_elem_sep Thread MAIN_THREAD concode_field_sep SoftThreadLocal<Choreographer> makeThreadLocal concode_elem_sep v... | long function ( ) { return ShadowChoreographer . FRAME_INTERVAL ; } |
15,049 | find last ch1 or ch2 concode_field_sep String indexing concode_elem_sep int end concode_elem_sep String value concode_elem_sep int begin concode_field_sep StringMaker next concode_elem_sep StringMaker before concode_elem_sep StringMaker before concode_elem_sep StringMaker before concode_elem_sep StringMaker lower conco... | StringMaker function ( char arg0 , char arg1 ) { int loc0 = lastIndexOf ( indexing , end , arg0 , arg1 ) ; if ( loc0 < begin ) { return this ; } begin = loc0 + 1 > end ? end : loc0 + 1 ; return this ; } |
15,050 | handy method used to avoid having to call db.session . saveorupdate xxx concode_field_sep Log log concode_elem_sep Session session concode_elem_sep HibernateAccessService INSTANCE concode_field_sep HibernateAccessService getHibernateAccessService concode_elem_sep void rollback concode_elem_sep void setLog concode_elem_... | void function ( Object arg0 ) { session . saveOrUpdate ( arg0 ) ; } |
15,051 | retrieve the list of messages associated with this item . concode_field_sep HashMap messages concode_elem_sep int iCount concode_elem_sep String GLOBAL_MESSAGE concode_elem_sep String property concode_elem_sep int iOrder concode_elem_sep Comparator ACTION_ITEM_COMPARATOR concode_elem_sep List list concode_elem_sep bool... | List function ( ) { return list ; } |
15,052 | retrieves the designated parameter 's mode . concode_field_sep int[] types concode_elem_sep int[] modes concode_elem_sep int parameterCount concode_elem_sep int[] nullability concode_elem_sep Result.ResultMetaData rmd concode_elem_sep boolean[] isIdentity concode_elem_sep String[] classNames concode_field_sep int getPa... | int function ( int arg0 ) { checkRange ( arg0 ) ; return modes [ -- arg0 ] ; } |
15,053 | receive notification of an unparsed entity declaration . by default , do nothing . application writers may override this method in a subclass to keep track of the unparsed entities declared in a document . concode_field_sep PlaceHolder placeHolder concode_field_sep void startElement concode_elem_sep void fatalError con... | void function ( String arg0 , String arg1 , String arg2 , String arg3 ) { } |
15,054 | sets whether this status is online . concode_field_sep Status _status concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setStatusId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean get... | void function ( boolean arg0 ) { _status . setOnline ( arg0 ) ; } |
15,055 | creates a connection factory instance . concode_field_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep Logger log concode_elem_sep Byte first concode_elem_sep ResourceAdapter ra concode_elem_sep Short second concode_field_sep void setSecond concode_elem_sep ManagedConnection createManag... | Object function ( ) { throw new ResourceException ( "srini_string" ) ; } |
15,056 | print the array item into the string builder . concode_field_sep String INDENT_STR concode_elem_sep int LSP_LEN concode_elem_sep int INDENT concode_field_sep void printObject concode_elem_sep void printArray concode_elem_sep void printFields concode_elem_sep void printMap concode_elem_sep void printCollection concode_e... | void function ( int arg0 , Object arg1 , StringBuilder arg2 , int arg3 ) { generateIndentation ( arg2 , arg3 ) ; arg2 . append ( arg0 ) ; arg2 . append ( "srini_string" ) ; printFields ( arg1 , arg2 , arg3 + INDENT ) ; arg2 . append ( LINE_SP ) ; } |
15,057 | returns the end date/time in milliseconds . concode_field_sep long serialVersionUID concode_elem_sep long start concode_elem_sep long end concode_field_sep long getStartMillis concode_elem_sep Date getStart concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int compareTo concode_elem_sep Dat... | long function ( ) { return this . end ; } |
15,058 | gets the index of the type sitting at the top of the stack . this is not to be confused with a length operation which would return the number of elements , not the position of the last element . concode_field_sep boolean retMerged concode_elem_sep Type[] stack concode_elem_sep int top concode_elem_sep boolean jsrMerged... | int function ( ) { return top - 1 ; } |
15,059 | is the given position near an already selected figure ? concode_field_sep FigureHandle currentHandle concode_elem_sep int sx0 concode_elem_sep int sy1 concode_elem_sep int sy0 concode_elem_sep int sx1 concode_elem_sep Figure lastSelectedFigure concode_elem_sep DrawView view concode_elem_sep int originalY concode_elem_s... | boolean function ( int arg0 , int arg1 ) { boolean loc0 = false ; for ( Figure loc1 : view . getModel ( ) . getFigures ( ) ) { if ( view . getSelection ( ) . contains ( loc1 ) && loc1 . contains ( arg0 , arg1 ) ) { loc0 = true ; break ; } } return loc0 ; } |
15,060 | returns an network interface by name concode_field_sep VMNetworkInterface netif concode_field_sep String getName concode_elem_sep NetworkInterface createAnyInterface concode_elem_sep boolean supportsMulticast concode_elem_sep NetworkInterface getByInetAddress concode_elem_sep boolean isPointToPoint concode_elem_sep boo... | NetworkInterface function ( String arg0 ) { if ( arg0 == null ) throw new NullPointerException ( ) ; VMNetworkInterface [ ] loc0 = VMNetworkInterface . getVMInterfaces ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { if ( loc0 [ loc1 ] . arg0 . equals ( arg0 ) ) return new NetworkInterface ( loc0 [ loc1 ] ... |
15,061 | requests , in a jdk 1.1 compliant way , that the file or directory denoted by the given abstract pathname be deleted when the virtual machine terminates . deletion will be attempted only for jdk 1.2 and greater runtime environments and only upon normal termination of the virtual machine , as defined by the java languag... | void function ( File arg0 ) { JavaSystem . deleteOnExit ( arg0 ) ; } |
15,062 | sets the value of the show property . concode_field_sep TimeTopologyComplexType timeTopologyComplex concode_elem_sep String role concode_elem_sep String arcrole concode_elem_sep String show concode_elem_sep java.lang.Boolean owns concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep S... | void function ( String arg0 ) { this . show = arg0 ; } |
15,063 | clear all selected entries . this is only valid when the select supports multiple selections . concode_field_sep boolean isMulti concode_elem_sep WebElement element concode_field_sep void selectByVisibleText concode_elem_sep void deselectByIndex concode_elem_sep void setSelected concode_elem_sep void deselectByValue co... | void function ( ) { if ( ! isMultiple ( ) ) { throw new UnsupportedOperationException ( "srini_string" ) ; } for ( WebElement loc0 : getOptions ( ) ) { if ( loc0 . isSelected ( ) ) { loc0 . click ( ) ; } } } |
15,064 | iterating method that is manually synchronized concode_field_sep List<Integer> s concode_elem_sep ThreadLocal<Random> s_random concode_field_sep Object getInt concode_elem_sep boolean removeAll concode_elem_sep boolean removeInt concode_elem_sep boolean addAll concode_elem_sep boolean containsInt concode_elem_sep void ... | int function ( ) { synchronized ( s ) { return s . size ( ) ; } } |
15,065 | gets the _ return value for this getauthorproductsbycfresponse . concode_field_sep it.test.kion.WsdtoAuthorProducts _return concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache.axis.description.... | it . test . kion . WsdtoAuthorProducts function ( ) { return _return ; } |
15,066 | transforms this binding key into a resolved signature . if this binding key represents a field , the returned signature is the field type 's signature . concode_field_sep String key concode_field_sep boolean isParameterizedType concode_elem_sep String createParameterizedTypeBindingKey concode_elem_sep boolean isRawType... | String function ( ) { KeyToSignature loc0 = new KeyToSignature ( this . key , KeyToSignature . SIGNATURE ) ; loc0 . parse ( ) ; return loc0 . signature . toString ( ) ; } |
15,067 | mark the observer for this responder as set . this does not mean that the observer is really set , but instead that a set has been queued on the nioservice thread . this call prevents the observer from being set more than once . concode_field_sep SelectionKey m_key concode_elem_sep boolean m_observerSet concode_elem_se... | void function ( ) { synchronized ( this ) { if ( m_observerSet ) throw new IllegalStateException ( "srini_string" ) ; m_observerSet = true ; } } |
15,068 | gets the accountnumber attribute . concode_field_sep String defaultAddressStateCode concode_elem_sep String adminContactAddressStateCode concode_elem_sep String accountName concode_elem_sep String defaultAddressZipCode concode_elem_sep long serialVersionUID concode_elem_sep String purposeText concode_elem_sep String hi... | String function ( ) { return accountNumber ; } |
15,069 | calls casexxx for each class of the model until one returns a non null result ; it yields that result . concode_field_sep MModelURIMapPackage modelPackage concode_field_sep T caseMappingContainer concode_elem_sep T caseURIMapping concode_elem_sep T defaultCase | T function ( EClass arg0 , EObject arg1 ) { if ( arg0 . eContainer ( ) == modelPackage ) { return doSwitch ( arg0 . getClassifierID ( ) , arg1 ) ; } else { List < EClass > loc0 = arg0 . getESuperTypes ( ) ; return loc0 . isEmpty ( ) ? defaultCase ( arg1 ) : doSwitch ( loc0 . get ( 0 ) , arg1 ) ; } } |
15,070 | adds an array of elements to the array . concode_field_sep int count concode_elem_sep String myArray[] concode_field_sep void removeQuick concode_elem_sep void setMyArray concode_elem_sep int totalSize concode_elem_sep int size concode_elem_sep String toString concode_elem_sep void addElement concode_elem_sep int getCo... | void function ( String [ ] arg0 ) { for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { addElement ( arg0 [ loc0 ] ) ; } } |
15,071 | test of getanalyzerlogthresholdsevere method , of class sqlianalyzerconfig . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetEntryPointPackage concode_elem_sep void testGetAnalyzerRegexSimplifiers_TryToModify concode_elem_sep void testgetAnalyzerLogThresholdFine concode_elem_sep void testConstru... | void function ( ) { setField ( SQLIAnalyzerConfig . class , "srini_string" , 10L ) ; Long loc0 = SQLIAnalyzerConfig . getAnalyzerLogThresholdSevere ( ) ; assertEquals ( ( Long ) 10L , loc0 ) ; } |
15,072 | returns the first stanza / packet extension that matches the specified element name and namespace , or null if it does n't exist . concode_field_sep List<ExtensionElement> extensions concode_elem_sep Map<String,String> descriptiveTexts concode_elem_sep String textNamespace concode_field_sep B getThis concode_elem_sep B... | PE function ( String arg0 , String arg1 ) { return PacketUtil . extensionElementFrom ( extensions , arg0 , arg1 ) ; } |
15,073 | gets time . concode_field_sep Calendar start concode_elem_sep PageParser my_page_parser concode_elem_sep Calendar finish concode_elem_sep int NUMBER_OF_KEYWORDS concode_elem_sep PageRetriever my_page_retriever concode_elem_sep String[] my_keywords concode_elem_sep ThreadEnum my_thread concode_field_sep String[] getKeyW... | long function ( ) { final long loc0 = start . getTimeInMillis ( ) ; final long loc1 = finish . getTimeInMillis ( ) ; return loc1 - loc0 ; } |
15,074 | the id of the task being canceled . concode_field_sep String importTaskId concode_elem_sep String state concode_elem_sep String previousState concode_field_sep CancelImportTaskResult withPreviousState concode_elem_sep String getPreviousState concode_elem_sep CancelImportTaskResult withImportTaskId concode_elem_sep Stri... | String function ( ) { return this . importTaskId ; } |
15,075 | build response bytes without status and type information . concode_field_sep String METHOD_KEY concode_elem_sep String SC_KEY concode_elem_sep byte[] COLSP concode_elem_sep String FLUSHED_KEY concode_elem_sep byte[] CRLF concode_elem_sep String URI_KEY concode_elem_sep ByteArrayOutputStream baos concode_field_sep byte[... | byte [ ] function ( byte [ ] arg0 , int arg1 , int arg2 ) { return buildResponse ( ( byte [ ] ) null , arg0 , arg1 , arg2 ) ; } |
15,076 | yzhang comment method `` removeemptydrawer '' . concode_field_sep boolean skipUpdatePalette concode_elem_sep List<PaletteEntry> extraPaletteEntry concode_elem_sep boolean faState concode_elem_sep int histate concode_elem_sep List<PaletteEntry> emptyEntry concode_elem_sep boolean jobletFlag concode_elem_sep String FAMIL... | void function ( ) { for ( PaletteEntry loc0 : emptyEntry ) { PaletteContainer loc1 = loc0 . getParent ( ) ; if ( loc1 != null ) { loc1 . remove ( loc0 ) ; } } } |
15,077 | 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 ; } |
15,078 | synonym for geturl . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep PrintWriter logWriter concode_elem_... | String function ( ) { return url ; } |
15,079 | databinding method to get an xml representation of this object concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.DisableVgwRoutePropagationRequestType localDisableVgwRoutePropagation concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep voi... | javax . xml . stream . XMLStreamReader function ( javax . xml . namespace . QName arg0 ) { return localDisableVgwRoutePropagation . getPullParser ( MY_QNAME ) ; } |
15,080 | asserts that both objects are not equal to each other and differ in hash code , too . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertEqualsAndHashcode | void function ( Object arg0 , Object arg1 ) { assertFalse ( arg0 . equals ( arg1 ) ) ; assertFalse ( arg1 . equals ( arg0 ) ) ; assertFalse ( arg0 . hashCode ( ) == arg1 . hashCode ( ) ) ; } |
15,081 | locate the column index corresponding to the given column name via the cache . concode_field_sep ResultSet rs concode_elem_sep ColumnNameCache columnNameCache concode_elem_sep SqlExceptionHelper SQL_EXCEPTION_HELPER concode_elem_sep CoreMessageLogger LOG concode_field_sep Object[] buildColumnIndexMethodArgs concode_ele... | Integer function ( String arg0 ) { return columnNameCache . getIndexForColumnName ( arg0 , rs ) ; } |
15,082 | returns the current version of the bundle . concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void stop concode_elem_sep void start concode_elem_sep BundleContext getContext | Version function ( ) { return context . getBundle ( ) . getVersion ( ) ; } |
15,083 | sets the slicelist which is being processed concode_field_sep ImageGridBuffer imageBuffer concode_elem_sep boolean configured concode_elem_sep boolean showStatus concode_elem_sep CountDownLatch latch concode_elem_sep Iterator<Integer> sliceList concode_field_sep void workOnSlice concode_elem_sep boolean isConfigured co... | void function ( Iterator < Integer > arg0 ) { this . sliceList = arg0 ; } |
15,084 | save a cluster description to a hadoop filesystem concode_field_sep String UTF_8 concode_elem_sep String E_DATA_TOO_SHORT concode_elem_sep String E_NO_DATA concode_elem_sep Logger LOG concode_elem_sep String E_MISSING_MARKER_STRING concode_elem_sep ObjectMapper mapper concode_elem_sep Class<T> classType concode_field_s... | void function ( FileSystem arg0 , Path arg1 , T arg2 , boolean arg3 ) { FSDataOutputStream loc0 = arg0 . create ( arg1 , arg3 ) ; writeJsonAsBytes ( arg2 , loc0 ) ; } |
15,085 | visits an annotation on the type of the field . concode_field_sep FieldVisitor fv concode_elem_sep int api concode_field_sep void visitEnd concode_elem_sep void visitAttribute concode_elem_sep AnnotationVisitor visitAnnotation | AnnotationVisitor function ( int arg0 , TypePath arg1 , String arg2 , boolean arg3 ) { if ( fv != null ) { return fv . visitTypeAnnotation ( arg0 , arg1 , arg2 , arg3 ) ; } return null ; } |
15,086 | sets the value of the title property . concode_field_sep NodeType node concode_elem_sep String role concode_elem_sep String arcrole concode_elem_sep String show concode_elem_sep java.lang.Boolean owns concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep S... | void function ( String arg0 ) { this . title = arg0 ; } |
15,087 | check if selector queries for dynamic properties concode_field_sep int CHILD_AXIS concode_elem_sep int HOVER_PSEUDOCLASS concode_elem_sep int selectorID concode_elem_sep Selector siblingSelector concode_elem_sep String _name concode_elem_sep int _axis concode_elem_sep int FOCUS_PSEUDOCLASS concode_elem_sep int _pc conc... | void function ( String arg0 ) { if ( _pe != null ) { addUnsupportedCondition ( ) ; XRLog . match ( Level . WARNING , "srini_string" ) ; } else { _specificityD ++ ; _pe = arg0 ; } } |
15,088 | this is the text displayed in the spinner element so make sure no debug information is added . concode_field_sep Spinner mTargetSpinner concode_elem_sep String mLanguageName concode_elem_sep Spinner mSourceSpinner concode_elem_sep int LANGUAGE_TYPE_TARGET concode_elem_sep InfoBarArrayAdapter<SpinnerLanguageElement> mSo... | String function ( ) { return mLanguageName ; } |
15,089 | return the vec3pool object for this world . concode_field_sep Chunk[][] chunkArray concode_elem_sep boolean isEmpty concode_elem_sep int chunkX concode_elem_sep String __OBFID concode_elem_sep int chunkZ concode_elem_sep World worldObj concode_field_sep Block getBlock concode_elem_sep int getHeight concode_elem_sep boo... | Vec3Pool function ( ) { return this . worldObj . getWorldVec3Pool ( ) ; } |
15,090 | convert timestamp in a long format to joda time concode_field_sep String CURRENT_DAY concode_elem_sep Logger LOG concode_elem_sep Gson GSON concode_elem_sep String CURRENT_DATE_FORMAT concode_elem_sep String CURRENT_HOUR concode_field_sep String toDateTimeFormat concode_elem_sep Date addHoursToDate concode_elem_sep Str... | DateTime function ( long arg0 , String arg1 , String arg2 ) { return toDateTime ( Long . toString ( arg0 ) , arg1 , arg2 ) ; } |
15,091 | returns a requestpredicate that always matches . concode_field_sep ServerRequest request concode_elem_sep PathMatcher DEFAULT_PATH_MATCHER concode_elem_sep String pattern concode_elem_sep PathMatcher pathMatcher concode_elem_sep String subPath concode_elem_sep HttpMethod httpMethod concode_elem_sep Predicate<ServerRequ... | RequestPredicate function ( ) { return request -> true ; } |
15,092 | flag to allow usage of sld and/or sld_body params in getmap requests . concode_field_sep boolean allowDynamicStyles concode_elem_sep String acceptedRoles concode_elem_sep String instanceName concode_elem_sep List<String> roles concode_elem_sep boolean useRolesToFilter concode_elem_sep boolean allowRemoteAndInlineLayers... | void function ( boolean arg0 ) { this . allowDynamicStyles = arg0 ; } |
15,093 | the identifier of an amazon redshift event . concode_field_sep String severity concode_elem_sep String eventId concode_elem_sep String eventDescription concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<String> eventCategories concode_field_sep String getSeverity concode_elem_sep String getEventDescripti... | void function ( String arg0 ) { this . eventId = arg0 ; } |
15,094 | a unique identifier for a rule . you use ruleid to get more information about a rule see getrule , update a rule see updaterule , insert a rule into a webacl or delete one from a webacl see updatewebacl , or delete a rule from aws waf see deleterule . ruleid is returned by createrule and by listrules . concode_field_se... | String function ( ) { return this . ruleId ; } |
15,095 | set a bit in the array . concode_field_sep int MAX_SIZE concode_elem_sep byte[] data concode_elem_sep int pos concode_elem_sep int SPLIT_MANY concode_elem_sep int[] MAX_OFFSETS concode_elem_sep int[] SIZE_OFFSETS concode_elem_sep int DIVIDE concode_field_sep int read concode_elem_sep int getOffset concode_elem_sep void... | byte [ ] function ( byte [ ] arg0 , int arg1 , boolean arg2 ) { int loc0 = arg1 / 8 ; if ( loc0 >= arg0 . length ) { arg0 = Arrays . copyOf ( arg0 , loc0 + 1 ) ; } if ( arg2 ) { arg0 [ loc0 ] |= 1 << ( arg1 & 7 ) ; } else { arg0 [ loc0 ] &= 255 - ( 1 << ( arg1 & 7 ) ) ; } return arg0 ; } |
15,096 | returns the flags for the setting id , or 0 if unset . concode_field_sep int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS concode_elem_sep int DOWNLOAD_BANDWIDTH concode_elem_sep int set concode_elem_sep int DEFAULT_INITIAL_WINDOW_SIZE concode_elem_sep int UPLOAD_BANDWIDTH concode_elem_sep int CLIENT_CERTIFICATE_VECTOR_SIZ... | int function ( int arg0 ) { int loc0 = 0 ; if ( isPersisted ( arg0 ) ) loc0 |= Settings . PERSISTED ; if ( persistValue ( arg0 ) ) loc0 |= Settings . PERSIST_VALUE ; return loc0 ; } |
15,097 | returns a material color depending on key . concode_field_sep ASN1ObjectIdentifier[] asn1ObjectIdentifiers concode_field_sep ColorFilter getColorFilter concode_elem_sep ColorFilter getColorFilter concode_elem_sep List<TypedArray> getMultiTypedArray concode_elem_sep Bitmap getCroppedBitmap concode_elem_sep Bitmap genera... | int function ( Object arg0 ) { Resources loc0 = App . getContext ( ) . getResources ( ) ; int [ ] loc1 = loc0 . getIntArray ( R . array . materialColors ) ; return loc1 [ Math . abs ( arg0 . hashCode ( ) ) % loc1 . length ] ; } |
15,098 | selects a configuration tab and returns the configuration tab related page concode_field_sep WebDriver driver concode_field_sep LoginPage logout concode_elem_sep MonitorPage getMonitorPage | ConfigurePage function ( ) { driver . findElement ( By . id ( UIElementMapper . getInstance ( ) . getElement ( "srini_string" ) ) ) . click ( ) ; return new ConfigurePage ( driver ) ; } |
15,099 | creates a method of the given name . concode_field_sep HttpMethod POST concode_elem_sep HttpMethod HEAD concode_elem_sep HttpMethod OPTIONS concode_elem_sep HttpMethod PATCH concode_elem_sep HttpMethod GET concode_elem_sep HttpMethod DELETE concode_elem_sep HttpMethod PUT concode_field_sep boolean isGet concode_elem_se... | HttpMethod function ( String arg0 ) { return DefaultHttpMethod . valueOf ( io . netty . handler . codec . http . HttpMethod . valueOf ( arg0 ) ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.