- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 211 for Cached (0.04 sec)
-
internal/cachevalue/cache.go
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(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
* for this session, the result will be cached and subsequent identical requests will return the cached * value without re-executing the supplier. * <p> * The caching behavior is determined by the cache retention specified in the request's metadata. * If an error occurs during execution, it will be cached and re-thrown for subsequent identical requests. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
/** The property name for maximum cached content size. */ public static final String MAX_CACHED_CONTENT_SIZE = "maxCachedContentSize"; /** The crawler container. */ @Resource protected CrawlerContainer crawlerContainer; /** The initialization parameter map. */ protected Map<String, Object> initParamMap; /** The maximum cached content size in bytes. Default is 1MB. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (10) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* When an instance is created with a File object, the content is cached in the specified file. * * <p>The {@code close()} method deletes the file if the content is cached in a file. * * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem) client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.cache; import org.apache.maven.api.annotations.Experimental; /** * Enumeration defining different retention periods for cached data. * Each value represents a specific scope and lifetime for cached items. * * @since 4.0.0 */ @Experimental public enum CacheRetention { /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
long size(); /** * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if * the cache is not recording statistics. All statistics begin at zero and never decrease over the * lifetime of the cache. * * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java
// ============== /** * Retrieves and displays cached content for a specific document. * * @param form the cache form containing document ID and highlight query * @return ActionResponse containing the cached document content or error redirect */ @Execute public ActionResponse index(final CacheForm form) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Next get should return the same instance from cache byte[] reused = impl.getBuffer(); assertSame(b, reused, "Buffer should be reused from cache"); // And it should still be zeroed for (byte value : reused) { assertEquals(0, value, "Reused buffer must be zeroed"); } } // Edge: cache size 0 means nothing is cached; release still zeroes argument @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java
* <ul> * <li>Determining the storage path for locally installed artifacts</li> * <li>Managing the layout and organization of cached remote artifacts</li> * <li>Maintaining consistency in artifact storage patterns</li> * </ul> * * <p>This interface is part of Maven's repository management system and works in * conjunction with {@link RemoteRepository} and {@link LocalRepository} to provide
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.6K bytes - Viewed (0)