idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
22,300 | return the min from a list of numbers . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isLessThan concode_elem_sep int compare concode_elem_sep boolean isLessThanOrEqualTo concode_elem_sep boolean isGreaterThanOrEqualTo concode_elem_sep Number max concode_elem_sep boolean isEven concode_elem_sep bo... | Number function ( Number ... arg0 ) { Number loc0 = arg0 [ 0 ] ; for ( Number loc1 : arg0 ) { loc0 = isLessThan ( loc0 , loc1 ) ? loc0 : loc1 ; } return loc0 ; } |
22,301 | retorna el nombre del producto . concode_field_sep int PAPELERIA concode_elem_sep int cantidadMinima concode_elem_sep int tipo concode_elem_sep double IVA_MERCADO concode_elem_sep int DROGUERIA concode_elem_sep int SUPERMERCADO concode_elem_sep double IVA_PAPEL concode_elem_sep int totalProductosVendidos concode_elem_s... | String function ( ) { return nombre ; } |
22,302 | remove this object from the two render groups it is registered with . concode_field_sep List<AuctionItemBean> auctionItems concode_elem_sep String AUCTION_RENDER_GROUP concode_elem_sep String TIME_LEFT_COLUMN concode_elem_sep boolean isDescending concode_elem_sep Logger logger concode_elem_sep String ITEM_NAME_COLUMN c... | void function ( ) { PushRenderer . removeCurrentView ( AUCTION_RENDER_GROUP ) ; PushRenderer . removeCurrentView ( IntervalPushRenderer . INTERVAL_RENDER_GROUP ) ; } |
22,303 | sets the targetwindow value for this siterichmediasettings . concode_field_sep java.lang.String frameAndLayerFooter concode_elem_sep java.lang.String alternateText concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String iframeFooter concode_elem_sep java.lang.String frameAndLayerHeader concode_... | void function ( java . lang . String arg0 ) { this . targetWindow = arg0 ; } |
22,304 | return whether or not the holder 's attribute certificate contains extensions . concode_field_sep Extensions extensions concode_elem_sep AttributeCertificate attrCert concode_elem_sep Attribute[] EMPTY_ARRAY concode_field_sep int getVersion concode_elem_sep AttributeCertificateIssuer getIssuer concode_elem_sep BigInteg... | boolean function ( ) { return extensions != null ; } |
22,305 | set the hibernate sessionfactory that should be used to create hibernate sessions . concode_field_sep Log logger concode_elem_sep SessionFactory sessionFactory concode_elem_sep String PARTICIPATE_SUFFIX concode_field_sep boolean decrementParticipateCount concode_elem_sep String getParticipateAttributeName concode_elem_... | void function ( SessionFactory arg0 ) { this . sessionFactory = arg0 ; } |
22,306 | check if array is sorted - useful for debugging . concode_field_sep PlaceHolder placeHolder concode_field_sep void exch concode_elem_sep void show concode_elem_sep void main concode_elem_sep void sort concode_elem_sep void sort concode_elem_sep boolean less concode_elem_sep boolean eq | boolean function ( Comparable [ ] arg0 ) { return isSorted ( arg0 , 0 , arg0 . length - 1 ) ; } |
22,307 | convert the given color rgb or system to an ansi-compatible index for use with esc 38 ; 5 ; m concode_field_sep String name concode_elem_sep int index concode_elem_sep String ANSI_RESET concode_elem_sep Slice RENDERED_TRUE concode_elem_sep Slice RENDERED_FALSE concode_field_sep String getName concode_elem_sep int getIn... | int function ( int arg0 , int arg1 , int arg2 ) { arg0 = arg0 * 6 / 256 ; arg1 = arg1 * 6 / 256 ; arg2 = arg2 * 6 / 256 ; return 16 + arg0 * 36 + arg1 * 6 + arg2 ; } |
22,308 | gets the value of the refilltrigger property . concode_field_sep ChangeRatePlanTrigger changeRatePlanTrigger concode_elem_sep AddFeatureTrigger addFeatureTrigger concode_elem_sep PeriodicPaymentTrigger periodicPaymentTrigger concode_elem_sep RefillTrigger refillTrigger concode_elem_sep String channel concode_elem_sep A... | RefillTrigger function ( ) { return refillTrigger ; } |
22,309 | this method was generated by mybatis generator . this method sets the value of the database column public.acc _ account.password concode_field_sep String password concode_elem_sep String nickName concode_elem_sep String name concode_elem_sep String mobile concode_elem_sep Long id concode_elem_sep String email concode_e... | void function ( String arg0 ) { this . password = arg0 ; } |
22,310 | computes the dot-product of two vectors concode_field_sep double x concode_elem_sep double y concode_field_sep Vector2D average concode_elem_sep Vector2D rotate concode_elem_sep double distance concode_elem_sep Coordinate toCoordinate concode_elem_sep Vector2D rotateByQuarterCircle concode_elem_sep Coordinate translate... | double function ( Vector2D arg0 ) { return x * arg0 . x + y * arg0 . y ; } |
22,311 | finds a view that was identified by the id attribute from the xml that was processed in oncreate bundle . concode_field_sep boolean mEnableSlide concode_elem_sep Activity mActivity concode_elem_sep View mViewBehind concode_elem_sep boolean mOnPostCreateCalled concode_elem_sep boolean mBroadcasting concode_elem_sep View... | View function ( int arg0 ) { View loc0 ; if ( mSlidingMenu != null ) { loc0 = mSlidingMenu . findViewById ( arg0 ) ; if ( loc0 != null ) return loc0 ; } return null ; } |
22,312 | return true when the animation is not running and it has n't even been started . concode_field_sep float mOriginalFromValue concode_elem_sep int OUT concode_elem_sep int mDirection concode_elem_sep ValueAnimator mAnimator concode_elem_sep Object mTag concode_elem_sep boolean mFirstRun concode_elem_sep int STOPPED conco... | boolean function ( ) { return mDirection == STOPPED ; } |
22,313 | creates a new counter with the primary key . does not add the counter to the database . concode_field_sep CounterPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<Counter> findWithDynamicQuery concode_elem_sep List<Counter> ... | com . liferay . counter . model . Counter function ( java . lang . String arg0 ) { return getPersistence ( ) . create ( arg0 ) ; } |
22,314 | formats a name-value pair . concode_field_sep BasicHeaderValueFormatter INSTANCE concode_elem_sep BasicHeaderValueFormatter DEFAULT concode_elem_sep String UNSAFE_CHARS concode_elem_sep String SEPARATORS concode_field_sep int estimateNameValuePairLen concode_elem_sep String formatElements concode_elem_sep CharArrayBuff... | String function ( final NameValuePair arg0 , final boolean arg1 , final HeaderValueFormatter arg2 ) { return ( arg2 != null ? arg2 : BasicHeaderValueFormatter . INSTANCE ) . formatNameValuePair ( null , arg0 , arg1 ) . toString ( ) ; } |
22,315 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep com.amazonaws.internal.SdkInternalList<CachediSCSIVolume> cachediSCSIVolumes concode_field_sep int hashCode concode_elem_sep DescribeCachediSCSIVolumesResult withCachediSCSIVolumes concode_elem_sep DescribeCachediSCSIV... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getCachediSCSIVolumes ( ) != null ) loc0 . append ( "srini_string" + getCachediSCSIVolumes ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
22,316 | set a debug log message . concode_field_sep boolean showLog concode_field_sep void e concode_elem_sep void v concode_elem_sep void w concode_elem_sep void i concode_elem_sep void enableLogging | void function ( String arg0 , String arg1 ) { if ( showLog ) Log . d ( arg0 , arg1 ) ; } |
22,317 | reports whether it is enabled . concode_field_sep int m_profileID concode_elem_sep String m_apn concode_elem_sep int m_pppNumber concode_elem_sep boolean m_gpsEnabled concode_elem_sep int m_lcpEchoFailure concode_elem_sep int m_headerCompression concode_elem_sep String m_password concode_elem_sep int m_dataCompression ... | boolean function ( ) { return this . m_enabled ; } |
22,318 | set the resend interval for this device . concode_field_sep TellstickValueSelector valueSelector concode_elem_sep long resendInterval concode_elem_sep String itemName concode_elem_sep String protocol concode_elem_sep TellstickValueSelector usageSelector concode_elem_sep int resend concode_elem_sep int id concode_field_... | void function ( long arg0 ) { this . resendInterval = arg0 ; } |
22,319 | sets the outgoing host name of the mail server . concode_field_sep String mailUsername concode_elem_sep boolean incomingSsl concode_elem_sep String outgoingHost concode_elem_sep String incomingHost concode_elem_sep String userName concode_elem_sep int incomingPort concode_elem_sep boolean selected concode_elem_sep Stri... | void function ( String arg0 ) { this . outgoingHost = arg0 ; } |
22,320 | returns a snapshot of the connections in this pool , ordered from newest to oldest . waits for the cleanup callable to run if it is currently scheduled . concode_field_sep ConnectionPool systemDefault concode_elem_sep LinkedList<Connection> connections concode_elem_sep long keepAliveDurationNs concode_elem_sep long DEF... | List < Connection > function ( ) { waitForCleanupCallableToRun ( ) ; synchronized ( this ) { return new ArrayList < Connection > ( connections ) ; } } |
22,321 | sets the value of the roid property . concode_field_sep String code concode_elem_sep long roid concode_field_sep void setCode concode_elem_sep long getRoid concode_elem_sep String getCode | void function ( long arg0 ) { this . roid = arg0 ; } |
22,322 | return the jmx attribute name to use for the given javabeans property . when using strict casing , a javabean property with a getter method such as getfoo translates to an attribute called foo . with strict casing disabled , getfoo would translate to just foo . concode_field_sep Log logger concode_elem_sep String MBEAN... | String function ( PropertyDescriptor arg0 , boolean arg1 ) { if ( arg1 ) { return StringUtils . capitalize ( arg0 . getName ( ) ) ; } else { return arg0 . getName ( ) ; } } |
22,323 | to get beans from context . concode_field_sep PlaceHolder placeHolder concode_field_sep Collection<T> getBeansOfType concode_elem_sep Map<String,T> initializeBeans concode_elem_sep Map<String,T> getBeansFromContext concode_elem_sep T getSingleBeanOfType | T function ( BeanFactory arg0 , String arg1 , Class < T > arg2 ) { return ( T ) arg0 . getBean ( arg1 ) ; } |
22,324 | test that javax.validation.validator and javax.validation.validatorfactory are injected in aejb concode_field_sep StatelessBean slsb concode_field_sep JavaArchive getDeployment concode_elem_sep void testBuildDefaultValidatorFactory concode_elem_sep void testGetValidatorFromValidatorFactory | void function ( ) { Assert . assertTrue ( "srini_string" , this . slsb . isValidatorInjected ( ) ) ; Assert . assertTrue ( "srini_string" , this . slsb . isValidatorFactoryInjected ( ) ) ; } |
22,325 | adds an input stream to the request . concode_field_sep String fileName concode_elem_sep ConcurrentHashMap<String,ArrayList<String>> urlParamsWithArray concode_elem_sep String ENCODING concode_elem_sep ConcurrentHashMap<String,String> urlParams concode_elem_sep InputStream inputStream concode_elem_sep ConcurrentHashMap... | void function ( String arg0 , InputStream arg1 ) { put ( arg0 , arg1 , null ) ; } |
22,326 | aborts loading of the currnet page . concode_field_sep int CSC_NAVIGATEBACK concode_elem_sep int READYSTATE_UNINITIALIZED concode_elem_sep int DownloadComplete concode_elem_sep int READYSTATE_LOADING concode_elem_sep int TitleChange concode_elem_sep int ProgressChange concode_elem_sep OleAutomation oleAutomation concod... | void function ( ) { int [ ] loc0 = oleAutomation . getIDsOfNames ( new String [ ] { "srini_string" } ) ; int loc1 = loc0 [ 0 ] ; oleAutomation . invoke ( loc1 ) ; } |
22,327 | convert a json string to a map . concode_field_sep Map<Object,Integer> hiveError2HttpStatusCode concode_elem_sep Map map concode_field_sep Response buildResponse concode_elem_sep Response buildResponse concode_elem_sep boolean isError concode_elem_sep Response build concode_elem_sep boolean isset concode_elem_sep JsonB... | Map function ( String arg0 ) { if ( ! TempletonUtils . isset ( arg0 ) ) return new HashMap < String , Object > ( ) ; else { ObjectMapper loc0 = new ObjectMapper ( ) ; return loc0 . readValue ( arg0 , Map . class ) ; } } |
22,328 | move the point relative to the point concode_field_sep Double x concode_elem_sep Double y concode_field_sep void add concode_elem_sep void add concode_elem_sep void add concode_elem_sep void setY concode_elem_sep Point getProduct concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem... | void function ( Point arg0 ) { this . add ( arg0 ) ; } |
22,329 | sets the value of the effectdag property . concode_field_sep CTEffectList effectLst concode_elem_sep CTEffectContainer effectDag concode_field_sep CTEffectContainer getEffectDag concode_elem_sep CTEffectList getEffectLst concode_elem_sep void setEffectLst | void function ( CTEffectContainer arg0 ) { this . effectDag = arg0 ; } |
22,330 | sac : implements selectorfactory #createpseudoelementselector string , string . concode_field_sep SelectorFactory INSTANCE concode_field_sep CharacterDataSelector createTextNodeSelector concode_elem_sep SimpleSelector createRootNodeSelector concode_elem_sep DescendantSelector createChildSelector concode_elem_sep Simple... | ElementSelector function ( String arg0 , String arg1 ) { return new CSSPseudoElementSelectorImpl ( arg0 , arg1 ) ; } |
22,331 | cancel all modifications since the begining of the transaction concode_field_sep boolean connected concode_elem_sep String password concode_elem_sep CDBConnection handler concode_elem_sep String currentQuery concode_elem_sep String user concode_elem_sep Connection connect concode_elem_sep String url concode_elem_sep Ve... | void function ( ) { try { connect . rollback ( ) ; savePointList . clear ( ) ; } catch ( java . sql . SQLException loc0 ) { throw new SQLException ( loc0 . getMessage ( ) ) ; } } |
22,332 | returns the input stream for a file given by its contenturi . returns null if the file has not been found or if an error as occurred . concode_field_sep String CONTENT_ENCODING_GZIP concode_field_sep RequestBody createGzip concode_elem_sep boolean isGzipEncoding concode_elem_sep RequestBody create | InputStream function ( Context arg0 , String arg1 ) { try { Uri loc0 = Uri . parse ( arg1 ) ; return arg0 . getContentResolver ( ) . openInputStream ( loc0 ) ; } catch ( Exception loc0 ) { FLog . loc0 ( ReactConstants . TAG , "srini_string" + arg1 , loc0 ) ; return null ; } } |
22,333 | wraps the given items in a mutable list . concode_field_sep PlaceHolder placeHolder concode_field_sep Set<T> toSet concode_elem_sep SortedMap<K,V> toSortedMap concode_elem_sep Map<K,V> toMap concode_elem_sep SortedSet<T> toSortedSet concode_elem_sep SortedSet<T> toSortedSet concode_elem_sep T[] toArray concode_elem_sep... | List < T > function ( Iterable < ? extends T > arg0 ) { ArrayList < T > loc0 = new ArrayList < T > ( ) ; for ( T loc1 : arg0 ) { loc0 . add ( loc1 ) ; } return loc0 ; } |
22,334 | use cfs_period & cfs_quota to control the upper limit use of cpu core e.g. . if making a process to fully use two cpu cores , set cfs_period_us to 100000 and set cfs_quota_us to 200000 concode_field_sep CgroupCommon rootCgroup concode_elem_sep CgroupCenter center concode_elem_sep Hierarchy hierarchy concode_elem_sep Lo... | void function ( CpuCore arg0 , int arg1 ) { if ( arg1 == - 1 ) { arg0 . setCpuCfsQuotaUs ( arg1 ) ; } else { arg0 . setCpuCfsPeriodUs ( 100000 ) ; arg0 . setCpuCfsQuotaUs ( arg1 * 1000 ) ; } } |
22,335 | get is scan recursive concode_field_sep long scanIntervalMillis concode_elem_sep int recordLength concode_elem_sep int minReaders concode_elem_sep long repartitionCheckInterval concode_elem_sep boolean sequentialFileRead concode_elem_sep long blockSize concode_elem_sep int maxReaders concode_elem_sep int blocksThreshol... | boolean function ( ) { return recursive ; } |
22,336 | return a builder for a mockrestserviceserver that should be usedto reply to the given asyncresttemplate . concode_field_sep RequestExpectationManager expectationManager concode_elem_sep RequestExpectationManager expectationManager concode_elem_sep RestTemplate restTemplate concode_elem_sep AsyncRestTemplate asyncRestTe... | MockRestServiceServerBuilder function ( AsyncRestTemplate arg0 ) { return new DefaultBuilder ( arg0 ) ; } |
22,337 | this implementation is empty . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean preHandleResource concode_elem_sep boolean preHandleRender concode_elem_sep void afterResourceCompletion concode_elem_sep void afterRenderCompletion concode_elem_sep void afterEventCompletion concode_elem_sep boolean preH... | void function ( RenderRequest arg0 , RenderResponse arg1 , Object arg2 , ModelAndView arg3 ) { } |
22,338 | tells us whether or not the expression describes conjunctive or disjunctive licenses of the spdxpackage . concode_field_sep String UNCLASSIFIED concode_elem_sep String FSF concode_elem_sep String DUAL_LICENSE concode_elem_sep String FSF_REF concode_elem_sep String SEE_FILE concode_elem_sep String[] ignoredLicenseList c... | boolean function ( ) { return disjunctive ; } |
22,339 | returns the role id of this resource type permission . concode_field_sep ResourceTypePermission _resourceTypePermission concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void set... | long function ( ) { return _resourceTypePermission . getRoleId ( ) ; } |
22,340 | alias to doubleproperty string name , double defaultvalue concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double doubleProperty concode_elem_sep void setProperty concode_elem_sep void setSystemProperty c... | double function ( String arg0 , double arg1 ) { return doubleProperty ( arg0 , arg1 ) ; } |
22,341 | check if this vat item has the passed percentage . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isDeprecated concode_elem_sep Locale getCountry concode_elem_sep EVATType getType concode_elem_sep boolean hasCountry concode_elem_sep boolean isNonZeroPercentage concode_elem_sep boolean isZeroPercent... | boolean function ( @ Nullable final BigDecimal arg0 ) { return EqualsHelper . equals ( getPercentage ( ) , arg0 ) ; } |
22,342 | attempt to obtain the seed from the value of the `` seed '' property . concode_field_sep PlaceHolder placeHolder concode_field_sep long getSeed concode_elem_sep Random getRandom concode_elem_sep SplittableRandom getSplittableRandom concode_elem_sep long getRandomSeed | Long function ( ) { Long loc0 = null ; try { loc0 = Long . valueOf ( System . getProperty ( "srini_string" ) ) ; } catch ( NumberFormatException loc1 ) { } return loc0 ; } |
22,343 | whether the top-level type of mimetype is audio . concode_field_sep String VIDEO_H263 concode_elem_sep String VIDEO_VC1 concode_elem_sep String APPLICATION_M3U8 concode_elem_sep String APPLICATION_MP4VTT concode_elem_sep String TEXT_UNKNOWN concode_elem_sep String VIDEO_H264 concode_elem_sep String VIDEO_MP4V concode_e... | boolean function ( String arg0 ) { return getTopLevelType ( arg0 ) . equals ( BASE_TYPE_AUDIO ) ; } |
22,344 | returns report from the last compilation . concode_field_sep String COMPILATION_ALREADY_COMPLETED_MSG concode_elem_sep JsonMLAst sourceAst concode_elem_sep boolean success concode_elem_sep JsonMLError[] warnings concode_elem_sep CompilerOptions options concode_elem_sep Report report concode_elem_sep String COMPILATION_... | Report function ( ) { Preconditions . checkState ( report != null , COMPILATION_UNCOMPLETED_MSG ) ; return report ; } |
22,345 | gets the value of the maximum property . concode_field_sep Long maximum concode_elem_sep Long minimum concode_field_sep void setMaximum concode_elem_sep Long getMinimum concode_elem_sep void setMinimum | Long function ( ) { return maximum ; } |
22,346 | justifies wheel concode_field_sep Handler animationHandler concode_elem_sep int MIN_DELTA_FOR_SCROLLING concode_elem_sep ScrollingListener listener concode_elem_sep SimpleOnGestureListener gestureListener concode_elem_sep float lastTouchedY concode_elem_sep boolean isScrollingPerformed concode_elem_sep int SCROLLING_DU... | void function ( ) { listener . onJustify ( ) ; setNextMessage ( MESSAGE_JUSTIFY ) ; } |
22,347 | puts a character into the buffer . concode_field_sep int bufpos concode_elem_sep int maxNextCharInd concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep char[] buffer concode_elem_sep int tokenBegin concode_elem_sep int inBuf concode_field_sep char[] GetSuffix concode_elem_sep void backup concod... | void function ( char arg0 ) { buffer [ maxNextCharInd ++ ] = arg0 ; notify ( ) ; } |
22,348 | when specified , represents only the sum of unmetered minutes used by the resource to run tests . concode_field_sep Double total concode_elem_sep Double unmetered concode_elem_sep Double metered concode_field_sep void setTotal concode_elem_sep DeviceMinutes withUnmetered concode_elem_sep Double getUnmetered concode_ele... | void function ( Double arg0 ) { this . unmetered = arg0 ; } |
22,349 | get the type of the concrete joint . concode_field_sep JointEdge jointEdgeB concode_elem_sep JointEdge jointEdgeA concode_elem_sep World world concode_elem_sep Object userData concode_elem_sep float[] tmp concode_elem_sep Vector2 reactionForce concode_elem_sep long addr concode_elem_sep Vector2 anchorB concode_elem_sep... | JointType function ( ) { int loc0 = jniGetType ( addr ) ; if ( loc0 > 0 && loc0 < JointType . valueTypes . length ) return JointType . valueTypes [ loc0 ] ; else return JointType . Unknown ; } |
22,350 | the status of the case when the resolvecase request was sent . concode_field_sep String initialCaseStatus concode_elem_sep String finalCaseStatus concode_field_sep String getFinalCaseStatus concode_elem_sep void setInitialCaseStatus concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ResolveC... | String function ( ) { return this . initialCaseStatus ; } |
22,351 | notify all registered listeners with the given variablenotification concode_field_sep Set<INotificationListener> listeners concode_field_sep boolean addNotificationListener concode_elem_sep boolean removeNotificationListener concode_elem_sep void notifyListenersOnEventRaised | void function ( VariableNotification < ? > arg0 ) { for ( INotificationListener loc0 : listeners ) { loc0 . onVariableChanged ( arg0 ) ; } } |
22,352 | for possible values see algorithmoptions . concode_field_sep String DIJKSTRA_BI concode_elem_sep String ASTAR_BI concode_elem_sep TraversalMode traversalMode concode_elem_sep String ASTAR concode_elem_sep AlgorithmOptions opts concode_elem_sep String algorithm concode_elem_sep String DIJKSTRA concode_elem_sep FlagEncod... | Builder function ( String arg0 ) { this . opts . arg0 = arg0 ; return this ; } |
22,353 | stops listening for messages for the service thats undeployed or stopped concode_field_sep JMSTaskManager jmsTaskManager concode_elem_sep String listenerName concode_elem_sep Log log concode_field_sep void startListener concode_elem_sep boolean checkJMSConnection concode_elem_sep void start concode_elem_sep void run | void function ( ) { JMSTaskManager loc0 = jmsTaskManager ; if ( log . isDebugEnabled ( ) ) { log . debug ( "srini_string" + loc0 . getDestinationJNDIName ( ) + "srini_string" + listenerName ) ; } loc0 . stop ( ) ; log . info ( "srini_string" + listenerName ) ; } |
22,354 | adds a constraint for a class . concode_field_sep IExceptionHandler<ConstraintViolationException,X> handler concode_elem_sep PairList<Class<?>,ILocalConstraint<?>> localConstraints concode_field_sep void checkConstaints concode_elem_sep void checkConstaints concode_elem_sep void validateTree concode_elem_sep void valid... | void function ( Class < ? extends T > arg0 , ILocalConstraint < T > arg1 ) { localConstraints . add ( arg0 , arg1 ) ; } |
22,355 | returns the savepointserializer for the given savepoint version . concode_field_sep Map<Integer,SavepointSerializer<?>> SERIALIZERS concode_field_sep placeholderType placeHolder | SavepointSerializer < ? > function ( int arg0 ) { SavepointSerializer < ? > loc0 = SERIALIZERS . get ( arg0 ) ; if ( loc0 != null ) { return loc0 ; } else { throw new IllegalArgumentException ( "srini_string" + arg0 + "srini_string" ) ; } } |
22,356 | returns true if the transfer has been cancelled , if it has stopped because of a an error , or the transfer completed succesfully . concode_field_sep Exception exception concode_elem_sep String msg concode_elem_sep String fileName concode_elem_sep String streamID concode_elem_sep String filePath concode_elem_sep long a... | boolean function ( ) { return status == Status . cancelled || status == Status . error || status == Status . complete || status == Status . refused ; } |
22,357 | getter and setter for jpa-access concode_field_sep int sizeWorldX concode_elem_sep String imageFilename concode_elem_sep int sizeX concode_elem_sep int yPos concode_elem_sep int sizeWorldY concode_elem_sep String name concode_elem_sep List<Item> itemList concode_elem_sep Long id concode_elem_sep int xPos concode_elem_s... | Long function ( ) { return id ; } |
22,358 | this test asserts that when we use the move method on a captain bean client , it is internally calling move method on the battleship object . the adapter battlefishingboat converts the interface of the target class fishingboat into a suitable one expected by the client captain . concode_field_sep String BATTLESHIP_BEAN... | void function ( ) { BattleShip loc0 = ( BattleShip ) beans . get ( CAPTAIN_BEAN ) ; loc0 . move ( ) ; BattleShip loc1 = ( BattleShip ) beans . get ( BATTLESHIP_BEAN ) ; verify ( loc1 ) . move ( ) ; loc0 . fire ( ) ; verify ( loc1 ) . fire ( ) ; } |
22,359 | get the datasource for the passed driver and with the passed configuration . . if the datasource live in the cache it will not be rebuild concode_field_sep Map<String,IDriver> drivers concode_field_sep placeholderType placeHolder | IDataSource function ( String arg0 , IDataSourceConfiguration arg1 ) { return getDataSource ( arg0 , arg1 , true ) ; } |
22,360 | verifies the message and stores verifier id . concode_field_sep int RESPONDED_FLAG_POS concode_elem_sep int CLIENT_RECON_SUCCESS_FLAG_POS concode_elem_sep int CLIENT_ACK_FLAG_POS concode_elem_sep int FORCE_FAIL_FLAG_POS concode_elem_sep int flags concode_elem_sep Set<UUID> failedNodes concode_elem_sep long serialVersio... | void function ( UUID arg0 ) { this . verifierNodeId = arg0 ; } |
22,361 | by default , do n't exclude any objects from the copy operation . concode_field_sep Map nameFeatureMap concode_elem_sep Object NULL_TOKEN concode_field_sep boolean shouldOverrideCopyOperation concode_elem_sep void setName concode_elem_sep boolean canContain concode_elem_sep XMLResource getResource concode_elem_sep Stri... | Collection function ( Set arg0 ) { return Collections . EMPTY_SET ; } |
22,362 | create an instance of promotiondetailstype concode_field_sep PlaceHolder placeHolder concode_field_sep AssociateDeviceType createAssociateDeviceType concode_elem_sep EquipmentRequestType createEquipmentRequestType concode_elem_sep EquipmentPlanType createEquipmentPlanType concode_elem_sep PaymentTransactionType createP... | PromotionDetailsType function ( ) { return new PromotionDetailsType ( ) ; } |
22,363 | set the rectangle on the page that this bead covers . concode_field_sep COSDictionary bead concode_field_sep void setThread concode_elem_sep PDThreadBead getPreviousBead concode_elem_sep void appendBead concode_elem_sep void setPreviousBead concode_elem_sep PDPage getPage concode_elem_sep PDThreadBead getNextBead conco... | void function ( PDRectangle arg0 ) { bead . setItem ( COSName . R , arg0 ) ; } |
22,364 | returns an annotation object reflecting the annotation provided , or null if this class does n't have such anannotation . this is a convenience function if the caller knows already which annotation type he 's looking for . concode_field_sep PlaceHolder placeHolder concode_field_sep Field getDeclaredField concode_elem_s... | Annotation function ( Class arg0 , Class < ? extends java . lang . annotation . Annotation > arg1 ) { java . lang . annotation . Annotation [ ] loc0 = arg0 . getDeclaredAnnotations ( ) ; for ( java . lang . loc1 . Annotation loc1 : loc0 ) { if ( loc1 . arg1 ( ) . equals ( arg1 ) ) return new Annotation ( loc1 ) ; } ret... |
22,365 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String value concode_elem_sep String key concode_field_sep String getKey concode_elem_sep String getValue concode_elem_sep Tag withValue concode_elem_sep int hashCode concode_elem_sep void setValue concode_elem_sep boo... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getKey ( ) != null ) loc0 . append ( "srini_string" + getKey ( ) + "srini_string" ) ; if ( getValue ( ) != null ) loc0 . append ( "srini_string" + getValue ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . ... |
22,366 | an empty set of impositions . possibly useful during testing . concode_field_sep FastThreadLocal<Deque<Impositions>> IMPOSITIONS concode_elem_sep Registry impositions concode_field_sep Impositions current concode_elem_sep T impose concode_elem_sep T impose concode_elem_sep Impositions of concode_elem_sep Optional<T> ge... | Impositions function ( ) { return Exceptions . uncheck ( ( ) -> of ( Action . noop ( ) ) ) ; } |
22,367 | returns value . concode_field_sep int count concode_elem_sep String value concode_elem_sep boolean desc concode_field_sep int compare concode_elem_sep ValueCount[] groupValues concode_elem_sep void setValue concode_elem_sep int getCount concode_elem_sep void setCount | String function ( ) { return value ; } |
22,368 | sets the end point of the transition , a float between 0.0 and 1.0 . defaults to 1.0 . concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep... | void function ( float arg0 ) { this . to = arg0 ; ea . add ( "srini_string" , arg0 ) ; } |
22,369 | returns the current position . concode_field_sep int _limit concode_elem_sep byte[] _buffer concode_elem_sep int _offset concode_elem_sep int _pos concode_elem_sep byte[] ZERO_LENGTH_BUFFER concode_field_sep void setBuffer concode_elem_sep void putInt concode_elem_sep void reassign concode_elem_sep void align concode_e... | int function ( ) { return _pos ; } |
22,370 | a list of policy description structures . concode_field_sep java.util.List<PolicyDescription> policyDescriptions concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setPolicyDescriptions concode_elem_sep String toString concode_elem_sep DescribeLoadBalancerPoliciesResult withPolicyDescr... | java . util . List < PolicyDescription > function ( ) { if ( policyDescriptions == null ) { policyDescriptions = new java . util . ArrayList < PolicyDescription > ( ) ; } return policyDescriptions ; } |
22,371 | provided for subclasses to initialize the attribute set . concode_field_sep Enumeration<?> current concode_elem_sep int index concode_elem_sep AttributeSet[] multi concode_field_sep AttributeSet getResolveParent concode_elem_sep Object getAttribute concode_elem_sep boolean containsAttributes concode_elem_sep Enumeratio... | void function ( AttributeSet [ ] arg0 ) { multi = arg0 ; } |
22,372 | requests audio focus . returns whether request was successful or not . concode_field_sep MusicFocusable mFocusable concode_elem_sep AudioManager mAM concode_field_sep void onAudioFocusChange concode_elem_sep boolean abandonFocus | boolean function ( ) { return AudioManager . AUDIOFOCUS_REQUEST_GRANTED == mAM . requestAudioFocus ( this , AudioManager . STREAM_MUSIC , AudioManager . AUDIOFOCUS_GAIN ) ; } |
22,373 | gets the value of the day property . concode_field_sep Integer month concode_elem_sep Integer hour concode_elem_sep Integer year concode_elem_sep JAXBElement<String> stringFormatted concode_elem_sep Integer day concode_elem_sep Integer minute concode_elem_sep Integer second concode_field_sep void setMonth concode_elem_... | Integer function ( ) { return day ; } |
22,374 | filters the given elements for the given viewer . the input array is not modified . the default implementation of this method calls select on each element in the array , and returns only those elements for which select returns true . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isFilterProperty c... | Object [ ] function ( Viewer arg0 , Object arg1 , Object [ ] arg2 ) { int loc0 = arg2 . length ; ArrayList < Object > loc1 = new ArrayList < > ( loc0 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; ++ loc2 ) { Object loc3 = arg2 [ loc2 ] ; if ( select ( arg0 , arg1 , loc3 ) ) { loc1 . add ( loc3 ) ; } } return loc1 . toArray ( ... |
22,375 | convert an object to an xml string concode_field_sep Unmarshaller unmarshaller concode_elem_sep Marshaller marshaller concode_field_sep Object unmarshall | String function ( final Object arg0 ) { final StringWriter loc0 = new StringWriter ( ) ; marshaller . marshal ( arg0 , loc0 ) ; return loc0 . toString ( ) ; } |
22,376 | output log to logcat as the debug level with extend log tag . the example : libtag : : yourextendtag , log message . concode_field_sep int cmdID concode_elem_sep String TAG concode_field_sep boolean isNeedPathSDK concode_elem_sep void checkUIThread concode_elem_sep int generateCommandID | void function ( String arg0 , String arg1 ) { Log . d ( TAG + "srini_string" + arg0 , arg1 ) ; } |
22,377 | returns the value of basic constraints extension oid = 2.5.29.19 . the asn .1 definition of basic constraints extension is : id-ce-basicconstraints object identifier : : = id-ce 19 basicconstraints : : = sequence ca boolean default false , pathlenconstraint integer 0 . . max optional as specified in rfc 3280 concode_fi... | int function ( ) { Extension loc0 = getExtensionByOID ( "srini_string" ) ; if ( loc0 == null ) { return - 1 ; } BasicConstraints loc1 = loc0 . getBasicConstraintsValue ( ) ; if ( loc1 == null || ! loc1 . getCa ( ) ) { return - 1 ; } return loc1 . getPathLenConstraint ( ) ; } |
22,378 | sets the user name . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep String getUserName | void function ( String arg0 ) { this . userName = arg0 ; } |
22,379 | calls outputstream #write_string string . concode_field_sep PlaceHolder placeHolder concode_field_sep String extract concode_elem_sep String read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type | void function ( OutputStream arg0 , String arg1 ) { arg0 . write_string ( arg1 ) ; } |
22,380 | program entry point concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( String [ ] arg0 ) { OrcKing loc0 = new OrcKing ( ) ; loc0 . makeRequest ( new Request ( RequestType . DEFEND_CASTLE , "srini_string" ) ) ; loc0 . makeRequest ( new Request ( RequestType . TORTURE_PRISONER , "srini_string" ) ) ; loc0 . makeRequest ( new Request ( RequestType . COLLECT_TAX , "srini_string... |
22,381 | this method appends the items starting from certain index in an array to a string to build an xpath expression concode_field_sep String XPATH_WILDCARD concode_elem_sep String XPATH_ATTR_HEADER_WITH_SLASH concode_elem_sep String XPATH_ATTR_HEADER_WITH_SQUARE_PATTERN concode_field_sep int getStartingIndex concode_elem_se... | String function ( String [ ] arg0 , int arg1 , String arg2 ) { for ( int loc0 = arg1 ; loc0 < arg0 . length ; loc0 ++ ) { if ( loc0 < arg0 . length - 1 ) arg2 += arg0 [ loc0 ] + UtilConstants . XPATH_SLASH ; else arg2 += arg0 [ loc0 ] ; } return arg2 ; } |
22,382 | runs the given runnable on this thread . it will be submitted to the end of the event queue even if it is being submitted from the same queue thread . concode_field_sep Looper mLooper concode_elem_sep MessageQueueThreadHandler mHandler concode_elem_sep boolean mIsFinished concode_elem_sep String mName concode_elem_sep ... | void function ( Runnable arg0 ) { if ( mIsFinished ) { FLog . w ( ReactConstants . TAG , "srini_string" + getName ( ) + "srini_string" ) ; } mHandler . post ( arg0 ) ; } |
22,383 | returns the result of interpreting the object as an instance of ` eobject ' . this implementation returns null ; returning a non-null result will terminate the switch , but this is the last case anyway . concode_field_sep VariousPackage modelPackage concode_field_sep T caseImmutableCity concode_elem_sep T doSwitch conc... | T function ( EObject arg0 ) { return null ; } |
22,384 | this method is not supported and throws a runtimeexception concode_field_sep CSet s_instance concode_elem_sep int si concode_elem_sep int index concode_elem_sep CSet set concode_elem_sep Logger LOG concode_field_sep String next concode_elem_sep boolean c_contains concode_elem_sep void delete concode_elem_sep boolean re... | Iterator < String > function ( ) { return new CSetIterator ( si , this ) ; } |
22,385 | returns the message . concode_field_sep LoggerVerbosityLevel severity concode_elem_sep String name concode_elem_sep String header concode_elem_sep String message concode_elem_sep String type concode_field_sep String getName concode_elem_sep LoggerVerbosityLevel getSeverity concode_elem_sep String getType concode_elem_s... | String function ( ) { return message ; } |
22,386 | returns a string representation of this dimension object . concode_field_sep long width concode_elem_sep boolean locked concode_elem_sep long height concode_field_sep long getHeight concode_elem_sep void setSize concode_elem_sep StrictDimension getUnlockedInstance concode_elem_sep int hashCode concode_elem_sep boolean ... | String function ( ) { return "srini_string" + "srini_string" + width + "srini_string" + height + '}' ; } |
22,387 | gets a display string from an original logical string . accounts for arabic and hebrew glyph positions within words , returning a string that can be used for measuring and drawing . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | String function ( String arg0 , PaintContext arg1 ) { return getDisplayString ( arg0 , arg1 . getPaintLocale ( ) , arg1 . getReadingDirection ( ) ) ; } |
22,388 | register a new urlintercepthandler . this handler will be called before any that were previously registered . concode_field_sep LinkedList mHandlerList concode_elem_sep String LOGTAG concode_elem_sep boolean mDisabled concode_field_sep CacheResult getSurrogate concode_elem_sep void setUrlInterceptDisabled concode_elem_... | boolean function ( UrlInterceptHandler arg0 ) { if ( ! getHandlers ( ) . contains ( arg0 ) ) { getHandlers ( ) . addFirst ( arg0 ) ; return true ; } else { return false ; } } |
22,389 | removes all sensorjobs of a specific device . concode_field_sep ScheduledExecutorService scheduler concode_elem_sep List<CircuitScheduler> circuitSchedulerList concode_elem_sep CircuitScheduler circuit concode_elem_sep ConnectionManager connectionManager concode_elem_sep DsAPI dSAPI concode_elem_sep Logger logger conco... | void function ( Device arg0 ) { if ( arg0 != null ) { CircuitScheduler loc0 = getCircuitScheduler ( arg0 . getMeterDSID ( ) ) ; if ( loc0 != null ) { loc0 . removeSensorJob ( arg0 . getDSID ( ) ) ; } } } |
22,390 | return address reference for specified array object concode_field_sep PlaceHolder placeHolder concode_field_sep Object getPrototype concode_elem_sep Object resolveAddress concode_elem_sep int tie concode_elem_sep int tied concode_elem_sep int instance concode_elem_sep void untie concode_elem_sep int getAddressPrototype... | int function ( Object arg0 [ ] ) { throw new RuntimeException ( "srini_string" ) ; } |
22,391 | gets the cscr list concode_field_sep int packet_len concode_elem_sep byte[] packet concode_field_sep long getSscr concode_elem_sep void setSscr concode_elem_sep boolean hasPadding concode_elem_sep void setExtension concode_elem_sep int getSequenceNumber concode_elem_sep byte[] getPacket concode_elem_sep boolean hasMark... | long [ ] function ( ) { int loc0 = getCscrCount ( ) ; long [ ] loc1 = new long [ loc0 ] ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) loc1 [ loc2 ] = getLong ( packet , 12 + 4 * loc2 , 16 + 4 * loc2 ) ; return loc1 ; } |
22,392 | get an immutable set representing all the spider addresses here concode_field_sep Boolean useProxies concode_elem_sep Logger log concode_elem_sep IPTable table concode_elem_sep List<Pattern> agents concode_elem_sep List<Pattern> domains concode_field_sep void loadPatterns concode_elem_sep boolean isUseProxies concode_e... | Set < String > function ( ) { loadSpiderIpAddresses ( ) ; return table . toSet ( ) ; } |
22,393 | checks to see if this key exists in the . properties file . concode_field_sep String fileName concode_elem_sep Logger log concode_elem_sep FileInputStream inputStream concode_elem_sep Properties props concode_elem_sep FileOutputStream outputStream concode_field_sep boolean containsKey concode_elem_sep void save concode... | String function ( String arg0 ) { return this . props . getProperty ( arg0 ) ; } |
22,394 | get time of day in clarion format value = 10ths of seconds since midnight + 1 . i.e. midnight = 1 the 10th of a second before midnight = 8640000 0 = invalid/null concode_field_sep Long localizedEpoch concode_field_sep int epochToClarionDate concode_elem_sep int date concode_elem_sep int month concode_elem_sep int year ... | int function ( ) { Calendar loc0 = Calendar . getInstance ( ) ; return 1 + loc0 . get ( Calendar . HOUR_OF_DAY ) * 360000 + loc0 . get ( Calendar . MINUTE ) * 6000 + loc0 . get ( Calendar . SECOND ) * 100 + loc0 . get ( Calendar . MILLISECOND ) / 10 ; } |
22,395 | notify all registered listeners with the given eventnotification concode_field_sep Set<INotificationListener> listeners concode_field_sep void notifyListenersOnVariableChanged concode_elem_sep boolean addNotificationListener concode_elem_sep boolean removeNotificationListener | void function ( EventNotification arg0 ) { for ( INotificationListener loc0 : listeners ) { loc0 . onEventRaised ( arg0 ) ; } } |
22,396 | deprecated . use the shipments array as this will be removed in a future release . concode_field_sep String trackingUrl concode_elem_sep String product concode_elem_sep String trackingNumber concode_elem_sep List<Shipment> shipments concode_elem_sep ProductPriceInfo discountAmount concode_elem_sep String sourceId conco... | String function ( ) { return shipCarrierName ; } |
22,397 | get the snapshot value . concode_field_sep OperatingSystemStateTypes osState concode_elem_sep SubResource managedDisk concode_elem_sep String blobUri concode_elem_sep OperatingSystemTypes osType concode_elem_sep CachingTypes caching concode_elem_sep SubResource snapshot concode_elem_sep Integer diskSizeGB concode_field... | SubResource function ( ) { return this . snapshot ; } |
22,398 | gets the value of the purged property . concode_field_sep boolean purged concode_field_sep void setPurged | boolean function ( ) { return purged ; } |
22,399 | retrieves the accumulated time this object has spent running since it was last zeroed . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep void zero concode_elem_sep long currentElapsedTime concode_elem_sep void stop concode_el... | long function ( ) { if ( running ) { return total + System . currentTimeMillis ( ) - startTime ; } else { return total ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.