Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CompactStriped (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

       * Implementation of Striped where 2^k stripes are represented as an array of the same length,
       * eagerly initialized.
       */
      private static class CompactStriped<L> extends PowerOfTwoStriped<L> {
        /** Size is a power of two. */
        private final Object[] array;
    
        private CompactStriped(int stripes, Supplier<L> supplier) {
          super(stripes);
          Preconditions.checkArgument(stripes <= Ints.MAX_POWER_OF_TWO, "Stripes must be <= 2^30)");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top