Home
last modified time | relevance | path

Searched refs:Hash64 (Results 1 – 25 of 38) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/hash/
Dhash.h33 extern uint64 Hash64(const char* data, size_t n, uint64 seed);
35 inline uint64 Hash64(const char* data, size_t n) { in Hash64() function
36 return Hash64(data, n, 0xDECAFCAFFE); in Hash64()
39 inline uint64 Hash64(const string& str) { in Hash64() function
40 return Hash64(str.data(), str.size()); in Hash64()
92 return static_cast<size_t>(Hash64(s));
99 return static_cast<size_t>(Hash64(sp.data(), sp.size()));
Dhash_test.cc58 Hash64(reinterpret_cast<const char*>(c.data), c.size, c.seed)); in TEST()
65 EXPECT_EQ(c.hash64, Hash64(&input[align], c.size, c.seed)); in TEST()
Dhash.cc79 uint64 Hash64(const char* data, size_t n, uint64 seed) { in Hash64() function
/external/tensorflow/tensorflow/core/util/
Dequal_graph_def.cc89 h = Hash64(pair.first.data(), pair.first.size(), h); in RepeatedNodeDefHash()
237 uint64 h = Hash64(ndef.name()); in NodeDefHash()
238 h = Hash64(ndef.op().data(), ndef.op().size(), h); in NodeDefHash()
239 h = Hash64(ndef.device().data(), ndef.device().size(), h); in NodeDefHash()
248 h = Hash64(ndef.input(i).data(), ndef.input(i).size(), h); in NodeDefHash()
257 h = Hash64(s.data(), s.size(), h); in NodeDefHash()
270 h = Hash64(a.first.data(), a.first.size(), h); in NodeDefHash()
/external/libcxx/test/libcxx/utilities/function.objects/unord.hash/
Dmurmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp21 typedef std::__murmur2_or_cityhash<uint64_t> Hash64; typedef
26 Hash64 h2; in test()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline_test.cc74 EXPECT_EQ(16556121177519539380ull, Hash64(dump_str)); in TEST_F()
88 EXPECT_EQ(17545174915963890413ull, Hash64(dump_str)); in TEST_F()
/external/libtextclassifier/utils/hash/
Dfarmhash.h72 uint64_t Hash64(const char* s, size_t len);
192 inline uint64_t Hash64(const Str& s) { in Hash64() function
194 return Hash64(s.data(), s.length()); in Hash64()
Dfarmhash.cc458 uint64_t Hash64(const char *s, size_t len) { in Hash64() function
520 return HashLen16(Hash64(s, len) - seed0, seed1); in Hash64WithSeeds()
877 static_cast<uint32_t>(farmhashna::Hash64(s, len)) :
1445 uint64_t Hash64(const char* s, size_t len) { in Hash64() function
1446 return DebugTweak(farmhashna::Hash64(s, len)); in Hash64()
1453 return sizeof(size_t) == 8 ? Hash64(s, len) : Hash32(s, len); in Hash()
1498 return farmhashna::Hash64(s, len); in Fingerprint64()
5211 …IsAlive(h >> 32); IsAlive((h << 32) >> 32); } { uint64_t h = farmhashna::Hash64(data, len++); IsAl… in Test()
5214 { uint64_t h = farmhashna::Hash64(data + offset, len); Check(h >> 32); Check((h << 32) >> 32); } in Test()
5248 { uint64_t h = farmhashna::Hash64(data + offset, len); cout << (h >> 32) << "u, " << ((h << 32) >> … in Dump()
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_serialization.cc68 return Hash64(serialized.data(), size, seed); in DeterministicProtoHash64()
75 return Hash64(serialized.data(), size); in DeterministicProtoHash64()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dunique_dataset_op.cc171 return Hash64(t.tensor_data().data(), t.tensor_data().size()); in operator ()()
177 hash = Hash64Combine(hash, Hash64(flat_t(i))); in operator ()()
/external/tensorflow/tensorflow/core/framework/
Dcontrol_flow.h52 return Hash64(reinterpret_cast<const char*>(&key), sizeof(FrameAndIter)); in operator()
Dop_def_util.cc787 uint64 h = Hash64(a.name()); in AttrDefHash()
788 h = Hash64(a.type().data(), a.type().size(), h); in AttrDefHash()
790 h = Hash64(a.description().data(), a.description().size(), h); in AttrDefHash()
827 h = Hash64(pair.first.data(), pair.first.size(), h); in RepeatedAttrDefHash()
863 for (const auto& co : control_output) h = Hash64Combine(h, Hash64(co)); in OpDefHash()
Dattr_value_util.cc122 uint64 h = Hash64(func.name()); in AttrValueHash()
125 h = Hash64(pair.first.data(), pair.first.size(), h); in AttrValueHash()
Dfunction.cc849 h = Hash64(p.first.data(), p.first.size(), h); in FunctionDefHash()
859 h = Hash64(p.first.data(), p.first.size(), h); in FunctionDefHash()
860 h = Hash64(p.second.data(), p.second.size(), h); in FunctionDefHash()
867 h = Hash64(p.first.data(), p.first.size(), h); in FunctionDefHash()
868 h = Hash64(p.second.data(), p.second.size(), h); in FunctionDefHash()
Drendezvous.cc281 return Hash64(k.data(), k.size()); in KeyHash()
/external/tensorflow/tensorflow/core/kernels/
Dstring_to_hash_bucket_op.cc46 const uint64 input_hash = Hash64(input_flat(i)); in Compute()
Drecord_yielder.cc119 Hash64(reinterpret_cast<char*>(&epoch_), sizeof(epoch_), opts_.seed)); in MainLoop()
/external/tensorflow/tensorflow/core/platform/
Dtracing.cc61 return Hash64(name.data(), name.size()); in GetArgForName()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnvptx_compiler.h126 tensorflow::Hash64Combine(tensorflow::Hash64(key.ptx), key.cc_major), in operator()
/external/tensorflow/tensorflow/cc/framework/
Dops.cc48 return ::tensorflow::Hash64(reinterpret_cast<const char*>(&node_), in hash()
/external/tensorflow/tensorflow/core/graph/
Doptimizer_cse.cc107 size_t h = Hash64(str_to_hash); in NodeHash()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.h245 return ::tensorflow::Hash64(
Ddebug_io_utils.cc251 const uint64 hash = ::tensorflow::Hash64(encoded_graph_def); in PublishEncodedGraphDefInChunks()
509 const uint64 graph_hash = ::tensorflow::Hash64(buf); in PublishGraph()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_compilation_cache.cc111 h, Hash64(arg.tensor_data().data(), arg.tensor_data().size())); in operator ()()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc417 return Hash64(reinterpret_cast<const char*>(GetBase(&tensor)), in Checksum()

12