MySql检索操作返回一组称为结果集的行。这组返回的行都是与sql语句相匹配的行(0行或多行)。用简单的select语句,例如,没有办法得到第一行,下一行或前10行。也不存在每次一行地处理所有的行简单办法(相对于成批的处理他们)。目前游标只用于存储过程或函数里一、声明游标declare 游标名 cu...
分类:
其他好文 时间:
2015-03-14 21:41:43
阅读次数:
142
转载自风宇冲Unity3D教程学院Culling阴影面剔除Culling阴影面剔除是一种优化技术。所有的多边形都有正反两面,而你永远只能看见其中一面,不信的话拿张纸板或者一面镜子看看你能不能同时看到两面。通常多边形面向屏幕里面的背面,我们看不见,所以会将该面剔除。Cull Off 关闭阴影面剔除Cu...
分类:
编程语言 时间:
2015-03-11 12:36:09
阅读次数:
200
Java实现多线程的方法有两种,一是继承Thread类、二是实现Runnable接口。
一、继承Thread类
public class ThreadTest extends Thread {
@Override
public void run() {
System.out.println("this thread name is:"+Thread.cu...
分类:
编程语言 时间:
2015-03-10 17:26:51
阅读次数:
177
Alice lives in the country where people like to make friends. The friendship is bidirectional and if any two person have no less than
k friends in common, they will become friends in several days. Cu...
分类:
其他好文 时间:
2015-03-09 09:24:37
阅读次数:
199
DescriptionArbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same cu...
分类:
其他好文 时间:
2015-03-06 16:17:52
阅读次数:
165
最近运维还是比较空闲,写篇自己的心得体会。做过运维的应该都做过http服务了。像一些电子商城,或者是一些互联网公司,web的服务之类是至关重要的,近期看了刘天斯大哥的书觉得自己运维平台应该也可以这样去监控服务之类,今天学习了pycurl模块,这里记录一下: 模块相关说明: c = pycurl.Cu...
分类:
Web程序 时间:
2015-03-04 18:32:51
阅读次数:
142
//获取当前系统功能的版本号
int currentPhoneVersionCode = android.os.Build.VERSION.SDK_INT;
MyApplication.currentPhoneVersionCode = currentPhoneVersionCode;
LogUtil.d(TAG, "----------当前的版本号:" + MyApplication.cu...
分类:
其他好文 时间:
2015-03-03 13:38:43
阅读次数:
166
Paper:V. Vineet, P. J. Narayanan. CUDA cuts: Fast graph cuts on the GPU. In Proc. CVPR Workshop, 2008. 原文出处:http://lincccc.blogspot.tw/2011/03/cuda-cu...
分类:
其他好文 时间:
2015-02-15 20:34:15
阅读次数:
291
Curling 2.0Time Limit:1000MSMemory Limit:65536KTotal Submissions:12806Accepted:5385DescriptionOn Planet MM-21, after their Olympic games this year, cu...
分类:
其他好文 时间:
2015-02-12 12:17:37
阅读次数:
146