| 243 | |
| 244 | |
| 245 | static int countint (const TValue *key, int *nums) { |
| 246 | int k = arrayindex(key); |
| 247 | if (0 < k && k <= MAXASIZE) { /* is `key' an appropriate array index? */ |
| 248 | nums[ceillog2(k)]++; /* count as such */ |
| 249 | return 1; |
| 250 | } |
| 251 | else |
| 252 | return 0; |
| 253 | } |
| 254 | |
| 255 | |
| 256 | static int numusearray (const Table *t, int *nums) { |
no test coverage detected