登录
首页 » Windows开发 » 我想你知道一个MRU缓存是什么,否则你不会读这个…

我想你知道一个MRU缓存是什么,否则你不会读这个…

于 2022-11-30 发布 文件大小:1.79 kB
0 154
下载积分: 2 下载次数: 1

代码说明:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 将 VC++工程名称转换程序 实现VC++程序重新命名
    将 VC++工程名称转换程序 实现VC++程序重新命名-description of VC VC conversion process re-naming
    2022-11-21 21:10:03下载
    积分:1
  • YC2440
    YC2440-Manual-WINCE5-95847362。嵌入式培训教程文档,对UTU2440硬件结构的详细分析,并有试验指导-YC2440-Manual-WINCE5-95847362. Embedded training course documentation, UTU2440 hardware structure of the detailed analysis of the test have the guidance of
    2022-03-11 20:26:34下载
    积分:1
  • 深入VC编程内幕
    深入VC编程内幕-VC-depth programming insider
    2023-05-27 07:30:03下载
    积分:1
  • 一个ASP版的图片浏览管理器
    一个ASP版的图片浏览管理器-an ASP version of the Photo View Manager
    2023-03-30 17:25:04下载
    积分:1
  • 课程计算器
    使用户能够将设备添加到他的臣民的班组 (一般加权平均) 计算器。它计算用户将输入为他的班组。
    2022-02-14 06:29:16下载
    积分:1
  • show the mumber for 1 to 99
    1-99数码管显示,用keil软件写的C程序,可以改动参数实现其它数据显示,也可以改变控制端口-show the mumber for 1 to 99
    2022-04-23 08:14:27下载
    积分:1
  • This code for find object on the map
    This code for find object on the map
    2022-02-15 06:05:19下载
    积分:1
  • 一个关于MFC有用的例子,保存后解压
    一个关于MFC有用的例子,保存后解压- About the MFC useful example, after preserves decompresses
    2023-05-06 05:20:03下载
    积分:1
  • 播放Flash不使用MFC
    应用背景有些人需要播放Flash使用纯C++代码没有使用MFC,比如, ;把闪到一个三维物体的纹理,等这个代码是播放Flash的方式清洁,也可以用Flash编程交互。 ;程序处理消息循环,加载闪存组件,并能得到所有像素。关键技术COM,Windows,闪光灯,像素,图像,C++,消息,SDK
    2023-01-01 09:20:04下载
    积分:1
  • 与CI的DTMF解码阶段它应该工作
    dtmf decoder with ci itegrated it should work
    2022-02-20 10:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载