Searched refs:BlocksPerChunk (Results 1 – 3 of 3) sorted by relevance
32 template <class T, size_t PoolSize = 64, size_t BlocksPerChunk = 256>39 unsigned char m_blocks[BlocksPerChunk * sizeof(T)];43 m_numFreeBlocks(BlocksPerChunk - 1) { in Chunk()44 for (size_t i = 0; i < BlocksPerChunk - 1; i++) in Chunk()53 return offset < (BlocksPerChunk - 1) * sizeof(T); in contains()67 assert(m_numFreeBlocks < BlocksPerChunk - 1); in deallocate()76 assert(index < BlocksPerChunk); in deallocate()84 return m_numFreeBlocks == BlocksPerChunk - 1; in empty()
29 uint32_t BlocksPerChunk; member
226 for (auto blockIndex = dataChunk->BlocksPerChunk; blockIndex; blockIndex--) in MdsToMidi()