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

Method next

pkg/querier/batch/stream.go:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (bs *batchStream) next() {
31 (*bs)[0].Index++
32 if (*bs)[0].Index >= (*bs)[0].Length {
33 *bs = (*bs)[1:]
34 }
35}
36
37func (bs *batchStream) atHistogram() (int64, *histogram.Histogram) {
38 b := &(*bs)[0]

Callers 1

mergeStreamsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected