-
我想你知道一个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
-
用C来调用另外的可执行文件。通过调用达到执行其他程序的效果。...
用C来调用另外的可执行文件。通过调用达到执行其他程序的效果。- run an exe with C, then you can run other exe program
- 2022-03-20 10:56:00下载
- 积分:1
-
封装BerkeleyDB的一个动态库,多余的就不说了。
封装BerkeleyDB的一个动态库,多余的就不说了。-Package BerkeleyDB a dynamic library, not superfluous to say.
- 2022-03-18 10:24:42下载
- 积分:1
-
DSP2833x_usDelay.asm
;//TI文件$Revision:/main/4$
- 2022-03-17 21:22:48下载
- 积分:1
-
vc写的智能滚动条代码,有一定的参考价值,有一定的参考价值...
vc写的智能滚动条代码,有一定的参考价值,有一定的参考价值-vc write smart scroll code, a certain reference value, a certain reference value
- 2022-03-15 09:02:20下载
- 积分:1
-
一个vc开发的遗传优化―源代码
一个vc开发的遗传优化―源代码-vc development of a genetic optimization-source
- 2022-03-07 19:04:02下载
- 积分:1
-
游戏编程最核心的算法,希望对大家的所帮助
游戏编程最核心的算法,希望对大家的所帮助-Game Programming Algorithm for the core, and they hope to help the U.S.
- 2022-01-28 18:31:57下载
- 积分:1
-
mvc4后台模板
此后台模板用mvc4的框架,界面设计主要运用了easyui,实现了图片上传及预览、表单的提交、系统的登录和验证码的实现等功能。
- 2022-03-01 19:48:24下载
- 积分:1
-
漂亮的confirm,想要用的时候new一个就行了
漂亮的confirm,想要用的时候new一个就行了-Beautiful confirm, when you want to use the new one on the list
- 2022-09-11 19:55:03下载
- 积分:1
-
Another example of the use delphi to learn lua. To help improve the lua
另一种delphi学习lua使用的例子.对提高lua有所帮助-Another example of the use delphi to learn lua. To help improve the lua
- 2022-12-17 01:45:03下载
- 积分:1