码迷,mamicode.com
首页 >  
搜索关键字:weak reference    ( 6649个结果)
How to Analyze Java Thread Dumps--reference
原文地址:http://architects.dzone.com/articles/how-analyze-java-thread-dumpsThePerformance Zoneis presented byAppDynamics. AppDynamics is a leaders in the ...
分类:编程语言   时间:2015-03-03 13:26:29    阅读次数:148
iOS开发ARC内存管理技术要点
本文来源于我个人的ARC学习笔记,旨在通过简明扼要的方式总结出iOS开发中ARC(Automatic Reference Counting,自动引用计数)内存管理技术的要点,所以不会涉及全部细节。这篇文章不是一篇标准的ARC使用教程,并假定读者已经对ARC有了一定了解和使用经验。详细的关于ARC的信...
分类:移动开发   时间:2015-03-03 09:46:31    阅读次数:190
chown
root@cbill-VirtualBox:/# chown --help用法:chown [选项]... [所有者][:[组]] 文件... 或:chown [选项]... --reference=参考文件 文件...更改每个文件的所有者和/或所属组。当使用 --referebce 参数时,将文件...
分类:其他好文   时间:2015-03-02 20:40:52    阅读次数:132
Reading and Modifying Asset File Paths in the 3ds Max File
Some people found the following information in the MAXScript reference for 2010:NEWin3ds Max 2010:The3ds Maxscenefilenow providesAsset Metadatain a se...
分类:其他好文   时间:2015-03-02 12:46:25    阅读次数:661
win7 codeblock在调用boost::asio中遇到的错误———解决办法
错误一:????undefined reference to `boost::system::generic_category()‘ ?????????undefined reference to `boost::system::generic_category()‘ ?????????undefined reference to `boo...
分类:Windows程序   时间:2015-03-01 23:54:25    阅读次数:456
java中的GC(gabage collection)如何工作
1.“引用记数(reference counting)”是一种简单但速度很慢的垃圾回收技术。每个对象都含有一个引用记数器,当有引用连接至对象时,引用计数加1。当引用离开作用域或被置 为null时,引用计数减1。虽然管理引用记数的开销不大,但需要在整个程序生命周期中持续地开销。垃圾回收器会在含有全部对...
分类:编程语言   时间:2015-03-01 23:41:54    阅读次数:264
perl---window下Mojolicious框架提示Using a hash as a reference is deprecated at template
Usingahashasareferenceisdeprecatedattemplateexample/index.html.epline8Usingaarrayasareferenceisdeprecatedattemplateexample/index.html.epline8很简单因为没有正确使用hash跟数组造成的%=%$entries->{$id}->{‘id‘}; %=%$entries->{$id}->{‘title‘}; %=%$ent..
分类:Windows程序   时间:2015-03-01 22:30:16    阅读次数:249
用swift开发计算器
import?UIKit class?ViewController:?UIViewController?{ ????@IBOutlet?weak?var?display:?UILabel! ???? ????var?userIsInputingDigit?:Bool??=?false ????@IBAction?func?a...
分类:编程语言   时间:2015-03-01 18:37:26    阅读次数:180
C++ 智能指针
C++ 智能指针 flyfish 2015-3-1 使用原始指针进行显示内存管理在性能上有优势,但容易出错。诸如 野指针,重复释放,内容泄露等。 C++为了在编程语言上支持更好的内存管理机制,C++98提供了auto_ptr,因为auto_ptr的缺点在C++11中被废弃,C++11提供了 unique_ptr,shared_ptr,weak_ptr等智能指针在自动回收堆分配的内存,智能指...
分类:编程语言   时间:2015-03-01 17:09:47    阅读次数:253
objective-c中的特性
一,retain, copy, assign区别概念:assign: 简单赋值,不更改索引计数(reference counting)。copy: 建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1例:1 NSString *...
分类:其他好文   时间:2015-03-01 15:39:08    阅读次数:169
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!