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