/dports/databases/xapian-core/xapian-core-1.4.18/expand/ |
H A D | expandweight.cc | 50 LOGVALUE(EXPAND, dbsize); in collect_stats() 51 LOGVALUE(EXPAND, stats.dbsize); in collect_stats() 52 if (stats.dbsize == dbsize) { in collect_stats() 59 AssertRel(stats.dbsize,<,dbsize); in collect_stats() 69 double tf = double(stats.termfreq) * dbsize / stats.dbsize; in collect_stats() 71 dbsize << " / " << stats.dbsize << " = " << in collect_stats() 83 auto termfreq_upper_bound = dbsize - (rsize - stats.rtermfreq); in collect_stats()
|
H A D | expandweight.h | 49 Xapian::doccount dbsize; 66 : avlen(avlen_), expand_k(0), dbsize(0), termfreq(0), in ExpandStats() 72 : avlen(avlen_), expand_k(expand_k_), dbsize(0), termfreq(0), in ExpandStats() 95 dbsize += subdbsize; in accumulate() 105 dbsize = 0; in clear_stats() 119 Xapian::doccount dbsize; variable 157 : db(db_), dbsize(db.get_doccount()), avlen(db.get_avlength()), in ExpandWeight() 159 collection_len(avlen * dbsize + .5), in ExpandWeight() 175 : db(db_), dbsize(db.get_doccount()), avlen(db.get_avlength()), in ExpandWeight() 177 collection_len(avlen * dbsize + .5), in ExpandWeight() [all …]
|
/dports/databases/xapian-core12/xapian-core-1.2.25/expand/ |
H A D | expandweight.cc | 52 LOGVALUE(EXPAND, dbsize); in get_weight() 53 LOGVALUE(EXPAND, stats.dbsize); in get_weight() 54 if (stats.dbsize == dbsize) { in get_weight() 61 AssertRel(stats.dbsize,<,dbsize); in get_weight() 71 termfreq *= double(dbsize) / double(stats.dbsize); in get_weight() 73 dbsize << " / " << stats.dbsize << " = " << in get_weight() 89 double termfreq_upper_bound = dbsize - (rsize - rtermfreq); in get_weight() 102 num = (rtermfreq + 0.5) * (dbsize - termfreq - reldocs_without_term + 0.5); in get_weight()
|
/dports/databases/redis-devel/redis-0e5b813/tests/cluster/tests/ |
H A D | 14-consistency-check.tcl | 19 if {[RI $id role] eq {master} && [R $id dbsize] > 0} { 50 set master_dbsize_0 [R $master_id dbsize] 51 set replica_dbsize_0 [R $replica_id dbsize] 67 [R $replica_id dbsize] eq [R $master_id dbsize] 72 set replica_dbsize_1 [R $replica_id dbsize] 102 set replica_dbsize_3 [R $replica_id dbsize] 110 [R $replica_id dbsize] eq $master_dbsize_0
|
/dports/databases/redis6/redis-6.0.16/tests/cluster/tests/ |
H A D | 14-consistency-check.tcl | 19 if {[RI $id role] eq {master} && [R $id dbsize] > 0} { 50 set master_dbsize_0 [R $master_id dbsize] 51 set replica_dbsize_0 [R $replica_id dbsize] 67 [R $replica_id dbsize] eq [R $master_id dbsize] 72 set replica_dbsize_1 [R $replica_id dbsize] 101 set replica_dbsize_3 [R $replica_id dbsize] 109 [R $replica_id dbsize] eq $master_dbsize_0
|
/dports/chinese/phpbb-tw/phpBB2/admin/ |
H A D | index.php | 247 $dbsize = 0; variable 274 $dbsize = $lang['Not_available']; variable 287 $dbsize = $lang['Not_available']; variable 292 $dbsize = $lang['Not_available']; variable 295 if ( is_integer($dbsize) ) 297 if( $dbsize >= 1048576 ) 299 $dbsize = sprintf("%.2f MB", ( $dbsize / 1048576 )); variable 301 else if( $dbsize >= 1024 ) 303 $dbsize = sprintf("%.2f KB", ( $dbsize / 1024 )); variable 307 $dbsize = sprintf("%.2f Bytes", $dbsize); variable [all …]
|
/dports/www/phpbb/phpBB2/admin/ |
H A D | index.php | 247 $dbsize = 0; variable 274 $dbsize = $lang['Not_available']; variable 287 $dbsize = $lang['Not_available']; variable 292 $dbsize = $lang['Not_available']; variable 295 if ( is_integer($dbsize) ) 297 if( $dbsize >= 1048576 ) 299 $dbsize = sprintf("%.2f MB", ( $dbsize / 1048576 )); variable 301 else if( $dbsize >= 1024 ) 303 $dbsize = sprintf("%.2f KB", ( $dbsize / 1024 )); variable 307 $dbsize = sprintf("%.2f Bytes", $dbsize); variable [all …]
|
/dports/databases/redis-devel/redis-0e5b813/tests/integration/ |
H A D | replication-3.tcl | 58 assert {[r -1 dbsize] == 0} 63 assert {[r -1 dbsize] == 3} 65 r -1 dbsize 70 assert {[r dbsize] == 0} 85 assert_equal 2 [r -1 dbsize] 95 assert {[r dbsize] == 0} 100 [r -1 dbsize] == 1 113 assert {[r dbsize] == 0} 119 [r -1 dbsize] == 1 && [r -1 exists key] == 0 173 [r dbsize] == $numops && [all …]
|
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/scopes/audioscopes/ |
H A D | audiosignal.cpp | 64 int dbsize = 20; in renderAudioScope() local 67 … dbsize = p.fontMetrics().horizontalAdvance(QString::number(m_dbscale.at(m_dbscale.size() - 1))); in renderAudioScope() 69 bool showdb = width() > (dbsize + 40); in renderAudioScope() 76 int _y2 = (showdb ? width() - dbsize : width()) / numchan - 1; in renderAudioScope() 77 int _y1 = (showdb ? width() - dbsize : width()) * i / numchan; in renderAudioScope() 80 dbsize = 9; in renderAudioScope() 81 showdb = height() > (dbsize); in renderAudioScope() 84 _y2 = (showdb ? height() - dbsize : height()) / numchan - 1; in renderAudioScope() 85 _y1 = (showdb ? height() - dbsize : height()) * i / numchan; in renderAudioScope() 118 p.drawText(width() - dbsize, height() - int(xf * 40 / 42 + 20), QString::number(l)); in renderAudioScope()
|
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/src/ |
H A D | scan_sqlite.cpp | 71 size_t dbsize = pagesize * dbsize_in_pages; in scan_sqlite() local 73 if (dbsize>0 && dbsize_in_pages>=1){ in scan_sqlite() 76 sqlite_recorder.carve(sbuf_t(sbuf,begin,begin+dbsize),".sqlite3"); in scan_sqlite() 79 … if (( i+begin+dbsize-1) <= i) return; // would send us backwards or avoid movement in scan_sqlite() 80 i = begin + dbsize; in scan_sqlite()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/common/ |
H A D | expandweight.h | 47 Xapian::doccount dbsize; 63 dbsize(0), termfreq(0), multiplier(0), rtermfreq(0), db_index(0) { in ExpandStats() 80 dbsize += subdbsize; in accumulate() 92 Xapian::doccount dbsize; variable 130 : db(db_), dbsize(db.get_doccount()), avlen(db.get_avlength()), in ExpandWeight()
|
/dports/math/faiss/faiss-1.7.1/benchs/bench_all_ivf/ |
H A D | datasets.py | 72 dbsize = 1000 if dataset == "bigann1B" else int(dataset[6:-1]) 74 return faiss_datasets.DatasetBigANN(nb_M=dbsize) 89 dbsize = 10 ** 6 * int(szsuf[:-1]) 91 dbsize = 10 ** 9 93 dbsize = 1000 * int(szsuf[:-1]) 96 return faiss_datasets.DatasetDeep1B(nb=dbsize)
|
/dports/databases/xapian-core/xapian-core-1.4.18/matcher/ |
H A D | orpostlist.cc | 44 lmax(0), rmax(0), minmax(0), dbsize(dbsize_) in OrPostList() 60 ret = new MultiAndPostList(l, r, lmax, rmax, matcher, dbsize); in next() 69 new AndMaybePostList(r, l, matcher, dbsize, rhead, lhead); in next() 84 new AndMaybePostList(l, r, matcher, dbsize, lhead, rhead); in next() 140 ret = new MultiAndPostList(l, r, lmax, rmax, matcher, dbsize); in skip_to() 145 new AndMaybePostList(r, l, matcher, dbsize, rhead, lhead); in skip_to() 155 new AndMaybePostList(l, r, matcher, dbsize, lhead, rhead); in skip_to() 205 ret = new MultiAndPostList(l, r, lmax, rmax, matcher, dbsize); in check() 280 RETURN(std::min(l->get_termfreq_max() + r->get_termfreq_max(), dbsize)); in get_termfreq_max() 294 if (rare(dbsize == 0)) in get_termfreq_est() [all …]
|
/dports/databases/xapian-core12/xapian-core-1.2.25/matcher/ |
H A D | orpostlist.cc | 41 lmax(0), rmax(0), minmax(0), dbsize(dbsize_) in OrPostList() 57 ret = new MultiAndPostList(l, r, lmax, rmax, matcher, dbsize); in next() 66 new AndMaybePostList(r, l, matcher, dbsize, rhead, lhead); in next() 81 new AndMaybePostList(l, r, matcher, dbsize, lhead, rhead); in next() 137 ret = new MultiAndPostList(l, r, lmax, rmax, matcher, dbsize); in skip_to() 142 new AndMaybePostList(r, l, matcher, dbsize, rhead, lhead); in skip_to() 152 new AndMaybePostList(l, r, matcher, dbsize, lhead, rhead); in skip_to() 202 ret = new MultiAndPostList(l, r, lmax, rmax, matcher, dbsize); in check() 277 RETURN(std::min(l->get_termfreq_max() + r->get_termfreq_max(), dbsize)); in get_termfreq_max() 291 if (rare(dbsize == 0)) in get_termfreq_est() [all …]
|
/dports/databases/redis-devel/redis-0e5b813/tests/unit/ |
H A D | maxmemory.tcl | 22 assert_equal [r dbsize] 50 29 set dbsize [r dbsize] 32 return [expr $evicted_clients > 0 && $evicted_keys == 0 && $dbsize == 50] 34 return [expr $evicted_clients == 0 && $evicted_keys > 0 && $dbsize < 50] 42 set dbsize [r dbsize] 47 puts "dbsize: $dbsize" 379 assert {[$master dbsize] == 100} 392 assert {[$master dbsize] == 100} 429 r dbsize 481 assert_range [r dbsize] 200 300
|
/dports/biology/infernal/infernal-1.1.3/src/ |
H A D | stats.c | 69 …n", exp->cur_eff_dbsize, exp->lambda, exp->mu_extrap, exp->mu_orig, exp->dbsize, exp->nrandhits, e… in debug_print_expinfo() 440 exp->dbsize = 0; in CreateExpInfo() 460 SetExpInfo(ExpInfo_t *exp, double lambda, double mu_orig, double dbsize, int nrandhits, double tail… in SetExpInfo() argument 464 exp->dbsize = dbsize; in SetExpInfo() 498 dest->dbsize = src->dbsize; in DuplicateExpInfo() 539 UpdateExpsForDBSize(CM_t *cm, char *errbuf, double dbsize) in UpdateExpsForDBSize() argument 546 … cm->expA[i]->cur_eff_dbsize = (dbsize / cm->expA[i]->dbsize) * ((double) cm->expA[i]->nrandhits); in UpdateExpsForDBSize() 736 dest->dbsize = src->dbsize; in CopyExpInfo()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/examples/ |
H A D | copydatabase.cc | 103 Xapian::doccount dbsize = db_in.get_doccount(); in main() local 104 if (dbsize == 0) { in main() 108 int width = static_cast<int>(log10(double(dbsize))) + 1; in main() 125 if (c <= 10 || (dbsize - c) % 13 == 0) { in main() 127 cout << setw(width) << c << '/' << dbsize << flush; in main()
|
/dports/databases/xapian-core/xapian-core-1.4.18/examples/ |
H A D | copydatabase.cc | 109 Xapian::doccount dbsize = db_in.get_doccount(); in main() local 110 if (dbsize == 0) { in main() 114 int width = static_cast<int>(log10(double(dbsize))) + 1; in main() 131 if (c <= 10 || (dbsize - c) % 13 == 0) { in main() 133 cout << setw(width) << c << '/' << dbsize << flush; in main()
|
/dports/databases/redis6/redis-6.0.16/utils/lru/ |
H A D | test-lru.rb | 51 oldsize = r.dbsize 60 newsize = r.dbsize 65 inserted = r.dbsize 67 html << "#{r.dbsize} keys inserted.\n" 113 html << "#{r.dbsize} keys in DB.\n"
|
/dports/databases/redis-devel/redis-0e5b813/utils/lru/ |
H A D | test-lru.rb | 51 oldsize = r.dbsize 60 newsize = r.dbsize 65 inserted = r.dbsize 67 html << "#{r.dbsize} keys inserted.\n" 113 html << "#{r.dbsize} keys in DB.\n"
|
/dports/databases/redis5/redis-5.0.14/utils/lru/ |
H A D | test-lru.rb | 51 oldsize = r.dbsize 60 newsize = r.dbsize 65 inserted = r.dbsize 67 html << "#{r.dbsize} keys inserted.\n" 113 html << "#{r.dbsize} keys in DB.\n"
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/blast/seqdb_writer/ |
H A D | writedb.cpp | 281 Uint8* dbsize, in s_ComputeNumSequencesAndDbLength() argument 284 _ASSERT((dbsize != NULL)); in s_ComputeNumSequencesAndDbLength() 286 *dbsize = 0u; in s_ComputeNumSequencesAndDbLength() 293 dbhandle->GetTotals(CSeqDB::eFilteredAll, num_seqs_found, dbsize, false); in s_ComputeNumSequencesAndDbLength() 362 Uint8 dbsize = 0; in s_CreateAliasFilePriv() local 390 if (!s_ComputeNumSequencesAndDbLength(file_name, is_prot, &dbsize, &num_seqs)){ in s_CreateAliasFilePriv() 408 out << "LENGTH " << dbsize << "\n"; in s_CreateAliasFilePriv() 431 Uint8 dbsize = 0; in CWriteDB_CreateAliasFile() local 434 &dbsize, &num_seqs); in CWriteDB_CreateAliasFile() 452 out << "LENGTH " << dbsize << "\n"; in CWriteDB_CreateAliasFile()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objtools/blast/seqdb_writer/ |
H A D | writedb.cpp | 281 Uint8* dbsize, in s_ComputeNumSequencesAndDbLength() argument 284 _ASSERT((dbsize != NULL)); in s_ComputeNumSequencesAndDbLength() 286 *dbsize = 0u; in s_ComputeNumSequencesAndDbLength() 293 dbhandle->GetTotals(CSeqDB::eFilteredAll, num_seqs_found, dbsize, false); in s_ComputeNumSequencesAndDbLength() 362 Uint8 dbsize = 0; in s_CreateAliasFilePriv() local 390 if (!s_ComputeNumSequencesAndDbLength(file_name, is_prot, &dbsize, &num_seqs)){ in s_CreateAliasFilePriv() 408 out << "LENGTH " << dbsize << "\n"; in s_CreateAliasFilePriv() 431 Uint8 dbsize = 0; in CWriteDB_CreateAliasFile() local 434 &dbsize, &num_seqs); in CWriteDB_CreateAliasFile() 452 out << "LENGTH " << dbsize << "\n"; in CWriteDB_CreateAliasFile()
|
/dports/databases/redis5/redis-5.0.14/tests/integration/ |
H A D | replication.tcl | 164 list [r -1 dbsize] [r 0 dbsize] 247 [$master dbsize] == [[lindex $slaves 0] dbsize] && 248 [$master dbsize] == [[lindex $slaves 1] dbsize] && 249 [$master dbsize] == [[lindex $slaves 2] dbsize]
|
/dports/math/faiss/faiss-1.7.1/benchs/link_and_code/ |
H A D | datasets.py | 165 dbsize = 1000 if dataset == "bigann1B" else int(dataset[6:-1]) 170 xb = xb[:dbsize * 1000 * 1000] 171 gt = ivecs_read(basedir + 'gnd/idx_%dM.ivecs' % dbsize) 177 dbsize = 10 ** 6 * int(szsuf[:-1]) 179 dbsize = 10 ** 9 181 dbsize = 1000 * int(szsuf[:-1]) 189 xb = xb[:dbsize]
|