Searched refs:firstLength (Results 1 – 1 of 1) sorted by relevance
352 int firstLength = (startPos > endPos ? CIRCULAR_BUFFER_SIZE : endPos) - startPos; in readAt() local353 System.arraycopy(mCircularBuffer, startPos, buffer, offset, firstLength); in readAt()354 if (firstLength < amount) { in readAt()355 System.arraycopy(mCircularBuffer, 0, buffer, offset + firstLength, in readAt()356 amount - firstLength); in readAt()