Searched refs:zipf (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_zipfile64.py | 106 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) 107 zipf.debug = 100 110 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 111 self.assertEqual(len(zipf.namelist()), numfiles) 112 zipf.close() 121 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) 122 zipf.debug = 100 125 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 126 self.assertEqual(len(zipf.namelist()), numfiles) 128 zipf.writestr("foo%08d" % numfiles, b'') [all …]
|
D | test_zipfile.py | 764 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) 765 zipf.debug = 100 768 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 769 self.assertEqual(len(zipf.namelist()), numfiles) 770 zipf.close() 780 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) 781 zipf.debug = 100 784 zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57)) 785 self.assertEqual(len(zipf.namelist()), numfiles) 787 zipf.writestr("foo%08d" % numfiles, b'') [all …]
|
/external/fio/examples/ |
D | zipf.fio | 1 # Example job file for using a zipf distribution instead 10 random_distribution=zipf:0.5
|
/external/fio/ |
D | file.h | 143 struct zipf_state zipf; member
|
D | filesetup.c | 1148 zipf_init(&f->zipf, nranges, td->o.zipf_theta.u.f, seed); in __init_rand_distribution() 1150 pareto_init(&f->zipf, nranges, td->o.pareto_h.u.f, seed); in __init_rand_distribution()
|
D | io_u.c | 140 *b = zipf_next(&f->zipf); in __get_next_rand_offset_zipf() 148 *b = pareto_next(&f->zipf); in __get_next_rand_offset_pareto()
|
D | Makefile | 211 T_ZIPF_OBJS += t/log.o lib/ieee754.o lib/rand.o lib/pattern.o lib/zipf.o \
|
D | HOWTO | 836 **zipf** 1177 **zipf** 1189 When using a **zipf** or **pareto** distribution, an input value is also 1190 needed to define the access pattern. For **zipf**, this is the `zipf 1193 values will yield in terms of hit rates. If you wanted to use **zipf** with 1194 a `theta` of 1.2, you would use ``random_distribution=zipf:1.2`` as the
|