Searched refs:theCache (Results 1 - 4 of 4) sorted by relevance
/haiku/src/tests/kits/support/bblockcache/ |
H A D | BlockCacheConcurrencyTest.h | 31 void *GetBlock(BBlockCache *theCache, size_t blockSize, 33 void SaveBlock(BBlockCache *theCache, void *, size_t blockSize, 38 void TestBlockCache(BBlockCache *theCache, bool isMallocTest);
|
H A D | BlockCacheExerciseTest.cpp | 23 theCache(NULL), 167 freeList.AddItem(theCache->Get(sizeOfBlocksInCache)); 170 theCache->Save(freeList.ItemAt(i), sizeOfBlocksInCache); 183 void *thePtr = theCache->Get(blockSize); 240 theCache->Save(thePtr, blockSize); 300 theCache = new BBlockCache(numBlocksInCache, sizeOfBlocksInCache, B_OBJECT_CACHE); 301 CPPUNIT_ASSERT(theCache != NULL); 307 delete theCache; 317 theCache = new BBlockCache(numBlocksInCache, sizeOfBlocksInCache, B_MALLOC_CACHE); 318 CPPUNIT_ASSERT(theCache ! [all...] |
H A D | BlockCacheConcurrencyTest.cpp | 77 BlockCacheConcurrencyTest::GetBlock(BBlockCache *theCache, size_t blockSize, argument 80 void *thePtr = theCache->Get(blockSize); 106 BlockCacheConcurrencyTest::SaveBlock(BBlockCache *theCache, void *thePtr, argument 125 theCache->Save(thePtr, blockSize); 177 BlockCacheConcurrencyTest::TestBlockCache(BBlockCache *theCache, argument 189 GetBlock(theCache, sizeOfBlocksInCache, theThread, &cacheList, &nonCacheList); 190 GetBlock(theCache, sizeOfBlocksInCache, theThread, &cacheList, &nonCacheList); 191 GetBlock(theCache, sizeOfNonCacheBlocks, theThread, &cacheList, &nonCacheList); 192 GetBlock(theCache, sizeOfNonCacheBlocks, theThread, &cacheList, &nonCacheList); 194 SaveBlock(theCache, cacheLis [all...] |
H A D | BlockCacheExerciseTest.h | 23 BBlockCache *theCache; member in class:BlockCacheExerciseTest
|
Completed in 37 milliseconds