MCPcopy Create free account
hub / github.com/antirez/ds4 / timespec

Class timespec

ds4_agent.c:495–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493 if (b->len + n + 1 > b->cap) {
494 size_t cap = b->cap ? b->cap * 2 : 4096;
495 while (cap < b->len + n + 1) cap *= 2;
496 b->ptr = xrealloc(b->ptr, cap);
497 b->cap = cap;
498 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected