MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ql_info

Function ql_info

app/redis-6.2.6/src/quicklist.c:1554–1566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1552
1553#define UNUSED(x) (void)(x)
1554static void ql_info(quicklist *ql) {
1555#if QL_TEST_VERBOSE
1556 printf("Container length: %lu\n", ql->len);
1557 printf("Container size: %lu\n", ql->count);
1558 if (ql->head)
1559 printf("\t(zsize head: %d)\n", ziplistLen(ql->head->zl));
1560 if (ql->tail)
1561 printf("\t(zsize tail: %d)\n", ziplistLen(ql->tail->zl));
1562 printf("\n");
1563#else
1564 UNUSED(ql);
1565#endif
1566}
1567
1568/* Return the UNIX time in microseconds */
1569static long long ustime(void) {

Callers 2

_ql_verifyFunction · 0.85
quicklistTestFunction · 0.85

Calls 2

ziplistLenFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected