/dports/databases/tokyocabinet/tokyocabinet-1.4.48/ |
H A D | tchdb.c | 446 if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && in tchdbput() 453 if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && in tchdbput() 513 if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && in tchdbputkeep() 589 if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && in tchdbputcat() 670 if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && in tchdbout() 941 if(hdb->dfunit > 0 && hdb->dfcnt > hdb->dfunit && in tchdbaddint() 1159 if(hdb->fd < 0 || !(hdb->omode & HDBOWRITER) || hdb->fatal || !hdb->tran){ in tchdbtrancommit() 1332 size_t xmsiz = (hdb->xmsiz > hdb->msiz) ? hdb->xmsiz : hdb->msiz; in tchdbmemsync() 3258 if(hdb->fd >= 0 && hdb->map) xmsiz = (hdb->xmsiz > hdb->msiz) ? hdb->xmsiz : hdb->msiz; in tchdbwalrestore() 3378 hdb->fsiz += tchdbpadsize(hdb, hdb->fsiz); in tchdbopenimpl() [all …]
|
H A D | tchtest.c | 635 mprint(hdb); in procwrite() 641 tchdbdel(hdb); in procwrite() 710 mprint(hdb); in procread() 716 tchdbdel(hdb); in procread() 772 mprint(hdb); in procremove() 928 mprint(hdb); in procrcat() 1333 if(tchdbecode(hdb) != TCENOREC || inum != tchdbrnum(hdb)){ in procmisc() 1366 if(tchdbecode(hdb) != TCENOREC || inum < tchdbrnum(hdb)){ in procmisc() 1589 if(tchdbrnum(hdb) != ornum || tchdbfsiz(hdb) != ofsiz || tchdbrnum(hdb) != tcmaprnum(map)){ in procmisc() 1689 mprint(hdb); in procmisc() [all …]
|
H A D | tchdb.h | 151 void tchdbdel(TCHDB *hdb); 166 int tchdbecode(TCHDB *hdb); 174 bool tchdbsetmutex(TCHDB *hdb); 241 bool tchdbclose(TCHDB *hdb); 496 bool tchdbsync(TCHDB *hdb); 521 bool tchdbvanish(TCHDB *hdb); 613 int tchdbdbgfd(TCHDB *hdb); 668 time_t tchdbmtime(TCHDB *hdb); 674 int tchdbomode(TCHDB *hdb); 680 uint8_t tchdbtype(TCHDB *hdb); [all …]
|
H A D | tchmttest.c | 666 targs[0].hdb = hdb; in procwrite() 674 targs[i].hdb = hdb; in procwrite() 748 targs[0].hdb = hdb; in procread() 756 targs[i].hdb = hdb; in procread() 830 targs[0].hdb = hdb; in procremove() 837 targs[i].hdb = hdb; in procremove() 917 targs[0].hdb = hdb; in procwicked() 925 targs[i].hdb = hdb; in procwicked() 1044 targs[0].hdb = hdb; in proctypical() 1052 targs[i].hdb = hdb; in proctypical() [all …]
|
H A D | tchmgr.c | 511 printerr(hdb); in proccreate() 512 tchdbdel(hdb); in proccreate() 516 printerr(hdb); in proccreate() 525 tchdbdel(hdb); in proccreate() 580 tchdbdel(hdb); in procinform() 641 tchdbdel(hdb); in procput() 665 tchdbdel(hdb); in procout() 695 tchdbdel(hdb); in procget() 753 tchdbdel(hdb); in proclist() 785 tchdbdel(hdb); in procoptimize() [all …]
|
/dports/databases/p5-TokyoCabinet/tokyocabinet-perl-1.34/ |
H A D | tchtest.pl | 204 my $hdb = shift; 231 if(!$hdb->open($path, $hdb->OWRITER | $hdb->OCREAT | $hdb->OTRUNC | $omode)){ 277 if(!$hdb->open($path, $hdb->OREADER | $omode)){ 316 if(!$hdb->open($path, $hdb->OWRITER | $omode)){ 374 if(!$hdb->open($path, $hdb->OWRITER | $hdb->OCREAT | $hdb->OTRUNC | $omode)){ 444 if($hdb->ecode() != $hdb->ENOREC || $inum != $hdb->rnum()){ 457 if(!$hdb->addint($buf, 1) && $hdb->ecode() != $hdb->EKEEP){ 463 if(!$hdb->adddouble($buf, 1) && $hdb->ecode() != $hdb->EKEEP){ 508 if(!$hdb->out($buf) && $hdb->ecode() != $hdb->ENOREC){ 541 if(!$hdb->out($buf) && $hdb->ecode() != $hdb->ENOREC){ [all …]
|
/dports/misc/hashdb/hashdb-3.1.0-8-g1da1b9f/test/ |
H A D | memory_analysis.sh | 13 $RUN create temp_vg.hdb 2>> temp_vg.out 24 $RUN add temp_vg.hdb temp_vg2.hdb 2>> temp_vg.out 25 $RUN add_multiple temp_vg.hdb temp_vg2.hdb temp_vg3.hdb 2>> temp_vg.out 26 $RUN add_repository temp_vg.hdb temp_vg2.hdb "repository1" 2>> temp_vg.out 27 $RUN add_range temp_vg.hdb temp_vg2.hdb 0:9 "repository1" 2>> temp_vg.out 28 $RUN intersect temp_vg.hdb temp_vg2.hdb temp_vg3.hdb 2>> temp_vg.out 29 $RUN intersect_hash temp_vg.hdb temp_vg2.hdb temp_vg3.hdb 2>> temp_vg.out 30 $RUN subtract temp_vg.hdb temp_vg2.hdb temp_vg3.hdb 2>> temp_vg.out 31 $RUN subtract_hash temp_vg.hdb temp_vg2.hdb temp_vg3.hdb 2>> temp_vg.out 32 $RUN subtract_repository temp_vg.hdb temp_vg2.hdb "repository1" 2>> temp_vg.out [all …]
|
/dports/devel/libqb/libqb-2.0.3/lib/ |
H A D | hdb.c | 35 if (hdb->first_run == QB_TRUE) { in qb_hdb_create_first_run() 36 hdb->first_run = QB_FALSE; in qb_hdb_create_first_run() 46 hdb->first_run = QB_TRUE; in qb_hdb_create() 47 qb_hdb_create_first_run(hdb); in qb_hdb_create() 53 qb_array_free(hdb->handles); in qb_hdb_destroy() 70 qb_hdb_create_first_run(hdb); in qb_hdb_handle_create() 136 qb_hdb_create_first_run(hdb); in qb_hdb_handle_get() 187 if (hdb->destructor) { in qb_hdb_handle_put() 251 hdb->iterator = 0; in qb_hdb_iterator_reset() 265 hdb->iterator, in qb_hdb_iterator_next() [all …]
|
/dports/devel/msitools/msitools-0.101/tests/ |
H A D | testdatabase.c | 73 g_object_unref( hdb ); in test_msidatabase() 108 g_object_unref( hdb ); in test_msidatabase() 113 g_object_unref( hdb ); in test_msidatabase() 122 g_object_unref( hdb ); in test_msidatabase() 718 return hdb; in create_db() 731 hdb = create_db(); in test_getcolinfo() 839 hdb = create_db(); in test_querygetcolumninfo() 1103 hdb = create_db(); in test_streamtable() 1421 hdb = create_db(); in test_where_not_in_selected() 1523 hdb = create_db(); in test_where() [all …]
|
/dports/databases/p5-TokyoCabinet/tokyocabinet-perl-1.34/example/ |
H A D | tchdbex.pl | 6 my $hdb = TokyoCabinet::HDB->new(); 9 if(!$hdb->open("casket.tch", $hdb->OWRITER | $hdb->OCREAT)){ 10 my $ecode = $hdb->ecode(); 15 if(!$hdb->put("foo", "hop") || 16 !$hdb->put("bar", "step") || 17 !$hdb->put("baz", "jump")){ 18 my $ecode = $hdb->ecode(); 23 my $value = $hdb->get("foo"); 27 my $ecode = $hdb->ecode(); 32 $hdb->iterinit(); [all …]
|
/dports/sysutils/cfengine317/cfengine-3.17.0/libpromises/ |
H A D | dbm_tokyocab.c | 48 TCHDB *hdb; member 108 *hdb = tchdbnew(); in OpenTokyoDatabase() 110 if (!tchdbsetmutex(*hdb)) in OpenTokyoDatabase() 156 tchdbclose(*hdb); in OpenTokyoDatabase() 186 tchdbdel(db->hdb); in DBPrivOpenDB() 195 tchdbdel(db->hdb); in DBPrivOpenDB() 211 if (!tchdbclose(db->hdb)) in DBPrivCloseDB() 216 tchdbdel(db->hdb); in DBPrivCloseDB() 279 tchdbpath(hdb), ErrorMessage(hdb)); in Write() 287 if (!tchdbout(hdb, key, key_size) && tchdbecode(hdb) != TCENOREC) in Delete() [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/libpromises/ |
H A D | dbm_tokyocab.c | 48 TCHDB *hdb; member 108 *hdb = tchdbnew(); in OpenTokyoDatabase() 110 if (!tchdbsetmutex(*hdb)) in OpenTokyoDatabase() 156 tchdbclose(*hdb); in OpenTokyoDatabase() 186 tchdbdel(db->hdb); in DBPrivOpenDB() 195 tchdbdel(db->hdb); in DBPrivOpenDB() 211 if (!tchdbclose(db->hdb)) in DBPrivCloseDB() 216 tchdbdel(db->hdb); in DBPrivCloseDB() 279 tchdbpath(hdb), ErrorMessage(hdb)); in Write() 287 if (!tchdbout(hdb, key, key_size) && tchdbecode(hdb) != TCENOREC) in Delete() [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libpromises/ |
H A D | dbm_tokyocab.c | 48 TCHDB *hdb; member 108 *hdb = tchdbnew(); in OpenTokyoDatabase() 110 if (!tchdbsetmutex(*hdb)) in OpenTokyoDatabase() 156 tchdbclose(*hdb); in OpenTokyoDatabase() 186 tchdbdel(db->hdb); in DBPrivOpenDB() 195 tchdbdel(db->hdb); in DBPrivOpenDB() 211 if (!tchdbclose(db->hdb)) in DBPrivCloseDB() 216 tchdbdel(db->hdb); in DBPrivCloseDB() 279 tchdbpath(hdb), ErrorMessage(hdb)); in Write() 287 if (!tchdbout(hdb, key, key_size) && tchdbecode(hdb) != TCENOREC) in Delete() [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/libpromises/ |
H A D | dbm_tokyocab.c | 48 TCHDB *hdb; member 108 *hdb = tchdbnew(); in OpenTokyoDatabase() 110 if (!tchdbsetmutex(*hdb)) in OpenTokyoDatabase() 156 tchdbclose(*hdb); in OpenTokyoDatabase() 186 tchdbdel(db->hdb); in DBPrivOpenDB() 195 tchdbdel(db->hdb); in DBPrivOpenDB() 211 if (!tchdbclose(db->hdb)) in DBPrivCloseDB() 216 tchdbdel(db->hdb); in DBPrivCloseDB() 279 tchdbpath(hdb), ErrorMessage(hdb)); in Write() 287 if (!tchdbout(hdb, key, key_size) && tchdbecode(hdb) != TCENOREC) in Delete() [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libpromises/ |
H A D | dbm_tokyocab.c | 48 TCHDB *hdb; member 108 *hdb = tchdbnew(); in OpenTokyoDatabase() 110 if (!tchdbsetmutex(*hdb)) in OpenTokyoDatabase() 156 tchdbclose(*hdb); in OpenTokyoDatabase() 186 tchdbdel(db->hdb); in DBPrivOpenDB() 195 tchdbdel(db->hdb); in DBPrivOpenDB() 211 if (!tchdbclose(db->hdb)) in DBPrivCloseDB() 216 tchdbdel(db->hdb); in DBPrivCloseDB() 279 tchdbpath(hdb), ErrorMessage(hdb)); in Write() 287 if (!tchdbout(hdb, key, key_size) && tchdbecode(hdb) != TCENOREC) in Delete() [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libpromises/ |
H A D | dbm_tokyocab.c | 48 TCHDB *hdb; member 108 *hdb = tchdbnew(); in OpenTokyoDatabase() 110 if (!tchdbsetmutex(*hdb)) in OpenTokyoDatabase() 156 tchdbclose(*hdb); in OpenTokyoDatabase() 186 tchdbdel(db->hdb); in DBPrivOpenDB() 195 tchdbdel(db->hdb); in DBPrivOpenDB() 211 if (!tchdbclose(db->hdb)) in DBPrivCloseDB() 216 tchdbdel(db->hdb); in DBPrivCloseDB() 279 tchdbpath(hdb), ErrorMessage(hdb)); in Write() 287 if (!tchdbout(hdb, key, key_size) && tchdbecode(hdb) != TCENOREC) in Delete() [all …]
|
/dports/mail/mailutils/mailutils-3.13/libmu_dbm/ |
H A D | tokyo.c | 47 TCHDB *hdb = db->db_descr; in _tc_get_fd() local 48 *pag = hdb->fd; in _tc_get_fd() 60 TCHDB *hdb; in _tc_open() local 80 hdb = tchdbnew (); in _tc_open() 90 db->db_descr = hdb; in _tc_open() 100 tchdbclose (hdb); in _tc_close() 101 tchdbdel (hdb); in _tc_close() 111 TCHDB *hdb = db->db_descr; in _tc_fetch() local 134 TCHDB *hdb = db->db_descr; in _tc_store() local 154 TCHDB *hdb = db->db_descr; in _tc_delete() local [all …]
|
/dports/databases/tokyocabinet/tokyocabinet-1.4.48/example/ |
H A D | tchdbex.c | 8 TCHDB *hdb; in main() local 13 hdb = tchdbnew(); in main() 17 ecode = tchdbecode(hdb); in main() 25 ecode = tchdbecode(hdb); in main() 30 value = tchdbget2(hdb, "foo"); in main() 35 ecode = tchdbecode(hdb); in main() 40 tchdbiterinit(hdb); in main() 42 value = tchdbget2(hdb, key); in main() 51 if(!tchdbclose(hdb)){ in main() 52 ecode = tchdbecode(hdb); in main() [all …]
|
/dports/misc/hashdb/hashdb-3.1.0-8-g1da1b9f/doc/hashdb_um/ |
H A D | hashdb_quick_reference_text.tex | 5 \hangindent=2em \texttt{create [-b <block size>] <hashdb.hdb>} & 12 …em\texttt{ingest [-r <repository name>] [-w <whitelist.hdb>] [-s <step size>] [-x rel] <hashdb.hdb… 14 \hangindent=2em\texttt{import\_tab [-r <repository name>] [-w <whitelist.hdb>] <hashdb.hdb> <tab.tx… 16 \hangindent=2em\texttt{import <hashdb.hdb> <hashdb.json>} & 25 \texttt{add <A.hdb> <B.hdb>} & $A \rightarrow B$ add $A$ into $B$ \\ 26 \texttt{add\_multiple <A.hdb> <B.hdb> ... <C.hdb>} & $A + B + \ldots \rightarrow C$ add $A$, $B$, \… 28 \texttt{add\_range<A.hdb> <B.hdb> <m:n>} & $A_{m:n} \rightarrow B$ add hashes that have source coun… 29 \texttt{intersect <A.hdb> <B.hdb> <C.hdb>} & $A \cap B \rightarrow C$ add when hash and source are … 30 \texttt{intersect\_hash <A.hdb> <B.hdb> <C.hdb>} & $A \cap B \rightarrow C$ add when hashes are com… 31 \texttt{subtract <A.hdb> <B.hdb> <C.hdb>} & $A - B \rightarrow C$ add when hash and source not comm… [all …]
|
/dports/java/java-subversion/subversion-1.14.1/subversion/libsvn_subr/ |
H A D | iter.c | 54 struct hash_do_baton *hdb = baton; in hash_do_callback() local 56 svn_pool_clear(hdb->iterpool); in hash_do_callback() 57 hdb->err = (*hdb->func)(hdb->baton, key, klen, (void *)value, hdb->iterpool); in hash_do_callback() 59 return hdb->err == SVN_NO_ERROR; in hash_do_callback() 69 struct hash_do_baton hdb; in svn_iter_apr_hash() local 72 hdb.func = func; in svn_iter_apr_hash() 73 hdb.baton = baton; in svn_iter_apr_hash() 78 svn_pool_destroy(hdb.iterpool); in svn_iter_apr_hash() 91 svn_error_clear(hdb.err); in svn_iter_apr_hash() 93 hdb.err = SVN_NO_ERROR; in svn_iter_apr_hash() [all …]
|
/dports/devel/py-subversion/subversion-1.14.1/subversion/libsvn_subr/ |
H A D | iter.c | 54 struct hash_do_baton *hdb = baton; in hash_do_callback() local 56 svn_pool_clear(hdb->iterpool); in hash_do_callback() 57 hdb->err = (*hdb->func)(hdb->baton, key, klen, (void *)value, hdb->iterpool); in hash_do_callback() 59 return hdb->err == SVN_NO_ERROR; in hash_do_callback() 69 struct hash_do_baton hdb; in svn_iter_apr_hash() local 72 hdb.func = func; in svn_iter_apr_hash() 73 hdb.baton = baton; in svn_iter_apr_hash() 78 svn_pool_destroy(hdb.iterpool); in svn_iter_apr_hash() 91 svn_error_clear(hdb.err); in svn_iter_apr_hash() 93 hdb.err = SVN_NO_ERROR; in svn_iter_apr_hash() [all …]
|
/dports/security/subversion-gnome-keyring/subversion-1.14.1/subversion/libsvn_subr/ |
H A D | iter.c | 54 struct hash_do_baton *hdb = baton; in hash_do_callback() local 56 svn_pool_clear(hdb->iterpool); in hash_do_callback() 57 hdb->err = (*hdb->func)(hdb->baton, key, klen, (void *)value, hdb->iterpool); in hash_do_callback() 59 return hdb->err == SVN_NO_ERROR; in hash_do_callback() 69 struct hash_do_baton hdb; in svn_iter_apr_hash() local 72 hdb.func = func; in svn_iter_apr_hash() 73 hdb.baton = baton; in svn_iter_apr_hash() 78 svn_pool_destroy(hdb.iterpool); in svn_iter_apr_hash() 91 svn_error_clear(hdb.err); in svn_iter_apr_hash() 93 hdb.err = SVN_NO_ERROR; in svn_iter_apr_hash() [all …]
|
/dports/devel/p5-subversion/subversion-1.14.1/subversion/libsvn_subr/ |
H A D | iter.c | 54 struct hash_do_baton *hdb = baton; in hash_do_callback() local 56 svn_pool_clear(hdb->iterpool); in hash_do_callback() 57 hdb->err = (*hdb->func)(hdb->baton, key, klen, (void *)value, hdb->iterpool); in hash_do_callback() 59 return hdb->err == SVN_NO_ERROR; in hash_do_callback() 69 struct hash_do_baton hdb; in svn_iter_apr_hash() local 72 hdb.func = func; in svn_iter_apr_hash() 73 hdb.baton = baton; in svn_iter_apr_hash() 78 svn_pool_destroy(hdb.iterpool); in svn_iter_apr_hash() 91 svn_error_clear(hdb.err); in svn_iter_apr_hash() 93 hdb.err = SVN_NO_ERROR; in svn_iter_apr_hash() [all …]
|
/dports/net/openldap24-server/openldap-2.4.59/tests/ |
H A D | Makefile.in | 27 @$(MAKE) hdb 43 hdb test-hdb: hdb-$(BUILD_HDB) 44 hdb-no: 47 hdb-yes hdb-mod: FORCE 49 @$(RUN) -b hdb all 74 @$(MAKE) hdb-its 86 hdb-its: hdb-its-$(BUILD_HDB) 87 hdb-its-no: 90 hdb-its-yes hdb-its-mod: FORCE 91 @$(RUN) -b hdb its-all
|
/dports/net/openldap24-client/openldap-2.4.59/tests/ |
H A D | Makefile.in | 27 @$(MAKE) hdb 43 hdb test-hdb: hdb-$(BUILD_HDB) 44 hdb-no: 47 hdb-yes hdb-mod: FORCE 49 @$(RUN) -b hdb all 74 @$(MAKE) hdb-its 86 hdb-its: hdb-its-$(BUILD_HDB) 87 hdb-its-no: 90 hdb-its-yes hdb-its-mod: FORCE 91 @$(RUN) -b hdb its-all
|