Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LargeLazyStriped (0.26 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .add(new Striped.LargeLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.SmallLazyStriped<Lock>(50, LOCK_SUPPLER))
            .add(new Striped.SmallLazyStriped<Lock>(64, LOCK_SUPPLER))
            .add(new Striped.LargeLazyStriped<Lock>(50, LOCK_SUPPLER))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .add(new Striped.LargeLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER))
            .add(new Striped.SmallLazyStriped<Lock>(50, LOCK_SUPPLER))
            .add(new Striped.SmallLazyStriped<Lock>(64, LOCK_SUPPLER))
            .add(new Striped.LargeLazyStriped<Lock>(50, LOCK_SUPPLER))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        };
    
        abstract Striped<Lock> get(int stripes);
      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        };
    
        abstract Striped<Lock> get(int stripes);
      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Striped.java

       */
      @VisibleForTesting
      static class LargeLazyStriped<L> extends PowerOfTwoStriped<L> {
        final ConcurrentMap<Integer, L> locks;
        final Supplier<L> supplier;
        final int size;
    
        LargeLazyStriped(int stripes, Supplier<L> supplier) {
          super(stripes);
          this.size = (mask == ALL_SET) ? Integer.MAX_VALUE : mask + 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
Back to top