Searched refs:_used (Results 1 – 2 of 2) sorted by relevance
34 explicit Quota(size_t limit) : _limit(limit), _used(0) {} in Quota()37 if (_limit && (s > _limit || _used > _limit - s)) in alloc()40 _used += s; in alloc()47 assert(s <= _used); in free()48 _used -= s; in free()53 size_t used() const { return _used; } in used()57 size_t _used; variable
39 : _container(container), _bin_shift(binshift), _first_free(0), _used(0) in Malloc_page()59 if (shift != _bin_shift || _used >= _num_bins) in alloc()65 ++_used; in alloc()78 --_used; in free()82 { return _used == 0; } in unused()107 unsigned char _used; member in Moe::Malloc_page
Completed in 4 milliseconds