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

Method max_key

be/src/util/cache/cache-bench.cc:90–92  ·  view source on GitHub ↗

Return the maximum cache key to be generated for a lookup.

Source from the content-addressed store, hash-verified

88
89 // Return the maximum cache key to be generated for a lookup.
90 uint32_t max_key() const {
91 return static_cast<int64_t>(kCacheCapacity * dataset_cache_ratio) / kEntrySize;
92 }
93};
94
95class CacheBench : public testing::Test,

Callers 1

DoQueriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected