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

Function show

app/redis-6.2.6/utils/hashtable/rehashing.c:49–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void show(dict *d) {
50 int j;
51 if (d->rehashidx != -1) {
52 printf("rhidx: ");
53 for (j = 0; j < d->rehashidx; j++)
54 printf(".");
55 printf("|\n");
56 }
57 printf("ht[0]: ");
58 showBuckets(d->ht[0]);
59 printf("ht[1]: ");
60 showBuckets(d->ht[1]);
61 printf("\n");
62}
63
64int sortPointers(const void *a, const void *b) {
65 unsigned long la, lb;

Callers 1

mainFunction · 0.85

Calls 2

showBucketsFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected