Home
last modified time | relevance | path

Searched refs:HashType (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/
Dhyperplane_lsh_probes.h35 template <typename CoordinateType, typename HashType>
116 HashType hash_mask = 1; in SetupProbing()
132 bool GetNextProbe(HashType* cur_probe, int_fast32_t* cur_table) { in GetNextProbe()
168 HashType next_mask = in GetNextProbe()
170 (HashType(1) << (num_hyperplanes_per_table_ - cur_index - 1)) ^ in GetNextProbe()
171 (HashType(1) << (num_hyperplanes_per_table_ - next_index - 1)); in GetNextProbe()
186 (HashType(1) << (num_hyperplanes_per_table_ - next_index - 1)); in GetNextProbe()
199 ProbeCandidate(int_fast32_t table = 0, HashType hash_mask = 0,
204 HashType hash_mask_;
227 std::vector<HashType> main_table_probe_;
/external/libchrome/base/containers/
Dmru_cache.h241 template <class KeyType, class ValueType, class HashType>
243 typedef std::unordered_map<KeyType, ValueType, HashType> Type;
249 template <class KeyType, class PayloadType, class HashType = std::hash<KeyType>>
251 : public MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap> {
254 MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>;
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h259 IndexedInstrProf::HashT HashType; variable
267 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait() argument
268 : HashType(HashType), FormatVersion(FormatVersion), in InstrProfLookupTrait()
337 IndexedInstrProf::HashT HashType, uint64_t Version);
DInstrProf.h792 const HashT HashType = HashT::MD5; variable
794 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); } in ComputeHash()
802 uint64_t HashType; member
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h283 IndexedInstrProf::HashT HashType; variable
291 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait() argument
292 : HashType(HashType), FormatVersion(FormatVersion) {} in InstrProfLookupTrait()
362 IndexedInstrProf::HashT HashType, uint64_t Version);
DInstrProf.h897 const HashT HashType = HashT::MD5; variable
899 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); } in ComputeHash()
907 uint64_t HashType; member
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp460 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
557 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex() argument
562 typename HashTableImpl::InfoType(HashType, Version))); in InstrProfReaderIndex()
651 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader() local
652 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
653 if (HashType > IndexedInstrProf::HashT::Last) in readHeader()
661 Start + HashOffset, Cur, Start, HashType, FormatVersion); in readHeader()
DInstrProfWriter.cpp231 Header.HashType = static_cast<uint64_t>(IndexedInstrProf::HashType); in writeImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProfReader.cpp483 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
581 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex() argument
586 typename HashTableImpl::InfoType(HashType, Version))); in InstrProfReaderIndex()
678 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader() local
679 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
680 if (HashType > IndexedInstrProf::HashT::Last) in readHeader()
688 Start + HashOffset, Cur, Start, HashType, FormatVersion); in readHeader()
DInstrProfWriter.cpp269 Header.HashType = static_cast<uint64_t>(IndexedInstrProf::HashType); in writeImpl()
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc36 typedef long HashType; // NOLINT typedef
71 typedef Py_hash_t HashType;
304 HashType PyBfloat16_Hash(PyObject* self) { in PyBfloat16_Hash()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp78 enum HashType : unsigned char { enum in __anon042c96440111::PGOHash
105 void combine(HashType Type);
157 PGOHash::HashType getHashType(const Stmt *S) { in getHashType()
577 void PGOHash::combine(HashType Type) { in combine()