- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for makeHash (0.05 sec)
-
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
/** * An abstract composition of multiple hash functions. {@linkplain #newHasher()} delegates to the * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}. * * @author Dimitris Andreou */ @Immutable @ElementTypesAreNonnullByDefault abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
} return makeHash(); } /** * Computes a hash code based on the data that have been provided to this hasher. This is called * after all chunks are handled with {@link #process} and any leftover bytes that did not make a * complete chunk are handled with {@link #processRemaining}. */ protected abstract HashCode makeHash(); // Process pent-up data in chunks
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
} return makeHash(); } /** * Computes a hash code based on the data that have been provided to this hasher. This is called * after all chunks are handled with {@link #process} and any leftover bytes that did not make a * complete chunk are handled with {@link #processRemaining}. */ protected abstract HashCode makeHash(); // Process pent-up data in chunks
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
} private static void assertNullsThrowException(Funnel<?> funnel) { PrimitiveSink primitiveSink = new AbstractStreamingHasher(4, 4) { @Override protected HashCode makeHash() { throw new UnsupportedOperationException(); } @Override protected void process(ByteBuffer bb) { while (bb.hasRemaining()) { bb.get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
@Override public Hasher newHasher() { return new AbstractStreamingHasher(4, 4) { final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override protected HashCode makeHash() { return HashCode.fromBytes(out.toByteArray()); } @Override protected void process(ByteBuffer bb) { while (bb.hasRemaining()) { out.write(bb.get());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_128HashFunction.java
break; default: throw new AssertionError("Should never get here."); } h1 ^= mixK1(k1); h2 ^= mixK2(k2); } @Override protected HashCode makeHash() { h1 ^= length; h2 ^= length; h1 += h2; h2 += h1; h1 = fmix64(h1); h2 = fmix64(h2); h1 += h2; h2 += h1;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} Sink(int chunkSize) { super(chunkSize); this.chunkSize = chunkSize; this.bufferSize = chunkSize; } @Override protected HashCode makeHash() { return HashCode.fromBytes(out.toByteArray()); } @Override protected void process(ByteBuffer bb) { processCalled++; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/SipHashFunction.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} Sink(int chunkSize) { super(chunkSize); this.chunkSize = chunkSize; this.bufferSize = chunkSize; } @Override protected HashCode makeHash() { return HashCode.fromBytes(out.toByteArray()); } @Override protected void process(ByteBuffer bb) { processCalled++; assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0)