Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for tableSize (0.09 sec)

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

        int expectedSize = super.allocArrays();
        this.links = new long[expectedSize];
        return expectedSize;
      }
    
      @Override
      Map<K, V> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashMap<>(tableSize, 1.0f, accessOrder);
      }
    
      @Override
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        int expectedSize = super.allocArrays();
        this.links = new long[expectedSize];
        return expectedSize;
      }
    
      @Override
      Map<K, V> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashMap<>(tableSize, 1.0f, accessOrder);
      }
    
      @Override
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        Builder<Integer> builder = ImmutableSet.builder();
        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        CollectPreconditions.checkNonnegative(expectedSize, "expectedSize");
        int tableSize = Hashing.closedTableSize(expectedSize, 1.0);
        size = 0;
    
        keys = (K[]) new Object[expectedSize];
        values = (V[]) new Object[expectedSize];
    
        hashTableKToV = createFilledWithAbsent(tableSize);
        hashTableVToK = createFilledWithAbsent(tableSize);
        nextInBucketKToV = createFilledWithAbsent(expectedSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashing.java

      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashing.java

      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedHashMultimap.java

          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
          int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR);
    
          @SuppressWarnings({"rawtypes", "unchecked"})
          @Nullable
          ValueEntry<K, V>[] hashTable = new @Nullable ValueEntry[tableSize];
          this.hashTable = hashTable;
        }
    
        private int mask() {
          return hashTable.length - 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. manifests/charts/base/files/crd-all.gen.yaml

                                        consistent hashing to backend hosts.
                                      properties:
                                        tableSize:
                                          description: The table size for Maglev hashing.
                                          minimum: 0
                                          type: integer
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  9. test-site/activator-launch-1.3.2.jar

    s { 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); public final int threshold(); public final void threshold_$eq(int); public final 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)
Back to top