码迷,mamicode.com
首页 >  
搜索关键字:recently    ( 891个结果
MPI Maelstrom(poj1502)(迪杰斯特拉+atoi函数)
MPI Maelstrom Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 5637   Accepted: 3513 Description BIT has recently taken delivery of their new supercomputer, a...
分类:其他好文   时间:2014-12-15 01:25:20    阅读次数:214
leetcode LRU Cache
题目链接。实现一个数据结构用于LRU,最近最少使用,O(1)插入和删除。关于LRU的基本知识可参考here。先推荐JustDoIT的。下面是我自己实现的。class LRUCache{public://146LRU Least Recently Used int LRUsize; str...
分类:系统相关   时间:2014-12-15 00:00:46    阅读次数:557
Swift和C#的基本语法对比
Recently, Apple announced and released a beta version of the new Swift programming language for building iOS and OSX applications. Swift is a modern l...
分类:编程语言   时间:2014-12-12 16:15:35    阅读次数:283
Leetcode-LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the...
分类:系统相关   时间:2014-12-12 01:11:43    阅读次数:374
【LeetCode 题解】 LRU Cache
设计并实现最近最久未使用(Least Recently Used)缓存。链接:https://oj.leetcode.com/problems/lru-cache/题目描述:Design and implement a data structure for Least Recently Used (...
分类:系统相关   时间:2014-12-09 15:32:34    阅读次数:320
php-fpm nginx.conf
Query Admin System Administration Tips, Security, Internet Skip to content Home About Me 500 Million hits/day with Nginx + PHP-FPM + MySQL I have recently registered to blitz.io, a very interested ...
分类:Web程序   时间:2014-12-09 14:09:00    阅读次数:430
用Linkedhashmap的LRU特性及SoftReference软引用构建二级缓存
LRU: least recently used(近期最少使用算法)。LinkedHashMap构造函数可以指定其迭代顺序:LinkedHashMap(intinitialCapacity, floatloadFactor, booleanaccessOrder)设置accessOrder为true...
分类:其他好文   时间:2014-12-08 19:20:09    阅读次数:209
算法学习 - LRUCache学习(C++)
LRUCache解释 LRUCache就是一个缓存系统,主要是在操作系统中用的比较多,我这里实现的仅仅是一个简单的方法,原理是正确的,但是操作系统的内部的缓存代码我并没有看过。 LRU是Least Recently Used的意思,Cache大家都知道是缓存的意思了。就是在缓存里保存最近最常使用的元素,这样访问这些元素的时候,速度就比较快的能访问到了。 缓存里存放的一般都是键值对...
分类:编程语言   时间:2014-12-07 13:48:37    阅读次数:190
【MongoDB】Mongodb数据库之Capped Collection集合
Capped Collection是性能出色的有着固定大小的集合,以LRU(least Recently Used,最近最少使用)规则和插入顺序执行age-out(老化移出)处理,自动维护集合中对象的插入顺序。 一、创建Capped Collection  创建时候要预先指定大小,如果空间用完,新添加的对象将会取代集合中最近的对象。更新如果超出了collectiond 大小,则会更新失败。虽然...
分类:移动开发   时间:2014-12-03 01:46:25    阅读次数:194
HDU--3466--Proud Merchants--01背包
Proud Merchants Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 2777    Accepted Submission(s): 1155 Problem Description Recently,...
分类:其他好文   时间:2014-12-02 01:38:17    阅读次数:160
891条   上一页 1 ... 72 73 74 75 76 ... 90 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!