MCPcopy Create free account
hub / github.com/aldostools/webMAN-MOD / memcpy64

Function memcpy64

include/init/string.h:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116static void memcpy64(void *dst, const void *src, int n)
117{
118 if(!dst || !src || !n) return;
119 u8 p = n & 7; // remaining bytes (same as n % 8)
120
121 n >>= 3; // same as n /= 8;
122 u64 *d = (u64 *) dst;
123 const u64 *s = (u64 *) src;
124 while (n--) *d++ = *s++; // 64bit memcpy
125
126 if(p)
127 memcpy(d, s, p);
128}
129
130void _memset(void *m, size_t n);
131void _memset(void *m, size_t n)

Callers 13

prependFunction · 0.70
ssplitFunction · 0.50
process_read_cd_2352_cmdFunction · 0.50
FOR_EACH_SFO_FIELDFunction · 0.50
process_read_iso_cmd_isoFunction · 0.50
rawseciso_threadFunction · 0.50
ParseLineFunction · 0.50
ConvertCodesFunction · 0.50
create_ntfs_fileFunction · 0.50

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected