| 418 | } |
| 419 | |
| 420 | inline int64_t HashTable::CurrentMemSize() const { |
| 421 | return num_buckets_ * (sizeof(Bucket) + sizeof(uint32_t)) |
| 422 | + num_duplicate_nodes_ * sizeof(DuplicateNode); |
| 423 | } |
| 424 | |
| 425 | inline int64_t HashTable::NumInsertsBeforeResize() const { |
| 426 | return std::max<int64_t>( |
no outgoing calls
no test coverage detected