- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for putByte (0.1 sec)
-
android/guava/src/com/google/common/hash/AbstractHasher.java
} @Override @CanIgnoreReturnValue public Hasher putShort(short s) { putByte((byte) s); putByte((byte) (s >>> 8)); return this; } @Override @CanIgnoreReturnValue public Hasher putInt(int i) { putByte((byte) i); putByte((byte) (i >>> 8)); putByte((byte) (i >>> 16)); putByte((byte) (i >>> 24)); return this; } @Override @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
final long hashCode = hasher.hash().asLong(); hasher = HASH_FN.newHasher(); hasher .putByte((byte) 0x01) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
hasher = HASH_FN.newHasher(); hasher .putByte((byte) 0x01) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractHasher.java
} @Override @CanIgnoreReturnValue public Hasher putShort(short s) { putByte((byte) s); putByte((byte) (s >>> 8)); return this; } @Override @CanIgnoreReturnValue public Hasher putInt(int i) { putByte((byte) i); putByte((byte) (i >>> 8)); putByte((byte) (i >>> 16)); putByte((byte) (i >>> 24)); return this; } @Override @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
final long hashCode = hasher.hash().asLong(); hasher = HASH_FN.newHasher(); hasher .putByte((byte) 0x01) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
TestHasher hasher = new TestHasher(); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; hasher.putByte((byte) 1); hasher.putBytes(new byte[] {2, 3, 4, 5, 6}); hasher.putByte((byte) 7); hasher.putBytes(new byte[] {}); hasher.putBytes(new byte[] {8}); hasher.assertBytes(expected); } public void testShort() { TestHasher hasher = new TestHasher();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
buffer >>>= 32; shift -= 32; } } @CanIgnoreReturnValue @Override public Hasher putByte(byte b) { update(1, b & 0xFF); return this; } @CanIgnoreReturnValue @Override public Hasher putBytes(byte[] bytes, int off, int len) { checkPositionIndexes(off, off + len, bytes.length); int i; for (i = 0; i + 4 <= len; i += 4) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
public void testBytes() { Sink sink = new Sink(4); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; sink.putByte((byte) 1); sink.putBytes(new byte[] {2, 3, 4, 5, 6}); sink.putByte((byte) 7); sink.putBytes(new byte[] {}); sink.putBytes(new byte[] {8}); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(expected); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
TestHasher hasher = new TestHasher(); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; hasher.putByte((byte) 1); hasher.putBytes(new byte[] {2, 3, 4, 5, 6}); hasher.putByte((byte) 7); hasher.putBytes(new byte[] {}); hasher.putBytes(new byte[] {8}); hasher.assertBytes(expected); } public void testShort() { TestHasher hasher = new TestHasher();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0)