MCPcopy Create free account
hub / github.com/DFHack/dfhack / init

Function init

depends/sizecheck/sizecheck.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15int perturb = -1;
16
17void init() {
18#ifndef _LINUX
19 if (getenv("MALLOC_PERTURB_")) {
20 perturb = atoi(getenv("MALLOC_PERTURB_"));
21 }
22#endif
23 initialized = true;
24}
25
26#ifdef _WIN32
27static int posix_memalign(void **ptr, size_t alignment, size_t size)

Callers 8

allocFunction · 0.70
deallocFunction · 0.70
TiXmlStringMethod · 0.50
clearMethod · 0.50
initMethod · 0.50
match_progressMethod · 0.50
fileresultMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected