| 137 | } |
| 138 | |
| 139 | RLHandle* Remove(const Slice& key, uint32_t hash) { |
| 140 | RLHandle** ptr = FindPointer(key, hash); |
| 141 | RLHandle* result = *ptr; |
| 142 | if (result != nullptr) { |
| 143 | *ptr = result->next_hash; |
| 144 | --elems_; |
| 145 | } |
| 146 | return result; |
| 147 | } |
| 148 | |
| 149 | private: |
| 150 | // The table consists of an array of buckets where each bucket is |
no outgoing calls
no test coverage detected