| 349 | } |
| 350 | |
| 351 | Status UpsizeBuffer(uint64_t capacity) { |
| 352 | RETURN_NOT_OK(entries_builder_.Resize(capacity)); |
| 353 | entries_ = entries_builder_.mutable_data(); |
| 354 | memset(static_cast<void*>(entries_), 0, capacity * sizeof(Entry)); |
| 355 | |
| 356 | return Status::OK(); |
| 357 | } |
| 358 | |
| 359 | Status Upsize(uint64_t new_capacity) { |
| 360 | assert(new_capacity > capacity_); |
nothing calls this directly
no test coverage detected