码迷,mamicode.com
首页 >  
搜索关键字:ast    ( 9155个结果
双链表 哈希 go 实现lFU 缓存算法
什么是LFU LFU Least frequently used, 基于访问的频次和时间来淘汰数据。比如缓存满了,使用LFU算法,可以淘汰掉访问频次最少且访问时间靠后的元素。 leetcode也有相应的题目,只要实现Get, Put接口即可。 本文除了实现Get, Put, 还实现了GetItera ...
分类:编程语言   时间:2021-03-15 11:36:50    阅读次数:0
python中将函数存储在模块里(导入特定的函数)
1、将函数存储在模块里 def fun1(x): ## 在模块module1.py中定义三个函数 print(x.upper()) def fun2(x): print(x.title()) def fun3(x): print(" ",x) 2、测试能否直接调用函数 >>> fun1("aaa") ...
分类:编程语言   时间:2021-03-15 10:39:46    阅读次数:0
inspection tool
gnu http://www.gnu.org/software/binutils/ The GNU Binutils are a collection of binary tools. The main ones are: ld - the GNU linker. as - the GNU asse ...
分类:其他好文   时间:2021-03-11 20:36:58    阅读次数:0
Java_ fastJson 之 JSONPath使用
官方文档:https://github.com/alibaba/fastjson/wiki/JSONPath Entity entity = new Entity(123, new Object());JSONPath.eval(entity, "$.value")); API public cla ...
分类:编程语言   时间:2021-03-11 14:23:45    阅读次数:0
ForkJoinPool线程池
介绍 分而治之是一个有效的处理大数据的方法,著名的MapReduce就是采用这种分而治之的思路。简单的说,如果要处理1000个数据,但是我们不具备处理1000个数据的能力,只可以处理10个数据。我们可以将这个任务分成100份,每份处理10个,并将最后的结果进行合成,形成1000个数据的处理结果。 把 ...
分类:编程语言   时间:2021-03-10 13:02:18    阅读次数:0
计算机层次结构
![image-20210309122707302](https://gitee.com/bleso624/bleso_picbed/raw/master/img/image-20210309122707302.png) ![image-20210309123442906](https://gite... ...
分类:其他好文   时间:2021-03-10 12:54:45    阅读次数:0
CSS3新增选择器
CSS3新增选择器 :first-child 表示第一个子元素是... :last-child :nth-child(numberloddleven/倍数) :first-of-type 表示第一个子元素 :last-of-type :nth-of-type (numberloddleven/倍数) ...
分类:Web程序   时间:2021-03-09 13:18:32    阅读次数:0
Nginx main()源码分析
1 int ngx_cdecl 2 main(int argc, char *const *argv) 3 { 4 ngx_buf_t *b; 5 ngx_log_t *log; 6 ngx_uint_t i; 7 ngx_cycle_t *cycle, init_cycle; 8 ngx_conf ...
分类:其他好文   时间:2021-03-09 13:10:05    阅读次数:0
poi导出excel下拉框联动--示例:学年学期
/** * 导出课程excel * * @return */ @AutoLog(value = "课程-导出课程excel") @ApiOperation(value = "课程-导出课程excel", notes = "导出课程excel") @GetMapping(value = "/expor ...
分类:其他好文   时间:2021-03-02 11:52:53    阅读次数:0
剑指 Offer 58 - I. 翻转单词顺序剑指
一、题目描述 输入一个英文句子,翻转句子中单词的顺序,但单词内字符的顺序不变。为简单起见,标点符号和普通字母一样处理。例如输入字符串"I am a student. ",则输出"student. a am I"。 示例 1 输入: "the sky is blue"输出: "blue is sky ...
分类:其他好文   时间:2021-03-01 14:16:17    阅读次数:0
9155条   上一页 1 ... 11 12 13 14 15 ... 916 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!