MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Clear

Method Clear

Source/Engine/Threading/ThreadLocal.h:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void Clear()
99 {
100 Platform::MemoryClear(_staticBuckets, sizeof(_staticBuckets));
101#if THREAD_LOCAL_USE_DYNAMIC_BUCKETS
102 Platform::Free(_dynamicBuckets);
103 _dynamicBuckets = nullptr;
104#endif
105 }
106
107protected:
108 Bucket& GetBucket()

Callers 15

TestScripting.cppFile · 0.45
RunMethod · 0.45
DispatchMethod · 0.45
CancelAllFunction · 0.45
RunAllMethod · 0.45
ExecuteMethod · 0.45
GetChunkGeometryMethod · 0.45
BeforeExitMethod · 0.45
ClearHeightmapCacheMethod · 0.45

Calls 2

MemoryClearFunction · 0.85
FreeFunction · 0.50

Tested by 2