Searched refs:staticBlockCount (Results 1 – 8 of 8) sorted by relevance
51 constexpr uint8_t staticBlockCount = 3; in TEST() local53 testMemoryPool(staticBlockCount); in TEST()56 ASSERT_EQ(testMemoryPool.getBlockCount(), staticBlockCount); in TEST()79 constexpr uint8_t staticBlockCount = 2; in TEST() local82 testMemoryPool(staticBlockCount); in TEST()104 EXPECT_EQ(testMemoryPool.getBlockCount(), staticBlockCount); in TEST()
80 constexpr uint8_t staticBlockCount = 2; in TEST() local82 staticBlockCount); in TEST()84 ASSERT_EQ(blockingQueue.block_count(), staticBlockCount); in TEST()
120 constexpr uint8_t staticBlockCount = 2; in TEST() local122 staticBlockCount); in TEST()124 EXPECT_EQ(segmentedQueue.block_count(), staticBlockCount); in TEST()125 EXPECT_EQ(segmentedQueue.capacity(), staticBlockCount * blockSize); in TEST()
30 SynchronizedExpandableMemoryPool(size_t staticBlockCount) in SynchronizedExpandableMemoryPool() argument31 : kStaticBlockCount(staticBlockCount) { in SynchronizedExpandableMemoryPool()32 CHRE_ASSERT(staticBlockCount > 0); in SynchronizedExpandableMemoryPool()33 CHRE_ASSERT(kMaxMemoryPoolCount >= staticBlockCount); in SynchronizedExpandableMemoryPool()
51 BlockingSegmentedQueue(size_t maxBlockCount, size_t staticBlockCount = 1)52 : BlockingQueue(maxBlockCount, staticBlockCount) {} in BlockingQueue() argument
56 SynchronizedExpandableMemoryPool(size_t staticBlockCount = 1);
56 SegmentedQueue(size_t maxBlockCount, size_t staticBlockCount = 1);
31 size_t staticBlockCount) in SegmentedQueue() argument32 : kMaxBlockCount(maxBlockCount), kStaticBlockCount(staticBlockCount) { in SegmentedQueue()