Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for smearedHash (0.06 sec)

  1. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

          for (int entryToRehash = 0; entryToRehash < size; entryToRehash++) {
            int keyHash = Hashing.smearedHash(keys[entryToRehash]);
            int keyBucket = bucket(keyHash);
            nextInBucketKToV[entryToRehash] = hashTableKToV[keyBucket];
            hashTableKToV[keyBucket] = entryToRehash;
    
            int valueHash = Hashing.smearedHash(values[entryToRehash]);
            int valueBucket = bucket(valueHash);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

       */
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return seekByValue(value, smearedHash(value)) != null;
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        return Maps.valueOrNull(seekByKey(key, smearedHash(key)));
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.collect.CollectPreconditions.checkPositive;
    import static com.google.common.collect.Hashing.smearedHash;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Objects;
    import com.google.common.base.Preconditions;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  5. 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.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. 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.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    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