MCPcopy
hub / github.com/grafana/tempo / XXX_Marshal

Method XXX_Marshal

pkg/tempopb/tempo.pb.go:1041–1052  ·  view source on GitHub ↗
(b []byte, deterministic bool)

Source from the content-addressed store, hash-verified

1039 return m.Unmarshal(b)
1040}
1041func (m *SearchMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1042 if deterministic {
1043 return xxx_messageInfo_SearchMetrics.Marshal(b, m, deterministic)
1044 } else {
1045 b = b[:cap(b)]
1046 n, err := m.MarshalToSizedBuffer(b)
1047 if err != nil {
1048 return nil, err
1049 }
1050 return b[:n], nil
1051 }
1052}
1053func (m *SearchMetrics) XXX_Merge(src proto.Message) {
1054 xxx_messageInfo_SearchMetrics.Merge(m, src)
1055}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected