|
Blender V5.0
|
#include <mikk_atomic_hash_set.hh>
Classes | |
| struct | Config |
Public Member Functions | |
| AtomicHashSet (size_t maxSize, KeyHash hasher=KeyHash(), KeyEqual equalityChecker=KeyEqual(), const Config &c=Config()) | |
| AtomicHashSet (const AtomicHashSet &)=delete | |
| AtomicHashSet & | operator= (const AtomicHashSet &)=delete |
| ~AtomicHashSet ()=default | |
| bool | tryUpdateCell (KeyT *cell, KeyT &existingKey, KeyT newKey) |
| bool | tryUpdateCell (std::atomic< KeyT > *cell, KeyT &existingKey, KeyT newKey) |
| std::pair< KeyT, bool > | emplace (KeyT key) |
Public Attributes | |
| const size_t | capacity_ |
| const KeyT | kEmptyKey_ |
| KeyHash | hasher_ |
| KeyEqual | equalityChecker_ |
Definition at line 61 of file mikk_atomic_hash_set.hh.
|
inline |
Definition at line 97 of file mikk_atomic_hash_set.hh.
References capacity_, equalityChecker_, hasher_, and kEmptyKey_.
Referenced by AtomicHashSet(), and operator=().
|
delete |
References AtomicHashSet().
|
default |
|
inline |
Definition at line 144 of file mikk_atomic_hash_set.hh.
References assert, capacity_, equalityChecker_, kEmptyKey_, tryUpdateCell(), and UNLIKELY.
|
delete |
References AtomicHashSet().
|
inline |
Definition at line 128 of file mikk_atomic_hash_set.hh.
Referenced by emplace().
|
inline |
Definition at line 139 of file mikk_atomic_hash_set.hh.
| const size_t mikk::AtomicHashSet< KeyT, isAtomic, KeyHash, KeyEqual, ProbeFcn >::capacity_ |
Definition at line 69 of file mikk_atomic_hash_set.hh.
Referenced by AtomicHashSet(), and emplace().
| KeyEqual mikk::AtomicHashSet< KeyT, isAtomic, KeyHash, KeyEqual, ProbeFcn >::equalityChecker_ |
Definition at line 73 of file mikk_atomic_hash_set.hh.
Referenced by AtomicHashSet(), and emplace().
| KeyHash mikk::AtomicHashSet< KeyT, isAtomic, KeyHash, KeyEqual, ProbeFcn >::hasher_ |
Definition at line 72 of file mikk_atomic_hash_set.hh.
Referenced by AtomicHashSet().
| const KeyT mikk::AtomicHashSet< KeyT, isAtomic, KeyHash, KeyEqual, ProbeFcn >::kEmptyKey_ |
Definition at line 70 of file mikk_atomic_hash_set.hh.
Referenced by AtomicHashSet(), and emplace().