Home
last modified time | relevance | path

Searched refs:a_cost (Results 1 – 25 of 44) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/sqlite/
H A Ddb_sqlite_table_unittest.cc53 auto a_cost = DbSqliteTable::EstimateCost(schema, kRowCount, a_eq); in TEST() local
55 ASSERT_LT(id_cost.cost, a_cost.cost); in TEST()
56 ASSERT_LT(id_cost.rows, a_cost.rows); in TEST()
71 auto a_cost = DbSqliteTable::EstimateCost(schema, kRowCount, a_eq); in TEST() local
73 ASSERT_LT(id_cost.cost, a_cost.cost); in TEST()
74 ASSERT_LT(id_cost.rows, a_cost.rows); in TEST()
132 auto a_cost = DbSqliteTable::EstimateCost(schema, 0, a_eq); in TEST() local
134 ASSERT_DOUBLE_EQ(id_cost.cost, a_cost.cost); in TEST()
135 ASSERT_EQ(id_cost.rows, a_cost.rows); in TEST()
152 ASSERT_LT(sorted_cost.cost, a_cost.cost); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/sqlite/
H A Ddb_sqlite_table_unittest.cc53 auto a_cost = DbSqliteTable::EstimateCost(schema, kRowCount, a_eq); in TEST() local
55 ASSERT_LT(id_cost.cost, a_cost.cost); in TEST()
56 ASSERT_LT(id_cost.rows, a_cost.rows); in TEST()
71 auto a_cost = DbSqliteTable::EstimateCost(schema, kRowCount, a_eq); in TEST() local
73 ASSERT_LT(id_cost.cost, a_cost.cost); in TEST()
74 ASSERT_LT(id_cost.rows, a_cost.rows); in TEST()
132 auto a_cost = DbSqliteTable::EstimateCost(schema, 0, a_eq); in TEST() local
134 ASSERT_DOUBLE_EQ(id_cost.cost, a_cost.cost); in TEST()
135 ASSERT_EQ(id_cost.rows, a_cost.rows); in TEST()
152 ASSERT_LT(sorted_cost.cost, a_cost.cost); in TEST()
[all …]
/dports/math/igraph/igraph-0.9.5/vendor/glpk/api/
H A Dwrasn.c47 int glp_write_asnprob(glp_graph *G, int v_set, int a_cost, const char in glp_write_asnprob() argument
57 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_write_asnprob()
59 a_cost); in glp_write_asnprob()
82 { if (a_cost >= 0) in glp_write_asnprob()
83 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_write_asnprob()
H A Dasnlp.c46 int v_set, int a_cost) in glp_asnprob_lp() argument
61 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_asnprob_lp()
63 a_cost); in glp_asnprob_lp()
91 if (a_cost >= 0) in glp_asnprob_lp()
92 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_asnprob_lp()
H A Dwrmcf.c48 int a_cost, const char *fname) in glp_write_mincost() argument
63 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_write_mincost()
65 a_cost); in glp_write_mincost()
96 if (a_cost >= 0) in glp_write_mincost()
97 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_write_mincost()
H A Dmcflp.c41 int a_low, int a_cap, int a_cost) in glp_mincost_lp() argument
55 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_lp()
56 xerror("glp_mincost_lp: a_cost = %d; invalid offset\n", a_cost) in glp_mincost_lp()
101 if (a_cost >= 0) in glp_mincost_lp()
102 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_lp()
H A Dasnokalg.c26 int glp_asnprob_okalg(int form, glp_graph *G, int v_set, int a_cost, in glp_asnprob_okalg() argument
40 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_asnprob_okalg()
42 a_cost); in glp_asnprob_okalg()
70 if (a_cost >= 0) in glp_asnprob_okalg()
71 memcpy(&temp, (char *)a->data + a_cost, sizeof(double)); in glp_asnprob_okalg()
H A Drdasn.c54 int glp_read_asnprob(glp_graph *G, int v_set, int a_cost, const char in glp_read_asnprob() argument
65 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_read_asnprob()
67 a_cost); in glp_read_asnprob()
151 if (a_cost >= 0) in glp_read_asnprob()
152 memcpy((char *)a->data + a_cost, &cost, sizeof(double)); in glp_read_asnprob()
H A Dmcfrelax.c34 int a_cost, int crash, double *sol, int a_x, int a_rc) in glp_mincost_relax4() argument
51 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_relax4()
53 a_cost); in glp_mincost_relax4()
126 if (a_cost >= 0) in glp_mincost_relax4()
127 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_relax4()
209 if (a_cost >= 0) in glp_mincost_relax4()
210 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_relax4()
H A Drdmcf.c55 int a_cost, const char *fname) in glp_read_mincost() argument
71 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_read_mincost()
73 a_cost); in glp_read_mincost()
173 if (a_cost >= 0) in glp_read_mincost()
174 memcpy((char *)a->data + a_cost, &cost, sizeof(double)); in glp_read_mincost()
H A Dmcfokalg.c27 int a_cost, double *sol, int a_x, int v_pi) in glp_mincost_okalg() argument
43 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_okalg()
45 a_cost); in glp_mincost_okalg()
107 if (a_cost >= 0) in glp_mincost_okalg()
108 memcpy(&temp, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_okalg()
/dports/math/glpk/glpk-5.0/src/api/
H A Dwrasn.c47 int glp_write_asnprob(glp_graph *G, int v_set, int a_cost, const char in glp_write_asnprob() argument
57 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_write_asnprob()
59 a_cost); in glp_write_asnprob()
82 { if (a_cost >= 0) in glp_write_asnprob()
83 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_write_asnprob()
H A Dwrmcf.c48 int a_cost, const char *fname) in glp_write_mincost() argument
63 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_write_mincost()
65 a_cost); in glp_write_mincost()
96 if (a_cost >= 0) in glp_write_mincost()
97 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_write_mincost()
H A Dasnlp.c46 int v_set, int a_cost) in glp_asnprob_lp() argument
61 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_asnprob_lp()
63 a_cost); in glp_asnprob_lp()
91 if (a_cost >= 0) in glp_asnprob_lp()
92 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_asnprob_lp()
H A Dmcflp.c41 int a_low, int a_cap, int a_cost) in glp_mincost_lp() argument
55 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_lp()
56 xerror("glp_mincost_lp: a_cost = %d; invalid offset\n", a_cost) in glp_mincost_lp()
101 if (a_cost >= 0) in glp_mincost_lp()
102 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_lp()
H A Dasnokalg.c26 int glp_asnprob_okalg(int form, glp_graph *G, int v_set, int a_cost, in glp_asnprob_okalg() argument
40 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_asnprob_okalg()
42 a_cost); in glp_asnprob_okalg()
70 if (a_cost >= 0) in glp_asnprob_okalg()
71 memcpy(&temp, (char *)a->data + a_cost, sizeof(double)); in glp_asnprob_okalg()
H A Drdasn.c54 int glp_read_asnprob(glp_graph *G, int v_set, int a_cost, const char in glp_read_asnprob() argument
65 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_read_asnprob()
67 a_cost); in glp_read_asnprob()
151 if (a_cost >= 0) in glp_read_asnprob()
152 memcpy((char *)a->data + a_cost, &cost, sizeof(double)); in glp_read_asnprob()
H A Dmcfrelax.c34 int a_cost, int crash, double *sol, int a_x, int a_rc) in glp_mincost_relax4() argument
51 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_relax4()
53 a_cost); in glp_mincost_relax4()
126 if (a_cost >= 0) in glp_mincost_relax4()
127 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_relax4()
209 if (a_cost >= 0) in glp_mincost_relax4()
210 memcpy(&cost, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_relax4()
H A Drdmcf.c55 int a_cost, const char *fname) in glp_read_mincost() argument
71 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_read_mincost()
73 a_cost); in glp_read_mincost()
173 if (a_cost >= 0) in glp_read_mincost()
174 memcpy((char *)a->data + a_cost, &cost, sizeof(double)); in glp_read_mincost()
H A Dmcfokalg.c27 int a_cost, double *sol, int a_x, int v_pi) in glp_mincost_okalg() argument
43 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_okalg()
45 a_cost); in glp_mincost_okalg()
107 if (a_cost >= 0) in glp_mincost_okalg()
108 memcpy(&temp, (char *)a->data + a_cost, sizeof(double)); in glp_mincost_okalg()
/dports/games/heroes/heroes-0.21/src/
H A Dparafmt.c33 typedef a_u32 a_cost; typedef
47 a_cost *next_break_cost; /* Cost for this next break, an array for
69 a_cost *break_cost_data; /* a buffer allocated once for
186 a_cost *c = p->break_cost_data; in initialize_width_data()
198 static a_cost
201 a_cost c = l > r ? l - r : r - l; in wdist()
211 static a_cost
215 a_cost cost = 0; in compute_break_cost()
252 a_cost best_cost = MAX_COST; in compute_best_break()
257 a_cost cost; in compute_best_break()
/dports/audio/praat/praat-6.2.03/external/glpk/
H A Dglpapi17.c58 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_lp()
104 if (a_cost >= 0) in glp_mincost_lp()
134 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_mincost_okalg()
136 a_cost); in glp_mincost_okalg()
198 if (a_cost >= 0) in glp_mincost_okalg()
571 int v_set, int a_cost) in glp_asnprob_lp() argument
586 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_asnprob_lp()
588 a_cost); in glp_asnprob_lp()
616 if (a_cost >= 0) in glp_asnprob_lp()
643 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_asnprob_okalg()
[all …]
H A Dglpnet03.c107 int v_rhs, a_cap, a_cost; member
117 #define a_cost (csa->a_cost) macro
172 a_cost = _a_cost; in glp_netgen()
178 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double)) in glp_netgen()
179 xerror("glp_netgen: a_cost = %d; invalid offset\n", a_cost); in glp_netgen()
443 if (a_cost >= 0) in glp_netgen()
445 memcpy((char *)a->data + a_cost, &temp, sizeof(double)); in glp_netgen()
622 if (a_cost >= 0) in pickj()
624 memcpy((char *)a->data + a_cost, &temp, sizeof(double)); in pickj()
680 if (a_cost >= 0) in assign()
[all …]
H A Dglpdmx.c205 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double))
207 a_cost);
307 if (a_cost >= 0)
354 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double))
356 a_cost);
387 if (a_cost >= 0)
640 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double))
642 a_cost);
726 if (a_cost >= 0)
767 if (a_cost >= 0 && a_cost > G->a_size - (int)sizeof(double))
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libodelta/
H A Ddelta.c216 register int m_cost, a_cost; in chkMove() local
220 a_cost = NBYTE(a_size) + a_size; in chkMove()
223 if(m_cost >= a_cost) in chkMove()
233 register long add, m_cost, a_cost; in optMove() local
239 a_cost = 0; in optMove()
248 a_cost += ip->size; in optMove()
252 cost_a = a_cost; in optMove()

12