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

Method Remove

be/src/util/cache/cache-internal.h:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 7

~RLCacheShardMethod · 0.45
EnforceCapacityMethod · 0.45
EraseMethod · 0.45
InvalidateMethod · 0.45
ToUninitializedMethod · 0.45
InsertMethod · 0.45
EraseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected