码迷,mamicode.com
首页 >  
搜索关键字:copy on write    ( 26982个结果
linux kernel "current" macro
-------------------------------source---------------------------------#include #include #include #include #include /* 函数声明 */void tty_write_message1(s...
分类:系统相关   时间:2014-05-19 10:30:33    阅读次数:468
jxl设置第一行单元格格式3
setColumnView是可以用,setRowView还是没效果是这样的来个更诡异的Java代码 收藏代码import java.io.*; import jxl.*; import jxl.write.*; public class JxlTest { public static void .....
分类:其他好文   时间:2014-05-19 10:24:28    阅读次数:167
秒杀主流应用的二维码扫描
最近公司需要实现二维码扫描的功能,可能这个大家一看就觉得。论坛Demo一大把,随便copy一个就可以使用了!起初我也是这么认为,随便找了一个改改!!后来发现Bug太多,有太多不理想的东西。。索性自己来做。首先说一下目前大家常用的方法的不足吧:一、 使用开源Zxing扫描1、原始代码是横屏模式,尽管可...
分类:其他好文   时间:2014-05-19 09:47:17    阅读次数:230
JavaScript Patterns 2.3 - For loops
Do you know how to write the for-loop efficiently? Read this to get it. :)
分类:编程语言   时间:2014-05-18 19:24:37    阅读次数:382
Saving Activity state in Android
You need to override onSaveInstanceState(Bundle savedInstanceState) and write the application state values you want to change to the Bundle parameter ...
分类:移动开发   时间:2014-05-17 14:49:13    阅读次数:292
Linux System Programming 学习笔记(四) 高级I/O
1.Scatter/Gather I/Oa single system call to read or write data between single data stream and multiple buffersThis type of I/O is so named because the...
分类:系统相关   时间:2014-05-17 14:17:55    阅读次数:571
CareerCup之1.8 字符串移位包含问题
【题目】 原文: 1.8 Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one...
分类:其他好文   时间:2014-05-16 01:50:08    阅读次数:311
oracle 数据库开发面试题
最近参加了4、5场面试,总结一下竞聘oracle 开发岗位最长问到哪些问题: 1、delete 与 truncate 区别? 1)truncate 是DDL语句,delete 是DML语句; 2)truncate 速度远快于 delete; 原因是:当我们执行delete操作时所有表数据先被copy到回滚表空间,数据量不同花费时间长短不一。而truncate是直接删除数据不进回滚表...
分类:数据库   时间:2014-05-15 23:39:29    阅读次数:450
UITextField placeholder text color
iOS6 and Later改变UITextField 中占位符 提示文本的文字颜色在新版本中(iOS6以后)iOS提供一种 Key = value 属性的方式,来改变UI的属性内容。以UITextField为例 @property(nonatomic,copy) NSAttributedStri....
分类:其他好文   时间:2014-05-15 22:43:48    阅读次数:436
write()和prinln()的区别?
输出数字不同: write()输出数字转换为字符,println原样输出。输出null不同: write()输出引用类型的时候调用的toString转换为String数据,因此如果对象为null那么直接抛出空指针异常。Println直接输出null。
分类:其他好文   时间:2014-05-15 22:28:14    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!