Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppCXY/EmmyLuaCodeStyle
/ _mi_os_protect
Function
_mi_os_protect
3rd/mimalloc-2.0.9/src/os.c:1119–1121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1117
}
1118
1119
bool _mi_os_protect(void* addr, size_t size) {
1120
return mi_os_protectx(addr, size, true);
1121
}
1122
1123
bool _mi_os_unprotect(void* addr, size_t size) {
1124
return mi_os_protectx(addr, size, false);
Callers
2
_mi_mem_protect
Function · 0.85
mi_segment_alloc
Function · 0.85
Calls
1
mi_os_protectx
Function · 0.85
Tested by
no test coverage detected