Home
last modified time | relevance | path

Searched refs:SZ (Results 1 – 2 of 2) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_pools.cpp589 const int SZ = 4; in TestEntries() local
591 size_t size[SZ] = {8, 8000, 9000, 100*1024}; in TestEntries()
599 for (int i=0; i<SZ; i++) in TestEntries()
606 size_t curr_sz = size[rand() % SZ]; in TestEntries()
612 size_t curr_sz1 = size[rand() % SZ]; in TestEntries()
852 const int SZ = 10; in TestPoolMSize() local
854 size_t requestedSz[SZ] = {8, 16, 500, 1000, 2000, 4000, 8000, 1024*1024, 4242+4242, 8484+8484}; in TestPoolMSize()
858 size_t allocatedSz[SZ] = in TestPoolMSize()
864 for (int i = 0; i < SZ; i++) { in TestPoolMSize()
/oneTBB/src/tbbmalloc/
H A Dtbbmalloc_internal.h179 static const unsigned SZ = (NUM-1)/(CHAR_BIT*sizeof(uintptr_t))+1; variable
182 std::atomic<uintptr_t> mask[SZ];
209 while (idx<SZ) in getMinTrue()
215 void reset() { for (unsigned i=0; i<SZ; i++) mask[i].store(0, std::memory_order_relaxed); } in reset()