Home
last modified time | relevance | path

Searched refs:tmpBuffer (Results 1 – 3 of 3) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DStreamingReader.kt103 fun copyTo(tmpBuffer: ByteArray, lineStartIndex: Long, lineEndIndex: Long) { in get()
106 while (srcIndex <= lineEndIndex && dstIndex < tmpBuffer.size) { in get()
108 while (srcIndex <= window.globalEndIndex && dstIndex < tmpBuffer.size) { in get()
109 tmpBuffer[dstIndex++] = window[srcIndex++] in get()
DStreamingLineReader.kt68 val tmpBuffer = ByteArray((lineEndIndexInclusive - lineStartIndex + 1).toInt()) in <lambda>() constant
69 stream.copyTo(tmpBuffer, lineStartIndex, lineEndIndexInclusive) in <lambda>()
70 yield(tmpBuffer.asSlice()) in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DZlibExtractor.kt107 val tmpBuffer = ByteArray(toRead) { buffer[start + it] } in extractorFor() constant
108 inflate.setInput(tmpBuffer) in extractorFor()