Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ WriteGuard
Function
WriteGuard
engine/dlib/src/dlib/buffer.cpp:226–229 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
224
225
#if !defined(NDEBUG)
226
static void WriteGuard(void* ptr)
227
{
228
memcpy(ptr, GUARD_VALUES, GUARD_SIZE);
229
}
230
231
static bool ValidateGuard(void* ptr)
232
{
Callers
1
CreateStreamsInterleaved
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected