maxmaxcode
static code_int maxmaxcode = 1 << BITS; /* should NEVER generate this code */
if ( (code=free_ent) < maxmaxcode ) {
maxcode = maxmaxcode; /* won't get any bigger now */
maxmaxcode = 1 << maxbits;
if (oldcode != CLEAR && max_ent < db->maxmaxcode) {
if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) {
if (db->max_ent >= db->maxmaxcode) {
u_int newlen, hsize, hshift, maxmaxcode;
maxmaxcode = MAXCODE(bits);
db->lens = malloc((maxmaxcode+1) * sizeof(db->lens[0]),
db->maxmaxcode = maxmaxcode;
if (max_ent < db->maxmaxcode) {
if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode)
if (max_ent < db->maxmaxcode) {
if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode)
if (incode > max_ent + 2 || incode > db->maxmaxcode
u_int maxmaxcode; /* largest valid code */
maxmaxcode = 1L << maxbits;
if (free_ent < maxmaxcode) {
maxcode = maxmaxcode;
maxmaxcode = 1L << maxbits;
if ((code = free_ent) < maxmaxcode && oldcode != -1) {
maxcode = maxmaxcode;
maxmaxcode = 1 << maxbits; /* Should NEVER generate this code. */