- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 527 for Cached (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
import okhttp3.internal.toNonNegativeInt /** * Given a request and cached response, this figures out whether to use the network, the cache, or * both. * * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header * for conditional GETs) or warnings to the cached response (if the cached data is potentially * stale). */ class CacheStrategy internal constructor(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0) -
internal/cachevalue/cache.go
// `.TnitOnce`. func New[T any]() *Cache[T] { return &Cache[T]{} } // NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use. func NewFromFunc[T any](ttl time.Duration, opts Opts, update func() (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } } // InitOnce initializes the cache with a TTL and an update function. It is
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Mar 01 16:00:42 GMT 2024 - 4.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousObjectSymbol.kt
override val psi: PsiElement? = withValidityAssertion { firSymbol.fir.getAllowedPsi() } override val annotationsList by cached { KtFirAnnotationListForDeclaration.create(firSymbol, builder) } override val superTypes: List<KtType> by cached { firSymbol.superTypesList(builder) } context(KtAnalysisSession)
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Tue Nov 07 09:06:00 GMT 2023 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt
override val contextReceivers: List<KtContextReceiver> by cached { firSymbol.createContextReceivers(builder) } override val valueParameters: List<KtValueParameterSymbol> by cached { firSymbol.createKtValueParameters(builder) } override val hasStableParameterNames: Boolean get() = withValidityAssertion {
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Tue Nov 07 09:06:00 GMT 2023 - 3.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatingNamesAwareScope.kt
*/ package org.jetbrains.kotlin.analysis.api.fir.scopes import org.jetbrains.kotlin.analysis.api.fir.KtSymbolByFirBuilder import org.jetbrains.kotlin.analysis.api.fir.utils.cached import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion import org.jetbrains.kotlin.fir.scopes.FirContainingNamesAwareScope import org.jetbrains.kotlin.name.Name
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Fri May 19 11:53:15 GMT 2023 - 1.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* default, OkHttp will perform lazy initialization upon the first usage of the cache. */ @Throws(IOException::class) fun initialize() { cache.initialize() } /** * Closes the cache and deletes all of its stored values. This will delete all files in the cache * directory including files that weren't created by the cache. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirFunctionLikeSignature.kt
get() = withValidityAssertion { firSymbol.buildSymbol(firSymbolBuilder) as S } override val returnType: KtType by cached { firSymbolBuilder.typeBuilder.buildKtType(coneSubstitutor.substituteOrSelf(firSymbol.resolvedReturnType)) } override val receiverType: KtType? by cached { val receiverTypeRef = when (val fir = firSymbol.fir) { is FirPropertyAccessor -> fir.propertySymbol.resolvedReceiverTypeRef
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Thu Apr 27 10:59:30 GMT 2023 - 5.2K bytes - Viewed (0) -
cmd/metacache-entries.go
return selected, true } // If cached is nil we shall skip the entry. if selected.cached == nil { return nil, false } // Merge if we have disagreement. // Create a new merged result. selected = &metaCacheEntry{ name: selected.name, reusable: true, cached: &xlMetaV2{metaV: selected.cached.metaV}, }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 23.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirConstructorSymbol.kt
) : KtConstructorSymbol(), KtFirSymbol<FirConstructorSymbol> { override val psi: PsiElement? by cached { firSymbol.findPsi() } override val returnType: KtType get() = withValidityAssertion { firSymbol.returnType(builder) } override val valueParameters: List<KtValueParameterSymbol> by cached { firSymbol.createKtValueParameters(builder) } override val hasStableParameterNames: Boolean
Plain Text - Registered: Fri Feb 23 08:18:11 GMT 2024 - Last Modified: Tue Nov 07 09:06:00 GMT 2023 - 4K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
+ ")"; } } /** * Returns a supplier that caches the instance supplied by the delegate and removes the cached * value after the specified time has passed. Subsequent calls to {@code get()} return the cached * value if the expiration time has not passed. After the expiration time, a new value is * retrieved, cached, and returned. See: <a * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0)