#import@interface ViewController : UIViewController@property (retain, nonatomic) IBOutlet UIImageView *imgV;- (IBAction)openCamera:(id)sender;- (IBAct...
分类:
移动开发 时间:
2014-11-20 06:48:42
阅读次数:
257
Nginx源码分析—worker进程的创建
假设现在ngx_init_cycle已经结束(毕竟这个函数确实庞大),也就是说关于nginx的初始化都已经结束。那么看看如何创建进程模型ngx_master_process_cycle。
在这个函数中,首先情况一些信号,然后将需要关注的信号注册进去(这个时候关于信号的处理函数已经被注册),可以看出来master进程关注的信号有10个。比如SIGCHL...
分类:
系统相关 时间:
2014-11-19 20:37:35
阅读次数:
145
Nginx源码分析—业务流程
到此为止,我们假设ngx_init_cycle已经结束,我们暂时不管他做了什么,我们从他做的效果进入。
从常理上来讲,如果一个请求到达,那么我们需要接受这个请求,那么就从请求来介绍!
在ngx_event_process_init函数中将监听套接字上的读事件注册为ngx_event_accept,ngx_event_accept是为了接受请求的,它负责接收一个连...
分类:
其他好文 时间:
2014-11-19 20:36:35
阅读次数:
126
Jeff Lee blog: http://www.cnblogs.com/Alandre/
(泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks
今天我们来Android UI第二讲:实现DridView的菜单样式
下载链接:
http://files.cnblogs.com/Alandre/AndroidUI2.rar
效果图:
...
分类:
其他好文 时间:
2014-11-19 11:15:16
阅读次数:
252
Jeff Lee blog:???http://www.cnblogs.com/Alandre/? (泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks 今天我们来Android UI第二讲:实现DridView的菜单样式 下载链接: http://files.cnblogs.com...
分类:
其他好文 时间:
2014-11-19 02:23:45
阅读次数:
290
Jeff Lee blog: http://www.cnblogs.com/Alandre/
(泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks
今天我们来Android UI第二讲:实现DridView的菜单样式
下载链接:
http://files.cnblogs.com/Alandre/AndroidUI2.rar
效果图:
...
分类:
其他好文 时间:
2014-11-19 01:16:45
阅读次数:
368
Jeff Lee blog: http://www.cnblogs.com/Alandre/ (泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks 今天我们来Android UI第一讲:实现Layout 背景局部Shape圆角设计 效果图: 第一步:定义...
分类:
移动开发 时间:
2014-11-19 00:22:27
阅读次数:
206
1.block循环引用(retain)1》如果没有对block进行copy操作,block就存储于栈空间2》如果对block进行copy操作,block就存储于堆空间3》如果block存储于栈空间,不会对block内部所用到的对象产生强引用4》如果block存储于堆空间,就会对block内部所用到的...
分类:
其他好文 时间:
2014-11-18 23:32:35
阅读次数:
220
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Linked ListTwo Pointers''...
分类:
其他好文 时间:
2014-11-18 23:25:09
阅读次数:
170
Jeff Lee blog: http://www.cnblogs.com/Alandre/ (泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks Linked list is a normal data structure.here I show ho...
分类:
编程语言 时间:
2014-11-17 09:10:51
阅读次数:
169