Java类:UserInfo
public class UserInfo {
static {
System.loadLibrary("userinfo");
}
// 从JNI中直接访问字段
public String mUserName;
public int mUserAge;
public long mMoney;
public UserInfo() {
}...
分类:
编程语言 时间:
2014-05-23 02:34:37
阅读次数:
261
public class TraditionalThreadTest {
static class Outputer {
public void output1(String name) {
synchronized (Outputer.class) {
for (int i = 0; i < name.length(); i++) {
System.out.pri...
分类:
其他好文 时间:
2014-05-22 23:53:45
阅读次数:
442
使用 HTTP
Web 使用超文本传输协议(Hypertext Transfer Protocol,HTTP)通信,通常用 web 浏览器,但是,出于某些原因,也可能想用脚本或程序中发出 web 请求,例如,通过 RSS 或 Atom feeds 收集站点内容。
生成 HTTP 请求,需要用 System.Net.WebRequest 类的静态方法 Create。它创建 WebRequ...
分类:
其他好文 时间:
2014-05-22 23:02:45
阅读次数:
307
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace 二维数组{ class
Program { ...
分类:
其他好文 时间:
2014-05-22 15:54:53
阅读次数:
227
using System;using System.Collections.Generic;using
System.IO;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 序列化反序列化{ c...
分类:
其他好文 时间:
2014-05-22 15:52:52
阅读次数:
264
We added a system call to modify idt table,
then programed it inmodify_idt.c1. Put our modify_idt.c file
in/usr/src/linux-3.10.15/arch/x86/kernel2./us...
分类:
其他好文 时间:
2014-05-22 15:51:03
阅读次数:
269
NFS,是Network File
System的简写,即网络文件系统。网络文件系统是FreeBSD支持的文件系统中的一种,也被称为NFS.
NFS允许一个系统在网络上与他人共享目录和文件。通过使用NFS,用户和程序可以像访问本地文件一样访问远端系统上的文件。安装:[root@localhost
e...
分类:
其他好文 时间:
2014-05-22 15:36:46
阅读次数:
341
using System;using System.Collections.Generic;using
System.Linq;using System.Web;using System.Web.Mvc;using
System.Web.Security;namespace 验证权限.Control...
分类:
Web程序 时间:
2014-05-22 15:36:02
阅读次数:
264
试验环境:服务端:OEL 5.7 + Oracle 10.2.0.5 RAC客户端:Windows 7
+ Oracle 11.2.0.1 Client1.客户端登陆间断遭遇ORA-12545,现象如下:C:\Users\xiaoyu>sqlplus
system/oracle@192.168.1....
分类:
其他好文 时间:
2014-05-22 14:44:19
阅读次数:
516
Webservice超时问题Winform客户端调用Webservice
120秒超时.对此问题,针对服务器与客户端分别作了超时设置为300S.1. 服务器端设置超时在 web.config 的 system.web
里添加如下配置项:记得要把 web.config 的 debug 模式关闭:2. ...
分类:
Web程序 时间:
2014-05-22 14:38:56
阅读次数:
456