码迷,mamicode.com
首页 >  
搜索关键字:深拷贝 浅拷贝 copy deepcopy    ( 14192个结果
【OC学习-11】ARC和内存管理里面的alloc、assign、new、retain、copy、mutableCopy、release说明
一般我们在开发程序时,只管alloc,不需要管release,因为有ARC帮我们管理。但是在学习时仍需要了解:内存是有限的,在堆区分配了内存后,如果不需要,则要回收,不然内存不够引起崩溃。...
分类:其他好文   时间:2014-09-03 19:52:47    阅读次数:229
解析Obj-C中的assgin,copy,retain关键字的含义。
在objc中引入了引用计数的概念Refr...
分类:其他好文   时间:2014-09-03 18:14:03    阅读次数:190
android 如何内置/预置/预编译文件(执行程序,应用程序,apk, jar, lib 等任意文件)到系统中
方法一:  假设要内置的软件名称为iperf.exe 1. 将iperf.exe放到Codebase的任意一个目录下(该目录必须能够在搜索Android.mk时被搜索到),比如system/iperf/iperf.exe 2. 在system/iperf目录下添加一个Android.mk文件,内容如下: LOCAL_PATH:= $(call my-dir) PRODUCT_COPY_F...
分类:移动开发   时间:2014-09-03 13:06:46    阅读次数:253
iOS中的 self,super,copy等关键字问题
@synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。@implementation 关键字,表明类的实现 @end 结束self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。super ...
分类:移动开发   时间:2014-09-03 12:33:06    阅读次数:302
IOS知识点总结 一 (NSString)
objective-c中用NSString的有关注意事项:一:声明NSString类型的属性格式//属性声明为copy,是为传入的参数若是NSMutableString类型的数据做copy处理,使外界参数的改变不影响属性的值。1 @property (nonatomic,copy) NSString...
分类:移动开发   时间:2014-09-03 11:10:56    阅读次数:248
javaagent加载机制分析
Copy from :http://nijiaben.iteye.com/blog/1847212 在启动和运行期都可以加载agent代理,在启动的时候可通过-javaagent参数来执行agent代理,而在运行期就是通过attach这种机制动态load了。 如果在vm启动过程中加载agent,那....
分类:编程语言   时间:2014-09-03 09:36:46    阅读次数:528
Tracing java execution (copy from http://zvikico.typepad.com/problog/2007/11/five-ways-for-t.html)
Five ways for tracing Java executionI'm often faced with a situation where I need to dig into code that I didn't write. Most of it is poorly documente...
分类:编程语言   时间:2014-09-03 09:31:16    阅读次数:390
浅谈html标签
浅谈html各常用标签用法 标题标签:<h1>-<h6>来表示,使标题字体变粗。 <br />换行标记 <hr />水平分隔符  空格符 ©版权符 <a href>a标签超链接 href可接链接地址 <p>段落标签<blockquote>引用标签及可用...
分类:Web程序   时间:2014-09-02 23:00:57    阅读次数:457
Implementing a java agent to instrument code (copy from http://chimpler.wordpress.com/2013/11/05/implementing-a-java-agent-to-instrument-code/)
With a system running 24/7, you have to make sure that it performs well at any time of the day. Several commercial solutions exist to monitor the perf...
分类:编程语言   时间:2014-09-02 21:08:15    阅读次数:338
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!