Searched refs:back_index_ (Results 1 – 1 of 1) sorted by relevance
218 back_index_(0), in Ring()231 bool empty() const { return back_index_ == front_index_; } in empty()236 return front_index_ != CircularIncrement(back_index_); in CanPush()241 DCHECK_NE(CircularDecrement(front_index_), back_index_); in push_front()247 back_index_ = CircularIncrement(back_index_); in push_back()249 new (&data_[back_index_]) T(std::move(t)); in push_back()252 bool CanPop() const { return front_index_ != back_index_; } in CanPop()272 return data_[back_index_]; in back()277 return data_[back_index_]; in back()296 size_t back_index_; member[all …]