码迷,mamicode.com
首页 >  
搜索关键字:remote asm instance    ( 13357个结果
张小二求职记之 单例模式(三)之决战多线程
M:上回说的多线程的单例模式会了?z;略懂M:写一个吧package 单例模式;public class Singleton { private static Singleton instance=null; private Singleton() { Sys...
分类:编程语言   时间:2014-06-26 21:04:34    阅读次数:307
Xcode编译异常和警告汇总(持续更新中)
1.Method definition for 'xxx' not foundxxx的方法没有实现出现原因.h声明了xxx方法但是.m没有实现xxx方法解决方法:在类的.m文件实现xxx方法2. Instance variable ‘xxx' accessed in class method在类方法...
分类:其他好文   时间:2014-06-26 20:43:13    阅读次数:212
Loadrunner 录制成功,但是脚本并没有产生
LR 在用IE 录制脚本已经成功,但是结束录制以后,并没有脚本产生,在产生脚本log 中提示:[Net An. Error (14c8:1cec)] Request Connection: Remote Server @ 127.0.0.1:8010 (Service=) NOT PROXIED! ...
分类:其他好文   时间:2014-06-26 19:41:03    阅读次数:265
多线程练习 -- 单例设计模式
Singleton.h#define singleton_h(name) + (instancetype)shared##name;#if __has_feature (objc_arc)#define singleton_m(name) \static id _instance; \\+ (id)...
分类:编程语言   时间:2014-06-26 16:39:23    阅读次数:193
基于java工程开发RMI服务端
ServiceRegist.javaimport java.rmi.Remote;import java.rmi.RemoteException;public interface ServiceRegist extends Remote{ public user login(String user....
分类:编程语言   时间:2014-06-26 16:05:17    阅读次数:223
CI框架下的get_instance() 函数
你随便下个CI框架的源码都会看到很多的get_instance() 函数,这个函数是用来获取CI 的全局超级对象,CI 是单例模式的框架,所有全局有一个超级对象。因为只有一个实例,所以无论这个函数使用多少次都不会消耗资源的。一般来说,只有在helper或library中才使用get_instance...
分类:其他好文   时间:2014-06-26 14:57:54    阅读次数:155
ruby简单的基础 6
模块模块同类一样,也有 class method 和 instance method。module 没有new不能生成实例对象其中 class method 在模块中称为模块方法,是可以直接调用的。module Foo def self.hello puts 'hello world!' end def Foo.dear #module全局作用域内的self还是没有变,就是...
分类:其他好文   时间:2014-06-26 14:19:28    阅读次数:163
objects classes and metaclasses in Objective-C
Objective-C is a class-based object system. Each object is an instance of some class; the object'sisapointer points to its class. That class describ.....
分类:其他好文   时间:2014-06-25 11:48:57    阅读次数:162
常用的grails插件
wkhtmltopdf:http://grails.org/plugin/wkhtmltopdf将url转换为pdf文件remote-ssh远程ssh:http://grails.org/plugin/remote-ssh
分类:其他好文   时间:2014-06-25 10:14:33    阅读次数:211
归档模式下恢复没有备份的数据文件
测试环境 SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Product...
分类:其他好文   时间:2014-06-25 07:48:19    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!