idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
17,000 | this replaces the client id provided by your idiscordclient instance . concode_field_sep IGuild guild concode_elem_sep EnumSet<Permissions> permissions concode_elem_sep IDiscordClient client concode_elem_sep String clientIDOverride concode_field_sep BotInviteBuilder withPermissions concode_elem_sep String build concode... | BotInviteBuilder function ( String arg0 ) { this . clientIDOverride = arg0 ; return this ; } |
17,001 | tktext can print multiple times . concode_field_sep PlaceHolder placeHolder concode_field_sep void createsTextResponse | void function ( ) { final String loc0 = "srini_string" ; final Take loc1 = new TkText ( loc0 ) ; MatcherAssert . assertThat ( new RsPrint ( loc1 . act ( new RqFake ( ) ) ) . print ( ) , Matchers . containsString ( loc0 ) ) ; MatcherAssert . assertThat ( new RsPrint ( loc1 . act ( new RqFake ( ) ) ) . print ( ) , Matche... |
17,002 | returns true when user code deployment is enabled concode_field_sep String blacklistedPrefixes concode_elem_sep ProviderMode providerMode concode_elem_sep ClassCacheMode classCacheMode concode_elem_sep String whitelistedPrefixes concode_elem_sep String providerFilter concode_elem_sep boolean enabled concode_field_sep S... | boolean function ( ) { return enabled ; } |
17,003 | adds an item in the specified position of the itemset concode_field_sep List<Item> items concode_elem_sep long timestamp concode_field_sep boolean removeItem concode_elem_sep Item removeItem concode_elem_sep List<Item> getItems concode_elem_sep Itemset cloneItemset concode_elem_sep int size concode_elem_sep long getTim... | void function ( int arg0 , Item arg1 ) { items . set ( arg0 , arg1 ) ; } |
17,004 | server stop event . executed after the root handler stops accepting requests and before the server closes the channel and thread pool . concode_field_sep PlaceHolder placeHolder concode_field_sep String getName concode_elem_sep void onStart | void function ( StopEvent arg0 ) { } |
17,005 | stores the given reason phrase , by status code . helper method to initialize the static lookup table . concode_field_sep EnglishReasonPhraseCatalog INSTANCE concode_elem_sep String[][] REASON_PHRASES concode_field_sep String getReason | void function ( int arg0 , String arg1 ) { final int loc0 = arg0 / 100 ; final int loc1 = arg0 - 100 * loc0 ; REASON_PHRASES [ loc0 ] [ loc1 ] = arg1 ; } |
17,006 | sets the parse observer for this instance . concode_field_sep CstType definer concode_elem_sep ParseObserver observer concode_elem_sep int endOffset concode_elem_sep DirectClassFile cf concode_elem_sep int offset concode_elem_sep AttributeFactory attributeFactory concode_field_sep int getEndOffset concode_elem_sep Memb... | void function ( ParseObserver arg0 ) { this . observer = arg0 ; } |
17,007 | returns the ` statuscode ' of an object of this class . concode_field_sep Set<Header> headers concode_elem_sep Long requestId concode_elem_sep String body concode_elem_sep Integer statusCode concode_field_sep void setHeaders concode_elem_sep void setStatusCode concode_elem_sep Set<Header> getHeaders concode_elem_sep vo... | Integer function ( ) { return this . statusCode ; } |
17,008 | appends default tags to the channel to build . concode_field_sep ChannelTypeUID channelTypeUID concode_elem_sep Configuration configuration concode_elem_sep ChannelUID channelUID concode_elem_sep String description concode_elem_sep String acceptedItemType concode_elem_sep String label concode_elem_sep Set<String> defau... | ChannelBuilder function ( Set < String > arg0 ) { this . defaultTags = arg0 ; return this ; } |
17,009 | this method return all the fields including private until the given parameterized class concode_field_sep Class parametrizedClass concode_field_sep List<Field> getAllFields concode_elem_sep boolean isSuperClass concode_elem_sep boolean isSuperClass concode_elem_sep boolean isSuperClass concode_elem_sep boolean isAnnota... | List < Field > function ( Class < ? > arg0 ) { List < Field > loc0 = getAllFields ( arg0 ) ; for ( Iterator < Field > loc1 = loc0 . loc1 ( ) ; loc1 . hasNext ( ) ; ) { Field loc2 = ( Field ) loc1 . next ( ) ; if ( ! hasField ( loc2 ) ) { loc1 . remove ( ) ; } } return loc0 ; } |
17,010 | the default implementation does nothing . concode_field_sep PlaceHolder placeHolder concode_field_sep void exitStart_entry concode_elem_sep void exitExpr concode_elem_sep void enterDecoration concode_elem_sep void exitShape_rule concode_elem_sep void exitDecoration concode_elem_sep void exitObject_identifier concode_el... | void function ( TerminalNode arg0 ) { } |
17,011 | murmur3 64-bit variant . this is essentially msb 8 bytes of murmur3 128-bit variant . concode_field_sep int DEFAULT_SEED concode_elem_sep int M concode_elem_sep int C2_32 concode_elem_sep int R1 concode_elem_sep int R3 concode_elem_sep int C1_32 concode_elem_sep int N2 concode_elem_sep long NULL_HASHCODE concode_elem_s... | long function ( byte [ ] arg0 ) { return hash64 ( arg0 , 0 , arg0 . length , DEFAULT_SEED ) ; } |
17,012 | map decorators of element to pyknowndecoratorutil.knowndecorator . concode_field_sep Set<KnownDecorator> BUILTIN_DECORATORS concode_elem_sep Set<KnownDecorator> PROPERTY_DECORATORS concode_elem_sep Set<KnownDecorator> ABSTRACT_DECORATORS concode_elem_sep Map<String,List<KnownDecorator>> BY_SHORT_NAME concode_elem_sep Q... | List < KnownDecorator > function ( @ NotNull PyDecoratable arg0 , @ NotNull TypeEvalContext arg1 ) { final PyDecoratorList loc0 = arg0 . getDecoratorList ( ) ; if ( loc0 == null ) { return Collections . emptyList ( ) ; } return StreamEx . of ( loc0 . getDecorators ( ) ) . flatMap ( decorator -> asKnownDecorators ( deco... |
17,013 | returns proper initial component text . concode_field_sep PlaceHolder placeHolder concode_field_sep void registerInitialLanguage concode_elem_sep List<String> gatherKeys concode_elem_sep void gatherKeys concode_elem_sep String fixKeyPrefix concode_elem_sep void mergeDictionary concode_elem_sep void mergeDictionary conc... | String function ( final String arg0 , final Object ... arg1 ) { return LanguageManager . isCheckComponentsTextForTranslations ( ) ? LanguageManager . contains ( arg0 ) ? LanguageManager . get ( arg0 , arg1 ) : arg0 : arg0 ; } |
17,014 | unsupported . concode_field_sep String sessionId_ concode_elem_sep String clientAddr_ concode_elem_sep Logger LOGGER concode_elem_sep int accessCount_ concode_elem_sep boolean isInvalidated_ concode_elem_sep long lastAccessedTime_ concode_elem_sep long sessionTimeout_ concode_elem_sep Integer cacheId_ concode_elem_sep ... | void function ( String arg0 ) { removeAttribute ( arg0 ) ; updateCache ( ) ; } |
17,015 | confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashcode concode_elem_sep void testEquals concode_elem_sep void test2909215 | void function ( ) { XYBoxAndWhiskerRenderer loc0 = new XYBoxAndWhiskerRenderer ( ) ; XYBoxAndWhiskerRenderer loc1 = ( XYBoxAndWhiskerRenderer ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } |
17,016 | return the list of all created queryprofiler s so far . concode_field_sep ContextIndexSearcher searcher concode_elem_sep List<QueryProfiler> queryProfilers concode_elem_sep AggregationProfiler aggProfiler concode_field_sep QueryProfiler addQueryProfiler concode_elem_sep QueryProfiler getCurrentQueryProfiler concode_ele... | List < QueryProfiler > function ( ) { return Collections . unmodifiableList ( queryProfilers ) ; } |
17,017 | indicates whether mutual chap is enabled for the iscsi target . concode_field_sep String networkInterfaceId concode_elem_sep Integer networkInterfacePort concode_elem_sep Boolean chapEnabled concode_elem_sep String targetARN concode_field_sep Boolean getChapEnabled concode_elem_sep Integer getNetworkInterfacePort conco... | void function ( Boolean arg0 ) { this . chapEnabled = arg0 ; } |
17,018 | sends the email packaged as a wrapper . concode_field_sep Logger log concode_elem_sep int SUCCESS_CODE concode_field_sep Object parseToEmail concode_elem_sep void sendEmailWithService | void function ( EmailWrapper arg0 ) { try { sendEmailWithService ( arg0 ) ; } catch ( Exception loc0 ) { throw new EmailSendingException ( loc0 ) ; } } |
17,019 | get the capacity , which is the maximum count that could handled without resizing the backing storage . concode_field_sep int count concode_elem_sep byte[] bytes concode_field_sep void set concode_elem_sep int compareTo concode_elem_sep void truncate concode_elem_sep int hashCode concode_elem_sep byte[] get concode_ele... | int function ( ) { return this . get ( ) . length ; } |
17,020 | get the parameter sql type . concode_field_sep int sqlType concode_elem_sep boolean nullable concode_elem_sep String parameterName concode_field_sep String getParameterName concode_elem_sep boolean isNullable | int function ( ) { return this . sqlType ; } |
17,021 | add a child of a node containing the string s precondition : the word is not already a child of this node concode_field_sep WPTreeNode parent concode_elem_sep List<WPTreeNode> children concode_elem_sep WPTreeNode root concode_elem_sep NearbyWords nw concode_elem_sep String word concode_field_sep List<WPTreeNode> getChi... | WPTreeNode function ( String arg0 ) { WPTreeNode loc0 = new WPTreeNode ( arg0 , this ) ; this . children . add ( loc0 ) ; return loc0 ; } |
17,022 | get the tags value . concode_field_sep String defaultGroup concode_elem_sep FirewallState firewallState concode_elem_sep TierType newTier concode_elem_sep TrustedIdProviderState trustedIdProviderState concode_elem_sep Map<String,String> tags concode_field_sep DataLakeStoreAccountUpdateParameters withTags concode_elem_s... | Map < String , String > function ( ) { return this . tags ; } |
17,023 | create with empty name concode_field_sep PlaceHolder placeHolder concode_field_sep void createFromStringUrl concode_elem_sep void createNullOwner concode_elem_sep void createEmptyOwner concode_elem_sep void createFromNullString concode_elem_sep void createFromNullStringUrl concode_elem_sep void createFromNullUrl concod... | void function ( ) { RepositoryId . create ( "srini_string" , "srini_string" ) ; } |
17,024 | returns the online of this status . concode_field_sep Status _status concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setStatusId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCa... | boolean function ( ) { return _status . getOnline ( ) ; } |
17,025 | checks if is valid jpa entity listener annotation . concode_field_sep List<Class<? extends Annotation>> JPAListenersAnnotations concode_elem_sep Log log concode_field_sep void process concode_elem_sep void addCallBackMethod concode_elem_sep List<Class<?>> getValidJPAAnnotationsFromMethod | boolean function ( Class < ? > arg0 ) { return JPAListenersAnnotations . contains ( arg0 ) ; } |
17,026 | report to the domain controller that a server has been reported as unstable . concode_field_sep ServiceName SERVICE_NAME concode_field_sep ExtensionRegistry getExtensionRegistry concode_elem_sep void registerRemoteHost concode_elem_sep ModelNode getProfileOperations concode_elem_sep void unregisterRemoteHost concode_el... | void function ( String arg0 ) { } |
17,027 | return the value of the branchcontractedicon property . concode_field_sep String branchContractedIcon concode_elem_sep boolean expanded concode_elem_sep String tooltip concode_elem_sep String branchExpandedIcon concode_elem_sep String icon concode_elem_sep String action concode_elem_sep DefaultMutableTreeNode wrapper c... | String function ( ) { return branchContractedIcon ; } |
17,028 | convert the ip range into a string representation . concode_field_sep IPAddress ipSubnetMask concode_elem_sep IPAddress ipAddress concode_elem_sep int extendedNetworkPrefix concode_field_sep boolean isIPAddressInRange concode_elem_sep int computeNetworkPrefixFromMask concode_elem_sep IPAddress computeMaskFromNetworkPre... | String function ( ) { return ipAddress . toString ( ) + "srini_string" + extendedNetworkPrefix ; } |
17,029 | check if there is any connectivity to a mobile network concode_field_sep boolean isServerAviable concode_field_sep NetworkInfo getNetworkInfo concode_elem_sep boolean isConnected concode_elem_sep boolean isConnectedWifi concode_elem_sep boolean isConnectedFast concode_elem_sep boolean isConnectionFast | boolean function ( Context arg0 ) { NetworkInfo loc0 = getNetworkInfo ( arg0 ) ; return ( loc0 != null && loc0 . isConnected ( ) && loc0 . getType ( ) == ConnectivityManager . TYPE_MOBILE ) ; } |
17,030 | return the duration in days between two dates concode_field_sep PlaceHolder placeHolder concode_field_sep int getAge concode_elem_sep boolean before concode_elem_sep XMLGregorianCalendar makeXmlDate concode_elem_sep long makeTime concode_elem_sep boolean isEqualToToday concode_elem_sep boolean areEqual concode_elem_sep... | int function ( Date arg0 , Date arg1 ) { long loc0 = arg0 . getTime ( ) ; long loc1 = arg1 . getTime ( ) ; return ( int ) ( ( loc1 - loc0 ) / ( 24 * 3600 * 1000 ) ) ; } |
17,031 | get time humidity reading was taken . concode_field_sep int avghumidity concode_elem_sep Date timeOfReading concode_elem_sep String ID concode_elem_sep long time concode_elem_sep int priority concode_field_sep long getTime concode_elem_sep int getPriority concode_elem_sep String getID concode_elem_sep String toString c... | Date function ( ) { return timeOfReading ; } |
17,032 | returns the callback host . concode_field_sep String CONFIG_KEY_CALLBACK_HOST concode_elem_sep String CONFIG_KEY_ALIVE_INTERVAL concode_elem_sep Integer reconnectInterval concode_elem_sep Integer aliveInterval concode_elem_sep int DEFAULT_ALIVE_INTERVAL concode_elem_sep Integer timeout concode_elem_sep int DEFAULT_HOST... | String function ( ) { return callbackHost ; } |
17,033 | paint a circle on the given canvas . concode_field_sep Paint paint concode_field_sep float getTextAsc concode_elem_sep void setStrokeWidth concode_elem_sep void paintBitmap concode_elem_sep void paintBitmap concode_elem_sep void paint concode_elem_sep void paintObj concode_elem_sep float getWidth concode_elem_sep void ... | void function ( Canvas arg0 , float arg1 , float arg2 , float arg3 ) { if ( arg0 == null ) throw new NullPointerException ( ) ; arg0 . drawCircle ( arg1 , arg2 , arg3 , paint ) ; } |
17,034 | add a user or a friend list to the allowed list . only applicable in case of selected com.sromku.simple.fb.entities.privacy.privacysettings #custom custom in #setprivacysettings com.sromku.simple.fb.entities.privacy.privacysettings method . note : if you defined other privacy setting than com.sromku.simple.fb.entities.... | Builder function ( String arg0 ) { validateListsAccessRequest ( ) ; mAllowedUsers . add ( arg0 ) ; return this ; } |
17,035 | sets the cache last access time as atomic if the given time is bigger than it . concode_field_sep AtomicLongFieldUpdater<CacheStatisticsImpl> EXPIRIES concode_elem_sep AtomicLongFieldUpdater<CacheStatisticsImpl> PUT_TIME_TAKEN_NANOS concode_elem_sep long creationTime concode_elem_sep AtomicLongFieldUpdater<CacheStatist... | void function ( long arg0 ) { setMax ( this , LAST_ACCESS_TIME , arg0 ) ; } |
17,036 | returns the character set used to encode message addresses and string parameters . concode_field_sep byte[] longintBytes concode_elem_sep Charset charset concode_elem_sep long MSB_0_BASE_TIME concode_elem_sep ByteArrayOutputStream stream concode_elem_sep byte[] intBytes concode_elem_sep long MSB_1_BASE_TIME concode_fie... | Charset function ( ) { return charset ; } |
17,037 | returns map containing the given entries . concode_field_sep Map mMap concode_elem_sep boolean mUnderConstruction concode_field_sep Map<K,V> build concode_elem_sep HashMap<K,V> newHashMap concode_elem_sep Builder<K,V> builder concode_elem_sep Builder<K,V> put | Map < K , V > function ( K arg0 , V arg1 , K arg2 , V arg3 , K arg4 , V arg5 ) { Map loc0 = of ( ) ; loc0 . put ( arg0 , arg1 ) ; loc0 . put ( arg2 , arg3 ) ; loc0 . put ( arg4 , arg5 ) ; return loc0 ; } |
17,038 | return true if the method includes the public modifier . concode_field_sep java.lang.reflect.Method method concode_field_sep boolean isAccessible concode_elem_sep boolean isStatic concode_elem_sep String getName concode_elem_sep void setAccessible concode_elem_sep boolean isAnnotationPresent concode_elem_sep boolean is... | boolean function ( ) { return Modifier . isPublic ( method . getModifiers ( ) ) ; } |
17,039 | adds a listener to be notified when an error occurs . concode_field_sep PrinterList list_ concode_elem_sep String includeText_ concode_elem_sep VPrinters object_ concode_elem_sep JComboBox printerFilter_ concode_elem_sep String copyright concode_elem_sep ErrorEventSupport errorEventSupport_ concode_elem_sep ChangeEvent... | void function ( ErrorListener arg0 ) { errorEventSupport_ . addErrorListener ( arg0 ) ; } |
17,040 | check if row indexed i is less than row indexed j concode_field_sep int[][] data concode_elem_sep int count concode_elem_sep int targetSearchValue concode_elem_sep int sortedColumn concode_elem_sep int targetSearchColumn concode_field_sep void putPair concode_elem_sep void add concode_elem_sep void swap concode_elem_se... | boolean function ( int arg0 , int arg1 ) { return data [ targetSearchColumn ] [ arg0 ] < data [ targetSearchColumn ] [ arg1 ] ; } |
17,041 | returns an unmodifiable list containing all built-in core active scanners . concode_field_sep List<Extension> builtInExtensions concode_elem_sep List<PluginPassiveScanner> builtInPassiveScanRules concode_elem_sep List<AbstractPlugin> builtInActiveScanRules concode_field_sep List<PluginPassiveScanner> getBuiltInPassiveS... | List < AbstractPlugin > function ( ) { if ( builtInActiveScanRules == null ) { createActiveScanRules ( ) ; } return builtInActiveScanRules ; } |
17,042 | retrieves a list of the sessions in this container that are visible to the specified session , given the access rights of the session user . concode_field_sep Session sysLobSession concode_elem_sep long sessionIdCount concode_elem_sep LongKeyHashMap sessionMap concode_elem_sep Session sysSession concode_field_sep void ... | Session [ ] function ( Session arg0 ) { return arg0 . isAdmin ( ) ? getAllSessions ( ) : new Session [ ] { arg0 } ; } |
17,043 | get day 1-31 based on provided date concode_field_sep Long localizedEpoch concode_field_sep int epochToClarionDate concode_elem_sep int date concode_elem_sep int month concode_elem_sep int year concode_elem_sep int today concode_elem_sep int clock concode_elem_sep String age concode_elem_sep long clarionDateToEpoch con... | int function ( int arg0 ) { Calendar loc0 = Calendar . getInstance ( ) ; loc0 . setTimeInMillis ( clarionDateToEpoch ( arg0 ) ) ; return loc0 . get ( Calendar . DAY_OF_MONTH ) ; } |
17,044 | load register from memory , r = 0 . .3 r < - c ea r < - c c ea , if i bit set concode_field_sep PlaceHolder placeHolder concode_field_sep void instructionSTR concode_elem_sep void instructionLDX concode_elem_sep void instructionSTX concode_elem_sep void instructionLDA | void function ( Instruction arg0 ) { String loc0 = BinaryUtil . eaCalculation ( arg0 ) ; FrontPanel . setRegister ( arg0 . getRegisterNumber ( ) , Cache . getInstance ( ) . checkCache ( loc0 ) ) ; } |
17,045 | the default implementation only creates a new default project . clients may override if they want to contribute generatorspecific project setup concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_e... | void function ( IProject arg0 , GeneratorEntry arg1 ) { GeneratorUtils . createEmptyProject ( arg0 ) ; } |
17,046 | gets the value of the keyword property . concode_field_sep ReferenceType reference concode_elem_sep CompassPointEnumeration compassPoint concode_elem_sep String description concode_elem_sep CodeType keyword concode_field_sep void setKeyword concode_elem_sep void setCompassPoint concode_elem_sep void setReference concod... | CodeType function ( ) { return keyword ; } |
17,047 | returns the julian date from the calendar object . concode_field_sep double J1970 concode_elem_sep double MILLISECONDS_PER_DAY concode_field_sep double midnightDateToJulianDate concode_elem_sep double endOfDayDateToJulianDate concode_elem_sep Calendar toCalendar concode_elem_sep Calendar truncateToMidnight concode_elem... | double function ( Calendar arg0 ) { return arg0 . getTimeInMillis ( ) / MILLISECONDS_PER_DAY - 0.5 + J1970 ; } |
17,048 | set the password of the user . concode_field_sep String password concode_elem_sep String modhash concode_elem_sep String cookie concode_elem_sep RestClient restClient concode_elem_sep String username concode_field_sep List<Subreddit> getContributedTo concode_elem_sep ArrayList<String> hashCookiePair concode_elem_sep Li... | void function ( String arg0 ) { this . password = arg0 ; } |
17,049 | gets the selected fruit name . concode_field_sep String selectedFruit concode_elem_sep String selectedColor concode_elem_sep String selectedMineral concode_elem_sep String selectedPanel concode_field_sep void setSelectedFruit concode_elem_sep String getSelectedMineral concode_elem_sep void setSelectedMineral concode_el... | String function ( ) { return selectedFruit ; } |
17,050 | sets all matrix cells in a square around the given x , y coordinates to the requested state . concode_field_sep int generation concode_elem_sep int[] swap concode_elem_sep int width concode_elem_sep CARule rule concode_elem_sep int[] matrix concode_elem_sep int height concode_field_sep int getIndexFor concode_elem_sep ... | CAMatrix function ( int arg0 , int arg1 , int arg2 , int arg3 ) { for ( int loc0 = arg1 - arg2 / 2 ; loc0 < arg1 + arg2 / 2 ; loc0 ++ ) { for ( int loc1 = arg0 - arg2 / 2 ; loc1 < arg0 + arg2 / 2 ; loc1 ++ ) { if ( loc1 >= 0 && loc1 < width && loc0 >= 0 && loc0 < height ) { int loc2 = loc1 + loc0 * width ; swap [ loc2 ... |
17,051 | sets the value of the contactmsisdn property . concode_field_sep String firstName concode_elem_sep String lastName concode_elem_sep String contactMsisdn concode_elem_sep String businessName concode_elem_sep long serialVersionUID concode_elem_sep String iconUrl concode_elem_sep Integer displayPosition concode_field_sep ... | void function ( String arg0 ) { this . contactMsisdn = arg0 ; } |
17,052 | returns g , the gravitational constant , a positive value assumed to be in the - y direction . concode_field_sep Logger logger concode_elem_sep Vector<SampleInfo> sampleList concode_elem_sep int samplesPerSecond concode_elem_sep float g concode_field_sep int getSamplesPerSecond concode_elem_sep SampleSubset toSubset co... | float function ( ) { return g ; } |
17,053 | constructs a new json builder that will output the result into the provided output stream . concode_field_sep int GUESS_HEADER_LENGTH concode_field_sep XContentBuilder contentBuilder concode_elem_sep XContentBuilder contentBuilder concode_elem_sep XContentBuilder cborBuilder concode_elem_sep XContentBuilder cborBuilder... | XContentBuilder function ( OutputStream arg0 ) { return new XContentBuilder ( SmileXContent . smileXContent , arg0 ) ; } |
17,054 | reads new input data into the buffer . call only with pos == end or end == -1 , depending on the desired outcome if the function throws . concode_field_sep Charset charset concode_elem_sep byte[] buf concode_elem_sep InputStream in concode_elem_sep int pos concode_elem_sep byte LF concode_elem_sep byte CR concode_elem_... | void function ( ) { int loc0 = in . read ( buf , 0 , buf . length ) ; if ( loc0 == - 1 ) { throw new EOFException ( ) ; } pos = 0 ; end = loc0 ; } |
17,055 | converts given readablearray to an array of float . writes result to the array passed in @param into . this method will write to the output array up to the number of items from the input array . if the input array is longer than output the remaining part of the input will not be converted . concode_field_sep PlaceHolde... | int function ( ReadableArray arg0 , float [ ] arg1 ) { int loc0 = arg0 . size ( ) > arg1 . loc0 ? arg1 . loc0 : arg0 . size ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { arg1 [ loc1 ] = ( float ) arg0 . getDouble ( loc1 ) ; } return arg0 . size ( ) ; } |
17,056 | invoked when the mouse exits a component . concode_field_sep Point lastMousePosition concode_elem_sep DocumentViewModel documentViewModel concode_elem_sep AbstractDocumentView parentComponent concode_elem_sep DocumentViewController documentViewController concode_field_sep void mouseReleased concode_elem_sep void instal... | void function ( MouseEvent arg0 ) { } |
17,057 | updates the d m _ t h o n x o m in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep DM_THONXOMLocalService _service concode_field_sep vn.dtt.cmon.dm.dao.model.DM_THONXOM createDM_THONXOM concode_elem_sep vn.dtt.cmon.dm.dao.model.DM_THONXOM addDM_THONXO... | vn . dtt . cmon . dm . dao . model . DM_THONXOM function ( vn . dtt . cmon . dm . dao . model . DM_THONXOM arg0 ) { return getService ( ) . updateDM_THONXOM ( arg0 ) ; } |
17,058 | gets the value of the id property . concode_field_sep String repoType concode_elem_sep String effectiveLocalStorageUrl concode_elem_sep String contentResourceURI concode_elem_sep String providerRole concode_elem_sep String provider concode_elem_sep String name concode_elem_sep String format concode_elem_sep String expo... | String function ( ) { return id ; } |
17,059 | getter for the editing domain of the resource used in this refactoring . concode_field_sep RefactoringHelper helper concode_elem_sep List<T> contextObjects concode_field_sep Resource getResource concode_elem_sep boolean internalDoUndo concode_elem_sep List<?> getAffectedFiles concode_elem_sep String getCommandLabel con... | TransactionalEditingDomain function ( ) { return TransactionUtil . getEditingDomain ( getResource ( ) ) ; } |
17,060 | sets the value of the ban property . concode_field_sep BigInteger associatedTransactionId concode_elem_sep long serialVersionUID concode_elem_sep String ban concode_elem_sep List<ServiceChangeRequest> serviceChange concode_field_sep String getBan concode_elem_sep List<ServiceChangeRequest> getServiceChange concode_elem... | void function ( String arg0 ) { this . ban = arg0 ; } |
17,061 | this method was generated by mybatis generator . this method sets the value of the database column history_group . userid concode_field_sep Date lastvisittime concode_elem_sep Integer groupid concode_elem_sep String title concode_elem_sep String userid concode_field_sep void setGroupid concode_elem_sep String getTitle ... | void function ( String arg0 ) { this . userid = arg0 == null ? null : arg0 . trim ( ) ; } |
17,062 | decreases the rate of time travel into the future or increases the rate of time travel into the past if in time travel mode . concode_field_sep SensorOrientationController sensorOrientationController concode_elem_sep boolean usingAutoMode concode_elem_sep ZoomController zoomController concode_elem_sep TeleportingContro... | void function ( ) { timeTravelClock . decelerateTimeTravel ( ) ; } |
17,063 | called to handle cordovaresourceapi.openforread calls for a cdvplugin : / / pluginid / url . should never return null . added in cordova-android@4.0.0 concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName co... | CordovaResourceApi . OpenForReadResult function ( Uri arg0 ) { throw new FileNotFoundException ( "srini_string" + arg0 ) ; } |
17,064 | mark the occurrence of an event . concode_field_sep double NANOS_PER_SECOND concode_elem_sep RestorableEWMA m15Rate concode_elem_sep AtomicLong count concode_elem_sep RestorableEWMA m120Rate concode_elem_sep AtomicLong uncounted concode_elem_sep long TICK_INTERVAL concode_elem_sep AtomicLong lastTick concode_elem_sep d... | void function ( ) { mark ( 1 ) ; } |
17,065 | get the value of an integer . concode_field_sep PlaceHolder placeHolder concode_field_sep int checkMin concode_elem_sep int checkMax concode_elem_sep int checkMinMax | int function ( Integer arg0 ) { return getInt ( arg0 , 0 ) ; } |
17,066 | create an instance of cookie concode_field_sep QName _PrendreRendezvousResponse_QNAME concode_elem_sep QName _GetListeMagasin_QNAME concode_elem_sep QName _PrendreRendezvous_QNAME concode_elem_sep QName _GetListeMagasinResponse_QNAME concode_elem_sep QName _GetListeRendezvous_QNAME concode_elem_sep QName _GetListeRende... | Cookie function ( ) { return new Cookie ( ) ; } |
17,067 | returns the date of the next total eclipse . concode_field_sep Calendar total concode_elem_sep Calendar partial concode_field_sep void setTotal concode_elem_sep Calendar getPartial concode_elem_sep void setPartial concode_elem_sep String toString | Calendar function ( ) { return total ; } |
17,068 | gets all the children of a given lineage . concode_field_sep Map<Long,Lineage> mIdIndex concode_elem_sep LineageIdGenerator mLineageIdGenerator concode_elem_sep DirectedAcyclicGraph<Lineage> mLineageDAG concode_elem_sep Map<Long,Lineage> mOutputFileIndex concode_field_sep List<Lineage> getParents concode_elem_sep void ... | List < Lineage > function ( Lineage arg0 ) { LineageDoesNotExistException . check ( mIdIndex . containsKey ( arg0 . getId ( ) ) , ExceptionMessage . LINEAGE_DOES_NOT_EXIST , arg0 . getId ( ) ) ; return mLineageDAG . getChildren ( arg0 ) ; } |
17,069 | sets the value of the orderdate property . concode_field_sep USAddress billTo concode_elem_sep String comment concode_elem_sep Items items concode_elem_sep XMLGregorianCalendar orderDate concode_elem_sep USAddress shipTo concode_field_sep Items getItems concode_elem_sep USAddress getShipTo concode_elem_sep USAddress ge... | void function ( XMLGregorianCalendar arg0 ) { this . orderDate = arg0 ; } |
17,070 | adds a connected feature such that this devicefeature can act as a feature group concode_field_sep String m_name concode_elem_sep InsteonDevice m_device concode_elem_sep HashMap<Integer,MessageHandler> m_msgHandlers concode_elem_sep CommandHandler m_defaultCommandHandler concode_elem_sep MessageHandler m_defaultMsgHand... | void function ( DeviceFeature arg0 ) { m_connectedFeatures . add ( arg0 ) ; } |
17,071 | tell whether the given group pair is a contact in this groupcontactset , the comparison is done by matching residue numbers and chain identifiers concode_field_sep long serialVersionUID concode_elem_sep HashMap<Pair<ResidueIdentifier>,GroupContact> contacts concode_field_sep void add concode_elem_sep Pair<ResidueIdenti... | boolean function ( Group arg0 , Group arg1 ) { return hasContact ( arg0 . getResidueNumber ( ) , arg1 . getResidueNumber ( ) ) ; } |
17,072 | shows a warning dialog . concode_field_sep String DEFAULT_ERROR_TITLE concode_elem_sep String DEFAULT_INFORMATION_TITLE concode_elem_sep String DEFAULT_WARNING_TITLE concode_elem_sep Component defaultParent concode_elem_sep Logger logger concode_field_sep String messageSplitter concode_elem_sep void showInformationDial... | void function ( Component arg0 , String arg1 , String arg2 ) { if ( arg0 == null ) { arg0 = this . defaultParent ; } if ( arg1 == null ) { arg1 = DEFAULT_WARNING_TITLE ; } showWarningDialog ( arg0 , arg1 , arg2 ) ; } |
17,073 | create an instance of jaxbelement concode_field_sep QName _RequestHeader_QNAME concode_elem_sep QName _ResponseHeader_QNAME concode_elem_sep QName _ApiExceptionFault_QNAME concode_field_sep ManagedCustomerLabelOperation createManagedCustomerLabelOperation concode_elem_sep AccountLabelReturnValue createAccountLabelRetur... | JAXBElement < SoapResponseHeader > function ( SoapResponseHeader arg0 ) { return new JAXBElement < SoapResponseHeader > ( _ResponseHeader_QNAME , SoapResponseHeader . class , null , arg0 ) ; } |
17,074 | sets what is to be considered the result of executing the command . this may be called multiple times to do things like wrap the result in another type . concode_field_sep DaemonContext daemonContext concode_elem_sep Throwable exception concode_elem_sep Object result concode_elem_sep DaemonConnection connection concode... | void function ( Object arg0 ) { this . result = arg0 ; } |
17,075 | sets the value of the poid property . concode_field_sep Long poid concode_field_sep Long getPoid | void function ( Long arg0 ) { this . poid = arg0 ; } |
17,076 | information about the newly created repository . concode_field_sep RepositoryMetadata repositoryMetadata concode_field_sep int hashCode concode_elem_sep RepositoryMetadata getRepositoryMetadata concode_elem_sep boolean equals concode_elem_sep CreateRepositoryResult clone concode_elem_sep String toString concode_elem_se... | void function ( RepositoryMetadata arg0 ) { this . repositoryMetadata = arg0 ; } |
17,077 | will be available in jira > 5.x.x and omitted in earlier releases due to rest api differences . concode_field_sep String name concode_elem_sep String self concode_elem_sep String description concode_elem_sep String iconUrl concode_field_sep String getName concode_elem_sep String getIssueTypeUrl concode_elem_sep String ... | String function ( ) { return iconUrl ; } |
17,078 | read the contents of an entity and return it as a string . the content is converted using the character set from the entity if any , failing that , `` iso-8859-1 '' is used . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] toByteArray concode_elem_sep String getContentCharSet concode_elem_sep void co... | String function ( final HttpEntity arg0 ) { return toString ( arg0 , null ) ; } |
17,079 | changes the state of the game . concode_field_sep SpringLayout layout concode_elem_sep int DEFINITE_INTEGRAL_STATE concode_elem_sep int CS_STATE concode_elem_sep int SPLASHSTATE concode_elem_sep int SELECTSTATE concode_elem_sep int currentState concode_elem_sep AppScreen pane concode_elem_sep int MENUSTATE concode_elem... | void function ( int arg0 ) { pane . removeAll ( ) ; currentState = arg0 ; appStates . get ( currentState ) . init ( ) ; } |
17,080 | generate a label for labelled object using the default global label generator registartions . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | String function ( @ Nullable Object arg0 ) { return ILabelGenerator . Registry . INSTANCE . labelFor ( arg0 ) ; } |
17,081 | set up a month equal to dec 9999 . request the previous month , it should be nov 9999 . concode_field_sep Month jan1900 concode_elem_sep Month dec9999 concode_elem_sep Month nov9999 concode_elem_sep Month feb1900 concode_field_sep void testDateConstructor1 concode_elem_sep void testParseMonth concode_elem_sep void test... | void function ( ) { Month loc0 = ( Month ) this . dec9999 . loc0 ( ) ; assertEquals ( this . nov9999 , loc0 ) ; } |
17,082 | persist recent list asynchronously on a background thread concode_field_sep File file concode_elem_sep int VERSION concode_elem_sep LinkedHashSet<Long> ids concode_elem_sep int MAX_SIZE concode_elem_sep int id concode_elem_sep long serialVersionUID concode_field_sep RecentRepositories add concode_elem_sep RecentReposit... | RecentRepositories function ( ) { if ( ids != null ) new AsyncTask < Void , Void , Void > ( ) { @ Override protected Void doInBackground ( Void ... arg0 ) { save ( ) ; return null ; } } . execute ( ) ; return this ; } |
17,083 | retrieves the edge direction in which messages are propagated in the vertex-centric iteration . concode_field_sep K vertexId concode_elem_sep EdgesIterator<K,EV> edgeIterator concode_elem_sep long numberOfVertices concode_elem_sep long outDegree concode_elem_sep Iterator<?> edges concode_elem_sep long serialVersionUID ... | EdgeDirection function ( ) { return direction ; } |
17,084 | define el valor de la propiedad return . concode_field_sep Result _return concode_field_sep Result getReturn | void function ( Result arg0 ) { this . _return = arg0 ; } |
17,085 | creates a packed integer color from four argb values in the range 0 , 255 . concode_field_sep PlaceHolder placeHolder concode_field_sep int rgb | int function ( int arg0 , int arg1 , int arg2 , int arg3 ) { return ( arg0 << 24 ) | ( arg1 << 16 ) | ( arg2 << 8 ) | arg3 ; } |
17,086 | sets the value of the bytes property . concode_field_sep byte[] bytes concode_elem_sep String name concode_elem_sep WsDocument nextDocument concode_elem_sep String absolutePath concode_elem_sep MimeType mimeType concode_field_sep void setName concode_elem_sep void setNextDocument concode_elem_sep String getName concode... | void function ( byte [ ] arg0 ) { this . bytes = ( ( byte [ ] ) arg0 ) ; } |
17,087 | gets the value of the from property . concode_field_sep String payload concode_elem_sep Metadata description concode_elem_sep String from concode_elem_sep String type concode_field_sep String getPayload concode_elem_sep String getType concode_elem_sep void setFrom concode_elem_sep void setPayload concode_elem_sep void ... | String function ( ) { return from ; } |
17,088 | an initial entry should have an outgoing transition concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphJavaValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart state... | void function ( ) { prepareStateTest ( ) ; Entry loc0 = factory . createEntry ( ) ; region . getVertices ( ) . add ( loc0 ) ; assertEquals ( EntryKind . INITIAL , loc0 . getKind ( ) ) ; validator . validate ( loc0 , diagnostics , new HashMap < Object , Object > ( ) ) ; assertWarning ( diagnostics , ISSUE_INITIAL_ENTRY_... |
17,089 | removes an element from the default group concode_field_sep String DEFAULT_GROUP concode_elem_sep String alternateDefaultGroupName concode_elem_sep HashMap<String,List<ManageableType>> managedElementGroups concode_elem_sep boolean valid concode_elem_sep boolean groupable concode_elem_sep List<GenericManagerListener> li... | void function ( C arg0 ) { removeElement ( DEFAULT_GROUP , arg0 ) ; } |
17,090 | returns true if the relevance score is needed to sort documents . concode_field_sep Sort RELEVANCE concode_elem_sep Sort INDEXORDER concode_elem_sep SortField[] fields concode_field_sep void setSort concode_elem_sep void setSort concode_elem_sep SortField[] getSort concode_elem_sep int hashCode concode_elem_sep boolean... | boolean function ( ) { for ( SortField loc0 : fields ) { if ( loc0 . needsScores ( ) ) { return true ; } } return false ; } |
17,091 | returns the namespace name namespace uri for the given node . in a level 2 dom , you can ask the node itself . note , however , that doing so conflicts with our decision in getlocalnameofnode not to trust the that the dom was indeed created using the level 2 methods . if level 1 methods were used , these two functions ... | String function ( Node arg0 ) { return arg0 . getNamespaceURI ( ) ; } |
17,092 | test method for org.apache.niolex.config.dao.impl.groupdaoimpl #loadgroup java.lang.string . concode_field_sep GroupDaoImpl dao concode_field_sep void testLoadAllGroups concode_elem_sep void testAddGroup concode_elem_sep void testLoadDBTime | void function ( ) { ConfigGroup loc0 = dao . loadGroup ( "srini_string" ) ; assertEquals ( loc0 . getGroupId ( ) , 2 ) ; assertEquals ( loc0 . getGroupName ( ) , "srini_string" ) ; loc0 = dao . loadGroup ( "srini_string" ) ; assertNull ( loc0 ) ; } |
17,093 | waits until the crawl has to stop . concode_field_sep ExitStatus reason concode_elem_sep String readableName concode_elem_sep CountDownLatch latch concode_elem_sep AtomicInteger states concode_elem_sep int maxStates concode_field_sep boolean isExitCalled concode_elem_sep void stop concode_elem_sep void signalCrawlExhau... | ExitStatus function ( ) { latch . await ( ) ; return reason ; } |
17,094 | sets the eventbus that scheduled events should be published to . defaults to the eventbus found in the application context . if there is more than one eventbus in the application context , you must specify which one to use . concode_field_sep TransactionDefinition transactionDefinition concode_elem_sep SimpleEventSched... | void function ( EventBus arg0 ) { this . eventBus = arg0 ; } |
17,095 | gets something from the host concode_field_sep BufferedReader br concode_elem_sep String userAgent concode_elem_sep String content concode_elem_sep HttpURLConnection conn concode_elem_sep DataOutputStream wr concode_elem_sep boolean connected concode_field_sep URL getURL concode_elem_sep void addCookie concode_elem_sep... | String function ( String arg0 ) { return new String ( writeToHost ( arg0 ) ) ; } |
17,096 | get the steady fair share assigned to this schedulable . concode_field_sep FairScheduler scheduler concode_elem_sep float fairSharePreemptionThreshold concode_elem_sep FSParentQueue parent concode_elem_sep SchedulingPolicy policy concode_elem_sep long fairSharePreemptionTimeout concode_elem_sep long minSharePreemptionT... | Resource function ( ) { return steadyFairShare ; } |
17,097 | copies the array to the file . concode_field_sep String SIZE_T_ATTRIBUTE concode_elem_sep String JAXP_SCHEMA_LANGUAGE concode_elem_sep String PIXELS_TYPE_ATTRIBUTE concode_elem_sep String SIZE_Z_ATTRIBUTE concode_elem_sep String BIN_DATA_NS concode_elem_sep String SCHEMA_LOCATION concode_elem_sep String XSI_NS concode_... | void function ( File arg0 , byte [ ] arg1 ) { OutputStream loc0 = new FileOutputStream ( arg0 ) ; loc0 . write ( arg1 ) ; loc0 . close ( ) ; } |
17,098 | adds the version to the catalog dictionary . concode_field_sep boolean appendmode concode_elem_sep PdfName catalog_version concode_elem_sep boolean headerWasWritten concode_elem_sep char header_version concode_elem_sep byte[][] HEADER concode_elem_sep char version concode_elem_sep PdfDictionary extensions concode_field... | void function ( PdfDictionary arg0 ) { if ( catalog_version != null ) { arg0 . put ( PdfName . VERSION , catalog_version ) ; } if ( extensions != null ) { arg0 . put ( PdfName . EXTENSIONS , extensions ) ; } } |
17,099 | returns the bundle classloader of the mds entities bundle . concode_field_sep Logger LOGGER concode_field_sep boolean isMdsClassLoader concode_elem_sep boolean isMdsBundle concode_elem_sep JDOImplHelper getJDOImplHelper concode_elem_sep Bundle findMdsBundle concode_elem_sep boolean isBundleMdsDependent concode_elem_sep... | ClassLoader function ( BundleContext arg0 ) { Bundle loc0 = findMdsEntitiesBundle ( arg0 ) ; return loc0 == null ? null : loc0 . adapt ( BundleWiring . class ) . getClassLoader ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.