- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for hasRemaining (0.31 seconds)
-
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
b += CHUNK_SIZE; processM(buffer.getLong()); } @Override protected void processRemaining(ByteBuffer buffer) { b += buffer.remaining(); for (int i = 0; buffer.hasRemaining(); i += 8) { finalM ^= (buffer.get() & 0xFFL) << i; } } @Override protected HashCode makeHash() { // End with a byte encoding the positive integer b mod 256.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6K bytes - Click Count (0) -
guava/src/com/google/common/hash/SipHashFunction.java
b += CHUNK_SIZE; processM(buffer.getLong()); } @Override protected void processRemaining(ByteBuffer buffer) { b += buffer.remaining(); for (int i = 0; buffer.hasRemaining(); i += 8) { finalM ^= (buffer.get() & 0xFFL) << i; } } @Override protected HashCode makeHash() { // End with a byte encoding the positive integer b mod 256.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
if (finished) { return; } crc0 = combine(0, crc0); crc0 = combine(crc0, crc1); crc0 = combine(crc0, crc2); crc0 = combine(crc0, crc3); while (bb.hasRemaining()) { crc0 = (crc0 >>> 8) ^ byteTable[(bb.get() ^ crc0) & 0xFF]; } finished = true; } @Override protected HashCode makeHash() { if (!finished) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 21.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes); ByteBuffer buffer = ByteBuffer.wrap(bytes); HashCode unused = hashFunction.hashBytes(buffer); assertFalse(buffer.hasRemaining()); } static void assertHashByteBufferPreservesByteOrder(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes); ByteBuffer buffer = ByteBuffer.wrap(bytes); HashCode unused = hashFunction.hashBytes(buffer); assertFalse(buffer.hasRemaining()); } static void assertHashByteBufferPreservesByteOrder(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
guava/src/com/google/common/io/ByteStreams.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0)