- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 39 for Cached (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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.Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 4.8K bytes - Click Count (0) -
android/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>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(cache.size()).isEqualTo(MAX_SIZE); CacheTesting.processPendingNotifications(cache); assertThat(removalListener.getCount()).isEqualTo(MAX_SIZE); CacheTesting.checkValidState(cache); } /** * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached. * Entries with positive weight should not be cached (nor dump existing cache). */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
key = virtualHostHelper.getVirtualHostKey(); assertEquals("", key); // Still empty due to caching // Test caching by calling again - should return cached value key = virtualHostHelper.getVirtualHostKey(); assertEquals("", key); // Still cached value } @Test public void test_getVirtualHostKey_withCaching() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
""" fileSystem.createDirectory(cache.directoryPath) writeFile(cache.directoryPath, "$urlKey.0", entryMetadata) writeFile(cache.directoryPath, "$urlKey.1", entryBody) writeFile(cache.directoryPath, "journal", journalBody) cache = Cache(fileSystem, cache.directoryPath, Int.MAX_VALUE.toLong()) client = client .newBuilder() .cache(cache) .build()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed List<Entry<Object, Object>> unused = warmUp(cache); assertThat(cache.size()).isEqualTo(WARMUP_SIZE); assertMapSize(cache.asMap(), WARMUP_SIZE); checkValidState(cache); } } public void testContainsKey_found() { for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
} }); String[] permissions = ldapUser.getPermissions(); assertNotNull(permissions); assertEquals(0, permissions.length); // Test that permissions are cached String[] permissions2 = ldapUser.getPermissions(); assertSame(permissions, permissions2); } @Test public void test_getPermissions_withBaseDnOnly() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
source.put("content", "Body"); source.put("cache", "cached data"); source.put("host", "example.com"); final Set<String> excludeFields = Set.of("cache"); final String json = new JsonIndexExportFormatter().format(source, excludeFields); assertFalse(json.contains("\"cache\"")); assertTrue(json.contains("\"host\": \"example.com\"")); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
try { initProcesses.forEach(action); } finally { initProcesses.clear(); } } /** * Gets a cached cipher by name. * @param cipherName The cipher name. * @return The cached cipher. */ public static CachedCipher getCipher(final String cipherName) { return getComponent(cipherName); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 30.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} @Test public void test_store_triggersIndexing_whenCacheSizeExceeded() { // Set small cache size indexUpdateCallback.maxDocumentCacheSize = 1; DataStoreParams paramMap = new DataStoreParams(); // Add first document - should trigger indexing because cache size is 1 Map<String, Object> dataMap1 = new HashMap<>(); dataMap1.put("url", "http://example.com/test1");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0)