public void reset(int startOffset, int endOffset) {bufferUpto = startOffset / INT_BLOCK_SIZE;bufferOffset = bufferUpto * INT_BLOCK_SIZE;this.end = endOffset;upto = startOffset;level = 1;buffer = pool.buffers[bufferUpto];upto = startOffset & INT_BLOCK_MASK;final int firstSize = IntBlockPool.LEVEL_SIZE_ARRAY[0];if (startOffset+firstSize >= endOffset) {limit = endOffset & INT_BLOCK_MASK;} else {limit = upto+firstSize-1;}}
public void Reset(int startOffset, int endOffset){bufferUpto = startOffset / INT32_BLOCK_SIZE;bufferOffset = bufferUpto * INT32_BLOCK_SIZE;this.end = endOffset;upto = startOffset;level = 1;buffer = pool.buffers[bufferUpto];upto = startOffset & INT32_BLOCK_MASK;int firstSize = Int32BlockPool.LEVEL_SIZE_ARRAY[0];if (startOffset + firstSize >= endOffset){limit = endOffset & INT32_BLOCK_MASK;}else{limit = upto + firstSize - 1;}}