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

Method Unmarshal

pkg/cortexpb/timeseries.go:72–75  ·  view source on GitHub ↗

Unmarshal implements proto.Message.

(dAtA []byte)

Source from the content-addressed store, hash-verified

70
71// Unmarshal implements proto.Message.
72func (p *PreallocWriteRequest) Unmarshal(dAtA []byte) error {
73 p.Timeseries = PreallocTimeseriesSliceFromPool()
74 return p.WriteRequest.Unmarshal(dAtA)
75}
76
77// PreallocTimeseries is a TimeSeries which preallocs slices on Unmarshal.
78type PreallocTimeseries struct {

Callers

nothing calls this directly

Calls 2

UnmarshalMethod · 0.45

Tested by

no test coverage detected