Home
last modified time | relevance | path

Searched refs:H2O_ABSPRIO_NUM_URGENCY_LEVELS (Results 1 – 4 of 4) sorted by relevance

/dports/www/h2o-devel/h2o-dcc7134/include/h2o/
H A Dabsprio.h30 #define H2O_ABSPRIO_NUM_URGENCY_LEVELS 8 macro
50 assert(urgency < H2O_ABSPRIO_NUM_URGENCY_LEVELS); in h2o_absprio_urgency_to_chromium_weight()
53 const float ksteps = 255.9f / (float)(H2O_ABSPRIO_NUM_URGENCY_LEVELS - 1); in h2o_absprio_urgency_to_chromium_weight()
54 weight = (uint16_t)(ksteps * ((H2O_ABSPRIO_NUM_URGENCY_LEVELS - 1) - urgency)) + 1; in h2o_absprio_urgency_to_chromium_weight()
/dports/www/h2o-devel/h2o-dcc7134/lib/common/
H A Dabsprio.c43 H2O_BUILD_ASSERT(H2O_ABSPRIO_NUM_URGENCY_LEVELS < 10); in h2o_absprio_parse_priority()
45 value.base[0] <= '0' + H2O_ABSPRIO_NUM_URGENCY_LEVELS - 1) in h2o_absprio_parse_priority()
/dports/www/h2o-devel/h2o-dcc7134/t/00unit/lib/http3/
H A Dserver.c66 ok(sched.active.smallest_urgency == H2O_ABSPRIO_NUM_URGENCY_LEVELS); in test_scheduler()
133 ok(sched.active.smallest_urgency == H2O_ABSPRIO_NUM_URGENCY_LEVELS); in test_scheduler()
/dports/www/h2o-devel/h2o-dcc7134/lib/http3/
H A Dserver.c38 } urgencies[H2O_ABSPRIO_NUM_URGENCY_LEVELS];
251 for (i = 0; i < H2O_ABSPRIO_NUM_URGENCY_LEVELS; ++i) { in req_scheduler_init()
296 if (sched->active.smallest_urgency >= H2O_ABSPRIO_NUM_URGENCY_LEVELS) in req_scheduler_update_smallest_urgency_post_removal()
1561 if (conn->scheduler.reqs.active.smallest_urgency < H2O_ABSPRIO_NUM_URGENCY_LEVELS) in scheduler_can_send()
1611 } else if (conn->scheduler.reqs.active.smallest_urgency < H2O_ABSPRIO_NUM_URGENCY_LEVELS) { in scheduler_do_send()
1770 assert(conn->scheduler.reqs.active.smallest_urgency >= H2O_ABSPRIO_NUM_URGENCY_LEVELS); in on_h3_destroy()