Problem Description Password security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are ...
分类:
其他好文 时间:
2017-07-31 12:34:06
阅读次数:
170
安装rediswgethttp://download.redis.io/releases/redis-3.0.7.tar.gztarxzfredis-3.0.7.tar.gzln-sredis-3.0.7redisyuminstallgcc-ymake##zmalloc.h:50:31:致命错误:jemalloc/jemalloc.h:没有那个文件或目录README说的是关于分配器allocator,如果有MALLOC这个环境变量,会..
分类:
其他好文 时间:
2017-07-27 22:43:56
阅读次数:
124
#include <iostream> using namespace std; //採用迭代器和空间配置器所实现的双向链表的基本功能 template<class _Ty,class _A = allocator<_Ty> > //定义模板类 class list //list类 { public ...
分类:
编程语言 时间:
2017-07-21 10:28:55
阅读次数:
220
Problem Description Password security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are ...
分类:
其他好文 时间:
2017-07-20 14:16:33
阅读次数:
151
基础知识通道:http://blog.csdn.net/Xiejingfa/article/details/50955295 C/C++: ...
分类:
编程语言 时间:
2017-07-09 19:49:29
阅读次数:
252
1.Runloop基础知识 1.1 字面意思 a 运行循环 b 跑圈 1.2 基本作用(作用重大) a 保持程序的持续运行(ios程序为什么能一直活着不会死) b 处理app中的各种事件(比如触摸事件、定时器事件【NSTimer】、selector事件【选择器·performSelector···】 ...
分类:
其他好文 时间:
2017-07-07 00:00:05
阅读次数:
348
std::allocator即空间配置器,用于内存分配。更多的细节建议大家研究相关源码。 这里仅是利用std::allocator来实现简单的自定义vector类,如有问题欢迎指正。 以下是测试代码: 测试结果: ...
分类:
其他好文 时间:
2017-06-24 00:22:52
阅读次数:
272
glibc中的malloc实现: The main properties of the algorithms are:* For large (>= 512 bytes) requests, it is a pure best-fit allocator, with ties normally de ...
分类:
其他好文 时间:
2017-06-18 11:58:15
阅读次数:
239
STL(Standard Template Library,标准模板库), 组成: STL可分为容器(containers)、迭代器(iterators)、空间配置器(allocator)、配接器(adapters)、算法(algorithms)、仿函数(functors)六个部分。 容器部分主要由 ...
分类:
其他好文 时间:
2017-06-17 17:18:03
阅读次数:
167
Problem Description Password security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are ...
分类:
其他好文 时间:
2017-06-17 17:17:57
阅读次数:
182