Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for square (0.14 sec)

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

            makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

         *     {@code key} parameter. That way, we prevent the key from being garbage collected in the
         *     case of weak keys. If we create a new entry with a key that is null at construction time,
         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
         * @param key the key to copy from the original entry to the new one. Use this in preference to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        bulkFuture.addListener(
            new Runnable() {
              @Override
              public void run() {
                /*
                 * This is similar to the above test, but this time we're making sure that we recognize
                 * that the output Future is done early not because of an exception but because of a
                 * cancellation.
                 */
                secondFuture.setException(subsequentFailure);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

         *     {@code key} parameter. That way, we prevent the key from being garbage collected in the
         *     case of weak keys. If we create a new entry with a key that is null at construction time,
         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
         * @param key the key to copy from the original entry to the new one. Use this in preference to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * backing set. The returned map does not support put operations.
       *
       * <p><b>Warning:</b> If the function rejects {@code null}, caution is required to make sure the
       * set does not contain {@code null}, because the view cannot stop {@code null} from being added
       * to the set.
       *
       * <p><b>Warning:</b> This method assumes that for any instance {@code k} of key type {@code K},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top