Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AtomicReferenceArray (0.1 sec)

  1. 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;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. 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;
    
    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-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;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. 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;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          final LoadingCache<K, ?> cache,
          final K key,
          int nThreads,
          final CountDownLatch gettersStartedSignal)
          throws InterruptedException {
    
        final AtomicReferenceArray<Object> result = new AtomicReferenceArray<>(nThreads);
        final CountDownLatch gettersComplete = new CountDownLatch(nThreads);
        for (int i = 0; i < nThreads; i++) {
          final int index = i;
          Thread thread =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top