- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for smearedVHash (0.06 seconds)
-
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
return size; } @Override public boolean contains(@Nullable Object o) { int smearedHash = smearedHash(o); for (ValueEntry<K, V> entry = hashTable[smearedHash & mask()]; entry != null; entry = entry.nextInValueBucket) { if (entry.matchesValue(o, smearedHash)) { return true; } } return false; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
return size; } @Override public boolean contains(@Nullable Object o) { int smearedHash = smearedHash(o); for (ValueEntry<K, V> entry = hashTable[smearedHash & mask()]; entry != null; entry = entry.nextInValueBucket) { if (entry.matchesValue(o, smearedHash)) { return true; } } return false; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
for (int entryToRehash = 0; entryToRehash < size; entryToRehash++) { int keyHash = smearedHash(keys[entryToRehash]); int keyBucket = bucket(keyHash); nextInBucketKToV[entryToRehash] = hashTableKToV[keyBucket]; hashTableKToV[keyBucket] = entryToRehash; int valueHash = smearedHash(values[entryToRehash]); int valueBucket = bucket(valueHash);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBiMap.java
*/ @Override public boolean containsValue(@Nullable Object value) { return seekByValue(value, smearedHash(value)) != null; } @Override public @Nullable V get(@Nullable Object key) { return valueOrNull(seekByKey(key, smearedHash(key))); } @CanIgnoreReturnValue @Override public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Hashing.smearedHash; import static java.lang.System.arraycopy; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Hashing.java
* hereby disclaims copyright to this source code. */ static int smear(int hashCode) { return (int) (C2 * Integer.rotateLeft((int) (hashCode * C1), 15)); } static int smearedHash(@Nullable Object o) { return smear((o == null) ? 0 : o.hashCode()); } private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO; static int closedTableSize(int expectedEntries, double loadFactor) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Hashing.smearedHash; import static java.lang.System.arraycopy; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.8K bytes - Click Count (0) -
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.Preconditions; import com.google.common.collect.Multiset.Entry;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Hashing.closedTableSize; import static com.google.common.collect.Hashing.smearedHash; import static java.lang.Math.max; import com.google.common.annotations.GwtIncompatible; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.Objects;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
*/ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Hashing.closedTableSize; import static com.google.common.collect.Hashing.smearedHash; import static com.google.common.collect.ImmutableList.asImmutableList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0)