Home
last modified time | relevance | path

Searched refs:icost (Results 1 – 25 of 72) sorted by relevance

123

/dports/www/beehive/beehive-0.4.0/vendor/github.com/xrash/smetrics/
H A Dukkonen.go7 func Ukkonen(a, b string, icost, dcost, scost int) int { argument
10 if icost < dcost && icost < scost {
11 lowerCost = icost
60 ins = r[j-1] + icost
H A Dwagner-fischer.go3 func WagnerFischer(a, b string, icost, dcost, scost int) int { argument
11 row1[i] = i * icost
23 ins := row2[j-1] + icost
H A DREADME.md11 func WagnerFischer(a, b string, icost, dcost, scost int) int
27 func Ukkonen(a, b string, icost, dcost, scost int) int
/dports/security/gopass/gopass-1.13.0/vendor/github.com/xrash/smetrics/
H A Dukkonen.go9 func Ukkonen(a, b string, icost, dcost, scost int) int { argument
12 if icost < dcost && icost < scost {
13 lowerCost = icost
62 ins = r[j-1] + icost
H A Dwagner-fischer.go5 func WagnerFischer(a, b string, icost, dcost, scost int) int { argument
14 row1[i] = i * icost
26 ins := row2[j-1] + icost
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/xrash/smetrics/
H A Dukkonen.go7 func Ukkonen(a, b string, icost, dcost, scost int) int { argument
10 if icost < dcost && icost < scost {
11 lowerCost = icost
60 ins = r[j-1] + icost
H A Dwagner-fischer.go3 func WagnerFischer(a, b string, icost, dcost, scost int) int { argument
11 row1[i] = i * icost
23 ins := row2[j-1] + icost
H A DREADME.md11 func WagnerFischer(a, b string, icost, dcost, scost int) int
27 func Ukkonen(a, b string, icost, dcost, scost int) int
/dports/games/moria/umoria/source/
H A Dstore1.c202 static void insert_store(store_num, pos, icost, i_ptr) in insert_store() argument
205 int32 icost;
215 s_ptr->store_inven[pos].scost = -icost;
228 int32 icost, dummy; local
233 if (sell_price(store_num, &icost, &dummy, t_ptr) > 0)
257 (void) sell_price (store_num, &icost, &dummy, i_ptr);
258 s_ptr->store_inven[item_val].scost = -icost;
269 insert_store(store_num, item_val, icost, t_ptr);
278 insert_store(store_num, (int)s_ptr->store_ctr, icost, t_ptr);
/dports/audio/praat/praat-6.2.03/external/glpk/
H A Dglpnet03.c168 jcap, icost, jcost, ret; in glp_netgen() local
430 icost = maxcst; in glp_netgen()
433 icost = iran(csa, mincst, maxcst); in glp_netgen()
444 { double temp = (double)icost; in glp_netgen()
583 { int j, k, l, nn, nupbnd, icap, jcap, icost; in pickj() local
612 icost = iran(csa, mincst, maxcst); in pickj()
614 xprintf("%6s%6d%6d%2s%10d%10d\n", "", it, l, "", icost, in pickj()
623 { double temp = (double)icost; in pickj()
637 { int i, it, nn, l, ll, icost; in assign() local
670 icost = iran(csa, mincst, maxcst); in assign()
[all …]
/dports/databases/pg_similarity/pg_similarity-be1a8b0/
H A Dlevenshtein.c50 int _lev(char *a, char *b, int icost, int dcost) in _lev() argument
98 brow[j] = min3(brow[j-1] + icost, in _lev()
103 brow[j-1] + icost, in _lev()
134 int _lev_slow(char *a, char *b, int icost, int dcost) in _lev_slow() argument
185 matrix[i][j-1] + icost, in _lev_slow()
190 matrix[i][j-1] + icost, in _lev_slow()
H A Dsimilarity.h191 int _lev(char *a, char *b, int icost, int dcost);
192 int _lev_slow(char *a, char *b, int icost, int dcost);
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/dict-common/
H A Dprint-dict.c122 *icost = 1; in get_expression_cost()
128 *icost = 0; in get_expression_cost()
133 *icost = (int) (e->cost); in get_expression_cost()
134 *dcost = e->cost - *icost; in get_expression_cost()
138 *icost = 1; in get_expression_cost()
142 if (*icost > 4) in get_expression_cost()
145 *dcost = *icost; in get_expression_cost()
146 *icost = 1; in get_expression_cost()
168 unsigned int icost; in print_expression_parens() local
170 get_expression_cost(n, &icost, &dcost); in print_expression_parens()
[all …]
/dports/science/yoda/YODA-1.9.1/src/
H A DReaderYODA.cc357 const size_t icost = s.find(": *"); in read() local
358 if (icost != string::npos) { in read()
359 s.replace(icost, 1, ": '*"); in read()
686 const size_t icost = s.find(": *"); in mkIndex() local
687 if (icost != string::npos) { in mkIndex()
688 s.replace(icost, 1, ": '*"); in mkIndex()
/dports/www/beehive/beehive-0.4.0/vendor/github.com/xrash/smetrics/tests/
H A Dtestcases.go12 icost int member
H A Dwagner-fischer_test.go21 if r := smetrics.WagnerFischer(c.s, c.t, c.icost, c.dcost, c.scost); r != c.r {
H A Dukkonen_test.go21 if r := smetrics.Ukkonen(c.s, c.t, c.icost, c.dcost, c.scost); r != c.r {
/dports/security/gopass/gopass-1.13.0/vendor/github.com/xrash/smetrics/tests/
H A Dukkonen_test.go21 if r := smetrics.Ukkonen(c.s, c.t, c.icost, c.dcost, c.scost); r != c.r {
H A Dwagner-fischer_test.go21 if r := smetrics.WagnerFischer(c.s, c.t, c.icost, c.dcost, c.scost); r != c.r {
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/xrash/smetrics/tests/
H A Dukkonen_test.go21 if r := smetrics.Ukkonen(c.s, c.t, c.icost, c.dcost, c.scost); r != c.r {
H A Dwagner-fischer_test.go21 if r := smetrics.WagnerFischer(c.s, c.t, c.icost, c.dcost, c.scost); r != c.r {
/dports/graphics/libbpg/libbpg-0.9.8/x265/source/encoder/
H A Dslicetype.cpp264 int cost, icost = me.COST_MAX; in lowresIntraEstimate() local
270 COPY2_IF_LT(icost, cost, ilowmode, DC_IDX); in lowresIntraEstimate()
274 COPY2_IF_LT(icost, cost, ilowmode, PLANAR_IDX); in lowresIntraEstimate()
303 COPY2_IF_LT(icost, acost, ilowmode, alowmode); in lowresIntraEstimate()
305 icost += intraPenalty + lowresPenalty; /* estimate intra signal cost */ in lowresIntraEstimate()
308 fenc.intraCost[cuXY] = icost; in lowresIntraEstimate()
315 …Aq = (bFrameScoreCU && fenc.invQscaleFactor) ? ((icost * fenc.invQscaleFactor[cuXY] + 128) >> 8) :… in lowresIntraEstimate()
319 costEst += icost; in lowresIntraEstimate()
1497 int64_t icost = frame->costEst[0][0]; in scenecutInternal() local
1521 bool res = pcost >= (1.0 - bias) * icost; in scenecutInternal()
[all …]
/dports/multimedia/handbrake/x265_3.5/source/encoder/
H A Dslicetype.cpp737 int cost, icost = me.COST_MAX; in lowresIntraEstimate() local
743 COPY2_IF_LT(icost, cost, ilowmode, DC_IDX); in lowresIntraEstimate()
781 fenc.intraCost[cuXY] = icost; in lowresIntraEstimate()
789 … = (bFrameScoreCU && fenc.invQscaleFactor) ? ((icost * fenc.invQscaleFactor8x8[cuXY] + 128) >> 8) … in lowresIntraEstimate()
791 …Aq = (bFrameScoreCU && fenc.invQscaleFactor) ? ((icost * fenc.invQscaleFactor[cuXY] +128) >> 8) : in lowresIntraEstimate()
795 costEst += icost; in lowresIntraEstimate()
2307 int64_t icost = frames[p1]->costEst[0][0]; in scenecut() local
2309 frames[p1]->ipCostRatio = (double)icost / pcost; in scenecut()
2332 int64_t icost = frame->costEst[0][0]; in scenecutInternal() local
2367 bool res = pcost >= (1.0 - bias) * icost; in scenecutInternal()
[all …]
/dports/multimedia/x265/source/encoder/
H A Dslicetype.cpp737 int cost, icost = me.COST_MAX; in lowresIntraEstimate() local
743 COPY2_IF_LT(icost, cost, ilowmode, DC_IDX); in lowresIntraEstimate()
781 fenc.intraCost[cuXY] = icost; in lowresIntraEstimate()
789 … = (bFrameScoreCU && fenc.invQscaleFactor) ? ((icost * fenc.invQscaleFactor8x8[cuXY] + 128) >> 8) … in lowresIntraEstimate()
791 …Aq = (bFrameScoreCU && fenc.invQscaleFactor) ? ((icost * fenc.invQscaleFactor[cuXY] +128) >> 8) : in lowresIntraEstimate()
795 costEst += icost; in lowresIntraEstimate()
2264 int64_t icost = frames[p1]->costEst[0][0]; in scenecut() local
2266 frames[p1]->ipCostRatio = (double)icost / pcost; in scenecut()
2285 int64_t icost = frame->costEst[0][0]; in scenecutInternal() local
2308 bool res = pcost >= (1.0 - bias) * icost; in scenecutInternal()
[all …]
/dports/multimedia/x264/x264-5db6aa6cab1b146e07b60cc1736a01f21da01154/common/opencl/
H A Dbidir.cl147 int icost = fenc_intra_cost[mb_xy];
148 COPY2_IF_LT( bcost, icost, list_used, 0 );

123