Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 468 for cacher (0.09 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                    String key = "key-" + i;
                    entry.setKey(key);
                    entry.setCacheMap(cache);
                    entry.replaceCache();
                }
    
                // Verify all entries
                assertEquals(10, cache.size());
                for (int i = 0; i < 10; i++) {
                    assertNotNull(cache.get("key-" + i));
                }
    
                // Replace some entries
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/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)
  4. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
      private lateinit var client: OkHttpClient
    
      @Before
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
        val request = Request("https://www.google.com/robots.txt".toHttpUrl())
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/RemovalListener.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can receive a notification when an entry is removed from a cache. The removal
     * resulting in notification could have occurred to an entry being manually removed or replaced, or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.CacheBuilder.NULL_TICKER;
    import static com.google.common.cache.LocalCache.DISCARDING_QUEUE;
    import static com.google.common.cache.LocalCache.DRAIN_THRESHOLD;
    import static com.google.common.cache.LocalCache.nullEntry;
    import static com.google.common.cache.LocalCache.unset;
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import org.lastaflute.web.util.LaServletContextUtil;
    import org.lastaflute.web.validation.ActionValidator;
    import org.opensearch.monitor.os.OsProbe;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    import com.ibm.icu.util.ULocale;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/cache/CacheForm.java

     */
    package org.codelibs.fess.app.web.cache;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for cache-related operations.
     * Contains parameters for document caching and error page display.
     */
    public class CacheForm {
    
        /** Document ID for cache operations. */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. .github/workflows/contributors.yml

            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v6
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-github-actions.txt
          # Allow debugging with tmate
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. .github/workflows/sponsors.yml

            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v6
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-github-actions.txt
          # Allow debugging with tmate
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top