两种注入方式:
第一种是根据构造器参数注入
第二种是使用属性的setter方法注入
·ref属性
.内部bean...
分类:
编程语言 时间:
2015-05-31 18:32:17
阅读次数:
187
很久没有编译 libvirt了。工作需要,重新编译。[org_ref]:http://libvirt.org/compiling.html很简单。 编译过程,还是很多问题。依赖包(给懒人参考):$ sudo apt-get install libxml2libxml2-utilspython-dev...
分类:
系统相关 时间:
2015-05-31 06:41:57
阅读次数:
224
API接口文档。
https://developer.apple.com/library/mac/#documentation/Carbon/Reference/CoreText_Framework_Ref/_index.html
CoreText 框架中最常用的几个类:
CTFont
CTFontCollection
CTFontDescriptor...
分类:
移动开发 时间:
2015-05-31 00:08:39
阅读次数:
262
gem5中运行spec2006的环境:
ALPHA架构;
需要通过alpha交叉编译工具链编译spec2006;
需要设置静态编译环境,优化选项-static;
准备benchmark运行所需要的exe和input,最好将他们全部放在一个文件夹中;
本文采用ref数据集,实际上有些测试集需要all里面的数据;
根据gem5中运行spec2006的步骤设置好benchmark运行环境后,即可逐个测试b...
分类:
其他好文 时间:
2015-05-30 09:20:42
阅读次数:
486
Ref:Android的单位以及屏幕分辨率详解Ref:Android中dp,px,sp概念梳理以及如何做到屏幕适配Ref:Android多屏幕适配Ref:Android字符串进阶之三:字体属性及测量(FontMetrics)
分类:
移动开发 时间:
2015-05-29 17:17:36
阅读次数:
158
Saltrunnersareconvenienceapplicationsexecutedwiththesalt-runcommand.Saltrunners是在Master端执行而不是在minion端执行runner模块和excution模块工作方式一样。所有可以使用的runner模块都放到runners目录下参考文章:http://docs.saltstack.com/en/2014.7/ref/runners/ind..
分类:
其他好文 时间:
2015-05-29 12:13:07
阅读次数:
141
1、什么是Canvas?<canvas>标签用于在网页上绘制图像,<canvas>元素本身并没有绘制能力(它仅仅是图形的容器),必须使用脚本(通常是JavaScript)来完成实际的绘图任务。2、HTML5Canvas参考手册http://www.w3school.com.cn/html5/html5_ref_canvas.asphttp://www...
分类:
Web程序 时间:
2015-05-28 18:22:56
阅读次数:
198
protected override void WndProc(ref Message m) { if (m.Msg == 0x112) { switch ((int)m.WParam) ...
完全抄答案class TrieNode { // Initialize your data structure here. // ref http://www.programcreek.com/2014/05/leetcode-implement-trie-prefix-tree-jav...
分类:
其他好文 时间:
2015-05-27 07:26:48
阅读次数:
195
显示现在所有路由#routeroot@Ubuntu:~# routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface10.147.9.0 * 255.255.255.0 U 1 0 0 eth0...
分类:
系统相关 时间:
2015-05-26 18:01:51
阅读次数:
170