Home
last modified time | relevance | path

Searched refs:Hash32 (Results 1 – 14 of 14) sorted by relevance

/external/libtextclassifier/utils/hash/
Dfarmhash.cc569 uint32_t Hash32(const char *s, size_t len) { in Hash32() function
634 return Mur(Hash32(s + 24, len - 24) + seed, h); in Hash32WithSeed()
640 uint32_t Hash32(const char *s, size_t len) { in Hash32() function
647 return seed + Hash32(s, len); in Hash32WithSeed()
680 uint32_t Hash32(const char *s, size_t len) {
855 return _mm_crc32_u32(Hash32(s + 24, len - 24) + seed, h);
863 uint32_t Hash32(const char *s, size_t len) { in Hash32() function
870 return seed + Hash32(s, len); in Hash32WithSeed()
875 uint32_t Hash32(const char *s, size_t len) {
878 farmhashsu::Hash32(s, len);
[all …]
Dfarmhash.h60 uint32_t Hash32(const char* s, size_t len);
172 inline uint32_t Hash32(const Str& s) { in Hash32() function
174 return Hash32(s.data(), s.length()); in Hash32()
/external/libtextclassifier/util/hash/
Dhash.h28 uint32 Hash32(const char *data, size_t n, uint32 seed);
31 return Hash32(data, n, 0xBEEF); in Hash32WithDefaultSeed()
Dhash.cc37 uint32 Hash32(const char *data, size_t n, uint32 seed) { in Hash32() function
/external/libcxx/test/libcxx/utilities/function.objects/unord.hash/
Dmurmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp20 typedef std::__murmur2_or_cityhash<uint32_t> Hash32; typedef
25 Hash32 h1; in test()
/external/libtextclassifier/lang_id/common/math/
Dhash.h48 uint32 Hash32(const char *data, size_t n, uint32 seed);
51 return Hash32(data, n, 0xBEEF); in Hash32WithDefaultSeed()
Dhash.cc39 uint32 Hash32(const char *data, size_t n, uint32 seed) { in Hash32() function
/external/tensorflow/tensorflow/core/lib/hash/
Dhash_test.cc56 Hash32(reinterpret_cast<const char*>(c.data), c.size, c.seed)); in TEST()
64 EXPECT_EQ(c.hash32, Hash32(&input[align], c.size, c.seed)); in TEST()
79 h = Hash32(input.data(), len, 1); in BM_Hash32()
Dhash.cc30 uint32 Hash32(const char* data, size_t n, uint32 seed) { in Hash32() function
Dhash.h32 extern uint32 Hash32(const char* data, size_t n, uint32 seed);
/external/tensorflow/tensorflow/core/graph/
Dtensor_id.h55 return Hash32(x.first.data(), x.first.size(), x.second); in operator()
87 return Hash32(x.first.data(), x.first.size(), x.second); in operator()
Doptimizer_cse.cc117 h += Hash32(tmp.data(), tmp.size(), 0x87341245); in NodeHash()
/external/tensorflow/tensorflow/core/common_runtime/
Dmemory_types.cc36 return Hash32(reinterpret_cast<const char*>(&x.node_id), sizeof(int), in operator ()()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc404 lua_pushinteger(state_, tc3farmhash::Hash32(input.data(), input.length())); in HandleHash()