Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 25 of 238) sorted by relevance

12345678910

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h117 #define WEIGHT_GET_ACTIVE(weight) BF64_GET((weight), 62, 2) argument
118 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 62, 2, x) argument
120 #define WEIGHT_IS_SPACEBASED(weight) \ argument
121 ((weight) == 0 || BF64_GET((weight), 61, 1))
122 #define WEIGHT_SET_SPACEBASED(weight) BF64_SET((weight), 61, 1, 1) argument
127 #define WEIGHT_GET_INDEX(weight) BF64_GET((weight), 55, 6) argument
128 #define WEIGHT_SET_INDEX(weight, x) BF64_SET((weight), 55, 6, x) argument
129 #define WEIGHT_GET_COUNT(weight) BF64_GET((weight), 0, 55) argument
130 #define WEIGHT_SET_COUNT(weight, x) BF64_SET((weight), 0, 55, x) argument
/netbsd-src/external/bsd/bzip2/dist/
H A Dhuffman.c39 while (weight[tmp] < weight[heap[zz >> 1]]) { \
54 weight[heap[yy+1]] < weight[heap[yy]]) \
56 if (weight[tmp] < weight[heap[yy]]) break; \
78 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; in BZ2_hbMakeCodeLengths() local
82 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; in BZ2_hbMakeCodeLengths()
90 weight[0] = 0; in BZ2_hbMakeCodeLengths()
107 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
145 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths()
147 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()
/netbsd-src/external/zlib/pigz/dist/zopfli/
H A Dkatajainen.c36 size_t weight; /* Total weight (symbol count) of this chain. */ member
54 static void InitNode(size_t weight, int count, Node* tail, Node* node) { in InitNode() argument
55 node->weight = weight; in InitNode()
123 InitNode(leaves[lastcount].weight, lastcount + 1, 0, newchain); in BoundaryPM()
125 size_t sum = lists[index - 1][0]->weight + lists[index - 1][1]->weight; in BoundaryPM()
126 if (lastcount < numsymbols && sum > leaves[lastcount].weight) { in BoundaryPM()
128 InitNode(leaves[lastcount].weight, lastcount + 1, oldchain->tail, in BoundaryPM()
150 InitNode(leaves[0].weight, 1, 0, node0); in InitLists()
151 InitNode(leaves[1].weight, 2, 0, node1); in InitLists()
177 return ((const Node*)a)->weight - ((const Node*)b)->weight; in LeafComparator()
[all …]
/netbsd-src/external/bsd/mdocml/dist/
H A Dmandoc.css109 font-weight: bold; }
154 font-weight: normal; }
157 font-weight: normal; }
161 font-weight: normal; }
163 font-weight: normal; }
183 font-weight: bold;
186 font-weight: bold;
189 font-weight: bold;
192 font-weight: normal; }
195 font-weight: bold;
[all …]
/netbsd-src/usr.sbin/altq/libaltq/
H A Dqop_red.c88 int weight = 0; /* 0: use default */ in red_interface_parser() local
116 weight = (int)strtol(*argv, NULL, 0); in red_interface_parser()
150 if (weight != 0) { in red_interface_parser()
154 w = weight; in red_interface_parser()
158 if (weight != w) { in red_interface_parser()
160 weight); in red_interface_parser()
165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax, in red_interface_parser()
175 qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, in qcmd_red_add_if() argument
181 error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax, in qcmd_red_add_if()
194 u_int bandwidth, int weight, int inv_pmax, int th_min, in qop_red_add_if() argument
[all …]
H A Dqop_rio.c89 int weight = 0; /* 0: use default */ in rio_interface_parser() local
123 weight = (int)strtol(*argv, NULL, 0); in rio_interface_parser()
179 if (weight != 0) { in rio_interface_parser()
183 w = weight; in rio_interface_parser()
187 if (weight != w) { in rio_interface_parser()
189 weight); in rio_interface_parser()
194 if (qcmd_rio_add_if(ifname, bandwidth, weight, in rio_interface_parser()
207 qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight, in qcmd_rio_add_if() argument
226 error = qop_rio_add_if(NULL, ifname, bandwidth, weight, red_params, in qcmd_rio_add_if()
239 u_int bandwidth, int weight, struct redparams *red_params, in qop_rio_add_if() argument
[all …]
H A Dqop_red.h33 int weight; /* weight for EWMA */ member
43 int qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight,
47 u_int bandwidth, int weight, int inv_pmax, int th_min,
H A Dqop_rio.h34 int weight; /* weight for EWMA */ member
41 int qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight,
47 u_int bandwidth, int weight, struct redparams *red_params,
/netbsd-src/external/lgpl3/gmp/dist/mpn/generic/
H A Dget_d.c379 double d, weight; in mpn_get_d() local
392 for (weight = 1/MP_BASE_AS_DOUBLE; m > 0 && --i >= 0;) in mpn_get_d()
398 d += l * weight; in mpn_get_d()
399 weight /= MP_BASE_AS_DOUBLE; in mpn_get_d()
400 if (weight == 0) in mpn_get_d()
408 weight = 2.0; in mpn_get_d()
413 weight = 0.5; in mpn_get_d()
419 d *= weight; in mpn_get_d()
422 weight *= weight; in mpn_get_d()
424 d *= weight; in mpn_get_d()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/postscreen/
H A Dpostscreen_dnsbl.c127 int weight; /* reply weight (default: 1) */ member
233 int weight; in psc_dnsbl_add_site() local
246 if (sscanf(weight_text, "%d%c", &weight, &junk) != 1) in psc_dnsbl_add_site()
250 weight = 1; in psc_dnsbl_add_site()
265 "null", weight); in psc_dnsbl_add_site()
293 new_site->weight = weight; in psc_dnsbl_add_site()
434 || score->dnsbl_weight < site->weight) { in psc_dnsbl_receive()
436 score->dnsbl_weight = site->weight; in psc_dnsbl_receive()
438 score->total += site->weight; in psc_dnsbl_receive()
442 site->weight, score->total); in psc_dnsbl_receive()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/_ocamldoc/
H A Dstyle.css9 font-weight: inherit; font-style:inherit; font-family:inherit;
21 b { font-weight: bold }
49 h1 { font-weight: bold; font-size: 1.5em; /* margin-top:1.833em; */
52 h2 { font-weight: bold; font-size: 1.313em; margin-top: 1.048em }
53 h3 { font-weight: bold; font-size: 1.125em; margin-top: 1.222em }
54 h3 { font-weight: bold; font-size: 1em; margin-top: 1.375em}
58 h6 { font-weight: bold; font-size: 1.125em; margin-top: 1.222em }
59 .h7 { font-weight: bold; font-size: 1em; margin-top: 1.375em }
83 .keyword { font-weight: bold; }
87 .warning { color : red ; font-weight : bold }
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Ddnssrv.c187 u_short weight; member
215 return b->weight - a->weight; in srv_cmp()
222 total += a[i].weight; in srv_shuffle()
233 r -= a[j].weight; in srv_shuffle()
235 total -= a[j].weight; in srv_shuffle()
299 u_short port, priority, weight; in ldap_domain2hostlist() local
345 weight = (p[2] << 8) | p[3]; in ldap_domain2hostlist()
358 hostent_head[hostent_count].weight=weight; in ldap_domain2hostlist()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dmetaslab.c893 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) in metaslab_group_sort() argument
899 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0); in metaslab_group_sort()
905 msp->ms_weight = weight; in metaslab_group_sort()
1700 uint64_t weight, space; in metaslab_space_weight() local
1731 weight = space; in metaslab_space_weight()
1743 weight = 2 * weight - (msp->ms_id * weight) / vd->vdev_ms_count; in metaslab_space_weight()
1744 ASSERT(weight >= space && weight <= 2 * space); in metaslab_space_weight()
1755 weight |= (msp->ms_weight & METASLAB_ACTIVE_MASK); in metaslab_space_weight()
1758 WEIGHT_SET_SPACEBASED(weight); in metaslab_space_weight()
1759 return (weight); in metaslab_space_weight()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dresolve-test.c99 srvs[0].weight = 0; in test_rk_dns_srv_order()
105 srvs[1].weight = 0; in test_rk_dns_srv_order()
121 srvs[i].weight = i % 4 + i / 8; in test_rk_dns_srv_order()
122 if (srvs[i].weight <= run/2) in test_rk_dns_srv_order()
123 srvs[i].weight = 0; in test_rk_dns_srv_order()
146 (unsigned long)rr->u.srv->weight); in test_rk_dns_srv_order()
170 (unsigned long)rr->u.srv->weight); in test_rk_dns_srv_order()
249 printf("%d %d %d %s\n", srv->priority, srv->weight, in main()
/netbsd-src/sys/altq/
H A Daltq_wfq.h57 int weight; member
62 int weight; /* weight in percent */ member
98 #define WFQ_ADDQUOTA(q) ((q)->quota += WFQ_QUOTA * (q)->weight / 100)
107 int weight; /* weight in percent */ member
H A Daltq_wfq.c158 queue->weight = 100; in wfq_ifattach()
424 if ((byte = queue->bytes * 100 / queue->weight) > max_byte) { in wfq_maxqueue()
520 if (swp->weight < 0) in wfq_setweight()
530 old = queue->weight; in wfq_setweight()
531 queue->weight = swp->weight; in wfq_setweight()
532 swp->weight = old; in wfq_setweight()
554 stats->weight = queue->weight; in wfq_getstats()
593 queue->weight in wfq_config()
[all...]
/netbsd-src/external/mit/libcbor/dist/docs/doxygen/
H A Dcustomdoxygen.css19 font-weight: normal;
29 font-weight: normal;
60 font-weight: normal;
69 font-weight: bold;
98 font-weight: bold;
131 font-weight: normal;
145 font-weight: bold;
149 font-weight: bold;
162 //font-weight: bold;
163 font-weight: normal;
[all …]
H A Ddoxygen.css16 font-weight: bold;
24 font-weight: normal;
49 font-weight: bold;
82 font-weight: bold;
114 font-weight: normal;
127 font-weight: bold;
131 font-weight: bold;
142 font-weight: bold;
246 font-weight: bold;
274 font-weight: bold;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/_static/
H A Dllvm.css18 th { border: 2px solid gray; font-weight: bold; font-size: 105%;
28 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
49 font-weight: bold; font-style: oblique;
53 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
58 .doc_hilite { color: blue; font-weight: bold; }
63 .doc_warning { color: red; font-weight: bold }
102 th.layout { border: none; font-weight: bold; font-size: 105%;
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dvgpu.c93 unsigned int weight; member
147 if (vgpu_types[i].weight < 1 || in intel_gvt_init_vgpu_types()
148 vgpu_types[i].weight > VGPU_MAX_WEIGHT) in intel_gvt_init_vgpu_types()
151 gvt->types[i].weight = vgpu_types[i].weight; in intel_gvt_init_vgpu_types()
168 gvt->types[i].weight, in intel_gvt_init_vgpu_types()
388 vgpu->sched_ctl.weight = param->weight; in __intel_gvt_create_vgpu()
488 param.weight = type->weight; in intel_gvt_create_vgpu()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp109 assert(LI->weight() == 0.0f); in runOnMachineFunction()
123 if (LHS->weight() != RHS->weight()) in runOnMachineFunction()
124 return LHS->weight() > RHS->weight(); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnosticDocs.td37 font-weight: bold;
42 font-weight: bold;
47 font-weight: bold;
52 font-weight: bold;
/netbsd-src/external/bsd/libfido2/dist/man/
H A Ddyc.css8 span.Ms { font-weight: bold; }
9 dl.Bl-diag > dt { font-weight: bold; }
11 code.Cd { font-weight: bold; font-family: monospace; }
/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Dbitmap.h89 int weight = 0; in bitmap_weight() local
92 weight += popcountl(*bitmap++); in bitmap_weight()
94 weight += popcountl(*bitmap & ~(~0UL << nbits)); in bitmap_weight()
96 return weight; in bitmap_weight()
/netbsd-src/external/mit/isl/dist/
H A Disl_scheduler_clustering.c121 int dist, weight; in find_proximity() local
138 weight = edge->weight; in find_proximity()
140 if (best_weight > weight) in find_proximity()
142 if (best_weight == weight && best_dist <= dist) in find_proximity()
147 best_weight = weight; in find_proximity()
860 n_slack = n - edge->weight; in has_bounded_distances()
861 if (edge->weight < 0) in has_bounded_distances()
871 if (edge->weight >= 0) in has_bounded_distances()
884 if (!bounded && i >= n && edge->weight >= 0) in has_bounded_distances()
885 edge->weight -= graph->max_weight + 1; in has_bounded_distances()
[all …]

12345678910