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

Function encodeVarintTempo

pkg/tempopb/tempo.pb.go:6183–6193  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

6181}
6182
6183func encodeVarintTempo(dAtA []byte, offset int, v uint64) int {
6184 offset -= sovTempo(v)
6185 base := offset
6186 for v >= 1<<7 {
6187 dAtA[offset] = uint8(v&0x7f | 0x80)
6188 v >>= 7
6189 offset++
6190 }
6191 dAtA[offset] = uint8(v)
6192 return base
6193}
6194func (m *TraceByIDRequest) Size() (n int) {
6195 if m == nil {
6196 return 0

Callers 15

MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85

Calls 1

sovTempoFunction · 0.85

Tested by

no test coverage detected