MCPcopy Create free account
hub / github.com/google/pprof / encodeLength

Function encodeLength

profile/proto.go:72–75  ·  view source on GitHub ↗
(b *buffer, tag int, len int)

Source from the content-addressed store, hash-verified

70}
71
72func encodeLength(b *buffer, tag int, len int) {
73 encodeVarint(b, uint64(tag)<<3|2)
74 encodeVarint(b, uint64(len))
75}
76
77func encodeUint64(b *buffer, tag int, x uint64) {
78 // append varint to b.data

Callers 4

encodeUint64sFunction · 0.85
encodeInt64sFunction · 0.85
encodeStringFunction · 0.85
encodeMessageFunction · 0.85

Calls 1

encodeVarintFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…