Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for warmUp (0.03 sec)

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

          List<Entry<Object, Object>> warmed = warmUp(cache);
          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            Object newValue = new Object();
            assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue));
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          List<Entry<Object, Object>> warmed = warmUp(cache);
          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            Object newValue = new Object();
            assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue));
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

              UnsupportedOperationException.class, () -> cache.asMap().keySet().addAll(asList(1, 2)));
        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
          keys.clear();
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_empty_remove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/main/resources/fess_env_suggest.properties

    #                                                                                   ======
    # The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
    lasta_di.smart.deploy.mode = warm
    
    # Is development environment here? (used for various purpose, you should set false if unknown)
    development.here = false
    
    # The title of environment (e.g. local or integration or production)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         */
        boolean is(String propertyKey);
    
        /**
         * Get the value for the key 'lasta_di.smart.deploy.mode'. <br>
         * The value is, e.g. warm <br>
         * comment: The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getLastaDiSmartDeployMode();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/main/resources/fess_env_web.properties

    #                                                                                   ======
    # The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
    lasta_di.smart.deploy.mode = cool
    
    # Is development environment here? (used for various purpose, you should set false if unknown)
    development.here = false
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  10. src/main/resources/fess_env_crawler.properties

    #                                                                                   ======
    # The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
    lasta_di.smart.deploy.mode = warm
    
    # Is development environment here? (used for various purpose, you should set false if unknown)
    development.here = false
    
    # The title of environment (e.g. local or integration or production)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top