Inserting user-defined DTrace probes into MySQL source code is very useful to help user identify the performance problems in the application level and ...
分类:
数据库 时间:
2016-08-11 20:59:02
阅读次数:
307
malloc与new的区别 从本质上来说,malloc是libc里面实现的一个函数,如果在source code中没有直接或者间接include过stdlib.h,那么gcc就会报出error:‘malloc’ was not declared in this scope。如果生成了目标文件(假定动 ...
分类:
其他好文 时间:
2016-08-11 20:57:15
阅读次数:
178
Apache Commons Pool实现了对象池的功能。定义了对象的生成、销毁、激活、钝化等操作及其状态转换,并提供几个默认的对象池实现。在讲述其实现原理前,先提一下其中有几个重要的对象: PooledObject(池对象)。 PooledObjectFactory(池对象工厂)。 Object ...
分类:
Web程序 时间:
2016-08-11 06:16:21
阅读次数:
213
Qustion:(MRC下) 1、定义一个Computer类 实例变量:float width; NSString *name; 方法:一个带两个参数的初始化函数;print()函数;dealloc()函数; 2、定义一个Person类 实例变量:NSString *name; Computer * ...
分类:
其他好文 时间:
2016-08-09 14:59:04
阅读次数:
165
一般的文字截断(适用于内联与块): Example Source Code[www.mb5u.com] .text-overflow {display:block;/*内联对象需加*/width:31em;word-break:keep-all;/* 不换行 */white-space:nowrap ...
分类:
其他好文 时间:
2016-07-19 22:00:08
阅读次数:
115
说明:
本文主要是分析kernel source code,来贯穿整个network的流程,因为kernel 博大精深,这也仅仅是我的一点愚见,作为一个笔记形式的文章,如有错误,还请指正
非常感谢!
当上层的APP试图建立一个TCP的链接,或者发送一个封包的时候,在kernel的协议栈部分,在TCP/UDP层会组成一个网络的封包,然后通过IP进行路由选择以及iptables的hokk...
分类:
系统相关 时间:
2016-07-19 10:04:57
阅读次数:
374
Suricata uses the Yaml format for configuration. The Suricata.yaml file included in the source code, is the example configuration of Suricata. This document will explain each option.
At the top of th...
分类:
其他好文 时间:
2016-07-13 17:13:06
阅读次数:
226
jenkins整合gitlab时,Source Code Management添加gitlab仓库路径无论怎么尝试都报如下两个异常: 或 原因是:由于运行jenkins用户没有生成ssh私钥,且没有添加gitlab中。因此导致了如上异常。 生成ssh私钥 运行上述命令,并一路回车即可生成相应的私钥。 ...
分类:
其他好文 时间:
2016-07-09 11:49:58
阅读次数:
644
1、WindowsLiveWriter.CNBlogs.CodeHighlighter.rar 2、Windows Live Writer Source Code plugin for SyntaxHighlighter ...
本文转自:http://www.codeproject.com/Articles/32847/ASP-NET-MVC-Dynamic-Themes Download source code - 148 KB Introduction I really needed to enable themes ...
分类:
Web程序 时间:
2016-07-01 18:15:25
阅读次数:
265