- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testLongWriteBytesTo (0.07 seconds)
-
guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testIntWriteBytesTo() { byte[] dest = new byte[4]; HashCode.fromInt(42).writeBytesTo(dest, 0, 4); assertThat(dest).isEqualTo(HashCode.fromInt(42).asBytes()); } public void testLongWriteBytesTo() { byte[] dest = new byte[8]; HashCode.fromLong(42).writeBytesTo(dest, 0, 8); assertThat(dest).isEqualTo(HashCode.fromLong(42).asBytes()); } private static final HashCode HASH_ABCD =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testIntWriteBytesTo() { byte[] dest = new byte[4]; HashCode.fromInt(42).writeBytesTo(dest, 0, 4); assertThat(dest).isEqualTo(HashCode.fromInt(42).asBytes()); } public void testLongWriteBytesTo() { byte[] dest = new byte[8]; HashCode.fromLong(42).writeBytesTo(dest, 0, 8); assertThat(dest).isEqualTo(HashCode.fromLong(42).asBytes()); } private static final HashCode HASH_ABCD =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0)