Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for valueHash (0.11 sec)

  1. guava/src/com/google/common/collect/HashBiMap.java

          }
        }
        return null;
      }
    
      @CheckForNull
      private BiEntry<K, V> seekByValue(@CheckForNull Object value, int valueHash) {
        for (BiEntry<K, V> entry = hashTableVToK[valueHash & mask];
            entry != null;
            entry = entry.nextInVToKBucket) {
          if (valueHash == entry.valueHash && Objects.equal(value, entry.value)) {
            return entry;
          }
        }
        return null;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

            replaceValueInEntry(entryForKey, value, force);
            return oldValue;
          }
        }
    
        int valueHash = Hashing.smearedHash(value);
        int valueEntry = findEntryByValue(value, valueHash);
        if (force) {
          if (valueEntry != ABSENT) {
            removeEntryValueHashKnown(valueEntry, valueHash);
          }
        } else {
          checkArgument(valueEntry == ABSENT, "Value already present: %s", value);
        }
    
    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/RegularImmutableBiMap.java

          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int keyHash = key.hashCode();
          int valueHash = value.hashCode();
          int keyBucket = Hashing.smear(keyHash) & mask;
          int valueBucket = Hashing.smear(valueHash) & mask;
    
          ImmutableMapEntry<K, V> nextInKeyBucket = keyTable[keyBucket];
          ImmutableMapEntry<K, V> nextInValueBucket = valueTable[valueBucket];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top