Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:DelayedSingleton
(Results
1 - 3
of
3
) sorted by relevance
/commonlibrary/c_utils/base/include/
H
A
D
singleton.h
29
* Taking
DelayedSingleton
as an example, when declaring the target class as a
36
* @brief Sets `MyClass` as a `
DelayedSingleton
`.
39
* `
DelayedSingleton
<MyClass>::GetInstance()`.
49
friend
DelayedSingleton
<MyClass>;\
87
* @brief
DelayedSingleton
is a thread-safe, memory-safe lazy initialized
91
class
DelayedSingleton
: public NoCopyable {
class
112
static std::shared_ptr<T> instance_; // Record the created
DelayedSingleton
instance.
117
std::shared_ptr<T>
DelayedSingleton
<T>::instance_ = nullptr;
120
std::mutex
DelayedSingleton
<T>::mutex_;
123
std::shared_ptr<T>
DelayedSingleton
<
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/singleton_benchmark_test/
H
A
D
singleton_benchmark_test.cpp
90
class DelayedSingletonTest : public
DelayedSingleton
<DelayedSingletonTest> {
126
shared_ptr<DelayedSingletonDeclearTest> sp1 =
DelayedSingleton
<DelayedSingletonDeclearTest>::GetInstance();
in BENCHMARK_F()
130
shared_ptr<DelayedSingletonDeclearTest> sp2 =
DelayedSingleton
<DelayedSingletonDeclearTest>::GetInstance();
in BENCHMARK_F()
215
shared_ptr<DelayedSingletonTest> sp1 =
DelayedSingleton
<DelayedSingletonTest>::GetInstance();
in BENCHMARK_F()
219
DelayedSingleton
<DelayedSingletonTest>::DestroyInstance();
in BENCHMARK_F()
/commonlibrary/c_utils/base/test/unittest/common/
H
A
D
utils_singleton_test.cpp
57
class DelayedSingletonTest: public
DelayedSingleton
<DelayedSingletonTest> {
118
shared_ptr<DelayedSingletonDeclearTest> sp1 =
DelayedSingleton
<DelayedSingletonDeclearTest>::GetInstance();
in HWTEST_F()
120
shared_ptr<DelayedSingletonDeclearTest> sp2 =
DelayedSingleton
<DelayedSingletonDeclearTest>::GetInstance();
in HWTEST_F()
Completed in 2 milliseconds