88 Int32 nbBlock()
const {
return m_nb_block; }
89 Real memoryRatio()
const;
93 Int32 index = m_blocks_index_and_offset[i * 2];
94 Int32 offset = m_blocks_index_and_offset[(i * 2) + 1];
95 Int16 size = ((i + 1) != m_nb_block) ? m_block_size : m_last_block_size;
96 return BlockIndex(m_indexes.span().ptrAt(index), offset, size);
107 Int32 m_original_size = 0;
109 Int32 m_nb_block = 0;
111 Int16 m_block_size = 0;
113 Int16 m_last_block_size = 0;
117 void _setBlockIndexAndOffset(Int32 block, Int32 index, Int32 offset);
119 Int32 _currentIndexPosition()
const;
120 void _addBlockInfo(
const Int32* data, Int16 size);
121 Int32 _computeNbContigusBlock()
const;