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

Function o2s

deps/jemalloc/src/malloc_io.c:304–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304static char *
305o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p) {
306 s = u2s(x, 8, false, s, slen_p);
307 if (alt_form && *s != '0') {
308 s--;
309 (*slen_p)++;
310 *s = '0';
311 }
312 return s;
313}
314
315static char *
316x2s(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