Home
last modified time | relevance | path

Searched refs:HashFn (Results 1 – 4 of 4) sorted by relevance

/art/libartbase/base/
Dhash_map.h26 template <typename Key, typename Value, typename HashFn>
29 HashMapHashWrapper() : hash_fn_(HashFn()) {} in HashMapHashWrapper()
30 explicit HashMapHashWrapper(const HashFn& hashfn) : hash_fn_(hashfn) {} in HashMapHashWrapper()
40 HashFn hash_fn_;
75 class HashFn = DefaultHashFn<Key>,
80 HashMapHashWrapper<Key, Value, HashFn>,
86 HashMapHashWrapper<Key, Value, HashFn>,
93 HashMap(HashFn hashfn, Pred pred) in HashMap()
94 : Base(HashMapHashWrapper<Key, Value, HashFn>(hashfn), in HashMap()
Dhash_set.h97 template <class T, class EmptyFn, class HashFn, class Pred, class Alloc> friend class HashSet;
176 class HashFn = DefaultHashFn<T>,
210 : HashSet(min_load_factor, max_load_factor, HashFn(), Pred(), alloc) {} in HashSet()
212 HashSet(const HashFn& hashfn, in HashSet()
215 HashSet(const HashFn& hashfn, in HashSet()
222 const HashFn& hashfn, in HashSet()
227 const HashFn& hashfn, in HashSet()
297 : HashSet(min_load_factor, max_load_factor, HashFn(), Pred(), buffer, buffer_size, alloc) {} in HashSet()
300 const HashFn& hashfn, in HashSet()
841 HashFn hashfn_; // Hashing function.
[all …]
Darena_containers.h77 typename HashFn = DefaultHashFn<T>,
79 using ArenaHashSet = HashSet<T, EmptyFn, HashFn, Pred, ArenaAllocatorAdapter<T>>;
84 typename HashFn = DefaultHashFn<Key>,
89 HashFn,
Dscoped_arena_containers.h75 typename HashFn = DefaultHashFn<T>,
77 using ScopedArenaHashSet = HashSet<T, EmptyFn, HashFn, Pred, ScopedArenaAllocatorAdapter<T>>;
82 typename HashFn = DefaultHashFn<Key>,
87 HashFn,