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

Method MarshalTo

pkg/querier/tripperware/query.pb.go:1974–1977  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

1972}
1973
1974func (m *PrometheusResponse) MarshalTo(dAtA []byte) (int, error) {
1975 size := m.Size()
1976 return m.MarshalToSizedBuffer(dAtA[:size])
1977}
1978
1979func (m *PrometheusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1980 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected