MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Mem_Set

Function Mem_Set

src/_PlatformBase.h:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37#ifdef CC_BUILD_NOSTDLIB
38void* Mem_Set(void* dst, cc_uint8 value, unsigned numBytes) {
39 char* dp = (char*)dst;
40
41 while (numBytes--) *dp++ = value; /* TODO optimise */
42 return dst;
43}
44
45void* Mem_Copy(void* dst, const void* src, unsigned numBytes) {
46 char* sp = (char*)src;

Callers 15

Window_SetTitleFunction · 0.85
Process_StartOpenFunction · 0.85
Process_RawGetExePathFunction · 0.85
Residue_DecodeFrameFunction · 0.85
Vorbis_InitFunction · 0.85
Vorbis_DecodeFrameFunction · 0.85
TabList_ClearFunction · 0.85
NetPlayer_InitFunction · 0.85
ClearChatLogsFunction · 0.85
SysFont_InitFunction · 0.85
Audio_QueueChunkFunction · 0.85
AnimatedComp_InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected