- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 364 for Funnel (0.17 sec)
-
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
@Override public <T extends @Nullable Object> boolean put( @ParametricNullness T object, Funnel<? super T> funnel, int numHashFunctions, LockFreeBitArray bits) { long bitSize = bits.bitSize(); long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); int hash1 = (int) hash64; int hash2 = (int) (hash64 >>> 32); boolean bitsChanged = false;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
/** * Shortcut for {@code newHasher().putObject(instance, funnel).hash()}. The implementation * <i>might</i> perform better than its longhand equivalent, but should not perform worse. * * @since 14.0 */ <T extends @Nullable Object> HashCode hashObject( @ParametricNullness T instance, Funnel<? super T> funnel); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue May 25 18:22:59 GMT 2021 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
@ElementTypesAreNonnullByDefault abstract class AbstractHashFunction implements HashFunction { @Override public <T extends @Nullable Object> HashCode hashObject( @ParametricNullness T instance, Funnel<? super T> funnel) { return newHasher().putObject(instance, funnel).hash(); } @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length(); return newHasher(len * 2).putUnencodedChars(input).hash();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { Hasher hasher = murmur3_128(seed).newHasher(); Funnels.byteArrayFunnel().funnel(input, hasher); return hasher.hash().asBytes(); } }; // Murmur3F, MurmurHash3 for x64, 128-bit (MurmurHash3_x64_128)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
+ Integer.toHexString(expected) + " got: " + Integer.toHexString(verification)); } } static final Funnel<Object> BAD_FUNNEL = new Funnel<Object>() { @Override public void funnel(Object object, PrimitiveSink bytePrimitiveSink) { bytePrimitiveSink.putInt(object.hashCode()); } }; enum RandomHasherAction {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { Hasher hasher = murmur3_128(seed).newHasher(); Funnels.byteArrayFunnel().funnel(input, hasher); return hasher.hash().asBytes(); } }; // Murmur3F, MurmurHash3 for x64, 128-bit (MurmurHash3_x64_128)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { Hasher hasher = murmur3_32(seed).newHasher(); Funnels.byteArrayFunnel().funnel(input, hasher); return hasher.hash().asBytes(); } }; // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 08 13:56:22 GMT 2021 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
+ Integer.toHexString(expected) + " got: " + Integer.toHexString(verification)); } } static final Funnel<Object> BAD_FUNNEL = new Funnel<Object>() { @Override public void funnel(Object object, PrimitiveSink bytePrimitiveSink) { bytePrimitiveSink.putInt(object.hashCode()); } }; enum RandomHasherAction {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { Hasher hasher = murmur3_32(seed).newHasher(); Funnels.byteArrayFunnel().funnel(input, hasher); return hasher.hash().asBytes(); } }; // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 08 13:56:22 GMT 2021 - 8.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
import org.junit.Ignore; /** * Base class for multiset collection tests. * * @author Jared Levy */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> { protected final Multiset<E> getMultiset() { return (Multiset<E>) collection; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 1.3K bytes - Viewed (0)