Home
last modified time | relevance | path

Searched refs:MByte (Results 1 – 4 of 4) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_compliance.cpp62 jobInfo.ProcessMemoryLimit = limit? limit*MByte : 2*MByte*1024; in limitMem()
97 rlim.rlim_cur = (limit > 0) ? limit*MByte : rlim.rlim_max; in limitMem()
282 bufs[0] = Trealloc(nullptr, 30*MByte); in ReallocParam()
287 bufs[i] = Trealloc(nullptr, 30*MByte); in ReallocParam()
297 bufs[0] = Trealloc(nullptr, 30*MByte); in ReallocParam()
401 InvariantDataRealloc(/*aligned=*/false, 128*MByte, /*checkData=*/false); in CheckReallocLeak()
406 InvariantDataRealloc(/*aligned=*/false, 128*MByte, /*checkData=*/false); in CheckReallocLeak()
652 PointerList.reserve(TOTAL_MB_ALLOC*MByte/MinSize); in NULLReturn()
1004 InvariantDataRealloc(/*aligned=*/false, 8*MByte, /*checkData=*/true); in RunAllTests()
1006 InvariantDataRealloc(/*aligned=*/true, 8*MByte, /*checkData=*/true); in RunAllTests()
[all …]
H A Dtest_malloc_whitebox.cpp133 const int sizes[] = { MByte/sizeof(int), in operator ()()
134 (MByte-2*LargeObjectCache::LargeBSProps::CacheStep)/sizeof(int) }; in operator ()()
690 LargeMemoryBlock *lmb = backend->getLargeBlock(4*MByte); in TestBackend()
694 …REQUIRE_MESSAGE( (intptr_t)(memSize1-memSize0) >= 4*MByte, "The backend has not increased the amou… in TestBackend()
1630 TestHugeSizeThresholdImpl(loc, 64 * MByte, true); in TestHugeSizeThreshold()
1633 scalable_allocation_mode(TBBMALLOC_SET_HUGE_SIZE_THRESHOLD, 56 * MByte); in TestHugeSizeThreshold()
1634 TestHugeSizeThresholdImpl(loc, 56 * MByte, true); in TestHugeSizeThreshold()
/oneTBB/src/tbb/
H A Dmisc.h54 const std::size_t MByte = 1024*1024; variable
59 const std::size_t ThreadStackSize = 1*MByte;
61 const std::size_t ThreadStackSize = (sizeof(uintptr_t) <= 4 ? 2 : 4 )*MByte;
/oneTBB/test/common/
H A Dconfig.h77 const unsigned MByte = 1024*1024; variable