-
我想你知道一个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
-
dll generation reference code
创建一个自己的dll文件,步骤:建一个“Win32 Dynamic~Link Library”工程,是一个单纯的Win32动态库,是一个空的工程,把你的CPP文件加入工程中,还要在你的CPP文件里加入动态库入口:
- 2022-03-12 09:13:45下载
- 积分:1
-
我什么都不会啊!!只是想上来学习呢
我什么都不会啊!!只是想上来学习呢-what I would ah! ! Onto just want to learn?
- 2022-01-28 20:30:35下载
- 积分:1
-
matlab6.5与vc的各种混编方式举例 包括 dll方式、引擎方式、com方式、以及vc调用simulink模型运行方式...
matlab6.5与vc的各种混编方式举例 包括 dll方式、引擎方式、com方式、以及vc调用simulink模型运行方式-matlab6.5 vc with the mixed mode, including dll example, the engine, com, as well as vc Simulink model called Operation Mode
- 2022-04-18 16:38:13下载
- 积分:1
-
K-均值聚类
它实现了 k-均值聚类。聚类是一种无监督的学习。它随机选择 k 点到初始聚类中心。它计算组的平均值,然后更新它的中心。
- 2022-05-22 22:37:47下载
- 积分:1
-
界面的一些小模仿,可代替系统的界面打开你需要的文件
界面的一些小模仿,可代替系统的界面打开你需要的文件-Interface, some small imitation of the interface system can be a substitute to open the document you need
- 2022-04-19 03:51:16下载
- 积分:1
-
lease read your package and describe it at least 40 bytes in English.
System wi...
lease read your package and describe it at least 40 bytes in English.
System will automatically delete the directory of debug and release, so please do not put files on these two directory.
- 2022-01-21 05:15:11下载
- 积分:1
-
funambol window mobile client source code, is a relatively good reference progra...
funambol window mobile客户端源代码,是一个比较好的参考方案-funambol window mobile client source code, is a relatively good reference program
- 2022-02-14 18:59:31下载
- 积分:1
-
vb中内嵌asm的一个类
VB内嵌asm其实也很简单!(内付说明)
vb中内嵌asm的一个类
VB内嵌asm其实也很简单!(内付说明)-vb in a class of embedded asm embedded VB is also very simple asm! (with pay below)
- 2022-02-15 05:53:55下载
- 积分:1
-
用C++实现的队列数据结构。对数据结构和算法的初学者是很好的学习材料。...
用C++实现的队列数据结构。对数据结构和算法的初学者是很好的学习材料。-The file is about queue data structur.It is implemented with C++ language.
- 2023-02-19 05:05:03下载
- 积分:1