Searched refs:fromBytesNoCopy (Results 1 – 6 of 6) sorted by relevance
109 HashCode hashCode = HashCode.fromBytesNoCopy(bytes); in testFromBytesNoCopy_noCopyOccurs()141 assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong()); in testPadToLongWith4Bytes()145 assertEquals(0x0000999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(6)).padToLong()); in testPadToLongWith6Bytes()149 assertEquals(0x9999999999999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(8)).padToLong()); in testPadToLongWith8Bytes()
137 return HashCode.fromBytesNoCopy(bytes()); in hash()
246 return fromBytesNoCopy(bytes.clone()); in fromBytes()253 static HashCode fromBytesNoCopy(byte[] bytes) { in fromBytesNoCopy() method in HashCode340 return fromBytesNoCopy(bytes); in fromString()
376 return HashCode.fromBytesNoCopy(resultBytes); in combineOrdered()401 return HashCode.fromBytesNoCopy(resultBytes); in combineUnordered()434 return HashCode.fromBytesNoCopy(bytes); in makeHash()
155 ? HashCode.fromBytesNoCopy(digest.digest()) in hash()156 : HashCode.fromBytesNoCopy(Arrays.copyOf(digest.digest(), bytes)); in hash()
171 return HashCode.fromBytesNoCopy(ByteBuffer in makeHash()