MCPcopy Create free account
hub / github.com/cortexproject/cortex / XXX_Marshal

Method XXX_Marshal

pkg/ingester/client/ingester.pb.go:577–588  ·  view source on GitHub ↗
(b []byte, deterministic bool)

Source from the content-addressed store, hash-verified

575 return m.Unmarshal(b)
576}
577func (m *LabelNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
578 if deterministic {
579 return xxx_messageInfo_LabelNamesRequest.Marshal(b, m, deterministic)
580 } else {
581 b = b[:cap(b)]
582 n, err := m.MarshalToSizedBuffer(b)
583 if err != nil {
584 return nil, err
585 }
586 return b[:n], nil
587 }
588}
589func (m *LabelNamesRequest) XXX_Merge(src proto.Message) {
590 xxx_messageInfo_LabelNamesRequest.Merge(m, src)
591}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.45

Tested by

no test coverage detected