Home
last modified time | relevance | path

Searched refs:Hash (Results 1 – 3 of 3) sorted by relevance

/tools/dexter/slicer/export/slicer/
Dhash_table.h47 template<class Key, class T, class Hash>
65 Partition(Index size, const Hash& hasher);
75 Hash hasher_;
79 explicit HashTable(const Hash& hasher = Hash()) : hasher_(hasher) { in hasher_()
104 Hash hasher_;
107 template<class Key, class T, class Hash>
108 HashTable<Key, T, Hash>::Partition::Partition(Index size, const Hash& hasher) in Partition()
125 template<class Key, class T, class Hash>
126 bool HashTable<Key, T, Hash>::Partition::Insert(T* value) { in Insert()
133 Index bucket_index = hasher_.Hash(key) % hash_buckets_; in Insert()
[all …]
Ddex_ir.h331 uint32_t Hash(const char* string_key) const;
338 uint32_t Hash(const std::string& proto_key) const;
351 uint32_t Hash(const MethodKey& method_key) const;
/tools/dexter/slicer/
Ddex_ir.cc41 uint32_t StringsHasher::Hash(const char* string_key) const { in Hash() function in ir::StringsHasher
49 uint32_t ProtosHasher::Hash(const std::string& proto_key) const { in Hash() function in ir::ProtosHasher
65 uint32_t MethodsHasher::Hash(const MethodKey& method_key) const { in Hash() function in ir::MethodsHasher