idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
33,300 | sets queuing options . when used with a string , can be ` front ' or ` end ' to queue the effect in the global effects queue at the beginning or end , or a queue parameter object that can have position : ` front/end ' , scope : ` scope ' , limit :1 concode_field_sep boolean fired concode_elem_sep boolean submit concode... | void function ( String arg0 ) { this . queue = arg0 ; ea . add ( "srini_string" , arg0 ) ; } |
33,301 | clear the local notification without canceling repeating alarms . concode_field_sep Class<?> defaultReceiver concode_elem_sep Class<?> receiver concode_elem_sep String PREF_KEY concode_elem_sep Context context concode_elem_sep Options options concode_elem_sep NotificationCompat.Builder builder concode_field_sep void ca... | void function ( ) { if ( ! isRepeating ( ) && wasInThePast ( ) ) unpersist ( ) ; if ( ! isRepeating ( ) ) getNotMgr ( ) . cancel ( getId ( ) ) ; } |
33,302 | gets the videocompletionsdelivered value for this stats . concode_field_sep java.lang.Long impressionsDelivered concode_elem_sep java.lang.Long videoStartsDelivered concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.Long clicksDelivered concode_elem_sep boolean __hashCodeCalc concode_elem_sep org... | java . lang . Long function ( ) { return videoCompletionsDelivered ; } |
33,303 | returns true iff the ref starts with the given prefix . otherwise false . concode_field_sep BigInteger nextId concode_elem_sep int ID_LENGTH concode_elem_sep Object idLock concode_elem_sep BigInteger mask128 concode_elem_sep int GOOD_FAST_HASH_SEED concode_field_sep boolean sliceEquals concode_elem_sep byte[] randomId ... | boolean function ( byte [ ] arg0 , BytesRef arg1 ) { if ( arg0 . length < arg1 . length ) { return false ; } for ( int loc0 = 0 ; loc0 < arg1 . length ; loc0 ++ ) { if ( arg0 [ loc0 ] != arg1 . bytes [ arg1 . offset + loc0 ] ) { return false ; } } return true ; } |
33,304 | impersonate other user . this function is used to set a different username than the one used for authentication as responsible for the changes . for this to work , the user used for authentication must be `` trusted '' , which means that it has permission to impersonate other users . concode_field_sep String authoritat... | void function ( String arg0 ) { this . username = arg0 ; } |
33,305 | the hadoop job configuration of the cluster step . concode_field_sep String actionOnFailure concode_elem_sep String name concode_elem_sep String id concode_elem_sep HadoopStepConfig config concode_elem_sep StepStatus status concode_field_sep void setName concode_elem_sep StepSummary withStatus concode_elem_sep StepSumm... | void function ( HadoopStepConfig arg0 ) { this . config = arg0 ; } |
33,306 | auto generated setter method concode_field_sep com.amazon.ec2.ImportVolumeResponseType localImportVolumeResponse concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void writeQName concode_... | void function ( com . amazon . ec2 . ImportVolumeResponseType arg0 ) { this . localImportVolumeResponse = arg0 ; } |
33,307 | ###### ###### color getting related methods ##### ###### concode_field_sep String mLabel concode_elem_sep float mValueTextSize concode_elem_sep boolean mVisible concode_elem_sep List<Integer> mValueColors concode_elem_sep ValueFormatter mValueFormatter concode_elem_sep YAxis.AxisDependency mAxisDependency concode_elem_... | List < Integer > function ( ) { return mColors ; } |
33,308 | remove admin privileges from a user in this channel . concode_field_sep String CHANNEL_PREFIX concode_elem_sep String name concode_elem_sep String topic concode_elem_sep IrcConnection irc concode_elem_sep ConcurrentHashMap<String,User> users concode_field_sep void removeFounder concode_elem_sep void renameUser concode_... | void function ( final User arg0 ) { this . setMode ( User . MODE_ADMIN , arg0 , false ) ; } |
33,309 | remove a listener for the propertychange event . concode_field_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep Float value concode_field_sep String getJavaInitializationString concode_elem_sep Object getValue concode_elem_sep Component getCustomEditor concode_elem_sep boolean supportsCustomEditor conco... | void function ( final PropertyChangeListener arg0 ) { propertyChangeSupport . removePropertyChangeListener ( arg0 ) ; } |
33,310 | removes an already registered connection event listener from the managedconnection instance . concode_field_sep ConfigPropertyManagedConnectionFactory mcf concode_elem_sep List<ConnectionEventListener> listeners concode_elem_sep Object connection concode_elem_sep PrintWriter logwriter concode_field_sep void associateCo... | void function ( ConnectionEventListener arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } listeners . remove ( arg0 ) ; } |
33,311 | outputs the scriptlet if needed . if the scriptlet is unnecessary or has already been output , this is a no-op . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean __isOutsidePartialPage concode_elem_sep void registerSelfWithKey concode_elem_sep void embedInScriptTag concode_elem_sep void outputScriptl... | void function ( FacesContext arg0 , RenderingContext arg1 ) { if ( ! _isAlreadyWritten ( arg1 ) && ! __isOutsidePartialPage ( arg1 ) ) { _markAsWritten ( arg1 ) ; outputScriptletImpl ( arg0 , arg1 ) ; } } |
33,312 | resolve the given class name as primitive class , if appropriate , according to the jvm 's naming rules for primitive classes . also supports the jvm 's internal class names for primitive arrays . does not support the '' '' suffix notation for primitive arrays ; this is only supported by #forname string , classloader .... | Class < ? > function ( String arg0 ) { Class < ? > loc0 = null ; if ( arg0 != null && arg0 . length ( ) <= 8 ) { loc0 = primitiveTypeNameMap . get ( arg0 ) ; } return loc0 ; } |
33,313 | get the atlas height . concode_field_sep float mHeight concode_elem_sep float mWidth concode_elem_sep Bitmap[] mPages concode_elem_sep boolean mUsesCompression concode_elem_sep Tile[] mTiles concode_field_sep void setPages concode_elem_sep boolean getUsesCompression concode_elem_sep float getWidth concode_elem_sep Bitm... | float function ( ) { return mHeight ; } |
33,314 | return the module type . concode_field_sep int MODULE_TYPE concode_elem_sep int MODULE_SEQUENCE concode_elem_sep int CONTAINER concode_elem_sep int ALLOCATED concode_elem_sep int DEPLOYMENT_DESC concode_elem_sep String[] deploymentDesc concode_elem_sep int DEPLOYMENT_UNIT_NAME concode_elem_sep String[] elements concode... | String function ( ) { return deploymentDesc [ MODULE_TYPE ] ; } |
33,315 | returns a throwinglongunaryoperator applying the given operator to the argument if this operator throws an exception . concode_field_sep PlaceHolder placeHolder concode_field_sep long applyAsLong concode_elem_sep ThrowingLongUnaryOperator compose concode_elem_sep long applyAsLongThrowing concode_elem_sep LongUnaryOpera... | ThrowingLongUnaryOperator function ( ThrowingLongUnaryOperator arg0 ) { return orTryWith ( arg0 , null ) ; } |
33,316 | return the value of the coefficient for the supplied name and intensity measure type . concode_field_sep String C_DIR concode_elem_sep Table<Imt,String,Double> table concode_field_sep Set<Imt> imts concode_elem_sep Table<Imt,String,Double> load | double function ( Imt arg0 , String arg1 ) { return table . get ( arg0 , arg1 ) ; } |
33,317 | the stack id . concode_field_sep Integer appsCount concode_elem_sep String stackId concode_elem_sep String name concode_elem_sep InstancesCount instancesCount concode_elem_sep Integer layersCount concode_elem_sep String arn concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setLayersCo... | void function ( String arg0 ) { this . stackId = arg0 ; } |
33,318 | this method is called after the connection is made to the remote . implementations should create internal state to finish the connection process . concode_field_sep boolean mConnected concode_elem_sep TProtocol mProtocol concode_elem_sep String mMode concode_elem_sep long mServiceVersion concode_elem_sep Configuration ... | void function ( ) { } |
33,319 | sends a command to onkyo device . concode_field_sep int port concode_elem_sep String ip concode_elem_sep Eiscp connection concode_elem_sep Logger logger concode_field_sep void removeEventListener concode_elem_sep String getConnectionName concode_elem_sep void openConnection concode_elem_sep boolean isConnected concode_... | void function ( final String arg0 ) { try { connection . sendCommand ( arg0 ) ; } catch ( Exception loc0 ) { logger . error ( "srini_string" , ip + "srini_string" + port , loc0 ) ; } } |
33,320 | sets the allocated y-coordinate . concode_field_sep double allocatedY concode_elem_sep double gap concode_elem_sep double angle concode_elem_sep double baseY concode_elem_sep double linkPercent concode_elem_sep TextBox label concode_elem_sep double labelHeight concode_elem_sep Comparable key concode_field_sep Comparabl... | void function ( double arg0 ) { this . allocatedY = arg0 ; } |
33,321 | triangle compiler main program . concode_field_sep String objectName concode_elem_sep Parser parser concode_elem_sep Scanner scanner concode_elem_sep Drawer drawer concode_elem_sep ErrorReporter reporter concode_elem_sep Checker checker concode_elem_sep Program theAST concode_elem_sep Encoder encoder concode_field_sep ... | void function ( String [ ] arg0 ) { boolean loc0 ; if ( arg0 . length != 1 ) { System . out . println ( "srini_string" ) ; System . exit ( 1 ) ; } String loc1 = arg0 [ 0 ] ; loc0 = compileProgram ( loc1 , objectName , false , false ) ; } |
33,322 | tests if there are more tokens available from this tokenizer 's string . if this method returns true , then a subsequent call to nexttoken with no argument will successfully return a token . concode_field_sep String quate concode_elem_sep String SEPARATOR_COMMA concode_elem_sep String SEPARATOR_TAB concode_elem_sep Str... | boolean function ( ) { return ( this . currentIndex < this . record . length ( ) ) ; } |
33,323 | returns a range of all the portlet items . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil #a... | java . util . List < com . liferay . portal . kernel . model . PortletItem > function ( int arg0 , int arg1 ) { return _portletItemLocalService . getPortletItems ( arg0 , arg1 ) ; } |
33,324 | get all files and dirs under a start target concode_field_sep PlaceHolder placeHolder concode_field_sep Path userHomeDir concode_elem_sep Document parseHtml concode_elem_sep Document parseHtml concode_elem_sep Document parseHtml concode_elem_sep String removeFileExtension concode_elem_sep String joinLines concode_elem_... | Stream < Path > function ( Path arg0 , FileVisitOption ... arg1 ) { try { return Files . walk ( arg0 , arg1 ) ; } catch ( IOException loc0 ) { throw new RuntimeException ( loc0 ) ; } } |
33,325 | waits until #trigger is called . once trigger has been called thiscall will always return immediately . concode_field_sep boolean triggered concode_elem_sep Object lock concode_field_sep void trigger | void function ( ) { synchronized ( lock ) { while ( ! triggered ) { lock . wait ( ) ; } } } |
33,326 | setter concode_field_sep Timestamp executedAt concode_elem_sep String name concode_elem_sep int ID concode_field_sep String getName concode_elem_sep void setID concode_elem_sep int getID concode_elem_sep Timestamp getExecutedAt concode_elem_sep void setExecutedAt | void function ( String arg0 ) { this . name = arg0 ; } |
33,327 | adds a new user at the database . concode_field_sep boolean changed concode_elem_sep String name concode_elem_sep Hashtable contact_list concode_elem_sep String filename concode_elem_sep Hashtable users concode_field_sep NameAddress getUserContactNameAddress concode_elem_sep String getName concode_elem_sep String getNa... | Repository function ( String arg0 ) { if ( hasUser ( arg0 ) ) return this ; UserBindingInfo loc0 = new UserBindingInfo ( arg0 ) ; users . put ( arg0 , loc0 ) ; changed = true ; return this ; } |
33,328 | get whether to validate a client public key or certificate presented as part of a usekey element . this is true by default . concode_field_sep Object encryptionCryptoProperties concode_elem_sep Bus bus concode_elem_sep Crypto signatureCrypto concode_elem_sep SignatureProperties signatureProperties concode_elem_sep Logg... | boolean function ( ) { return validateUseKey ; } |
33,329 | called when the web application is being destroyed . calls filecleaningtracker #exitwhenfinished . concode_field_sep String FILE_CLEANING_TRACKER_ATTRIBUTE concode_field_sep FileCleaningTracker getFileCleaningTracker concode_elem_sep void setFileCleaningTracker concode_elem_sep void contextInitialized | void function ( ServletContextEvent arg0 ) { getFileCleaningTracker ( arg0 . getServletContext ( ) ) . exitWhenFinished ( ) ; } |
33,330 | sets the value of the newbnfcryiban property . concode_field_sep String bnfcryBic concode_elem_sep String newBnfcryIban concode_elem_sep String bnfcryIban concode_field_sep void setBnfcryBic concode_elem_sep String getBnfcryIban concode_elem_sep void setBnfcryIban concode_elem_sep String getBnfcryBic concode_elem_sep S... | void function ( String arg0 ) { this . newBnfcryIban = arg0 ; } |
33,331 | find the the parameters resulting in the minimal results for a given evaluation measure using k-fold cross-validation . the recommender will be set to the best parameter value after calling this method . concode_field_sep PlaceHolder placeHolder concode_field_sep double findMinimumExponential concode_elem_sep double fi... | double function ( String arg0 , String arg1 , double [ ] arg2 , RatingPredictor arg3 , int arg4 ) { IRatings loc0 = arg3 . getRatings ( ) ; RatingCrossValidationSplit loc1 = new RatingCrossValidationSplit ( loc0 , arg4 ) ; double loc2 = findMinimum ( arg0 , arg1 , arg2 , arg3 , loc1 ) ; arg3 . setRatings ( loc0 ) ; ret... |
33,332 | check if a given datanode specified by uuid is removed . removed means the datanode is no longer present in heartbeatmanager and networktopology . concode_field_sep PlaceHolder placeHolder concode_field_sep void updateState concode_elem_sep int checkHeartbeatAndGetUnderReplicatedBlocksCount concode_elem_sep int getNumb... | boolean function ( NameNode arg0 , String arg1 ) { final DatanodeManager loc0 = arg0 . getNamesystem ( ) . getBlockManager ( ) . getDatanodeManager ( ) ; return ! loc0 . getNetworkTopology ( ) . contains ( loc0 . getDatanode ( arg1 ) ) ; } |
33,333 | returns all available messages . concode_field_sep Log log concode_elem_sep MutableMessageSource activeMessageSource concode_elem_sep Set<MutableMessageSource> availableMessageSources concode_field_sep MutableMessageSource getActiveMessageSource concode_elem_sep void removePresentation concode_elem_sep Collection<Prese... | Collection < PresentationMessage > function ( ) { return activeMessageSource . getPresentations ( ) ; } |
33,334 | get the visual component for the panel . in this template , the component is kept separate . this can be more efficient : if the wizard is created but never displayed , or not all panels are displayed , it is better to create only those which really need to be visible . concode_field_sep String knownBadPath concode_ele... | AddImageWizardChooseDataSourceVisual function ( ) { if ( component == null ) { component = new AddImageWizardChooseDataSourceVisual ( this ) ; } component . addPropertyChangeListener ( this ) ; return component ; } |
33,335 | whether the given @linkplain methodparameter method parameter is supported by any registered handlermethodargumentresolver . concode_field_sep Map<MethodParameter,HandlerMethodArgumentResolver> argumentResolverCache concode_elem_sep List<HandlerMethodArgumentResolver> argumentResolvers concode_field_sep HandlerMethodAr... | boolean function ( MethodParameter arg0 ) { return getArgumentResolver ( arg0 ) != null ; } |
33,336 | written concode_field_sep ClientStub client concode_field_sep void testMesg_IdealToActualUser concode_elem_sep void testMesgNoParameterOrSpace concode_elem_sep void testMesgWithUnicodeParams concode_elem_sep void setUpBeforeClass concode_elem_sep void testMesgParameterEmptyString concode_elem_sep void testMesgWithMulti... | void function ( ) { client . sendMessage ( "srini_string" ) ; assertEquals ( "srini_string" , "srini_string" , client . getLastServerResponse ( ) ) ; } |
33,337 | sets the value of the name property . concode_field_sep String groupId concode_elem_sep String module concode_elem_sep String name concode_elem_sep String artifactId concode_elem_sep String version concode_field_sep String getVersion concode_elem_sep String getModule concode_elem_sep void setGroupId concode_elem_sep vo... | void function ( final String arg0 ) { this . name = arg0 ; } |
33,338 | sets the value of the usagebucket property . concode_field_sep BucketType usageBucket concode_elem_sep BigDecimal price concode_elem_sep String name concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep XMLGregorianCalendar effectiveDate concode_elem_sep XMLGregorianCalendar expira... | void function ( BucketType arg0 ) { this . usageBucket = arg0 ; } |
33,339 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep Integer number concode_elem_sep Boolean hasContent concode_elem_sep Integer previousPage concode_elem_sep Integer numberOfElements concode_elem_sep Boolean hasNextPage concode_elem_sep Boolean last concode_e... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
33,340 | adjustsizes concode_field_sep int maximum concode_elem_sep float alignment concode_elem_sep int minimum concode_elem_sep int preferred concode_field_sep SizeRequirements getTiledSizeRequirements concode_elem_sep void calculateTiledPositions concode_elem_sep SizeRequirements getAlignedSizeRequirements concode_elem_sep S... | int [ ] function ( int arg0 , SizeRequirements [ ] arg1 ) { return null ; } |
33,341 | gets the value of the othervalues property . concode_field_sep CRLValuesType crlValues concode_elem_sep OtherCertStatusValuesType otherValues concode_elem_sep OCSPValuesType ocspValues concode_elem_sep String id concode_field_sep CRLValuesType getCRLValues concode_elem_sep void setCRLValues concode_elem_sep void setOCS... | OtherCertStatusValuesType function ( ) { return otherValues ; } |
33,342 | called when a rendering is in its preparing phase . concode_field_sep PlaceHolder placeHolder concode_field_sep void gvtRenderingCompleted concode_elem_sep void gvtRenderingStarted concode_elem_sep void gvtRenderingCancelled concode_elem_sep void gvtRenderingFailed | void function ( GVTTreeRendererEvent arg0 ) { } |
33,343 | install a mousewheelcurrentpagelistener as a mousewheellistener concode_field_sep JScrollPane scrollpane concode_elem_sep CurrentPageChanger currentPageChanger concode_elem_sep boolean calculatingCurrentPage concode_field_sep void uninstall concode_elem_sep void mouseWheelMoved | Object function ( JScrollPane arg0 , CurrentPageChanger arg1 ) { MouseWheelCurrentPageListener loc0 = null ; if ( arg0 != null && arg1 != null ) { loc0 = new MouseWheelCurrentPageListener ( arg0 , arg1 ) ; arg0 . addMouseWheelListener ( loc0 ) ; } return loc0 ; } |
33,344 | performs a dynamic query on the database and returns a range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.l... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 ) ; } |
33,345 | called after plugin construction and fields have been initialized . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String id concode_field_sep boolean onOverrideUrlLoading concode_elem_sep void onDestroy concode_elem_se... | void function ( ) { } |
33,346 | creates a new fullident starting from the specified node . concode_field_sep int lineNo concode_elem_sep List<String> elements concode_elem_sep int colNo concode_field_sep String getText concode_elem_sep int getLineNo concode_elem_sep void extractFullIdent concode_elem_sep String toString concode_elem_sep int getColumn... | FullIdent function ( DetailAST arg0 ) { final FullIdent loc0 = new FullIdent ( ) ; extractFullIdent ( loc0 , arg0 ) ; return loc0 ; } |
33,347 | returns the length of the word resulting from the stemming process . concode_field_sep int i_end concode_elem_sep char[] b concode_elem_sep int INC concode_elem_sep int i concode_elem_sep int j concode_elem_sep int k concode_field_sep void add concode_elem_sep void add concode_elem_sep void step6 concode_elem_sep void ... | int function ( ) { return i_end ; } |
33,348 | 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 ; } |
33,349 | convert a 0-255 scale value to a percent type . concode_field_sep PlaceHolder placeHolder concode_field_sep int getOutputValue concode_elem_sep int calculateWhite concode_elem_sep int getByteFromPercentType concode_elem_sep int capDmxValue | PercentType function ( int arg0 ) { return new PercentType ( BigDecimal . valueOf ( arg0 ) . multiply ( BigDecimal . valueOf ( 100 ) ) . divide ( BigDecimal . valueOf ( DmxChannel . DMX_MAX_VALUE ) , 0 , BigDecimal . ROUND_UP ) . intValue ( ) ) ; } |
33,350 | getter for action concode_field_sep String note concode_elem_sep String preferredPrefix concode_elem_sep String profileID concode_elem_sep StatusChangeActionType action concode_elem_sep String nameSpace concode_field_sep String toXMLString concode_elem_sep void setProfileID concode_elem_sep void setAction concode_elem_... | StatusChangeActionType function ( ) { return action ; } |
33,351 | to set resource name . concode_field_sep ExecutionService executionService concode_elem_sep Logger LOGGER concode_elem_sep String processDefinitionId concode_elem_sep String deploymentId concode_elem_sep String processKey concode_elem_sep String resourceName concode_elem_sep RepositoryService repositoryService concode_... | void function ( String arg0 ) { this . resourceName = arg0 ; } |
33,352 | rsfork can route by the accept header . concode_field_sep PlaceHolder placeHolder concode_field_sep void negotiatesContent concode_elem_sep void negotiatesContentWithoutAccept | void function ( ) { final Request loc0 = new RqFake ( Arrays . asList ( "srini_string" , "srini_string" ) , "srini_string" ) ; MatcherAssert . assertThat ( new RsPrint ( new RsFork ( loc0 , new FkTypes ( "srini_string" , new RsText ( "srini_string" ) ) ) ) . printBody ( ) , Matchers . endsWith ( "srini_string" ) ) ; } |
33,353 | only returns true if the expression is a wildcard . concode_field_sep boolean addedToFilter concode_field_sep String getSchemaName concode_elem_sep String getColumnName concode_elem_sep Expression getNonAliasExpression concode_elem_sep String getSQL concode_elem_sep boolean isValueSet concode_elem_sep boolean isAutoInc... | boolean function ( ) { return false ; } |
33,354 | gets the value of the id property . concode_field_sep List<Library> library concode_elem_sep SecurityPermissions securityPermissions concode_elem_sep Description description concode_elem_sep String id concode_field_sep List<Library> getLibrary concode_elem_sep void setSecurityPermissions concode_elem_sep void setId con... | String function ( ) { return id ; } |
33,355 | returns a matcher that verifies that the drawer with gravity start is closed . matches only when the drawer is fully closed . use #isopen instead of not isclosed when you wish to check that the drawer is fully open . concode_field_sep PlaceHolder placeHolder concode_field_sep Matcher<View> isOpen concode_elem_sep Match... | Matcher < View > function ( ) { return isClosed ( GravityCompat . START ) ; } |
33,356 | find the previous sibling in the parent for the given child . concode_field_sep FilterPredicate predicate concode_elem_sep List collectedNodes concode_field_sep AST getLastSibling concode_elem_sep AST findTypeInChildren concode_elem_sep String getPathText concode_elem_sep void getPathText concode_elem_sep String getTok... | AST function ( AST arg0 , AST arg1 ) { AST loc0 = null ; AST loc1 = arg0 . getFirstChild ( ) ; while ( loc1 != null ) { if ( loc1 == arg1 ) { return loc0 ; } loc0 = loc1 ; loc1 = loc1 . getNextSibling ( ) ; } throw new IllegalArgumentException ( "srini_string" ) ; } |
33,357 | systemid returns the system id of the current context node . concode_field_sep PlaceHolder placeHolder concode_field_sep int columnNumber concode_elem_sep int columnNumber concode_elem_sep int lineNumber concode_elem_sep int lineNumber concode_elem_sep String publicId concode_elem_sep String publicId | String function ( ExpressionContext arg0 ) { Node loc0 = arg0 . getContextNode ( ) ; int loc1 = ( ( DTMNodeProxy ) loc0 ) . getDTMNodeNumber ( ) ; SourceLocator loc2 = ( ( DTMNodeProxy ) loc0 ) . getDTM ( ) . getSourceLocatorFor ( loc1 ) ; if ( loc2 != null ) return loc2 . getSystemId ( ) ; else return null ; } |
33,358 | sets the algorithm parameter the method sets value of the particular parameter . some of the algorithm parameters may be declared as read-only . if you try to set such a parameter , you will get exception with the corresponding error message . concode_field_sep long nativeObj concode_field_sep void setMatVector_0 conco... | void function ( String arg0 , double arg1 ) { setDouble_0 ( nativeObj , arg0 , arg1 ) ; return ; } |
33,359 | restores the annotation state in this instance to the annotation specified as a param . this method is ment to bue used in concode_field_sep AnnotationComponent annotationComponent concode_elem_sep Rectangle2D.Float userSpaceRectangle concode_field_sep void apply concode_elem_sep void synchronizeState | void function ( Annotation arg0 ) { if ( arg0 . getBorderStyle ( ) == null ) { arg0 . setBorderStyle ( new BorderStyle ( ) ) ; } arg0 . setUserSpaceRectangle ( userSpaceRectangle ) ; } |
33,360 | gets effect for shopping cart . concode_field_sep StoreTable storeTable concode_elem_sep Random random concode_elem_sep Effect cartEffect concode_elem_sep ArrayList purchasedList concode_field_sep String getItemString concode_elem_sep ArrayList getPurchasedList concode_elem_sep void setCartEffect concode_elem_sep Strin... | Effect function ( ) { return cartEffect ; } |
33,361 | total number of shards in the cluster concode_field_sep int minIndexShards concode_elem_sep String AVG concode_elem_sep String MAX concode_elem_sep SegmentsStats segments concode_elem_sep int primaries concode_elem_sep int maxIndexShards concode_elem_sep int total concode_elem_sep String REPLICATION concode_elem_sep Do... | int function ( ) { return this . total ; } |
33,362 | gets the simple name without the package of the given class or null if the class is null . concode_field_sep PlaceHolder placeHolder concode_field_sep String name concode_elem_sep Class<?> relativeClass | String function ( Class < ? > arg0 ) { String loc0 = null ; if ( arg0 != null ) { while ( arg0 . isAnonymousClass ( ) ) { arg0 = arg0 . getSuperclass ( ) ; } loc0 = arg0 . getSimpleName ( ) ; } return loc0 ; } |
33,363 | gets the authentication success map . concode_field_sep Principal principal concode_elem_sep List<CredentialMetaData> credentials concode_elem_sep Map<String,Class<? extends Exception>> failures concode_elem_sep Map<String,Object> attributes concode_elem_sep Date authenticationDate concode_elem_sep Map<String,HandlerRe... | Map < String , HandlerResult > function ( ) { return this . successes ; } |
33,364 | smooth out the values in the table by using a moving average window . concode_field_sep float lengthForValue concode_elem_sep float[] waveform concode_field_sep void set concode_elem_sep void offset concode_elem_sep void invert concode_elem_sep void setWaveform concode_elem_sep void scale concode_elem_sep float[] getWa... | void function ( int arg0 ) { if ( arg0 < 1 ) return ; float [ ] loc0 = ( float [ ] ) waveform . clone ( ) ; for ( int loc1 = arg0 ; loc1 < waveform . length ; loc1 ++ ) { float loc2 = 0 ; for ( int loc3 = loc1 - arg0 ; loc3 <= loc1 ; loc3 ++ ) { loc2 += loc0 [ loc3 ] / arg0 ; } waveform [ loc1 ] = loc2 ; } } |
33,365 | asserts that an object is n't null . if it is an assertionfailederror is thrown with the given message . concode_field_sep PlaceHolder placeHolder concode_field_sep void fail concode_elem_sep void fail concode_elem_sep void assertNull concode_elem_sep void assertNull concode_elem_sep void assertTrue concode_elem_sep vo... | void function ( String arg0 , Object arg1 ) { assertTrue ( arg0 , arg1 != null ) ; } |
33,366 | gets the polygon object that represents the time zone on the image map . concode_field_sep Polygon mapPolygon concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep boolean isRelevantComponentId concode_elem_sep String getId concode_elem_sep String getMapCommandButtonId | Polygon function ( ) { return mapPolygon ; } |
33,367 | the name of the api 's stage . concode_field_sep String basePath concode_elem_sep String stage concode_elem_sep String restApiId concode_field_sep String getStage concode_elem_sep String getBasePath concode_elem_sep int hashCode concode_elem_sep void setRestApiId concode_elem_sep boolean equals concode_elem_sep UpdateB... | UpdateBasePathMappingResult function ( String arg0 ) { setStage ( arg0 ) ; return this ; } |
33,368 | gets the value of the operation property . concode_field_sep String service concode_elem_sep String description concode_elem_sep String definition concode_elem_sep long serialVersionUID concode_elem_sep String source concode_elem_sep String operation concode_elem_sep String responseCode concode_field_sep String getDefi... | String function ( ) { return operation ; } |
33,369 | method to randomly select an html color code from a preset list eg : #c62fd5 concode_field_sep String DEFAULT_COLOR concode_elem_sep Vector colorList concode_elem_sep boolean stamp concode_elem_sep String[] ALL_COLORS concode_elem_sep ChatState singleton concode_elem_sep Random generator concode_elem_sep Vector userLis... | String function ( ) { if ( colorList . size ( ) <= 0 ) { colorList = new Vector ( Arrays . asList ( ALL_COLORS ) ) ; } return "srini_string" + colorList . remove ( generator . nextInt ( colorList . size ( ) ) ) . toString ( ) ; } |
33,370 | returns the ke hoach ve sinh xa new with the primary key or throws a vn.dtt.sol.ns.vesinhmoitruong.dao.nosuchkehoachvesinhxanewexception if it could not be found . concode_field_sep keHoachVeSinhXaNewPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheRes... | vn . dtt . sol . ns . vesinhmoitruong . dao . model . keHoachVeSinhXaNew function ( int arg0 ) { return getPersistence ( ) . findByPrimaryKey ( arg0 ) ; } |
33,371 | submits the given runnable to the given executor catching and logging all @linkplain runtimeexception runtime exceptions thrown by the executor . concode_field_sep RunnableExecutorPair next concode_elem_sep Runnable runnable concode_elem_sep Executor executor concode_elem_sep Logger log concode_elem_sep boolean execute... | void function ( Runnable arg0 , Executor arg1 ) { try { arg1 . execute ( arg0 ) ; } catch ( RuntimeException loc0 ) { log . log ( Level . SEVERE , "srini_string" + arg0 + "srini_string" + arg1 , loc0 ) ; } } |
33,372 | returns the value of the isettingspage #key_monitor_density setting concode_field_sep Settings mSettings concode_elem_sep ISettingsPage mSettingsPage concode_elem_sep List<OnChangedListener> mChangedListeners concode_elem_sep String SETTINGS_FILENAME concode_elem_sep ILogger mSdkLog concode_elem_sep IFileOp mFileOp con... | int function ( ) { String loc0 = mProperties . getProperty ( ISettingsPage . KEY_MONITOR_DENSITY , null ) ; if ( loc0 == null ) { return - 1 ; } try { return Integer . parseInt ( loc0 ) ; } catch ( NumberFormatException loc1 ) { return - 1 ; } } |
33,373 | the status of the action . concode_field_sep String status concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep DeleteHapgResult clone concode_elem_sep String toString concode_elem_sep String getStatus concode_elem_sep void setStatus | DeleteHapgResult function ( String arg0 ) { setStatus ( arg0 ) ; return this ; } |
33,374 | returns the text representation of the text without providing any style . concode_field_sep Message errorText concode_elem_sep Message doneText concode_elem_sep String SPACE concode_field_sep Message getFormattedWarning concode_elem_sep Message getFormattedWithPoints concode_elem_sep Message getFormattedAfterUrlClick c... | Message function ( Message arg0 ) { return arg0 ; } |
33,375 | get the source cluster retention limit . concode_field_sep String targetClusterEnd concode_elem_sep String sourceClusterAction concode_elem_sep String sourceClusterLimit concode_elem_sep String description concode_elem_sep String targetClusterAction concode_elem_sep String sourceClusterEnd concode_elem_sep String targe... | String function ( ) { return sourceClusterLimit ; } |
33,376 | checks validity of chmaccessor parameters concode_field_sep PlaceHolder placeHolder concode_field_sep void assertCopyingDataIndex concode_elem_sep void assertPositiveInt concode_elem_sep void assertInputStreamNotNull concode_elem_sep void assertByteArrayNotNull concode_elem_sep void assertChmBlockSegment concode_elem_s... | void function ( byte [ ] arg0 , ChmAccessor < ? > arg1 , int arg2 ) { assertByteArrayNotNull ( arg0 ) ; assertChmAccessorNotNull ( arg1 ) ; } |
33,377 | gets the textual description concode_field_sep Orientation HORIZONTAL concode_elem_sep Orientation MINUS_45 concode_elem_sep Orientation VERTICAL concode_elem_sep Orientation STACKED concode_elem_sep String string concode_elem_sep Orientation PLUS_90 concode_elem_sep Orientation PLUS_45 concode_elem_sep int value conco... | String function ( ) { return string ; } |
33,378 | clears the extra labels for the specified series . concode_field_sep Map seriesLabelLists concode_elem_sep String formatPattern concode_elem_sep String DEFAULT_LABEL_FORMAT concode_elem_sep long serialVersionUID concode_elem_sep String additionalFormatPattern concode_field_sep int hashCode concode_elem_sep boolean equa... | void function ( int arg0 ) { Integer loc0 = new Integer ( arg0 ) ; this . seriesLabelLists . put ( loc0 , null ) ; } |
33,379 | make #run execute operation , but not return the evaluated tensor . concode_field_sep List<Tensor> outputs concode_elem_sep byte[] metadata concode_elem_sep long nativeHandle concode_elem_sep byte[] runOptions concode_elem_sep Graph.Reference graphRef concode_elem_sep int numActiveRuns concode_elem_sep ArrayList<Operat... | Runner function ( String arg0 ) { Operation loc0 = operationByName ( arg0 ) ; if ( loc0 != null ) { targets . add ( loc0 ) ; } return this ; } |
33,380 | convert a java object to a ruby object . concode_field_sep Node node concode_elem_sep Ruby runtime concode_field_sep Object rubyToJava concode_elem_sep Object rubyToJava concode_elem_sep RubyObjectAdapter newObjectAdapter concode_elem_sep IRubyObject run concode_elem_sep IRubyObject run concode_elem_sep Ruby initialize... | IRubyObject function ( Ruby arg0 , Object arg1 ) { if ( arg1 instanceof IRubyObject ) return ( IRubyObject ) arg1 ; IRubyObject loc0 = JavaUtil . convertJavaToUsableRubyObject ( arg0 , arg1 ) ; return loc0 instanceof JavaObject ? Java . wrap ( arg0 , loc0 ) : loc0 ; } |
33,381 | get an immutable list of rules that will always be used when running logical planning . this can not be a static singleton because some of the rules need to reference state owned by the current query including its allocator . if a logical rule needs to be user configurable , such as turning it on and off with a system/... | RuleSet function ( OptimizerRulesContext arg0 ) { final ImmutableSet < RelOptRule > loc0 = ImmutableSet . < RelOptRule > builder ( ) . addAll ( staticRuleSet ) . add ( DrillMergeProjectRule . getInstance ( true , RelFactories . DEFAULT_PROJECT_FACTORY , arg0 . getFunctionRegistry ( ) ) ) . build ( ) ; return new DrillR... |
33,382 | computes a score by checking the value of the ' $ format ' parameter if present against a required media type . concode_field_sep int CONTENT_TYPE_HEADER concode_elem_sep String ODATA_VERSION_HEADER concode_elem_sep Logger LOG concode_elem_sep int WILDCARD_MATCH_SCORE concode_elem_sep int DELETE_LINK_SCORE concode_elem... | int function ( Option < FormatOption > arg0 , MediaType arg1 ) { if ( ! arg0 . isDefined ( ) ) { return DEFAULT_SCORE ; } if ( arg0 . get ( ) . mediaType ( ) . matches ( arg1 ) ) { return MAXIMUM_FORMAT_SCORE ; } return DEFAULT_SCORE ; } |
33,383 | skip len number of bytes in input streamin concode_field_sep PlaceHolder placeHolder concode_field_sep int writeCompressedString concode_elem_sep String[] readCompressedStringArray concode_elem_sep int decodeVIntSize concode_elem_sep void writeStringArray concode_elem_sep int readVInt concode_elem_sep String readCompre... | void function ( DataInput arg0 , int arg1 ) { int loc0 = 0 ; int loc1 = 0 ; while ( ( loc0 < arg1 ) && ( ( loc1 = arg0 . skipBytes ( arg1 - loc0 ) ) > 0 ) ) { loc0 += loc1 ; } if ( loc0 < arg1 ) { throw new IOException ( "srini_string" + arg1 + "srini_string" + "srini_string" ) ; } } |
33,384 | refresh the repository from the url . concode_field_sep String date concode_elem_sep Exception exception concode_elem_sep Set resources concode_elem_sep String name concode_elem_sep int ranking concode_elem_sep long lastModified concode_elem_sep Resource[] EMPTY_RESOURCE concode_elem_sep URL url concode_elem_sep Set vi... | boolean function ( ) { exception = null ; try { resources . clear ( ) ; parseDocument ( url ) ; visited = null ; return true ; } catch ( Exception loc0 ) { exception = loc0 ; } return false ; } |
33,385 | sets a long value in the object . concode_field_sep Bundle bundle concode_elem_sep Bundle bundle concode_field_sep E putStringArrayList concode_elem_sep SharePhoto getPhoto concode_elem_sep E putPhotoArrayList concode_elem_sep E putDoubleArray concode_elem_sep double getDouble concode_elem_sep E putDouble concode_elem_... | E function ( final String arg0 , final long arg1 ) { this . bundle . putLong ( arg0 , arg1 ) ; return ( E ) this ; } |
33,386 | gets the dynamic time through the formatcurrenttime method in the timezonebean . concode_field_sep boolean currentlyShowing concode_elem_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String abbreviation concode_elem_sep String mapCommandButtonId concode_field_... | String function ( ) { return TimeZoneBean . formatCurrentTime ( dateFormat ) ; } |
33,387 | get the aggregated value that an aggregator computed in the previous iteration . concode_field_sep IterationRuntimeContext runtimeContext concode_elem_sep long numberOfVertices concode_field_sep void postSuperstep concode_elem_sep void init concode_elem_sep T getIterationAggregator concode_elem_sep int getSuperstepNumb... | T function ( String arg0 ) { return this . runtimeContext . < T > getPreviousIterationAggregate ( arg0 ) ; } |
33,388 | should not newpair remote object factory when user is invalid . concode_field_sep RemoteObjectServer server concode_field_sep void shouldGetErrorOnMethodMarkedAsUnsupported concode_elem_sep void shouldCreateRemoteObjectFactory concode_elem_sep void shouldInvokeAnMethod concode_elem_sep void shouldGetListItem concode_el... | void function ( ) { new RemoteObjectFactory ( "srini_string" , 7070 , "srini_string" , "srini_string" ) ; } |
33,389 | iterates over the children and children 's children to check if a figure is a direct child or indirect child of the given parent . concode_field_sep String TREE_NODE_POSITION concode_elem_sep String TREE_NODE_PARENT_URI concode_elem_sep String TREE_LAYOUT_ANNOTATION concode_field_sep int getTreeNodePosition concode_ele... | boolean function ( IFigure arg0 , IFigure arg1 ) { boolean loc0 = false ; for ( Object loc1 : arg0 . getChildren ( ) ) { if ( loc1 == arg1 ) { return true ; } if ( loc1 instanceof IFigure ) { loc0 = isChildFigure ( ( IFigure ) loc1 , arg1 ) ; if ( loc0 ) { break ; } } } return loc0 ; } |
33,390 | moves to after last . concode_field_sep ResultSetImpl owner concode_elem_sep ServerPreparedStatement prepStmt concode_elem_sep Field[] metadata concode_elem_sep boolean wasEmpty concode_elem_sep boolean lastRowFetched concode_elem_sep List<ResultSetRow> fetchedRows concode_elem_sep int BEFORE_START_OF_ROWS concode_elem... | void function ( ) { notSupported ( ) ; } |
33,391 | sets the value of the mustunderstand property . concode_field_sep String actor concode_elem_sep Boolean mustUnderstand concode_elem_sep String value concode_field_sep String getValue concode_elem_sep Boolean isMustUnderstand concode_elem_sep void setActor concode_elem_sep void setValue concode_elem_sep String getActor | void function ( Boolean arg0 ) { this . mustUnderstand = arg0 ; } |
33,392 | set the jms acknowledgement mode to use . concode_field_sep boolean pubSubDomain concode_elem_sep String clientId concode_elem_sep MessageConverter messageConverter concode_elem_sep int maxConcurrency concode_elem_sep String messageSelector concode_elem_sep boolean subscriptionShared concode_elem_sep int prefetchSize c... | void function ( int arg0 ) { this . acknowledgeMode = arg0 ; } |
33,393 | get the identity portion of this uid . concode_field_sep MuLong COUNTER concode_elem_sep long time concode_elem_sep long id concode_field_sep long getTime concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep String toString concode_elem_sep String asString | long function ( ) { return id ; } |
33,394 | returns the next season . concode_field_sep Calendar spring concode_elem_sep SeasonName name concode_elem_sep Calendar winter concode_elem_sep Calendar autumn concode_elem_sep Calendar summer concode_field_sep void setName concode_elem_sep void setAutumn concode_elem_sep SeasonName getName concode_elem_sep void setSpri... | Calendar function ( ) { return DateTimeUtils . getNext ( spring , summer , autumn , winter ) ; } |
33,395 | take a json file plist exported as json format localizable.strings and loads its content . concode_field_sep Form norme concode_elem_sep String folder concode_elem_sep Map<String,String> content concode_elem_sep AppleLanguage language concode_elem_sep Logger log concode_field_sep AppleLanguage getLanguage concode_elem_... | void function ( JSONObject arg0 ) { this . content . putAll ( convertToMap ( arg0 ) ) ; } |
33,396 | starts or resumes the time count . concode_field_sep StopWatch watch concode_elem_sep State state concode_field_sep TimeCounter stop concode_elem_sep long getTime concode_elem_sep long getNanoTime concode_elem_sep TimeCounter create concode_elem_sep String toString | TimeCounter function ( ) { switch ( state ) { case UNSTARTED : watch . start ( ) ; break ; case RUNNING : throw new IllegalStateException ( "srini_string" ) ; case STOPPED : watch . resume ( ) ; } state = State . RUNNING ; return this ; } |
33,397 | uses the platform default encoding . concode_field_sep File file concode_field_sep String head concode_elem_sep String readTrim concode_elem_sep String read concode_elem_sep boolean exists concode_elem_sep String toString concode_elem_sep Iterable<String> lines concode_elem_sep void delete concode_elem_sep void write | String function ( int arg0 ) { return fastTail ( arg0 , Charset . defaultCharset ( ) ) ; } |
33,398 | approximates the circumference of this ellipse . oddly enough , the circumference of an ellipse is actually difficult to compute exactly . concode_field_sep long serialVersionUID concode_elem_sep float x concode_elem_sep float width concode_elem_sep float y concode_elem_sep float height concode_field_sep float area con... | float function ( ) { float loc0 = this . width / 2 ; float loc1 = this . height / 2 ; if ( loc0 * 3 > loc1 || loc1 * 3 > loc0 ) { return ( float ) ( MathUtils . PI * ( ( 3 * ( loc0 + loc1 ) ) - Math . sqrt ( ( 3 * loc0 + loc1 ) * ( loc0 + 3 * loc1 ) ) ) ) ; } else { return ( float ) ( MathUtils . PI2 * Math . sqrt ( ( ... |
33,399 | sets the landingpageid value for this clickthroughurl . concode_field_sep boolean defaultLandingPageUsed concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep long landingPageId concode_elem_sep java.lang.String customClickThroughUrl concode_elem_sep org.apache.axis.des... | void function ( long arg0 ) { this . landingPageId = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.