代码搜索:singleton

找到约 4,696 项符合「singleton」的源代码

代码结果 4,696
www.eeworm.com/read/300492/13910343

cpp functionstaticsingleton.cpp

//: C10:FunctionStaticSingleton.cpp // From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison. // (c) 1995-2004 MindView, Inc. All Rights Reserved. // See source code use permissions stat
www.eeworm.com/read/110993/15520604

cpp functionstaticsingleton.cpp

//: C25:FunctionStaticSingleton.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 1999 // Copyright notice in Copyright.txt class Singl
www.eeworm.com/read/417019/11007044

js 5.01 - basic structure of the singleton.js

/* Basic Singleton. */ var Singleton = { attribute1: true, attribute2: 10, method1: function() { }, method2: function(arg) { } }; Singleton.attribute1 = false; var total = Singleton.a
www.eeworm.com/read/380093/9165202

txt mian shi ti da an1.txt

[这个贴子最后由hanlj在 2004/11/03 08:22pm 编辑] 来自PUB yining 的回复: quote: -------------------------------------------------------------------------------- 第一,谈谈final, finally, finalize的区别。 最常被问到。 fi
www.eeworm.com/read/417019/11007037

js 5.07 - lazy instantiation.js

/* Singleton with Private Members, step 3. */ MyNamespace.Singleton = (function() { // Private members. var privateAttribute1 = false; var privateAttribute2 = [1, 2, 3]; function privateMe