这里为了使代码更加简洁,直接用了transfer来挂接两路流的传输操作。// 初始化文件输入流 tb_stream_ref_t istream = tb_stream_init_from_url("/home/file.txt"); // 初始化文件输出流 tb_stream_re...
分类:
其他好文 时间:
2014-09-02 12:03:04
阅读次数:
168
declare cursor s is select version from city_server t; s_ city_server.version%type;begin open s; fetch s into s_; if s_>2 then DBMS_OUTPUT.put_line(s_); end if; close s;end;...
分类:
数据库 时间:
2014-09-02 10:35:24
阅读次数:
200
PADS生成贴片文件 VIEW-BOTTOM VIEW能够使Bottom层正常显示。 1. pastmask_top->Output Devices->Device Setup… 2. 进行打印设置 3. 对层进行设置 4. 设置效果如下图所示: 5. 生成BOM表,对于不贴的元器件,不要有REF标...
分类:
其他好文 时间:
2014-09-01 20:59:13
阅读次数:
348
Cursor draftCursor = mResolver.query(Uri.parse("content://sms"), new String[] {"canonical_addresses.address " + "from sms,threads,canonical_ad...
分类:
移动开发 时间:
2014-09-01 17:34:33
阅读次数:
273
ref,函数形参变量的输入有两种方式:传值,传址。而ref则为传址。out,顾名思义,即输出。相当于一个函数可以有多个返回值,这是C#中特有的params,在数组形参前面使用,可以赋多个值。enum,枚举是由程序员定义的类型,与类或结构一样。例如 //static void Add(ref int ...
分类:
其他好文 时间:
2014-09-01 13:58:13
阅读次数:
202
(一)ref函数形参变量的输入有两种方式:传值,传址。而ref则为传址。eg: 1 static int Add(ref int n) 2 { 3 Console.WriteLine("Add----1:{0}",n); 4 n = n + 10; 5 Console.Wri...
分类:
其他好文 时间:
2014-09-01 00:17:02
阅读次数:
186
1)Eclipse+Pydev搭建开发环境
从官网下载windows下的安装包python-2.7.3.msi并安装,完成python集成开发环境配置
ref: Eclipse+Pydev
搭建开发环境
http://blog.csdn.net/pipisorry/article/details/38964249
2)在 Eclipse 中使用Python...
分类:
编程语言 时间:
2014-08-31 23:01:22
阅读次数:
792
1.C#中int和byte[]转换:/// /// 把int32类型的数据转存到4个字节的byte数组中/// /// int32类型的数据/// 4个字节大小的byte数组public static bool ConvertIntToByteArray(Int32 m, ref byte[] ar...
分类:
编程语言 时间:
2014-08-31 22:50:11
阅读次数:
416
CSS 参考手册实例一些不同的光标:span.crosshair {cursor:crosshair;}span.help {cursor:help;}span.wait {cursor:wait;}亲自试一试浏览器支持IEFirefoxChromeSafariOpera所有主流浏览器都支持 cur...
分类:
Web程序 时间:
2014-08-31 18:28:41
阅读次数:
229
Oracle 系列:REF Cursor在上文 Oracle 系列:Cursor (参见:http://blog.csdn.net/qfs_v/archive/2008/05/06/2404794.aspx)中提到个思考:怎样让游标作为参数传递? 解决这个问题就需要用到 REF Cursor 。1,...
分类:
数据库 时间:
2014-08-30 23:02:20
阅读次数:
329