idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
2,500 | sets a regular expression that pages have to match . % for any number of arbitrary characters can only be used at the end of a string _ for a single arbitrary character can also be used inside a string concode_field_sep int maxOutdegree concode_elem_sep String titlePattern concode_elem_sep int maxCategories concode_ele... | void function ( String arg0 ) { this . titlePattern = arg0 ; } |
2,501 | return an inputstream for the given file . concode_field_sep AdvancedPlayer player concode_field_sep void setupPlayer concode_elem_sep AudioDevice createAudioDevice concode_elem_sep void stop concode_elem_sep void reportProblem concode_elem_sep void killPlayer concode_elem_sep void startPlaying concode_elem_sep void pl... | InputStream function ( String arg0 ) { return new BufferedInputStream ( new FileInputStream ( arg0 ) ) ; } |
2,502 | returns the font type . concode_field_sep float strokeWidth concode_elem_sep String fontName concode_elem_sep String weight concode_elem_sep int paintType concode_elem_sep float underlinePosition concode_elem_sep String notice concode_elem_sep int blueShift concode_elem_sep float blueScale concode_elem_sep List<Number>... | int function ( ) { return fontType ; } |
2,503 | implements value #getstringvalue . concode_field_sep PlaceHolder placeHolder concode_field_sep Value item concode_elem_sep Value getBottom concode_elem_sep DOMException createDOMException concode_elem_sep Value getBlue concode_elem_sep short getCssValueType concode_elem_sep Value getRed concode_elem_sep Value getGreen ... | String function ( ) { throw createDOMException ( ) ; } |
2,504 | apstud-4647 concode_field_sep JSFlexScanner _scanner concode_field_sep void testSubtract concode_elem_sep void testInteger concode_elem_sep void testVar concode_elem_sep void testDo concode_elem_sep void testModAssign concode_elem_sep void testInstanceEquality concode_elem_sep void testBitwiseAndAssign concode_elem_sep... | void function ( ) { assertTokenTypes ( "srini_string" , JSTokenType . VAR , JSTokenType . IDENTIFIER , JSTokenType . EQUAL , JSTokenType . REGEX , JSTokenType . SEMICOLON ) ; } |
2,505 | checks that file exists . concode_field_sep String downloadFolder concode_elem_sep String DOWNLOAD_LINK concode_elem_sep String DOWNLOAD_URL_PATTERN concode_field_sep String copyToWorkDir concode_elem_sep String fileName concode_elem_sep String getIgnite concode_elem_sep String downloadIgnite concode_elem_sep String do... | boolean function ( String arg0 ) { String loc0 = downloadFolder + ( downloadFolder . endsWith ( "srini_string" ) ? "srini_string" : '/' ) + arg0 ; return new File ( loc0 ) . exists ( ) ; } |
2,506 | enable management of deployed beans ; default false concode_field_sep int classLoader concode_elem_sep String configuration concode_elem_sep boolean usePlatformMBeanServer concode_elem_sep boolean beanManagement concode_elem_sep int remotePort concode_elem_sep DeploymentOrder deploymentOrder concode_elem_sep String rep... | KernelConfiguration function ( boolean arg0 ) { this . beanManagement = arg0 ; return this ; } |
2,507 | all a list of domains into the existing domain list concode_field_sep List<TimelineDomain> domains concode_field_sep void setDomains concode_elem_sep List<TimelineDomain> getDomains concode_elem_sep void addDomain | void function ( List < TimelineDomain > arg0 ) { this . domains . addAll ( arg0 ) ; } |
2,508 | returns a value . concode_field_sep long serialVersionUID concode_elem_sep ArrayList keys concode_elem_sep ArrayList values concode_elem_sep HashMap indexMap concode_field_sep void sortByValues concode_elem_sep Comparable getKey concode_elem_sep int getIndex concode_elem_sep void rebuildIndex concode_elem_sep void sort... | Number function ( int arg0 ) { return ( Number ) this . values . get ( arg0 ) ; } |
2,509 | returns the bundle context of this bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
2,510 | returns the company id of this subscription . concode_field_sep Subscription _subscription concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_ele... | long function ( ) { return _subscription . getCompanyId ( ) ; } |
2,511 | get the unique id number of the entity which scheduled this event . concode_field_sep double endWaitingTime concode_elem_sep int HOLD_DONE concode_elem_sep int entSrc concode_elem_sep Object data concode_elem_sep int CREATE concode_elem_sep int ENULL concode_elem_sep int entDst concode_elem_sep int etype concode_elem_s... | int function ( ) { return entSrc ; } |
2,512 | retrieves the canonical path for the given path , or the absolute path if attemting to retrieve the canonical path fails . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgn... | String function ( String arg0 ) { try { return canonicalPath ( arg0 ) ; } catch ( Exception loc0 ) { return absolutePath ( arg0 ) ; } } |
2,513 | return true if the created parttree is meant to be used for delete operation . concode_field_sep Pattern PREFIX_TEMPLATE concode_elem_sep String ORDER_BY concode_elem_sep String QUERY_PATTERN concode_elem_sep String DISTINCT concode_elem_sep Subject subject concode_elem_sep boolean count concode_elem_sep boolean distin... | Boolean function ( ) { return subject . isDelete ( ) ; } |
2,514 | sets the ip address and port to send the flight 's messages to . concode_field_sep int tries concode_elem_sep ScheduledFuture<?> retransmitTask concode_elem_sep int timeout concode_elem_sep DTLSSession session concode_elem_sep List<Record> messages concode_elem_sep InetSocketAddress peerAddress concode_elem_sep boolean... | void function ( InetSocketAddress arg0 ) { this . peerAddress = arg0 ; } |
2,515 | sets the documentation concode_field_sep String path concode_elem_sep boolean noOutput concode_elem_sep String documentation concode_elem_sep String name concode_elem_sep List<ShaderNodeVariable> outputs concode_elem_sep List<String> shadersLanguage concode_elem_sep List<ShaderNodeVariable> inputs concode_elem_sep Shad... | void function ( String arg0 ) { this . documentation = arg0 ; } |
2,516 | counterpart to java.util.collection.indexof . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean contains | int function ( Object [ ] arg0 , Object arg1 ) { for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { if ( arg0 [ loc0 ] . equals ( arg1 ) ) { return loc0 ; } } return - 1 ; } |
2,517 | gets the last element . concode_field_sep long[] arr concode_elem_sep long serialVersionUID concode_elem_sep int idx concode_field_sep boolean distinct concode_elem_sep GridLongList asList concode_elem_sep long remove concode_elem_sep void pop concode_elem_sep void truncate concode_elem_sep byte directType concode_elem... | long function ( ) { return arr [ idx - 1 ] ; } |
2,518 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep java.util.List<String> tableNames concode_elem_sep String lastEvaluatedTableName concode_field_sep ListTablesResult withLastEvaluatedTableName concode_elem_sep String getLastEvaluatedTableName concode_elem_sep void set... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( tableNames != null ) loc0 . append ( "srini_string" + tableNames + "srini_string" ) ; if ( lastEvaluatedTableName != null ) loc0 . append ( "srini_string" + lastEvaluatedTableName + "srini_string" ) ; loc0 . appen... |
2,519 | returns the asset with the primary key or returns null if it could not be found . concode_field_sep AssetPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<Asset> findWithDynamicQuery concode_elem_sep List<Asset> findWithDyna... | Asset function ( long arg0 ) { return getPersistence ( ) . fetchByPrimaryKey ( arg0 ) ; } |
2,520 | the type of entity that aws cloudformation changes . currently , the only entity type is resource . concode_field_sep ResourceChange resourceChange concode_elem_sep String type concode_field_sep String getType concode_elem_sep int hashCode concode_elem_sep ResourceChange getResourceChange concode_elem_sep boolean equal... | Change function ( ChangeType arg0 ) { setType ( arg0 ) ; return this ; } |
2,521 | sets the value of the lock property . concode_field_sep STExt ext concode_elem_sep Object parent concode_elem_sep CTTextbox textbox concode_elem_sep CTCallout callout concode_elem_sep STTrueFalse allowincell concode_elem_sep CTShadow shadow concode_elem_sep CTColorMru colormru concode_elem_sep STTrueFalse strokeToggle ... | void function ( CTLock arg0 ) { this . lock = arg0 ; } |
2,522 | returns the overall number of words in all blocks . concode_field_sep int numWords concode_elem_sep int numBlocks concode_field_sep float avgNumWords | int function ( ) { return numWords ; } |
2,523 | pop an array or object scope . concode_field_sep Mode mode concode_elem_sep Writable nullWritable concode_elem_sep boolean comma concode_elem_sep String string concode_elem_sep Stack<Mode> stack concode_elem_sep Writer writer concode_elem_sep Object o concode_field_sep JSONWriter valueNull concode_elem_sep JSONWriter e... | void function ( Mode arg0 ) { if ( this . stack . size ( ) == 0 || this . stack . pop ( ) != arg0 ) { throw new JSONException ( "srini_string" ) ; } if ( this . stack . size ( ) > 0 ) this . mode = this . stack . peek ( ) ; else this . mode = DONE ; } |
2,524 | add configuration kv-pair for gdal . unset a configuration option by specifying null or empty value . all values in the map are ensured not to be null or empty . concode_field_sep String crs concode_elem_sep char PS concode_elem_sep String CONFIG_PARAM concode_elem_sep String YMAX_PARAM concode_elem_sep char COKVS conc... | String function ( String arg0 , String arg1 ) { if ( null == arg0 || ! arg0 . isEmpty ( ) ) { if ( null == arg1 || ! arg1 . isEmpty ( ) ) { return configOptions . put ( arg0 , arg1 ) ; } else { return configOptions . remove ( arg0 ) ; } } return null ; } |
2,525 | the upper limit as a percentage of the service 's desiredcount of the number of running tasks that can be running in a service during a deployment . the maximum number of tasks during a deployment is the desiredcount multiplied by the maximumpercent/100 , rounded down to the nearest integer value . concode_field_sep In... | void function ( Integer arg0 ) { this . maximumPercent = arg0 ; } |
2,526 | 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 ) ; } |
2,527 | test of getfae method , of class conflito . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpClass concode_elem_sep void testSetFae concode_elem_sep void testSetCandidatura concode_elem_sep void tearDownClass concode_elem_sep void testGetCandidatura | void function ( ) { System . out . println ( "srini_string" ) ; Conflito loc0 = new Conflito ( ) ; FAE loc1 = new FAE ( ) ; loc0 . setFae ( loc1 ) ; FAE loc2 = loc1 ; FAE loc3 = loc0 . getFae ( ) ; assertEquals ( loc2 , loc3 ) ; } |
2,528 | gets affinity key used for key-to-node affinity calculation . this parameter is optional and is set only when deploying service based on key-affinity . concode_field_sep Service svc concode_elem_sep int totalCnt concode_elem_sep String cacheName concode_elem_sep String name concode_elem_sep int maxPerNodeCnt concode_el... | Object function ( ) { return affKey ; } |
2,529 | number of concurrent connections between two nodes for fetching data . concode_field_sep String SPARK_NETWORK_IO_NUMCONNECTIONSPERPEER_KEY concode_elem_sep String SPARK_NETWORK_IO_LAZYFD_KEY concode_elem_sep String SPARK_NETWORK_IO_SERVERTHREADS_KEY concode_elem_sep String module concode_elem_sep String SPARK_NETWORK_I... | int function ( ) { return conf . getInt ( SPARK_NETWORK_IO_NUMCONNECTIONSPERPEER_KEY , 1 ) ; } |
2,530 | converts a vector of numbers into an array of double . this function does not necessarily belong here , but is commonly required in order to apply the statistical functions conveniently , since they only deal with arrays of double . note that a number of the common superclass of all the object versions of the primitive... | double [ ] function ( Vector < Number > arg0 ) { double [ ] loc0 = new double [ arg0 . size ( ) ] ; int loc1 = 0 ; for ( Number loc2 : arg0 ) loc0 [ loc1 ++ ] = loc2 . doubleValue ( ) ; return loc0 ; } |
2,531 | the last item concode_field_sep Comparator<? super E> comparator concode_elem_sep int size concode_elem_sep int[] rlink concode_elem_sep Object[] rqueue concode_elem_sep int[] link concode_elem_sep int maxSize concode_elem_sep Object[] queue concode_field_sep int compare concode_elem_sep void fixDown concode_elem_sep i... | E function ( ) { if ( size > 0 ) { return ( E ) rqueue [ 0 ] ; } else { return null ; } } |
2,532 | #### description removes given behavior from given component if it was added before #### usage if behavior was added to component : `` ` java mycomponent.add mybehavior ; / / ... behaviors.remove mycomponent , mybehavior ; / / = true `` ` if behavior was n't added to component before : `` ` java behaviors.remove mycomp... | boolean function ( final Component arg0 , final Behavior arg1 ) { Args . notNull ( arg0 , "srini_string" ) ; for ( Behavior loc0 : arg0 . getBehaviors ( ) ) { if ( loc0 . equals ( arg1 ) ) { arg0 . remove ( loc0 ) ; return true ; } } return false ; } |
2,533 | sets the value of the name property . concode_field_sep String name concode_elem_sep ManagedObjectReference datacenter concode_elem_sep ManagedObjectReference _this concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep String getName concode_elem_sep ManagedObjectReference getD... | void function ( String arg0 ) { this . name = arg0 ; } |
2,534 | return true if the outcome was a match . concode_field_sep boolean match concode_elem_sep String message concode_field_sep ConditionOutcome inverse concode_elem_sep ConditionOutcome noMatch concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ConditionOutcome match concode_elem_sep ConditionOu... | boolean function ( ) { return this . match ; } |
2,535 | method declaration concode_field_sep Object oData[] concode_elem_sep Row rLast concode_elem_sep int iSize concode_elem_sep Table tTable concode_elem_sep boolean bChanged concode_elem_sep Node nFirstIndex concode_elem_sep int iPos concode_elem_sep int iLastAccess concode_elem_sep Row rNext concode_elem_sep int iCurrentA... | void function ( Row arg0 ) { if ( arg0 == null ) { rNext = this ; rLast = this ; } else { rNext = arg0 ; rLast = arg0 . rLast ; arg0 . rLast = this ; rLast . rNext = this ; } } |
2,536 | geteventmgr concode_field_sep Map<String,Integer> m_foreignIdToNodeMap concode_elem_sep ImportStatistics m_stats concode_elem_sep int m_writeThreads concode_elem_sep Iterator<ImportOperation> m_currentIter concode_elem_sep int m_scanThreads concode_elem_sep Iterator<Iterator<ImportOperation>> m_iterIter concode_elem_se... | EventIpcManager function ( ) { return m_eventMgr ; } |
2,537 | default implementation that does nothing . concode_field_sep PlaceHolder placeHolder concode_field_sep void configure | void function ( ) { } |
2,538 | returns true if we are ignoring this url . concode_field_sep Blog BAD_BLOG concode_elem_sep HandlerConfig config concode_field_sep Hashtable getBlogByUrl concode_elem_sep void init concode_elem_sep String suggestFeedUrl concode_elem_sep Hashtable getOPMLURLs concode_elem_sep Hashtable getCommunityFields concode_elem_se... | boolean function ( String arg0 ) { Pattern loc0 = Configuration . getIgnorePattern ( ) ; return ! ( loc0 == null || arg0 == null ) && loc0 . matcher ( arg0 ) . matches ( ) ; } |
2,539 | returns the timestamp of this commit in the date #gettime format . this method is primarily intended for visualization of the data . concode_field_sep ChangeLogSet parent concode_elem_sep AbstractBuild<?,?> build concode_elem_sep RepositoryBrowser<?> browser concode_elem_sep Run<?,?> run concode_elem_sep Logger LOGGER ... | long function ( ) { return - 1 ; } |
2,540 | returns the resource which is affected by this refactoring . default implementation returns the resource of the first context object . concode_field_sep RefactoringHelper helper concode_elem_sep List<T> contextObjects concode_field_sep TransactionalEditingDomain getEditingDomain concode_elem_sep boolean internalDoUndo ... | Resource function ( ) { T loc0 = getContextObject ( ) ; if ( loc0 instanceof EObject ) { return ( ( EObject ) loc0 ) . eResource ( ) ; } return null ; } |
2,541 | test of setprice method , of class carticel . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpClass concode_elem_sep void testsetCount concode_elem_sep void testgetPrice concode_elem_sep void testgetCount concode_elem_sep void testgetDescription concode_elem_sep void setUp concode_elem_sep void te... | void function ( ) { System . out . println ( "srini_string" ) ; float loc0 = 0.0F ; CArticel loc1 = null ; loc1 . setPrice ( loc0 ) ; fail ( "srini_string" ) ; } |
2,542 | returns index of the ith child that we want to move if movefrom was sorted concode_field_sep int[] mMapping concode_elem_sep ReadableArray mMoveTo concode_elem_sep int mSize concode_elem_sep ReactShadowNode[] mChildren concode_field_sep int moveToToValue concode_elem_sep int moveFromToValue concode_elem_sep ReactShadow... | int function ( int arg0 ) { return moveFromToValue ( arg0 ) ; } |
2,543 | returns true if the given state is currently active otherwise false . concode_field_sep ITimer timer concode_elem_sep boolean[] timeEvents concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep void exitAction concode_elem_sep void reactMain_region_End conc... | boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_Start : return stateVector [ 0 ] == State . main_region_Start ; case main_region_End : return stateVector [ 0 ] == State . main_region_End ; default : return false ; } } |
2,544 | get the householder vectors of the transform . note that since this class is only intended for internal use , it returns directly a reference to its internal arrays , not a copy . concode_field_sep double[] secondary concode_elem_sep RealMatrix cachedT concode_elem_sep double householderVectors[][] concode_elem_sep dou... | double [ ] [ ] function ( ) { return householderVectors ; } |
2,545 | returns a hash code . concode_field_sep long serialVersionUID concode_elem_sep double lower concode_elem_sep double upper concode_field_sep Range expandToInclude concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_sep double max concode_elem_sep Range shift concode_elem_sep Range shift ... | int function ( ) { int loc0 ; long loc1 ; loc1 = Double . doubleToLongBits ( this . lower ) ; loc0 = ( int ) ( loc1 ^ ( loc1 >>> 32 ) ) ; loc1 = Double . doubleToLongBits ( this . upper ) ; loc0 = 29 * loc0 + ( int ) ( loc1 ^ ( loc1 >>> 32 ) ) ; return loc0 ; } |
2,546 | gets the named information uri representing this raw public key . the uri is created using the sha-256 hash algorithm on the key 's subjectpublickeyinfo as described in rfc 6920 , section 2 . concode_field_sep int BASE_64_ENCODING_OPTIONS concode_elem_sep PublicKey publicKey concode_elem_sep String niUri concode_field_... | String function ( ) { return niUri ; } |
2,547 | helper method - loads a testmodel from the testmodel directory concode_field_sep String VALIDATION_TESTMODEL_DIR concode_elem_sep IModelSequencer sequencer concode_field_sep Statechart loadStatechartFromResource concode_elem_sep String getModelDirectory concode_elem_sep Statechart loadStatechart concode_elem_sep Statec... | ExecutionFlow function ( String arg0 ) { Statechart loc0 = loadStatechartFromResource ( arg0 ) ; final ExecutionFlow loc1 = sequencer . transform ( loc0 ) ; return loc1 ; } |
2,548 | creates a text element concode_field_sep Map<String,Node> references concode_elem_sep int freeReferenceId concode_field_sep Node reference concode_elem_sep void newChildReferences concode_elem_sep void newReferenced concode_elem_sep Element newElement concode_elem_sep String toString concode_elem_sep void convert conco... | Element function ( Document arg0 , String arg1 , String arg2 ) { Element loc0 = arg0 . createElement ( arg1 ) ; loc0 . setTextContent ( arg2 ) ; return loc0 ; } |
2,549 | converts the current endpoint set for this client into virtual addressing style , by placing the name of the specified bucket before the s3 service endpoint . concode_field_sep String bucketName concode_elem_sep boolean isPathStyleAccess concode_elem_sep String key concode_elem_sep ServiceEndpointBuilder endpointBuilde... | URI function ( URI arg0 , String arg1 ) { try { return new URI ( String . format ( "srini_string" , arg0 . getScheme ( ) , arg1 , arg0 . getAuthority ( ) ) ) ; } catch ( URISyntaxException loc0 ) { throw new IllegalArgumentException ( "srini_string" + arg1 , loc0 ) ; } } |
2,550 | returns the errata description concode_field_sep String product concode_elem_sep String updateDate concode_elem_sep String advisory concode_elem_sep String notes concode_elem_sep String advisoryName concode_elem_sep String created concode_elem_sep String description concode_elem_sep String synopsis concode_elem_sep Str... | String function ( ) { return description ; } |
2,551 | save a poc . concode_field_sep Logger log concode_elem_sep PocRepository pocRepository concode_field_sep Poc findOne concode_elem_sep Page<Poc> findAll concode_elem_sep void delete | Poc function ( Poc arg0 ) { log . debug ( "srini_string" , arg0 ) ; Poc loc0 = pocRepository . save ( arg0 ) ; return loc0 ; } |
2,552 | target injector concode_field_sep InjectedValue<ISecurityManagement> securityManagementValue concode_elem_sep ServiceName SERVICE_NAME concode_elem_sep ApplicationPolicy applicationPolicy concode_elem_sep JSSESecurityDomain jsseSecurityDomain concode_elem_sep String name concode_elem_sep InjectedValue<Configuration> co... | Injector < Configuration > function ( ) { return configurationValue ; } |
2,553 | used to retrieve the plugin tool 's name . this is a short , unique name containing no spaces . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amIAct... | String function ( ) { return "srini_string" ; } |
2,554 | getter method for the game mode member concode_field_sep char playerTurn concode_elem_sep char winner concode_elem_sep GameMove LastMoveDetails concode_elem_sep char[][] board concode_elem_sep String gameMode concode_field_sep void setBoard concode_elem_sep void initialiseBoard concode_elem_sep char[][] getBoard concod... | String function ( ) { return gameMode ; } |
2,555 | decode by url decoder , by default decoding utf8 concode_field_sep String ENCODING_UTF8 concode_elem_sep String ENCODING_DEFAULT concode_field_sep String encode concode_elem_sep String encode concode_elem_sep String getMandatory concode_elem_sep String getMandatory concode_elem_sep String getOptional concode_elem_sep S... | String function ( String arg0 ) { return decode ( arg0 , ENCODING_DEFAULT ) ; } |
2,556 | get the file used to quickly detect if we 've configured the tool already . concode_field_sep PlaceHolder placeHolder concode_field_sep String escapeRegex concode_elem_sep String getMetaHome concode_elem_sep void install concode_elem_sep boolean check concode_elem_sep void close concode_elem_sep void close | File function ( ) { return new File ( getMetaHome ( ) , "srini_string" ) ; } |
2,557 | tells whether after having added atoms to grid the i and j grids are not overlapping . overlap is defined as enclosing bounds of the 2 grids being no more than one cell size apart . concode_field_sep boolean noOverlap concode_elem_sep int SCALE concode_elem_sep BoundingBox ibounds concode_elem_sep GridCell[][][] cells ... | boolean function ( ) { return noOverlap ; } |
2,558 | get a unique sakai internal used id concode_field_sep String eid concode_elem_sep String firstName concode_elem_sep String lastName concode_elem_sep String mainSiteId concode_elem_sep boolean checked concode_elem_sep boolean publishedSite concode_elem_sep Role userRole concode_elem_sep String internalUserId concode_fie... | String function ( ) { return internalUserId ; } |
2,559 | the maximum number of keys we can put into a bloom filter of a certain size to get the given error rate , with the given number of hash functions . concode_field_sep Random randomGeneratorForTest concode_elem_sep String STATS_RECORD_SEP concode_elem_sep double LOG2_SQUARED concode_elem_sep byte[] bitvals concode_field_... | long function ( long arg0 , double arg1 , int arg2 ) { return ( long ) ( - arg0 * 1.0 / arg2 * Math . log ( 1 - Math . exp ( Math . log ( arg1 ) / arg2 ) ) ) ; } |
2,560 | return whether or not the file called pathname exists . concode_field_sep String FOLDER_LABEL concode_elem_sep String LINKED_FOLDER_LABEL concode_elem_sep String VIRTUAL_FOLDER_LABEL concode_elem_sep String FILE_TYPE_FORMAT concode_elem_sep String LINKED_FILE_LABEL concode_elem_sep String FILE_LABEL concode_elem_sep St... | boolean function ( String arg0 ) { IFileInfo loc0 = getFileInfo ( arg0 ) ; if ( loc0 == null ) { return false ; } return loc0 . exists ( ) ; } |
2,561 | initialize the scope from a jslint.js found in the classpath . concode_field_sep ContextFactory contextFactory concode_elem_sep String JSLINT_FILE concode_elem_sep Charset utf8 concode_field_sep JSLint fromDefault concode_elem_sep JSLint fromReader concode_elem_sep JSLint fromFile concode_elem_sep JSLint fromFile | JSLint function ( String arg0 , Charset arg1 ) { Reader loc0 = new BufferedReader ( new InputStreamReader ( getClass ( ) . getClassLoader ( ) . getResourceAsStream ( arg0 ) , arg1 ) ) ; return fromReader ( loc0 , arg0 ) ; } |
2,562 | method to override in child classes concode_field_sep T delegate concode_field_sep Object newProxy concode_elem_sep Object newProxy concode_elem_sep X newProxy concode_elem_sep T getDelegate | Object function ( DelegatingMethodInvocation < T > arg0 ) { return arg0 . proceed ( ) ; } |
2,563 | gets the value of the off property . concode_field_sep CTPositiveSize2D ext concode_elem_sep Integer rot concode_elem_sep Boolean flipV concode_elem_sep Boolean flipH concode_elem_sep CTPoint2D off concode_field_sep void setFlipH concode_elem_sep CTPositiveSize2D getExt concode_elem_sep void setRot concode_elem_sep boo... | CTPoint2D function ( ) { return off ; } |
2,564 | gets all the roles for the un authenticated user . anonymous and authenticated roles are appended if necessary concode_field_sep Role authenticatedRole concode_elem_sep User user concode_elem_sep Integer locationId concode_elem_sep Role anonymousRole concode_elem_sep Log log concode_elem_sep Locale locale concode_elem_... | Set < Role > function ( ) { return getAllRoles ( getAuthenticatedUser ( ) ) ; } |
2,565 | the to : field s of the message . concode_field_sep com.amazonaws.internal.SdkInternalList<String> ccAddresses concode_elem_sep com.amazonaws.internal.SdkInternalList<String> bccAddresses concode_elem_sep com.amazonaws.internal.SdkInternalList<String> toAddresses concode_field_sep java.util.List<String> getToAddresses ... | void function ( java . util . Collection < String > arg0 ) { if ( arg0 == null ) { this . toAddresses = null ; return ; } this . toAddresses = new com . amazonaws . internal . SdkInternalList < String > ( arg0 ) ; } |
2,566 | sets the internal one-dimensional array . concode_field_sep int[] V concode_elem_sep int sizeOfVector concode_field_sep IntVector subvector concode_elem_sep IntVector subvector concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_... | void function ( int [ ] arg0 ) { V = arg0 ; } |
2,567 | extract the response body and decode it , returning it as a single . concode_field_sep PlaceHolder placeHolder concode_field_sep ResponseExtractor<Single<HttpHeaders>> headers concode_elem_sep ResponseExtractor<Single<ResponseEntity<T>>> response concode_elem_sep ResponseExtractor<Single<ResponseEntity<T>>> response co... | BodyExtractor < Single < T >> function ( ResolvableType arg0 ) { return ( clientResponse , messageConverters ) -> ( Single < T > ) RxJava1Adapter . publisherToSingle ( decodeResponseBodyAsMono ( clientResponse , arg0 , messageConverters ) ) ; } |
2,568 | sets the id . concode_field_sep Map<String,Object> values concode_elem_sep String id concode_field_sep Map<String,Object> getValues concode_elem_sep void setValues concode_elem_sep String getId concode_elem_sep String toString | void function ( String arg0 ) { this . id = arg0 ; } |
2,569 | waits until the previous build in progress reaches a check point , identified by the given identifier , or until the current executor becomes the youngest build in progress . note that `` previous build in progress '' should be interpreted as `` previous build in progress '' instead of '' previous build if it 's in pro... | void function ( ) { Run . waitForCheckpoint ( this , null , null ) ; } |
2,570 | outputs the json string . concode_field_sep StringBuilder params concode_field_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep JSONBuilder item concode_elem_sep... | String function ( ) { return params . toString ( ) ; } |
2,571 | sets the owning preference fragment concode_field_sep String TAG concode_field_sep boolean setPreferences concode_elem_sep void dispatchActivityResult concode_elem_sep boolean onPreferenceTreeClick concode_elem_sep PreferenceScreen inflateFromResource concode_elem_sep void dispatchActivityDestroy concode_elem_sep Prefe... | void function ( PreferenceManager arg0 , CustomPreferenceFragment arg1 ) { } |
2,572 | sets the container specific container logger concode_field_sep ILogger LOGGER concode_elem_sep PrintWriter logWriter concode_field_sep void log concode_elem_sep void log concode_elem_sep PrintWriter getLogWriter | void function ( PrintWriter arg0 ) { this . logWriter = arg0 ; } |
2,573 | returns the total number of messages to receive in the history . concode_field_sep Logger Log concode_elem_sep XMPPDateTimeFormat xmppDateTime concode_elem_sep int seconds concode_elem_sep int maxChars concode_elem_sep int maxStanzas concode_elem_sep Date since concode_field_sep boolean isConfigured concode_elem_sep in... | int function ( ) { return maxStanzas ; } |
2,574 | devuelve por pantalla el saldo de este cuenta dado un objeto cuenta concode_field_sep String opcion concode_field_sep void mostrarIngreso concode_elem_sep void mostrarTrans concode_elem_sep double pedirDouble concode_elem_sep double pedirImporte concode_elem_sep void mostrarMenu concode_elem_sep String pedirNombre conc... | void function ( Cuenta arg0 ) { System . out . println ( "srini_string" ) ; System . out . println ( "srini_string" ) ; System . out . println ( ) ; System . out . println ( "srini_string" + arg0 . getNumCuenta ( ) + "srini_string" + arg0 . getSaldo ( ) ) ; } |
2,575 | creates a new instance of hybridtimestamp with the same data concode_field_sep PhysicalTimeProvider physicalTimeProvider concode_elem_sep long logicalTime concode_elem_sep long logicalCounter concode_field_sep int compare concode_elem_sep int compare concode_elem_sep long update concode_elem_sep long update concode_ele... | HybridTimestamp function ( ) { return new HybridTimestamp ( physicalTimeProvider , logicalTime , logicalCounter ) ; } |
2,576 | determines whether this property editor is paintable . concode_field_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep String value concode_field_sep String getJavaInitializationString concode_elem_sep Object getValue concode_elem_sep Component getCustomEditor concode_elem_sep boolean supportsCustomEdito... | boolean function ( ) { return false ; } |
2,577 | generate a default trace message for method entry . concode_field_sep PlaceHolder placeHolder concode_field_sep String toString concode_elem_sep String stringifyNvList | String function ( String arg0 , Object [ ] arg1 ) { StringBuffer loc0 = new StringBuffer ( "srini_string" ) ; loc0 . append ( arg0 ) ; loc0 . append ( '(' ) ; loc0 . append ( stringifyNvList ( arg1 ) ) ; loc0 . append ( ')' ) ; return loc0 . toString ( ) ; } |
2,578 | opens the textcache object . concode_field_sep Log lLog concode_elem_sep LockFile lf concode_field_sep void checkpoint concode_elem_sep void releaseLock concode_elem_sep void openLog concode_elem_sep boolean closeLog concode_elem_sep boolean hasLog concode_elem_sep void setScriptType concode_elem_sep void setWriteDelay... | Cache function ( Table arg0 , String arg1 , boolean arg2 , boolean arg3 ) { return lLog . openTextCache ( arg0 , arg1 , arg2 , arg3 ) ; } |
2,579 | return the value of the expanded property . concode_field_sep String tooltip concode_elem_sep String branchExpandedIcon concode_elem_sep String icon concode_elem_sep DefaultMutableTreeNode wrapper concode_elem_sep long serialVersionUID concode_elem_sep boolean leaf concode_elem_sep String leafIcon concode_elem_sep Stri... | boolean function ( ) { return expanded ; } |
2,580 | gets the value of the qty property . concode_field_sep String itemID concode_elem_sep double price concode_elem_sep int qty concode_elem_sep String customerID concode_field_sep String getItemID concode_elem_sep void setQty concode_elem_sep void setItemID concode_elem_sep void setPrice concode_elem_sep void setCustomerI... | int function ( ) { return qty ; } |
2,581 | registers a consumer on the reply queue . concode_field_sep boolean _mainloopRunning concode_elem_sep QueueingConsumer _consumer concode_elem_sep String _queueName concode_elem_sep Channel _channel concode_field_sep void terminateMainloop concode_elem_sep Channel getChannel concode_elem_sep ShutdownSignalException main... | QueueingConsumer function ( ) { QueueingConsumer loc0 = new QueueingConsumer ( _channel ) ; _channel . basicConsume ( _queueName , loc0 ) ; return loc0 ; } |
2,582 | disconnects the socket . concode_field_sep int localPort concode_elem_sep FileDescriptor fd concode_field_sep void receive concode_elem_sep int getLocalPort concode_elem_sep void setTTL concode_elem_sep int getTimeToLive concode_elem_sep void joinGroup concode_elem_sep void leaveGroup concode_elem_sep int peek concode_... | void function ( ) { } |
2,583 | gets the value of the description 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 description property . for example , to add a new item... | List < DisplayType > function ( ) { if ( description == null ) { description = new ArrayList < DisplayType > ( ) ; } return this . description ; } |
2,584 | apply this beanpostprocessor before the target bean gets instantiated . the returned bean object may be a proxy to use instead of the target bean , effectively suppressing default instantiation of the target bean . if a non-null object is returned by this method , the bean creation process will be short-circuited . the... | Object function ( Class < ? > arg0 , String arg1 ) { return null ; } |
2,585 | launches the desktop default mailer . if a security manager exists and denies awtpermission `` showwindowwithoutwarningbanner '' , a securityexception will be generated . concode_field_sep DesktopPeer peer concode_field_sep void print concode_elem_sep void edit concode_elem_sep Desktop getDesktop concode_elem_sep boole... | void function ( ) { peer . mail ( ) ; } |
2,586 | sets the value of the user property . concode_field_sep ManagedObjectReference _this concode_elem_sep String user concode_elem_sep String group concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep void setGroup concode_elem_sep String getUser concode_elem_sep String getGroup | void function ( String arg0 ) { this . user = arg0 ; } |
2,587 | collects initial information required for annotation . this method is called within read action during annotation pass . default implementation returns the result of externalannotator #collectinformation psifile if file has no errors or null otherwise . concode_field_sep PlaceHolder placeHolder concode_field_sep String... | InitialInfoType function ( @ NotNull PsiFile arg0 , @ NotNull Editor arg1 , boolean arg2 ) { return arg2 ? null : collectInformation ( arg0 ) ; } |
2,588 | creates a control message of type termination or cancellation concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Message function ( int arg0 , long arg1 , Message . MESSAGE_TYPE arg2 ) { return new SimpleMessageImpl ( arg0 , arg1 , arg2 ) ; } |
2,589 | stops scrolling 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 ( ) { scroller . forceFinished ( true ) ; } |
2,590 | this will create a translated rectangle based off of this rectangle , such that the new rectangle retains the same dimensions height/width , but the lower left x , y values are zero . 100 , 100 , 400 , 400 llx , lly , urx , ury will be translated to 0,0,300,300 concode_field_sep float MM_PER_INCH concode_elem_sep PDRec... | PDRectangle function ( ) { PDRectangle loc0 = new PDRectangle ( ) ; loc0 . setUpperRightX ( getWidth ( ) ) ; loc0 . setUpperRightY ( getHeight ( ) ) ; return loc0 ; } |
2,591 | by default the result of a sockjs `` info '' request , including whether the server has websocket disabled and how long the request took used for calculating transport timeout time is cached . this method can be used to clear that cache hence causing it to re-populate . concode_field_sep Log logger concode_elem_sep Lis... | void function ( ) { this . serverInfoCache . clear ( ) ; } |
2,592 | lookup suggestions sorted alphabetically if weights are not constant . this is a workaround : in general , use constant weights for alphabetically sorted result . concode_field_sep int bucket concode_elem_sep boolean higherWeightsFirst concode_elem_sep FST<Object> automaton concode_elem_sep int DEFAULT_BUCKETS concode_... | List < Completion > function ( BytesRef arg0 , int arg1 ) { List < Completion > loc0 = lookupSortedByWeight ( arg0 , arg1 , true ) ; Collections . sort ( loc0 ) ; if ( loc0 . size ( ) > arg1 ) { loc0 = loc0 . subList ( 0 , arg1 ) ; } return loc0 ; } |
2,593 | sets the task description . concode_field_sep TimePeriod duration concode_elem_sep long serialVersionUID concode_elem_sep List subtasks concode_elem_sep String description concode_elem_sep Double percentComplete concode_field_sep void setDuration concode_elem_sep void removeSubtask concode_elem_sep void setPercentCompl... | void function ( String arg0 ) { ParamChecks . nullNotPermitted ( arg0 , "srini_string" ) ; this . description = arg0 ; } |
2,594 | hex encode the byte data writing it to the given output stream . concode_field_sep Encoder encoder concode_field_sep byte[] decode concode_elem_sep byte[] decode concode_elem_sep int decode | int function ( byte [ ] arg0 , OutputStream arg1 ) { return encoder . encode ( arg0 , 0 , arg0 . length , arg1 ) ; } |
2,595 | get the list of sql statements in the history . concode_field_sep WebServer server concode_elem_sep HashMap<String,Object> map concode_elem_sep Connection conn concode_elem_sep ArrayList<String> commandHistory concode_elem_sep boolean shutdownServerOnDisconnect concode_elem_sep long lastAccess concode_elem_sep Locale l... | ArrayList < String > function ( ) { return commandHistory ; } |
2,596 | simple helper func to enable turning on/off nativesql concode_field_sep Statement _stmt concode_elem_sep ResId RES_DEBUG_GENERATE_KEY concode_elem_sep JdbcDataSource _ds concode_field_sep Object getNextKey | String function ( Connection arg0 , String arg1 ) { return arg1 ; } |
2,597 | get the equivalence classes associated with the frequent items that we have found . concode_field_sep Map<Integer,Integer> sequencesLengths concode_elem_sep List<Sequence> sequences concode_elem_sep AbstractionCreator abstractionCreator concode_elem_sep IdListCreator idListCreator concode_elem_sep int nSequences concod... | Trie function ( ) { Trie loc0 = new Trie ( ) ; List < TrieNode > loc1 = new ArrayList < TrieNode > ( frequentItems . values ( ) ) ; loc0 . setNodes ( loc1 ) ; loc0 . sort ( ) ; return loc0 ; } |
2,598 | finds all component with the given id . component id 's are formed from the concatination of parent component ids . this search will find all componet in the component tree with the specified id as it is possible to have the same id used more then once in the component tree concode_field_sep Properties buildProperties ... | void function ( UIComponent arg0 , String arg1 , List < UIComponent > arg2 ) { if ( arg1 . equals ( arg0 . getId ( ) ) ) { arg2 . add ( arg0 ) ; } Iterator < UIComponent > loc0 = arg0 . getFacetsAndChildren ( ) ; while ( loc0 . hasNext ( ) ) { findAllComponents ( loc0 . next ( ) , arg1 , arg2 ) ; } } |
2,599 | contains a list of db clusters for the user . note : this method appends the values to the existing list if any . use #setdbclusters java.util.collection or #withdbclusters java.util.collection if you want to override theexisting values . returns a reference to this object so that method calls can be chained together .... | DescribeDBClustersResult function ( DBCluster ... arg0 ) { if ( getDBClusters ( ) == null ) setDBClusters ( new java . util . ArrayList < DBCluster > ( arg0 . length ) ) ; for ( DBCluster loc0 : arg0 ) { getDBClusters ( ) . add ( loc0 ) ; } return this ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.