Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for _loadFactor (0.1 sec)

  1. test-site/activator-launch-1.3.2.jar

    final synchronized class HashSet extends AbstractSet implements scala.Serializable, FlatHashTable$HashUtils { private transient int _loadFactor; private transient Object[] table; private transient int tableSize; private transient int threshold; private transient int[] sizemap; private transient int seedvalue; public final int _loadFactor(); public final void _loadFactor_$eq(int); public final Object[] table(); public final void table_$eq(Object[]); public final int tableSize(); public final void tableSize_$eq(int);...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Hashing.java

      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Hashing.java

      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      ObjectCountHashMap(int expectedSize, float loadFactor) {
        init(expectedSize, loadFactor);
      }
    
      void init(int expectedSize, float loadFactor) {
        Preconditions.checkArgument(expectedSize >= 0, "Initial capacity must be non-negative");
        Preconditions.checkArgument(loadFactor > 0, "Illegal load factor");
        int buckets = Hashing.closedTableSize(expectedSize, loadFactor);
        this.table = newTable(buckets);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/LruHashMap.java

         *
         * @param limitSize
         *            エントリ数の上限
         * @param initialCapacity
         *            初期容量
         * @param loadFactor
         *            負荷係数
         */
        public LruHashMap(final int limitSize, final int initialCapacity, final float loadFactor) {
            super(initialCapacity, loadFactor, true);
            this.limitSize = limitSize;
        }
    
        /**
         * エントリ数の上限を返します。
         *
         * @return エントリ数の上限
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        public CapacityEnforcingLinkedHashMap(
            int initialCapacity,
            float loadFactor,
            boolean accessOrder,
            long maximumSize,
            StatsCounter statsCounter,
            @Nullable RemovalListener<? super K, ? super V> removalListener) {
          super(initialCapacity, loadFactor, accessOrder);
          this.maximumSize = maximumSize;
          this.statsCounter = statsCounter;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
          // loadFactor is 0.75 by default. So with the calculation here we ensure that the
          // threshold is equal to ceilingPowerOfTwo(expectedSize). There is a separate code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
          // loadFactor is 0.75 by default. So with the calculation here we ensure that the
          // threshold is equal to ceilingPowerOfTwo(expectedSize). There is a separate code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top