Searched refs:to_erase (Results 1 – 2 of 2) sorted by relevance
252 std::vector<Obj> to_erase; in TEST() local255 to_erase.push_back(Obj(i, i)); in TEST()257 to_erase.push_back(Obj(set.size() - 1, set.size() - 1)); // The last element. in TEST()258 to_erase.push_back(Obj(set.size(), set.size())); // Not in the set. in TEST()261 while (!to_erase.empty()) { in TEST()262 size_t erased = set.erase(to_erase.back()); in TEST()265 expected_total -= to_erase.back().val_; in TEST()268 to_erase.pop_back(); in TEST()321 std::vector<Obj> to_erase; in TEST() local324 to_erase.push_back(Obj(i, i)); in TEST()[all …]
116 auto to_erase = it++; in PruneBuffer() local117 lost_packets_buffer_.erase(to_erase); in PruneBuffer()