MCPcopy Create free account
hub / github.com/facebook/react / getCheck

Method getCheck

scripts/perf-counters/src/thread-local.h:279–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278template<typename T>
279T *ThreadLocalNoCheck<T>::getCheck() const {
280 if (m_node.m_p == nullptr) {
281 const_cast<ThreadLocalNoCheck<T>*>(this)->create();
282 }
283 return m_node.m_p;
284}
285
286
287///////////////////////////////////////////////////////////////////////////////

Callers 2

js_perf_counters_initFunction · 0.45
InitFunction · 0.45

Calls 4

assertFunction · 0.85
ThreadLocalSetValueFunction · 0.85
createMethod · 0.65

Tested by

no test coverage detected