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

Method Marshal

pkg/querier/tripperware/query.pb.go:2146–2154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2144}
2145
2146func (m *Extent) Marshal() (dAtA []byte, err error) {
2147 size := m.Size()
2148 dAtA = make([]byte, size)
2149 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2150 if err != nil {
2151 return nil, err
2152 }
2153 return dAtA[:n], nil
2154}
2155
2156func (m *Extent) MarshalTo(dAtA []byte) (int, error) {
2157 size := m.Size()

Callers 15

MarshalJSONMethod · 0.45
MarshalJSONMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45
XXX_MarshalMethod · 0.45

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95