- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for valueHash (0.62 sec)
-
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) -
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) -
operator/pkg/translate/translate_common.go
// valuePath points to component path in the values tree. func IsComponentEnabledFromValue(cn name.ComponentName, valueSpec map[string]any) (enabled bool, pathExist bool, err error) { t := NewTranslator() cnMap, ok := t.ComponentMaps[cn] if !ok { return false, false, nil } valuePath := cnMap.ToHelmValuesTreeRoot enabledPath := valuePath + ".enabled"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/apis/batch/validation/validation.go
for j, exitCodeValue := range onExitCode.Values { valuePath := valuesPath.Index(j) if onExitCode.Operator == batch.PodFailurePolicyOnExitCodesOpIn && exitCodeValue == 0 { allErrs = append(allErrs, field.Invalid(valuePath, exitCodeValue, "must not be 0 for the In operator")) } if uniqueValues.Has(exitCodeValue) { allErrs = append(allErrs, field.Duplicate(valuePath, exitCodeValue)) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
EXPECT_EQ(node_def.device(), "FakeDevice"); EXPECT_EQ(node_def.attr_size(), 1); const ::tensorflow::AttrValue& value = node_def.attr().at("Attr"); EXPECT_TRUE(value.value_case() == ::tensorflow::AttrValue::ValueCase::kI); EXPECT_EQ(value.i(), 1234); TF_DeleteBuffer(node_def_buf); TF_DeleteStatus(status); return static_cast<void*>(s); }; REGISTER_OP("TestKernelAttrGetNodeDef")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0)