Lines Matching refs:minLargeObjectSize
156 AllocInfo((int)(4*minLargeObjectSize + in operator ()()
157 2*minLargeObjectSize*(1.*rand()/RAND_MAX))); in operator ()()
174 (int)(minLargeObjectSize + 2*minLargeObjectSize*(1.*rand()/RAND_MAX)); in TestLargeObjectCache()
198 blocks1[i].sz = rand() % minLargeObjectSize; in operator ()()
205 blocks2[i].sz = rand() % minLargeObjectSize; in operator ()()
269 objsSmall[i] = scalable_malloc(minLargeObjectSize-1); in operator ()()
270 objsLarge[i] = scalable_malloc(minLargeObjectSize); in operator ()()
306 ptrs[i] = scalable_malloc(minLargeObjectSize); in operator ()()
311 void *p2 = scalable_malloc(minLargeObjectSize-1); in operator ()()
312 char *p1 = (char*)scalable_malloc(minLargeObjectSize-1); in operator ()()
314 (LargeObjectHdr*)(p1+minLargeObjectSize-1 - sizeof(LargeObjectHdr)); in operator ()()
324 p2 = scalable_malloc(minLargeObjectSize-1); in operator ()()
426 for (size_t sz=minLargeObjectSize; sz<1*1024*1024; in operator ()()
468 anotherLOCBinSz = minLargeObjectSize+1; in TestPools()
488 void *largeObj = pool_malloc(fixedPool, minLargeObjectSize); in TestPools()
490 memset(largeObj, 1, minLargeObjectSize); in TestPools()
491 ptr = pool_malloc(fixedPool, minLargeObjectSize); in TestPools()
493 memset(ptr, minLargeObjectSize, minLargeObjectSize); in TestPools()
494 pool_malloc(fixedPool, 10*minLargeObjectSize); // no leak for unsuccessful allocations in TestPools()
514 p[3] = pool_malloc(mallocPool, minLargeObjectSize+2*LargeCacheStep); in TestPools()
516 p[0] = pool_malloc(mallocPool, minLargeObjectSize); in TestPools()
517 p[1] = pool_malloc(mallocPool, minLargeObjectSize+LargeCacheStep); in TestPools()
523 REQUIRE(loc->getLOCSize() < 3*(minLargeObjectSize+LargeCacheStep)); in TestPools()
527 p[i] = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
529 REQUIRE((!loc->getLOCSize() && currUser >= 3*(minLargeObjectSize+LargeCacheStep))); in TestPools()
530 p[4] = pool_malloc(mallocPool, minLargeObjectSize+3*LargeCacheStep); in TestPools()
531 REQUIRE(loc->getUsedSize() - currUser >= minLargeObjectSize+3*LargeCacheStep); in TestPools()
547 void *o = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
551 o = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
759 scalable_free(scalable_malloc(minLargeObjectSize)); in operator ()()
761 for (size_t n = minLargeObjectSize; n < 5*1024*1024; n += 128*1024) in operator ()()
780 for (n = minLargeObjectSize; n < 10*1024*1024; n += 16*1024) { in TestHeapLimit()