Home
last modified time | relevance | path

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

/external/libtextclassifier/native/actions/
Dactions-suggestions_test.cc1453 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("a", 1) % in TEST_F()
1455 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
1457 EXPECT_THAT(embeddings[2], FloatEq(tc3farmhash::Fingerprint64("c", 1) % in TEST_F()
1474 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("a", 1) % in TEST_F()
1476 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
1478 EXPECT_THAT(embeddings[2], FloatEq(tc3farmhash::Fingerprint64("c", 1) % in TEST_F()
1497 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
1499 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("c", 1) % in TEST_F()
1515 EXPECT_THAT(embeddings[0], FloatEq(tc3farmhash::Fingerprint64("a", 1) % in TEST_F()
1517 EXPECT_THAT(embeddings[1], FloatEq(tc3farmhash::Fingerprint64("b", 1) % in TEST_F()
[all …]
Dngram-model.cc167 tokens.push_back(tc3farmhash::Fingerprint32(raw_token.value.data(), in Eval()
/external/libtextclassifier/native/utils/hash/
Dcityhash.h23 namespace tc3farmhash {
Dfarmhash.h27 #define NAMESPACE_FOR_HASH_FUNCTIONS tc3farmhash
Dcityhash.cc24 namespace tc3farmhash { namespace
/external/libtextclassifier/native/utils/tflite/
Dstring_projection_base.cc80 tc3farmhash::CityHash64(iter.first.c_str(), iter.first.size()); in GetFeatureWeights()
85 tc3farmhash::Fingerprint64(iter.first.c_str(), iter.first.size()); in GetFeatureWeights()
184 int64_t hash_signature = tc3farmhash::Fingerprint64(key, kKeyBytes); in running_sign_bit()
/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc162 return tc3farmhash::Fingerprint64(token) % options_.num_buckets; in HashToken()
176 return (tc3farmhash::Fingerprint64(token) % in HashToken()
/external/icing/icing/text_classifier/lib3/utils/hash/
Dfarmhash.h25 #define NAMESPACE_FOR_HASH_FUNCTIONS tc3farmhash
/external/libtextclassifier/native/utils/intents/
Djni-lua.cc366 lua_pushinteger(state_, tc3farmhash::Hash32(input.data(), input.length())); in HandleHash()
/external/icing/icing/legacy/index/
Dicing-dynamic-trie_test.cc553 uint64_t fpkey = tc3farmhash::Fingerprint64(key); in TEST_F()
/external/icing/icing/store/
Ddocument-store.cc133 tc3farmhash::Fingerprint64(absl_ports::StrCat(name_space, uri)); in MakeFingerprint()