| 289 | // The visit_func should have signature void(const Entry*) |
| 290 | template <typename VisitFunc> |
| 291 | void VisitEntries(VisitFunc&& visit_func) const { |
| 292 | for (uint64_t i = 0; i < capacity_; i++) { |
| 293 | const auto& entry = entries_[i]; |
| 294 | if (entry) { |
| 295 | visit_func(&entry); |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | protected: |
| 301 | // NoCompare is for when the value is known not to exist in the table |
no outgoing calls
no test coverage detected