Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 768 for cacheIf (0.06 seconds)

  1. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
    
        cache.getUnchecked(one);
        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
    
        Object two = new Object();
        cache.getUnchecked(two);
        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
    
        Object three = new Object();
        cache.getUnchecked(three);
        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
    
        cache.getUnchecked(one);
        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
    
        Object two = new Object();
        cache.getUnchecked(two);
        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
    
        Object three = new Object();
        cache.getUnchecked(three);
        assertThat(cache.stats()).isEqualTo(EMPTY_STATS);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    s.acctName = "userX";
                }
                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3
    
            // Verify cache behavior - after reset, spying on the same cache won't work
            // Since we're working with internal state, we'll verify the side effects
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  4. docs/smb3-features/04-directory-leasing-design.md

                
                // Check if we have cached directory info
                DirectoryCacheEntry cache = leaseManager.getCacheEntry(parentPath);
                if (cache != null && cache.isComplete()) {
                    // Use cached data for all children
                    for (String childName : childNames) {
                        boolean exists = cache.hasChild(childName);
                        if (exists) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/BufferCacheImplTest.java

            }
    
            // Since cache cannot store, getBuffer must create a new buffer of configured size
            byte[] got = impl.getBuffer();
            assertNotNull(got);
            assertEquals(8, got.length, "Allocation uses configured maximum size when cache is empty");
            assertNotSame(supplied, got, "Zero-sized cache must not return the released instance");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. 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()
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. 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)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

     * by the garbage collector. Entries with reclaimed keys or values may be removed from the cache on
     * each cache modification, on occasional cache accesses, or on calls to {@link Cache#cleanUp}; such
     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("caches"), expireDistributionCache)
    
            // Remove scripts caches
            fileSystemOperations.removeCachedScripts(workerDir.dir("caches").asFile)
    
            // Remove script caches from TestKit integTest temp dir
            // location defined in TempTestKitDirProvider, copied here
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.2K bytes
    - Click Count (1)
  10. android/guava/src/com/google/common/cache/package-info.java

     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
     * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/CachesExplained">caches</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 03 19:02:39 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top