We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1cbe97 commit edb9271Copy full SHA for edb9271
1 file changed
src/lru_cache-inl.h
@@ -45,13 +45,13 @@ class LRUCache {
45
}
46
47
48
- bool exists(const key_t& key) const { return lookup_map_.count(key) > 0; }
+ bool Exists(const key_t& key) const { return lookup_map_.count(key) > 0; }
49
50
- size_t size() const { return lookup_map_.size(); }
+ size_t Size() const { return lookup_map_.size(); }
51
52
- size_t capacity() const { return capacity_; }
+ size_t Capacity() const { return capacity_; }
53
54
- void clear() {
+ void Clear() {
55
lru_list_.clear();
56
lookup_map_.clear();
57
0 commit comments