Home
last modified time | relevance | path

Searched refs:padToLong (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java132 assertEquals(0x1111111111111111L, HashCode.fromLong(0x1111111111111111L).padToLong()); in testPadToLong()
133 assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong()); in testPadToLong()
134 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong()); in testPadToLong()
135 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong()); in testPadToLong()
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()
DHashingTest.java154 assertEquals(0x1111111111111111L, Hashing.padToLong(HashCodes.fromLong(0x1111111111111111L))); in testPadToLong()
155 assertEquals(0x9999999999999999L, Hashing.padToLong(HashCodes.fromLong(0x9999999999999999L))); in testPadToLong()
156 assertEquals(0x0000000011111111L, Hashing.padToLong(HashCodes.fromInt(0x11111111))); in testPadToLong()
157 assertEquals(0x0000000099999999L, Hashing.padToLong(HashCodes.fromInt(0x99999999))); in testPadToLong()
DChecksumHashFunctionTest.java77 assertEquals(value, func.hashBytes(bytes).padToLong()); in assertChecksum()
/external/guava/guava/src/com/google/common/hash/
DHashCode.java70 public abstract long padToLong(); in padToLong() method in HashCode
149 public long padToLong() { in padToLong() method in HashCode.IntHashCode
209 public long padToLong() { in padToLong() method in HashCode.LongHashCode
273 return padToLong(); in asLong()
277 public long padToLong() { in padToLong() method in HashCode.BytesHashCode
DHashing.java301 public static long padToLong(HashCode hashCode) { in padToLong() method in Hashing
302 return hashCode.padToLong(); in padToLong()
319 return consistentHash(hashCode.padToLong(), buckets); in consistentHash()
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...