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

Method NumberOfKeys

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

Source from the content-addressed store, hash-verified

108
109template <typename KeyType, typename ValueType>
110size_t LruMultiCache<KeyType, ValueType>::NumberOfKeys() {
111 std::lock_guard<SpinLock> g(lock_);
112 return hash_table_.size();
113}
114
115template <typename KeyType, typename ValueType>
116void LruMultiCache<KeyType, ValueType>::SetCapacity(size_t new_capacity) {

Callers 1

TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64