Searched refs:resizeBuffer (Results 1 – 7 of 7) sorted by relevance
57 cursor.resizeBuffer(1000_000); in apiExample()69 cursor.resizeBuffer(4); in apiExample()230 assertEquals(originalSize, cursor.resizeBuffer(originalSize + 3)); in enlarge()250 cursor.resizeBuffer(originalSize + 1_000_000); in enlargeByManySegments()263 cursor.resizeBuffer(10); in resizeNotAcquired()282 cursor.resizeBuffer(10); in resizeAcquiredReadOnly()307 assertEquals(originalSize, cursor.resizeBuffer(originalSize - 3)); in shrink()325 cursor.resizeBuffer(originalSize); in shrinkByManySegments()341 cursor.resizeBuffer(3); in shrinkAdjustOffset()356 cursor.resizeBuffer(originalSize); in resizeToSameSizeSeeksToEnd()[all …]
62 cursor.resizeBuffer(100L) in expand()74 @Test fun resizeBuffer() { in resizeBuffer() method in okio.UnsafeCursorTest79 cursor.resizeBuffer(100L) in resizeBuffer()
54 cursor.resizeBuffer(oldSize); in read()57 cursor.resizeBuffer(oldSize + read); in read()
369 private void resizeBuffer() { in resizeBuffer() method in Base64Codec460 resizeBuffer(); in encode()490 resizeBuffer(); in encode()546 resizeBuffer(); in decode()
380 fun resizeBuffer(newSize: Long): Long in emitCompleteSegments() method
314 actual fun resizeBuffer(newSize: Long): Long = commonResizeBuffer(newSize) in <lambda>() method in okio.Buffer.UnsafeCursor
614 actual fun resizeBuffer(newSize: Long): Long = commonResizeBuffer(newSize) in <lambda>() method in okio.Buffer.UnsafeCursor