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

Method encode

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

Source from the content-addressed store, hash-verified

407}
408
409func (p *ValueType) encode(b *buffer) {
410 encodeInt64Opt(b, 1, p.typeX)
411 encodeInt64Opt(b, 2, p.unitX)
412}
413
414var valueTypeDecoder = []decoder{
415 nil, // 0

Callers

nothing calls this directly

Calls 1

encodeInt64OptFunction · 0.85

Tested by

no test coverage detected