Searched refs:_1M (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 1355 _1M = 1024*1024 variable 1356 _1G = 1024 * _1M 1367 'm': _1M, 1383 def bigmemtest(minsize, memuse, overhead=5*_1M): 1404 self.assertFalse(maxsize * memuse + overhead > 20 * _1M) 1414 maxsize = max(maxsize - 50 * _1M, minsize) 1422 def precisionbigmemtest(size, memuse, overhead=5*_1M, dry_run=True):
|
/external/python/cpython2/Lib/test/ |
D | test_zlib.py | 130 _1M = 1024 * 1024 131 fmt = "%%0%dx" % (2 * _1M) 135 data = ''.join([binascii.a2b_hex(fmt % random.getrandbits(8 * _1M))
|
D | pickletester.py | 14 from test.test_support import _2G, _1M, precisionbigmemtest 17 _2G = _1M = 0 1956 @precisionbigmemtest(size=_2G + 100*_1M, memuse=5)
|
/external/python/cpython3/Lib/test/ |
D | test_zlib.py | 133 _1M = 1024 * 1024 137 data = random.randbytes(_1M * 10)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 1569 _1M = 1024*1024 variable 1570 _1G = 1024 * _1M 1581 'm': _1M,
|