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

Function encodeBoolOpt

profile/proto.go:161–165  ·  view source on GitHub ↗
(b *buffer, tag int, x bool)

Source from the content-addressed store, hash-verified

159}
160
161func encodeBoolOpt(b *buffer, tag int, x bool) {
162 if x {
163 encodeBool(b, tag, x)
164 }
165}
166
167func encodeMessage(b *buffer, tag int, m message) {
168 n1 := len(b.data)

Callers 2

encodeMethod · 0.85
encodeMethod · 0.85

Calls 1

encodeBoolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…