Calculate the current load factor and return it.
| 466 | |
| 467 | // Calculate the current load factor and return it. |
| 468 | double CalculateLoadFactor() const { |
| 469 | return static_cast<double>(Size()) / static_cast<double>(NumBuckets()); |
| 470 | } |
| 471 | |
| 472 | // Make sure that everything reinserts in the right spot. Returns the number of errors. |
| 473 | size_t Verify() NO_THREAD_SAFETY_ANALYSIS { |
nothing calls this directly
no outgoing calls
no test coverage detected