示例#1
0
文件: LRUCache.cs 项目: xuezf/FunPlus
 public LRUCache(int cacheSize, int historySize, int k)
 {
     cache            = new LRU_1(cacheSize);
     this.historySize = historySize;
     this.k           = k;
 }
示例#2
0
文件: LRUCache.cs 项目: xuezf/FunPlus
 public LRUCache(int cacheSize)
 {
     cache       = new LRU_1(cacheSize);
     historySize = cacheSize * 3;
     this.k      = 2;
 }