(dAtA []byte)
| 5441 | } |
| 5442 | |
| 5443 | func (m *Trace) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 5444 | i := len(dAtA) |
| 5445 | _ = i |
| 5446 | var l int |
| 5447 | _ = l |
| 5448 | if len(m.ResourceSpans) > 0 { |
| 5449 | for iNdEx := len(m.ResourceSpans) - 1; iNdEx >= 0; iNdEx-- { |
| 5450 | { |
| 5451 | size, err := m.ResourceSpans[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 5452 | if err != nil { |
| 5453 | return 0, err |
| 5454 | } |
| 5455 | i -= size |
| 5456 | i = encodeVarintTempo(dAtA, i, uint64(size)) |
| 5457 | } |
| 5458 | i-- |
| 5459 | dAtA[i] = 0xa |
| 5460 | } |
| 5461 | } |
| 5462 | return len(dAtA) - i, nil |
| 5463 | } |
| 5464 | |
| 5465 | func (m *PushResponse) Marshal() (dAtA []byte, err error) { |
| 5466 | size := m.Size() |
no test coverage detected