Searched refs:writeBytesTo (Results 1 – 3 of 3) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 263 HashCode.fromInt(42).writeBytesTo(dest, 0, 4); in testIntWriteBytesTo() 271 HashCode.fromLong(42).writeBytesTo(dest, 0, 8); in testLongWriteBytesTo() 282 HASH_ABCD.writeBytesTo(dest, 0, 4); in testWriteBytesTo() 290 HASH_ABCD.writeBytesTo(dest, 0, 4); in testWriteBytesToOversizedArray() 298 HASH_ABCD.writeBytesTo(dest, 0, 5); in testWriteBytesToOversizedArrayLongMaxLength() 306 HASH_ABCD.writeBytesTo(dest, 0, 3); in testWriteBytesToOversizedArrayShortMaxLength() 315 HASH_ABCD.writeBytesTo(dest, 0, 4); in testWriteBytesToUndersizedArray() 324 HASH_ABCD.writeBytesTo(dest, 0, 5); in testWriteBytesToUndersizedArrayLongMaxLength() 332 HASH_ABCD.writeBytesTo(dest, 0, 2); in testWriteBytesToUndersizedArrayShortMaxLength() 349 hash.writeBytesTo(bb, 0, bb.length); in assertExpectedHashCode() [all …]
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCode.java | 89 public int writeBytesTo(byte[] dest, int offset, int maxLength) { in writeBytesTo() method in HashCode
|
D | Hashing.java | 432 i += newHash.writeBytesTo(bytes, i, newHash.bits() / 8); in makeHash()
|