type __sync_fetch_and_add (type *ptr, type value, ...) type __sync_fetch_and_sub (type *ptr, type value, ...) type __sync_fetch_and_or (type *ptr, type value, ...) type __sync_fetch_and_and (type *...
分类:
其他好文 时间:
2014-07-22 09:00:07
阅读次数:
163
public?static?void?main(String[]?args)?{
//????????//?TODO?Auto-generated?method?stub
????????try?{
????????????System.out.println("how‘s?the?weather...
分类:
其他好文 时间:
2014-07-22 08:25:35
阅读次数:
196
System.out.println(Environment.getExternalStorageState()); System.out.println(Environment.getDataDirectory().getAbsolutePath()); System.out.println(Environment.getExternalStorageDirectory().getAbso...
分类:
移动开发 时间:
2014-07-21 10:09:54
阅读次数:
216
每一个集成环境都缺不了一个共享文件服务器,今天介绍一下,该lab-bill-davidey清单里的公共服务(common)模块nfs服务器。rpcbindnfsredhat6.5其他有portmapnfsvi/etc/export/local10.0.0.0/24(rw,no_root_squash,no_all_squash,sync)exportfs-viptablescat/etc/sysconfig/nfs..
分类:
其他好文 时间:
2014-07-20 15:11:31
阅读次数:
345
Java注释分类
1、单行注释
//打印结果
System.out.println("结果是:"+result);
2、多行注释
/**
* @author youhaidong
* for循环语句
*/
for(int i=0;i
{
System.out.println(i);
...
分类:
编程语言 时间:
2014-07-20 10:18:28
阅读次数:
199
常用KEY:1.监控端口net.tcp.port[,3306]2.监控进程proc.num[mysqld]3.查看CPU核数system.cpu.num4.查看系统的系统启动时间和当前时间system.boottime、system.localtime5.查看系统的简单信息system.uname6.查看windowns系统当前网卡的进出流量net.if.out[{HOST.NAME},bytes]、..
分类:
其他好文 时间:
2014-07-20 10:17:37
阅读次数:
231
Mark之安装:yum-yinstallnfs-utilsrpcbindnfs服务器配置:/home/nfs192.168.150.*(rw,sync,no_root_squash)/home/nfs本地路径,可供其他用户访问的192.168.150.*此IP下链接的用户才可以访问(rw,sync,no_root_squash)PS:此处和IP地址没有空格rw:读写权限sync:文件同时写入硬盘..
分类:
系统相关 时间:
2014-07-20 03:42:36
阅读次数:
259
目录概述取消跨线程检查使用委托异步调用 sync和await总结概述最近在qq群里有一朋友,问起在winform中怎么通过开启线程的方式去处理耗时的操作,比如,查看某个目录下所有的文件,或者符合要求的文件。下班回来,也研究了一下。发现多线程这块有点薄弱,也算是补一补吧。在winform开发,经常会遇...
分类:
编程语言 时间:
2014-07-19 18:39:28
阅读次数:
566
场景先看段代码,考虑以下场景,其运行结果是什么?public class Test { static int i = 8; public void printI() { int i = 88; System.out.println(this.i); } ...
分类:
其他好文 时间:
2014-07-19 18:33:22
阅读次数:
232
# justke 最近markdown语法情有独钟,特来helloworld```JAVApublic class { public static void main() { System.out.println("Hello World"); }]```
分类:
其他好文 时间:
2014-07-19 18:10:39
阅读次数:
185