鼠标响应: mouseX, mouseY 鼠标的坐标----------------------------------------------void setup(){ size(300,300); smooth(); background(200);}void draw(){ fill(...
分类:
其他好文 时间:
2014-10-13 15:51:09
阅读次数:
141
The Java API for XML Processing (JAXP) is for processing XML data using applications written in the Java programming language. JAXP leverages the pars...
分类:
其他好文 时间:
2014-10-12 19:30:48
阅读次数:
198
来自stackoverflow的题目Why is processing a sorted array faster than an unsorted array?...
分类:
编程语言 时间:
2014-10-12 18:15:58
阅读次数:
296
下面例子展示批量插入一个反模式(不成熟使用Hibernate插入100000行记录) ?Session session = sessionFactory.openSession(); ?Transaction tx = session.beginTransaction(); ?for ( int i=0; i<100000; ...
分类:
其他好文 时间:
2014-10-11 19:40:17
阅读次数:
231
函数:绘制直线自由图形:beginShape(), vertex(), endShape() 分别是绘制图形开始,连接图形的节点,绘制结束 endShape(CLOSE)表示闭合图形。绘制曲线边框自由图形:beginShape() 开始绘制vertex() 图形起始端点bezierVertex(cx...
分类:
其他好文 时间:
2014-10-11 19:33:46
阅读次数:
205
dpdk.orgWhat it isIntel® DPDK is a set of libraries and drivers for fast packet processing on x86 platforms. It runs mostly in Linux userland.This pro...
分类:
其他好文 时间:
2014-10-11 14:08:05
阅读次数:
266
今天无意间发现的processing 很有兴趣 实现很简洁void setup(){}void draw(){ background(255); if(mouseX height/2) { fill(0); rect(0,height/2,width/2,height/2); ...
分类:
其他好文 时间:
2014-10-10 23:58:04
阅读次数:
456
StAX 概述从一开始,Java API for XML Processing (JAXP) 就提供了两种方法来处理 XML:文档对象模型(DOM)方法是用标准的对象模型表示 XML 文档;Simple API for XML (SAX) 方法使用应用程序提供的事件处理程序来处理 XML。JSR-1...
分类:
其他好文 时间:
2014-10-08 01:13:24
阅读次数:
348
TPCC-MySQL 基于TPCC协议的MySQL 实现TPCC简介:TPC-C is an on-line transaction processing benchmark,TPC-C simulates a complete computing environment where a popul...
分类:
数据库 时间:
2014-10-06 18:37:10
阅读次数:
399
An invalid XML character (Unicode: 0x1a) was found in the element content of the documentThe processing instruction target matching "[xX][mM][lL]" is ...
分类:
其他好文 时间:
2014-10-05 14:01:58
阅读次数:
194