- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for Kasper (0.16 sec)
-
android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.putShort((short) 0x0201); hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { TestHasher hasher = new TestHasher(); hasher.putLong(0x0807060504030201L); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher.putLong(0x0000000001000101L); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); /** Updates this hasher with the given byte. */ protected abstract void update(byte b); /** Updates this hasher with the given bytes. */ protected void update(byte[] b) { update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
super(checkNotNull(in)); this.hasher = checkNotNull(hashFunction.newHasher()); } /** * Reads the next byte of data from the underlying input stream and updates the hasher with the * byte read. */ @Override @CanIgnoreReturnValue public int read() throws IOException { int b = in.read(); if (b != -1) { hasher.putByte((byte) b); } return b; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
super(checkNotNull(out)); this.hasher = checkNotNull(hashFunction.newHasher()); } @Override public void write(int b) throws IOException { hasher.putByte((byte) b); out.write(b); } @Override public void write(byte[] bytes, int off, int len) throws IOException { hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
* @author Dimitris Andreou */ @Immutable @ElementTypesAreNonnullByDefault abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction { @Override public Hasher newHasher() { return newHasher(32); } @Override public Hasher newHasher(int expectedInputSize) { Preconditions.checkArgument(expectedInputSize >= 0); return new BufferingHasher(expectedInputSize); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
public void testParanoid() { 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/util/concurrent/AtomicLongMapBasherTest.java
import java.util.concurrent.Future; import junit.framework.TestCase; /** * Basher test for {@link AtomicLongMap}. * * @author mike nonemacher */ @J2ktIncompatible // threads @GwtIncompatible // threads public class AtomicLongMapBasherTest extends TestCase { private final Random random = new Random(301); public void testModify_basher() throws Exception { int nTasks = 3000; int nThreads = 100;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 4.2K bytes - Viewed (0)