public Test() throws RepletException { try { System.out.println("Test this Project!") } catch (Exception e) { throw new Exception(e...
分类:
其他好文 时间:
2014-08-06 21:46:32
阅读次数:
196
使用return返回 --create?pro
USE?yfb
go
create?proc?cwqi_test_pro(
?@newName?varchar(20)?out,
?@oldName?varchar(20)?in
?)
as
begin
??set?@newName=@oldName
??return?1
end
--run?pro...
分类:
数据库 时间:
2014-08-06 19:36:12
阅读次数:
582
纠结了好久,终于实现了extjs的下载功能,其实下载的原理很简单,就是给界面一个按钮,让按钮触发后台action,将地址返回给前台。具体实现如下。
//extjs代码,页面
var btn_out_user = new Ext.Button({ ...
分类:
Web程序 时间:
2014-08-06 19:34:32
阅读次数:
283
求2的32次方
普通程序员
Java code ?
1System.out.println(Math.pow(2, 32));
文艺程序员
Java code ?
1System.out.println(1L
2B程序员
Java code ?
1System.out.println(2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*...
分类:
其他好文 时间:
2014-08-06 19:26:42
阅读次数:
261
JSP共有以下9个内置的对象:
request
用户端请求,此请求会包含来自GET/POST请求的参数
response
网页传回用户端的回应
pageContext
网页的属性是在这里管理
session
与请求有关的会话期
application servlet
正在执行的内容
out
用来传送回应的输出
config servlet的构架...
分类:
Web程序 时间:
2014-08-06 19:08:32
阅读次数:
197
Game Description:
1. In a closed door, there will be a circle, and 30 numbers in the circle.
2. Each team (about 10 people) need to take number out of the circle by ascend order.
3. Each team has...
分类:
其他好文 时间:
2014-08-06 19:06:02
阅读次数:
359
1、pig out 狼吞虎咽、大吃特吃Would you like to pig out with us tonight?今晚想不想跟我们一起去胡吃海喝一顿?2、eat up 吃光、吃完、尽情吃You can eat up the rest of the food.你可以把剩余的食物吃光。3、eat...
分类:
其他好文 时间:
2014-08-06 18:38:31
阅读次数:
214
GetAvaliableThread(out workerThreadCount,out iocompletedThreadCount) 函数居然一次返回了两个变量.线程池里的线程按照公用被分成了两大类:工作线程和IO线程,或者IO完成线程,前者用于执行普通的操作,后者专用于异步IO,比如文件和网络...
分类:
编程语言 时间:
2014-08-06 11:51:01
阅读次数:
233
发现我们游戏的代码中,主程写了很多类似这样的代码: public static T CreateObject(out int objectId) where T : new() //方法名 public class CSingleton where T : new() //单例类 public T ...
分类:
其他好文 时间:
2014-08-06 11:47:41
阅读次数:
350
1. VoltDB是什么?
->VoltDB是一家新型关系型分布式内存数据库管理系统,以解决OLTP为初衷,正在不断增加处理OLAP,提供BI的功能。VoltDB与传统数据库(如DB2,Oracle,MySQL等)最大的不同点就是,VoltDB把全部数据放在内存里,并且可以scale out,运行在一个集群上,集群上的每个节点都可以执行部分数据处理任务。
VoltDB官网:http://vol...
分类:
数据库 时间:
2014-08-06 04:12:20
阅读次数:
484