MCPcopy Create free account
hub / github.com/ValveSoftware/vogl / stbm__medium_init_chunk

Function stbm__medium_init_chunk

src/voglcore/stb_malloc.cpp:1422–1486  ·  view source on GitHub ↗

allocate a new chunk from the system allocator, then set up the header and footer so it looks like it's surrounded by allocated blocks (so it can't coalesce against them). this is called without any locks taken.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

stbm__medium_allocFunction · 0.85

Calls 1

stbm__align_addressFunction · 0.85

Tested by

no test coverage detected