Lines Matching refs:MAX_OBJECT
399 const size_t MAX_OBJECT = 7*1024*1024; in TestFixedBufferPool() local
405 FixedPoolHead<MAX_OBJECT + 1024*1024> head; in TestFixedBufferPool()
409 utils::NativeParallelFor( 1, FixedPoolUse(1, pool, MAX_OBJECT, 2) ); in TestFixedBufferPool()
412 ptrs[i] = pool_malloc(pool, MAX_OBJECT/ITERS); in TestFixedBufferPool()
418 utils::NativeParallelFor( 1, FixedPoolUse(1, pool, MAX_OBJECT, 1) ); in TestFixedBufferPool()
423 utils::NativeParallelFor( p, FixedPoolUse(p, pool, MAX_OBJECT/p/2, 10000) ); in TestFixedBufferPool()
427 utils::NativeParallelFor( p, FixedPoolUse(p, pool, MAX_OBJECT/p/2, 1) ); in TestFixedBufferPool()
438 REQUIRE(haveEnoughSpace(pool, MAX_OBJECT/2)); in TestFixedBufferPool()
439 for (l = MAX_OBJECT/2, r = MAX_OBJECT + 1024*1024; l < r-1; ) { in TestFixedBufferPool()
468 FixedPoolHead<MAX_OBJECT + 1024*1024> head; in TestFixedBufferPool()
471 utils::NativeParallelFor( p, FixedPoolUse(p, pool, MAX_OBJECT/p/2, 1) ); in TestFixedBufferPool()