操作步骤:一、挂载iso文件到挂载点[root@server ~ ]# mount -o loop /mnt/iso/CentOS5.iso /mnt/cdrom二、查看挂载状态[root@server ~ ]# df -hFilesystem Size Used Avail Use% Mounte...
分类:
其他好文 时间:
2014-11-06 14:18:41
阅读次数:
191
1 package main 2 3 import ( 4 "fmt" 5 "strconv" 6 "time" 7 ) 8 9 const LOOP = 10000010 11 var num int64 = 1012 13 func main() {14 s...
分类:
其他好文 时间:
2014-11-05 21:19:27
阅读次数:
230
需要写三个程序,makedata.exe 产生测试数据,program1.exe 是你要检测的程序,program2.exe 往往是一个正确但效率不高(暴力的居多)的程序。代码很简单,稍作解释:loop //loop表示循环的开始makedata.exe ...
分类:
其他好文 时间:
2014-11-05 14:40:50
阅读次数:
146
Looper用于封装了android线程中的消息循环,默认情况下一个线程是不存在消息循环(message loop)的,需要调用Looper.prepare()来给线程创建一个消息循环,调用Looper.loop()来使消息循环起作用,从消息队列里取 消息,处理消息。注:写在Looper.loop(...
分类:
移动开发 时间:
2014-11-05 12:53:19
阅读次数:
169
1 handler message loop messageQueue
处理
2 fragment 生命周期
3 ContentProvider
4 WebView
5 BroadCastreciver 广播
6 通讯录 的 获取 ContentProvider ContentReciver
获取用户的头像,手机号码 等。
...
分类:
移动开发 时间:
2014-11-05 11:01:21
阅读次数:
171
prim算法:#include #include #include #include #include #include #include #include using namespace std;#define loop(i,n) for(int i=0;i>n>>m; loop2(i,n) .....
分类:
编程语言 时间:
2014-11-05 10:44:24
阅读次数:
256
#include
#include
using namespace std;
//constexpr keyword
constexpr int sqare(int tmp)
{
return tmp*tmp;
}
int main()
{
int myArray[sqare(2)]={1,2,3,4};
//Range-bas...
分类:
编程语言 时间:
2014-11-05 00:29:02
阅读次数:
217
Java中continue比C语言多了一个continue loop;写法,基本上和goto差不多。
但是需要注意的是,loop书写的位置:
1、只能是continue上面
2、必须是当前for循环外面
3、必须紧挨着for循环...
分类:
编程语言 时间:
2014-11-05 00:26:32
阅读次数:
208
1.1环境准备1.2 Nested Loops Join从上面的试验来看,nested loop jion基本上是没有限制的,可以支持所有的运算。1.3 Hash Join1.4 Merge Sort Join待续。。。。。
分类:
数据库 时间:
2014-11-02 22:18:28
阅读次数:
179