| 9449 | |
| 9450 | |
| 9451 | static int countint (const TValue *key, int *nums) { |
| 9452 | int k = arrayindex(key); |
| 9453 | if (0 < k && k <= MAXASIZE) { /* is `key' an appropriate array index? */ |
| 9454 | nums[ceillog2(k)]++; /* count as such */ |
| 9455 | return 1; |
| 9456 | } |
| 9457 | else |
| 9458 | return 0; |
| 9459 | } |
| 9460 | |
| 9461 | |
| 9462 | static int numusearray (const Table *t, int *nums) { |
no test coverage detected