MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_heap_malloc_aligned_at

Function mi_heap_malloc_aligned_at

3rd/mimalloc-2.0.9/src/alloc-aligned.c:144–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142// ------------------------------------------------------
143
144mi_decl_nodiscard mi_decl_restrict void* mi_heap_malloc_aligned_at(mi_heap_t* heap, size_t size, size_t alignment, size_t offset) mi_attr_noexcept {
145 return mi_heap_malloc_zero_aligned_at(heap, size, alignment, offset, false);
146}
147
148mi_decl_nodiscard mi_decl_restrict void* mi_heap_malloc_aligned(mi_heap_t* heap, size_t size, size_t alignment) mi_attr_noexcept {
149 #if !MI_PADDING

Callers 3

mi_heap_malloc_alignedFunction · 0.85
mi_malloc_aligned_atFunction · 0.85

Calls 1

Tested by

no test coverage detected