Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 468 for cacher (0.04 sec)

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

      }
    
      public void testGetAllPresent_empty() {
        Cache<Object, Object> cache =
            new AbstractCache<Object, Object>() {
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return null;
              }
            };
    
        assertEquals(ImmutableMap.of(), cache.getAllPresent(ImmutableList.of(new Object())));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/BufferCacheImpl.java

            Arrays.fill(buf, (byte) 0);
            synchronized (this.cache) {
                if (this.freeBuffers < this.cache.length) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] == null) {
                            this.cache[i] = buf;
                            this.freeBuffers++;
                            return;
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

              }
            };
    
        UncheckedExecutionException expected =
            assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked(new Object()));
        assertThat(expected).hasCauseThat().isEqualTo(cause);
    
        Object newValue = new Object();
        valueRef.set(newValue);
        assertSame(newValue, cache.getUnchecked(new Object()));
      }
    
      public void testGetUnchecked_unchecked() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

    import org.codelibs.fess.taglib.FessFunctions;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper class for managing crawler statistics and performance metrics.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. .github/workflows/build-docs.yml

            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install docs extras
            run: uv pip install -r requirements-docs.txt
          # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps
          - name: Install Material for MkDocs Insiders
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertFalse(cache.asMap().containsKey(2));
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
        cache.put(1, 3);
    
        cache.invalidateAll(ImmutableSet.of(1, 2));
    
        assertFalse(cache.asMap().containsKey(1));
        assertFalse(cache.asMap().containsKey(2));
        assertTrue(cache.asMap().containsKey(654));
        assertTrue(cache.asMap().containsKey(2456));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
            // Memory-based cache close should not throw exception
            cache.close();
    
            // Should still be able to get input stream after close for memory cache
            try (InputStream stream = cache.getInputStream()) {
                assertNotNull(stream);
            }
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

        /**
         *
         */
        private static final long serialVersionUID = -1648420815038372844L;
    
        /** The JAAS service name for authentication */
        private String serviceName;
        /** The cached JAAS subject */
        private Subject cachedSubject;
        /** The JAAS configuration */
        private Configuration configuration;
    
        /**
         * Create an authenticator using the JAAS service <code>jcifs</code>
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. internal/lru/lru.go

    // casting it as uint8 explicitly requires type conversions in multiple places
    const numBuckets = 100
    
    // NewLRU returns a new thread-safe cache with expirable entries.
    //
    // Size parameter set to 0 makes cache of unlimited size, e.g. turns LRU mechanism off.
    //
    // Providing 0 TTL turns expiring off.
    //
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        getAll(cache, asList(6, 8));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(1, 3, 6, 8);
    
        // get fails to save 1, put saves 3
        cache.asMap().put(3, -3);
        getAll(cache, asList(1));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(6, 8, 3);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top