Home
last modified time | relevance | path

Searched refs:get_doccount (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/dports/databases/xapian-core/xapian-core-1.4.18/tests/
H A Dapi_compact.cc261 TEST_EQUAL(indb.get_doccount() * 2, outdb.get_doccount()); in DEFINE_TESTCASE()
262 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
328 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
329 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
355 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
356 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
380 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
381 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
404 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
618 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount());
[all …]
H A Dapi_compactold.cc257 TEST_EQUAL(indb.get_doccount() * 2, outdb.get_doccount()); in DEFINE_TESTCASE()
258 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
292 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
293 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
319 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
320 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
344 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
345 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
361 in_docs = indb.get_doccount(); in DEFINE_TESTCASE()
372 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
[all …]
H A Dapi_transdb.cc64 Xapian::doccount docs = db.get_doccount(); in DEFINE_TESTCASE()
71 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
74 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
82 Xapian::doccount docs = db.get_doccount(); in DEFINE_TESTCASE()
89 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
92 TEST_EQUAL(db.get_doccount(), docs); in DEFINE_TESTCASE()
101 Xapian::doccount docs = db.get_doccount(); in DEFINE_TESTCASE()
108 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
113 TEST_EQUAL(db.get_doccount(), docs + 2); in DEFINE_TESTCASE()
116 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
H A Dapi_wrdb.cc1306 TEST_EQUAL(db.get_doccount(), 512); in DEFINE_TESTCASE()
1309 TEST_EQUAL(db.get_doccount(), 511); in DEFINE_TESTCASE()
1312 TEST_EQUAL(db.get_doccount(), 510); in DEFINE_TESTCASE()
1315 TEST_EQUAL(db.get_doccount(), 509); in DEFINE_TESTCASE()
1321 TEST_EQUAL(db.get_doccount(), 1); in DEFINE_TESTCASE()
1324 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
1330 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
1535 TEST_EQUAL(dbr.get_doccount(), 0); in DEFINE_TESTCASE()
1548 TEST_EQUAL(dbr.get_doccount(), 1); in DEFINE_TESTCASE()
1561 TEST_EQUAL(dbr.get_doccount(), 2); in DEFINE_TESTCASE()
[all …]
H A Dapi_collapse.cc39 Xapian::MSet full_mset = enquire.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
43 for (Xapian::docid did = 1; did <= db.get_doccount(); ++did) { in DEFINE_TESTCASE()
47 for (Xapian::doccount cmax = db.get_doccount() + 1; cmax > 0; --cmax) { in DEFINE_TESTCASE()
H A Dapi_closedb.cc276 TEST_EQUAL(db.get_doccount(), 566); in DEFINE_TESTCASE()
306 TEST_EQUAL(wdb.get_doccount(), 1);
309 TEST_EQUAL(db.get_doccount(), 1);
319 TEST_EQUAL(wdb.get_doccount(), 1); in DEFINE_TESTCASE()
322 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
330 TEST_EQUAL(wdb.get_doccount(), 1); in DEFINE_TESTCASE()
333 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
H A Dapi_metadata.cc48 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
53 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
85 TEST_EQUAL(dbr.get_doccount(), 0);
89 TEST_EQUAL(db.get_doccount(), 1);
104 TEST_EQUAL(db.get_doccount(), 1);
H A Dapi_opsynonym.cc345 Xapian::MSet mset_orig = enquire.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
354 Xapian::MSet mset_zero = enquire.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
400 Xapian::MSet mset1 = enquire.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
404 Xapian::MSet mset2 = enquire.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
424 Xapian::MSet mset1 = enq.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
426 Xapian::MSet mset2 = enq.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
428 Xapian::MSet msetmax = enq.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
/dports/databases/xapian-core12/xapian-core-1.2.25/tests/
H A Dapi_transdb.cc66 Xapian::doccount docs = db.get_doccount(); in DEFINE_TESTCASE()
73 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
76 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
86 Xapian::doccount docs = db.get_doccount(); in DEFINE_TESTCASE()
93 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
96 TEST_EQUAL(db.get_doccount(), docs); in DEFINE_TESTCASE()
107 Xapian::doccount docs = db.get_doccount(); in DEFINE_TESTCASE()
114 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
119 TEST_EQUAL(db.get_doccount(), docs + 2); in DEFINE_TESTCASE()
122 TEST_EQUAL(db.get_doccount(), docs + 1); in DEFINE_TESTCASE()
H A Dapi_compact.cc262 TEST_EQUAL(indb.get_doccount() * 2, outdb.get_doccount());
263 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount());
299 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
300 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount()); in DEFINE_TESTCASE()
328 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount());
329 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount());
355 TEST_EQUAL(indb.get_doccount(), outdb.get_doccount());
356 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount());
374 in_docs = indb.get_doccount();
385 dbcheck(outdb, outdb.get_doccount(), outdb.get_doccount());
[all …]
H A Dapi_closedb.cc184 TEST_EQUAL(db.get_doccount(), 566); in DEFINE_TESTCASE()
215 TEST_EQUAL(wdb.get_doccount(), 1);
218 TEST_EQUAL(db.get_doccount(), 1);
230 TEST_EQUAL(wdb.get_doccount(), 1);
233 TEST_EQUAL(db.get_doccount(), 0);
241 TEST_EQUAL(wdb.get_doccount(), 1);
244 TEST_EQUAL(db.get_doccount(), 0);
H A Dapi_wrdb.cc1303 TEST_EQUAL(db.get_doccount(), 512); in DEFINE_TESTCASE()
1306 TEST_EQUAL(db.get_doccount(), 511); in DEFINE_TESTCASE()
1309 TEST_EQUAL(db.get_doccount(), 510); in DEFINE_TESTCASE()
1312 TEST_EQUAL(db.get_doccount(), 509); in DEFINE_TESTCASE()
1318 TEST_EQUAL(db.get_doccount(), 1); in DEFINE_TESTCASE()
1321 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
1327 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
1502 TEST_EQUAL(dbr.get_doccount(), 0);
1515 TEST_EQUAL(dbr.get_doccount(), 1);
1528 TEST_EQUAL(dbr.get_doccount(), 2);
[all …]
H A Dapi_collapse.cc39 Xapian::MSet full_mset = enquire.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
43 for (Xapian::docid did = 1; did <= db.get_doccount(); ++did) { in DEFINE_TESTCASE()
47 for (Xapian::doccount cmax = db.get_doccount() + 1; cmax > 0; --cmax) { in DEFINE_TESTCASE()
H A Dapi_metadata.cc48 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
53 TEST_EQUAL(db.get_doccount(), 0); in DEFINE_TESTCASE()
87 TEST_EQUAL(dbr.get_doccount(), 0);
91 TEST_EQUAL(db.get_doccount(), 1);
106 TEST_EQUAL(db.get_doccount(), 1);
H A Dapi_backend.cc345 TEST_EQUAL(rodb.get_doccount(), 1);
350 TEST_EQUAL(rodb.get_doccount(), 2);
579 Xapian::MSet msetall = enq.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
610 Xapian::MSet msetall = enq.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
634 Xapian::MSet msetall = enq.get_mset(0, db.get_doccount()); in DEFINE_TESTCASE()
695 mset_expect_order(enq.get_mset(0, db.get_doccount()), 8, 6); in DEFINE_TESTCASE()
700 mset_expect_order(enq.get_mset(0, db.get_doccount()), 8, 6); in DEFINE_TESTCASE()
737 TEST_EQUAL(db.get_doccount(), 0);
745 Xapian::doccount db_size = db.get_doccount();
758 TEST_EQUAL(db.get_doccount(), db_size);
[all …]
/dports/databases/p5-Search-Xapian/Search-Xapian-1.2.25.4/t/
H A Dthread.t39 eval { $wdb->get_doccount(); };
42 eval { $db->get_doccount(); };
93 is( $wdb->get_doccount(), 0, 'check WritableDatabase' );
96 is( $db->get_doccount(), 2, 'check Database' );
160 is( $wdb->get_doccount(), 0, 'check WritableDatabase' );
161 is( $db->get_doccount(), 2, 'check Database' );
H A Dwritabledatabase.t56 my $doccount = $write->get_doccount();
121 $doccount = $write->get_doccount();
141 is($write->get_doccount(), 1, "check document count");
158 $doccount = $write->get_doccount();
169 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
180 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
192 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/p5-Search-Xapian12/Search-Xapian-1.2.25.2/t/
H A Dthread.t39 eval { $wdb->get_doccount(); };
42 eval { $db->get_doccount(); };
93 is( $wdb->get_doccount(), 0, 'check WritableDatabase' );
96 is( $db->get_doccount(), 2, 'check Database' );
160 is( $wdb->get_doccount(), 0, 'check WritableDatabase' );
161 is( $db->get_doccount(), 2, 'check Database' );
H A Dwritabledatabase.t56 my $doccount = $write->get_doccount();
121 $doccount = $write->get_doccount();
141 is($write->get_doccount(), 1, "check document count");
158 $doccount = $write->get_doccount();
169 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
180 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
192 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/xapian-bindings12/xapian-bindings-1.2.25/perl/t/
H A Dwritabledatabase.t53 my $doccount = $write->get_doccount();
113 $doccount = $write->get_doccount();
133 is($write->get_doccount(), 1, "check document count");
150 $doccount = $write->get_doccount();
161 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
172 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
184 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/py-xapian/xapian-bindings-1.4.18/perl/t/
H A Dwritabledatabase.t58 my $doccount = $write->get_doccount();
123 $doccount = $write->get_doccount();
143 is($write->get_doccount(), 1, "check document count");
160 $doccount = $write->get_doccount();
171 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
182 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
194 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/p5-Xapian/xapian-bindings-1.4.18/perl/t/
H A Dwritabledatabase.t58 my $doccount = $write->get_doccount();
123 $doccount = $write->get_doccount();
143 is($write->get_doccount(), 1, "check document count");
160 $doccount = $write->get_doccount();
171 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
182 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
194 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/php-xapian/xapian-bindings-1.4.18/perl/t/
H A Dwritabledatabase.t58 my $doccount = $write->get_doccount();
123 $doccount = $write->get_doccount();
143 is($write->get_doccount(), 1, "check document count");
160 $doccount = $write->get_doccount();
171 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
182 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
194 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/lua-xapian/xapian-bindings-1.4.18/perl/t/
H A Dwritabledatabase.t58 my $doccount = $write->get_doccount();
123 $doccount = $write->get_doccount();
143 is($write->get_doccount(), 1, "check document count");
160 $doccount = $write->get_doccount();
171 is($write->get_doccount(), $doccount - 1, "check number of documents in WritableDatabase");
182 is($write->get_doccount(), $doccount - 2, 'check WritableDatabase after deleting a document');
194 is($write->get_doccount(), 0, 'check WritableDatabase after deleting all documents');
/dports/databases/xapian-core12/xapian-core-1.2.25/backends/multi/
H A Dmulti_termlist.cc35 termfreq_factor = double(db.get_doccount()); in MultiTermList()
36 termfreq_factor /= db.internal[db_index]->get_doccount(); in MultiTermList()

12345678910>>...13