Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for AtomicReferenceArray (0.22 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import com.google.common.collect.MapMakerInternalMap.WeakValueReference;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import com.google.common.collect.MapMakerInternalMap.WeakValueReference;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        E copyEntry(E original, E newNext) {
          return this.map.entryHelper.copy(self(), original, newNext);
        }
    
        AtomicReferenceArray<E> newEntryArray(int size) {
          return new AtomicReferenceArray<>(size);
        }
    
        void initTable(AtomicReferenceArray<E> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
          this.table = newTable;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import java.util.logging.LogRecord;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    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)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import java.util.logging.LogRecord;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

          accessQueue = map.usesAccessQueue() ? new AccessQueue<>() : LocalCache.discardingQueue();
        }
    
        AtomicReferenceArray<ReferenceEntry<K, V>> newEntryArray(int size) {
          return new AtomicReferenceArray<>(size);
        }
    
        void initTable(AtomicReferenceArray<ReferenceEntry<K, V>> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
    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)
  7. guava/src/com/google/common/cache/LocalCache.java

          accessQueue = map.usesAccessQueue() ? new AccessQueue<>() : LocalCache.discardingQueue();
        }
    
        AtomicReferenceArray<ReferenceEntry<K, V>> newEntryArray(int size) {
          return new AtomicReferenceArray<>(size);
        }
    
        void initTable(AtomicReferenceArray<ReferenceEntry<K, V>> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
    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)
  8. android/guava-tests/test/com/google/common/cache/CacheTesting.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A collection of utilities for {@link Cache} testing.
     *
     * @author mike nonemacher
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheTesting.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A collection of utilities for {@link Cache} testing.
     *
     * @author mike nonemacher
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top