Home
last modified time | relevance | path

Searched refs:hashInt (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash32Test.java30 assertHash(593689054, murmur3_32().hashInt(0)); in testKnownIntegerInputs()
31 assertHash(-189366624, murmur3_32().hashInt(-42)); in testKnownIntegerInputs()
32 assertHash(-1134849565, murmur3_32().hashInt(42)); in testKnownIntegerInputs()
33 assertHash(-1718298732, murmur3_32().hashInt(Integer.MIN_VALUE)); in testKnownIntegerInputs()
34 assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE)); in testKnownIntegerInputs()
DHashTestUtils.java262 int hash1 = function.hashInt(key1).asInt(); in checkNoFunnels()
263 int hash2 = function.hashInt(key2).asInt(); in checkNoFunnels()
301 int hash1 = function.hashInt(key1).asInt(); in checkAvalanche()
302 int hash2 = function.hashInt(key2).asInt(); in checkAvalanche()
347 int hash1 = function.hashInt(key1).asInt(); in checkNo2BitCharacteristics()
348 int hash2 = function.hashInt(key2).asInt(); in checkNo2BitCharacteristics()
391 int hash1 = function.hashInt(key1).asInt(); in check2BitAvalanche()
392 int hash2 = function.hashInt(key2).asInt(); in check2BitAvalanche()
503 assertEquals(hashFunction.hashInt(i), in assertHashIntEquivalence()
DAbstractNonStreamingHashFunctionTest.java160 public HashCode hashInt(int input) { in hashInt() method in NonStreamingVersion
DHashingTest.java366 Hashing.md5().hashInt(Integer.reverseBytes(input))); in testHashIntReverseBytesVsHashBytesIntsToByteArray()
371 HashCode expected = Hashing.md5().hashInt(input); in testHashIntVsForLoop()
DAbstractStreamingHasherTest.java283 public HashCode hashInt(int input) {
/external/guava/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; in runHashFunction()
89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction()
/external/guava/guava/src/com/google/common/hash/
DHashFunction.java160 HashCode hashInt(int input); in hashInt() method
DAbstractNonStreamingHashFunction.java74 @Override public HashCode hashInt(int input) { in hashInt() method in AbstractNonStreamingHashFunction
DMurmur3_32HashFunction.java84 @Override public HashCode hashInt(int input) { in hashInt() method in Murmur3_32HashFunction
DAbstractStreamingHashFunction.java56 @Override public HashCode hashInt(int input) { in hashInt() method in AbstractStreamingHashFunction
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java328 hash = hashInt(hash, r.hashCode()); in hashCode()
368 h = hashInt(h, value); in hashCode()
1041 private static int hashInt(int h, int i) { in hashInt() method in Trie2