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

Method encode

profile/encode.go:555–561  ·  view source on GitHub ↗
(b *buffer)

Source from the content-addressed store, hash-verified

553}
554
555func (p *Function) encode(b *buffer) {
556 encodeUint64Opt(b, 1, p.ID)
557 encodeInt64Opt(b, 2, p.nameX)
558 encodeInt64Opt(b, 3, p.systemNameX)
559 encodeInt64Opt(b, 4, p.filenameX)
560 encodeInt64Opt(b, 5, p.StartLine)
561}
562
563var functionDecoder = []decoder{
564 nil, // 0

Callers

nothing calls this directly

Calls 2

encodeUint64OptFunction · 0.85
encodeInt64OptFunction · 0.85

Tested by

no test coverage detected