码迷,mamicode.com
首页 >  
搜索关键字:retain cycle    ( 2217个结果
Nginx学习——进程模型(worker进程)
进程模型 worker进程         master进程模型核心函数ngx_master_process_cycle()中调用了创建子进程函数ngx_start_worker_processes(),该函数源码如下 static void ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n, ngx_int_t type)...
分类:其他好文   时间:2014-07-27 11:10:42    阅读次数:252
Gartner:Hype Cycle for Emerging Technologies-2013
The “Hype Cycle for Emerging Technologies” report is the longest-running annual Hype Cycle, providing a cross-industry perspective on the technologies...
分类:其他好文   时间:2014-07-27 11:00:12    阅读次数:290
Gartner: Hype Cycle for Emerging Technologies-2012 (技术成熟度曲线) [转]
英文稿:The “Hype Cycle for Emerging Technologies” report is the longest-running annual Hype Cycle, providing a cross-industry perspective on the technolo...
分类:其他好文   时间:2014-07-27 10:59:02    阅读次数:413
图论trainning-part-1 D. Going in Cycle!!
D. Going in Cycle!!Time Limit: 3000msMemory Limit: 131072KB64-bit integer IO format:%lld Java class name:MainYou are given a weighted directed graph w...
分类:其他好文   时间:2014-07-26 01:00:36    阅读次数:209
【LeetCode】【Python】Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 思路:笨办法是每个节点再开辟一个属性存放是否访问过,这样遍历一遍即可知道是否有环。但为了不增加额外的空间,可以设置两个指针,一个一次走一步,另一个一次走两步...
分类:编程语言   时间:2014-07-25 11:09:21    阅读次数:206
写给喜欢用Block的朋友(ios Block)
IOS block 中使用注意的问题 1.block 的循环引用(retain cycle) 2.去除block产生的告警时,需注意问题。...
分类:移动开发   时间:2014-07-24 23:14:13    阅读次数:324
OC之内存分配
1.OC中内存管理方式分MRC和ARC两种MRC:手动管理引用计数。ARC:自动管理引用计数。ARC实现的原理是MRC。2.引起引用计数变化的方法加1:alloc,retain,copy;减一:release(引用计数立即减一),autorelease(在未来的某个时刻引用计数减一,这个时刻跟au....
分类:其他好文   时间:2014-07-24 22:26:22    阅读次数:229
IOS开发复习笔记(3)-ARC
1.ARC 当你自己调用了release或retain语句的时候,ARC有效时编译文件会遇到错误,你可以通过-fno-objc-arc和-fobjc-arc两个编译器标志在混搭中支持ARC和非ARC的代码 如下面编译支持ARC,而文件代码不支持ARC # if !__has_feature(objc...
分类:移动开发   时间:2014-07-24 10:17:03    阅读次数:170
os x 中出现message sent to deallocated instance 的错误总结
一般是程序中的某一个对象被release 了两次 一般情况下是与你定义的类型有关这里面我的错误是吧 NSString 类型的变量的属性 设置为了 assign 了 目测与这个有关补充object-c 基础property,assign,copy,retain,releaseproperty:属性的定...
分类:其他好文   时间:2014-07-23 15:02:36    阅读次数:163
Linked List Cycle leetcode II java (寻找链表环的入口)
题目:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without using extra spac....
分类:编程语言   时间:2014-07-23 12:02:46    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!