码迷,mamicode.com
首页 >  
搜索关键字:lru    ( 920个结果
函数buf_LRU_old_adjust_len
调整LUR_old位置,放到八分之五位置,是新的,后八分之三是旧的512个页全变成新的,然后从后往前数,数到8分之3,设置为旧的/*******************************************************************//**Moves the LRU_...
分类:其他好文   时间:2015-11-24 22:04:06    阅读次数:171
函数buf_LRU_add_block
/******************************************************************//**Adds a block to the LRU list. Please make sure that the zip_size isalready set ...
分类:其他好文   时间:2015-11-24 21:09:28    阅读次数:160
函数buf_LRU_free_block
/******************************************************************//**Try to free a block. If bpage is a descriptor of a compressed-onlypage, the de....
分类:其他好文   时间:2015-11-24 01:08:17    阅读次数:295
函数buf_LRU_block_remove_hashed_page
/******************************************************************//**Takes a block out of the LRU list and page hash table.If the block is compresse...
分类:其他好文   时间:2015-11-24 01:07:17    阅读次数:325
函数buf_LRU_search_and_free_block
/******************************************************************//**Try to free a replaceable block.@return TRUE if found and freed */UNIV_INTER...
分类:其他好文   时间:2015-11-24 01:04:34    阅读次数:200
函数buf_LRU_get_free_only
/******************************************************************//**Returns a free block from the buf_pool. The block is taken off thefree list. .....
分类:其他好文   时间:2015-11-24 00:59:29    阅读次数:283
函数buf_LRU_get_free_block
/******************************************************************//**Returns a free block from the buf_pool. The block is taken off thefree list. If...
分类:其他好文   时间:2015-11-24 00:55:03    阅读次数:510
LeetCode -- LRU Cache
LeetCode -- LRU Cache...
分类:系统相关   时间:2015-11-21 10:37:31    阅读次数:148
【转】缓存淘汰算法系列之1——LRU类
原文地址:http://www.360doc.com/content/13/0805/15/13247663_304901967.shtml参考地址(一系列关于缓存的,后面几篇也都在这里有):http://www.360doc.com/userhome.aspx?userid=13247663&ci...
分类:编程语言   时间:2015-11-11 11:17:12    阅读次数:333
一种O1性能的LRU算法
LRU是一种淘汰算法,淘汰那些最久没被访问过的节点,以提高cache命中率。网游后台cache server经常会用到。这里说一种O1算法。先明确两个操作相关的对象1. DataKey: cache数据的key2. IndexNode: 链表节点,内部有数据的indexlist(单向链表) 保存Da...
分类:编程语言   时间:2015-11-09 15:29:41    阅读次数:220
920条   上一页 1 ... 62 63 64 65 66 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!