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

Function mi_malloc_aligned_at

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

Source from the content-addressed store, hash-verified

187}
188
189mi_decl_nodiscard mi_decl_restrict void* mi_malloc_aligned_at(size_t size, size_t alignment, size_t offset) mi_attr_noexcept {
190 return mi_heap_malloc_aligned_at(mi_get_default_heap(), size, alignment, offset);
191}
192
193mi_decl_nodiscard mi_decl_restrict void* mi_malloc_aligned(size_t size, size_t alignment) mi_attr_noexcept {
194 return mi_heap_malloc_aligned(mi_get_default_heap(), size, alignment);

Callers 1

mainFunction · 0.85

Calls 2

mi_get_default_heapFunction · 0.85

Tested by 1

mainFunction · 0.68