- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testHashIntReverseBytesVsHashBytesIntsToByteArray (0.24 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals( expected, Hashing.concatenating(asList(Hashing.md5(), Hashing.murmur3_32())).hashLong(42L)); } public void testHashIntReverseBytesVsHashBytesIntsToByteArray() { int input = 42; assertEquals( Hashing.md5().hashBytes(Ints.toByteArray(input)), Hashing.md5().hashInt(Integer.reverseBytes(input))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0)