Lines Matching defs:HashSet
61 class HashSet {
106 size_t NextNonEmptySlot(size_t index, const HashSet* hash_set) const {
115 friend class HashSet;
125 using iterator = BaseIterator<T, HashSet>;
126 using const_iterator = BaseIterator<const T, const HashSet>;
141 HashSet() : HashSet(kDefaultMinLoadFactor, kDefaultMaxLoadFactor) {}
143 HashSet(double min_load_factor, double max_load_factor) noexcept
155 explicit HashSet(const allocator_type& alloc) noexcept
169 HashSet(const HashSet& other) noexcept
189 HashSet(HashSet&& other) noexcept
211 HashSet(const uint8_t* ptr, bool make_copy_of_data, size_t* read_count) noexcept {
257 ~HashSet() {
261 HashSet& operator=(HashSet&& other) noexcept {
262 HashSet(std::move(other)).swap(*this);
266 HashSet& operator=(const HashSet& other) noexcept {
267 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
406 void swap(HashSet& other) {
678 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs,
679 HashSet<T, EmptyFn, HashFn, Pred, Alloc>& rhs) {