(dAtA []byte)
| 4397 | } |
| 4398 | |
| 4399 | func (m *DedicatedColumn) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 4400 | i := len(dAtA) |
| 4401 | _ = i |
| 4402 | var l int |
| 4403 | _ = l |
| 4404 | if m.Options != 0 { |
| 4405 | i = encodeVarintTempo(dAtA, i, uint64(m.Options)) |
| 4406 | i-- |
| 4407 | dAtA[i] = 0x20 |
| 4408 | } |
| 4409 | if m.Scope != 0 { |
| 4410 | i = encodeVarintTempo(dAtA, i, uint64(m.Scope)) |
| 4411 | i-- |
| 4412 | dAtA[i] = 0x18 |
| 4413 | } |
| 4414 | if len(m.Name) > 0 { |
| 4415 | i -= len(m.Name) |
| 4416 | copy(dAtA[i:], m.Name) |
| 4417 | i = encodeVarintTempo(dAtA, i, uint64(len(m.Name))) |
| 4418 | i-- |
| 4419 | dAtA[i] = 0x12 |
| 4420 | } |
| 4421 | if m.Type != 0 { |
| 4422 | i = encodeVarintTempo(dAtA, i, uint64(m.Type)) |
| 4423 | i-- |
| 4424 | dAtA[i] = 0x8 |
| 4425 | } |
| 4426 | return len(dAtA) - i, nil |
| 4427 | } |
| 4428 | |
| 4429 | func (m *SearchResponse) Marshal() (dAtA []byte, err error) { |
| 4430 | size := m.Size() |
no test coverage detected