Searched refs:capacity_ (Results 1 – 3 of 3) sorted by relevance
31 capacity_ = 2; in Reset()40 if (item_weight_ >= capacity_) { in Add()47 if (item_weight_ + weight < capacity_) { in AddWithWeight()54 int64_t added_weight = capacity_ - item_weight_; in AddWithWeight()55 if (compactor_stack_->random()->UnbiasedUniform(capacity_) < in AddWithWeight()59 item_weight_ = capacity_; in AddWithWeight()67 capacity_ *= 2; in DoubleCapacity()
47 capacity_(std::exchange(move.capacity_, 0)), in Block()54 capacity_ = std::exchange(move.capacity_, 0);65 CHECK_GE(capacity_, new_size); in resize()79 capacity_ = 0; in clear()83 size_t capacity() const { return capacity_; } in capacity()106 CHECK_EQ(0ULL, capacity_); in allocate()113 capacity_ = size; in allocate()119 size_t capacity_ = 0; member
53 return capacity_; in capacity()71 int64_t capacity_; variable