MCPcopy
hub / github.com/grafana/tempo / FastRange

Method FastRange

pkg/model/v2/segment_decoder.go:83–86  ·  view source on GitHub ↗
(buff []byte)

Source from the content-addressed store, hash-verified

81}
82
83func (d *SegmentDecoder) FastRange(buff []byte) (uint32, uint32, error) {
84 _, start, end, err := stripStartEnd(buff)
85 return start, end, err
86}
87
88func marshalWithStartEnd(pb proto.Message, start uint32, end uint32) ([]byte, error) {
89 const uint32Size = 4

Callers

nothing calls this directly

Implementers 2

SegmentDecoderpkg/model/v2/segment_decoder.go
SegmentDecoderpkg/model/v1/segment_decoder.go

Calls 1

stripStartEndFunction · 0.85

Tested by

no test coverage detected