Home
last modified time | relevance | path

Searched refs:fromBytesNoCopy (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java107 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()
DAbstractByteHasherTest.java138 return HashCode.fromBytesNoCopy(bytes()); in hash()
/external/guava/guava/src/com/google/common/hash/
DHashCode.java231 return fromBytesNoCopy(bytes.clone()); in fromBytes()
238 static HashCode fromBytesNoCopy(byte[] bytes) { in fromBytesNoCopy() method in HashCode
320 return fromBytesNoCopy(bytes); in fromString()
DHashing.java375 return HashCode.fromBytesNoCopy(resultBytes); in combineOrdered()
400 return HashCode.fromBytesNoCopy(resultBytes); in combineUnordered()
433 return HashCode.fromBytesNoCopy(bytes); in makeHash()
DMessageDigestHashFunction.java155 ? HashCode.fromBytesNoCopy(digest.digest()) in hash()
156 : HashCode.fromBytesNoCopy(copyOf(digest.digest(), bytes)); in hash()
DMurmur3_128HashFunction.java171 return HashCode.fromBytesNoCopy(ByteBuffer in makeHash()