Expand the set based on the load factors.
| 605 | |
| 606 | // Expand the set based on the load factors. |
| 607 | void Expand() { |
| 608 | size_t min_index = static_cast<size_t>(Size() / min_load_factor_); |
| 609 | // Resize based on the minimum load factor. |
| 610 | Resize(min_index); |
| 611 | } |
| 612 | |
| 613 | // Expand / shrink the table to the new specified size. |
| 614 | void Resize(size_t new_size) { |
nothing calls this directly
no outgoing calls
no test coverage detected