jQuery.extend = jQuery.fn.extend = function() {// copy reference to target objectvar target = arguments[0] || {}, a = 1, al = arguments.length, deep =...
分类:
Web程序 时间:
2014-10-29 14:23:15
阅读次数:
177
shared_from_this()是enable_shared_from_this的成员 函数,返回shared_ptr。首先需要注意的是,这个函数仅在shared_ptr的构造函数被调用之后才能使 用。原因是enable_shared_from_this::weak_ptr并不在构造函数中设置,...
分类:
其他好文 时间:
2014-10-28 23:57:18
阅读次数:
276
Reference:http://blog.csdn.net/jarjingx/article/details/8521690其中伍昱的ppt不错。2SAT最裸的模型:一国有n个党派,每个党派在议会中都有2个代表,现要组建和平委员会,要从每个党派在议会的代表中选出1人,一共n人组成和平委员会。已知有...
分类:
其他好文 时间:
2014-10-28 21:23:53
阅读次数:
282
??
You can use the
as operator to perform certain types of conversions between compatible reference types or
nullable types.
The as operator is like a cast operation. However, if the conversion i...
The ref keyword causes an argument to be passed by reference, not by value. The effect of passing by reference is that any
change to the parameter in the called method is reflected in the calling me...
??
A variable of a
reference type does not contain its data directly; it contains a reference to its data.
When you pass a reference-type parameter by value, it is possible to change the data poin...
运行 #make menuconfig1 HOSTLD scripts/kconfig/mconf2 scripts/kconfig/mconf.o: In function `main':3 mconf.c:(.text.startup+0x6a): undefined reference ...
分类:
其他好文 时间:
2014-10-28 17:35:01
阅读次数:
229
原文:https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/ls.1.html-a 列出目录下的所有文件,包括以 . 开头的隐含文件。-b 把文件名中不可输出的字符用反斜杠加字符编号(...
分类:
系统相关 时间:
2014-10-28 15:05:44
阅读次数:
317
1. by zero发生被0除错误2. Null object reference空对象引用3. Array boundary exceeded数组越界4. Enumerated value is out of range for function枚举值超出函数的范围5. Negative valu...
分类:
其他好文 时间:
2014-10-28 11:52:20
阅读次数:
582
这是使用libdlna0.2.4与ffmpeg2.4.2搭配遇到的问题
解决方法是使用ffmpeg2.2.9版本(更久的版本没测试过),
或者坚持要使用ffmpeg2.4.2版本的话,只需将
…/ffmpeg-2.4.2/libavformat/version.h文件中一点点内容进行修改:...
分类:
其他好文 时间:
2014-10-27 11:01:02
阅读次数:
375