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

Method Rehash

be/src/util/lru-multi-cache.inline.h:234–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233template <typename KeyType, typename ValueType>
234void LruMultiCache<KeyType, ValueType>::Rehash() {
235 std::lock_guard<SpinLock> g(lock_);
236 hash_table_.rehash(hash_table_.bucket_count() + 1);
237}
238
239template <typename KeyType, typename ValueType>
240void LruMultiCache<KeyType, ValueType>::EvictOne(ValueType_internal& value_internal) {

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64