Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setSuccessor (1.22 sec)

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

        int result = getSuccessor(index);
        return (result == ENDPOINT) ? -1 : result;
      }
    
      @Override
      int nextIndexAfterRemove(int oldNextIndex, int removedIndex) {
        return (oldNextIndex == size()) ? removedIndex : oldNextIndex;
      }
    
      private int getPredecessor(int entry) {
        return (int) (links[entry] >>> 32);
      }
    
      private int getSuccessor(int entry) {
        return (int) links[entry];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
    
      private int getPredecessor(int entry) {
        return requirePredecessors()[entry] - 1;
      }
    
      @Override
      int getSuccessor(int entry) {
        return requireSuccessors()[entry] - 1;
      }
    
      private void setSuccessor(int entry, int succ) {
        requireSuccessors()[entry] = succ + 1;
      }
    
      private void setPredecessor(int entry, int pred) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashMap.java

      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.put(key(i), value(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.keys = null;
        this.values = null;
        incrementModCount();
        return newDelegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      @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;
        incrementModCount();
        return newDelegate;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.put(key(i), value(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.keys = null;
        this.values = null;
        incrementModCount();
        return newDelegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
Back to top