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

Function _mi_memzero

3rd/mimalloc-2.0.9/include/mimalloc-internal.h:1063–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061 }
1062}
1063static inline void _mi_memzero(void* dst, size_t n) {
1064 if (_mi_cpu_has_fsrm) {
1065 __stosb((unsigned char*)dst, 0, n);
1066 }
1067 else {
1068 memset(dst, 0, n);
1069 }
1070}
1071#else
1072#include <string.h>
1073static inline void _mi_memcpy(void* dst, const void* src, size_t n) {

Callers 2

alloc-aligned.cFile · 0.85
_mi_memzero_alignedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected