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

Method XXX_Marshal

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

Source from the content-addressed store, hash-verified

846 return m.Unmarshal(b)
847}
848func (m *ServiceStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
849 if deterministic {
850 return xxx_messageInfo_ServiceStats.Marshal(b, m, deterministic)
851 } else {
852 b = b[:cap(b)]
853 n, err := m.MarshalToSizedBuffer(b)
854 if err != nil {
855 return nil, err
856 }
857 return b[:n], nil
858 }
859}
860func (m *ServiceStats) XXX_Merge(src proto.Message) {
861 xxx_messageInfo_ServiceStats.Merge(m, src)
862}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected