/dports/games/tuxracer/tuxracer-0.61/src/ |
H A D | save.c | 153 score_info_t this_score; in init_high_scores() local 159 while (fread( &this_score, sizeof(this_score), 1, score_stream)) { in init_high_scores() 160 set_high_score( this_score.event.event, this_score.event.cup, in init_high_scores() 161 this_score.player_name, this_score.score ); in init_high_scores() 173 score_info_t *this_score; in get_high_score() local 178 *score = this_score->score; in get_high_score() 189 score_info_t *this_score; in set_high_score() local 200 strcpy(this_score->event.cup, cup); in set_high_score() 206 this_score->score = score; in set_high_score() 218 score_info_t *this_score; in write_high_scores() local [all …]
|
/dports/deskutils/gpicker/gpicker-2.3/ |
H A D | scorer.c | 152 int this_score; in score_string_prepared_inline() member 224 state[i][0].this_score = amount; in score_string_prepared_inline() 227 state[i][0].this_score = -1; in score_string_prepared_inline() 239 int this_score; in score_string_prepared_inline() local 251 state[i][k].this_score = -1; in score_string_prepared_inline() 264 this_score = prev_score + amount; in score_string_prepared_inline() 272 this_score = 0; // force win in score_string_prepared_inline() 277 if (candidate > this_score) in score_string_prepared_inline() 280 state[i][k].this_score = this_score; in score_string_prepared_inline() 300 if (state[k][i].this_score == t) in score_string_prepared_inline() [all …]
|
/dports/games/euchre/euchre-0.8/src/lib/ |
H A D | Round.cpp | 62 int this_score = itsCards[i].getValue(trump); in getWinner() local 65 if (this_score < Card::TrumpAdj) { in getWinner() 67 this_score = -1; in getWinner() 71 if (this_score > high_score) { in getWinner() 72 high_score = this_score; in getWinner()
|
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Lua/humanoid_actions/ |
H A D | seek_reception.lua | 58 local this_score = humanoid.world:getPathDistance(humanoid.tile_x, humanoid.tile_y, x, y) 60 this_score = this_score + desk:getUsageScore() 61 if not score or this_score < score then 63 score = this_score
|
/dports/biology/emboss/EMBOSS-6.6.0/emboss/ |
H A D | newcoils.c | 199 float this_score; in newcoils_pred_coils() local 229 this_score = 1.0; in newcoils_pred_coils() 244 this_score *= pow(h->m[aa_pt][pos],power); in newcoils_pred_coils() 246 this_score *= pow(h->smallest,power); in newcoils_pred_coils() 251 this_score = pow(this_score,(1/(float)actual_win)); in newcoils_pred_coils() 253 this_score = 0; in newcoils_pred_coils() 261 if(this_score>score[i+j]) in newcoils_pred_coils() 263 score[i+j] = this_score; in newcoils_pred_coils()
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/covariance/ |
H A D | _graph_lasso.py | 588 this_score = -np.inf 592 if not np.isfinite(this_score): 593 this_score = -np.inf 594 scores_.append(this_score) 601 % (alpha, this_score) 921 this_score = np.mean(scores) 922 if this_score >= 0.1 / np.finfo(np.float64).eps: 923 this_score = np.nan 924 if np.isfinite(this_score): 926 if this_score >= best_score: [all …]
|
/dports/cad/yosys/yosys-yosys-0.12/passes/sat/ |
H A D | mutate.cc | 171 this_score += src_db.at(s) ? 0 : 5; in score() 173 return this_score; in score() 192 if (this_score > best_score) { in pick() 193 best_score = this_score; in pick() 196 if (best_score == this_score) in pick() 327 int this_score = -1; in database_reduce() local 329 if (this_score == -1 || this_score > coverdb.src_db.at(s)) in database_reduce() 332 log_assert(this_score != -1); in database_reduce() 335 best_cover_score = this_score; in database_reduce() 357 int this_score = -1; in database_reduce() local [all …]
|
/dports/textproc/p5-Text-Context/Text-Context-3.7/lib/Text/ |
H A D | Context.pm | 156 my $this_score = 0; 157 $this_score += $matches{$_} for @$wordset; 158 $para->{scoretable}[$this_score] = $wordset if $this_score > @$wordset;
|
/dports/irc/epic5/epic5-2.1.6/source/ |
H A D | recode.c | 639 int this_score; in decide_encoding() local 781 this_score = 60; in decide_encoding() 784 this_score = 50; in decide_encoding() 787 this_score = 40; in decide_encoding() 790 this_score = 30; in decide_encoding() 792 this_score = 20; in decide_encoding() 794 this_score = 10; in decide_encoding() 797 this_score = -100; in decide_encoding() 801 yell("++ Rule %d has score %d", i, this_score); in decide_encoding() 808 if (this_score > winning_score) in decide_encoding() [all …]
|
/dports/games/leela-zero/leela-zero-0.17/src/ |
H A D | OpenCL.cpp | 773 int this_score = 0; in OpenCL() local 775 this_score += 1000 * boost::icontains(this_vendor, "advanced micro devices"); in OpenCL() 776 this_score += 1000 * boost::icontains(this_vendor, "amd"); in OpenCL() 777 this_score += 1000 * boost::icontains(this_vendor, "nvidia"); in OpenCL() 778 this_score += 500 * boost::icontains(this_vendor, "intel"); in OpenCL() 779 this_score += 100 * (d.getInfo<CL_DEVICE_TYPE>() == CL_DEVICE_TYPE_GPU); in OpenCL() 780 this_score += opencl_version * 10; in OpenCL() 782 myprintf("Device score: %d\n", this_score); in OpenCL() 787 if (((this_score > best_score) in OpenCL() 798 best_score = this_score; in OpenCL()
|
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/plot/ |
H A D | CoilFeatureAlgorithm.java | 87 final float this_score = weight_array [index][k]; in getValues() local 89 scores [j] = this_score; in getValues()
|
/dports/games/gnugo/gnugo-3.8/engine/ |
H A D | aftermath.c | 363 int this_score = 20 * (owl_hotspot[pos] + reading_hotspot[pos]); in do_aftermath_genmove() local 364 if (this_score > best_score) { in do_aftermath_genmove() 365 best_score = this_score; in do_aftermath_genmove() 412 int this_score = 0; in do_aftermath_genmove() local 416 this_score += 2; in do_aftermath_genmove() 419 this_score++; in do_aftermath_genmove() 424 && this_score > best_score in do_aftermath_genmove() 426 best_score = this_score; in do_aftermath_genmove()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/mtd/ |
H A D | rfd_ftl.c | 426 int this_score; in reclaim_block() local 439 this_score = part->blocks[block].used_sectors; in reclaim_block() 442 this_score--; in reclaim_block() 450 this_score += part->blocks[block].erases; in reclaim_block() 452 if (this_score < score) { in reclaim_block() 454 score = this_score; in reclaim_block()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/mtd/ |
H A D | rfd_ftl.c | 426 int this_score; in reclaim_block() local 439 this_score = part->blocks[block].used_sectors; in reclaim_block() 442 this_score--; in reclaim_block() 450 this_score += part->blocks[block].erases; in reclaim_block() 452 if (this_score < score) { in reclaim_block() 454 score = this_score; in reclaim_block()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/mtd/ |
H A D | rfd_ftl.c | 426 int this_score; in reclaim_block() local 439 this_score = part->blocks[block].used_sectors; in reclaim_block() 442 this_score--; in reclaim_block() 450 this_score += part->blocks[block].erases; in reclaim_block() 452 if (this_score < score) { in reclaim_block() 454 score = this_score; in reclaim_block()
|
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/connectome/ |
H A D | group_sparse_cov.py | 1020 for index, (alpha, this_score, _) in enumerate(path): 1021 if this_score >= .1 / np.finfo(np.float64).eps: 1022 this_score = np.nan 1023 if np.isfinite(this_score): 1025 if this_score >= best_score: 1026 best_score = this_score
|
/dports/devel/m17n-lib/m17n-lib-1.8.0/src/ |
H A D | fontset.c | 655 int this_score; in try_font_group() local 687 this_score = font_list->fonts[0].score; in try_font_group() 688 if ((this_score == 0) in try_font_group() 694 best_score = worst_score = this_score; in try_font_group() 697 else if (this_score >= worst_score) in try_font_group() 699 worst_score = this_score; in try_font_group() 707 if (this_score < ((MFontList *) MPLIST_VAL (pl))->fonts[0].score) in try_font_group()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/text/ |
H A D | qfontdatabase.cpp | 1336 unsigned int this_score = 0x0000; in bestFoundry() local 1346 this_score += XLFDPenalty; in bestFoundry() 1348 this_score += EncodingMismatch; in bestFoundry() 1352 this_score += PitchMismatch; in bestFoundry() 1361 this_score += PitchMismatch; in bestFoundry() 1365 this_score += StyleMismatch; in bestFoundry() 1367 this_score += BitmapScaledPenalty; in bestFoundry() 1369 this_score += qAbs(px - pixelSize); in bestFoundry() 1371 if (this_score < score) { in bestFoundry() 1373 this_score, score); in bestFoundry() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libaom/source/libaom/av1/encoder/ |
H A D | intra_mode_search_utils.h | 214 float this_score = intra_hog_model_bias[i]; in prune_intra_mode_with_hog() local 217 this_score += weights[j] * hist[j]; in prune_intra_mode_with_hog() 219 if (this_score < th) directional_mode_skip_mask[i + 1] = 1; in prune_intra_mode_with_hog()
|
/dports/biology/hyphy/hyphy-2.5.33/src/new/ |
H A D | bayesgraph.cpp | 1511 hyFloat this_score, best_score, next_score; in K2Search() local 1559 this_score = Compute(); in K2Search() 1561 if (this_score > next_score) { in K2Search() 1563 next_score = this_score; in K2Search() 1582 this_score = Compute(); in K2Search() 1584 if (this_score > best_score) { in K2Search() 1585 best_score = this_score; in K2Search()
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontdatabase.cpp | 1176 unsigned int this_score = 0x0000; in bestFoundry() local 1185 this_score += PitchMismatch; in bestFoundry() 1188 this_score += StyleMismatch; in bestFoundry() 1190 this_score += BitmapScaledPenalty; in bestFoundry() 1192 this_score += qAbs(px - pixelSize); in bestFoundry() 1194 if (this_score < score) { in bestFoundry() 1196 this_score, score); in bestFoundry() 1198 score = this_score; in bestFoundry() 1203 qCDebug(lcFontMatch, " score %x no better than best %x", this_score, score); in bestFoundry()
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontdatabase.cpp | 1176 unsigned int this_score = 0x0000; in bestFoundry() local 1185 this_score += PitchMismatch; in bestFoundry() 1188 this_score += StyleMismatch; in bestFoundry() 1190 this_score += BitmapScaledPenalty; in bestFoundry() 1192 this_score += qAbs(px - pixelSize); in bestFoundry() 1194 if (this_score < score) { in bestFoundry() 1196 this_score, score); in bestFoundry() 1198 score = this_score; in bestFoundry() 1203 qCDebug(lcFontMatch, " score %x no better than best %x", this_score, score); in bestFoundry()
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontdatabase.cpp | 1176 unsigned int this_score = 0x0000; in bestFoundry() local 1185 this_score += PitchMismatch; in bestFoundry() 1188 this_score += StyleMismatch; in bestFoundry() 1190 this_score += BitmapScaledPenalty; in bestFoundry() 1192 this_score += qAbs(px - pixelSize); in bestFoundry() 1194 if (this_score < score) { in bestFoundry() 1196 this_score, score); in bestFoundry() 1198 score = this_score; in bestFoundry() 1203 qCDebug(lcFontMatch, " score %x no better than best %x", this_score, score); in bestFoundry()
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontdatabase.cpp | 1176 unsigned int this_score = 0x0000; in bestFoundry() local 1185 this_score += PitchMismatch; in bestFoundry() 1188 this_score += StyleMismatch; in bestFoundry() 1190 this_score += BitmapScaledPenalty; in bestFoundry() 1192 this_score += qAbs(px - pixelSize); in bestFoundry() 1194 if (this_score < score) { in bestFoundry() 1196 this_score, score); in bestFoundry() 1198 score = this_score; in bestFoundry() 1203 qCDebug(lcFontMatch, " score %x no better than best %x", this_score, score); in bestFoundry()
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontdatabase.cpp | 1176 unsigned int this_score = 0x0000; in bestFoundry() local 1185 this_score += PitchMismatch; in bestFoundry() 1188 this_score += StyleMismatch; in bestFoundry() 1190 this_score += BitmapScaledPenalty; in bestFoundry() 1192 this_score += qAbs(px - pixelSize); in bestFoundry() 1194 if (this_score < score) { in bestFoundry() 1196 this_score, score); in bestFoundry() 1198 score = this_score; in bestFoundry() 1203 qCDebug(lcFontMatch, " score %x no better than best %x", this_score, score); in bestFoundry()
|