| 336 | |
| 337 | template <CompareKind CKind, typename CmpFunc> |
| 338 | bool CompareEntry(hash_t h, const Entry* entry, CmpFunc&& cmp_func) const { |
| 339 | if (CKind == NoCompare) { |
| 340 | return false; |
| 341 | } else { |
| 342 | return entry->h == h && cmp_func(&entry->payload); |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | bool NeedUpsizing() const { |
| 347 | // Keep the load factor <= 1/2 |
nothing calls this directly
no outgoing calls
no test coverage detected