Home
last modified time | relevance | path

Searched refs:memuse (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_bigmem.py42 @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 …]
Dtest_marshal.py305 @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)
Dtest_zlib.py87 @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 …]
Dtest_hashlib.py222 @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)
Dtest_ucn.py150 memuse=2 + 4 // len(u'\U00010000'))
155 (func.minsize * func.memuse / float(1024**3),))
Dtest_strop.py125 @test_support.precisionbigmemtest(size=test_support._2G - 1, memuse=5)
135 @test_support.precisionbigmemtest(size=test_support._2G - 1, memuse=1)
Dtest_bz2.py370 @bigmemtest(_4G, memuse=1.25)
420 @bigmemtest(_4G, memuse=1.25)
463 @bigmemtest(_4G, memuse=1.25)
472 @bigmemtest(_4G, memuse=1.25)
Dtest_StringIO.py110 @test_support.bigmemtest(test_support._2G + 2**26, memuse=2.001)
136 @test_support.bigmemtest(test_support._2G, memuse=4)
Dtest_xml_etree_c.py13 @precisionbigmemtest(size=_2G + 100, memuse=1)
Dtest_tcl.py711 @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,
Dtest_strtod.py252 @test_support.precisionbigmemtest(size=test_support._2G, memuse=3,
/external/python/cpython3/Lib/test/
Dtest_bigmem.py81 @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 …]
Dtest_zlib.py79 @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 …]
Dtest_marshal.py339 @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)
Dtest_array.py1388 @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 …]
Dtest_ucn.py228 @support.bigmemtest(size=UINT_MAX + 1, memuse=2 + 1, dry_run=False)
Dtest_xml_etree_c.py19 @support.bigmemtest(size=support._2G + 100, memuse=1, dry_run=False)
Dtest_tcl.py709 @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)
Dtest_strtod.py251 @test.support.bigmemtest(size=test.support._2G+10, memuse=3, dry_run=False)
Dtest_largefile.py61 @bigmemtest(size=size, memuse=2, dry_run=False)
Dtest_hashlib.py482 @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__.py1383 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/
Dtest_dump.py70 @bigmemtest(size=_1G, memuse=1)
/external/python/cpython3/Lib/test/support/
D__init__.py1628 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/
Dtest_arrays.py233 @bigmemtest(size=_2G, memuse=1, dry_run=False)

12