| 209 | |
| 210 | |
| 211 | static int countint (const TValue *key, int *nums) { |
| 212 | int k = arrayindex(key); |
| 213 | if (0 < k && k <= MAXASIZE) { /* is `key' an appropriate array index? */ |
| 214 | nums[ceillog2(k)]++; /* count as such */ |
| 215 | return 1; |
| 216 | } |
| 217 | else |
| 218 | return 0; |
| 219 | } |
| 220 | |
| 221 | |
| 222 | static int numusearray (const Table *t, int *nums) { |
no test coverage detected