Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createSegment (0.16 sec)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        int segmentSize = 1;
        while (segmentSize < segmentCapacity) {
          segmentSize <<= 1;
        }
    
        for (int i = 0; i < this.segments.length; ++i) {
          this.segments[i] = createSegment(segmentSize);
        }
      }
    
      /** Returns a fresh {@link MapMakerInternalMap} as specified by the given {@code builder}. */
      static <K, V> MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ?> create(
    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/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        int segmentSize = 1;
        while (segmentSize < segmentCapacity) {
          segmentSize <<= 1;
        }
    
        for (int i = 0; i < this.segments.length; ++i) {
          this.segments[i] = createSegment(segmentSize);
        }
      }
    
      /** Returns a fresh {@link MapMakerInternalMap} as specified by the given {@code builder}. */
      static <K, V> MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ?> create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

            if (i == remainder) {
              maxSegmentWeight--;
            }
            this.segments[i] =
                createSegment(segmentSize, maxSegmentWeight, builder.getStatsCounterSupplier().get());
          }
        } else {
          for (int i = 0; i < this.segments.length; ++i) {
            this.segments[i] =
                createSegment(segmentSize, UNSET_INT, builder.getStatsCounterSupplier().get());
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top