MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / o2s

Function o2s

deps/memkind/src/jemalloc/src/malloc_io.c:317–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317static char *
318o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p) {
319 s = u2s(x, 8, false, s, slen_p);
320 if (alt_form && *s != '0') {
321 s--;
322 (*slen_p)++;
323 *s = '0';
324 }
325 return s;
326}
327
328static char *
329x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, size_t *slen_p) {

Callers 1

malloc_io.cFile · 0.70

Calls 1

u2sFunction · 0.70

Tested by

no test coverage detected