Searched refs:_deficit (Results 1 – 5 of 5) sorted by relevance
95 self._deficit = 0201 level += (256 + child._deficit) // child.weight202 child._deficit = (256 + child._deficit) % child.weight
100 self._deficit = 0209 level += (256 + child._deficit) // child.weight210 child._deficit = (256 + child._deficit) % child.weight
85 size_t offset = OFFSET_TABLE[weight - 1] + node->_deficit; in queue_set()86 node->_deficit = offset % 65536; in queue_set()256 dst->_queue_node._deficit = src->_queue_node._deficit; in h2o_http2_scheduler_relocate()
31 size_t _deficit; member
251 int64_t _deficit; ///< fractional deficit member255 : _config(config), _size(size), _deficit(deficit), _shares(shares) in V()263 new (this) V(that._config, that._size, that._deficit, that._shares); in operator =()400 v._deficit = (delta.count() * SCALE) / v._config._alloc.count(); in allocateFor()401 v._shares = delta.count() * v._deficit; in allocateFor()413 …rt(_av.begin(), _av.end(), [](V const &lhs, V const &rhs) { return lhs._deficit > rhs._deficit; }); in allocateFor()