Home
last modified time | relevance | path

Searched refs:_deficit (Results 1 – 5 of 5) sorted by relevance

/dports/www/py-priority1/priority-1.3.0/src/priority/
H A Dpriority.py95 self._deficit = 0
201 level += (256 + child._deficit) // child.weight
202 child._deficit = (256 + child._deficit) % child.weight
/dports/www/py-priority/priority-2.0.0/src/priority/
H A Dpriority.py100 self._deficit = 0
209 level += (256 + child._deficit) // child.weight
210 child._deficit = (256 + child._deficit) % child.weight
/dports/www/h2o-devel/h2o-dcc7134/lib/http2/
H A Dscheduler.c85 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()
/dports/www/h2o-devel/h2o-dcc7134/include/h2o/
H A Dhttp2_scheduler.h31 size_t _deficit; member
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_cache_tool/
H A DCacheTool.cc251 int64_t _deficit; ///< fractional deficit member
255 : _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()