- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 538 for Cache (0.01 sec)
-
android/guava/src/com/google/common/graph/MapIteratorCache.java
@Nullable V getIfCached(@Nullable Object key) { Entry<K, V> entry = cacheEntry; // store local reference for thread-safety // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. if (entry != null && entry.getKey() == key) { return entry.getValue(); } return null; } void clearCache() { cacheEntry = null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
} private fun enableCache(): Cache? { cache = makeCache() client = client.newBuilder().cache(cache).build() return cache } private fun makeCache(): Cache { val cacheDir = File.createTempFile("cache-", ".dir") cacheDir.delete() return Cache(cacheDir, (1024 * 1024).toLong()) } companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
this.maxContentLength = maxContentLength; return this; } /** * Sets the cache file size threshold in bytes. * * @param cacheFileSize the cache file size to set * @return this builder instance for method chaining */ public ExtractorBuilder cacheFileSize(final int cacheFileSize) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} } } } /** * Resolve an array of SIDs using a cache and at most one MSRPC request. * <p> * This method will attempt * to resolve SIDs using a cache and cache the results of any SIDs that * required resolving with the authority. SID cache entries are currently not * expired because under normal circumstances SID information never changes. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
assertEquals(threadCount * operationsPerThread, releases.get()); // Verify cache statistics String stats = BufferCache.getCacheStatistics(); assertNotNull(stats, "Cache statistics should be available"); System.out.println("Buffer Cache Stats: " + stats); } /** * Test encryption context performance without synchronization bottlenecks */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
Object key = new Object(); Object value = new Object(); LoadingCache<Object, Object> cache = builder.build(CacheLoader.from(Suppliers.ofInstance(value))); assertSame(value, cache.getUnchecked(key)); assertEquals(0, cache.size()); assertFalse(cache.asMap().containsKey(key)); } public void testCacheBuilderFrom_string() { CacheBuilder<?, ?> fromString =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
}).orElse(StringUtil.EMPTY_STRINGS); } /** * Retrieves or creates the result document IDs cache from the session. * The cache is implemented as an LRU map to limit memory usage. * * @param session the HTTP session * @return the result document IDs cache map */ private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
cmd/storage-rest-client.go
defer xioutil.SafeClose(updates) st, err := storageNSScannerRPC.Call(ctx, client.gridConn, &nsScannerOptions{ DiskID: *client.diskID.Load(), ScanMode: int(scanMode), Cache: &cache, }) if err != nil { return cache, toStorageErr(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} @Test @DisplayName("Should get and set key") void testKey() { assertNull(referralData.getKey()); referralData.setKey("cache-key-123"); assertEquals("cache-key-123", referralData.getKey()); } @Test @DisplayName("Should get server") void testGetServer() { assertNull(referralData.getServer());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
} private StreamResponse writeNdjsonResponse(final String id, final Consumer<Writer> writeCall) { return asStream(id)// .header("Pragma", "no-cache")// .header("Cache-Control", "no-cache")// .header("Expires", "Thu, 01 Dec 1994 16:00:00 GMT")// .header("Content-Type", "application/x-ndjson")// .stream(out -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0)