MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / addNegCache

Function addNegCache

src/misc/alloc_tracker_fast_stack.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 return g_negCache[page & (NEG_CACHE_SIZE - 1)].load(std::memory_order_relaxed) == page;
62}
63static __forceinline void addNegCache(ULONG64 pc) {
64 uint64_t page = pc >> 16;
65 g_negCache[page & (NEG_CACHE_SIZE - 1)].store(page, std::memory_order_relaxed);
66}
67
68static void buildModuleCache() noexcept {
69 HANDLE snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, 0);

Callers 2

parseModuleHeaderFunction · 0.85
tryAddModuleForPCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected