()
| 556 | return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) |
| 557 | } |
| 558 | func (m *PartitionRingDesc) Marshal() (dAtA []byte, err error) { |
| 559 | size := m.Size() |
| 560 | dAtA = make([]byte, size) |
| 561 | n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 562 | if err != nil { |
| 563 | return nil, err |
| 564 | } |
| 565 | return dAtA[:n], nil |
| 566 | } |
| 567 | |
| 568 | func (m *PartitionRingDesc) MarshalTo(dAtA []byte) (int, error) { |
| 569 | size := m.Size() |
nothing calls this directly
no test coverage detected