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

Method Remove

be/src/kudu/util/nvm_cache.cc:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 }
247
248 LRUHandle* Remove(const Slice& key, uint32_t hash) {
249 LRUHandle** ptr = FindPointer(key, hash);
250 LRUHandle* result = *ptr;
251 if (result != nullptr) {
252 *ptr = result->next_hash;
253 --elems_;
254 }
255 return result;
256 }
257
258 private:
259 // The table consists of an array of buckets where each bucket is

Callers 3

EvictOldestUnlockedMethod · 0.45
EraseMethod · 0.45
InvalidateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected