Lines Matching defs:_max
56 uint _max; // Size of table (power of 2)
78 assert( _inserts < _max, "hash table overflow" );
82 // Return 75% of _max, rounded up.
83 uint insert_limit() const { return _max - (_max>>2); }
87 uint size() const { return _max; }
90 assert(table_index < _max, "Must be within table");
124 uint _max;
128 { return (i<_max) ? _types[i] : (Type*)NULL; }
131 Type_Array(Arena *a) : _a(a), _max(0), _types(0) {}
132 Type_Array(Type_Array *ta) : _a(ta->_a), _max(ta->_max), _types(ta->_types) { }
133 const Type *fast_lookup(uint i) const{assert(i<_max,"oob");return _types[i];}
135 void map( uint i, const Type *n ) { if( i>=_max ) grow(i); _types[i] = n; }
136 uint Size() const { return _max; }