-
我想你知道一个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
-
在datawindow中实现日历下拉选择功能
在datawindow中实现日历下拉选择功能-datawindow in achieving the drop-down selection of functional calendar
- 2022-07-08 14:17:42下载
- 积分:1
-
对韦伯抛物线柱函数的计算程序
Routines for computation of Weber s parabolic cylinder functions
and their derivatives are provided for both moderate and great
values of the argument. Standard, real solutions are considered.
Tables of values are included. -Routines for computation of Weber s parabolic cylinder functions
and their derivatives are provided for both moderate and great
values of the argument. Standard, real solutions are considered.
Tables of values are included.
- 2023-02-19 23:45:03下载
- 积分:1
-
VB二维打飞机游戏
应用背景打飞机(Fighter)是一款有趣又益智的游戏。它可以培养游戏者的逻辑推理能力,适合各种年龄段的人玩。
该游戏原本是我读本科时在宿舍里和同学一起玩的。需要两人以上合作,互相布局互相“开炮”。非常好玩。这次,我把游戏改成计算机版本,(可选计算机自动布局和手动布局两种模式),可以单机玩,也可以由别人布局在由你玩。关键技术二维打飞机小游戏源代码,十分简单的游戏,a控制向左,d控制向右。w控制向前,s控制向后,鼠标点击发射子弹,每次打中会有相应的子弹报酬,最后子弹或者生命完了后游戏结束,
- 2022-02-20 05:06:07下载
- 积分:1
-
很好的程序请使用
很好的程序请使用-good procedure to use
- 2022-03-01 16:21:04下载
- 积分:1
-
快速关机。只要一运行程序立刻断电关机,没有正在关机和保存设置的过程
快速关机。只要一运行程序立刻断电关机,没有正在关机和保存设置的过程-Fast shutdown. First run the program immediately as long as power shutdown, no shutdown and preservation is the process of setting
- 2022-02-10 08:24:53下载
- 积分:1
-
有关网络编程的一些很好的学习源码,值得推荐
有关网络编程的一些很好的学习源码,值得推荐-On network programming some good learning source, should be commended
- 2022-09-30 12:15:10下载
- 积分:1
-
简单的联系list.vcproj
Simple Linked List.vcproj
- 2022-01-26 08:03:21下载
- 积分:1
-
C++、MFC源代码goodtimedemo.
C++、MFC源代码goodtimedemo.-C, goodtimedemo MFC source code.
- 2022-02-02 01:38:55下载
- 积分:1
-
OpenGL code is an example of the use of pure c++ written by some reference value...
是openGL的实例代码的,用纯c++写的,有一定的参考价值的,可以拿来学习一下。-OpenGL code is an example of the use of pure c++ written by some reference value can be used to learn about.
- 2022-07-08 08:40:21下载
- 积分:1