IntroductionThis article will explain six important concepts: stack, heap, value types, reference types, boxing, and unboxing. This article starts exp...
分类:
Web程序 时间:
2014-07-31 23:10:30
阅读次数:
397
一、节点层次
1、node类型
nodeName、nodeValue 以及 nodeType 包含有关于节点的信息。
每个节点都有一个nodeType属性
值-元素类型
1-ELEMENT
2-ATTRIBUTE
3-TEXT
4-CDATA
5-ENTITY REFERENCE
6-ENTITY
7-PI (processing instruction...
分类:
编程语言 时间:
2014-07-31 20:51:37
阅读次数:
254
一、XEN API?VDI clone (session session_id, VDI vdi, Map[string,string] driver_params) Take an exact copy of the VDI and return a reference to the new di...
分类:
其他好文 时间:
2014-07-31 13:02:06
阅读次数:
248
自从php5.3,越来越多的人会遇到“Assigning the return value of new by reference is deprecated in xxxx”这样的提示,尤其是在国外产品中(例如wordpress、joolma),很多人的解决办法很简单:把php版本换回就版本就ok...
分类:
其他好文 时间:
2014-07-31 12:57:16
阅读次数:
191
模板左值右值的转换
/**
* 功能:模板左值右值的转换
* 时间:2014年7月27日08:18:06
* 作者:cutter_point
*/
#include
#include
#include
using namespace std;
template
auto fcn(It beg, It end) -> typename remove_reference::ty...
分类:
编程语言 时间:
2014-07-31 09:55:27
阅读次数:
312
上一篇我们简单介绍了Actor系统,说明了Actor之间存在着层次关系,它也是构成Actor应用的最基本的单位。本篇介绍Actor本身的一些基本概念。一个Actor包含了State(状态),Behavior(行为),一个Mailbox(邮箱)和Supervisor Strategy (管理员策略),所有这些都封装在一个Actor引用之中(Actor Reference)。Actor 引用一个Act...
分类:
其他好文 时间:
2014-07-31 09:54:56
阅读次数:
457
给定一个二分图G,M为G边集的一个子集,如果M满足当中的任意两条边都不依附于同一个顶点,则称M是一个匹配。Reference:google上搜"ByVoid 二分图"(被墙了T^T)计算二分图的最大匹配:匈牙利算法模板:#include #include #define MAX 102long n,...
分类:
其他好文 时间:
2014-07-31 09:41:15
阅读次数:
270
原文:http://peeterjoot.wordpress.com/2010/07/07/avoiding-gdb-signal-noise/A quick note for future reference (recorded elsewhere and subsequently lost).S...
分类:
数据库 时间:
2014-07-31 02:44:25
阅读次数:
303
This wiki page will demonstrate - "How to add system service to android framework". Example - "Adding a Bluetooth HID service" - taken as reference of...
分类:
移动开发 时间:
2014-07-30 20:03:54
阅读次数:
364
部分转载部分自己搞定~~~~~~实现方式有如下两种:1.SlidingDrawer(据说官方不赞成使用这种方式了) 那就用第二种了2.DrawerLayout以下是网友给的资料参照(不跳墙你就不要看了):http://developer.android.com/reference/android/s...
分类:
移动开发 时间:
2014-07-30 00:51:42
阅读次数:
374