Searched refs:CHUNK_SIZE (Results 1 – 1 of 1) sorted by relevance
36 private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K; field in CachedInputStream72 int chunks = mPos / CHUNK_SIZE; in mark()75 int removedBytes = chunks * CHUNK_SIZE; in mark()151 if (mPos == mBufs.size() * CHUNK_SIZE) { in read()154 int currentBuf = mPos / CHUNK_SIZE; in read()155 int indexInBuf = mPos - currentBuf * CHUNK_SIZE; in read()157 int end = (currentBuf + 1) * CHUNK_SIZE; in read()188 int currentBuf = mPos / CHUNK_SIZE; in copyMarkedBuffer()189 int indexInBuf = mPos - currentBuf * CHUNK_SIZE; in copyMarkedBuffer()191 int end = (currentBuf + 1) * CHUNK_SIZE; in copyMarkedBuffer()[all …]