#include
#include
int add(int i,int j){
return i+j;
}
int sub(int i,int j){
return i-j;
}
EXPORT_SYMBOL(add);
EXPORT_SYMBOL(sub);
MODULE_LICENSE("GPL");
#include
#include
#include "hea...
分类:
其他好文 时间:
2015-05-18 18:59:22
阅读次数:
145
Mesosphere的高级研究分析师Derrik Harris(原是GigaOM编辑,到访过CSDN)最近采访了Google负责基础设施的副总裁Eric
Brew,谈到了容器技术、Kubernetes、云计算当然还有CAP。
Eric Brew,美国工程院院士和ACM Fellow,是著名的分布式系统专家,32岁就拿到加州大学伯克利分校教授(个人网页),提出了分布系统中非常重要的...
分类:
其他好文 时间:
2015-05-18 18:57:28
阅读次数:
157
欢迎关注微信公共账号“Android老码农”,与老码农交流。
本文同时发表在老码农的个人独立网站:http://www.koulianbing.com/?p=79
上一篇提到了“好客户端是怎样炼成的”,那些都是条条框的死规矩,一条条记下来,然后去遵守就好了。这次讲的这些,主要涉及到知识系统性,理解问题全面性,以及最重要的个人能动性等方面。比较务虚,但我相信重要程度比前者只高不低。人类的...
分类:
其他好文 时间:
2015-05-18 18:59:35
阅读次数:
151
FreakZ接收过程详解
FreakZ的接收过程与发送过程刚好相反,层次关系依次为Radio->PHY->MAC->NWK->APS,下面就具体流程做阐述说明;
当Radio层接收到广播信号时,首先会触发中断函数cc2538_rf_rx_tx_isr,该中断函数会跳转到cc2538_rf_process这个进程,process_poll是触发该进程函数,优先级高于process_event;
...
分类:
其他好文 时间:
2015-05-18 18:58:57
阅读次数:
223
题目描述:
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or...
分类:
其他好文 时间:
2015-05-18 18:58:43
阅读次数:
118
行棋相关术语
〖阳线〗即:直线,棋盘上可见的横纵直线。
〖交叉点〗阳线垂直相交的点,简称“点”。
〖阴线〗即:斜线,由交叉点构成的与阳线成45°夹角的隐形斜线。
〖落子〗棋子直接落于棋盘的空白交叉点上。
〖轮走方〗即“行棋方”,有权利落子的黑方或白方。
〖着〗在对局过程中,行棋方把棋子落在棋盘无子的点上,不论落子的手是否脱离棋子,均被视为一着。
〖回合〗双方各走一着,称为一个回合。...
分类:
其他好文 时间:
2015-05-18 18:56:10
阅读次数:
119
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_...
分类:
其他好文 时间:
2015-05-18 18:56:00
阅读次数:
147
android 游戏开发中 SurfaceView 的基础用法...
分类:
其他好文 时间:
2015-05-18 18:57:28
阅读次数:
130
题目描述You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers...
分类:
其他好文 时间:
2015-05-18 18:57:11
阅读次数:
119
shell.albert@yantai:~/tools/sokit-1.3-linux32> /usr/sbin/iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
...
分类:
其他好文 时间:
2015-05-18 18:54:28
阅读次数:
163
题目描述
问题分析
代码
总结
个人声明题目描述Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for “abcabcbb” is “abc”, whic...
分类:
其他好文 时间:
2015-05-18 18:54:52
阅读次数:
99
1.默认构造函数
2.默认析构函数
3.拷贝构造函数
4.拷贝赋值函数
5.移动构造函数
6.移动拷贝函数...
分类:
其他好文 时间:
2015-05-18 18:55:32
阅读次数:
111
1, copy all your files under the folder (Filezilla)
2, Come to the ADE command prompt and navigate to the folder which you have copied files and execute the command "ade mkelem -nc "
3, ade ci -nc -...
分类:
其他好文 时间:
2015-05-18 18:54:03
阅读次数:
555
git 用法总结A) git 配置初始化git根目录
在已有目录内部
cd git_root_dir
git init
在当前位置生成 git 根目录
git init git_root_dir
git 配置文件:~/.gitconfig 或者 git_root_dir/.git/config设置 core infogit config --global core.editor "v...
分类:
其他好文 时间:
2015-05-18 18:55:06
阅读次数:
111
题目:poj 2296 Map Labeler题意:给出以下二维坐标点,然后让你往平面上放正方形,点必须落在正方形上面边的中点或者下面边的中点,正方形不能重叠,可以共用边。问最大正方形边的边长。分析:这种最大化最小值或者最小化最大值的问题,我们都可以种二分+判断的方法来解,这个也不例外,关键是判断部分
我们现在二分枚举边长为diff,然后所有的点就变成了在正方形上面或者下面的问题了,二选一的问题很...
分类:
其他好文 时间:
2015-05-18 18:53:31
阅读次数:
144
在多个场景切换时候,场景的生命周期会更加复杂。这一节我们介绍一下场景切换生命周期。多个场景切换时候分为几种情况:情况1,使用pushScene函数从实现GameScene场景进入SettingScene场景。情况2,使用replaceScene函数实现从GameScene场景进入SettingScene场景。情况3,使用popScene函数从实现SettingScene场景回到GameScene场...
分类:
其他好文 时间:
2015-05-18 18:52:24
阅读次数:
216
摘要:
分四部分、第一部分是Mybatis使用、第二部分是与SpringMVC整合、第三部分是原理和源码分析、第四部分是问题或者值得注意的地方的记录。...
分类:
其他好文 时间:
2015-05-18 18:52:17
阅读次数:
120