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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2271}
2272
2273func (m *SampleHistogramPair) MarshalTo(dAtA []byte) (int, error) {
2274 size := m.Size()
2275 return m.MarshalToSizedBuffer(dAtA[:size])
2276}
2277
2278func (m *SampleHistogramPair) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2279 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected