idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
1,600 | get the number of inputs , m , required by this function concode_field_sep int TYPE_0 concode_elem_sep float[] domain concode_elem_sep float[] range concode_elem_sep int TYPE_2 concode_elem_sep int type concode_elem_sep int TYPE_3 concode_elem_sep int TYPE_4 concode_field_sep float getDomain concode_elem_sep int getNum... | int function ( ) { return ( domain . length / 2 ) ; } |
1,601 | this is getter method for password concode_field_sep String password concode_elem_sep String confirmpass concode_elem_sep String accessMsg concode_elem_sep String customerId concode_elem_sep String restrictSegAllow concode_elem_sep String changepass concode_elem_sep String protect concode_field_sep void setConfirmpass ... | String function ( ) { return password ; } |
1,602 | produce a jsonarray of jsonobjects from a comma delimited text string , using the first row as a source of names . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONObject rowToJSONObject concode_elem_sep String rowToString concode_elem_sep String toString concode_elem_sep... | JSONArray function ( String arg0 ) { return toJSONArray ( new JSONTokener ( arg0 ) ) ; } |
1,603 | this is an xml vti which handles the apache server 's formatting of accessdate and nulls . this allows us to represent accessdate as a timestamp and to expose nulls in the log . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultSet countryLanguage concode_elem_sep ResultSet apacheNaturalJiraReport conco... | ResultSet function ( String arg0 ) { return XmlVTI . instantiateVTI ( arg0 ) ; } |
1,604 | gets the value from a given index and moves it to the front of the mtf list inverse move to front transform . concode_field_sep byte[] mtf concode_field_sep int valueToFront | byte function ( final int arg0 ) { final byte loc0 = mtf [ arg0 ] ; System . arraycopy ( mtf , 0 , mtf , 1 , arg0 ) ; mtf [ 0 ] = loc0 ; return loc0 ; } |
1,605 | generate while clause to retirve the active test administrator concode_field_sep long serialVersionUID concode_field_sep String generateWhereClauseForFilter concode_elem_sep String getRoleFromFilter concode_elem_sep String generateWhereClauseForUserSuggesion concode_elem_sep String escapeString concode_elem_sep String ... | String function ( ) { String loc0 = "srini_string" ; return loc0 ; } |
1,606 | get the registered diagnostic groups , indexed by name . concode_field_sep DiagnosticGroup VISIBILITY concode_elem_sep DiagnosticGroup GLOBAL_THIS concode_elem_sep DiagnosticGroup CHECK_REGEXP concode_elem_sep DiagnosticGroup NON_STANDARD_JSDOC concode_elem_sep DiagnosticGroup UNKNOWN_DEFINES concode_elem_sep Diagnosti... | Map < String , DiagnosticGroup > function ( ) { return ImmutableMap . copyOf ( groupsByName ) ; } |
1,607 | gets long value 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 hasMarker ... | long function ( byte [ ] arg0 , int arg1 , int arg2 ) { long loc0 = 0 ; for ( ; arg1 < arg2 ; arg1 ++ ) { loc0 <<= 8 ; loc0 += arg0 [ arg1 ] & 0xFF ; } return loc0 ; } |
1,608 | flag which indicates a structure value change . concode_field_sep String m_name concode_elem_sep boolean m_isStructureValue concode_elem_sep CmsUUID m_id concode_elem_sep String m_value concode_field_sep String getValue concode_elem_sep String getName concode_elem_sep void updatePropertyInMap concode_elem_sep CmsUUID g... | boolean function ( ) { return m_isStructureValue ; } |
1,609 | are the resources that should be added to the classpath ? should be called after setup . concode_field_sep boolean setupCalled concode_elem_sep List<File> symlinksCreated concode_elem_sep Log LOG concode_elem_sep List<String> localFiles concode_elem_sep List<String> localClasspaths concode_elem_sep List<String> localAr... | boolean function ( ) { if ( ! setupCalled ) { throw new IllegalStateException ( "srini_string" ) ; } return ! localClasspaths . isEmpty ( ) ; } |
1,610 | gets the url to a given file . concode_field_sep PlaceHolder placeHolder concode_field_sep String read concode_elem_sep URL build concode_elem_sep InputStream open concode_elem_sep String readAll | URL function ( @ Nonnull final File arg0 ) { Check . notNull ( arg0 , "srini_string" ) ; URL loc0 = null ; try { loc0 = arg0 . toURI ( ) . toURL ( ) ; } catch ( final MalformedURLException loc1 ) { throw new IllegalStateException ( "srini_string" , loc1 ) ; } return loc0 ; } |
1,611 | ec2-vpc the id that represents the association of the elastic ip address with an instance . returns a reference to this object so that method calls can be chained together . concode_field_sep String associationId concode_field_sep void setAssociationId concode_elem_sep String getAssociationId concode_elem_sep int hashC... | AssociateAddressResult function ( String arg0 ) { this . associationId = arg0 ; return this ; } |
1,612 | return if continue after a failed check . concode_field_sep boolean verbose concode_elem_sep int cachesz concode_elem_sep String dbFile concode_elem_sep String dbName concode_elem_sep boolean continueAfterFail concode_elem_sep LogSequenceNumber endLsn concode_elem_sep Date endTime concode_elem_sep Date startTime concod... | boolean function ( ) { return continueAfterFail ; } |
1,613 | returns the y-value . concode_field_sep double yHigh concode_elem_sep double yLow concode_elem_sep double y concode_field_sep double getYLow concode_elem_sep boolean equals concode_elem_sep double getYHigh | double function ( ) { return this . y ; } |
1,614 | backup a number of characters . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep int bufcolumn[] concode_elem_sep int bufline[... | void function ( int arg0 ) { inBuf += arg0 ; if ( ( bufpos -= arg0 ) < 0 ) bufpos += bufsize ; } |
1,615 | add entry to approved list of urls whitelist concode_field_sep ConfigXmlParser parser concode_elem_sep String TAG concode_field_sep void init concode_elem_sep void init concode_elem_sep Whitelist getExternalWhitelist concode_elem_sep List<PluginEntry> getPluginEntries concode_elem_sep CordovaPreferences getPreferences ... | void function ( String arg0 , boolean arg1 ) { if ( parser == null ) { Log . e ( TAG , "srini_string" ) ; return ; } parser . getInternalWhitelist ( ) . addWhiteListEntry ( arg0 , arg1 ) ; } |
1,616 | removes the action from this concentrator . concode_field_sep ArrayList actions concode_field_sep void addAction concode_elem_sep void setEnabled concode_elem_sep boolean isEnabled | void function ( final Action arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( ) ; } this . actions . remove ( arg0 ) ; } |
1,617 | empty method concode_field_sep int poradi concode_elem_sep GL2 gl concode_elem_sep boolean output_triangles concode_field_sep void bgnmap2f concode_elem_sep void polymode concode_elem_sep void endmap2f concode_elem_sep void enable concode_elem_sep void mapmesh2f concode_elem_sep void mapgrid2f concode_elem_sep void map... | void function ( final float arg0 , final float arg1 , final float arg2 , final float arg3 ) { } |
1,618 | set the value produced by worker thread concode_field_sep ThreadVar m_threadVar concode_elem_sep Thread thread concode_elem_sep Object m_value concode_field_sep Object getValue concode_elem_sep boolean isAlive concode_elem_sep Object get concode_elem_sep Thread get concode_elem_sep void start concode_elem_sep void inte... | void function ( Object arg0 ) { m_value = arg0 ; } |
1,619 | get a path filter which matches an exact path name . concode_field_sep PathFilter metaInfServicesFilter concode_elem_sep PathFilter metaInfFilter concode_elem_sep PathFilter metaInfSubdirectoriesFilter concode_elem_sep PathFilter metaInfSubdirectoriesWithoutMetaInfFilter concode_elem_sep PathFilter defaultImportFilterW... | PathFilter function ( String arg0 ) { return new EqualsPathFilter ( arg0 ) ; } |
1,620 | this class is only used internally so this method should never be called . concode_field_sep SerializationHandler _handler concode_elem_sep String XMLNS_PREFIX concode_elem_sep String EMPTYSTRING concode_elem_sep String xmlEncoding concode_elem_sep String xmlVersion concode_elem_sep Node _dom concode_field_sep void set... | void function ( String arg0 ) { throw new IOException ( "srini_string" ) ; } |
1,621 | entry point to seed the local authenticationkey cache from zookeeper and set the first watcher for future updates in zookeeper . concode_field_sep ZooReader zk concode_elem_sep String baseNode concode_elem_sep Logger log concode_elem_sep AuthenticationTokenSecretManager secretManager concode_field_sep void processChild... | void function ( ) { if ( zk . exists ( baseNode , this ) ) { log . info ( "srini_string" , updateAuthKeys ( baseNode ) ) ; } } |
1,622 | force again the initialization of the object . concode_field_sep boolean initialized concode_field_sep void init concode_elem_sep void internalInit | void function ( ) { internalInit ( ) ; this . initialized = true ; } |
1,623 | convert a well-formed but not necessarily valid xml string into a jsonarray using the jsonml transform . each xml tag is represented as a jsonarray in which the first element is the tag name . if the tag has attributes , then the second element will be jsonobject containing the name/value pairs . if the tag contains ch... | JSONArray function ( XMLTokener arg0 ) { return ( JSONArray ) parse ( arg0 , true , null ) ; } |
1,624 | attempts to detect docstring format from given text and parses it into corresponding structured docstring . it 's recommended to use more reliable #parse string , psielement that fallbacks to format specified in settings . concode_field_sep PlaceHolder placeHolder concode_field_sep DocStringFormat getConfiguredDocStrin... | StructuredDocString function ( @ NotNull String arg0 ) { return parse ( arg0 , null ) ; } |
1,625 | get the gjs coefficient . concode_field_sep CjSjCoefficient cjsjKH concode_elem_sep CjSjCoefficient cjsjAB concode_field_sep double getdJjsdAlpha concode_elem_sep double getdIjsdh concode_elem_sep double getdIjsdk concode_elem_sep double getdIjsdAlpha concode_elem_sep double getdHjsdBeta concode_elem_sep double getdGjs... | double function ( final int arg0 , final int arg1 ) { return cjsjKH . getCj ( arg0 ) * cjsjAB . getCj ( arg1 ) + cjsjKH . getSj ( arg0 ) * cjsjAB . getSj ( arg1 ) ; } |
1,626 | gets the polygon object that represents the time zone on the image map . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_sep bool... | Polygon function ( ) { return mapPolygon ; } |
1,627 | hook for blocking the launching of intents by the cordova application . this will be called when the webview will not navigate to a page , but could launch an intent to handle the url . return false to block this : if any plugin returns false , cordova will block the navigation . if all plugins return null , the defaul... | Boolean function ( String arg0 ) { return null ; } |
1,628 | sets the value of the type property . concode_field_sep Boolean hasNotifyInvolvedUsers concode_elem_sep Boolean ignoreNotificationMode concode_elem_sep Boolean hasConditionalOperator concode_elem_sep Boolean hasFilter concode_elem_sep AlertRuleConditionType type concode_field_sep void setHasNotifyInvolvedUsers concode_... | void function ( AlertRuleConditionType arg0 ) { this . type = arg0 ; } |
1,629 | performs the depth first traversion of all elements concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep boolean isVisited concode_elem_sep void beginVisit concode_elem_sep Iterator getElementLinks concode_elem_sep vo... | void function ( ) { if ( done ) return ; while ( myElements . hasNext ( ) ) { Object loc0 = myElements . next ( ) ; if ( ! isVisited ( loc0 ) ) { visit ( loc0 , 1 ) ; } } } |
1,630 | sets the tipo value for this elementoresetsipagent . concode_field_sep java.lang.String tipo concode_elem_sep java.lang.String macAddress concode_elem_sep java.lang.String serialNumber concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean ... | void function ( java . lang . String arg0 ) { this . tipo = arg0 ; } |
1,631 | produce a jsonarray of jsonobjects from a comma delimited text string using a supplied jsonarray as the source of element names . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONObject rowToJSONObject concode_elem_sep String rowToString concode_elem_sep String toString c... | JSONArray function ( JSONArray arg0 , JSONTokener arg1 ) { if ( arg0 == null || arg0 . length ( ) == 0 ) { return null ; } JSONArray loc0 = new JSONArray ( ) ; for ( ; ; ) { JSONObject loc1 = rowToJSONObject ( arg0 , arg1 ) ; if ( loc1 == null ) { break ; } loc0 . put ( loc1 ) ; } if ( loc0 . length ( ) == 0 ) { return... |
1,632 | gets the object id for the likeview . concode_field_sep LikeView.ObjectType objectType concode_elem_sep String objectId concode_elem_sep LikeView.ObjectType objectType concode_field_sep Builder setObjectType concode_elem_sep Builder readFrom concode_elem_sep Builder readFrom concode_elem_sep LikeContent build concode_e... | String function ( ) { return objectId ; } |
1,633 | returns the distance to another point in kilometers concode_field_sep float latitude concode_elem_sep float[][] coordinates concode_elem_sep SpatialContext CTX concode_elem_sep float longitude concode_field_sep Point getPoint concode_elem_sep Point getPoint concode_elem_sep boolean intersect concode_elem_sep float getL... | double function ( Point arg0 ) { return DistanceUtils . degrees2Dist ( CTX . getDistCalc ( ) . distance ( getSpatial4jPoint ( ) , arg0 . getSpatial4jPoint ( ) ) , DistanceUtils . EARTH_MEAN_RADIUS_KM ) ; } |
1,634 | 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 ) ; } |
1,635 | tests default credentials . concode_field_sep Server server concode_elem_sep String RES_DIR concode_elem_sep int port concode_elem_sep Configuration conf concode_elem_sep Http http concode_field_sep void testNtlmAuth concode_elem_sep void startServer concode_elem_sep void fetchPage concode_elem_sep void testCookies con... | void function ( ) { startServer ( 47502 ) ; fetchPage ( "srini_string" , 200 ) ; } |
1,636 | gets the location of the top block at the specified location . concode_field_sep PlaceHolder placeHolder concode_field_sep Location getBottomBlock concode_elem_sep boolean isEntitiyOnTrack concode_elem_sep boolean hasTwoBlocksofWaterBelow concode_elem_sep boolean canSpawnCartSafely concode_elem_sep boolean blockIsNotSa... | Location function ( Location arg0 ) { Location loc0 = arg0 . clone ( ) ; loc0 . setY ( 127 ) ; while ( loc0 . getY ( ) > 0 ) { if ( this . playerCanSpawnHereSafely ( loc0 ) ) { return loc0 ; } loc0 . setY ( loc0 . getY ( ) - 1 ) ; } return null ; } |
1,637 | get the access token and token secret for the given consumer . get them from cookies if possible ; otherwise obtain them from the service provider . in the latter case , throw redirectexception . concode_field_sep OAuthClient CLIENT concode_elem_sep Properties consumerProperties concode_elem_sep ConsumerProperties cons... | OAuthAccessor function ( HttpServletRequest arg0 , HttpServletResponse arg1 , OAuthConsumer arg2 ) { CookieMap loc0 = new CookieMap ( arg0 , arg1 ) ; OAuthAccessor loc1 = newAccessor ( arg2 , loc0 ) ; if ( loc1 . accessToken == null ) { getAccessToken ( arg0 , loc0 , loc1 ) ; } return loc1 ; } |
1,638 | gets the int mapped from the specified key , or 0 if no such mapping has been made . concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep int[] mValues concode_field_sep int keyAt concode_elem_sep int getClosestSmaller concode_elem_sep int size concode_elem_sep int indexOfKey concode_elem_sep void ... | int function ( int arg0 ) { return get ( arg0 , 0 ) ; } |
1,639 | execute a process . the command line has already been tokenized , and the environment should contain name = value mappings . if directory is null , use the current working directory ; otherwise start the process in that directory . if env is null , then the new process should inherit the environment of this process . c... | Process function ( String [ ] arg0 , String [ ] arg1 , File arg2 ) { return VMProcess . exec ( arg0 , arg1 , arg2 ) ; } |
1,640 | caller closes the table afterwards . concode_field_sep KeyLocker<String> locker concode_elem_sep UserProvider userProvider concode_elem_sep ThreadLocal<String> effectiveUserNames concode_elem_sep long lastAccessTime concode_elem_sep Map<String,ConnectionInfo> connections concode_elem_sep Admin admin concode_elem_sep St... | Table function ( String arg0 ) { ConnectionInfo loc0 = getCurrentConnection ( ) ; return loc0 . connection . getTable ( TableName . valueOf ( arg0 ) ) ; } |
1,641 | accessor for type concode_field_sep ArrayList<Event> list concode_elem_sep double time concode_elem_sep int TYPE concode_elem_sep int[] lane concode_field_sep int[] getLane concode_elem_sep void deleteAllOfType concode_elem_sep double getTime concode_elem_sep boolean isEmpty concode_elem_sep boolean precedes concode_el... | int function ( ) { return TYPE ; } |
1,642 | returns comments dao depending on the configurations concode_field_sep boolean versioningRatings concode_elem_sep boolean versioningComments concode_elem_sep boolean versioningAssociations concode_elem_sep boolean versioningTags concode_elem_sep boolean versioningProperties concode_field_sep void setVersioningPropertie... | CommentsDAO function ( ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
1,643 | return whether or not this method hash has the same value as the one given . concode_field_sep String METHOD_HASH_ELEMENT_NAME concode_elem_sep boolean isStatic concode_elem_sep String methodName concode_elem_sep byte[] hash concode_elem_sep String methodSig concode_field_sep boolean isStatic concode_elem_sep String ge... | boolean function ( MethodHash arg0 ) { return Arrays . equals ( this . hash , arg0 . hash ) ; } |
1,644 | this is called after the jvm warmup phase to make sure the data structure is well initalized . no need to do anything for this . concode_field_sep ThreadLocal<Random> s_random concode_elem_sep int range concode_elem_sep ConcurrentHashMap<Integer,Integer> hash concode_field_sep Object getInt concode_elem_sep boolean rem... | void function ( ) { hash . clear ( ) ; return ; } |
1,645 | get property concode_field_sep Reference reference concode_elem_sep long serialVersionUID concode_elem_sep String aoProperty concode_elem_sep ResourceAdapter ra concode_field_sep void setResourceAdapter concode_elem_sep void setReference concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep voi... | String function ( ) { return aoProperty ; } |
1,646 | sets the uuid of this d d m storage link . concode_field_sep DDMStorageLink _ddmStorageLink concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_elem_sep com.liferay.portlet.expando.model.ExpandoBrid... | void function ( java . lang . String arg0 ) { _ddmStorageLink . setUuid ( arg0 ) ; } |
1,647 | the application id . concode_field_sep java.util.Date createTime concode_elem_sep String applicationId concode_elem_sep Boolean linkedToGitHub concode_elem_sep String applicationName concode_field_sep void setLinkedToGitHub concode_elem_sep String getApplicationId concode_elem_sep String getApplicationName concode_elem... | ApplicationInfo function ( String arg0 ) { setApplicationId ( arg0 ) ; return this ; } |
1,648 | content accessor . concode_field_sep InputStream inputStream concode_elem_sep byte[] binaryContent concode_field_sep void setContent concode_elem_sep void setContent concode_elem_sep byte[] getContent | InputStream function ( ) { if ( binaryContent != null ) { return new ByteArrayInputStream ( binaryContent ) ; } return inputStream ; } |
1,649 | getter concode_field_sep float dormSelectionOfficeCarbonFootprint concode_elem_sep float courseRegistrationComputerEfforts concode_elem_sep float bookBuyUniversityCarbonFootprint concode_elem_sep float bookBuyMondoEfforts concode_elem_sep float bookBuyCost concode_elem_sep float campusTourOnFootEfforts concode_elem_sep... | float function ( ) { return dormSelectionGamingDuration ; } |
1,650 | creates an sqlsource that will hold the statement readfrom an annotation . it is called during startup , when the mapped statement is read from a class or an xml file . concode_field_sep freemarker.template.Configuration freemarkerCfg concode_elem_sep String basePackage concode_elem_sep String DEFAULT_BASE_PACKAGE conc... | SqlSource function ( Configuration arg0 , String arg1 , Class < ? > arg2 ) { return createSqlSource ( arg0 , arg1 ) ; } |
1,651 | return the number of steps in this submission process concode_field_sep SubmissionStepConfig[] submissionSteps concode_elem_sep String submissionName concode_elem_sep Logger log concode_elem_sep boolean isWorkflow concode_field_sep String getSubmissionName concode_elem_sep SubmissionStepConfig getStep concode_elem_sep ... | int function ( ) { return submissionSteps . length ; } |
1,652 | check that the equals method can distinguish all fields . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization | void function ( ) { LongNeedle loc0 = new LongNeedle ( ) ; LongNeedle loc1 = new LongNeedle ( ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; assertTrue ( loc1 . equals ( loc0 ) ) ; } |
1,653 | closes this socket . this operation is idempotent . to be consistent with java socket , the shutdown states of the socket are not changed . this makes it easier to port applications between socket and localsocket . concode_field_sep boolean inputShutdown concode_elem_sep boolean outputShutdown concode_elem_sep FileDesc... | void function ( ) { if ( state == State . CLOSED ) { return ; } if ( ! fd . valid ( ) ) { throw new IllegalStateException ( "srini_string" ) ; } close ( fd ) ; if ( fd . valid ( ) ) { throw new IllegalStateException ( "srini_string" ) ; } this . state = State . CLOSED ; } |
1,654 | search for the first index at which the given value is found . concode_field_sep int size concode_elem_sep long[] array concode_elem_sep int DEFAULT_CAPACITY concode_field_sep void add concode_elem_sep void add concode_elem_sep long set concode_elem_sep int size concode_elem_sep void trim concode_elem_sep void copyBack... | int function ( long arg0 ) { for ( int loc0 = 0 ; loc0 < size ; loc0 ++ ) { if ( array [ loc0 ] == arg0 ) { return loc0 ; } } return - 1 ; } |
1,655 | periodically registers with the registrar server . concode_field_sep int minRenewTime concode_elem_sep int request concode_elem_sep boolean regInprocess concode_elem_sep CallIdHeader registerCallID concode_elem_sep int registerCSeq concode_elem_sep String qop concode_elem_sep Runnable registerProcess concode_elem_sep N... | void function ( int arg0 , int arg1 ) { this . expireTime = arg0 ; this . renewTime = arg1 ; if ( ! isPeriodicallyRegistering ( ) ) { registerProcess = new Runnable ( ) { public void run ( ) { registerWithServer ( ) ; } } ; exec . execute ( registerProcess ) ; } } |
1,656 | used by the whitebox gui to tell if this plugin is still running . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep double[] eigenVector concode_elem_sep int previousProgress concode_elem_sep doubl... | boolean function ( ) { return amIActive ; } |
1,657 | create an instance of mail concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Mail function ( ) { return new Mail ( ) ; } |
1,658 | check that counts and quantile estimates are correctly reset after a call to samplequantiles #clear . concode_field_sep SampleQuantiles estimator concode_elem_sep Quantile[] quantiles concode_field_sep void init concode_elem_sep void testCount concode_elem_sep void testQuantileError | void function ( ) { for ( int loc0 = 0 ; loc0 < 1000 ; loc0 ++ ) { estimator . insert ( loc0 ) ; } estimator . clear ( ) ; assertEquals ( estimator . getCount ( ) , 0 ) ; assertEquals ( estimator . getSampleCount ( ) , 0 ) ; assertNull ( estimator . snapshot ( ) ) ; } |
1,659 | sets the rotation of this transform concode_field_sep int COS concode_elem_sep Vector2 position concode_elem_sep int POS_Y concode_elem_sep int SIN concode_elem_sep float[] vals concode_elem_sep int POS_X concode_field_sep Vector2 getPosition concode_elem_sep Vector2 mul concode_elem_sep float getRotation concode_elem_... | void function ( float arg0 ) { float loc0 = ( float ) Math . cos ( arg0 ) , loc1 = ( float ) Math . sin ( arg0 ) ; vals [ COS ] = loc0 ; vals [ SIN ] = loc1 ; } |
1,660 | clears all allocated resources concode_field_sep Resource m_nextResource concode_elem_sep int m_size concode_elem_sep Resource m_resourceList concode_elem_sep boolean m_numAllocated[] concode_field_sep int allocate concode_elem_sep int allocate concode_elem_sep void free | void function ( ) { for ( Resource loc0 = Resource . m_resourceList ; loc0 != null ; loc0 = loc0 . m_nextResource ) { for ( int loc1 = 0 ; loc1 < loc0 . m_size ; loc1 ++ ) { loc0 . m_numAllocated [ loc1 ] = false ; } } } |
1,661 | prints the current adjacency lists to the supplied output stream . for testing purposes . concode_field_sep double currentCutoff concode_elem_sep int matrixSize concode_elem_sep int[][] adjacencyLists concode_elem_sep double[][] data concode_elem_sep boolean CLIQUES concode_elem_sep boolean[][] buckets concode_elem_sep... | void function ( PrintStream arg0 ) { for ( int loc0 = 0 ; loc0 < matrixSize ; loc0 ++ ) { arg0 . print ( loc0 + "srini_string" ) ; for ( int loc1 = 0 ; loc1 < numAdjacencies [ loc0 ] ; loc1 ++ ) { arg0 . print ( adjacencyLists [ loc0 ] [ loc1 ] + "srini_string" ) ; } arg0 . println ( ) ; } } |
1,662 | documentation pending concode_field_sep String owner concode_elem_sep String organizationName concode_elem_sep String keywords concode_elem_sep Map parentPools concode_elem_sep boolean showSubpools concode_elem_sep String displayName concode_elem_sep String description concode_elem_sep String numberOfSubpools concode_e... | void function ( String arg0 ) { owner = arg0 ; } |
1,663 | returns the background paint . if null , the background should remain unfilled . concode_field_sep Paint outlinePaint concode_elem_sep Stroke outlineStroke concode_elem_sep Paint backgroundPaint concode_elem_sep Range range concode_elem_sep String label concode_elem_sep long serialVersionUID concode_field_sep String ge... | Paint function ( ) { return this . backgroundPaint ; } |
1,664 | sets the depth for search algorithms that require it . concode_field_sep long serialVersionUID concode_elem_sep int depth concode_elem_sep double alpha concode_elem_sep double zeroEdgeP concode_elem_sep int beamWidth concode_elem_sep boolean collidersOrientedLocally concode_field_sep PcIndTestParams serializableInstanc... | void function ( int arg0 ) { if ( arg0 < - 1 ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . depth = arg0 ; } |
1,665 | clears all content concode_field_sep int perPage concode_elem_sep List<T> raw concode_field_sep void add concode_elem_sep void set concode_elem_sep void setRaw concode_elem_sep String[] getPage concode_elem_sep String[] getPage concode_elem_sep ArrayList<T> getRawPage concode_elem_sep ArrayList<T> getRawPage concode_el... | void function ( ) { this . raw . clear ( ) ; } |
1,666 | loads the routes from a url concode_field_sep PlaceHolder placeHolder concode_field_sep RoutesDefinition loadRoutesFromXML concode_elem_sep RoutesDefinition loadRoutesFromFile concode_elem_sep RoutesDefinition loadRoutesFromFile concode_elem_sep RoutesDefinition loadRoutesFromClasspath | RoutesDefinition function ( ModelCamelContext arg0 , String arg1 ) { return loadRoutesFromURL ( arg0 , new URL ( arg1 ) ) ; } |
1,667 | gets the resource for accessing details of the system nifi is running on . concode_field_sep Resource SYSTEM_RESOURCE concode_elem_sep Resource DATA_RESOURCE concode_elem_sep Resource SITE_TO_SITE_RESOURCE concode_elem_sep Resource CONTROLLER_RESOURCE concode_elem_sep Resource RESOURCE_RESOURCE concode_elem_sep Resourc... | Resource function ( ) { return SYSTEM_RESOURCE ; } |
1,668 | return database concode_field_sep int loginTimeout concode_elem_sep PrintWriter logWriter concode_elem_sep String user concode_elem_sep String database concode_elem_sep String password concode_field_sep Connection getConnection concode_elem_sep Connection getConnection concode_elem_sep void setPassword concode_elem_sep... | String function ( ) { return database ; } |
1,669 | the root `` wfs/tx '' directory , located directly under #getscriptroot concode_field_sep Cache<Long,ScriptSession> sessions concode_elem_sep GeoServerDataDirectory dataDir concode_elem_sep List<ScriptPlugin> plugins concode_elem_sep ScriptEngineManager engineMgr concode_elem_sep Logger LOGGER concode_field_sep ScriptE... | File function ( ) { return dataDir . findOrCreateDir ( "srini_string" , "srini_string" , "srini_string" ) ; } |
1,670 | returns the editing context of the object . useful for subclasses concode_field_sep EOEditingContext _context concode_elem_sep WOComponent _nextPage concode_elem_sep EOEnterpriseObject _object concode_field_sep WOComponent nextPage concode_elem_sep EOEnterpriseObject object | EOEditingContext function ( ) { return _context ; } |
1,671 | ajax concode_field_sep GeneSearchService geneSearchService concode_elem_sep GeneSetSearch geneSetSearch concode_elem_sep SessionListManager sessionListManager concode_elem_sep TaxonService taxonService concode_elem_sep GeneCoreService geneCoreService concode_elem_sep GeneService geneService concode_field_sep GOGroupVal... | Collection < GeneValueObject > function ( Collection < Long > arg0 ) { if ( arg0 == null || arg0 . isEmpty ( ) ) { return new HashSet < GeneValueObject > ( ) ; } return geneService . loadValueObjectsByIds ( new HashSet < > ( arg0 ) ) ; } |
1,672 | returns the company id of this v cal . concode_field_sep VCal _vCal concode_field_sep java.util.Date getStartDate concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getLocation concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel... | long function ( ) { return _vCal . getCompanyId ( ) ; } |
1,673 | inject the mocked std-out printstream into the system class before each test concode_field_sep String expectedResult concode_elem_sep PrintStream stdOutOrig concode_elem_sep DragonSlayingStrategy strategy concode_elem_sep PrintStream stdOutMock concode_field_sep void testExecute concode_elem_sep Collection<Object[]> da... | void function ( ) { System . setOut ( this . stdOutMock ) ; } |
1,674 | get the path of the encryption zone for a given file or directory . concode_field_sep DistributedFileSystem dfs concode_field_sep void setSpaceQuota concode_elem_sep void removeCachePool concode_elem_sep void allowSnapshot concode_elem_sep void createEncryptionZone concode_elem_sep void removeCacheDirective concode_ele... | EncryptionZone function ( Path arg0 ) { return dfs . getEZForPath ( arg0 ) ; } |
1,675 | gets the value of the value property . concode_field_sep String id concode_elem_sep String value concode_field_sep void setvalue concode_elem_sep void setId concode_elem_sep String getId | String function ( ) { return value ; } |
1,676 | return type metadata object concode_field_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep com.intellij.tasks.mantis.model.TagData[] results concode_elem_sep java.math.BigInteger total_results concode_field_sep void... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
1,677 | set the validator . concode_field_sep Log logger concode_elem_sep Resource resource concode_elem_sep T configuration concode_elem_sep Validator validator concode_elem_sep MessageSource messageSource concode_elem_sep Class<?> type concode_elem_sep Map<Class<?>,Map<String,String>> propertyAliases concode_elem_sep String ... | void function ( Validator arg0 ) { this . validator = arg0 ; } |
1,678 | adds a key - ie . an attribute which needs to be assigned a value at design time concode_field_sep String _name concode_elem_sep String _displayName concode_elem_sep Map<String,String> _params concode_elem_sep String _description concode_elem_sep String _canonicalName concode_field_sep void setName concode_elem_sep Str... | void function ( String arg0 ) { addParam ( arg0 , "srini_string" ) ; } |
1,679 | closes the index and removes all its files . concode_field_sep Path path concode_elem_sep IndexWriter indexWriter concode_elem_sep ObjectName mbean concode_elem_sep Logger logger concode_elem_sep String name concode_elem_sep SearcherManager searcherManager concode_elem_sep Directory directory concode_elem_sep Controlle... | void function ( ) { try { close ( ) ; } catch ( Exception loc0 ) { throw new IndexException ( logger , loc0 , "srini_string" , name ) ; } finally { FileUtils . deleteRecursive ( path . toFile ( ) ) ; } logger . info ( "srini_string" , name ) ; } |
1,680 | save this state into the current thread 's local storage concode_field_sep FileInfo fileInfo concode_elem_sep boolean asyncLifecycle concode_elem_sep ThreadLocal holder concode_elem_sep UploadConfig uploadConfig concode_elem_sep String iframeContent concode_field_sep UploadStateHolder take concode_elem_sep void setAsyn... | void function ( ) { holder . set ( this ) ; } |
1,681 | if not null , more results are available . pass this value to listhsms to retrieve the next set of items . concode_field_sep String nextToken concode_elem_sep com.amazonaws.internal.SdkInternalList<String> hsmList concode_field_sep void setNextToken concode_elem_sep void setHsmList concode_elem_sep int hashCode concode... | String function ( ) { return this . nextToken ; } |
1,682 | the default implementation does nothing . concode_field_sep PlaceHolder placeHolder concode_field_sep void visitErrorNode concode_elem_sep void exitValue concode_elem_sep void visitTerminal concode_elem_sep void enterValue concode_elem_sep void enterEveryRule concode_elem_sep void enterInit concode_elem_sep void exitEv... | void function ( @ NotNull ArrayInitParser . InitContext arg0 ) { } |
1,683 | randomly permute the given collection of cards and reset the size to represent the entire deck . concode_field_sep List<Card> cards concode_elem_sep int size concode_field_sep Card deal concode_elem_sep int size concode_elem_sep boolean isEmpty concode_elem_sep String toString | void function ( ) { for ( int loc0 = cards . size ( ) - 1 ; loc0 < 0 ; loc0 -- ) { int loc1 = loc0 + 1 ; int loc2 = 0 ; int loc3 = ( int ) ( Math . random ( ) * loc1 ) + loc2 ; Card loc4 = cards . get ( loc0 ) ; cards . set ( loc0 , cards . get ( loc3 ) ) ; cards . set ( loc3 , loc4 ) ; } size = cards . size ( ) ; } |
1,684 | indicates whether the given failure is clearly non-transient . that means , whether the failure explicitly states that a retry of the same command would result in the same failure to occur again . concode_field_sep ScheduledExecutorService retryExecutor concode_elem_sep int retryInterval concode_elem_sep int maxRetryCo... | boolean function ( Throwable arg0 ) { return arg0 instanceof AxonNonTransientException || ( arg0 . getCause ( ) != null && isExplicitlyNonTransient ( arg0 . getCause ( ) ) ) ; } |
1,685 | information about the repository . concode_field_sep RepositoryMetadata repositoryMetadata concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setRepositoryMetadata concode_elem_sep GetRepositoryResult clone concode_elem_sep String toString concode_elem_sep GetRepositoryResult withRepos... | RepositoryMetadata function ( ) { return this . repositoryMetadata ; } |
1,686 | starts using this pipeline with a root ptransform such as textio.read or com.google.cloud.dataflow.sdk.transforms.create . alias for begin . apply root . concode_field_sep Logger LOG concode_elem_sep TransformHierarchy transforms concode_elem_sep Set<String> usedFullNames concode_elem_sep CoderRegistry coderRegistry co... | Output function ( PTransform < ? super PBegin , Output > arg0 ) { return begin ( ) . apply ( arg0 ) ; } |
1,687 | convert the specified checked javax.jms.jmsexception jmsexception toa spring runtime org.springframework.jms.jmsexception jmsexception equivalent . the default implementation delegates to the jmsutils #convertjmsaccessexception method . concode_field_sep Log logger concode_elem_sep int sessionAcknowledgeMode concode_el... | JmsException function ( JMSException arg0 ) { return JmsUtils . convertJmsAccessException ( arg0 ) ; } |
1,688 | returns the size of the headers , including the 2 crlfs at the end of the header block . concode_field_sep Charset DEFAULT_HTTP_CHARSET concode_elem_sep int DECOMPRESS_BUFFER_SIZE concode_elem_sep Logger log concode_elem_sep String UNKNOWN_CONTENT_TYPE concode_field_sep boolean isRedirect concode_elem_sep String base64... | long function ( HttpHeaders arg0 ) { long loc0 = 0 ; for ( Map . Entry < String , String > loc1 : arg0 . entries ( ) ) { loc0 += loc1 . getKey ( ) . length ( ) + loc1 . getValue ( ) . length ( ) + 4 ; } return loc0 ; } |
1,689 | sets the version . concode_field_sep long serialVersionUID concode_elem_sep Long version concode_elem_sep Key key concode_field_sep Long getVersion concode_elem_sep Key getKey concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setKey | void function ( Long arg0 ) { this . version = arg0 ; } |
1,690 | returns null if block is pinned or currently being locked , otherwise returns blockmetadatamanager #getblockmeta long . concode_field_sep List<StorageTierView> mTierViews concode_elem_sep BlockMetadataManager mMetadataManager concode_elem_sep Map<String,StorageTierView> mAliasToTierViews concode_elem_sep Set<Long> mPin... | BlockMeta function ( long arg0 ) { if ( isBlockEvictable ( arg0 ) ) { return mMetadataManager . getBlockMeta ( arg0 ) ; } else { return null ; } } |
1,691 | returns : xor of 16xstate , result will be returned to the states 0 . no input check is performed . concode_field_sep int BOXES concode_elem_sep int WIDTH concode_elem_sep XORBoxState[] x concode_elem_sep int STAGES concode_field_sep XORBoxState[] getX concode_elem_sep int hashCode concode_elem_sep boolean equals conco... | State function ( State [ ] arg0 ) { return xor ( x , arg0 ) ; } |
1,692 | returns the email address with the primary key . concode_field_sep EmailAddressLocalService _service concode_field_sep com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress concode_elem_sep com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress concode_elem_sep java.lang.String getOSGiServiceIdentifi... | com . liferay . portal . kernel . model . EmailAddress function ( long arg0 ) { return getService ( ) . getEmailAddress ( arg0 ) ; } |
1,693 | write the dictionary in binary format to the specified filename . concode_field_sep String OPTION_INPUT_SOURCE concode_elem_sep String OPTION_HELP concode_elem_sep String OPTION_OUTPUT_BINARY concode_elem_sep String OPTION_OUTPUT_XML concode_elem_sep String mInputUnigramXml concode_elem_sep String mInputBigramXml conco... | void function ( final String arg0 , final FusionDictionary arg1 ) { final File loc0 = new File ( arg0 ) ; BinaryDictInputOutput . writeDictionaryBinary ( new FileOutputStream ( arg0 ) , arg1 ) ; } |
1,694 | removes the specified pushid as a member from the group with the specified groupname . concode_field_sep Logger LOGGER concode_elem_sep Map<String,List<Runnable>> pushIdCallbackMap concode_elem_sep HttpClient client concode_elem_sep ListenRequest listenRequest concode_elem_sep ReentrantLock listenRequestLock concode_el... | void function ( final String arg0 , final String arg1 ) { try { sendNow ( new RemoveGroupMemberRequest ( arg0 , arg1 , contextURI ) ) ; } catch ( URISyntaxException loc0 ) { throw new PushClientException ( loc0 ) ; } } |
1,695 | deletes the service component from the database . also notifies the appropriate model listeners . concode_field_sep ServiceComponentLocalService _service concode_field_sep void upgradeDB concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery ... | com . liferay . portal . kernel . model . ServiceComponent function ( com . liferay . portal . kernel . model . ServiceComponent arg0 ) { return getService ( ) . deleteServiceComponent ( arg0 ) ; } |
1,696 | determines whether the given builderfactory is from xdk package or not . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isXdkFactory concode_elem_sep boolean isXdkParserFactory | boolean function ( final DocumentBuilderFactory arg0 ) { return isXdkFactory ( arg0 , "srini_string" ) ; } |
1,697 | returns the area in which the chart was drawn . concode_field_sep EntityCollection entities concode_elem_sep long serialVersionUID concode_elem_sep PlotRenderingInfo plotInfo concode_elem_sep RectShape chartArea concode_field_sep void setChartArea concode_elem_sep void setEntityCollection concode_elem_sep boolean equal... | RectShape function ( ) { return this . chartArea ; } |
1,698 | style settings for this label concode_field_sep String reference concode_elem_sep LabelOrientation orientation concode_elem_sep EdgePosition edgePos concode_elem_sep VerticalAlign alignVertical concode_elem_sep Float distance concode_elem_sep Integer from concode_elem_sep LabelStyle style concode_elem_sep Anchors ancho... | LabelStyle function ( ) { return style ; } |
1,699 | set the period between repeated task executions , in milliseconds . default is -1 , leading to one-time execution . in case of zero or a positive value , the task will be executed repeatedly , with the given interval inbetween executions . note that the semantics of the period value vary between fixed-rate and fixed-de... | void function ( long arg0 ) { this . period = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.