We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec142ca commit 9f878f7Copy full SHA for 9f878f7
1 file changed
libCacheSim/cache/eviction/3LCache/ThreeLCache.hpp
@@ -17,9 +17,9 @@
17
#include <unordered_set>
18
#include <vector>
19
20
+#include "cache.h"
21
#include "dataStructure/sparsepp/spp.h"
22
#include "libCacheSim/cache.h"
-#include "cache.h"
23
#include "request.h"
24
25
using namespace std;
@@ -359,13 +359,9 @@ class ThreeLCacheCache : public webcachesim::Cache {
359
360
void update_stat_periodic() override;
361
362
- void setSize(const uint64_t &cs) {
363
- _cacheSize = cs;
364
- }
+ void setSize(const uint64_t &cs) { _cacheSize = cs; }
365
366
- bool exist(const int64_t &key) {
367
- return key_map.find(key) != key_map.end();
368
+ bool exist(const int64_t &key) { return key_map.find(key) != key_map.end(); }
369
370
pair<uint64_t, int32_t> evict_predobj();
371
0 commit comments