OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:LazyInstance
(Results
1 - 2
of
2
) sorted by null
/external/chromium/base/
lazy_instance.h
5
// The
LazyInstance
<Type, Traits> class manages a single instance of Type,
14
//
LazyInstance
is completely thread safe, assuming that you create it safely.
16
// static constructor. It really only makes sense to declare a
LazyInstance
as
19
//
LazyInstance
is similar to Singleton, except it does not have the singleton
20
// property. You can have multiple
LazyInstance
's of the same type, and each
27
// static
LazyInstance
<MyClass> my_instance(base::LINKER_INITIALIZED);
120
class
LazyInstance
: public LazyInstanceHelper {
122
explicit
LazyInstance
(LinkerInitialized x) : LazyInstanceHelper(x) { }
171
LazyInstance
<Type, Traits>* me =
172
reinterpret_cast<
LazyInstance
<Type, Traits>*>(lazy_instance)
[
all
...]
/external/v8/src/
lazy-instance.h
28
// The
LazyInstance
<Type, Traits> class manages a single instance of Type,
35
//
LazyInstance
is completely thread safe, assuming that you create it safely.
37
// static constructor. It really only makes sense to declare a
LazyInstance
as
40
//
LazyInstance
is similar to Singleton, except it does not have the singleton
41
// property. You can have multiple
LazyInstance
's of the same type, and each
49
// static
LazyInstance
<MyClass>::type my_instance = LAZY_INSTANCE_INITIALIZER;
65
// static
LazyInstance
<MyClass, MyCreateTrait>::type my_instance =
68
// WARNING: This implementation of
LazyInstance
is NOT thread-safe by default.
72
//
LazyInstance
can actually be used in two different ways:
241
struct
LazyInstance
{
[
all
...]
Completed in 215 milliseconds