MCPcopy Create free account
hub / github.com/apache/impala / Remove

Method Remove

be/src/kudu/util/cache.cc:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

InsertMethod · 0.45
EraseMethod · 0.45
InvalidateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected