MCPcopy Create free account
hub / github.com/catboost/catboost / Get

Method Get

util/thread/singleton.h:14–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 }
13
14 static inline T* Get() {
15#if defined(Y_HAVE_FAST_POD_TLS)
16 Y_POD_STATIC_THREAD(T*) fast(nullptr);
17
18 if (Y_UNLIKELY(!fast)) {
19 fast = GetSlow();
20 }
21
22 return fast;
23#else
24 return GetSlow();
25#endif
26 }
27 };
28} // namespace NPrivate
29

Callers 11

EnqueueMethod · 0.45
AddFuncMethod · 0.45
DeleteFunction · 0.45
SizeMethod · 0.45
GetThreadCountRealMethod · 0.45
GetMaxQueueSizeMethod · 0.45
AddMethod · 0.45
SetMaxIdleTimeMethod · 0.45
AddAndOwnMethod · 0.45
DoRunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected