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

Method XXX_Marshal

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

Source from the content-addressed store, hash-verified

752 return m.Unmarshal(b)
753}
754func (m *TraceSearchMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
755 if deterministic {
756 return xxx_messageInfo_TraceSearchMetadata.Marshal(b, m, deterministic)
757 } else {
758 b = b[:cap(b)]
759 n, err := m.MarshalToSizedBuffer(b)
760 if err != nil {
761 return nil, err
762 }
763 return b[:n], nil
764 }
765}
766func (m *TraceSearchMetadata) XXX_Merge(src proto.Message) {
767 xxx_messageInfo_TraceSearchMetadata.Merge(m, src)
768}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected