| 129 | } |
| 130 | |
| 131 | HandleBase* Remove(const Slice& key, uint32_t hash) { |
| 132 | HandleBase** ptr = FindPointer(key, hash); |
| 133 | HandleBase* result = *ptr; |
| 134 | if (result != nullptr) { |
| 135 | *ptr = result->next_handle_; |
| 136 | result->next_handle_ = nullptr; |
| 137 | --elems_; |
| 138 | } |
| 139 | return result; |
| 140 | } |
| 141 | |
| 142 | private: |
| 143 | // The table consists of an array of buckets where each bucket is |
no outgoing calls
no test coverage detected