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

Function showBuckets

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

Source from the content-addressed store, hash-verified

35};
36
37void showBuckets(dictht ht) {
38 if (ht.table == NULL) {
39 printf("NULL\n");
40 } else {
41 int j;
42 for (j = 0; j < ht.size; j++) {
43 printf("%c", ht.table[j] ? '1' : '0');
44 }
45 printf("\n");
46 }
47}
48
49void show(dict *d) {
50 int j;

Callers 1

showFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected