MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / AppendUInt

Function AppendUInt

src/platform/linux/init.cpp:286–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286static char* AppendUInt(char* out, char* end, unsigned int v)
287{
288 char tmp[16];
289 int n = 0;
290 do {
291 tmp[n++] = char('0' + (v % 10));
292 v /= 10;
293 } while (v && n < (int)sizeof(tmp));
294 while (n > 0 && out < end) *out++ = tmp[--n];
295 return out;
296}
297
298static char* AppendHex(char* out, char* end, uintptr_t v)
299{

Callers 1

CrashDumpHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected