代码搜索:singleton

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

代码结果 4,696
www.eeworm.com/read/127767/14336475

txt e046. implementing a serializable singleton.txt

By default, the deserialization process creates new instances of classes. This example demonstrates how to customize the deserialization process of a singleton to avoid creating new instances of the s
www.eeworm.com/read/136989/5830793

h ibm1047_iso8859_export.h

// -*- C++ -*- // IBM1047_ISO8859_export.h,v 1.1 2003/03/04 21:51:05 mesnier_p Exp // Definition for Win32 Export directives. // This file is generated automatically by generate_export_file.pl /
www.eeworm.com/read/155109/11898526

m plotset.m

% % Syntax: plotset(Set,strLineType) % % Inputs: Set is a 1x5 vector for picurves, a single value for singletons. % strLineType is a legal Matlab linetype argument, e.g. 'r-'. % %
www.eeworm.com/read/153251/5651824

java servicemanager.java

/** * Redistribution and use of this software and associated documentation * ("Software"), with or without modification, are permitted provided * that the following conditions are met: * * 1
www.eeworm.com/read/205036/15328933

m a1_tensor_doc.m

%% Tensors % Tensors are extensions of multidimensional arrays with additional % operations defined on them. Here we explain the basics of creating and % working with tensors. %% Creating a tensor
www.eeworm.com/read/107347/15608650

h player.h

#ifndef PLAYER_H #define PLAYER_H #include using namespace std; // A dummy implementation of a player class. The important thing in this // context is that it has a 'setInt' functi
www.eeworm.com/read/136989/5829124

h activity_export.h

// -*- C++ -*- // activity_export.h,v 1.1 2002/02/08 18:16:35 bala Exp // Definition for Win32 Export directives. // This file is generated automatically by generate_export_file.pl // ----------
www.eeworm.com/read/136989/5835945

h ecmcasttests_export.h

// -*- C++ -*- // ECMcastTests_export.h,v 1.1 2003/06/18 05:41:53 jwillemsen Exp // Definition for Win32 Export directives. // This file is generated automatically by generate_export_file.pl //
www.eeworm.com/read/136989/5836202

h testsched_export.h

// -*- C++ -*- // testSched_export.h,v 1.1 2003/10/15 00:01:55 bryank Exp // Definition for Win32 Export directives. // This file is generated automatically by generate_export_file.pl testSched
www.eeworm.com/read/275831/10794427

rb 01 - listing an object's methods.rb

Object.methods # => ["name", "private_class_method", "object_id", "new", # "singleton_methods", "method_defined?", "equal?", ... ] #--- Object.singleton_methods # => [] Fixn