MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / _aligned_malloc

Function _aligned_malloc

system/lib/mimalloc/src/alloc-override.c:185–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 mi_free(_Block);
184 }
185 _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size) _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
186 void* __cdecl _aligned_malloc(_In_ _CRT_GUARDOVERFLOW size_t _Size, _In_ size_t _Alignment) {
187 return mi_malloc_aligned(_Size, _Alignment);
188 }
189 _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Size) _ACRTIMP _CRTALLOCATOR _CRTRESTRICT
190 void* __cdecl _aligned_offset_malloc(_In_ _CRT_GUARDOVERFLOW size_t _Size, _In_ size_t _Alignment, _In_ size_t _Offset) {
191 return mi_malloc_aligned_at(_Size, _Alignment, _Offset);

Callers 4

__libcpp_aligned_allocFunction · 0.85
emutls_memalign_allocFunction · 0.85
emutls_initFunction · 0.85
aligned_allocMethod · 0.85

Calls 1

mi_malloc_alignedFunction · 0.85

Tested by

no test coverage detected