Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 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: Wed Jun 12 16:38:11 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: Wed Jun 12 16:38:11 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    		}
    	case selection.Exists, selection.DoesNotExist:
    		if len(vals) != 0 {
    			allErrs = append(allErrs, field.Invalid(valuePath, vals, "values set must be empty for exists and does not exist"))
    		}
    	case selection.GreaterThan, selection.LessThan:
    		if len(vals) != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
Back to top