Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for smearedHash (0.17 sec)

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

          return size;
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          int smearedHash = Hashing.smearedHash(o);
          for (ValueEntry<K, V> entry = hashTable[smearedHash & mask()];
              entry != null;
              entry = entry.nextInValueBucket) {
            if (entry.matchesValue(o, smearedHash)) {
              return true;
            }
          }
          return false;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

    package com.google.common.collect;
    
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashSet.java

    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    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)
  4. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      @Override
      public boolean contains(@CheckForNull Object target) {
        @Nullable Object[] table = this.table;
        if (target == null || table.length == 0) {
          return false;
        }
        for (int i = Hashing.smearedHash(target); ; i++) {
          i &= mask;
          Object candidate = table[i];
          if (candidate == null) {
            return false;
          } else if (candidate.equals(target)) {
            return true;
          }
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top