fd_set是一组文件描述符(fd,file
descriptor)的集合,它用一位来表示一个fd。系统提供了4个宏对描述符集进行操作: #include #include
//设置文件描述符集fdset中对应于文件描述符fd的位(设置为1)void FD_SET(int fd, fd_set *f...
分类:
系统相关 时间:
2014-06-04 20:48:17
阅读次数:
343
1. / – RootEvery single file and directory
starts from the root directory.Only root user has write privilege under this
directory.Please note that /ro...
分类:
系统相关 时间:
2014-06-04 20:04:22
阅读次数:
416
Given an absolute path for a file (Unix-style),
simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/",
=>"/c"click to show corner cas...
分类:
其他好文 时间:
2014-06-04 19:32:14
阅读次数:
270
1、导入命令:imp userId/psw@orcl full=y
file=D:\data\xxx.dmp ignore=y2、导出命令exp userId/psw@orcl file=d:\dkj\test.dmp
tables=(wf_test) exp userId/psw@orcl buf...
分类:
数据库 时间:
2014-06-04 19:18:36
阅读次数:
294
从SQL文件逆向工程到PDM:①选择file -> Reverse Engineer -
> Database②在General选项卡中选择MySQL数据库,点击确定。③using script file
选择你的sql文件,最后选择确定。从PDM转成CDM:①选择工具 -> General CDM...
分类:
数据库 时间:
2014-06-03 14:09:49
阅读次数:
363
exp 用户名/密码@IP:端口/数据库名 file=文件路径 full=y;exp
scebm1/ebm@10.3.10.16:1521/scebm file=D:scebm20140527.dmp//如果报错 去掉
full=y试一试分享一个,oracle查询锁表SELECT object_na...
分类:
数据库 时间:
2014-06-03 13:57:51
阅读次数:
320
package ioXml;import java.io.File;import
java.io.IOException;import java.util.HashMap;import java.util.Iterator;import
java.util.List;import java.util...
分类:
其他好文 时间:
2014-06-03 13:23:36
阅读次数:
363
最近想研究一下CCS下的程序优化,之前也了解一些,现在查阅一下资料,整理一下。
当然优化有很多种,我本次先说的是执行优化方式。首先打开我们自己的工程。工程文件若显示为黄色的,则表示此文件默认优化选项被修改。(默认的是O0)2.右击文件选择File
Specific Options选项,在弹出的对.....
分类:
其他好文 时间:
2014-06-03 13:06:37
阅读次数:
324
使用SwingBench工具对oracle环境进行压力测试,100个用户,就提示连接数不够:后台日志报错:Errors
in file /oracle/admin/dbcc/bdump/dbcc_smon_3317.trc:ORA-00018: maximum number of
sessions ...
操作方法:1.新建工程;File——>new——>Java
Project——>TestServlet(工程名称)——>Finish.2.加载servlet-api.jar类包;TestServlet(右键)——>Build
Path——>Configure Build Path——>Library...
分类:
其他好文 时间:
2014-05-29 15:24:02
阅读次数:
254