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.java109 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()
DAbstractByteHasherTest.java137 return HashCode.fromBytesNoCopy(bytes()); in hash()
/external/guava/guava/src/com/google/common/hash/
DHashCode.java246 return fromBytesNoCopy(bytes.clone()); in fromBytes()
253 static HashCode fromBytesNoCopy(byte[] bytes) { in fromBytesNoCopy() method in HashCode
340 return fromBytesNoCopy(bytes); in fromString()
DHashing.java376 return HashCode.fromBytesNoCopy(resultBytes); in combineOrdered()
401 return HashCode.fromBytesNoCopy(resultBytes); in combineUnordered()
434 return HashCode.fromBytesNoCopy(bytes); in makeHash()
DMessageDigestHashFunction.java155 ? HashCode.fromBytesNoCopy(digest.digest()) in hash()
156 : HashCode.fromBytesNoCopy(Arrays.copyOf(digest.digest(), bytes)); in hash()
DMurmur3_128HashFunction.java171 return HashCode.fromBytesNoCopy(ByteBuffer in makeHash()