Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for concurrencyLevel (0.26 sec)

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

        checkConcurrencyLevel(7, 8);
        checkConcurrencyLevel(8, 8);
      }
    
      private static void checkConcurrencyLevel(int concurrencyLevel, int segmentCount) {
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        checkConcurrencyLevel(7, 8);
        checkConcurrencyLevel(8, 8);
      }
    
      private static void checkConcurrencyLevel(int concurrencyLevel, int segmentCount) {
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          this.expireAfterWriteNanos = expireAfterWriteNanos;
          this.expireAfterAccessNanos = expireAfterAccessNanos;
          this.maxWeight = maxWeight;
          this.weigher = weigher;
          this.concurrencyLevel = concurrencyLevel;
          this.removalListener = removalListener;
          this.ticker = (ticker == Ticker.systemTicker() || ticker == NULL_TICKER) ? null : ticker;
          this.loader = loader;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top