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

Function debug_stats

deps/lua/src/strbuf.c:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static inline void debug_stats(strbuf_t *s)
95{
96 if (s->debug) {
97 fprintf(stderr, "strbuf(%lx) reallocs: %d, length: %d, size: %d\n",
98 (long)s, s->reallocs, s->length, s->size);
99 }
100}
101
102/* If strbuf_t has not been dynamically allocated, strbuf_free() can
103 * be called any number of times strbuf_init() */

Callers 2

strbuf_freeFunction · 0.85
strbuf_free_to_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected