| 344 | } |
| 345 | |
| 346 | bool NeedUpsizing() const { |
| 347 | // Keep the load factor <= 1/2 |
| 348 | return size_ * kLoadFactor >= capacity_; |
| 349 | } |
| 350 | |
| 351 | Status UpsizeBuffer(uint64_t capacity) { |
| 352 | RETURN_NOT_OK(entries_builder_.Resize(capacity)); |
nothing calls this directly
no outgoing calls
no test coverage detected