MCPcopy Create free account
hub / github.com/cortexproject/cortex / next

Method next

pkg/querier/batch/non_overlapping.go:53–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (it *nonOverlappingIterator) next() bool {
54 it.curr++
55 if it.curr < len(it.chunks) {
56 it.iter.reset(it.chunks[it.curr])
57 }
58 return it.curr < len(it.chunks)
59}
60
61func (it *nonOverlappingIterator) AtTime() int64 {
62 return it.iter.AtTime()

Callers 2

SeekMethod · 0.95
NextMethod · 0.95

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected