Home
last modified time | relevance | path

Searched refs:byteArrayWith9s (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java152 assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong()); in testPadToLongWith4Bytes()
156 assertEquals(0x0000999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(6)).padToLong()); in testPadToLongWith6Bytes()
160 assertEquals(0x9999999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(8)).padToLong()); in testPadToLongWith8Bytes()
163 private static byte[] byteArrayWith9s(int size) { in byteArrayWith9s() method in HashCodeTest
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashCodeTest.java152 assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong()); in testPadToLongWith4Bytes()
156 assertEquals(0x0000999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(6)).padToLong()); in testPadToLongWith6Bytes()
160 assertEquals(0x9999999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(8)).padToLong()); in testPadToLongWith8Bytes()
163 private static byte[] byteArrayWith9s(int size) { in byteArrayWith9s() method in HashCodeTest