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

Function encodeString

profile/proto.go:142–145  ·  view source on GitHub ↗
(b *buffer, tag int, x string)

Source from the content-addressed store, hash-verified

140}
141
142func encodeString(b *buffer, tag int, x string) {
143 encodeLength(b, tag, len(x))
144 b.data = append(b.data, x...)
145}
146
147func encodeStrings(b *buffer, tag int, x []string) {
148 for _, s := range x {

Callers 1

encodeStringsFunction · 0.85

Calls 1

encodeLengthFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…