(dAtA []byte)
| 4597 | } |
| 4598 | |
| 4599 | func (m *ServiceStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 4600 | i := len(dAtA) |
| 4601 | _ = i |
| 4602 | var l int |
| 4603 | _ = l |
| 4604 | if m.ErrorCount != 0 { |
| 4605 | i = encodeVarintTempo(dAtA, i, uint64(m.ErrorCount)) |
| 4606 | i-- |
| 4607 | dAtA[i] = 0x10 |
| 4608 | } |
| 4609 | if m.SpanCount != 0 { |
| 4610 | i = encodeVarintTempo(dAtA, i, uint64(m.SpanCount)) |
| 4611 | i-- |
| 4612 | dAtA[i] = 0x8 |
| 4613 | } |
| 4614 | return len(dAtA) - i, nil |
| 4615 | } |
| 4616 | |
| 4617 | func (m *SpanSet) Marshal() (dAtA []byte, err error) { |
| 4618 | size := m.Size() |
no test coverage detected