Lines Matching refs:big_t
95 an overflow occurs. The big_t type identifies where the counting takes
115 typedef uintmax_t big_t; // type for code counting
116 #define PRIbig "ju" // printf format for big_t
150 has 284,284 entries, taking up 2.17 MB for an 8-byte big_t. More than half
229 big_t tot; // total number of codes with maximum tables size
232 big_t *num; // saved results array for code counting
261 local big_t count(int syms, int left, int len) {
271 big_t got = g.num[index];
288 big_t sum = 0;
292 if (got == (big_t)-1 || sum < got) // overflow
293 return (big_t)-1;
561 g.num = calloc(g.size, sizeof(big_t));
566 big_t sum = 0;
568 big_t got = count(n, 2, 1);
570 assert(got != (big_t)-1 && sum >= got && "overflow");