Searched refs:bv_ (Results 1 – 6 of 6) sorted by relevance
23 BaseIterator::BaseIterator(BitVector* bv) : bv_(bv) { in BaseIterator()27 block_ = bv_->blocks_[0]; in BaseIterator()34 uint32_t last_block_idx = static_cast<uint32_t>(bv_->blocks_.size()) - 1; in ~BaseIterator()46 bv_->blocks_[old_block] = block_; in OnBlockChange()57 static_cast<int32_t>(bv_->counts_[i]) + set_bit_count_diff_; in OnBlockChange()60 bv_->counts_[i] = static_cast<uint32_t>(new_count); in OnBlockChange()66 block_ = bv_->blocks_[new_block]; in OnBlockChange()
101 const BitVector& bv() const { return *bv_; } in bv()122 BitVector* bv_ = nullptr; variable
91 explicit Iterator(const BasicBitVector &bv) : bv_(bv) {} in Iterator()92 bool hasNext() const { return !bv_.empty(); } in hasNext()93 uptr next() { return bv_.getAndClearFirstOne(); } in next()94 void clear() { bv_.clear(); } in clear()96 BasicBitVector bv_;277 explicit Iterator(const TwoLevelBitVector &bv) : bv_(bv), i0_(0), i1_(0) { in Iterator()285 if (!bv_.l1_[i].empty()) return true; in hasNext()294 if (bv_.l1_[i0_].empty()) continue; in next()295 it1_ = typename BV::Iterator(bv_.l1_[i0_]); in next()304 it2_ = typename BV::Iterator(bv_.l2_[i0_][i1_]); in next()[all …]
41 bv_.clear(); in clear()47 bool empty() const { return bv_.empty(); } in empty()51 bv_.clear(); in ensureCurrentEpoch()63 if (!bv_.setBit(lock_id)) { in addLock()88 if (!bv_.clearBit(lock_id)) in removeLock()111 return bv_; in getLocks()118 BV bv_;
90 explicit Iterator(const BasicBitVector &bv) : bv_(bv) {} in Iterator()91 bool hasNext() const { return !bv_.empty(); } in hasNext()92 uptr next() { return bv_.getAndClearFirstOne(); } in next()93 void clear() { bv_.clear(); } in clear()95 BasicBitVector bv_;276 explicit Iterator(const TwoLevelBitVector &bv) : bv_(bv), i0_(0), i1_(0) { in Iterator()284 if (!bv_.l1_[i].empty()) return true; in hasNext()293 if (bv_.l1_[i0_].empty()) continue; in next()294 it1_ = typename BV::Iterator(bv_.l1_[i0_]); in next()303 it2_ = typename BV::Iterator(bv_.l2_[i0_][i1_]); in next()[all …]
40 bv_.clear(); in clear()46 bool empty() const { return bv_.empty(); } in empty()50 bv_.clear(); in ensureCurrentEpoch()61 if (!bv_.setBit(lock_id)) { in addLock()85 if (!bv_.clearBit(lock_id)) in removeLock()108 return bv_; in getLocks()115 BV bv_;