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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2404}
2405
2406func (m *PrometheusResponseStats) MarshalTo(dAtA []byte) (int, error) {
2407 size := m.Size()
2408 return m.MarshalToSizedBuffer(dAtA[:size])
2409}
2410
2411func (m *PrometheusResponseStats) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2412 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected