| 47 | } |
| 48 | |
| 49 | void 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 | |
| 64 | int sortPointers(const void *a, const void *b) { |
| 65 | unsigned long la, lb; |
no test coverage detected