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
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-06-04 20:09:47
阅读次数:
266
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
package index;import java.io.File;import
java.io.IOException;import
org.apache.lucene.analysis.standard.StandardAnalyzer;import
org.apache.lucene.docu...
分类:
其他好文 时间:
2014-05-29 22:51:15
阅读次数:
317
直接在应用里放你需要的字体然后自己引用(验证通过)File file = new
java.io.File(PATHImageURL + "font/SIMHEI.TTF"); java.io.FileInputStream fi = new
java.io.FileInputStream(f...
分类:
其他好文 时间:
2014-05-29 17:53:32
阅读次数:
220
jQuery EasyUI Tree Create from HTML markup Folder
Sub Folder 1 File 11 File 12 File 13 File 2 File 3 File 4 File 5 ...
分类:
Web程序 时间:
2014-05-29 17:48:25
阅读次数:
473
使用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