Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hashTableMask (0.12 sec)

  1. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        return array;
      }
    
      private static long[] newEntries(int size) {
        long[] array = new long[size];
        Arrays.fill(array, UNSET);
        return array;
      }
    
      private int hashTableMask() {
        return table.length - 1;
      }
    
      int firstIndex() {
        return (size == 0) ? -1 : 0;
      }
    
      int nextIndex(int index) {
        return (index + 1 < size) ? index + 1 : -1;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

        return new LinkedHashSet<>(tableSize, 1.0f);
      }
    
      @CanIgnoreReturnValue
      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.add(element(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.elements = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashSet.java

        return new LinkedHashSet<>(tableSize, 1.0f);
      }
    
      @CanIgnoreReturnValue
      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.add(element(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.elements = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top