Home
last modified time | relevance | path

Searched refs:BlocksPerChunk (Results 1 – 3 of 3) sorted by relevance

/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/
H A DAllocator.h32 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()
/dports/games/SpaceCadetPinball/SpaceCadetPinball-Release_2.0/SpaceCadetPinball/
H A Dmidi.h29 uint32_t BlocksPerChunk; member
H A Dmidi.cpp226 for (auto blockIndex = dataChunk->BlocksPerChunk; blockIndex; blockIndex--) in MdsToMidi()