-
我想你知道一个MRU缓存是什么,否则你不会读这个…
I suppose you know what a MRU cache is, otherwise you wouldn t been reading this.
This is an implementation of a very simple one using only STL.
To implement a cache, derive a subclass from this template class.
As an implementor, you d have to implement two methods:
HandleNonExistingKeyFetch - to handle cache misses. In this method you access the real source of data behind the cache and return the value.
HandleItemRelease - (optional) called when an item is removed from the cache.
The cache class is a template of two types, a key and value (like hash map). The value type is the type of the resource and the key type is the type of the resource address. (this is how you fetch a resource) -I suppose you know what a MRU cache is, otherwise you wouldn t been reading this.This is an implementation of a very simple one using only STL.To implement a cache, derive a subclass from this template class.As an implementor, you d have to implement two methods: HandleNonExistingKeyF
- 2022-11-30 08:45:03下载
- 积分:1
-
Windows Socket Programming
Windows Socket编程-Windows Socket Programming
- 2022-07-09 01:57:34下载
- 积分:1
-
哈哈~不用我说了吧~都知道拉~ 我这有个网友吵着让我快点上传,这回你可以下载了~...
哈哈~不用我说了吧~都知道拉~ 我这有个网友吵着让我快点上传,这回你可以下载了~-ha ~ I do not have to say it ~ ~ pull all know that I have a netizen fussing Let me quickly upload, this time you can download a ~
- 2022-01-24 19:08:58下载
- 积分:1
-
UDP测试发送程序
测试UDP发送程序
- 2022-03-22 18:05:18下载
- 积分:1
-
对多输入多输出系统和空
its about multi input multi output & alamouti system
- 2022-12-14 08:15:03下载
- 积分:1
-
一个C++实现的简单的学生管理系统,课程设计用的
一个C++实现的简单的学生管理系统,课程设计用的-A C++ Students to achieve a simple management system, curriculum design used
- 2022-03-23 01:42:02下载
- 积分:1
-
列举系统中所有进程
列举系统中所有进程-list all processes System
- 2022-07-19 14:49:52下载
- 积分:1
-
这里有丰富的C代码,大家不妨下载认真看看,里面有很多代码.大家下载后就运行看下.分析下...
这里有丰富的C代码,大家不妨下载认真看看,里面有很多代码.大家下载后就运行看下.分析下-here is rich in C code, you can download a serious look at. There are so many code. after you download operation facie. analysis
- 2022-08-19 21:07:13下载
- 积分:1
-
我个人修改的三角网(TIN)自动生成程序!供大家参考!
我个人修改的三角网(TIN)自动生成程序!供大家参考!-I personally modified triangular Network (TIN) automatically generating program! For your reference!
- 2023-05-16 03:45:03下载
- 积分:1
-
有两副牌,从每副中任意抽5张牌进行博弈,显示抽取的牌后会显示每副牌的等级,按下按钮进行比较...
有两副牌,从每副中任意抽5张牌进行博弈,显示抽取的牌后会显示每副牌的等级,按下按钮进行比较-There are two sets of cards, drawn at random from each deputy to conduct five card game, showing extraction of each of the plates will show the level of vice cards, press the button to compare
- 2022-07-22 12:58:35下载
- 积分:1