Home
last modified time | relevance | path

Searched refs:globalEndIndex (Results 1 – 4 of 4) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringSearch.kt100 if (index <= window.globalEndIndex) { in find()
126 if (index < window.globalEndIndex && index < endIndex) { in findInLoadedRegion()
168 …private fun findInWindow(window: StreamingReader.Window, globalStartIndex: Long, globalEndIndex: L… in findInWindow()
171 … val endIndex = (minOf(window.globalEndIndex, globalEndIndex) - window.globalStartIndex).toInt() in findInWindow()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DStreamingReader.kt39 if (window.globalStartIndex <= i && window.globalEndIndex >= i) { in get()
63 } else if (startIndex <= win.globalEndIndex) { in iter()
98 class Window(val slice: DataSlice, val globalStartIndex: Long, val globalEndIndex: Long) { constant in trebuchet.io.Window
108 while (srcIndex <= window.globalEndIndex && dstIndex < tmpBuffer.size) { in get()
DStreamingLineReader.kt22 for (i in startIndex..window.globalEndIndex) { in findNewlineInWindow()
46 index = window.globalEndIndex + 1 in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DSystraceExtractor.kt64 if (window.globalEndIndex >= startIndex && window.globalStartIndex < endIndex) { in <lambda>()
65 if (window.globalStartIndex >= startIndex && window.globalEndIndex <= endIndex) { in <lambda>()
69 val sliceEnd = minOf(endIndex, window.globalEndIndex) - window.globalStartIndex in <lambda>()