Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for convertToHashFloodingResistantImplementation (0.56 sec)

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

        this.successor = new int[expectedSize];
        return expectedSize;
      }
    
      @Override
      @CanIgnoreReturnValue
      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> result = super.convertToHashFloodingResistantImplementation();
        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        return new LinkedHashMap<>(tableSize, 1.0f, accessOrder);
      }
    
      @Override
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> result = super.convertToHashFloodingResistantImplementation();
        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        return new LinkedHashMap<>(tableSize, 1.0f, accessOrder);
      }
    
      @Override
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> result = super.convertToHashFloodingResistantImplementation();
        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        CompactLinkedHashSet<String> set = CompactLinkedHashSet.create();
                        set.convertToHashFloodingResistantImplementation();
                        Collections.addAll(set, elements);
                        return set;
                      }
                    })
                .named("CompactLinkedHashSet with flooding protection")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 21:08:15 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        this.successor = new int[expectedSize];
        return expectedSize;
      }
    
      @Override
      @CanIgnoreReturnValue
      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> result = super.convertToHashFloodingResistantImplementation();
        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        CompactHashMap<String, String> map = CompactHashMap.create();
                        map.convertToHashFloodingResistantImplementation();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 21:08:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        CompactHashSet<String> set = CompactHashSet.create();
                        set.convertToHashFloodingResistantImplementation();
                        Collections.addAll(set, elements);
                        return set;
                      }
                    })
                .named("CompactHashSet with flooding protection")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      private Set<E> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashSet<>(tableSize, 1.0f);
      }
    
      @VisibleForTesting
      @CanIgnoreReturnValue
      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.add(element(i));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        CompactLinkedHashMap<String, String> map = CompactLinkedHashMap.create();
                        map.convertToHashFloodingResistantImplementation();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 21:08:15 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      private Set<E> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashSet<>(tableSize, 1.0f);
      }
    
      @VisibleForTesting
      @CanIgnoreReturnValue
      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.add(element(i));
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top