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

Method Reset

pkg/ingest/encoding.go:138–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (d *Decoder) Reset() {
139 // Retain slice capacity
140 d.req.Ids = d.req.Ids[:0]
141 d.req.Traces = d.req.Traces[:0]
142 d.req.SkipMetricsGeneration = false
143}
144
145// sovPush calculates the size of varint-encoded uint64.
146// It is used to determine the number of bytes needed to encode an uint64 value

Callers 1

TestEncoderDecoderFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestEncoderDecoderFunction · 0.76