Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Expand (0.14 sec)

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

        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, true));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
      }
    
      public void testSegmentPut_expand() {
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
    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

        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, true));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
      }
    
      public void testSegmentPut_expand() {
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
    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

            evictEntries(newEntry);
            return null;
          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        /** Expands the table if possible. */
        @GuardedBy("this")
        void expand() {
          AtomicReferenceArray<ReferenceEntry<K, V>> oldTable = table;
          int oldCapacity = oldTable.length();
          if (oldCapacity >= MAXIMUM_CAPACITY) {
            return;
    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. android/guava/src/com/google/common/cache/LocalCache.java

            evictEntries(newEntry);
            return null;
          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        /** Expands the table if possible. */
        @GuardedBy("this")
        void expand() {
          AtomicReferenceArray<ReferenceEntry<K, V>> oldTable = table;
          int oldCapacity = oldTable.length();
          if (oldCapacity >= MAXIMUM_CAPACITY) {
            return;
    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)
Back to top