Searched refs:fromBytesNoCopy (Results 1 – 6 of 6) sorted by relevance
107 HashCode hashCode = HashCode.fromBytesNoCopy(bytes); in testFromBytesNoCopy_noCopyOccurs()139 assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong()); in testPadToLongWith4Bytes()143 assertEquals(0x0000999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(6)).padToLong()); in testPadToLongWith6Bytes()147 assertEquals(0x9999999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(8)).padToLong()); in testPadToLongWith8Bytes()
138 return HashCode.fromBytesNoCopy(bytes()); in hash()
231 return fromBytesNoCopy(bytes.clone()); in fromBytes()238 static HashCode fromBytesNoCopy(byte[] bytes) { in fromBytesNoCopy() method in HashCode320 return fromBytesNoCopy(bytes); in fromString()
375 return HashCode.fromBytesNoCopy(resultBytes); in combineOrdered()400 return HashCode.fromBytesNoCopy(resultBytes); in combineUnordered()433 return HashCode.fromBytesNoCopy(bytes); in makeHash()
155 ? HashCode.fromBytesNoCopy(digest.digest()) in hash()156 : HashCode.fromBytesNoCopy(copyOf(digest.digest(), bytes)); in hash()
171 return HashCode.fromBytesNoCopy(ByteBuffer in makeHash()