Home
last modified time | relevance | path

Searched refs:hash32 (Results 1 – 5 of 5) sorted by relevance

/external/skqp/src/opts/
DSkChecksum_opts.h69 auto hash32 = (uint32_t)hash; in hash_fn() local
72 hash32 = _mm_crc32_u32(hash32, unaligned_load<uint32_t>(data)); in hash_fn()
76 hash32 = _mm_crc32_u16(hash32, unaligned_load<uint16_t>(data)); in hash_fn()
80 hash32 = _mm_crc32_u8(hash32, unaligned_load<uint8_t>(data)); in hash_fn()
82 return hash32; in hash_fn()
/external/skia/src/opts/
DSkChecksum_opts.h63 auto hash32 = (uint32_t)hash; in hash_fn() local
66 hash32 = _mm_crc32_u32(hash32, sk_unaligned_load<uint32_t>(data)); in hash_fn()
70 hash32 = _mm_crc32_u16(hash32, sk_unaligned_load<uint16_t>(data)); in hash_fn()
74 hash32 = _mm_crc32_u8(hash32, sk_unaligned_load<uint8_t>(data)); in hash_fn()
76 return hash32; in hash_fn()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java272 HashCode hash32 = HashCode.fromInt(32); in testCombineOrdered() local
273 assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32))); in testCombineOrdered()
276 Hashing.combineOrdered(ImmutableList.of(hash32, hash32))); in testCombineOrdered()
279 Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32))); in testCombineOrdered()
281 Hashing.combineOrdered(ImmutableList.of(hash31, hash32)) in testCombineOrdered()
282 .equals(Hashing.combineOrdered(ImmutableList.of(hash32, hash31)))); in testCombineOrdered()
317 HashCode hash32 = HashCode.fromInt(32); in testCombineUnordered() local
318 assertEquals(hash32, Hashing.combineUnordered(ImmutableList.of(hash32))); in testCombineUnordered()
319 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered()
321 HashCode.fromInt(96), Hashing.combineUnordered(ImmutableList.of(hash32, hash32, hash32))); in testCombineUnordered()
[all …]
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashingTest.java272 HashCode hash32 = HashCode.fromInt(32); in testCombineOrdered() local
273 assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32))); in testCombineOrdered()
276 Hashing.combineOrdered(ImmutableList.of(hash32, hash32))); in testCombineOrdered()
279 Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32))); in testCombineOrdered()
281 Hashing.combineOrdered(ImmutableList.of(hash31, hash32)) in testCombineOrdered()
282 .equals(Hashing.combineOrdered(ImmutableList.of(hash32, hash31)))); in testCombineOrdered()
317 HashCode hash32 = HashCode.fromInt(32); in testCombineUnordered() local
318 assertEquals(hash32, Hashing.combineUnordered(ImmutableList.of(hash32))); in testCombineUnordered()
319 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered()
321 HashCode.fromInt(96), Hashing.combineUnordered(ImmutableList.of(hash32, hash32, hash32))); in testCombineUnordered()
[all …]
/external/tensorflow/tensorflow/core/lib/hash/
Dhash_test.cc40 uint32 hash32; in TEST() member
55 EXPECT_EQ(c.hash32, in TEST()
64 EXPECT_EQ(c.hash32, Hash32(&input[align], c.size, c.seed)); in TEST()