public static void setVersion(final Versioned versioned, String version) throws WTException { try { if (version == nu...
STB启动流程 1. uboot启动(Fastboot启动) 硬件资源检测(如CPU,DDR Size,Nand flash,mem size,flash size) print Version(如HW Version,Boot Version,Loader Version) b...
分类:
系统相关 时间:
2014-07-01 21:59:05
阅读次数:
409
向栈中压入数据:lua_pushnil(lua_State*);lua_pushboolean(lua_State*, bool);lua_pushnumber(lua_State*, lua_Number);lua_pushinteger(lua_State*, lua_Integer)lua_p...
Pending Queue Size The number of messages in the queue that have yet to bedelivered to any clientDispatched Counter The number of message in the q...
分类:
其他好文 时间:
2014-07-01 00:23:41
阅读次数:
268
题目
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it witho...
分类:
其他好文 时间:
2014-06-30 19:38:37
阅读次数:
226
题目
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it...
分类:
其他好文 时间:
2014-06-30 19:23:18
阅读次数:
200
创建命令f1
创建一个shell脚本 f1,放到 $PATH 可以找到的位置:
{CSDN:CODE:411063}
f1用法
1. 创建一个文件 foo.txt,并 backup 它
$ cat foo.txt
1
$ f1 backup foo.txt
2. 修改它
$ cat foo.txt
2
3. 还原到上一个版本
$ f1 ...
分类:
其他好文 时间:
2014-06-30 17:04:38
阅读次数:
228
题目
Given n points
on a 2D plane, find the maximum number of points that lie on the same straight line.
方法
每次选择一个点,和其他n - 1个点,进行判断,统计最多的。
double computeSlope(Point a, Point b) {
...
分类:
其他好文 时间:
2014-06-30 15:48:45
阅读次数:
184
ENTBOOST,VERSION 2014.180 Linux版本发布,主要增加企业IM应用集成功能,完善安卓SDK功能及部分BUG修正;
7/1(明天)发布Windows版本,敬请关注!
ENTBOOST是跨平台、跨应用的实时通讯平台;恩布网络致力于帮助开发者、软件公司和企业,组建企业级的即时通讯平台和运营平台;提供跨终端、跨应用的实时消息互通开源解决方案;
恩布公司网...
分类:
系统相关 时间:
2014-06-30 15:41:35
阅读次数:
255