- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for putLong (0.15 sec)
-
android/guava/src/com/google/common/hash/Hasher.java
@CanIgnoreReturnValue @Override Hasher putInt(int i); @CanIgnoreReturnValue @Override Hasher putLong(long l); /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */ @CanIgnoreReturnValue @Override Hasher putFloat(float f); /** Equivalent to {@code putLong(Double.doubleToRawLongBits(d))}. */ @CanIgnoreReturnValue @Override Hasher putDouble(double d);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
@CanIgnoreReturnValue public final Hasher putBoolean(boolean b) { return putByte(b ? (byte) 1 : (byte) 0); } @Override @CanIgnoreReturnValue public final Hasher putDouble(double d) { return putLong(Double.doubleToRawLongBits(d)); } @Override @CanIgnoreReturnValue public final Hasher putFloat(float f) { return putInt(Float.floatToRawIntBits(f)); } @Override @CanIgnoreReturnValue
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/AbstractByteHasher.java
@Override @CanIgnoreReturnValue public Hasher putInt(int i) { scratch.putInt(i); return update(Ints.BYTES); } @Override @CanIgnoreReturnValue public Hasher putLong(long l) { scratch.putLong(l); return update(Longs.BYTES); } @Override @CanIgnoreReturnValue public Hasher putChar(char c) { scratch.putChar(c); return update(Chars.BYTES); }
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/AbstractStreamingHasher.java
@CanIgnoreReturnValue public final Hasher putInt(int i) { buffer.putInt(i); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putLong(long l) { buffer.putLong(l); munchIfFull(); return this; } @Override public final HashCode hash() { munch(); Java8Compatibility.flip(buffer); if (buffer.remaining() > 0) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
} public void testForLongs() { Long value = 1234L; PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnels.longFunnel().funnel(value, primitiveSink); verify(primitiveSink).putLong(1234); } public void testForLongs_null() { assertNullsThrowException(Funnels.longFunnel()); } public void testSequential() { @SuppressWarnings({"unchecked", "DoNotMock"})
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 02 16:24:50 GMT 2020 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 5.6K bytes - Viewed (0) -
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/FarmHashFingerprint64Test.java
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 .putShort((short) 0x0101) .putShort((short) 0x0100)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 15:56:47 GMT 2017 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
return theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET); } @Override public void putLongLittleEndian(byte[] array, int offset, long value) { theUnsafe.putLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET, value); } }, UNSAFE_BIG_ENDIAN { @Override public long getLongLittleEndian(byte[] array, int offset) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
private static HashCode toHashCode(long... longs) { ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN); for (long x : longs) { bb.putLong(x); } return HashCode.fromBytes(bb.array()); } public void testParanoid() { HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) {
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)