-
我想你知道一个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
-
A simple screen saver, based on the graphic you want to change
一个简单的屏幕保护程序,可以根据想要的图形来改变
-A simple screen saver, based on the graphic you want to change
- 2023-01-16 04:40:04下载
- 积分:1
-
MFC运动会信息管理系统)ODBC
Visual Studio 2010 MFC 编写的数据库信息管理系统,使用了RIBBON控件,本科时写的东西了,还是比较规范的,初学者可以参考一下。
- 2022-05-27 08:07:21下载
- 积分:1
-
可以取得几乎所有的windows操作系统的版本信息
可以取得几乎所有的windows操作系统的版本信息-can get almost all the windows operating system version
- 2022-01-27 23:47:44下载
- 积分:1
-
表达式计算器
能过分析表达式,然后计算结果
表达式计算器
能过分析表达式,然后计算结果-Expression can be analyzed expression calculator, and then calculated results
- 2022-03-07 16:02:06下载
- 积分:1
-
数据包分类 ABV 算法
这是为数据包分类与 ABV,这是决策树根据的 algorithmthis 方案将划分的规则集到许多组来提高性能的搜索时间
- 2023-05-13 08:30:02下载
- 积分:1
-
BCB6_Thread.zip是教你如何写多线程的例子
BCB6_Thread.zip是教你如何写多线程的例子-BCB6_Thread.zip is to teach you how to write multithreaded example
- 2022-03-18 09:11:46下载
- 积分:1
-
定时关机程序,使用shutdown命令,还具有定时功能。
定时关机程序,使用shutdown命令,还具有定时功能。-Timing shutdown procedure, use the shutdown command, also has a timer function.
- 2022-10-13 10:15:03下载
- 积分:1
-
DM9000 WinCE.net Driver v3.2.7 Release
DM9000 WinCE.net Driver v3.2.7 Release
- 2023-04-30 15:00:09下载
- 积分:1
-
随机抽人源码
本人java小白,闲来无事做了这样一个比较水的小程序,面向对象基本没用,就是想试试,自己也不是软件工程专业的的,喜欢就看看,不喜欢也不强求,有永久拿走吧。
- 2023-08-23 05:30:04下载
- 积分:1