Searched refs:up_weight (Results 1 – 3 of 3) sorted by relevance
/dports/graphics/djvulibre/djvulibre-3.5.28/tools/jb2cmp/ |
H A D | cuts.cpp | 134 int32 up_weight = 0; in make_hcut() local 144 while ((up_weight << 1) < a) in make_hcut() 147 up_weight += last_row_weight; in make_hcut() 151 up_weight -= last_row_weight; in make_hcut() 153 (cut * w + w * ((a >> 1) - up_weight) / last_row_weight)) in make_hcut() 155 if (a - (up_weight << 1) > last_row_weight) in make_hcut() 158 up_weight += last_row_weight; in make_hcut() 167 make_vcut(up_weight, l, w, cut, pixels, sig, k << 1, s_row, s_col, size); in make_hcut() 168 make_vcut(a - up_weight, l, w, h - cut, pixels + cut, sig, (k << 1) | 1, s_row, s_col, size); in make_hcut()
|
/dports/dns/gdnsd2/gdnsd-2.4.3/plugins/ |
H A D | weighted.c | 79 unsigned up_weight; member 97 unsigned up_weight; member 385 addrset->up_weight = gdnsd_uscale_ceil(addrset->weight, up_thresh); in config_addrset() 386 dmn_assert(addrset->up_weight); in config_addrset() 504 cnset->up_weight = gdnsd_uscale_ceil(cnset->weight, up_thresh); in config_cnameset() 732 if(dyn_sum < cnset->up_weight) { in resolve_cname() 814 if(dyn_items_sum < aset->up_weight) { in resolve()
|
/dports/dns/gdnsd2/gdnsd-2.4.3/ |
H A D | NEWS | 1253 up_thresh now supported, used as up_weight/total_weight ratio
|