-
我想你知道一个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++程序设计彻底研究》光盘源码-对于学习基础C++编程很有用-《C++ Programming Thorough research》the compact disc sound code- is very useful regarding the study foundation C++ programming
- 2022-05-10 11:36:32下载
- 积分:1
-
匹配滤波器
matched filter good job
- 2022-03-19 11:37:56下载
- 积分:1
-
深入浅出MFC学习
深入浅出MFC学习-easy to learn MFC
- 2022-03-19 22:40:11下载
- 积分:1
-
你好
hello
I write this program to chenge the size of all forms and controls in my projects.and I useing it for larg projects .But you can change it for any pubic change in your pojects
Just chenge your target in conver() method and enjoy-hello
I write this program to chenge the size of all forms and controls in my projects.and I useing it for larg projects .But you can change it for any pubic change in your pojects
Just chenge your target in conver() method and enjoy
- 2022-02-05 12:42:48下载
- 积分:1
-
基于C++的通讯录系统 包括增加 修改删除等功能
基于C++的通讯录系统 包括增加 修改删除等功能-C++ based on the address book system includes features such as increased modify delete
- 2022-01-26 06:16:00下载
- 积分:1
-
VB.NET program an example of start
一个有关VB.NET程序起动参数的例子.
例如:
运行:"abc.exe a" 启动为form1
:"abc.exe b" 启动form2-VB.NET program an example of start-up parameters. For example: running:
- 2022-02-02 12:58:13下载
- 积分:1
-
C++ Builder 下编译含有 MFC 的程式
C++ Builder 下编译含有 MFC 的程式-Builder C compiler contains the program MFC
- 2023-01-27 17:50:03下载
- 积分:1
-
用于得到CPU的信息,包括类型,厂家,支持的技术,有内嵌式汇编...
用于得到CPU的信息,包括类型,厂家,支持的技术,有内嵌式汇编-CPU to get the information, including type, manufacturer, supported by technology, there is built-in compilation of
- 2023-02-18 17:10:03下载
- 积分:1
-
人工神经网络, Ann C语言实现,经验正
人工神经网络, Ann C语言实现,经验正-Artificial neural network, Ann C language, experience is
- 2023-03-08 22:10:03下载
- 积分:1