/external/python/cpython2/Lib/test/ |
D | test_bigmem.py | 42 @bigmemtest(minsize=_2G, memuse=2) 51 @bigmemtest(minsize=_2G + 10, memuse=1) 63 @precisionbigmemtest(size=_2G - 1, memuse=character_size) 79 @bigmemtest(minsize=_2G, memuse=2) 91 @bigmemtest(minsize=_2G + 2, memuse=1 + character_size) 104 @bigmemtest(minsize=_2G + 2, memuse=character_size + 4) 109 @precisionbigmemtest(size=_4G // 6 + 2, memuse=character_size + 6) 114 @precisionbigmemtest(size=_4G // 5 + 70, memuse=character_size + 8) 119 @precisionbigmemtest(size=_4G // 4 + 5, memuse=character_size + 4) 124 @precisionbigmemtest(size=_2G-1, memuse=4) [all …]
|
D | test_marshal.py | 305 @test_support.precisionbigmemtest(size=LARGE_SIZE, memuse=1, dry_run=False) 310 memuse=character_size + 2, dry_run=False) 315 memuse=pointer_size, dry_run=False) 320 memuse=pointer_size, dry_run=False) 325 memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1), 331 memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1), 336 @test_support.precisionbigmemtest(size=LARGE_SIZE, memuse=1, dry_run=False)
|
D | test_zlib.py | 87 @precisionbigmemtest(size=_4G + 4, memuse=1, dry_run=False) 181 @precisionbigmemtest(size=_1G + 1024 * 1024, memuse=3) 186 @precisionbigmemtest(size=_1G + 1024 * 1024, memuse=2) 190 @precisionbigmemtest(size=_4G, memuse=1) 203 @precisionbigmemtest(size=_4G + 100, memuse=4) 477 @precisionbigmemtest(size=_4G, memuse=1) 592 @precisionbigmemtest(size=_1G + 1024 * 1024, memuse=3) 598 @precisionbigmemtest(size=_1G + 1024 * 1024, memuse=2) 605 @precisionbigmemtest(size=_4G + 100, memuse=4) 618 @precisionbigmemtest(size=_4G + 100, memuse=3) [all …]
|
D | test_hashlib.py | 222 @precisionbigmemtest(size=_4G + 5, memuse=1, dry_run=False) 227 @precisionbigmemtest(size=_4G + 5, memuse=1, dry_run=False) 232 @precisionbigmemtest(size=_4G - 1, memuse=1, dry_run=False) 256 @precisionbigmemtest(size=_4G + 5, memuse=1) 265 @precisionbigmemtest(size=_4G + 5, memuse=1)
|
D | test_ucn.py | 150 memuse=2 + 4 // len(u'\U00010000')) 155 (func.minsize * func.memuse / float(1024**3),))
|
D | test_strop.py | 125 @test_support.precisionbigmemtest(size=test_support._2G - 1, memuse=5) 135 @test_support.precisionbigmemtest(size=test_support._2G - 1, memuse=1)
|
D | test_bz2.py | 370 @bigmemtest(_4G, memuse=1.25) 420 @bigmemtest(_4G, memuse=1.25) 463 @bigmemtest(_4G, memuse=1.25) 472 @bigmemtest(_4G, memuse=1.25)
|
D | test_StringIO.py | 110 @test_support.bigmemtest(test_support._2G + 2**26, memuse=2.001) 136 @test_support.bigmemtest(test_support._2G, memuse=4)
|
D | test_xml_etree_c.py | 13 @precisionbigmemtest(size=_2G + 100, memuse=1)
|
D | test_tcl.py | 711 @test_support.precisionbigmemtest(size=INT_MAX + 1, memuse=5, dry_run=False) 720 memuse=2*character_size + 2, 729 @test_support.precisionbigmemtest(size=INT_MAX + 1, memuse=9, dry_run=False) 738 memuse=2*character_size + 7,
|
D | test_strtod.py | 252 @test_support.precisionbigmemtest(size=test_support._2G, memuse=3,
|
/external/python/cpython3/Lib/test/ |
D | test_bigmem.py | 81 @bigmemtest(size=_2G + 10, memuse=1) 92 @bigmemtest(size=_2G, memuse=2) 104 @bigmemtest(size=_2G, memuse=2) 116 @bigmemtest(size=_2G + 10, memuse=2) 129 @bigmemtest(size=_2G, memuse=2) 146 @bigmemtest(size=_2G, memuse=2) 163 @bigmemtest(size=_2G, memuse=2) 172 @bigmemtest(size=_2G, memuse=2) 181 @bigmemtest(size=_2G, memuse=2) 190 @bigmemtest(size=_2G, memuse=2) [all …]
|
D | test_zlib.py | 79 @bigmemtest(size=_4G + 4, memuse=1, dry_run=False) 194 @bigmemtest(size=_1G + 1024 * 1024, memuse=3) 199 @bigmemtest(size=_1G + 1024 * 1024, memuse=2) 203 @bigmemtest(size=_4G, memuse=1) 216 @bigmemtest(size=_4G + 100, memuse=4) 619 @bigmemtest(size=_4G, memuse=1) 717 @bigmemtest(size=_1G + 1024 * 1024, memuse=3) 723 @bigmemtest(size=_1G + 1024 * 1024, memuse=2) 730 @bigmemtest(size=_4G + 100, memuse=4) 743 @bigmemtest(size=_4G + 100, memuse=3) [all …]
|
D | test_marshal.py | 339 @support.bigmemtest(size=LARGE_SIZE, memuse=2, dry_run=False) 343 @support.bigmemtest(size=LARGE_SIZE, memuse=2, dry_run=False) 347 @support.bigmemtest(size=LARGE_SIZE, memuse=pointer_size + 1, dry_run=False) 351 @support.bigmemtest(size=LARGE_SIZE, memuse=pointer_size + 1, dry_run=False) 356 memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1), 362 memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1), 367 @support.bigmemtest(size=LARGE_SIZE, memuse=2, dry_run=False)
|
D | test_array.py | 1388 @support.bigmemtest(_2G, memuse=2.125) 1393 @support.bigmemtest(_2G, memuse=2.125) 1403 @support.bigmemtest(_2G, memuse=2.125+1) 1421 @support.bigmemtest(_2G, memuse=2.125) 1427 @support.bigmemtest(_2G, memuse=2.125) 1433 @support.bigmemtest(_2G, memuse=2.125) 1440 @support.bigmemtest(_2G, memuse=2.125) 1447 @support.bigmemtest(_2G, memuse=2.125) 1454 @support.bigmemtest(_2G, memuse=2.125) 1462 @support.bigmemtest(_2G, memuse=2.125) [all …]
|
D | test_ucn.py | 228 @support.bigmemtest(size=UINT_MAX + 1, memuse=2 + 1, dry_run=False)
|
D | test_xml_etree_c.py | 19 @support.bigmemtest(size=support._2G + 100, memuse=1, dry_run=False)
|
D | test_tcl.py | 709 @support.bigmemtest(size=INT_MAX + 1, memuse=5, dry_run=False) 716 @support.bigmemtest(size=INT_MAX + 1, memuse=2, dry_run=False) 742 @support.bigmemtest(size=INT_MAX + 1, memuse=6, dry_run=False)
|
D | test_strtod.py | 251 @test.support.bigmemtest(size=test.support._2G+10, memuse=3, dry_run=False)
|
D | test_largefile.py | 61 @bigmemtest(size=size, memuse=2, dry_run=False)
|
D | test_hashlib.py | 482 @bigmemtest(size=_4G + 5, memuse=1, dry_run=False) 487 @bigmemtest(size=_4G - 1, memuse=1, dry_run=False)
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 1383 def bigmemtest(minsize, memuse, overhead=5*_1M): argument 1404 self.assertFalse(maxsize * memuse + overhead > 20 * _1M) 1406 maxsize = int((max_memuse - overhead) / memuse) 1417 wrapper.memuse = memuse 1422 def precisionbigmemtest(size, memuse, overhead=5*_1M, dry_run=True): argument 1431 and real_max_memuse < maxsize * memuse): 1439 wrapper.memuse = memuse
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_dump.py | 70 @bigmemtest(size=_1G, memuse=1)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 1628 def bigmemtest(size, memuse, dry_run=True): argument 1644 memuse = wrapper.memuse 1651 and real_max_memuse < maxsize * memuse): 1654 % (size * memuse / (1024 ** 3))) 1659 .format(peak=size * memuse / (1024 ** 3))) 1672 wrapper.memuse = memuse
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_arrays.py | 233 @bigmemtest(size=_2G, memuse=1, dry_run=False)
|