idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
33,700 | removes all extensions from path if they exist . pathutils.removeextention `` file.txt '' , '' . txt '' = file pathutils.removeextention `` file.txt.gpg '' , '' . txt '' , '' . gpg '' = file pathutils.removeextention `` file '' , '' . txt '' = file pathutils.removeextention `` file.txt '' , '' . tar.gz '' = file.txt pa... | Path function ( Path arg0 , String ... arg1 ) { String loc0 = arg0 . toString ( ) ; for ( String loc1 : arg1 ) { loc0 = StringUtils . remove ( loc0 , loc1 ) ; } return new Path ( loc0 ) ; } |
33,701 | retrieves whether this factory produces secure sockets . concode_field_sep HsqlSocketFactory sslImpl concode_elem_sep HsqlSocketFactory plainImpl concode_elem_sep String DEFAULT_SSL_PROVIDER_CLASS concode_elem_sep String DEFAULT_SSL_PROVIDER_NAME concode_field_sep Socket createSocket concode_elem_sep HsqlSocketFactory ... | boolean function ( ) { return false ; } |
33,702 | gets the removed item . the removed item . concode_field_sep List<IPropertyBagChangedDelegate<TKey>> onChange concode_elem_sep List<TKey> removedItems concode_elem_sep List<TKey> addedItems concode_elem_sep Map<TKey,Object> items concode_elem_sep List<TKey> modifiedItems concode_field_sep void internalAddItemToChangeLi... | Iterable < TKey > function ( ) { return this . removedItems ; } |
33,703 | saves the list of changes from this storage using the given resource manager concode_field_sep Log LOG concode_elem_sep CacheableWorkspaceDataManager persistentManager concode_field_sep int getChildNodesCount concode_elem_sep ItemData getItemData concode_elem_sep ItemData getItemData concode_elem_sep ItemData getItemDa... | void function ( TransactionChangesLog arg0 , TransactionableResourceManager arg1 ) { persistentManager . save ( arg0 , arg1 ) ; } |
33,704 | sets the auto configure . concode_field_sep String modelName concode_elem_sep int modelNameCnt concode_elem_sep boolean read concode_elem_sep boolean load concode_elem_sep Map<Model,List<ModelChangedListener>> mapRegisteredListeners concode_elem_sep Logger log concode_elem_sep String saveFile concode_elem_sep Model mod... | void function ( boolean arg0 ) { this . autoConfigure = arg0 ; } |
33,705 | delegated from the base entity . concode_field_sep T _primaryEO concode_field_sep void willInsert concode_elem_sep void willUpdate concode_elem_sep void mightDelete concode_elem_sep void didInsert concode_elem_sep void didUpdate concode_elem_sep void excludeObjectFromPropertyWithKey concode_elem_sep void addObjectToBot... | void function ( EOEditingContext arg0 ) { } |
33,706 | returns an unmodifiable list containing the literals that are known by this enumeration . concode_field_sep ThreePrimeDistanceMethod RIGHT concode_elem_sep java.util.List<ThreePrimeDistanceMethod> valueList concode_elem_sep java.util.List<String> literals concode_elem_sep java.util.List<String> names concode_elem_sep l... | java . util . List < String > function ( ) { return literals ; } |
33,707 | create an instance of listrequest concode_field_sep QName _BalanceMaster_QNAME concode_elem_sep QName _BalanceMasterResponse_QNAME concode_elem_sep QName _BalanceMasterRequest_QNAME concode_field_sep GetRequestVerb createGetRequestVerb concode_elem_sep DeleteRequest createDeleteRequest concode_elem_sep DeleteResponse c... | ListRequest function ( ) { return new ListRequest ( ) ; } |
33,708 | retrieves whether values for the designated parameter can be signed numbers . concode_field_sep int[] types concode_elem_sep int[] modes concode_elem_sep int parameterCount concode_elem_sep int[] nullability concode_elem_sep Result.ResultMetaData rmd concode_elem_sep boolean[] isIdentity concode_elem_sep String[] class... | boolean function ( int arg0 ) { checkRange ( arg0 ) ; Boolean loc0 = Types . isUnsignedAttribute ( types [ -- arg0 ] ) ; return loc0 != null && ! loc0 . booleanValue ( ) && ! isIdentity [ arg0 ] ; } |
33,709 | formats this call and all its call hierarchy using the given com.android.tools.perflib.vmtrace.call.formatter toprint the details for each method . concode_field_sep long mInclusiveThreadTimeInCallees concode_elem_sep List<Call> mCallees concode_elem_sep int mExitGlobalTime concode_elem_sep Stack<Call> mCallStack conco... | String function ( Formatter arg0 ) { StringBuilder loc0 = new StringBuilder ( 100 ) ; printCallHierarchy ( loc0 , arg0 ) ; return loc0 . toString ( ) ; } |
33,710 | gets the name value for this accountdata . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String real_name concode_elem_sep java.math.BigInteger id co... | java . lang . String function ( ) { return name ; } |
33,711 | returns the number of rows matching the dynamic query . concode_field_sep KaleoNodeLocalService _kaleoNodeLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void deleteKaleoDefinitionKaleoNodes concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _kaleoNodeLocalService . dynamicQueryCount ( arg0 ) ; } |
33,712 | gets the costinordercurrency value for this lineitemcreativeassociationstats . concode_field_sep com.google.api.ads.dfp.axis.v201403.Stats stats concode_elem_sep com.google.api.ads.dfp.axis.v201403.Long_StatsMapEntry[] creativeSetStats concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCa... | com . google . api . ads . dfp . axis . v201403 . Money function ( ) { return costInOrderCurrency ; } |
33,713 | write the content bytes to the specified output stream . concode_field_sep IMimeType m_aMimeType concode_elem_sep byte[] m_aContentBytes concode_field_sep int getContentByteCount concode_elem_sep boolean matchesBeginning concode_elem_sep IMimeType getMimeType concode_elem_sep int hashCode concode_elem_sep boolean equal... | void function ( @ Nonnull @ WillNotClose final OutputStream arg0 ) { arg0 . write ( m_aContentBytes , 0 , m_aContentBytes . length ) ; } |
33,714 | the number of results to return . the system will not look for additional results after the quantity has been met . null indicates to return all results . concode_field_sep RelatedProductTypeEnum type concode_elem_sep boolean cumulativeResults concode_elem_sep Long productId concode_elem_sep Long categoryId concode_ele... | Integer function ( ) { return quantity ; } |
33,715 | returns the current amplitude . concode_field_sep float leftScale concode_elem_sep float portStep concode_elem_sep AudioSignal ampMod concode_elem_sep float amp concode_elem_sep float newPan concode_elem_sep float freq concode_elem_sep float stepSize concode_elem_sep AudioListener listener concode_elem_sep float newFre... | float function ( ) { return amp ; } |
33,716 | performs a dynamic query on the database and returns a range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.l... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 ) ; } |
33,717 | checks whether the reference of a field is button . caution : this check is done by checking hardcoded reference id 28 . concode_field_sep Logger log concode_field_sep List<RoleOrganization> getAdminOrgs concode_elem_sep String getParentProperty concode_elem_sep boolean isOrgAdmin concode_elem_sep boolean isClientAdmin... | boolean function ( Field arg0 ) { if ( arg0 . getColumn ( ) == null ) { return false ; } return "srini_string" . equals ( arg0 . getColumn ( ) . getReference ( ) . getId ( ) ) ; } |
33,718 | set the requestid value . concode_field_sep String dataServiceId concode_elem_sep String clientRequestId concode_elem_sep String requestId concode_elem_sep String eTag concode_elem_sep DateTimeRfc1123 lastModified concode_field_sep PoolResizeHeaders withDataServiceId concode_elem_sep PoolResizeHeaders withLastModified ... | PoolResizeHeaders function ( String arg0 ) { this . requestId = arg0 ; return this ; } |
33,719 | sets the instances on which the tree is to be built . concode_field_sep double m_MaxRelLeafRadius concode_elem_sep int m_MaxInstancesInLeaf concode_elem_sep Instances m_Instances concode_elem_sep int m_NumNodes concode_elem_sep int m_MaxDepth concode_elem_sep DistanceFunction m_DistanceFunction concode_elem_sep boolean... | void function ( Instances arg0 ) { m_Instances = arg0 ; } |
33,720 | allows a consumer to insert spaces in locations where it is unnecessary but may improve the readability of the code . this will be called in such places as after a statement and before opening parentheses , or after the end of a if block before the start of an else block . concode_field_sep boolean statementNeedsEnded ... | void function ( ) { } |
33,721 | when istruncated is true , this element is present and contains the value to use for the marker parameter in a subsequent pagination request . concode_field_sep Boolean isTruncated concode_elem_sep String marker concode_elem_sep com.amazonaws.internal.SdkInternalList<String> accountAliases concode_field_sep Boolean isT... | ListAccountAliasesResult function ( String arg0 ) { setMarker ( arg0 ) ; return this ; } |
33,722 | adds interfered radio to connection . note that the radio may or may not already be a destination . concode_field_sep ArrayList<Radio> allInterfered concode_elem_sep ArrayList<Long> allDestinationDelays concode_elem_sep ArrayList<Radio> onlyInterfered concode_elem_sep Logger logger concode_elem_sep long startTime conco... | void function ( Radio arg0 ) { if ( isInterfered ( arg0 ) ) { logger . fatal ( "srini_string" + arg0 ) ; return ; } allInterfered . add ( arg0 ) ; destinationsNonInterfered . remove ( arg0 ) ; if ( ! isDestination ( arg0 ) ) { onlyInterfered . add ( arg0 ) ; } } |
33,723 | retrieves the processed data . concode_field_sep String mSubscriptionId concode_elem_sep String mAccountId concode_elem_sep byte[] mData concode_field_sep String getSubscriptionId concode_elem_sep String getAccountId | byte [ ] function ( ) { return mData ; } |
33,724 | computes a hashcode for this timestamp . the result is the exclusive or of the two halves of the primitive long value represented by this timestamp object . that is , the hashcode is the value of the expression : int this.ntpvalue & circ ; this.ntpvalue > > > 32 concode_field_sep long msb0baseTime concode_elem_sep long... | int function ( ) { return ( int ) ( ntpTime ^ ( ntpTime >>> 32 ) ) ; } |
33,725 | return a file pointing to the storage location for map tiles . concode_field_sep String PREF_MYLOCATION_ENABLED concode_elem_sep int MAX_DISK_CACHE_BYTES concode_elem_sep String TILE_PATH concode_elem_sep String[] mapTileAssets concode_elem_sep String TAG concode_field_sep DiskLruCache openDiskCache concode_elem_sep Ma... | File function ( Context arg0 , String arg1 ) { File loc0 = new File ( arg0 . getFilesDir ( ) , TILE_PATH ) ; if ( ! loc0 . exists ( ) ) { loc0 . mkdirs ( ) ; } return new File ( loc0 , arg1 ) ; } |
33,726 | determine whether the submit button is disabled . concode_field_sep String IMAGE_DISABLED concode_elem_sep String IMAGE_ENABLED concode_elem_sep boolean status concode_field_sep String getImageButton concode_elem_sep boolean getStatus concode_elem_sep void setStatus | boolean function ( ) { return ! status ; } |
33,727 | gets the total number of items in the ineventory . concode_field_sep double inventoryPriceTotal concode_elem_sep ArrayList inventory concode_elem_sep int inventoryUnitTotal concode_field_sep double getInventoryPriceTotal concode_elem_sep void addInventoryItem concode_elem_sep void removeInventoryItem concode_elem_sep A... | int function ( ) { return inventoryUnitTotal ; } |
33,728 | returns the type of this data generator . concode_field_sep DataGenerator _dataGenerator concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel conc... | java . lang . String function ( ) { return _dataGenerator . getType ( ) ; } |
33,729 | processes the confirmation of the social request . confirmations are handled by finding the appropriate social request interpreter and calling its processconfirmation method . to find the appropriate interpreter this method goes through the available interpreters to find one that can handle the asset type of the reques... | void function ( com . liferay . social . kernel . model . SocialRequest arg0 , com . liferay . portal . kernel . theme . ThemeDisplay arg1 ) { getService ( ) . processConfirmation ( arg0 , arg1 ) ; } |
33,730 | returns the spring bean id for this bean . concode_field_sep AppLocalService _appLocalService concode_field_sep com.liferay.marketplace.model.App fetchAppByUuidAndCompanyId concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQ... | java . lang . String function ( ) { return _appLocalService . getBeanIdentifier ( ) ; } |
33,731 | support delete by constructing a rowkey or by encoded rowkey passed from client concode_field_sep String columnFamily concode_elem_sep String table concode_elem_sep HTableInterface tbl concode_field_sep void flush concode_elem_sep void deleteRowkeys concode_elem_sep void deleteEntities concode_elem_sep void deleteRowBy... | void function ( InternalLog arg0 ) { final byte [ ] loc0 = RowkeyHelper . getRowkey ( arg0 ) ; final Delete loc1 = createDelete ( loc0 ) ; tbl . loc1 ( loc1 ) ; } |
33,732 | init plugin and resolve major version concode_field_sep AgentLogger LOGGER concode_elem_sep Map<ClassLoader,Map<String,ClassLoader>> extraRepositories concode_elem_sep int tomcatMajorVersion concode_elem_sep String WEB_INF_CLASSES concode_elem_sep Map<Object,ClassLoader> registeredResourcesMap concode_field_sep int res... | void function ( String arg0 ) { LOGGER . info ( "srini_string" , arg0 ) ; tomcatMajorVersion = resolveTomcatMajorVersion ( arg0 ) ; } |
33,733 | get the server header . applies to the connected frame . concode_field_sep String CONTENT_LENGTH concode_elem_sep String ACK concode_elem_sep Map<String,List<String>> headers concode_elem_sep String LOGIN concode_elem_sep String SERVER concode_elem_sep String SESSION concode_elem_sep String PASSCODE concode_elem_sep St... | String function ( ) { return getFirst ( SERVER ) ; } |
33,734 | count of days in the given month one indexed of the given year . concode_field_sep TimeZone ZULU concode_elem_sep long SECS_PER_DAY concode_elem_sep Pattern UTC_TZID concode_elem_sep TimeZone BOGUS_TIMEZONE concode_elem_sep int[] MONTH_START_TO_DOY concode_field_sep TimeZone utcTimezone concode_elem_sep DateValue add c... | int function ( int arg0 , int arg1 ) { switch ( arg1 ) { case 1 : case 3 : case 5 : case 7 : case 8 : case 10 : case 12 : return 31 ; case 4 : case 6 : case 9 : case 11 : return 30 ; case 2 : return isLeapYear ( arg0 ) ? 29 : 28 ; default : throw new AssertionError ( arg1 ) ; } } |
33,735 | get the saxon configuration concode_field_sep Stack<Expression> stack concode_elem_sep Configuration configuration concode_elem_sep Executable executable concode_elem_sep StaticContext staticContext concode_field_sep void resetStaticProperties concode_elem_sep Executable getExecutable concode_elem_sep void setExecutabl... | Configuration function ( ) { return configuration ; } |
33,736 | test of getreaderhintmap method , of class barcodedataformat . concode_field_sep PlaceHolder placeHolder concode_field_sep void testConstructorWithBarcodeFormat concode_elem_sep void testGetParams concode_elem_sep void testOptimizeHints concode_elem_sep void testOptimizieHintsForDataMatrix concode_elem_sep void testRem... | void function ( ) { BarcodeDataFormat loc0 = new BarcodeDataFormat ( ) ; Map < DecodeHintType , Object > loc1 = loc0 . getReaderHintMap ( ) ; assertNotNull ( loc1 ) ; } |
33,737 | set the generation to be opened . use null to start with a fresh translog . concode_field_sep String INDEX_TRANSLOG_FS_TYPE concode_elem_sep String INDEX_TRANSLOG_SYNC_INTERVAL concode_elem_sep TimeValue syncInterval concode_elem_sep Settings indexSettings concode_elem_sep ShardId shardId concode_elem_sep String INDEX_... | void function ( TranslogGeneration arg0 ) { this . translogGeneration = arg0 ; } |
33,738 | returns the number of tick units in this collection . this method is required for the xml writer . concode_field_sep List tickUnits concode_elem_sep long serialVersionUID concode_field_sep void add concode_elem_sep TickUnit getLargerTickUnit concode_elem_sep TickUnit getCeilingTickUnit concode_elem_sep TickUnit getCeil... | int function ( ) { return this . tickUnits . size ( ) ; } |
33,739 | parses the given element representing an upcasterchain definition and returns the corresponding beandefinition . concode_field_sep String SERIALIZER_ATTRIBUTE concode_elem_sep String STRATEGY_ATTRIBUTE concode_elem_sep String STRATEGY_EAGER concode_elem_sep String CONVERTER_FACTORY_ATTRIBUTE concode_field_sep placehold... | BeanDefinition function ( Element arg0 , ParserContext arg1 ) { return parse ( arg0 , arg1 , createAutowiredBeanWithFallback ( new ChainingConverterFactory ( ) , ConverterFactory . class , Serializer . class ) ) ; } |
33,740 | some tests for the findrangebounds method . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashcode concode_elem_sep void testEquals | void function ( ) { WaterfallBarRenderer loc0 = new WaterfallBarRenderer ( ) ; assertNull ( loc0 . findRangeBounds ( null ) ) ; } |
33,741 | accesses the number of undealt cards in this deck . concode_field_sep List<Card> cards concode_elem_sep int size concode_field_sep Card deal concode_elem_sep boolean isEmpty concode_elem_sep String toString concode_elem_sep void shuffle | int function ( ) { return size ; } |
33,742 | method geturi concode_field_sep String ALGO_ID_C14N_PHYSICAL concode_elem_sep String ALGO_ID_C14N_OMIT_COMMENTS concode_elem_sep String ALGO_ID_C14N11_OMIT_COMMENTS concode_elem_sep String ALGO_ID_C14N11_WITH_COMMENTS concode_elem_sep String ALGO_ID_C14N_EXCL_WITH_COMMENTS concode_elem_sep CanonicalizerSpi canonicalize... | String function ( ) { return canonicalizerSpi . engineGetURI ( ) ; } |
33,743 | set user agent override option of this load . defaults to ua_override_inherit . concode_field_sep byte[] mPostData concode_elem_sep int UA_OVERRIDE_INHERIT concode_elem_sep int LOAD_TYPE_DEFAULT concode_elem_sep String mVirtualUrlForDataUrl concode_elem_sep int UA_OVERRIDE_TRUE concode_elem_sep boolean mCanLoadLocalRes... | void function ( int arg0 ) { mUaOverrideOption = arg0 ; } |
33,744 | returns whether this graphics engine is vsync to display refresh rate or not . concode_field_sep GLCanvas canvas concode_elem_sep JOGLRenderer renderer concode_elem_sep Dimension size concode_elem_sep GraphicsConfiguration CONFIG concode_elem_sep GraphicsDevice DEVICE concode_elem_sep Frame frame concode_field_sep Imag... | boolean function ( ) { return ( this . renderer != null ) ? this . renderer . isVSync ( ) : false ; } |
33,745 | get all values corresponding to the indices if they exist in the map concode_field_sep PlaceHolder placeHolder concode_field_sep List<Map.Entry<K,V>> sortedEntries concode_elem_sep List<Map.Entry<K,V>> sortedEntries concode_elem_sep Map<Y,X> invert concode_elem_sep Map<Y,Set<X>> invertSet concode_elem_sep void putIntoV... | Map < T , V > function ( Map < T , V > arg0 , Collection < T > arg1 ) { Map < T , V > loc0 = new HashMap < > ( ) ; for ( T loc1 : arg1 ) if ( arg0 . containsKey ( loc1 ) ) { loc0 . put ( loc1 , arg0 . get ( loc1 ) ) ; } return loc0 ; } |
33,746 | check if a given occurence is the same as this one used to store occurence in collections . concode_field_sep int sequenceID concode_elem_sep List<Short> occurences concode_field_sep void add concode_elem_sep short getFirst concode_elem_sep int hashCode concode_elem_sep short getLast | boolean function ( Object arg0 ) { return ( ( Occurence ) arg0 ) . sequenceID == sequenceID ; } |
33,747 | gets the value of the infoboxidentifier property . concode_field_sep AccessAuthorizationType updateAccessAuthorization concode_elem_sep String creator concode_elem_sep AccessAuthorizationType readAccessAuthorization concode_elem_sep InfoboxTypeType infoboxType concode_elem_sep String purpose concode_elem_sep UserConfir... | String function ( ) { return infoboxIdentifier ; } |
33,748 | get preferred recurse flag concode_field_sep String PREF_SELECTOR_MODE concode_elem_sep int ENABLE_WORDNET concode_elem_sep String PREF_CACHE concode_elem_sep String PREF_SELECTOR concode_elem_sep String PREF_ENABLE_FRAMENET concode_elem_sep int ENABLE_FRAMENET concode_elem_sep String PREF_ENTRY_IMPORT concode_elem_sep... | boolean function ( final Context arg0 ) { final SharedPreferences loc0 = PreferenceManager . getDefaultSharedPreferences ( arg0 ) ; return loc0 . getBoolean ( Settings . PREF_ENABLE_LINKS , false ) ; } |
33,749 | set the ldap users . concode_field_sep Set<LdapUserDto> users concode_elem_sep Set<LdapGroupDto> groups concode_field_sep Set<LdapUserDto> getUsers concode_elem_sep void setGroups concode_elem_sep Set<LdapGroupDto> getGroups | void function ( Set < LdapUserDto > arg0 ) { this . users = arg0 ; } |
33,750 | returns a multivariatefunction h x defined by h x = combiner ... combiner combiner initialvalue , x 0 , x 1 ... , x x.length-1 concode_field_sep PlaceHolder placeHolder concode_field_sep UnivariateFunction add concode_elem_sep DifferentiableUnivariateFunction add concode_elem_sep UnivariateFunction fix2ndArgument conco... | MultivariateFunction function ( final BivariateFunction combiner , final double initialValue ) { return collector ( combiner , new Identity ( ) , initialValue ) ; } |
33,751 | reports that the producer method has finished executing with the given statistics . if the producer was skipped due to any of its inputs failing , then this will not be called . concode_field_sep ProducerTimingRecorder NO_OP concode_field_sep ProducerTimingRecorder noOp concode_elem_sep void recordFailure concode_elem_... | void function ( long arg0 , long arg1 ) { } |
33,752 | sets the value of the canonicalizationmethod property . concode_field_sep CanonicalizationMethodType canonicalizationMethod concode_elem_sep List<ReferenceType> reference concode_elem_sep SignatureMethodType signatureMethod concode_elem_sep String id concode_field_sep void add concode_elem_sep SignatureMethodType getSi... | void function ( CanonicalizationMethodType arg0 ) { this . canonicalizationMethod = arg0 ; } |
33,753 | add an abstractinodediff for the given snapshot . concode_field_sep List<D> diffs concode_field_sep int getLastSnapshotId concode_elem_sep D getDiffById concode_elem_sep int[] changedBetweenSnapshots concode_elem_sep void clear concode_elem_sep int getSnapshotById concode_elem_sep int getPrior concode_elem_sep int getP... | D function ( int arg0 , N arg1 ) { return addLast ( createDiff ( arg0 , arg1 ) ) ; } |
33,754 | normalizes this quaternion to unit length concode_field_sep float w concode_elem_sep Quaternion tmp2 concode_elem_sep float x concode_elem_sep float NORMALIZATION_TOLERANCE concode_elem_sep Quaternion tmp1 concode_elem_sep float y concode_elem_sep float z concode_elem_sep long serialVersionUID concode_field_sep Quatern... | Quaternion function ( ) { float loc0 = len2 ( ) ; if ( loc0 != 0.f && ( Math . abs ( loc0 - 1.0f ) > NORMALIZATION_TOLERANCE ) ) { loc0 = ( float ) Math . sqrt ( loc0 ) ; w /= loc0 ; x /= loc0 ; y /= loc0 ; z /= loc0 ; } return this ; } |
33,755 | prints a message at verbose priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void prin... | void function ( String arg0 , String arg1 ) { v ( arg0 , arg1 , null ) ; } |
33,756 | indicate whether the extension of the request path should be used to determine the requested media type with the highest priority . by default this value is set to true in which case a requestfor / hotels.pdf will be interpreted as a request for `` application/pdf '' regardless of the accept header . concode_field_sep ... | ContentNegotiationConfigurer function ( boolean arg0 ) { this . factoryBean . setFavorPathExtension ( arg0 ) ; return this ; } |
33,757 | a complex type that contains information about the name servers for the specified hosted zone . concode_field_sep HostedZone hostedZone concode_elem_sep DelegationSet delegationSet concode_elem_sep com.amazonaws.internal.SdkInternalList<VPC> vPCs concode_field_sep void setDelegationSet concode_elem_sep void setHostedZo... | DelegationSet function ( ) { return this . delegationSet ; } |
33,758 | add an advertiser to the dataset concode_field_sep QueryReport[] queryReports concode_elem_sep Map<Query,QueryClass> querySampler concode_elem_sep QueryReportSender queryReportSender concode_elem_sep String[] advertisers concode_elem_sep int advertisersCount concode_elem_sep Query lastQuery concode_elem_sep Map<Integer... | void function ( String arg0 ) { int loc0 = ArrayUtils . indexOf ( advertisers , 0 , advertisersCount , arg0 ) ; if ( loc0 < 0 ) { doAddAccount ( arg0 ) ; } } |
33,759 | post / account/change _ password : changes the current user 's password concode_field_sep Logger log concode_elem_sep UserRepository userRepository concode_elem_sep MailService mailService concode_elem_sep UserService userService concode_field_sep ResponseEntity<String> finishPasswordReset concode_elem_sep ResponseEnti... | ResponseEntity < ? > function ( @ RequestBody String arg0 ) { if ( ! checkPasswordLength ( arg0 ) ) { return new ResponseEntity < > ( "srini_string" , HttpStatus . BAD_REQUEST ) ; } userService . changePassword ( arg0 ) ; return new ResponseEntity < > ( HttpStatus . OK ) ; } |
33,760 | gets the value of the index property . concode_field_sep Integer index concode_field_sep void setIndex | Integer function ( ) { return index ; } |
33,761 | get one file by id . concode_field_sep Logger log concode_elem_sep FileRepository fileRepository concode_field_sep List<File> findByOwnerIsCurrentUser concode_elem_sep File save concode_elem_sep Page<File> findAll concode_elem_sep void delete concode_elem_sep List<File> findByOwnerIsCurrentUserOrShared concode_elem_sep... | File function ( Long arg0 ) { log . debug ( "srini_string" , arg0 ) ; File loc0 = fileRepository . findOne ( arg0 ) ; return loc0 ; } |
33,762 | called when the activity receives a new intent . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String id concode_field_sep boolean onReceivedClientCertRequest concode_elem_sep boolean onOverrideUrlLoading concode_elem_... | void function ( Intent arg0 ) { } |
33,763 | the ondemandrenderer is a groupasyncrenderer that requests aserver-initiated render of all the renderables in its collection . the request is made immediately upon request . thsi method returns the appropriate groupasyncrenderer based on the name . if the name is new , a new instance is created and stored in the render... | OnDemandRenderer function ( String arg0 ) { return ( OnDemandRenderer ) getRenderer ( arg0 , ON_DEMAND ) ; } |
33,764 | use url context and one or more relocations to build end url . concode_field_sep PlaceHolder placeHolder concode_field_sep URL changeBase concode_elem_sep URL getUrlBase | URL function ( URL arg0 , String ... arg1 ) { URL loc0 = arg0 ; for ( String loc1 : arg1 ) { try { loc0 = new URL ( loc0 , loc1 ) ; } catch ( MalformedURLException loc2 ) { throw new AssertionError ( "srini_string" + loc0 + "srini_string" + loc1 + "srini_string" ) ; } } return loc0 ; } |
33,765 | displays a com.nispok.snackbar.snackbar in the specified viewgroup , dismissing the current snackbar being displayed , if any concode_field_sep String TAG concode_elem_sep Handler MAIN_THREAD concode_elem_sep Snackbar currentSnackbar concode_field_sep void dismiss concode_elem_sep Snackbar getCurrentSnackbar | void function ( @ NonNull Snackbar arg0 , @ NonNull ViewGroup arg1 ) { show ( arg0 , arg1 , Snackbar . shouldUsePhoneLayout ( arg0 . getContext ( ) ) ) ; } |
33,766 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String className concode_elem_sep String color concode_field_sep void setColor concode_elem_sep Animal color concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getColor con... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
33,767 | puts the values of the dataset into the map concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,Object> toMap concode_elem_sep Element createDatasetRecord concode_elem_sep List<Map<String,Object>> toList concode_elem_sep Document toDocument concode_elem_sep String[] getColumns | void function ( Map < String , Object > arg0 , DataSet arg1 ) { String [ ] loc0 = getColumns ( arg1 ) ; for ( String loc1 : loc0 ) { String loc2 = arg1 . getString ( loc1 ) ; arg0 . put ( loc1 , loc2 ) ; } } |
33,768 | auto generated setter method concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.DeleteInternetGatewayResponseType localDeleteInternetGatewayResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void w... | void function ( com . amazon . ec2 . DeleteInternetGatewayResponseType arg0 ) { this . localDeleteInternetGatewayResponse = arg0 ; } |
33,769 | sets the value of the value property . concode_field_sep String type concode_elem_sep String value concode_field_sep String getValue concode_elem_sep String getType concode_elem_sep void setType | void function ( String arg0 ) { this . value = arg0 ; } |
33,770 | returns the largest integer less than or equal to a number . concode_field_sep double LOG2E concode_elem_sep double LOG10E concode_elem_sep double LN2 concode_elem_sep double SQRT1_2 concode_elem_sep double E concode_elem_sep double LN10 concode_elem_sep double PI concode_elem_sep double SQRT2 concode_field_sep double ... | double function ( double arg0 ) { return Math . floor ( arg0 ) ; } |
33,771 | puts all of the remaining uncreated transitions into the automaton . concode_field_sep Component parent concode_elem_sep Automaton automaton concode_elem_sep Grammar grammar concode_elem_sep Map tToP concode_elem_sep SelectionDrawer drawer concode_elem_sep Set alreadyDone concode_elem_sep Map pToT concode_elem_sep Gram... | void function ( ) { Collection loc0 = new HashSet ( pToT . keySet ( ) ) ; Iterator loc1 = loc0 . iterator ( ) ; while ( loc1 . hasNext ( ) ) { Production loc2 = ( Production ) loc1 . next ( ) ; if ( alreadyDone . contains ( loc2 ) ) continue ; Transition loc3 = ( Transition ) pToT . get ( loc2 ) ; automaton . addTransi... |
33,772 | open a quotaretriever with the specified filter . concode_field_sep QuotaSettings cache concode_elem_sep Log LOG concode_elem_sep Queue<QuotaSettings> cache concode_elem_sep ResultScanner scanner concode_elem_sep Connection connection concode_elem_sep Table table concode_field_sep QuotaSettings next concode_elem_sep Qu... | QuotaRetriever function ( final Configuration arg0 , final QuotaFilter arg1 ) { Scan loc0 = QuotaTableUtil . makeScan ( arg1 ) ; QuotaRetriever loc1 = new QuotaRetriever ( ) ; loc1 . init ( arg0 , loc0 ) ; return loc1 ; } |
33,773 | sets an array of long values in the object . concode_field_sep Bundle bundle concode_elem_sep Bundle bundle concode_field_sep E putStringArrayList concode_elem_sep SharePhoto getPhoto concode_elem_sep E putPhotoArrayList concode_elem_sep E putDoubleArray concode_elem_sep double getDouble concode_elem_sep E putDouble co... | E function ( final String arg0 , @ Nullable final long [ ] arg1 ) { this . bundle . putLongArray ( arg0 , arg1 ) ; return ( E ) this ; } |
33,774 | rubystring string #to_json_raw this method creates a json text from the result of a call to #to_json_raw_object of this string . concode_field_sep PlaceHolder placeHolder concode_field_sep RubyHash toJsonRawObject concode_elem_sep IRubyObject json_create concode_elem_sep void populate concode_elem_sep IRubyObject to_js... | IRubyObject function ( ThreadContext arg0 , IRubyObject arg1 , IRubyObject [ ] arg2 ) { RubyHash loc0 = toJsonRawObject ( arg0 , Utils . ensureString ( arg1 ) ) ; return Generator . generateJson ( arg0 , loc0 , Generator . HASH_HANDLER , arg2 ) ; } |
33,775 | checks for rental list equality . concode_field_sep List<IUser> userList concode_elem_sep DateFormat dateFormat concode_elem_sep List<Rental> rentalList concode_elem_sep List<Movie> movieList concode_elem_sep Database db concode_field_sep void assignRentalsToUsers concode_elem_sep Movie getMovieById concode_elem_sep IU... | boolean function ( final DataSet arg0 ) { if ( rentalList == null ) { if ( arg0 . rentalList != null ) { return false ; } } else if ( ! rentalList . equals ( arg0 . rentalList ) ) { return false ; } return true ; } |
33,776 | checks if the document state has been changed since its construction or the last call to #setnotdirty . concode_field_sep State originalState concode_elem_sep State state concode_field_sep String getName concode_elem_sep void markDirty concode_elem_sep boolean containsKey concode_elem_sep String getPrimaryType concode_... | boolean function ( ) { return originalState != null ; } |
33,777 | aws credentials required when uploading a game build to the storage location . these credentials have a limited lifespan and are valid only for the build they were issued for . if you need to get fresh credentials , call requestuploadcredentials . concode_field_sep Credentials uploadCredentials concode_elem_sep Build b... | void function ( Credentials arg0 ) { this . uploadCredentials = arg0 ; } |
33,778 | schedules the start and end tasks of the calendar item . concode_field_sep CalendarServiceImpl calendarService concode_elem_sep Date endDate concode_elem_sep boolean executeNow concode_elem_sep RecurringPattern pattern concode_elem_sep TimerTask endTask concode_elem_sep TimerTask startTask concode_elem_sep CalendarServ... | void function ( ) { if ( ! executeNow ) { timer . schedule ( startTask , startDate ) ; } else { startTask . run ( ) ; } timer . schedule ( endTask , endDate ) ; } |
33,779 | used for implementing the deprecated template method with similar name . concode_field_sep Set BUILT_IN_DIRECTIVE_NAMES concode_elem_sep String ERROR_MESSAGE_HR concode_elem_sep Map.Entry<String,UnboundCallable> adapted concode_field_sep Entry<String,Macro> next concode_elem_sep void outputInstructionStack concode_elem... | List < TemplateElement > function ( UnboundTemplate arg0 , int arg1 , int arg2 ) { return arg0 . containingElements ( arg1 , arg2 ) ; } |
33,780 | this method creates an imageexplanationchunk instance based on the arguments provided and returns it as a return value . the chunk content is , in this case , an imagedata instance . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | ExplanationChunk function ( int arg0 , String arg1 , String arg2 , String [ ] arg3 , Object arg4 ) { return new ImageExplanationChunk ( arg0 , arg1 , arg2 , arg3 , arg4 ) ; } |
33,781 | return selection string for current internal state . concode_field_sep StringBuilder mSelection concode_elem_sep HashMap<String,String> mProjectionMap concode_elem_sep ArrayList<String> mSelectionArgs concode_elem_sep String mTable concode_field_sep Cursor query concode_elem_sep Cursor query concode_elem_sep int update... | String function ( ) { if ( mSelection != null ) { return mSelection . toString ( ) ; } else { return null ; } } |
33,782 | the transportclient remote port to use defaults to 9300 concode_field_sep String transportAddresses concode_elem_sep String indexType concode_elem_sep List<InetSocketTransportAddress> transportAddressesList concode_elem_sep Boolean data concode_elem_sep String indexName concode_elem_sep int port concode_elem_sep String... | int function ( ) { return port ; } |
33,783 | resource stream . concode_field_sep Context context concode_field_sep void addContextResourceLink concode_elem_sep void resourceExists concode_elem_sep void createJspCompilationContext concode_elem_sep void applicationFilters concode_elem_sep void canBoundToPivotal8 concode_elem_sep void applicationFilterMaps concode_e... | void function ( ) { final Tomcat85ContainerAdapter loc0 = new Tomcat85ContainerAdapter ( ) ; loc0 . getResourceStream ( "srini_string" , context ) ; } |
33,784 | sets the input text value . concode_field_sep String inputText concode_elem_sep String clicked concode_field_sep void linkButtonListener concode_elem_sep void imageButtonListener concode_elem_sep String getClicked concode_elem_sep String getInputText concode_elem_sep void submitButtonListener | void function ( String arg0 ) { inputText = arg0 ; } |
33,785 | get the encdata value . concode_field_sep Collection<RecipInfo> recipientInfo concode_elem_sep EncContent encData concode_elem_sep int version concode_field_sep int getVersion concode_elem_sep void setRecipientInfo concode_elem_sep void setVersion concode_elem_sep Collection<RecipInfo> recipientInfosFromASN1Set concode... | EncContent function ( ) { return encData ; } |
33,786 | returns the real path of the given uri . if the given uri is a content : / / uri , the real path is retrieved from the media store . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String getRealPathFromURI_API11to18 concode_elem_sep String getDataColumn concode_elem_sep boolean isGoogl... | String function ( String arg0 , CordovaInterface arg1 ) { return FileHelper . getRealPath ( Uri . parse ( arg0 ) , arg1 ) ; } |
33,787 | creates a proxy which sends the exchange to the endpoint . concode_field_sep PlaceHolder placeHolder concode_field_sep T createProxy concode_elem_sep T createProxy concode_elem_sep T createProxy concode_elem_sep T createProxy concode_elem_sep T createProxy concode_elem_sep T createProxy concode_elem_sep T createProxy c... | T function ( Endpoint arg0 , Producer arg1 , ClassLoader arg2 , Class < T > [ ] arg3 , MethodInfoCache arg4 ) { return createProxyObject ( arg0 , true , arg1 , arg2 , arg3 , arg4 ) ; } |
33,788 | returns a string representation of the files checksum . since lucene 4.8 this is a crc32 checksum written by lucene . concode_field_sep Version FIRST_LUCENE_CHECKSUM_VERSION concode_elem_sep Version writtenBy concode_elem_sep String name concode_elem_sep long length concode_elem_sep String checksum concode_elem_sep Byt... | String function ( ) { return this . checksum ; } |
33,789 | apply the xpath and assert the string value found with the givenhamcrest matcher . concode_field_sep XpathExpectationsHelper xpathHelper concode_field_sep ResultMatcher node concode_elem_sep ResultMatcher number concode_elem_sep ResultMatcher number concode_elem_sep ResultMatcher doesNotExist concode_elem_sep ResultMat... | ResultMatcher function ( final Matcher < ? super String > arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { MockHttpServletResponse loc0 = arg1 . getResponse ( ) ; xpathHelper . assertString ( loc0 . getContentAsByteArray ( ) , getDefinedEncoding ( loc0 ) , arg0 ... |
33,790 | produces the keybuffer for niffindbykey concode_field_sep PlaceHolder placeHolder concode_field_sep void addStringKey concode_elem_sep Memory b64_encodeKeys concode_elem_sep void addNumberKey concode_elem_sep void addCalendarRangeKey concode_elem_sep void addCalendarKey concode_elem_sep void addNumberRangeKey | Memory function ( Object [ ] arg0 ) { return b64_encodeKeys ( arg0 ) ; } |
33,791 | subtracts a duration value which may be negative from the instant . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isPrecise concode_elem_sep long add concode_elem_sep long add concode_elem_sep long getDifferenceAsLong concode_elem_sep int getValue concode_elem_sep int getValue concode_elem_sep Str... | long function ( long arg0 , int arg1 ) { if ( arg1 == Integer . MIN_VALUE ) { return subtract ( arg0 , ( long ) arg1 ) ; } return add ( arg0 , - arg1 ) ; } |
33,792 | return type metadata object concode_field_sep com.netsuite.webservices.platform.core_2014_2.RecordRef nexus concode_elem_sep com.netsuite.webservices.platform.core_2014_2.RecordRef purchTaxAcct concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep com.netsuite.webservices.platform.core_2014_2.... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
33,793 | getcolumnnumber returns the column number of the node . concode_field_sep String m_publicId concode_elem_sep int m_columnNumber concode_elem_sep int m_lineNumber concode_elem_sep String m_systemId concode_field_sep int getLineNumber concode_elem_sep String getSystemId concode_elem_sep String toString concode_elem_sep S... | int function ( ) { return m_columnNumber ; } |
33,794 | sets the value of the sourcerefno property . concode_field_sep String debitValueDate concode_elem_sep String product concode_elem_sep String creditAccount concode_elem_sep String debitAccount concode_elem_sep String debitCurrency concode_elem_sep String creditValueDate concode_elem_sep String debitBranch concode_elem_s... | void function ( String arg0 ) { this . sourceRefNo = arg0 ; } |
33,795 | adds the event if not found . concode_field_sep Logger logger concode_elem_sep ConcurrentHashMap<String,Set<MessageListener>> eventMap concode_elem_sep ConcurrentHashMap<String,Long> statsFired concode_elem_sep ConcurrentHashMap<String,Thread> consumerMap concode_elem_sep long consumerTimeout concode_elem_sep EventMana... | boolean function ( String arg0 ) { if ( null == events . get ( arg0 ) ) { addEvent ( arg0 ) ; return false ; } return events . get ( arg0 ) ; } |
33,796 | accepts a new connection to the socket . blocks until a new connection arrives . concode_field_sep LocalSocketImpl impl concode_elem_sep LocalSocketAddress localAddress concode_elem_sep int LISTEN_BACKLOG concode_field_sep LocalSocketAddress getLocalSocketAddress concode_elem_sep FileDescriptor getFileDescriptor concod... | LocalSocket function ( ) { LocalSocketImpl loc0 = new LocalSocketImpl ( ) ; impl . accept ( loc0 ) ; return new LocalSocket ( loc0 , LocalSocket . SOCKET_UNKNOWN ) ; } |
33,797 | creates an empty instance of segment and inserts the segment at the specified position in the x12 transaction . the returned instance can be used to add elements to the segment . concode_field_sep ICommonsList<Segment> m_aSegments concode_elem_sep Context m_aContext concode_field_sep Iterator<Segment> iterator concode_... | Segment function ( final int arg0 ) { final Segment loc0 = new Segment ( m_aContext ) ; m_aSegments . add ( arg0 , loc0 ) ; return loc0 ; } |
33,798 | determines if the open graph object is for posting concode_field_sep String[] dateFormats concode_field_sep JSONObject createOpenGraphActionForPost concode_elem_sep JSONObject createOpenGraphObjectForPost concode_elem_sep JSONObject createOpenGraphObjectForPost | boolean function ( JSONObject arg0 ) { return arg0 != null ? arg0 . optBoolean ( NativeProtocol . OPEN_GRAPH_CREATE_OBJECT_KEY ) : false ; } |
33,799 | functions just like in anki concode_field_sep Pattern sSection_re concode_elem_sep String sCtag concode_elem_sep Pattern fClozeSection concode_elem_sep Pattern sTag_re concode_elem_sep Pattern fHookFieldMod concode_elem_sep Map<String,String> mContext concode_elem_sep String clozeReg concode_elem_sep String sOtag conco... | String function ( String arg0 , Map < String , String > arg1 ) { return render_unescaped ( arg0 , arg1 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.