通用物理机初始化标准。硬件初步检查检测型号sudo dmidecode -t 1检测CPU(optional)sudo dmidecode -t 4检测内存大小free检测网卡lspci |grep Eth检测Raid卡lspci|grep RAID检测硬盘sudo megacli -PDList ...
分类:
其他好文 时间:
2015-04-09 19:33:21
阅读次数:
156
一、基本概念malloc/free:1、函数原型及说明: void *malloc(long NumBytes):该函数分配了NumBytes个字节,并返回了指向这块内存的指针。如果分配失败,则返回一个空指针(NULL)。 void free(void *FirstByte): 该函数是将之前用ma...
分类:
其他好文 时间:
2015-04-09 17:00:15
阅读次数:
92
分析:https://github.com/页面Li Github Explore GitHub Search Features Blog Sign up for free ...
分类:
Web程序 时间:
2015-04-09 15:20:56
阅读次数:
154
要使用ANTLR生成语言的词法分析器(Lexer)跟语法分析器(Parser),我们需要告诉ANTLR我们的语言的文法(Grammar)。ANTLR采用的是上下文无关文法(Context Free Grammar),使用类似BNF的符号集来描述。使用上下文无关文法的语言比较常用的Parser有两种,LL Parser和LR Parser,而ANTLR帮我们生成的是前者。...
分类:
其他好文 时间:
2015-04-09 08:53:29
阅读次数:
644
MFS学习总结MFS概述、特性和新版改进MFS 工作原理和设计架构MFS的安装、部署、配置MFS的高级特性MFS的性能测试MFS集群的维护MFS的常见问题和建议对策一、MFS概述、特性和新版改进MooseFS是一个分布式存储的框架,其具有如下特性:Free(GPL)通用文件系统,不需要修改上层应用就...
分类:
其他好文 时间:
2015-04-09 06:15:08
阅读次数:
241
1. 内存池设计1.1 目的在给定的内存buffer上建立内存管理机制,根据用户需求从该buffer上分配内存或者将已经分配的内存释放回buffer中。1.2 要求尽量减少内存碎片,平均效率高于C语言的malloc和free。1.3 设计思路将buffer分为四部分,第1部分是mem_pool结构体...
分类:
其他好文 时间:
2015-04-08 21:19:54
阅读次数:
168
Writed - Mac下面免费markdown写作工具,输入文字和代码都很方便,专注于写作,是写博客的好助手。 推荐大家试用。
Writed was created by Stahl Labs AB to
provide the best distraction free
writing tool for Mac....
分类:
系统相关 时间:
2015-04-08 15:07:29
阅读次数:
128
一、基本概念 malloc/free:1、函数原型及说明: void *malloc(long NumBytes):该函数分配了NumBytes个字节,并返回了指向这块内存的指针。如果分配失败,则返回一个空指针(NULL)。 void free(void *FirstByte): 该函数是将之前用....
分类:
其他好文 时间:
2015-04-08 14:46:22
阅读次数:
120
点这里Following theguidelineslaid out by Google, this free UI kit has been designed so that you can easily get your next Material Design project kickstar...
分类:
其他好文 时间:
2015-04-08 10:28:41
阅读次数:
124
uva 10739 String to PalindromeIn this problem you are asked to convert a string into a palindrome with minimum number of operations. The operations are described below:Here you’d have the ultimate free...
分类:
其他好文 时间:
2015-04-07 10:02:16
阅读次数:
119