Home
last modified time | relevance | path

Searched refs:ffactor (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
Dtest_db.py67 for ffactor in [4, 16, 256] :
68 self.db.set_h_ffactor(ffactor)
69 self.assertEqual(ffactor, self.db.get_h_ffactor())
/external/python/cpython2/Modules/
Dbsddbmodule.c54 int bsize, int ffactor, int nelem, int cachesize, in newdbhashobject() argument
64 info.ffactor = ffactor; in newdbhashobject()
686 int ffactor = 0; in bsdhashopen() local
694 &bsize, &ffactor, &nelem, &cachesize, in bsdhashopen()
726 bsize, ffactor, nelem, cachesize, hash, lorder); in bsdhashopen()
D_bsddb.c3006 int err, ffactor; in DB_set_h_ffactor() local
3008 if (!PyArg_ParseTuple(args,"i:set_h_ffactor", &ffactor)) in DB_set_h_ffactor()
3013 err = self->db->set_h_ffactor(self->db, ffactor); in DB_set_h_ffactor()
3023 u_int32_t ffactor; in DB_get_h_ffactor() local
3028 err = self->db->get_h_ffactor(self->db, &ffactor); in DB_get_h_ffactor()
3031 return NUMBER_FromLong(ffactor); in DB_get_h_ffactor()
3302 MAKE_HASH_ENTRY(ffactor); in DB_stat()
/external/python/cpython2/Lib/bsddb/
D__init__.py353 def hashopen(file, flag='c', mode=0666, pgsize=None, ffactor=None, nelem=None, argument
362 if ffactor is not None: d.set_h_ffactor(ffactor)
/external/python/cpython2/Doc/library/
Dbsddb.rst50 .. function:: hashopen(filename[, flag[, mode[, pgsize[, ffactor[, nelem[, cachesize[, lorder[, hfl…