1// Code generated by protoc-gen-gogo. DO NOT EDIT. 2// source: packed.proto 3 4package packed 5 6import ( 7 encoding_binary "encoding/binary" 8 fmt "fmt" 9 _ "github.com/gogo/protobuf/gogoproto" 10 proto "github.com/gogo/protobuf/proto" 11 io "io" 12 math "math" 13) 14 15// Reference imports to suppress errors if they are not otherwise used. 16var _ = proto.Marshal 17var _ = fmt.Errorf 18var _ = math.Inf 19 20// This is a compile-time assertion to ensure that this generated file 21// is compatible with the proto package it is being compiled against. 22// A compilation error at this line likely means your copy of the 23// proto package needs to be updated. 24const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 25 26type NinRepNative struct { 27 Field1 []float64 `protobuf:"fixed64,1,rep,name=Field1" json:"Field1,omitempty"` 28 Field2 []float32 `protobuf:"fixed32,2,rep,name=Field2" json:"Field2,omitempty"` 29 Field3 []int32 `protobuf:"varint,3,rep,name=Field3" json:"Field3,omitempty"` 30 Field4 []int64 `protobuf:"varint,4,rep,name=Field4" json:"Field4,omitempty"` 31 Field5 []uint32 `protobuf:"varint,5,rep,name=Field5" json:"Field5,omitempty"` 32 Field6 []uint64 `protobuf:"varint,6,rep,name=Field6" json:"Field6,omitempty"` 33 Field7 []int32 `protobuf:"zigzag32,7,rep,name=Field7" json:"Field7,omitempty"` 34 Field8 []int64 `protobuf:"zigzag64,8,rep,name=Field8" json:"Field8,omitempty"` 35 Field9 []uint32 `protobuf:"fixed32,9,rep,name=Field9" json:"Field9,omitempty"` 36 Field10 []int32 `protobuf:"fixed32,10,rep,name=Field10" json:"Field10,omitempty"` 37 Field11 []uint64 `protobuf:"fixed64,11,rep,name=Field11" json:"Field11,omitempty"` 38 Field12 []int64 `protobuf:"fixed64,12,rep,name=Field12" json:"Field12,omitempty"` 39 Field13 []bool `protobuf:"varint,13,rep,name=Field13" json:"Field13,omitempty"` 40 XXX_NoUnkeyedLiteral struct{} `json:"-"` 41 XXX_unrecognized []byte `json:"-"` 42 XXX_sizecache int32 `json:"-"` 43} 44 45func (m *NinRepNative) Reset() { *m = NinRepNative{} } 46func (m *NinRepNative) String() string { return proto.CompactTextString(m) } 47func (*NinRepNative) ProtoMessage() {} 48func (*NinRepNative) Descriptor() ([]byte, []int) { 49 return fileDescriptor_2c9922eb15f14bbb, []int{0} 50} 51func (m *NinRepNative) XXX_Unmarshal(b []byte) error { 52 return m.Unmarshal(b) 53} 54func (m *NinRepNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 55 return xxx_messageInfo_NinRepNative.Marshal(b, m, deterministic) 56} 57func (m *NinRepNative) XXX_Merge(src proto.Message) { 58 xxx_messageInfo_NinRepNative.Merge(m, src) 59} 60func (m *NinRepNative) XXX_Size() int { 61 return xxx_messageInfo_NinRepNative.Size(m) 62} 63func (m *NinRepNative) XXX_DiscardUnknown() { 64 xxx_messageInfo_NinRepNative.DiscardUnknown(m) 65} 66 67var xxx_messageInfo_NinRepNative proto.InternalMessageInfo 68 69func (m *NinRepNative) GetField1() []float64 { 70 if m != nil { 71 return m.Field1 72 } 73 return nil 74} 75 76func (m *NinRepNative) GetField2() []float32 { 77 if m != nil { 78 return m.Field2 79 } 80 return nil 81} 82 83func (m *NinRepNative) GetField3() []int32 { 84 if m != nil { 85 return m.Field3 86 } 87 return nil 88} 89 90func (m *NinRepNative) GetField4() []int64 { 91 if m != nil { 92 return m.Field4 93 } 94 return nil 95} 96 97func (m *NinRepNative) GetField5() []uint32 { 98 if m != nil { 99 return m.Field5 100 } 101 return nil 102} 103 104func (m *NinRepNative) GetField6() []uint64 { 105 if m != nil { 106 return m.Field6 107 } 108 return nil 109} 110 111func (m *NinRepNative) GetField7() []int32 { 112 if m != nil { 113 return m.Field7 114 } 115 return nil 116} 117 118func (m *NinRepNative) GetField8() []int64 { 119 if m != nil { 120 return m.Field8 121 } 122 return nil 123} 124 125func (m *NinRepNative) GetField9() []uint32 { 126 if m != nil { 127 return m.Field9 128 } 129 return nil 130} 131 132func (m *NinRepNative) GetField10() []int32 { 133 if m != nil { 134 return m.Field10 135 } 136 return nil 137} 138 139func (m *NinRepNative) GetField11() []uint64 { 140 if m != nil { 141 return m.Field11 142 } 143 return nil 144} 145 146func (m *NinRepNative) GetField12() []int64 { 147 if m != nil { 148 return m.Field12 149 } 150 return nil 151} 152 153func (m *NinRepNative) GetField13() []bool { 154 if m != nil { 155 return m.Field13 156 } 157 return nil 158} 159 160type NinRepPackedNative struct { 161 Field1 []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"` 162 Field2 []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"` 163 Field3 []int32 `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"` 164 Field4 []int64 `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"` 165 Field5 []uint32 `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"` 166 Field6 []uint64 `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"` 167 Field7 []int32 `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"` 168 Field8 []int64 `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"` 169 Field9 []uint32 `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"` 170 Field10 []int32 `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"` 171 Field11 []uint64 `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"` 172 Field12 []int64 `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"` 173 Field13 []bool `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"` 174 XXX_NoUnkeyedLiteral struct{} `json:"-"` 175 XXX_unrecognized []byte `json:"-"` 176 XXX_sizecache int32 `json:"-"` 177} 178 179func (m *NinRepPackedNative) Reset() { *m = NinRepPackedNative{} } 180func (m *NinRepPackedNative) String() string { return proto.CompactTextString(m) } 181func (*NinRepPackedNative) ProtoMessage() {} 182func (*NinRepPackedNative) Descriptor() ([]byte, []int) { 183 return fileDescriptor_2c9922eb15f14bbb, []int{1} 184} 185func (m *NinRepPackedNative) XXX_Unmarshal(b []byte) error { 186 return m.Unmarshal(b) 187} 188func (m *NinRepPackedNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 189 return xxx_messageInfo_NinRepPackedNative.Marshal(b, m, deterministic) 190} 191func (m *NinRepPackedNative) XXX_Merge(src proto.Message) { 192 xxx_messageInfo_NinRepPackedNative.Merge(m, src) 193} 194func (m *NinRepPackedNative) XXX_Size() int { 195 return xxx_messageInfo_NinRepPackedNative.Size(m) 196} 197func (m *NinRepPackedNative) XXX_DiscardUnknown() { 198 xxx_messageInfo_NinRepPackedNative.DiscardUnknown(m) 199} 200 201var xxx_messageInfo_NinRepPackedNative proto.InternalMessageInfo 202 203func (m *NinRepPackedNative) GetField1() []float64 { 204 if m != nil { 205 return m.Field1 206 } 207 return nil 208} 209 210func (m *NinRepPackedNative) GetField2() []float32 { 211 if m != nil { 212 return m.Field2 213 } 214 return nil 215} 216 217func (m *NinRepPackedNative) GetField3() []int32 { 218 if m != nil { 219 return m.Field3 220 } 221 return nil 222} 223 224func (m *NinRepPackedNative) GetField4() []int64 { 225 if m != nil { 226 return m.Field4 227 } 228 return nil 229} 230 231func (m *NinRepPackedNative) GetField5() []uint32 { 232 if m != nil { 233 return m.Field5 234 } 235 return nil 236} 237 238func (m *NinRepPackedNative) GetField6() []uint64 { 239 if m != nil { 240 return m.Field6 241 } 242 return nil 243} 244 245func (m *NinRepPackedNative) GetField7() []int32 { 246 if m != nil { 247 return m.Field7 248 } 249 return nil 250} 251 252func (m *NinRepPackedNative) GetField8() []int64 { 253 if m != nil { 254 return m.Field8 255 } 256 return nil 257} 258 259func (m *NinRepPackedNative) GetField9() []uint32 { 260 if m != nil { 261 return m.Field9 262 } 263 return nil 264} 265 266func (m *NinRepPackedNative) GetField10() []int32 { 267 if m != nil { 268 return m.Field10 269 } 270 return nil 271} 272 273func (m *NinRepPackedNative) GetField11() []uint64 { 274 if m != nil { 275 return m.Field11 276 } 277 return nil 278} 279 280func (m *NinRepPackedNative) GetField12() []int64 { 281 if m != nil { 282 return m.Field12 283 } 284 return nil 285} 286 287func (m *NinRepPackedNative) GetField13() []bool { 288 if m != nil { 289 return m.Field13 290 } 291 return nil 292} 293 294type NinRepNativeUnsafe struct { 295 Field1 []float64 `protobuf:"fixed64,1,rep,name=Field1" json:"Field1,omitempty"` 296 Field2 []float32 `protobuf:"fixed32,2,rep,name=Field2" json:"Field2,omitempty"` 297 Field3 []int32 `protobuf:"varint,3,rep,name=Field3" json:"Field3,omitempty"` 298 Field4 []int64 `protobuf:"varint,4,rep,name=Field4" json:"Field4,omitempty"` 299 Field5 []uint32 `protobuf:"varint,5,rep,name=Field5" json:"Field5,omitempty"` 300 Field6 []uint64 `protobuf:"varint,6,rep,name=Field6" json:"Field6,omitempty"` 301 Field7 []int32 `protobuf:"zigzag32,7,rep,name=Field7" json:"Field7,omitempty"` 302 Field8 []int64 `protobuf:"zigzag64,8,rep,name=Field8" json:"Field8,omitempty"` 303 Field9 []uint32 `protobuf:"fixed32,9,rep,name=Field9" json:"Field9,omitempty"` 304 Field10 []int32 `protobuf:"fixed32,10,rep,name=Field10" json:"Field10,omitempty"` 305 Field11 []uint64 `protobuf:"fixed64,11,rep,name=Field11" json:"Field11,omitempty"` 306 Field12 []int64 `protobuf:"fixed64,12,rep,name=Field12" json:"Field12,omitempty"` 307 Field13 []bool `protobuf:"varint,13,rep,name=Field13" json:"Field13,omitempty"` 308 XXX_NoUnkeyedLiteral struct{} `json:"-"` 309 XXX_unrecognized []byte `json:"-"` 310 XXX_sizecache int32 `json:"-"` 311} 312 313func (m *NinRepNativeUnsafe) Reset() { *m = NinRepNativeUnsafe{} } 314func (m *NinRepNativeUnsafe) String() string { return proto.CompactTextString(m) } 315func (*NinRepNativeUnsafe) ProtoMessage() {} 316func (*NinRepNativeUnsafe) Descriptor() ([]byte, []int) { 317 return fileDescriptor_2c9922eb15f14bbb, []int{2} 318} 319func (m *NinRepNativeUnsafe) XXX_Unmarshal(b []byte) error { 320 return xxx_messageInfo_NinRepNativeUnsafe.Unmarshal(m, b) 321} 322func (m *NinRepNativeUnsafe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 323 return xxx_messageInfo_NinRepNativeUnsafe.Marshal(b, m, deterministic) 324} 325func (m *NinRepNativeUnsafe) XXX_Merge(src proto.Message) { 326 xxx_messageInfo_NinRepNativeUnsafe.Merge(m, src) 327} 328func (m *NinRepNativeUnsafe) XXX_Size() int { 329 return xxx_messageInfo_NinRepNativeUnsafe.Size(m) 330} 331func (m *NinRepNativeUnsafe) XXX_DiscardUnknown() { 332 xxx_messageInfo_NinRepNativeUnsafe.DiscardUnknown(m) 333} 334 335var xxx_messageInfo_NinRepNativeUnsafe proto.InternalMessageInfo 336 337func (m *NinRepNativeUnsafe) GetField1() []float64 { 338 if m != nil { 339 return m.Field1 340 } 341 return nil 342} 343 344func (m *NinRepNativeUnsafe) GetField2() []float32 { 345 if m != nil { 346 return m.Field2 347 } 348 return nil 349} 350 351func (m *NinRepNativeUnsafe) GetField3() []int32 { 352 if m != nil { 353 return m.Field3 354 } 355 return nil 356} 357 358func (m *NinRepNativeUnsafe) GetField4() []int64 { 359 if m != nil { 360 return m.Field4 361 } 362 return nil 363} 364 365func (m *NinRepNativeUnsafe) GetField5() []uint32 { 366 if m != nil { 367 return m.Field5 368 } 369 return nil 370} 371 372func (m *NinRepNativeUnsafe) GetField6() []uint64 { 373 if m != nil { 374 return m.Field6 375 } 376 return nil 377} 378 379func (m *NinRepNativeUnsafe) GetField7() []int32 { 380 if m != nil { 381 return m.Field7 382 } 383 return nil 384} 385 386func (m *NinRepNativeUnsafe) GetField8() []int64 { 387 if m != nil { 388 return m.Field8 389 } 390 return nil 391} 392 393func (m *NinRepNativeUnsafe) GetField9() []uint32 { 394 if m != nil { 395 return m.Field9 396 } 397 return nil 398} 399 400func (m *NinRepNativeUnsafe) GetField10() []int32 { 401 if m != nil { 402 return m.Field10 403 } 404 return nil 405} 406 407func (m *NinRepNativeUnsafe) GetField11() []uint64 { 408 if m != nil { 409 return m.Field11 410 } 411 return nil 412} 413 414func (m *NinRepNativeUnsafe) GetField12() []int64 { 415 if m != nil { 416 return m.Field12 417 } 418 return nil 419} 420 421func (m *NinRepNativeUnsafe) GetField13() []bool { 422 if m != nil { 423 return m.Field13 424 } 425 return nil 426} 427 428type NinRepPackedNativeUnsafe struct { 429 Field1 []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"` 430 Field2 []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"` 431 Field3 []int32 `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"` 432 Field4 []int64 `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"` 433 Field5 []uint32 `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"` 434 Field6 []uint64 `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"` 435 Field7 []int32 `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"` 436 Field8 []int64 `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"` 437 Field9 []uint32 `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"` 438 Field10 []int32 `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"` 439 Field11 []uint64 `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"` 440 Field12 []int64 `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"` 441 Field13 []bool `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"` 442 XXX_NoUnkeyedLiteral struct{} `json:"-"` 443 XXX_unrecognized []byte `json:"-"` 444 XXX_sizecache int32 `json:"-"` 445} 446 447func (m *NinRepPackedNativeUnsafe) Reset() { *m = NinRepPackedNativeUnsafe{} } 448func (m *NinRepPackedNativeUnsafe) String() string { return proto.CompactTextString(m) } 449func (*NinRepPackedNativeUnsafe) ProtoMessage() {} 450func (*NinRepPackedNativeUnsafe) Descriptor() ([]byte, []int) { 451 return fileDescriptor_2c9922eb15f14bbb, []int{3} 452} 453func (m *NinRepPackedNativeUnsafe) XXX_Unmarshal(b []byte) error { 454 return xxx_messageInfo_NinRepPackedNativeUnsafe.Unmarshal(m, b) 455} 456func (m *NinRepPackedNativeUnsafe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 457 return xxx_messageInfo_NinRepPackedNativeUnsafe.Marshal(b, m, deterministic) 458} 459func (m *NinRepPackedNativeUnsafe) XXX_Merge(src proto.Message) { 460 xxx_messageInfo_NinRepPackedNativeUnsafe.Merge(m, src) 461} 462func (m *NinRepPackedNativeUnsafe) XXX_Size() int { 463 return xxx_messageInfo_NinRepPackedNativeUnsafe.Size(m) 464} 465func (m *NinRepPackedNativeUnsafe) XXX_DiscardUnknown() { 466 xxx_messageInfo_NinRepPackedNativeUnsafe.DiscardUnknown(m) 467} 468 469var xxx_messageInfo_NinRepPackedNativeUnsafe proto.InternalMessageInfo 470 471func (m *NinRepPackedNativeUnsafe) GetField1() []float64 { 472 if m != nil { 473 return m.Field1 474 } 475 return nil 476} 477 478func (m *NinRepPackedNativeUnsafe) GetField2() []float32 { 479 if m != nil { 480 return m.Field2 481 } 482 return nil 483} 484 485func (m *NinRepPackedNativeUnsafe) GetField3() []int32 { 486 if m != nil { 487 return m.Field3 488 } 489 return nil 490} 491 492func (m *NinRepPackedNativeUnsafe) GetField4() []int64 { 493 if m != nil { 494 return m.Field4 495 } 496 return nil 497} 498 499func (m *NinRepPackedNativeUnsafe) GetField5() []uint32 { 500 if m != nil { 501 return m.Field5 502 } 503 return nil 504} 505 506func (m *NinRepPackedNativeUnsafe) GetField6() []uint64 { 507 if m != nil { 508 return m.Field6 509 } 510 return nil 511} 512 513func (m *NinRepPackedNativeUnsafe) GetField7() []int32 { 514 if m != nil { 515 return m.Field7 516 } 517 return nil 518} 519 520func (m *NinRepPackedNativeUnsafe) GetField8() []int64 { 521 if m != nil { 522 return m.Field8 523 } 524 return nil 525} 526 527func (m *NinRepPackedNativeUnsafe) GetField9() []uint32 { 528 if m != nil { 529 return m.Field9 530 } 531 return nil 532} 533 534func (m *NinRepPackedNativeUnsafe) GetField10() []int32 { 535 if m != nil { 536 return m.Field10 537 } 538 return nil 539} 540 541func (m *NinRepPackedNativeUnsafe) GetField11() []uint64 { 542 if m != nil { 543 return m.Field11 544 } 545 return nil 546} 547 548func (m *NinRepPackedNativeUnsafe) GetField12() []int64 { 549 if m != nil { 550 return m.Field12 551 } 552 return nil 553} 554 555func (m *NinRepPackedNativeUnsafe) GetField13() []bool { 556 if m != nil { 557 return m.Field13 558 } 559 return nil 560} 561 562func init() { 563 proto.RegisterType((*NinRepNative)(nil), "packed.NinRepNative") 564 proto.RegisterType((*NinRepPackedNative)(nil), "packed.NinRepPackedNative") 565 proto.RegisterType((*NinRepNativeUnsafe)(nil), "packed.NinRepNativeUnsafe") 566 proto.RegisterType((*NinRepPackedNativeUnsafe)(nil), "packed.NinRepPackedNativeUnsafe") 567} 568 569func init() { proto.RegisterFile("packed.proto", fileDescriptor_2c9922eb15f14bbb) } 570 571var fileDescriptor_2c9922eb15f14bbb = []byte{ 572 // 388 bytes of a gzipped FileDescriptorProto 573 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x92, 0xbf, 0x4e, 0xfa, 0x50, 574 0x14, 0xc7, 0xd3, 0x9e, 0x52, 0xf8, 0xdd, 0x1f, 0x44, 0xec, 0x60, 0x4e, 0x08, 0xd1, 0x1b, 0xa6, 575 0xbb, 0x08, 0xb6, 0xe5, 0xaf, 0x23, 0x83, 0x23, 0x31, 0x24, 0x3e, 0x00, 0x7f, 0x0a, 0x36, 0x2a, 576 0x25, 0x0a, 0x3e, 0x86, 0x71, 0xf0, 0x05, 0x7c, 0x13, 0x1f, 0xc2, 0xc9, 0xcd, 0xb7, 0x70, 0x34, 577 0xb4, 0xa7, 0xa7, 0x17, 0x1c, 0x1d, 0x5c, 0xd8, 0xb8, 0x9f, 0x4f, 0x18, 0xfa, 0xf9, 0x1e, 0x51, 578 0x5c, 0x8e, 0x26, 0x37, 0xc1, 0xb4, 0xbe, 0xbc, 0x8f, 0x56, 0x91, 0x63, 0x27, 0xaf, 0xca, 0xe9, 579 0x3c, 0x5c, 0x5d, 0xaf, 0xc7, 0xf5, 0x49, 0x74, 0xd7, 0x98, 0x47, 0xf3, 0xa8, 0x11, 0xeb, 0xf1, 580 0x7a, 0x16, 0xbf, 0xe2, 0x47, 0xfc, 0x2b, 0xf9, 0x5b, 0xed, 0xdd, 0x14, 0xc5, 0x41, 0xb8, 0x18, 581 0x06, 0xcb, 0xc1, 0x68, 0x15, 0x3e, 0x06, 0xce, 0x91, 0xb0, 0x2f, 0xc2, 0xe0, 0x76, 0xea, 0xa2, 582 0x21, 0x41, 0x19, 0x43, 0x7a, 0x31, 0xf7, 0xd0, 0x94, 0xa0, 0x4c, 0xe2, 0x1e, 0x73, 0x1f, 0x41, 583 0x82, 0xca, 0x11, 0xf7, 0x99, 0x37, 0xd1, 0x92, 0xa0, 0x80, 0x78, 0x93, 0x79, 0x0b, 0x73, 0x12, 584 0x54, 0x89, 0x78, 0x8b, 0x79, 0x1b, 0x6d, 0x09, 0xca, 0x22, 0xde, 0x66, 0xde, 0xc1, 0xbc, 0x04, 585 0x75, 0x48, 0xbc, 0xc3, 0xbc, 0x8b, 0x05, 0x09, 0xca, 0x21, 0xde, 0x65, 0xde, 0xc3, 0x7f, 0x12, 586 0x54, 0x9e, 0x78, 0xcf, 0x41, 0x91, 0x4f, 0xbe, 0xe4, 0x0c, 0x85, 0x04, 0x75, 0x30, 0x4c, 0x9f, 587 0x99, 0x71, 0xf1, 0xbf, 0x04, 0x65, 0xa7, 0xc6, 0xcd, 0x8c, 0x87, 0x45, 0x09, 0xaa, 0x9c, 0x1a, 588 0x2f, 0x33, 0x3e, 0x96, 0x24, 0xa8, 0x42, 0x6a, 0xfc, 0x73, 0xeb, 0xf9, 0xf5, 0xc4, 0xa8, 0x3d, 589 0x81, 0x70, 0x92, 0xac, 0x97, 0xf1, 0x2c, 0x14, 0xb7, 0xb2, 0x1d, 0xb7, 0x6f, 0x96, 0xb3, 0xc0, 590 0x95, 0xed, 0xc0, 0x9a, 0xf3, 0xd8, 0x51, 0x64, 0xcd, 0xf9, 0xec, 0x28, 0xb4, 0xe6, 0x9a, 0xec, 591 0x28, 0xb6, 0xe6, 0x5a, 0xec, 0x28, 0xb8, 0xe6, 0xda, 0xec, 0x28, 0xba, 0xe6, 0x3a, 0xec, 0x28, 592 0xbc, 0xe6, 0xba, 0xec, 0x28, 0xbe, 0xe6, 0x7a, 0x4e, 0x75, 0x67, 0x80, 0x58, 0xf2, 0x08, 0xd5, 593 0x9d, 0x11, 0x74, 0xeb, 0x66, 0x96, 0x86, 0xd0, 0xad, 0x97, 0x59, 0x1a, 0x43, 0xb7, 0xe9, 0x20, 594 0x1f, 0x66, 0x3a, 0x48, 0x32, 0xc5, 0xd5, 0xe2, 0x61, 0x34, 0xdb, 0x5f, 0xfb, 0xaf, 0xaf, 0xfd, 595 0x6d, 0x13, 0xf7, 0x05, 0x04, 0xfe, 0xbc, 0x76, 0x4a, 0xbc, 0xbf, 0xf9, 0x3f, 0xb8, 0xf9, 0xcd, 596 0x2c, 0x7d, 0xeb, 0xeb, 0xf3, 0xd8, 0xf8, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x13, 0x20, 0xf1, 0x6c, 597 0x27, 0x06, 0x00, 0x00, 598} 599 600func NewPopulatedNinRepNative(r randyPacked, easy bool) *NinRepNative { 601 this := &NinRepNative{} 602 if r.Intn(5) != 0 { 603 v1 := r.Intn(10) 604 this.Field1 = make([]float64, v1) 605 for i := 0; i < v1; i++ { 606 this.Field1[i] = float64(r.Float64()) 607 if r.Intn(2) == 0 { 608 this.Field1[i] *= -1 609 } 610 } 611 } 612 if r.Intn(5) != 0 { 613 v2 := r.Intn(10) 614 this.Field2 = make([]float32, v2) 615 for i := 0; i < v2; i++ { 616 this.Field2[i] = float32(r.Float32()) 617 if r.Intn(2) == 0 { 618 this.Field2[i] *= -1 619 } 620 } 621 } 622 if r.Intn(5) != 0 { 623 v3 := r.Intn(10) 624 this.Field3 = make([]int32, v3) 625 for i := 0; i < v3; i++ { 626 this.Field3[i] = int32(r.Int31()) 627 if r.Intn(2) == 0 { 628 this.Field3[i] *= -1 629 } 630 } 631 } 632 if r.Intn(5) != 0 { 633 v4 := r.Intn(10) 634 this.Field4 = make([]int64, v4) 635 for i := 0; i < v4; i++ { 636 this.Field4[i] = int64(r.Int63()) 637 if r.Intn(2) == 0 { 638 this.Field4[i] *= -1 639 } 640 } 641 } 642 if r.Intn(5) != 0 { 643 v5 := r.Intn(10) 644 this.Field5 = make([]uint32, v5) 645 for i := 0; i < v5; i++ { 646 this.Field5[i] = uint32(r.Uint32()) 647 } 648 } 649 if r.Intn(5) != 0 { 650 v6 := r.Intn(10) 651 this.Field6 = make([]uint64, v6) 652 for i := 0; i < v6; i++ { 653 this.Field6[i] = uint64(uint64(r.Uint32())) 654 } 655 } 656 if r.Intn(5) != 0 { 657 v7 := r.Intn(10) 658 this.Field7 = make([]int32, v7) 659 for i := 0; i < v7; i++ { 660 this.Field7[i] = int32(r.Int31()) 661 if r.Intn(2) == 0 { 662 this.Field7[i] *= -1 663 } 664 } 665 } 666 if r.Intn(5) != 0 { 667 v8 := r.Intn(10) 668 this.Field8 = make([]int64, v8) 669 for i := 0; i < v8; i++ { 670 this.Field8[i] = int64(r.Int63()) 671 if r.Intn(2) == 0 { 672 this.Field8[i] *= -1 673 } 674 } 675 } 676 if r.Intn(5) != 0 { 677 v9 := r.Intn(10) 678 this.Field9 = make([]uint32, v9) 679 for i := 0; i < v9; i++ { 680 this.Field9[i] = uint32(r.Uint32()) 681 } 682 } 683 if r.Intn(5) != 0 { 684 v10 := r.Intn(10) 685 this.Field10 = make([]int32, v10) 686 for i := 0; i < v10; i++ { 687 this.Field10[i] = int32(r.Int31()) 688 if r.Intn(2) == 0 { 689 this.Field10[i] *= -1 690 } 691 } 692 } 693 if r.Intn(5) != 0 { 694 v11 := r.Intn(10) 695 this.Field11 = make([]uint64, v11) 696 for i := 0; i < v11; i++ { 697 this.Field11[i] = uint64(uint64(r.Uint32())) 698 } 699 } 700 if r.Intn(5) != 0 { 701 v12 := r.Intn(10) 702 this.Field12 = make([]int64, v12) 703 for i := 0; i < v12; i++ { 704 this.Field12[i] = int64(r.Int63()) 705 if r.Intn(2) == 0 { 706 this.Field12[i] *= -1 707 } 708 } 709 } 710 if r.Intn(5) != 0 { 711 v13 := r.Intn(10) 712 this.Field13 = make([]bool, v13) 713 for i := 0; i < v13; i++ { 714 this.Field13[i] = bool(bool(r.Intn(2) == 0)) 715 } 716 } 717 if !easy && r.Intn(10) != 0 { 718 this.XXX_unrecognized = randUnrecognizedPacked(r, 14) 719 } 720 return this 721} 722 723func NewPopulatedNinRepPackedNative(r randyPacked, easy bool) *NinRepPackedNative { 724 this := &NinRepPackedNative{} 725 if r.Intn(5) != 0 { 726 v14 := r.Intn(10) 727 this.Field1 = make([]float64, v14) 728 for i := 0; i < v14; i++ { 729 this.Field1[i] = float64(r.Float64()) 730 if r.Intn(2) == 0 { 731 this.Field1[i] *= -1 732 } 733 } 734 } 735 if r.Intn(5) != 0 { 736 v15 := r.Intn(10) 737 this.Field2 = make([]float32, v15) 738 for i := 0; i < v15; i++ { 739 this.Field2[i] = float32(r.Float32()) 740 if r.Intn(2) == 0 { 741 this.Field2[i] *= -1 742 } 743 } 744 } 745 if r.Intn(5) != 0 { 746 v16 := r.Intn(10) 747 this.Field3 = make([]int32, v16) 748 for i := 0; i < v16; i++ { 749 this.Field3[i] = int32(r.Int31()) 750 if r.Intn(2) == 0 { 751 this.Field3[i] *= -1 752 } 753 } 754 } 755 if r.Intn(5) != 0 { 756 v17 := r.Intn(10) 757 this.Field4 = make([]int64, v17) 758 for i := 0; i < v17; i++ { 759 this.Field4[i] = int64(r.Int63()) 760 if r.Intn(2) == 0 { 761 this.Field4[i] *= -1 762 } 763 } 764 } 765 if r.Intn(5) != 0 { 766 v18 := r.Intn(10) 767 this.Field5 = make([]uint32, v18) 768 for i := 0; i < v18; i++ { 769 this.Field5[i] = uint32(r.Uint32()) 770 } 771 } 772 if r.Intn(5) != 0 { 773 v19 := r.Intn(10) 774 this.Field6 = make([]uint64, v19) 775 for i := 0; i < v19; i++ { 776 this.Field6[i] = uint64(uint64(r.Uint32())) 777 } 778 } 779 if r.Intn(5) != 0 { 780 v20 := r.Intn(10) 781 this.Field7 = make([]int32, v20) 782 for i := 0; i < v20; i++ { 783 this.Field7[i] = int32(r.Int31()) 784 if r.Intn(2) == 0 { 785 this.Field7[i] *= -1 786 } 787 } 788 } 789 if r.Intn(5) != 0 { 790 v21 := r.Intn(10) 791 this.Field8 = make([]int64, v21) 792 for i := 0; i < v21; i++ { 793 this.Field8[i] = int64(r.Int63()) 794 if r.Intn(2) == 0 { 795 this.Field8[i] *= -1 796 } 797 } 798 } 799 if r.Intn(5) != 0 { 800 v22 := r.Intn(10) 801 this.Field9 = make([]uint32, v22) 802 for i := 0; i < v22; i++ { 803 this.Field9[i] = uint32(r.Uint32()) 804 } 805 } 806 if r.Intn(5) != 0 { 807 v23 := r.Intn(10) 808 this.Field10 = make([]int32, v23) 809 for i := 0; i < v23; i++ { 810 this.Field10[i] = int32(r.Int31()) 811 if r.Intn(2) == 0 { 812 this.Field10[i] *= -1 813 } 814 } 815 } 816 if r.Intn(5) != 0 { 817 v24 := r.Intn(10) 818 this.Field11 = make([]uint64, v24) 819 for i := 0; i < v24; i++ { 820 this.Field11[i] = uint64(uint64(r.Uint32())) 821 } 822 } 823 if r.Intn(5) != 0 { 824 v25 := r.Intn(10) 825 this.Field12 = make([]int64, v25) 826 for i := 0; i < v25; i++ { 827 this.Field12[i] = int64(r.Int63()) 828 if r.Intn(2) == 0 { 829 this.Field12[i] *= -1 830 } 831 } 832 } 833 if r.Intn(5) != 0 { 834 v26 := r.Intn(10) 835 this.Field13 = make([]bool, v26) 836 for i := 0; i < v26; i++ { 837 this.Field13[i] = bool(bool(r.Intn(2) == 0)) 838 } 839 } 840 if !easy && r.Intn(10) != 0 { 841 this.XXX_unrecognized = randUnrecognizedPacked(r, 14) 842 } 843 return this 844} 845 846func NewPopulatedNinRepNativeUnsafe(r randyPacked, easy bool) *NinRepNativeUnsafe { 847 this := &NinRepNativeUnsafe{} 848 if r.Intn(5) != 0 { 849 v27 := r.Intn(10) 850 this.Field1 = make([]float64, v27) 851 for i := 0; i < v27; i++ { 852 this.Field1[i] = float64(r.Float64()) 853 if r.Intn(2) == 0 { 854 this.Field1[i] *= -1 855 } 856 } 857 } 858 if r.Intn(5) != 0 { 859 v28 := r.Intn(10) 860 this.Field2 = make([]float32, v28) 861 for i := 0; i < v28; i++ { 862 this.Field2[i] = float32(r.Float32()) 863 if r.Intn(2) == 0 { 864 this.Field2[i] *= -1 865 } 866 } 867 } 868 if r.Intn(5) != 0 { 869 v29 := r.Intn(10) 870 this.Field3 = make([]int32, v29) 871 for i := 0; i < v29; i++ { 872 this.Field3[i] = int32(r.Int31()) 873 if r.Intn(2) == 0 { 874 this.Field3[i] *= -1 875 } 876 } 877 } 878 if r.Intn(5) != 0 { 879 v30 := r.Intn(10) 880 this.Field4 = make([]int64, v30) 881 for i := 0; i < v30; i++ { 882 this.Field4[i] = int64(r.Int63()) 883 if r.Intn(2) == 0 { 884 this.Field4[i] *= -1 885 } 886 } 887 } 888 if r.Intn(5) != 0 { 889 v31 := r.Intn(10) 890 this.Field5 = make([]uint32, v31) 891 for i := 0; i < v31; i++ { 892 this.Field5[i] = uint32(r.Uint32()) 893 } 894 } 895 if r.Intn(5) != 0 { 896 v32 := r.Intn(10) 897 this.Field6 = make([]uint64, v32) 898 for i := 0; i < v32; i++ { 899 this.Field6[i] = uint64(uint64(r.Uint32())) 900 } 901 } 902 if r.Intn(5) != 0 { 903 v33 := r.Intn(10) 904 this.Field7 = make([]int32, v33) 905 for i := 0; i < v33; i++ { 906 this.Field7[i] = int32(r.Int31()) 907 if r.Intn(2) == 0 { 908 this.Field7[i] *= -1 909 } 910 } 911 } 912 if r.Intn(5) != 0 { 913 v34 := r.Intn(10) 914 this.Field8 = make([]int64, v34) 915 for i := 0; i < v34; i++ { 916 this.Field8[i] = int64(r.Int63()) 917 if r.Intn(2) == 0 { 918 this.Field8[i] *= -1 919 } 920 } 921 } 922 if r.Intn(5) != 0 { 923 v35 := r.Intn(10) 924 this.Field9 = make([]uint32, v35) 925 for i := 0; i < v35; i++ { 926 this.Field9[i] = uint32(r.Uint32()) 927 } 928 } 929 if r.Intn(5) != 0 { 930 v36 := r.Intn(10) 931 this.Field10 = make([]int32, v36) 932 for i := 0; i < v36; i++ { 933 this.Field10[i] = int32(r.Int31()) 934 if r.Intn(2) == 0 { 935 this.Field10[i] *= -1 936 } 937 } 938 } 939 if r.Intn(5) != 0 { 940 v37 := r.Intn(10) 941 this.Field11 = make([]uint64, v37) 942 for i := 0; i < v37; i++ { 943 this.Field11[i] = uint64(uint64(r.Uint32())) 944 } 945 } 946 if r.Intn(5) != 0 { 947 v38 := r.Intn(10) 948 this.Field12 = make([]int64, v38) 949 for i := 0; i < v38; i++ { 950 this.Field12[i] = int64(r.Int63()) 951 if r.Intn(2) == 0 { 952 this.Field12[i] *= -1 953 } 954 } 955 } 956 if r.Intn(5) != 0 { 957 v39 := r.Intn(10) 958 this.Field13 = make([]bool, v39) 959 for i := 0; i < v39; i++ { 960 this.Field13[i] = bool(bool(r.Intn(2) == 0)) 961 } 962 } 963 if !easy && r.Intn(10) != 0 { 964 this.XXX_unrecognized = randUnrecognizedPacked(r, 14) 965 } 966 return this 967} 968 969func NewPopulatedNinRepPackedNativeUnsafe(r randyPacked, easy bool) *NinRepPackedNativeUnsafe { 970 this := &NinRepPackedNativeUnsafe{} 971 if r.Intn(5) != 0 { 972 v40 := r.Intn(10) 973 this.Field1 = make([]float64, v40) 974 for i := 0; i < v40; i++ { 975 this.Field1[i] = float64(r.Float64()) 976 if r.Intn(2) == 0 { 977 this.Field1[i] *= -1 978 } 979 } 980 } 981 if r.Intn(5) != 0 { 982 v41 := r.Intn(10) 983 this.Field2 = make([]float32, v41) 984 for i := 0; i < v41; i++ { 985 this.Field2[i] = float32(r.Float32()) 986 if r.Intn(2) == 0 { 987 this.Field2[i] *= -1 988 } 989 } 990 } 991 if r.Intn(5) != 0 { 992 v42 := r.Intn(10) 993 this.Field3 = make([]int32, v42) 994 for i := 0; i < v42; i++ { 995 this.Field3[i] = int32(r.Int31()) 996 if r.Intn(2) == 0 { 997 this.Field3[i] *= -1 998 } 999 } 1000 } 1001 if r.Intn(5) != 0 { 1002 v43 := r.Intn(10) 1003 this.Field4 = make([]int64, v43) 1004 for i := 0; i < v43; i++ { 1005 this.Field4[i] = int64(r.Int63()) 1006 if r.Intn(2) == 0 { 1007 this.Field4[i] *= -1 1008 } 1009 } 1010 } 1011 if r.Intn(5) != 0 { 1012 v44 := r.Intn(10) 1013 this.Field5 = make([]uint32, v44) 1014 for i := 0; i < v44; i++ { 1015 this.Field5[i] = uint32(r.Uint32()) 1016 } 1017 } 1018 if r.Intn(5) != 0 { 1019 v45 := r.Intn(10) 1020 this.Field6 = make([]uint64, v45) 1021 for i := 0; i < v45; i++ { 1022 this.Field6[i] = uint64(uint64(r.Uint32())) 1023 } 1024 } 1025 if r.Intn(5) != 0 { 1026 v46 := r.Intn(10) 1027 this.Field7 = make([]int32, v46) 1028 for i := 0; i < v46; i++ { 1029 this.Field7[i] = int32(r.Int31()) 1030 if r.Intn(2) == 0 { 1031 this.Field7[i] *= -1 1032 } 1033 } 1034 } 1035 if r.Intn(5) != 0 { 1036 v47 := r.Intn(10) 1037 this.Field8 = make([]int64, v47) 1038 for i := 0; i < v47; i++ { 1039 this.Field8[i] = int64(r.Int63()) 1040 if r.Intn(2) == 0 { 1041 this.Field8[i] *= -1 1042 } 1043 } 1044 } 1045 if r.Intn(5) != 0 { 1046 v48 := r.Intn(10) 1047 this.Field9 = make([]uint32, v48) 1048 for i := 0; i < v48; i++ { 1049 this.Field9[i] = uint32(r.Uint32()) 1050 } 1051 } 1052 if r.Intn(5) != 0 { 1053 v49 := r.Intn(10) 1054 this.Field10 = make([]int32, v49) 1055 for i := 0; i < v49; i++ { 1056 this.Field10[i] = int32(r.Int31()) 1057 if r.Intn(2) == 0 { 1058 this.Field10[i] *= -1 1059 } 1060 } 1061 } 1062 if r.Intn(5) != 0 { 1063 v50 := r.Intn(10) 1064 this.Field11 = make([]uint64, v50) 1065 for i := 0; i < v50; i++ { 1066 this.Field11[i] = uint64(uint64(r.Uint32())) 1067 } 1068 } 1069 if r.Intn(5) != 0 { 1070 v51 := r.Intn(10) 1071 this.Field12 = make([]int64, v51) 1072 for i := 0; i < v51; i++ { 1073 this.Field12[i] = int64(r.Int63()) 1074 if r.Intn(2) == 0 { 1075 this.Field12[i] *= -1 1076 } 1077 } 1078 } 1079 if r.Intn(5) != 0 { 1080 v52 := r.Intn(10) 1081 this.Field13 = make([]bool, v52) 1082 for i := 0; i < v52; i++ { 1083 this.Field13[i] = bool(bool(r.Intn(2) == 0)) 1084 } 1085 } 1086 if !easy && r.Intn(10) != 0 { 1087 this.XXX_unrecognized = randUnrecognizedPacked(r, 14) 1088 } 1089 return this 1090} 1091 1092type randyPacked interface { 1093 Float32() float32 1094 Float64() float64 1095 Int63() int64 1096 Int31() int32 1097 Uint32() uint32 1098 Intn(n int) int 1099} 1100 1101func randUTF8RunePacked(r randyPacked) rune { 1102 ru := r.Intn(62) 1103 if ru < 10 { 1104 return rune(ru + 48) 1105 } else if ru < 36 { 1106 return rune(ru + 55) 1107 } 1108 return rune(ru + 61) 1109} 1110func randStringPacked(r randyPacked) string { 1111 v53 := r.Intn(100) 1112 tmps := make([]rune, v53) 1113 for i := 0; i < v53; i++ { 1114 tmps[i] = randUTF8RunePacked(r) 1115 } 1116 return string(tmps) 1117} 1118func randUnrecognizedPacked(r randyPacked, maxFieldNumber int) (dAtA []byte) { 1119 l := r.Intn(5) 1120 for i := 0; i < l; i++ { 1121 wire := r.Intn(4) 1122 if wire == 3 { 1123 wire = 5 1124 } 1125 fieldNumber := maxFieldNumber + r.Intn(100) 1126 dAtA = randFieldPacked(dAtA, r, fieldNumber, wire) 1127 } 1128 return dAtA 1129} 1130func randFieldPacked(dAtA []byte, r randyPacked, fieldNumber int, wire int) []byte { 1131 key := uint32(fieldNumber)<<3 | uint32(wire) 1132 switch wire { 1133 case 0: 1134 dAtA = encodeVarintPopulatePacked(dAtA, uint64(key)) 1135 v54 := r.Int63() 1136 if r.Intn(2) == 0 { 1137 v54 *= -1 1138 } 1139 dAtA = encodeVarintPopulatePacked(dAtA, uint64(v54)) 1140 case 1: 1141 dAtA = encodeVarintPopulatePacked(dAtA, uint64(key)) 1142 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 1143 case 2: 1144 dAtA = encodeVarintPopulatePacked(dAtA, uint64(key)) 1145 ll := r.Intn(100) 1146 dAtA = encodeVarintPopulatePacked(dAtA, uint64(ll)) 1147 for j := 0; j < ll; j++ { 1148 dAtA = append(dAtA, byte(r.Intn(256))) 1149 } 1150 default: 1151 dAtA = encodeVarintPopulatePacked(dAtA, uint64(key)) 1152 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 1153 } 1154 return dAtA 1155} 1156func encodeVarintPopulatePacked(dAtA []byte, v uint64) []byte { 1157 for v >= 1<<7 { 1158 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) 1159 v >>= 7 1160 } 1161 dAtA = append(dAtA, uint8(v)) 1162 return dAtA 1163} 1164func (m *NinRepNative) Unmarshal(dAtA []byte) error { 1165 l := len(dAtA) 1166 iNdEx := 0 1167 for iNdEx < l { 1168 preIndex := iNdEx 1169 var wire uint64 1170 for shift := uint(0); ; shift += 7 { 1171 if shift >= 64 { 1172 return ErrIntOverflowPacked 1173 } 1174 if iNdEx >= l { 1175 return io.ErrUnexpectedEOF 1176 } 1177 b := dAtA[iNdEx] 1178 iNdEx++ 1179 wire |= uint64(b&0x7F) << shift 1180 if b < 0x80 { 1181 break 1182 } 1183 } 1184 fieldNum := int32(wire >> 3) 1185 wireType := int(wire & 0x7) 1186 if wireType == 4 { 1187 return fmt.Errorf("proto: NinRepNative: wiretype end group for non-group") 1188 } 1189 if fieldNum <= 0 { 1190 return fmt.Errorf("proto: NinRepNative: illegal tag %d (wire type %d)", fieldNum, wire) 1191 } 1192 switch fieldNum { 1193 case 1: 1194 if wireType == 1 { 1195 var v uint64 1196 if (iNdEx + 8) > l { 1197 return io.ErrUnexpectedEOF 1198 } 1199 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 1200 iNdEx += 8 1201 v2 := float64(math.Float64frombits(v)) 1202 m.Field1 = append(m.Field1, v2) 1203 } else if wireType == 2 { 1204 var packedLen int 1205 for shift := uint(0); ; shift += 7 { 1206 if shift >= 64 { 1207 return ErrIntOverflowPacked 1208 } 1209 if iNdEx >= l { 1210 return io.ErrUnexpectedEOF 1211 } 1212 b := dAtA[iNdEx] 1213 iNdEx++ 1214 packedLen |= int(b&0x7F) << shift 1215 if b < 0x80 { 1216 break 1217 } 1218 } 1219 if packedLen < 0 { 1220 return ErrInvalidLengthPacked 1221 } 1222 postIndex := iNdEx + packedLen 1223 if postIndex < 0 { 1224 return ErrInvalidLengthPacked 1225 } 1226 if postIndex > l { 1227 return io.ErrUnexpectedEOF 1228 } 1229 var elementCount int 1230 elementCount = packedLen / 8 1231 if elementCount != 0 && len(m.Field1) == 0 { 1232 m.Field1 = make([]float64, 0, elementCount) 1233 } 1234 for iNdEx < postIndex { 1235 var v uint64 1236 if (iNdEx + 8) > l { 1237 return io.ErrUnexpectedEOF 1238 } 1239 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 1240 iNdEx += 8 1241 v2 := float64(math.Float64frombits(v)) 1242 m.Field1 = append(m.Field1, v2) 1243 } 1244 } else { 1245 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 1246 } 1247 case 2: 1248 if wireType == 5 { 1249 var v uint32 1250 if (iNdEx + 4) > l { 1251 return io.ErrUnexpectedEOF 1252 } 1253 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 1254 iNdEx += 4 1255 v2 := float32(math.Float32frombits(v)) 1256 m.Field2 = append(m.Field2, v2) 1257 } else if wireType == 2 { 1258 var packedLen int 1259 for shift := uint(0); ; shift += 7 { 1260 if shift >= 64 { 1261 return ErrIntOverflowPacked 1262 } 1263 if iNdEx >= l { 1264 return io.ErrUnexpectedEOF 1265 } 1266 b := dAtA[iNdEx] 1267 iNdEx++ 1268 packedLen |= int(b&0x7F) << shift 1269 if b < 0x80 { 1270 break 1271 } 1272 } 1273 if packedLen < 0 { 1274 return ErrInvalidLengthPacked 1275 } 1276 postIndex := iNdEx + packedLen 1277 if postIndex < 0 { 1278 return ErrInvalidLengthPacked 1279 } 1280 if postIndex > l { 1281 return io.ErrUnexpectedEOF 1282 } 1283 var elementCount int 1284 elementCount = packedLen / 4 1285 if elementCount != 0 && len(m.Field2) == 0 { 1286 m.Field2 = make([]float32, 0, elementCount) 1287 } 1288 for iNdEx < postIndex { 1289 var v uint32 1290 if (iNdEx + 4) > l { 1291 return io.ErrUnexpectedEOF 1292 } 1293 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 1294 iNdEx += 4 1295 v2 := float32(math.Float32frombits(v)) 1296 m.Field2 = append(m.Field2, v2) 1297 } 1298 } else { 1299 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 1300 } 1301 case 3: 1302 if wireType == 0 { 1303 var v int32 1304 for shift := uint(0); ; shift += 7 { 1305 if shift >= 64 { 1306 return ErrIntOverflowPacked 1307 } 1308 if iNdEx >= l { 1309 return io.ErrUnexpectedEOF 1310 } 1311 b := dAtA[iNdEx] 1312 iNdEx++ 1313 v |= int32(b&0x7F) << shift 1314 if b < 0x80 { 1315 break 1316 } 1317 } 1318 m.Field3 = append(m.Field3, v) 1319 } else if wireType == 2 { 1320 var packedLen int 1321 for shift := uint(0); ; shift += 7 { 1322 if shift >= 64 { 1323 return ErrIntOverflowPacked 1324 } 1325 if iNdEx >= l { 1326 return io.ErrUnexpectedEOF 1327 } 1328 b := dAtA[iNdEx] 1329 iNdEx++ 1330 packedLen |= int(b&0x7F) << shift 1331 if b < 0x80 { 1332 break 1333 } 1334 } 1335 if packedLen < 0 { 1336 return ErrInvalidLengthPacked 1337 } 1338 postIndex := iNdEx + packedLen 1339 if postIndex < 0 { 1340 return ErrInvalidLengthPacked 1341 } 1342 if postIndex > l { 1343 return io.ErrUnexpectedEOF 1344 } 1345 var elementCount int 1346 var count int 1347 for _, integer := range dAtA[iNdEx:postIndex] { 1348 if integer < 128 { 1349 count++ 1350 } 1351 } 1352 elementCount = count 1353 if elementCount != 0 && len(m.Field3) == 0 { 1354 m.Field3 = make([]int32, 0, elementCount) 1355 } 1356 for iNdEx < postIndex { 1357 var v int32 1358 for shift := uint(0); ; shift += 7 { 1359 if shift >= 64 { 1360 return ErrIntOverflowPacked 1361 } 1362 if iNdEx >= l { 1363 return io.ErrUnexpectedEOF 1364 } 1365 b := dAtA[iNdEx] 1366 iNdEx++ 1367 v |= int32(b&0x7F) << shift 1368 if b < 0x80 { 1369 break 1370 } 1371 } 1372 m.Field3 = append(m.Field3, v) 1373 } 1374 } else { 1375 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 1376 } 1377 case 4: 1378 if wireType == 0 { 1379 var v int64 1380 for shift := uint(0); ; shift += 7 { 1381 if shift >= 64 { 1382 return ErrIntOverflowPacked 1383 } 1384 if iNdEx >= l { 1385 return io.ErrUnexpectedEOF 1386 } 1387 b := dAtA[iNdEx] 1388 iNdEx++ 1389 v |= int64(b&0x7F) << shift 1390 if b < 0x80 { 1391 break 1392 } 1393 } 1394 m.Field4 = append(m.Field4, v) 1395 } else if wireType == 2 { 1396 var packedLen int 1397 for shift := uint(0); ; shift += 7 { 1398 if shift >= 64 { 1399 return ErrIntOverflowPacked 1400 } 1401 if iNdEx >= l { 1402 return io.ErrUnexpectedEOF 1403 } 1404 b := dAtA[iNdEx] 1405 iNdEx++ 1406 packedLen |= int(b&0x7F) << shift 1407 if b < 0x80 { 1408 break 1409 } 1410 } 1411 if packedLen < 0 { 1412 return ErrInvalidLengthPacked 1413 } 1414 postIndex := iNdEx + packedLen 1415 if postIndex < 0 { 1416 return ErrInvalidLengthPacked 1417 } 1418 if postIndex > l { 1419 return io.ErrUnexpectedEOF 1420 } 1421 var elementCount int 1422 var count int 1423 for _, integer := range dAtA[iNdEx:postIndex] { 1424 if integer < 128 { 1425 count++ 1426 } 1427 } 1428 elementCount = count 1429 if elementCount != 0 && len(m.Field4) == 0 { 1430 m.Field4 = make([]int64, 0, elementCount) 1431 } 1432 for iNdEx < postIndex { 1433 var v int64 1434 for shift := uint(0); ; shift += 7 { 1435 if shift >= 64 { 1436 return ErrIntOverflowPacked 1437 } 1438 if iNdEx >= l { 1439 return io.ErrUnexpectedEOF 1440 } 1441 b := dAtA[iNdEx] 1442 iNdEx++ 1443 v |= int64(b&0x7F) << shift 1444 if b < 0x80 { 1445 break 1446 } 1447 } 1448 m.Field4 = append(m.Field4, v) 1449 } 1450 } else { 1451 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) 1452 } 1453 case 5: 1454 if wireType == 0 { 1455 var v uint32 1456 for shift := uint(0); ; shift += 7 { 1457 if shift >= 64 { 1458 return ErrIntOverflowPacked 1459 } 1460 if iNdEx >= l { 1461 return io.ErrUnexpectedEOF 1462 } 1463 b := dAtA[iNdEx] 1464 iNdEx++ 1465 v |= uint32(b&0x7F) << shift 1466 if b < 0x80 { 1467 break 1468 } 1469 } 1470 m.Field5 = append(m.Field5, v) 1471 } else if wireType == 2 { 1472 var packedLen int 1473 for shift := uint(0); ; shift += 7 { 1474 if shift >= 64 { 1475 return ErrIntOverflowPacked 1476 } 1477 if iNdEx >= l { 1478 return io.ErrUnexpectedEOF 1479 } 1480 b := dAtA[iNdEx] 1481 iNdEx++ 1482 packedLen |= int(b&0x7F) << shift 1483 if b < 0x80 { 1484 break 1485 } 1486 } 1487 if packedLen < 0 { 1488 return ErrInvalidLengthPacked 1489 } 1490 postIndex := iNdEx + packedLen 1491 if postIndex < 0 { 1492 return ErrInvalidLengthPacked 1493 } 1494 if postIndex > l { 1495 return io.ErrUnexpectedEOF 1496 } 1497 var elementCount int 1498 var count int 1499 for _, integer := range dAtA[iNdEx:postIndex] { 1500 if integer < 128 { 1501 count++ 1502 } 1503 } 1504 elementCount = count 1505 if elementCount != 0 && len(m.Field5) == 0 { 1506 m.Field5 = make([]uint32, 0, elementCount) 1507 } 1508 for iNdEx < postIndex { 1509 var v uint32 1510 for shift := uint(0); ; shift += 7 { 1511 if shift >= 64 { 1512 return ErrIntOverflowPacked 1513 } 1514 if iNdEx >= l { 1515 return io.ErrUnexpectedEOF 1516 } 1517 b := dAtA[iNdEx] 1518 iNdEx++ 1519 v |= uint32(b&0x7F) << shift 1520 if b < 0x80 { 1521 break 1522 } 1523 } 1524 m.Field5 = append(m.Field5, v) 1525 } 1526 } else { 1527 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) 1528 } 1529 case 6: 1530 if wireType == 0 { 1531 var v uint64 1532 for shift := uint(0); ; shift += 7 { 1533 if shift >= 64 { 1534 return ErrIntOverflowPacked 1535 } 1536 if iNdEx >= l { 1537 return io.ErrUnexpectedEOF 1538 } 1539 b := dAtA[iNdEx] 1540 iNdEx++ 1541 v |= uint64(b&0x7F) << shift 1542 if b < 0x80 { 1543 break 1544 } 1545 } 1546 m.Field6 = append(m.Field6, v) 1547 } else if wireType == 2 { 1548 var packedLen int 1549 for shift := uint(0); ; shift += 7 { 1550 if shift >= 64 { 1551 return ErrIntOverflowPacked 1552 } 1553 if iNdEx >= l { 1554 return io.ErrUnexpectedEOF 1555 } 1556 b := dAtA[iNdEx] 1557 iNdEx++ 1558 packedLen |= int(b&0x7F) << shift 1559 if b < 0x80 { 1560 break 1561 } 1562 } 1563 if packedLen < 0 { 1564 return ErrInvalidLengthPacked 1565 } 1566 postIndex := iNdEx + packedLen 1567 if postIndex < 0 { 1568 return ErrInvalidLengthPacked 1569 } 1570 if postIndex > l { 1571 return io.ErrUnexpectedEOF 1572 } 1573 var elementCount int 1574 var count int 1575 for _, integer := range dAtA[iNdEx:postIndex] { 1576 if integer < 128 { 1577 count++ 1578 } 1579 } 1580 elementCount = count 1581 if elementCount != 0 && len(m.Field6) == 0 { 1582 m.Field6 = make([]uint64, 0, elementCount) 1583 } 1584 for iNdEx < postIndex { 1585 var v uint64 1586 for shift := uint(0); ; shift += 7 { 1587 if shift >= 64 { 1588 return ErrIntOverflowPacked 1589 } 1590 if iNdEx >= l { 1591 return io.ErrUnexpectedEOF 1592 } 1593 b := dAtA[iNdEx] 1594 iNdEx++ 1595 v |= uint64(b&0x7F) << shift 1596 if b < 0x80 { 1597 break 1598 } 1599 } 1600 m.Field6 = append(m.Field6, v) 1601 } 1602 } else { 1603 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) 1604 } 1605 case 7: 1606 if wireType == 0 { 1607 var v int32 1608 for shift := uint(0); ; shift += 7 { 1609 if shift >= 64 { 1610 return ErrIntOverflowPacked 1611 } 1612 if iNdEx >= l { 1613 return io.ErrUnexpectedEOF 1614 } 1615 b := dAtA[iNdEx] 1616 iNdEx++ 1617 v |= int32(b&0x7F) << shift 1618 if b < 0x80 { 1619 break 1620 } 1621 } 1622 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 1623 m.Field7 = append(m.Field7, v) 1624 } else if wireType == 2 { 1625 var packedLen int 1626 for shift := uint(0); ; shift += 7 { 1627 if shift >= 64 { 1628 return ErrIntOverflowPacked 1629 } 1630 if iNdEx >= l { 1631 return io.ErrUnexpectedEOF 1632 } 1633 b := dAtA[iNdEx] 1634 iNdEx++ 1635 packedLen |= int(b&0x7F) << shift 1636 if b < 0x80 { 1637 break 1638 } 1639 } 1640 if packedLen < 0 { 1641 return ErrInvalidLengthPacked 1642 } 1643 postIndex := iNdEx + packedLen 1644 if postIndex < 0 { 1645 return ErrInvalidLengthPacked 1646 } 1647 if postIndex > l { 1648 return io.ErrUnexpectedEOF 1649 } 1650 var elementCount int 1651 var count int 1652 for _, integer := range dAtA[iNdEx:postIndex] { 1653 if integer < 128 { 1654 count++ 1655 } 1656 } 1657 elementCount = count 1658 if elementCount != 0 && len(m.Field7) == 0 { 1659 m.Field7 = make([]int32, 0, elementCount) 1660 } 1661 for iNdEx < postIndex { 1662 var v int32 1663 for shift := uint(0); ; shift += 7 { 1664 if shift >= 64 { 1665 return ErrIntOverflowPacked 1666 } 1667 if iNdEx >= l { 1668 return io.ErrUnexpectedEOF 1669 } 1670 b := dAtA[iNdEx] 1671 iNdEx++ 1672 v |= int32(b&0x7F) << shift 1673 if b < 0x80 { 1674 break 1675 } 1676 } 1677 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 1678 m.Field7 = append(m.Field7, v) 1679 } 1680 } else { 1681 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) 1682 } 1683 case 8: 1684 if wireType == 0 { 1685 var v uint64 1686 for shift := uint(0); ; shift += 7 { 1687 if shift >= 64 { 1688 return ErrIntOverflowPacked 1689 } 1690 if iNdEx >= l { 1691 return io.ErrUnexpectedEOF 1692 } 1693 b := dAtA[iNdEx] 1694 iNdEx++ 1695 v |= uint64(b&0x7F) << shift 1696 if b < 0x80 { 1697 break 1698 } 1699 } 1700 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 1701 m.Field8 = append(m.Field8, int64(v)) 1702 } else if wireType == 2 { 1703 var packedLen int 1704 for shift := uint(0); ; shift += 7 { 1705 if shift >= 64 { 1706 return ErrIntOverflowPacked 1707 } 1708 if iNdEx >= l { 1709 return io.ErrUnexpectedEOF 1710 } 1711 b := dAtA[iNdEx] 1712 iNdEx++ 1713 packedLen |= int(b&0x7F) << shift 1714 if b < 0x80 { 1715 break 1716 } 1717 } 1718 if packedLen < 0 { 1719 return ErrInvalidLengthPacked 1720 } 1721 postIndex := iNdEx + packedLen 1722 if postIndex < 0 { 1723 return ErrInvalidLengthPacked 1724 } 1725 if postIndex > l { 1726 return io.ErrUnexpectedEOF 1727 } 1728 var elementCount int 1729 var count int 1730 for _, integer := range dAtA[iNdEx:postIndex] { 1731 if integer < 128 { 1732 count++ 1733 } 1734 } 1735 elementCount = count 1736 if elementCount != 0 && len(m.Field8) == 0 { 1737 m.Field8 = make([]int64, 0, elementCount) 1738 } 1739 for iNdEx < postIndex { 1740 var v uint64 1741 for shift := uint(0); ; shift += 7 { 1742 if shift >= 64 { 1743 return ErrIntOverflowPacked 1744 } 1745 if iNdEx >= l { 1746 return io.ErrUnexpectedEOF 1747 } 1748 b := dAtA[iNdEx] 1749 iNdEx++ 1750 v |= uint64(b&0x7F) << shift 1751 if b < 0x80 { 1752 break 1753 } 1754 } 1755 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 1756 m.Field8 = append(m.Field8, int64(v)) 1757 } 1758 } else { 1759 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) 1760 } 1761 case 9: 1762 if wireType == 5 { 1763 var v uint32 1764 if (iNdEx + 4) > l { 1765 return io.ErrUnexpectedEOF 1766 } 1767 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 1768 iNdEx += 4 1769 m.Field9 = append(m.Field9, v) 1770 } else if wireType == 2 { 1771 var packedLen int 1772 for shift := uint(0); ; shift += 7 { 1773 if shift >= 64 { 1774 return ErrIntOverflowPacked 1775 } 1776 if iNdEx >= l { 1777 return io.ErrUnexpectedEOF 1778 } 1779 b := dAtA[iNdEx] 1780 iNdEx++ 1781 packedLen |= int(b&0x7F) << shift 1782 if b < 0x80 { 1783 break 1784 } 1785 } 1786 if packedLen < 0 { 1787 return ErrInvalidLengthPacked 1788 } 1789 postIndex := iNdEx + packedLen 1790 if postIndex < 0 { 1791 return ErrInvalidLengthPacked 1792 } 1793 if postIndex > l { 1794 return io.ErrUnexpectedEOF 1795 } 1796 var elementCount int 1797 elementCount = packedLen / 4 1798 if elementCount != 0 && len(m.Field9) == 0 { 1799 m.Field9 = make([]uint32, 0, elementCount) 1800 } 1801 for iNdEx < postIndex { 1802 var v uint32 1803 if (iNdEx + 4) > l { 1804 return io.ErrUnexpectedEOF 1805 } 1806 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 1807 iNdEx += 4 1808 m.Field9 = append(m.Field9, v) 1809 } 1810 } else { 1811 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) 1812 } 1813 case 10: 1814 if wireType == 5 { 1815 var v int32 1816 if (iNdEx + 4) > l { 1817 return io.ErrUnexpectedEOF 1818 } 1819 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 1820 iNdEx += 4 1821 m.Field10 = append(m.Field10, v) 1822 } else if wireType == 2 { 1823 var packedLen int 1824 for shift := uint(0); ; shift += 7 { 1825 if shift >= 64 { 1826 return ErrIntOverflowPacked 1827 } 1828 if iNdEx >= l { 1829 return io.ErrUnexpectedEOF 1830 } 1831 b := dAtA[iNdEx] 1832 iNdEx++ 1833 packedLen |= int(b&0x7F) << shift 1834 if b < 0x80 { 1835 break 1836 } 1837 } 1838 if packedLen < 0 { 1839 return ErrInvalidLengthPacked 1840 } 1841 postIndex := iNdEx + packedLen 1842 if postIndex < 0 { 1843 return ErrInvalidLengthPacked 1844 } 1845 if postIndex > l { 1846 return io.ErrUnexpectedEOF 1847 } 1848 var elementCount int 1849 elementCount = packedLen / 4 1850 if elementCount != 0 && len(m.Field10) == 0 { 1851 m.Field10 = make([]int32, 0, elementCount) 1852 } 1853 for iNdEx < postIndex { 1854 var v int32 1855 if (iNdEx + 4) > l { 1856 return io.ErrUnexpectedEOF 1857 } 1858 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 1859 iNdEx += 4 1860 m.Field10 = append(m.Field10, v) 1861 } 1862 } else { 1863 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) 1864 } 1865 case 11: 1866 if wireType == 1 { 1867 var v uint64 1868 if (iNdEx + 8) > l { 1869 return io.ErrUnexpectedEOF 1870 } 1871 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 1872 iNdEx += 8 1873 m.Field11 = append(m.Field11, v) 1874 } else if wireType == 2 { 1875 var packedLen int 1876 for shift := uint(0); ; shift += 7 { 1877 if shift >= 64 { 1878 return ErrIntOverflowPacked 1879 } 1880 if iNdEx >= l { 1881 return io.ErrUnexpectedEOF 1882 } 1883 b := dAtA[iNdEx] 1884 iNdEx++ 1885 packedLen |= int(b&0x7F) << shift 1886 if b < 0x80 { 1887 break 1888 } 1889 } 1890 if packedLen < 0 { 1891 return ErrInvalidLengthPacked 1892 } 1893 postIndex := iNdEx + packedLen 1894 if postIndex < 0 { 1895 return ErrInvalidLengthPacked 1896 } 1897 if postIndex > l { 1898 return io.ErrUnexpectedEOF 1899 } 1900 var elementCount int 1901 elementCount = packedLen / 8 1902 if elementCount != 0 && len(m.Field11) == 0 { 1903 m.Field11 = make([]uint64, 0, elementCount) 1904 } 1905 for iNdEx < postIndex { 1906 var v uint64 1907 if (iNdEx + 8) > l { 1908 return io.ErrUnexpectedEOF 1909 } 1910 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 1911 iNdEx += 8 1912 m.Field11 = append(m.Field11, v) 1913 } 1914 } else { 1915 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) 1916 } 1917 case 12: 1918 if wireType == 1 { 1919 var v int64 1920 if (iNdEx + 8) > l { 1921 return io.ErrUnexpectedEOF 1922 } 1923 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 1924 iNdEx += 8 1925 m.Field12 = append(m.Field12, v) 1926 } else if wireType == 2 { 1927 var packedLen int 1928 for shift := uint(0); ; shift += 7 { 1929 if shift >= 64 { 1930 return ErrIntOverflowPacked 1931 } 1932 if iNdEx >= l { 1933 return io.ErrUnexpectedEOF 1934 } 1935 b := dAtA[iNdEx] 1936 iNdEx++ 1937 packedLen |= int(b&0x7F) << shift 1938 if b < 0x80 { 1939 break 1940 } 1941 } 1942 if packedLen < 0 { 1943 return ErrInvalidLengthPacked 1944 } 1945 postIndex := iNdEx + packedLen 1946 if postIndex < 0 { 1947 return ErrInvalidLengthPacked 1948 } 1949 if postIndex > l { 1950 return io.ErrUnexpectedEOF 1951 } 1952 var elementCount int 1953 elementCount = packedLen / 8 1954 if elementCount != 0 && len(m.Field12) == 0 { 1955 m.Field12 = make([]int64, 0, elementCount) 1956 } 1957 for iNdEx < postIndex { 1958 var v int64 1959 if (iNdEx + 8) > l { 1960 return io.ErrUnexpectedEOF 1961 } 1962 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 1963 iNdEx += 8 1964 m.Field12 = append(m.Field12, v) 1965 } 1966 } else { 1967 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) 1968 } 1969 case 13: 1970 if wireType == 0 { 1971 var v int 1972 for shift := uint(0); ; shift += 7 { 1973 if shift >= 64 { 1974 return ErrIntOverflowPacked 1975 } 1976 if iNdEx >= l { 1977 return io.ErrUnexpectedEOF 1978 } 1979 b := dAtA[iNdEx] 1980 iNdEx++ 1981 v |= int(b&0x7F) << shift 1982 if b < 0x80 { 1983 break 1984 } 1985 } 1986 m.Field13 = append(m.Field13, bool(v != 0)) 1987 } else if wireType == 2 { 1988 var packedLen int 1989 for shift := uint(0); ; shift += 7 { 1990 if shift >= 64 { 1991 return ErrIntOverflowPacked 1992 } 1993 if iNdEx >= l { 1994 return io.ErrUnexpectedEOF 1995 } 1996 b := dAtA[iNdEx] 1997 iNdEx++ 1998 packedLen |= int(b&0x7F) << shift 1999 if b < 0x80 { 2000 break 2001 } 2002 } 2003 if packedLen < 0 { 2004 return ErrInvalidLengthPacked 2005 } 2006 postIndex := iNdEx + packedLen 2007 if postIndex < 0 { 2008 return ErrInvalidLengthPacked 2009 } 2010 if postIndex > l { 2011 return io.ErrUnexpectedEOF 2012 } 2013 var elementCount int 2014 elementCount = packedLen 2015 if elementCount != 0 && len(m.Field13) == 0 { 2016 m.Field13 = make([]bool, 0, elementCount) 2017 } 2018 for iNdEx < postIndex { 2019 var v int 2020 for shift := uint(0); ; shift += 7 { 2021 if shift >= 64 { 2022 return ErrIntOverflowPacked 2023 } 2024 if iNdEx >= l { 2025 return io.ErrUnexpectedEOF 2026 } 2027 b := dAtA[iNdEx] 2028 iNdEx++ 2029 v |= int(b&0x7F) << shift 2030 if b < 0x80 { 2031 break 2032 } 2033 } 2034 m.Field13 = append(m.Field13, bool(v != 0)) 2035 } 2036 } else { 2037 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) 2038 } 2039 default: 2040 iNdEx = preIndex 2041 skippy, err := skipPacked(dAtA[iNdEx:]) 2042 if err != nil { 2043 return err 2044 } 2045 if skippy < 0 { 2046 return ErrInvalidLengthPacked 2047 } 2048 if (iNdEx + skippy) < 0 { 2049 return ErrInvalidLengthPacked 2050 } 2051 if (iNdEx + skippy) > l { 2052 return io.ErrUnexpectedEOF 2053 } 2054 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 2055 iNdEx += skippy 2056 } 2057 } 2058 2059 if iNdEx > l { 2060 return io.ErrUnexpectedEOF 2061 } 2062 return nil 2063} 2064func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error { 2065 l := len(dAtA) 2066 iNdEx := 0 2067 for iNdEx < l { 2068 preIndex := iNdEx 2069 var wire uint64 2070 for shift := uint(0); ; shift += 7 { 2071 if shift >= 64 { 2072 return ErrIntOverflowPacked 2073 } 2074 if iNdEx >= l { 2075 return io.ErrUnexpectedEOF 2076 } 2077 b := dAtA[iNdEx] 2078 iNdEx++ 2079 wire |= uint64(b&0x7F) << shift 2080 if b < 0x80 { 2081 break 2082 } 2083 } 2084 fieldNum := int32(wire >> 3) 2085 wireType := int(wire & 0x7) 2086 if wireType == 4 { 2087 return fmt.Errorf("proto: NinRepPackedNative: wiretype end group for non-group") 2088 } 2089 if fieldNum <= 0 { 2090 return fmt.Errorf("proto: NinRepPackedNative: illegal tag %d (wire type %d)", fieldNum, wire) 2091 } 2092 switch fieldNum { 2093 case 1: 2094 if wireType == 1 { 2095 var v uint64 2096 if (iNdEx + 8) > l { 2097 return io.ErrUnexpectedEOF 2098 } 2099 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2100 iNdEx += 8 2101 v2 := float64(math.Float64frombits(v)) 2102 m.Field1 = append(m.Field1, v2) 2103 } else if wireType == 2 { 2104 var packedLen int 2105 for shift := uint(0); ; shift += 7 { 2106 if shift >= 64 { 2107 return ErrIntOverflowPacked 2108 } 2109 if iNdEx >= l { 2110 return io.ErrUnexpectedEOF 2111 } 2112 b := dAtA[iNdEx] 2113 iNdEx++ 2114 packedLen |= int(b&0x7F) << shift 2115 if b < 0x80 { 2116 break 2117 } 2118 } 2119 if packedLen < 0 { 2120 return ErrInvalidLengthPacked 2121 } 2122 postIndex := iNdEx + packedLen 2123 if postIndex < 0 { 2124 return ErrInvalidLengthPacked 2125 } 2126 if postIndex > l { 2127 return io.ErrUnexpectedEOF 2128 } 2129 var elementCount int 2130 elementCount = packedLen / 8 2131 if elementCount != 0 && len(m.Field1) == 0 { 2132 m.Field1 = make([]float64, 0, elementCount) 2133 } 2134 for iNdEx < postIndex { 2135 var v uint64 2136 if (iNdEx + 8) > l { 2137 return io.ErrUnexpectedEOF 2138 } 2139 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2140 iNdEx += 8 2141 v2 := float64(math.Float64frombits(v)) 2142 m.Field1 = append(m.Field1, v2) 2143 } 2144 } else { 2145 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 2146 } 2147 case 2: 2148 if wireType == 5 { 2149 var v uint32 2150 if (iNdEx + 4) > l { 2151 return io.ErrUnexpectedEOF 2152 } 2153 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2154 iNdEx += 4 2155 v2 := float32(math.Float32frombits(v)) 2156 m.Field2 = append(m.Field2, v2) 2157 } else if wireType == 2 { 2158 var packedLen int 2159 for shift := uint(0); ; shift += 7 { 2160 if shift >= 64 { 2161 return ErrIntOverflowPacked 2162 } 2163 if iNdEx >= l { 2164 return io.ErrUnexpectedEOF 2165 } 2166 b := dAtA[iNdEx] 2167 iNdEx++ 2168 packedLen |= int(b&0x7F) << shift 2169 if b < 0x80 { 2170 break 2171 } 2172 } 2173 if packedLen < 0 { 2174 return ErrInvalidLengthPacked 2175 } 2176 postIndex := iNdEx + packedLen 2177 if postIndex < 0 { 2178 return ErrInvalidLengthPacked 2179 } 2180 if postIndex > l { 2181 return io.ErrUnexpectedEOF 2182 } 2183 var elementCount int 2184 elementCount = packedLen / 4 2185 if elementCount != 0 && len(m.Field2) == 0 { 2186 m.Field2 = make([]float32, 0, elementCount) 2187 } 2188 for iNdEx < postIndex { 2189 var v uint32 2190 if (iNdEx + 4) > l { 2191 return io.ErrUnexpectedEOF 2192 } 2193 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2194 iNdEx += 4 2195 v2 := float32(math.Float32frombits(v)) 2196 m.Field2 = append(m.Field2, v2) 2197 } 2198 } else { 2199 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 2200 } 2201 case 3: 2202 if wireType == 0 { 2203 var v int32 2204 for shift := uint(0); ; shift += 7 { 2205 if shift >= 64 { 2206 return ErrIntOverflowPacked 2207 } 2208 if iNdEx >= l { 2209 return io.ErrUnexpectedEOF 2210 } 2211 b := dAtA[iNdEx] 2212 iNdEx++ 2213 v |= int32(b&0x7F) << shift 2214 if b < 0x80 { 2215 break 2216 } 2217 } 2218 m.Field3 = append(m.Field3, v) 2219 } else if wireType == 2 { 2220 var packedLen int 2221 for shift := uint(0); ; shift += 7 { 2222 if shift >= 64 { 2223 return ErrIntOverflowPacked 2224 } 2225 if iNdEx >= l { 2226 return io.ErrUnexpectedEOF 2227 } 2228 b := dAtA[iNdEx] 2229 iNdEx++ 2230 packedLen |= int(b&0x7F) << shift 2231 if b < 0x80 { 2232 break 2233 } 2234 } 2235 if packedLen < 0 { 2236 return ErrInvalidLengthPacked 2237 } 2238 postIndex := iNdEx + packedLen 2239 if postIndex < 0 { 2240 return ErrInvalidLengthPacked 2241 } 2242 if postIndex > l { 2243 return io.ErrUnexpectedEOF 2244 } 2245 var elementCount int 2246 var count int 2247 for _, integer := range dAtA[iNdEx:postIndex] { 2248 if integer < 128 { 2249 count++ 2250 } 2251 } 2252 elementCount = count 2253 if elementCount != 0 && len(m.Field3) == 0 { 2254 m.Field3 = make([]int32, 0, elementCount) 2255 } 2256 for iNdEx < postIndex { 2257 var v int32 2258 for shift := uint(0); ; shift += 7 { 2259 if shift >= 64 { 2260 return ErrIntOverflowPacked 2261 } 2262 if iNdEx >= l { 2263 return io.ErrUnexpectedEOF 2264 } 2265 b := dAtA[iNdEx] 2266 iNdEx++ 2267 v |= int32(b&0x7F) << shift 2268 if b < 0x80 { 2269 break 2270 } 2271 } 2272 m.Field3 = append(m.Field3, v) 2273 } 2274 } else { 2275 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 2276 } 2277 case 4: 2278 if wireType == 0 { 2279 var v int64 2280 for shift := uint(0); ; shift += 7 { 2281 if shift >= 64 { 2282 return ErrIntOverflowPacked 2283 } 2284 if iNdEx >= l { 2285 return io.ErrUnexpectedEOF 2286 } 2287 b := dAtA[iNdEx] 2288 iNdEx++ 2289 v |= int64(b&0x7F) << shift 2290 if b < 0x80 { 2291 break 2292 } 2293 } 2294 m.Field4 = append(m.Field4, v) 2295 } else if wireType == 2 { 2296 var packedLen int 2297 for shift := uint(0); ; shift += 7 { 2298 if shift >= 64 { 2299 return ErrIntOverflowPacked 2300 } 2301 if iNdEx >= l { 2302 return io.ErrUnexpectedEOF 2303 } 2304 b := dAtA[iNdEx] 2305 iNdEx++ 2306 packedLen |= int(b&0x7F) << shift 2307 if b < 0x80 { 2308 break 2309 } 2310 } 2311 if packedLen < 0 { 2312 return ErrInvalidLengthPacked 2313 } 2314 postIndex := iNdEx + packedLen 2315 if postIndex < 0 { 2316 return ErrInvalidLengthPacked 2317 } 2318 if postIndex > l { 2319 return io.ErrUnexpectedEOF 2320 } 2321 var elementCount int 2322 var count int 2323 for _, integer := range dAtA[iNdEx:postIndex] { 2324 if integer < 128 { 2325 count++ 2326 } 2327 } 2328 elementCount = count 2329 if elementCount != 0 && len(m.Field4) == 0 { 2330 m.Field4 = make([]int64, 0, elementCount) 2331 } 2332 for iNdEx < postIndex { 2333 var v int64 2334 for shift := uint(0); ; shift += 7 { 2335 if shift >= 64 { 2336 return ErrIntOverflowPacked 2337 } 2338 if iNdEx >= l { 2339 return io.ErrUnexpectedEOF 2340 } 2341 b := dAtA[iNdEx] 2342 iNdEx++ 2343 v |= int64(b&0x7F) << shift 2344 if b < 0x80 { 2345 break 2346 } 2347 } 2348 m.Field4 = append(m.Field4, v) 2349 } 2350 } else { 2351 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) 2352 } 2353 case 5: 2354 if wireType == 0 { 2355 var v uint32 2356 for shift := uint(0); ; shift += 7 { 2357 if shift >= 64 { 2358 return ErrIntOverflowPacked 2359 } 2360 if iNdEx >= l { 2361 return io.ErrUnexpectedEOF 2362 } 2363 b := dAtA[iNdEx] 2364 iNdEx++ 2365 v |= uint32(b&0x7F) << shift 2366 if b < 0x80 { 2367 break 2368 } 2369 } 2370 m.Field5 = append(m.Field5, v) 2371 } else if wireType == 2 { 2372 var packedLen int 2373 for shift := uint(0); ; shift += 7 { 2374 if shift >= 64 { 2375 return ErrIntOverflowPacked 2376 } 2377 if iNdEx >= l { 2378 return io.ErrUnexpectedEOF 2379 } 2380 b := dAtA[iNdEx] 2381 iNdEx++ 2382 packedLen |= int(b&0x7F) << shift 2383 if b < 0x80 { 2384 break 2385 } 2386 } 2387 if packedLen < 0 { 2388 return ErrInvalidLengthPacked 2389 } 2390 postIndex := iNdEx + packedLen 2391 if postIndex < 0 { 2392 return ErrInvalidLengthPacked 2393 } 2394 if postIndex > l { 2395 return io.ErrUnexpectedEOF 2396 } 2397 var elementCount int 2398 var count int 2399 for _, integer := range dAtA[iNdEx:postIndex] { 2400 if integer < 128 { 2401 count++ 2402 } 2403 } 2404 elementCount = count 2405 if elementCount != 0 && len(m.Field5) == 0 { 2406 m.Field5 = make([]uint32, 0, elementCount) 2407 } 2408 for iNdEx < postIndex { 2409 var v uint32 2410 for shift := uint(0); ; shift += 7 { 2411 if shift >= 64 { 2412 return ErrIntOverflowPacked 2413 } 2414 if iNdEx >= l { 2415 return io.ErrUnexpectedEOF 2416 } 2417 b := dAtA[iNdEx] 2418 iNdEx++ 2419 v |= uint32(b&0x7F) << shift 2420 if b < 0x80 { 2421 break 2422 } 2423 } 2424 m.Field5 = append(m.Field5, v) 2425 } 2426 } else { 2427 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) 2428 } 2429 case 6: 2430 if wireType == 0 { 2431 var v uint64 2432 for shift := uint(0); ; shift += 7 { 2433 if shift >= 64 { 2434 return ErrIntOverflowPacked 2435 } 2436 if iNdEx >= l { 2437 return io.ErrUnexpectedEOF 2438 } 2439 b := dAtA[iNdEx] 2440 iNdEx++ 2441 v |= uint64(b&0x7F) << shift 2442 if b < 0x80 { 2443 break 2444 } 2445 } 2446 m.Field6 = append(m.Field6, v) 2447 } else if wireType == 2 { 2448 var packedLen int 2449 for shift := uint(0); ; shift += 7 { 2450 if shift >= 64 { 2451 return ErrIntOverflowPacked 2452 } 2453 if iNdEx >= l { 2454 return io.ErrUnexpectedEOF 2455 } 2456 b := dAtA[iNdEx] 2457 iNdEx++ 2458 packedLen |= int(b&0x7F) << shift 2459 if b < 0x80 { 2460 break 2461 } 2462 } 2463 if packedLen < 0 { 2464 return ErrInvalidLengthPacked 2465 } 2466 postIndex := iNdEx + packedLen 2467 if postIndex < 0 { 2468 return ErrInvalidLengthPacked 2469 } 2470 if postIndex > l { 2471 return io.ErrUnexpectedEOF 2472 } 2473 var elementCount int 2474 var count int 2475 for _, integer := range dAtA[iNdEx:postIndex] { 2476 if integer < 128 { 2477 count++ 2478 } 2479 } 2480 elementCount = count 2481 if elementCount != 0 && len(m.Field6) == 0 { 2482 m.Field6 = make([]uint64, 0, elementCount) 2483 } 2484 for iNdEx < postIndex { 2485 var v uint64 2486 for shift := uint(0); ; shift += 7 { 2487 if shift >= 64 { 2488 return ErrIntOverflowPacked 2489 } 2490 if iNdEx >= l { 2491 return io.ErrUnexpectedEOF 2492 } 2493 b := dAtA[iNdEx] 2494 iNdEx++ 2495 v |= uint64(b&0x7F) << shift 2496 if b < 0x80 { 2497 break 2498 } 2499 } 2500 m.Field6 = append(m.Field6, v) 2501 } 2502 } else { 2503 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) 2504 } 2505 case 7: 2506 if wireType == 0 { 2507 var v int32 2508 for shift := uint(0); ; shift += 7 { 2509 if shift >= 64 { 2510 return ErrIntOverflowPacked 2511 } 2512 if iNdEx >= l { 2513 return io.ErrUnexpectedEOF 2514 } 2515 b := dAtA[iNdEx] 2516 iNdEx++ 2517 v |= int32(b&0x7F) << shift 2518 if b < 0x80 { 2519 break 2520 } 2521 } 2522 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 2523 m.Field7 = append(m.Field7, v) 2524 } else if wireType == 2 { 2525 var packedLen int 2526 for shift := uint(0); ; shift += 7 { 2527 if shift >= 64 { 2528 return ErrIntOverflowPacked 2529 } 2530 if iNdEx >= l { 2531 return io.ErrUnexpectedEOF 2532 } 2533 b := dAtA[iNdEx] 2534 iNdEx++ 2535 packedLen |= int(b&0x7F) << shift 2536 if b < 0x80 { 2537 break 2538 } 2539 } 2540 if packedLen < 0 { 2541 return ErrInvalidLengthPacked 2542 } 2543 postIndex := iNdEx + packedLen 2544 if postIndex < 0 { 2545 return ErrInvalidLengthPacked 2546 } 2547 if postIndex > l { 2548 return io.ErrUnexpectedEOF 2549 } 2550 var elementCount int 2551 var count int 2552 for _, integer := range dAtA[iNdEx:postIndex] { 2553 if integer < 128 { 2554 count++ 2555 } 2556 } 2557 elementCount = count 2558 if elementCount != 0 && len(m.Field7) == 0 { 2559 m.Field7 = make([]int32, 0, elementCount) 2560 } 2561 for iNdEx < postIndex { 2562 var v int32 2563 for shift := uint(0); ; shift += 7 { 2564 if shift >= 64 { 2565 return ErrIntOverflowPacked 2566 } 2567 if iNdEx >= l { 2568 return io.ErrUnexpectedEOF 2569 } 2570 b := dAtA[iNdEx] 2571 iNdEx++ 2572 v |= int32(b&0x7F) << shift 2573 if b < 0x80 { 2574 break 2575 } 2576 } 2577 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 2578 m.Field7 = append(m.Field7, v) 2579 } 2580 } else { 2581 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) 2582 } 2583 case 8: 2584 if wireType == 0 { 2585 var v uint64 2586 for shift := uint(0); ; shift += 7 { 2587 if shift >= 64 { 2588 return ErrIntOverflowPacked 2589 } 2590 if iNdEx >= l { 2591 return io.ErrUnexpectedEOF 2592 } 2593 b := dAtA[iNdEx] 2594 iNdEx++ 2595 v |= uint64(b&0x7F) << shift 2596 if b < 0x80 { 2597 break 2598 } 2599 } 2600 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 2601 m.Field8 = append(m.Field8, int64(v)) 2602 } else if wireType == 2 { 2603 var packedLen int 2604 for shift := uint(0); ; shift += 7 { 2605 if shift >= 64 { 2606 return ErrIntOverflowPacked 2607 } 2608 if iNdEx >= l { 2609 return io.ErrUnexpectedEOF 2610 } 2611 b := dAtA[iNdEx] 2612 iNdEx++ 2613 packedLen |= int(b&0x7F) << shift 2614 if b < 0x80 { 2615 break 2616 } 2617 } 2618 if packedLen < 0 { 2619 return ErrInvalidLengthPacked 2620 } 2621 postIndex := iNdEx + packedLen 2622 if postIndex < 0 { 2623 return ErrInvalidLengthPacked 2624 } 2625 if postIndex > l { 2626 return io.ErrUnexpectedEOF 2627 } 2628 var elementCount int 2629 var count int 2630 for _, integer := range dAtA[iNdEx:postIndex] { 2631 if integer < 128 { 2632 count++ 2633 } 2634 } 2635 elementCount = count 2636 if elementCount != 0 && len(m.Field8) == 0 { 2637 m.Field8 = make([]int64, 0, elementCount) 2638 } 2639 for iNdEx < postIndex { 2640 var v uint64 2641 for shift := uint(0); ; shift += 7 { 2642 if shift >= 64 { 2643 return ErrIntOverflowPacked 2644 } 2645 if iNdEx >= l { 2646 return io.ErrUnexpectedEOF 2647 } 2648 b := dAtA[iNdEx] 2649 iNdEx++ 2650 v |= uint64(b&0x7F) << shift 2651 if b < 0x80 { 2652 break 2653 } 2654 } 2655 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 2656 m.Field8 = append(m.Field8, int64(v)) 2657 } 2658 } else { 2659 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) 2660 } 2661 case 9: 2662 if wireType == 5 { 2663 var v uint32 2664 if (iNdEx + 4) > l { 2665 return io.ErrUnexpectedEOF 2666 } 2667 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2668 iNdEx += 4 2669 m.Field9 = append(m.Field9, v) 2670 } else if wireType == 2 { 2671 var packedLen int 2672 for shift := uint(0); ; shift += 7 { 2673 if shift >= 64 { 2674 return ErrIntOverflowPacked 2675 } 2676 if iNdEx >= l { 2677 return io.ErrUnexpectedEOF 2678 } 2679 b := dAtA[iNdEx] 2680 iNdEx++ 2681 packedLen |= int(b&0x7F) << shift 2682 if b < 0x80 { 2683 break 2684 } 2685 } 2686 if packedLen < 0 { 2687 return ErrInvalidLengthPacked 2688 } 2689 postIndex := iNdEx + packedLen 2690 if postIndex < 0 { 2691 return ErrInvalidLengthPacked 2692 } 2693 if postIndex > l { 2694 return io.ErrUnexpectedEOF 2695 } 2696 var elementCount int 2697 elementCount = packedLen / 4 2698 if elementCount != 0 && len(m.Field9) == 0 { 2699 m.Field9 = make([]uint32, 0, elementCount) 2700 } 2701 for iNdEx < postIndex { 2702 var v uint32 2703 if (iNdEx + 4) > l { 2704 return io.ErrUnexpectedEOF 2705 } 2706 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2707 iNdEx += 4 2708 m.Field9 = append(m.Field9, v) 2709 } 2710 } else { 2711 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) 2712 } 2713 case 10: 2714 if wireType == 5 { 2715 var v int32 2716 if (iNdEx + 4) > l { 2717 return io.ErrUnexpectedEOF 2718 } 2719 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2720 iNdEx += 4 2721 m.Field10 = append(m.Field10, v) 2722 } else if wireType == 2 { 2723 var packedLen int 2724 for shift := uint(0); ; shift += 7 { 2725 if shift >= 64 { 2726 return ErrIntOverflowPacked 2727 } 2728 if iNdEx >= l { 2729 return io.ErrUnexpectedEOF 2730 } 2731 b := dAtA[iNdEx] 2732 iNdEx++ 2733 packedLen |= int(b&0x7F) << shift 2734 if b < 0x80 { 2735 break 2736 } 2737 } 2738 if packedLen < 0 { 2739 return ErrInvalidLengthPacked 2740 } 2741 postIndex := iNdEx + packedLen 2742 if postIndex < 0 { 2743 return ErrInvalidLengthPacked 2744 } 2745 if postIndex > l { 2746 return io.ErrUnexpectedEOF 2747 } 2748 var elementCount int 2749 elementCount = packedLen / 4 2750 if elementCount != 0 && len(m.Field10) == 0 { 2751 m.Field10 = make([]int32, 0, elementCount) 2752 } 2753 for iNdEx < postIndex { 2754 var v int32 2755 if (iNdEx + 4) > l { 2756 return io.ErrUnexpectedEOF 2757 } 2758 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2759 iNdEx += 4 2760 m.Field10 = append(m.Field10, v) 2761 } 2762 } else { 2763 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) 2764 } 2765 case 11: 2766 if wireType == 1 { 2767 var v uint64 2768 if (iNdEx + 8) > l { 2769 return io.ErrUnexpectedEOF 2770 } 2771 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2772 iNdEx += 8 2773 m.Field11 = append(m.Field11, v) 2774 } else if wireType == 2 { 2775 var packedLen int 2776 for shift := uint(0); ; shift += 7 { 2777 if shift >= 64 { 2778 return ErrIntOverflowPacked 2779 } 2780 if iNdEx >= l { 2781 return io.ErrUnexpectedEOF 2782 } 2783 b := dAtA[iNdEx] 2784 iNdEx++ 2785 packedLen |= int(b&0x7F) << shift 2786 if b < 0x80 { 2787 break 2788 } 2789 } 2790 if packedLen < 0 { 2791 return ErrInvalidLengthPacked 2792 } 2793 postIndex := iNdEx + packedLen 2794 if postIndex < 0 { 2795 return ErrInvalidLengthPacked 2796 } 2797 if postIndex > l { 2798 return io.ErrUnexpectedEOF 2799 } 2800 var elementCount int 2801 elementCount = packedLen / 8 2802 if elementCount != 0 && len(m.Field11) == 0 { 2803 m.Field11 = make([]uint64, 0, elementCount) 2804 } 2805 for iNdEx < postIndex { 2806 var v uint64 2807 if (iNdEx + 8) > l { 2808 return io.ErrUnexpectedEOF 2809 } 2810 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2811 iNdEx += 8 2812 m.Field11 = append(m.Field11, v) 2813 } 2814 } else { 2815 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) 2816 } 2817 case 12: 2818 if wireType == 1 { 2819 var v int64 2820 if (iNdEx + 8) > l { 2821 return io.ErrUnexpectedEOF 2822 } 2823 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2824 iNdEx += 8 2825 m.Field12 = append(m.Field12, v) 2826 } else if wireType == 2 { 2827 var packedLen int 2828 for shift := uint(0); ; shift += 7 { 2829 if shift >= 64 { 2830 return ErrIntOverflowPacked 2831 } 2832 if iNdEx >= l { 2833 return io.ErrUnexpectedEOF 2834 } 2835 b := dAtA[iNdEx] 2836 iNdEx++ 2837 packedLen |= int(b&0x7F) << shift 2838 if b < 0x80 { 2839 break 2840 } 2841 } 2842 if packedLen < 0 { 2843 return ErrInvalidLengthPacked 2844 } 2845 postIndex := iNdEx + packedLen 2846 if postIndex < 0 { 2847 return ErrInvalidLengthPacked 2848 } 2849 if postIndex > l { 2850 return io.ErrUnexpectedEOF 2851 } 2852 var elementCount int 2853 elementCount = packedLen / 8 2854 if elementCount != 0 && len(m.Field12) == 0 { 2855 m.Field12 = make([]int64, 0, elementCount) 2856 } 2857 for iNdEx < postIndex { 2858 var v int64 2859 if (iNdEx + 8) > l { 2860 return io.ErrUnexpectedEOF 2861 } 2862 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 2863 iNdEx += 8 2864 m.Field12 = append(m.Field12, v) 2865 } 2866 } else { 2867 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) 2868 } 2869 case 13: 2870 if wireType == 0 { 2871 var v int 2872 for shift := uint(0); ; shift += 7 { 2873 if shift >= 64 { 2874 return ErrIntOverflowPacked 2875 } 2876 if iNdEx >= l { 2877 return io.ErrUnexpectedEOF 2878 } 2879 b := dAtA[iNdEx] 2880 iNdEx++ 2881 v |= int(b&0x7F) << shift 2882 if b < 0x80 { 2883 break 2884 } 2885 } 2886 m.Field13 = append(m.Field13, bool(v != 0)) 2887 } else if wireType == 2 { 2888 var packedLen int 2889 for shift := uint(0); ; shift += 7 { 2890 if shift >= 64 { 2891 return ErrIntOverflowPacked 2892 } 2893 if iNdEx >= l { 2894 return io.ErrUnexpectedEOF 2895 } 2896 b := dAtA[iNdEx] 2897 iNdEx++ 2898 packedLen |= int(b&0x7F) << shift 2899 if b < 0x80 { 2900 break 2901 } 2902 } 2903 if packedLen < 0 { 2904 return ErrInvalidLengthPacked 2905 } 2906 postIndex := iNdEx + packedLen 2907 if postIndex < 0 { 2908 return ErrInvalidLengthPacked 2909 } 2910 if postIndex > l { 2911 return io.ErrUnexpectedEOF 2912 } 2913 var elementCount int 2914 elementCount = packedLen 2915 if elementCount != 0 && len(m.Field13) == 0 { 2916 m.Field13 = make([]bool, 0, elementCount) 2917 } 2918 for iNdEx < postIndex { 2919 var v int 2920 for shift := uint(0); ; shift += 7 { 2921 if shift >= 64 { 2922 return ErrIntOverflowPacked 2923 } 2924 if iNdEx >= l { 2925 return io.ErrUnexpectedEOF 2926 } 2927 b := dAtA[iNdEx] 2928 iNdEx++ 2929 v |= int(b&0x7F) << shift 2930 if b < 0x80 { 2931 break 2932 } 2933 } 2934 m.Field13 = append(m.Field13, bool(v != 0)) 2935 } 2936 } else { 2937 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) 2938 } 2939 default: 2940 iNdEx = preIndex 2941 skippy, err := skipPacked(dAtA[iNdEx:]) 2942 if err != nil { 2943 return err 2944 } 2945 if skippy < 0 { 2946 return ErrInvalidLengthPacked 2947 } 2948 if (iNdEx + skippy) < 0 { 2949 return ErrInvalidLengthPacked 2950 } 2951 if (iNdEx + skippy) > l { 2952 return io.ErrUnexpectedEOF 2953 } 2954 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 2955 iNdEx += skippy 2956 } 2957 } 2958 2959 if iNdEx > l { 2960 return io.ErrUnexpectedEOF 2961 } 2962 return nil 2963} 2964func (m *NinRepNativeUnsafe) Unmarshal(dAtA []byte) error { 2965 l := len(dAtA) 2966 iNdEx := 0 2967 for iNdEx < l { 2968 preIndex := iNdEx 2969 var wire uint64 2970 for shift := uint(0); ; shift += 7 { 2971 if shift >= 64 { 2972 return ErrIntOverflowPacked 2973 } 2974 if iNdEx >= l { 2975 return io.ErrUnexpectedEOF 2976 } 2977 b := dAtA[iNdEx] 2978 iNdEx++ 2979 wire |= uint64(b&0x7F) << shift 2980 if b < 0x80 { 2981 break 2982 } 2983 } 2984 fieldNum := int32(wire >> 3) 2985 wireType := int(wire & 0x7) 2986 if wireType == 4 { 2987 return fmt.Errorf("proto: NinRepNativeUnsafe: wiretype end group for non-group") 2988 } 2989 if fieldNum <= 0 { 2990 return fmt.Errorf("proto: NinRepNativeUnsafe: illegal tag %d (wire type %d)", fieldNum, wire) 2991 } 2992 switch fieldNum { 2993 case 1: 2994 if wireType == 1 { 2995 var v uint64 2996 if (iNdEx + 8) > l { 2997 return io.ErrUnexpectedEOF 2998 } 2999 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3000 iNdEx += 8 3001 v2 := float64(math.Float64frombits(v)) 3002 m.Field1 = append(m.Field1, v2) 3003 } else if wireType == 2 { 3004 var packedLen int 3005 for shift := uint(0); ; shift += 7 { 3006 if shift >= 64 { 3007 return ErrIntOverflowPacked 3008 } 3009 if iNdEx >= l { 3010 return io.ErrUnexpectedEOF 3011 } 3012 b := dAtA[iNdEx] 3013 iNdEx++ 3014 packedLen |= int(b&0x7F) << shift 3015 if b < 0x80 { 3016 break 3017 } 3018 } 3019 if packedLen < 0 { 3020 return ErrInvalidLengthPacked 3021 } 3022 postIndex := iNdEx + packedLen 3023 if postIndex < 0 { 3024 return ErrInvalidLengthPacked 3025 } 3026 if postIndex > l { 3027 return io.ErrUnexpectedEOF 3028 } 3029 var elementCount int 3030 elementCount = packedLen / 8 3031 if elementCount != 0 && len(m.Field1) == 0 { 3032 m.Field1 = make([]float64, 0, elementCount) 3033 } 3034 for iNdEx < postIndex { 3035 var v uint64 3036 if (iNdEx + 8) > l { 3037 return io.ErrUnexpectedEOF 3038 } 3039 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3040 iNdEx += 8 3041 v2 := float64(math.Float64frombits(v)) 3042 m.Field1 = append(m.Field1, v2) 3043 } 3044 } else { 3045 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 3046 } 3047 case 2: 3048 if wireType == 5 { 3049 var v uint32 3050 if (iNdEx + 4) > l { 3051 return io.ErrUnexpectedEOF 3052 } 3053 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3054 iNdEx += 4 3055 v2 := float32(math.Float32frombits(v)) 3056 m.Field2 = append(m.Field2, v2) 3057 } else if wireType == 2 { 3058 var packedLen int 3059 for shift := uint(0); ; shift += 7 { 3060 if shift >= 64 { 3061 return ErrIntOverflowPacked 3062 } 3063 if iNdEx >= l { 3064 return io.ErrUnexpectedEOF 3065 } 3066 b := dAtA[iNdEx] 3067 iNdEx++ 3068 packedLen |= int(b&0x7F) << shift 3069 if b < 0x80 { 3070 break 3071 } 3072 } 3073 if packedLen < 0 { 3074 return ErrInvalidLengthPacked 3075 } 3076 postIndex := iNdEx + packedLen 3077 if postIndex < 0 { 3078 return ErrInvalidLengthPacked 3079 } 3080 if postIndex > l { 3081 return io.ErrUnexpectedEOF 3082 } 3083 var elementCount int 3084 elementCount = packedLen / 4 3085 if elementCount != 0 && len(m.Field2) == 0 { 3086 m.Field2 = make([]float32, 0, elementCount) 3087 } 3088 for iNdEx < postIndex { 3089 var v uint32 3090 if (iNdEx + 4) > l { 3091 return io.ErrUnexpectedEOF 3092 } 3093 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3094 iNdEx += 4 3095 v2 := float32(math.Float32frombits(v)) 3096 m.Field2 = append(m.Field2, v2) 3097 } 3098 } else { 3099 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 3100 } 3101 case 3: 3102 if wireType == 0 { 3103 var v int32 3104 for shift := uint(0); ; shift += 7 { 3105 if shift >= 64 { 3106 return ErrIntOverflowPacked 3107 } 3108 if iNdEx >= l { 3109 return io.ErrUnexpectedEOF 3110 } 3111 b := dAtA[iNdEx] 3112 iNdEx++ 3113 v |= int32(b&0x7F) << shift 3114 if b < 0x80 { 3115 break 3116 } 3117 } 3118 m.Field3 = append(m.Field3, v) 3119 } else if wireType == 2 { 3120 var packedLen int 3121 for shift := uint(0); ; shift += 7 { 3122 if shift >= 64 { 3123 return ErrIntOverflowPacked 3124 } 3125 if iNdEx >= l { 3126 return io.ErrUnexpectedEOF 3127 } 3128 b := dAtA[iNdEx] 3129 iNdEx++ 3130 packedLen |= int(b&0x7F) << shift 3131 if b < 0x80 { 3132 break 3133 } 3134 } 3135 if packedLen < 0 { 3136 return ErrInvalidLengthPacked 3137 } 3138 postIndex := iNdEx + packedLen 3139 if postIndex < 0 { 3140 return ErrInvalidLengthPacked 3141 } 3142 if postIndex > l { 3143 return io.ErrUnexpectedEOF 3144 } 3145 var elementCount int 3146 var count int 3147 for _, integer := range dAtA[iNdEx:postIndex] { 3148 if integer < 128 { 3149 count++ 3150 } 3151 } 3152 elementCount = count 3153 if elementCount != 0 && len(m.Field3) == 0 { 3154 m.Field3 = make([]int32, 0, elementCount) 3155 } 3156 for iNdEx < postIndex { 3157 var v int32 3158 for shift := uint(0); ; shift += 7 { 3159 if shift >= 64 { 3160 return ErrIntOverflowPacked 3161 } 3162 if iNdEx >= l { 3163 return io.ErrUnexpectedEOF 3164 } 3165 b := dAtA[iNdEx] 3166 iNdEx++ 3167 v |= int32(b&0x7F) << shift 3168 if b < 0x80 { 3169 break 3170 } 3171 } 3172 m.Field3 = append(m.Field3, v) 3173 } 3174 } else { 3175 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 3176 } 3177 case 4: 3178 if wireType == 0 { 3179 var v int64 3180 for shift := uint(0); ; shift += 7 { 3181 if shift >= 64 { 3182 return ErrIntOverflowPacked 3183 } 3184 if iNdEx >= l { 3185 return io.ErrUnexpectedEOF 3186 } 3187 b := dAtA[iNdEx] 3188 iNdEx++ 3189 v |= int64(b&0x7F) << shift 3190 if b < 0x80 { 3191 break 3192 } 3193 } 3194 m.Field4 = append(m.Field4, v) 3195 } else if wireType == 2 { 3196 var packedLen int 3197 for shift := uint(0); ; shift += 7 { 3198 if shift >= 64 { 3199 return ErrIntOverflowPacked 3200 } 3201 if iNdEx >= l { 3202 return io.ErrUnexpectedEOF 3203 } 3204 b := dAtA[iNdEx] 3205 iNdEx++ 3206 packedLen |= int(b&0x7F) << shift 3207 if b < 0x80 { 3208 break 3209 } 3210 } 3211 if packedLen < 0 { 3212 return ErrInvalidLengthPacked 3213 } 3214 postIndex := iNdEx + packedLen 3215 if postIndex < 0 { 3216 return ErrInvalidLengthPacked 3217 } 3218 if postIndex > l { 3219 return io.ErrUnexpectedEOF 3220 } 3221 var elementCount int 3222 var count int 3223 for _, integer := range dAtA[iNdEx:postIndex] { 3224 if integer < 128 { 3225 count++ 3226 } 3227 } 3228 elementCount = count 3229 if elementCount != 0 && len(m.Field4) == 0 { 3230 m.Field4 = make([]int64, 0, elementCount) 3231 } 3232 for iNdEx < postIndex { 3233 var v int64 3234 for shift := uint(0); ; shift += 7 { 3235 if shift >= 64 { 3236 return ErrIntOverflowPacked 3237 } 3238 if iNdEx >= l { 3239 return io.ErrUnexpectedEOF 3240 } 3241 b := dAtA[iNdEx] 3242 iNdEx++ 3243 v |= int64(b&0x7F) << shift 3244 if b < 0x80 { 3245 break 3246 } 3247 } 3248 m.Field4 = append(m.Field4, v) 3249 } 3250 } else { 3251 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) 3252 } 3253 case 5: 3254 if wireType == 0 { 3255 var v uint32 3256 for shift := uint(0); ; shift += 7 { 3257 if shift >= 64 { 3258 return ErrIntOverflowPacked 3259 } 3260 if iNdEx >= l { 3261 return io.ErrUnexpectedEOF 3262 } 3263 b := dAtA[iNdEx] 3264 iNdEx++ 3265 v |= uint32(b&0x7F) << shift 3266 if b < 0x80 { 3267 break 3268 } 3269 } 3270 m.Field5 = append(m.Field5, v) 3271 } else if wireType == 2 { 3272 var packedLen int 3273 for shift := uint(0); ; shift += 7 { 3274 if shift >= 64 { 3275 return ErrIntOverflowPacked 3276 } 3277 if iNdEx >= l { 3278 return io.ErrUnexpectedEOF 3279 } 3280 b := dAtA[iNdEx] 3281 iNdEx++ 3282 packedLen |= int(b&0x7F) << shift 3283 if b < 0x80 { 3284 break 3285 } 3286 } 3287 if packedLen < 0 { 3288 return ErrInvalidLengthPacked 3289 } 3290 postIndex := iNdEx + packedLen 3291 if postIndex < 0 { 3292 return ErrInvalidLengthPacked 3293 } 3294 if postIndex > l { 3295 return io.ErrUnexpectedEOF 3296 } 3297 var elementCount int 3298 var count int 3299 for _, integer := range dAtA[iNdEx:postIndex] { 3300 if integer < 128 { 3301 count++ 3302 } 3303 } 3304 elementCount = count 3305 if elementCount != 0 && len(m.Field5) == 0 { 3306 m.Field5 = make([]uint32, 0, elementCount) 3307 } 3308 for iNdEx < postIndex { 3309 var v uint32 3310 for shift := uint(0); ; shift += 7 { 3311 if shift >= 64 { 3312 return ErrIntOverflowPacked 3313 } 3314 if iNdEx >= l { 3315 return io.ErrUnexpectedEOF 3316 } 3317 b := dAtA[iNdEx] 3318 iNdEx++ 3319 v |= uint32(b&0x7F) << shift 3320 if b < 0x80 { 3321 break 3322 } 3323 } 3324 m.Field5 = append(m.Field5, v) 3325 } 3326 } else { 3327 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) 3328 } 3329 case 6: 3330 if wireType == 0 { 3331 var v uint64 3332 for shift := uint(0); ; shift += 7 { 3333 if shift >= 64 { 3334 return ErrIntOverflowPacked 3335 } 3336 if iNdEx >= l { 3337 return io.ErrUnexpectedEOF 3338 } 3339 b := dAtA[iNdEx] 3340 iNdEx++ 3341 v |= uint64(b&0x7F) << shift 3342 if b < 0x80 { 3343 break 3344 } 3345 } 3346 m.Field6 = append(m.Field6, v) 3347 } else if wireType == 2 { 3348 var packedLen int 3349 for shift := uint(0); ; shift += 7 { 3350 if shift >= 64 { 3351 return ErrIntOverflowPacked 3352 } 3353 if iNdEx >= l { 3354 return io.ErrUnexpectedEOF 3355 } 3356 b := dAtA[iNdEx] 3357 iNdEx++ 3358 packedLen |= int(b&0x7F) << shift 3359 if b < 0x80 { 3360 break 3361 } 3362 } 3363 if packedLen < 0 { 3364 return ErrInvalidLengthPacked 3365 } 3366 postIndex := iNdEx + packedLen 3367 if postIndex < 0 { 3368 return ErrInvalidLengthPacked 3369 } 3370 if postIndex > l { 3371 return io.ErrUnexpectedEOF 3372 } 3373 var elementCount int 3374 var count int 3375 for _, integer := range dAtA[iNdEx:postIndex] { 3376 if integer < 128 { 3377 count++ 3378 } 3379 } 3380 elementCount = count 3381 if elementCount != 0 && len(m.Field6) == 0 { 3382 m.Field6 = make([]uint64, 0, elementCount) 3383 } 3384 for iNdEx < postIndex { 3385 var v uint64 3386 for shift := uint(0); ; shift += 7 { 3387 if shift >= 64 { 3388 return ErrIntOverflowPacked 3389 } 3390 if iNdEx >= l { 3391 return io.ErrUnexpectedEOF 3392 } 3393 b := dAtA[iNdEx] 3394 iNdEx++ 3395 v |= uint64(b&0x7F) << shift 3396 if b < 0x80 { 3397 break 3398 } 3399 } 3400 m.Field6 = append(m.Field6, v) 3401 } 3402 } else { 3403 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) 3404 } 3405 case 7: 3406 if wireType == 0 { 3407 var v int32 3408 for shift := uint(0); ; shift += 7 { 3409 if shift >= 64 { 3410 return ErrIntOverflowPacked 3411 } 3412 if iNdEx >= l { 3413 return io.ErrUnexpectedEOF 3414 } 3415 b := dAtA[iNdEx] 3416 iNdEx++ 3417 v |= int32(b&0x7F) << shift 3418 if b < 0x80 { 3419 break 3420 } 3421 } 3422 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 3423 m.Field7 = append(m.Field7, v) 3424 } else if wireType == 2 { 3425 var packedLen int 3426 for shift := uint(0); ; shift += 7 { 3427 if shift >= 64 { 3428 return ErrIntOverflowPacked 3429 } 3430 if iNdEx >= l { 3431 return io.ErrUnexpectedEOF 3432 } 3433 b := dAtA[iNdEx] 3434 iNdEx++ 3435 packedLen |= int(b&0x7F) << shift 3436 if b < 0x80 { 3437 break 3438 } 3439 } 3440 if packedLen < 0 { 3441 return ErrInvalidLengthPacked 3442 } 3443 postIndex := iNdEx + packedLen 3444 if postIndex < 0 { 3445 return ErrInvalidLengthPacked 3446 } 3447 if postIndex > l { 3448 return io.ErrUnexpectedEOF 3449 } 3450 var elementCount int 3451 var count int 3452 for _, integer := range dAtA[iNdEx:postIndex] { 3453 if integer < 128 { 3454 count++ 3455 } 3456 } 3457 elementCount = count 3458 if elementCount != 0 && len(m.Field7) == 0 { 3459 m.Field7 = make([]int32, 0, elementCount) 3460 } 3461 for iNdEx < postIndex { 3462 var v int32 3463 for shift := uint(0); ; shift += 7 { 3464 if shift >= 64 { 3465 return ErrIntOverflowPacked 3466 } 3467 if iNdEx >= l { 3468 return io.ErrUnexpectedEOF 3469 } 3470 b := dAtA[iNdEx] 3471 iNdEx++ 3472 v |= int32(b&0x7F) << shift 3473 if b < 0x80 { 3474 break 3475 } 3476 } 3477 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 3478 m.Field7 = append(m.Field7, v) 3479 } 3480 } else { 3481 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) 3482 } 3483 case 8: 3484 if wireType == 0 { 3485 var v uint64 3486 for shift := uint(0); ; shift += 7 { 3487 if shift >= 64 { 3488 return ErrIntOverflowPacked 3489 } 3490 if iNdEx >= l { 3491 return io.ErrUnexpectedEOF 3492 } 3493 b := dAtA[iNdEx] 3494 iNdEx++ 3495 v |= uint64(b&0x7F) << shift 3496 if b < 0x80 { 3497 break 3498 } 3499 } 3500 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 3501 m.Field8 = append(m.Field8, int64(v)) 3502 } else if wireType == 2 { 3503 var packedLen int 3504 for shift := uint(0); ; shift += 7 { 3505 if shift >= 64 { 3506 return ErrIntOverflowPacked 3507 } 3508 if iNdEx >= l { 3509 return io.ErrUnexpectedEOF 3510 } 3511 b := dAtA[iNdEx] 3512 iNdEx++ 3513 packedLen |= int(b&0x7F) << shift 3514 if b < 0x80 { 3515 break 3516 } 3517 } 3518 if packedLen < 0 { 3519 return ErrInvalidLengthPacked 3520 } 3521 postIndex := iNdEx + packedLen 3522 if postIndex < 0 { 3523 return ErrInvalidLengthPacked 3524 } 3525 if postIndex > l { 3526 return io.ErrUnexpectedEOF 3527 } 3528 var elementCount int 3529 var count int 3530 for _, integer := range dAtA[iNdEx:postIndex] { 3531 if integer < 128 { 3532 count++ 3533 } 3534 } 3535 elementCount = count 3536 if elementCount != 0 && len(m.Field8) == 0 { 3537 m.Field8 = make([]int64, 0, elementCount) 3538 } 3539 for iNdEx < postIndex { 3540 var v uint64 3541 for shift := uint(0); ; shift += 7 { 3542 if shift >= 64 { 3543 return ErrIntOverflowPacked 3544 } 3545 if iNdEx >= l { 3546 return io.ErrUnexpectedEOF 3547 } 3548 b := dAtA[iNdEx] 3549 iNdEx++ 3550 v |= uint64(b&0x7F) << shift 3551 if b < 0x80 { 3552 break 3553 } 3554 } 3555 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 3556 m.Field8 = append(m.Field8, int64(v)) 3557 } 3558 } else { 3559 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) 3560 } 3561 case 9: 3562 if wireType == 5 { 3563 var v uint32 3564 if (iNdEx + 4) > l { 3565 return io.ErrUnexpectedEOF 3566 } 3567 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3568 iNdEx += 4 3569 m.Field9 = append(m.Field9, v) 3570 } else if wireType == 2 { 3571 var packedLen int 3572 for shift := uint(0); ; shift += 7 { 3573 if shift >= 64 { 3574 return ErrIntOverflowPacked 3575 } 3576 if iNdEx >= l { 3577 return io.ErrUnexpectedEOF 3578 } 3579 b := dAtA[iNdEx] 3580 iNdEx++ 3581 packedLen |= int(b&0x7F) << shift 3582 if b < 0x80 { 3583 break 3584 } 3585 } 3586 if packedLen < 0 { 3587 return ErrInvalidLengthPacked 3588 } 3589 postIndex := iNdEx + packedLen 3590 if postIndex < 0 { 3591 return ErrInvalidLengthPacked 3592 } 3593 if postIndex > l { 3594 return io.ErrUnexpectedEOF 3595 } 3596 var elementCount int 3597 elementCount = packedLen / 4 3598 if elementCount != 0 && len(m.Field9) == 0 { 3599 m.Field9 = make([]uint32, 0, elementCount) 3600 } 3601 for iNdEx < postIndex { 3602 var v uint32 3603 if (iNdEx + 4) > l { 3604 return io.ErrUnexpectedEOF 3605 } 3606 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3607 iNdEx += 4 3608 m.Field9 = append(m.Field9, v) 3609 } 3610 } else { 3611 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) 3612 } 3613 case 10: 3614 if wireType == 5 { 3615 var v int32 3616 if (iNdEx + 4) > l { 3617 return io.ErrUnexpectedEOF 3618 } 3619 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3620 iNdEx += 4 3621 m.Field10 = append(m.Field10, v) 3622 } else if wireType == 2 { 3623 var packedLen int 3624 for shift := uint(0); ; shift += 7 { 3625 if shift >= 64 { 3626 return ErrIntOverflowPacked 3627 } 3628 if iNdEx >= l { 3629 return io.ErrUnexpectedEOF 3630 } 3631 b := dAtA[iNdEx] 3632 iNdEx++ 3633 packedLen |= int(b&0x7F) << shift 3634 if b < 0x80 { 3635 break 3636 } 3637 } 3638 if packedLen < 0 { 3639 return ErrInvalidLengthPacked 3640 } 3641 postIndex := iNdEx + packedLen 3642 if postIndex < 0 { 3643 return ErrInvalidLengthPacked 3644 } 3645 if postIndex > l { 3646 return io.ErrUnexpectedEOF 3647 } 3648 var elementCount int 3649 elementCount = packedLen / 4 3650 if elementCount != 0 && len(m.Field10) == 0 { 3651 m.Field10 = make([]int32, 0, elementCount) 3652 } 3653 for iNdEx < postIndex { 3654 var v int32 3655 if (iNdEx + 4) > l { 3656 return io.ErrUnexpectedEOF 3657 } 3658 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3659 iNdEx += 4 3660 m.Field10 = append(m.Field10, v) 3661 } 3662 } else { 3663 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) 3664 } 3665 case 11: 3666 if wireType == 1 { 3667 var v uint64 3668 if (iNdEx + 8) > l { 3669 return io.ErrUnexpectedEOF 3670 } 3671 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3672 iNdEx += 8 3673 m.Field11 = append(m.Field11, v) 3674 } else if wireType == 2 { 3675 var packedLen int 3676 for shift := uint(0); ; shift += 7 { 3677 if shift >= 64 { 3678 return ErrIntOverflowPacked 3679 } 3680 if iNdEx >= l { 3681 return io.ErrUnexpectedEOF 3682 } 3683 b := dAtA[iNdEx] 3684 iNdEx++ 3685 packedLen |= int(b&0x7F) << shift 3686 if b < 0x80 { 3687 break 3688 } 3689 } 3690 if packedLen < 0 { 3691 return ErrInvalidLengthPacked 3692 } 3693 postIndex := iNdEx + packedLen 3694 if postIndex < 0 { 3695 return ErrInvalidLengthPacked 3696 } 3697 if postIndex > l { 3698 return io.ErrUnexpectedEOF 3699 } 3700 var elementCount int 3701 elementCount = packedLen / 8 3702 if elementCount != 0 && len(m.Field11) == 0 { 3703 m.Field11 = make([]uint64, 0, elementCount) 3704 } 3705 for iNdEx < postIndex { 3706 var v uint64 3707 if (iNdEx + 8) > l { 3708 return io.ErrUnexpectedEOF 3709 } 3710 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3711 iNdEx += 8 3712 m.Field11 = append(m.Field11, v) 3713 } 3714 } else { 3715 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) 3716 } 3717 case 12: 3718 if wireType == 1 { 3719 var v int64 3720 if (iNdEx + 8) > l { 3721 return io.ErrUnexpectedEOF 3722 } 3723 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3724 iNdEx += 8 3725 m.Field12 = append(m.Field12, v) 3726 } else if wireType == 2 { 3727 var packedLen int 3728 for shift := uint(0); ; shift += 7 { 3729 if shift >= 64 { 3730 return ErrIntOverflowPacked 3731 } 3732 if iNdEx >= l { 3733 return io.ErrUnexpectedEOF 3734 } 3735 b := dAtA[iNdEx] 3736 iNdEx++ 3737 packedLen |= int(b&0x7F) << shift 3738 if b < 0x80 { 3739 break 3740 } 3741 } 3742 if packedLen < 0 { 3743 return ErrInvalidLengthPacked 3744 } 3745 postIndex := iNdEx + packedLen 3746 if postIndex < 0 { 3747 return ErrInvalidLengthPacked 3748 } 3749 if postIndex > l { 3750 return io.ErrUnexpectedEOF 3751 } 3752 var elementCount int 3753 elementCount = packedLen / 8 3754 if elementCount != 0 && len(m.Field12) == 0 { 3755 m.Field12 = make([]int64, 0, elementCount) 3756 } 3757 for iNdEx < postIndex { 3758 var v int64 3759 if (iNdEx + 8) > l { 3760 return io.ErrUnexpectedEOF 3761 } 3762 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3763 iNdEx += 8 3764 m.Field12 = append(m.Field12, v) 3765 } 3766 } else { 3767 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) 3768 } 3769 case 13: 3770 if wireType == 0 { 3771 var v int 3772 for shift := uint(0); ; shift += 7 { 3773 if shift >= 64 { 3774 return ErrIntOverflowPacked 3775 } 3776 if iNdEx >= l { 3777 return io.ErrUnexpectedEOF 3778 } 3779 b := dAtA[iNdEx] 3780 iNdEx++ 3781 v |= int(b&0x7F) << shift 3782 if b < 0x80 { 3783 break 3784 } 3785 } 3786 m.Field13 = append(m.Field13, bool(v != 0)) 3787 } else if wireType == 2 { 3788 var packedLen int 3789 for shift := uint(0); ; shift += 7 { 3790 if shift >= 64 { 3791 return ErrIntOverflowPacked 3792 } 3793 if iNdEx >= l { 3794 return io.ErrUnexpectedEOF 3795 } 3796 b := dAtA[iNdEx] 3797 iNdEx++ 3798 packedLen |= int(b&0x7F) << shift 3799 if b < 0x80 { 3800 break 3801 } 3802 } 3803 if packedLen < 0 { 3804 return ErrInvalidLengthPacked 3805 } 3806 postIndex := iNdEx + packedLen 3807 if postIndex < 0 { 3808 return ErrInvalidLengthPacked 3809 } 3810 if postIndex > l { 3811 return io.ErrUnexpectedEOF 3812 } 3813 var elementCount int 3814 elementCount = packedLen 3815 if elementCount != 0 && len(m.Field13) == 0 { 3816 m.Field13 = make([]bool, 0, elementCount) 3817 } 3818 for iNdEx < postIndex { 3819 var v int 3820 for shift := uint(0); ; shift += 7 { 3821 if shift >= 64 { 3822 return ErrIntOverflowPacked 3823 } 3824 if iNdEx >= l { 3825 return io.ErrUnexpectedEOF 3826 } 3827 b := dAtA[iNdEx] 3828 iNdEx++ 3829 v |= int(b&0x7F) << shift 3830 if b < 0x80 { 3831 break 3832 } 3833 } 3834 m.Field13 = append(m.Field13, bool(v != 0)) 3835 } 3836 } else { 3837 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) 3838 } 3839 default: 3840 iNdEx = preIndex 3841 skippy, err := skipPacked(dAtA[iNdEx:]) 3842 if err != nil { 3843 return err 3844 } 3845 if skippy < 0 { 3846 return ErrInvalidLengthPacked 3847 } 3848 if (iNdEx + skippy) < 0 { 3849 return ErrInvalidLengthPacked 3850 } 3851 if (iNdEx + skippy) > l { 3852 return io.ErrUnexpectedEOF 3853 } 3854 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 3855 iNdEx += skippy 3856 } 3857 } 3858 3859 if iNdEx > l { 3860 return io.ErrUnexpectedEOF 3861 } 3862 return nil 3863} 3864func (m *NinRepPackedNativeUnsafe) Unmarshal(dAtA []byte) error { 3865 l := len(dAtA) 3866 iNdEx := 0 3867 for iNdEx < l { 3868 preIndex := iNdEx 3869 var wire uint64 3870 for shift := uint(0); ; shift += 7 { 3871 if shift >= 64 { 3872 return ErrIntOverflowPacked 3873 } 3874 if iNdEx >= l { 3875 return io.ErrUnexpectedEOF 3876 } 3877 b := dAtA[iNdEx] 3878 iNdEx++ 3879 wire |= uint64(b&0x7F) << shift 3880 if b < 0x80 { 3881 break 3882 } 3883 } 3884 fieldNum := int32(wire >> 3) 3885 wireType := int(wire & 0x7) 3886 if wireType == 4 { 3887 return fmt.Errorf("proto: NinRepPackedNativeUnsafe: wiretype end group for non-group") 3888 } 3889 if fieldNum <= 0 { 3890 return fmt.Errorf("proto: NinRepPackedNativeUnsafe: illegal tag %d (wire type %d)", fieldNum, wire) 3891 } 3892 switch fieldNum { 3893 case 1: 3894 if wireType == 1 { 3895 var v uint64 3896 if (iNdEx + 8) > l { 3897 return io.ErrUnexpectedEOF 3898 } 3899 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3900 iNdEx += 8 3901 v2 := float64(math.Float64frombits(v)) 3902 m.Field1 = append(m.Field1, v2) 3903 } else if wireType == 2 { 3904 var packedLen int 3905 for shift := uint(0); ; shift += 7 { 3906 if shift >= 64 { 3907 return ErrIntOverflowPacked 3908 } 3909 if iNdEx >= l { 3910 return io.ErrUnexpectedEOF 3911 } 3912 b := dAtA[iNdEx] 3913 iNdEx++ 3914 packedLen |= int(b&0x7F) << shift 3915 if b < 0x80 { 3916 break 3917 } 3918 } 3919 if packedLen < 0 { 3920 return ErrInvalidLengthPacked 3921 } 3922 postIndex := iNdEx + packedLen 3923 if postIndex < 0 { 3924 return ErrInvalidLengthPacked 3925 } 3926 if postIndex > l { 3927 return io.ErrUnexpectedEOF 3928 } 3929 var elementCount int 3930 elementCount = packedLen / 8 3931 if elementCount != 0 && len(m.Field1) == 0 { 3932 m.Field1 = make([]float64, 0, elementCount) 3933 } 3934 for iNdEx < postIndex { 3935 var v uint64 3936 if (iNdEx + 8) > l { 3937 return io.ErrUnexpectedEOF 3938 } 3939 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 3940 iNdEx += 8 3941 v2 := float64(math.Float64frombits(v)) 3942 m.Field1 = append(m.Field1, v2) 3943 } 3944 } else { 3945 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 3946 } 3947 case 2: 3948 if wireType == 5 { 3949 var v uint32 3950 if (iNdEx + 4) > l { 3951 return io.ErrUnexpectedEOF 3952 } 3953 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3954 iNdEx += 4 3955 v2 := float32(math.Float32frombits(v)) 3956 m.Field2 = append(m.Field2, v2) 3957 } else if wireType == 2 { 3958 var packedLen int 3959 for shift := uint(0); ; shift += 7 { 3960 if shift >= 64 { 3961 return ErrIntOverflowPacked 3962 } 3963 if iNdEx >= l { 3964 return io.ErrUnexpectedEOF 3965 } 3966 b := dAtA[iNdEx] 3967 iNdEx++ 3968 packedLen |= int(b&0x7F) << shift 3969 if b < 0x80 { 3970 break 3971 } 3972 } 3973 if packedLen < 0 { 3974 return ErrInvalidLengthPacked 3975 } 3976 postIndex := iNdEx + packedLen 3977 if postIndex < 0 { 3978 return ErrInvalidLengthPacked 3979 } 3980 if postIndex > l { 3981 return io.ErrUnexpectedEOF 3982 } 3983 var elementCount int 3984 elementCount = packedLen / 4 3985 if elementCount != 0 && len(m.Field2) == 0 { 3986 m.Field2 = make([]float32, 0, elementCount) 3987 } 3988 for iNdEx < postIndex { 3989 var v uint32 3990 if (iNdEx + 4) > l { 3991 return io.ErrUnexpectedEOF 3992 } 3993 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 3994 iNdEx += 4 3995 v2 := float32(math.Float32frombits(v)) 3996 m.Field2 = append(m.Field2, v2) 3997 } 3998 } else { 3999 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 4000 } 4001 case 3: 4002 if wireType == 0 { 4003 var v int32 4004 for shift := uint(0); ; shift += 7 { 4005 if shift >= 64 { 4006 return ErrIntOverflowPacked 4007 } 4008 if iNdEx >= l { 4009 return io.ErrUnexpectedEOF 4010 } 4011 b := dAtA[iNdEx] 4012 iNdEx++ 4013 v |= int32(b&0x7F) << shift 4014 if b < 0x80 { 4015 break 4016 } 4017 } 4018 m.Field3 = append(m.Field3, v) 4019 } else if wireType == 2 { 4020 var packedLen int 4021 for shift := uint(0); ; shift += 7 { 4022 if shift >= 64 { 4023 return ErrIntOverflowPacked 4024 } 4025 if iNdEx >= l { 4026 return io.ErrUnexpectedEOF 4027 } 4028 b := dAtA[iNdEx] 4029 iNdEx++ 4030 packedLen |= int(b&0x7F) << shift 4031 if b < 0x80 { 4032 break 4033 } 4034 } 4035 if packedLen < 0 { 4036 return ErrInvalidLengthPacked 4037 } 4038 postIndex := iNdEx + packedLen 4039 if postIndex < 0 { 4040 return ErrInvalidLengthPacked 4041 } 4042 if postIndex > l { 4043 return io.ErrUnexpectedEOF 4044 } 4045 var elementCount int 4046 var count int 4047 for _, integer := range dAtA[iNdEx:postIndex] { 4048 if integer < 128 { 4049 count++ 4050 } 4051 } 4052 elementCount = count 4053 if elementCount != 0 && len(m.Field3) == 0 { 4054 m.Field3 = make([]int32, 0, elementCount) 4055 } 4056 for iNdEx < postIndex { 4057 var v int32 4058 for shift := uint(0); ; shift += 7 { 4059 if shift >= 64 { 4060 return ErrIntOverflowPacked 4061 } 4062 if iNdEx >= l { 4063 return io.ErrUnexpectedEOF 4064 } 4065 b := dAtA[iNdEx] 4066 iNdEx++ 4067 v |= int32(b&0x7F) << shift 4068 if b < 0x80 { 4069 break 4070 } 4071 } 4072 m.Field3 = append(m.Field3, v) 4073 } 4074 } else { 4075 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 4076 } 4077 case 4: 4078 if wireType == 0 { 4079 var v int64 4080 for shift := uint(0); ; shift += 7 { 4081 if shift >= 64 { 4082 return ErrIntOverflowPacked 4083 } 4084 if iNdEx >= l { 4085 return io.ErrUnexpectedEOF 4086 } 4087 b := dAtA[iNdEx] 4088 iNdEx++ 4089 v |= int64(b&0x7F) << shift 4090 if b < 0x80 { 4091 break 4092 } 4093 } 4094 m.Field4 = append(m.Field4, v) 4095 } else if wireType == 2 { 4096 var packedLen int 4097 for shift := uint(0); ; shift += 7 { 4098 if shift >= 64 { 4099 return ErrIntOverflowPacked 4100 } 4101 if iNdEx >= l { 4102 return io.ErrUnexpectedEOF 4103 } 4104 b := dAtA[iNdEx] 4105 iNdEx++ 4106 packedLen |= int(b&0x7F) << shift 4107 if b < 0x80 { 4108 break 4109 } 4110 } 4111 if packedLen < 0 { 4112 return ErrInvalidLengthPacked 4113 } 4114 postIndex := iNdEx + packedLen 4115 if postIndex < 0 { 4116 return ErrInvalidLengthPacked 4117 } 4118 if postIndex > l { 4119 return io.ErrUnexpectedEOF 4120 } 4121 var elementCount int 4122 var count int 4123 for _, integer := range dAtA[iNdEx:postIndex] { 4124 if integer < 128 { 4125 count++ 4126 } 4127 } 4128 elementCount = count 4129 if elementCount != 0 && len(m.Field4) == 0 { 4130 m.Field4 = make([]int64, 0, elementCount) 4131 } 4132 for iNdEx < postIndex { 4133 var v int64 4134 for shift := uint(0); ; shift += 7 { 4135 if shift >= 64 { 4136 return ErrIntOverflowPacked 4137 } 4138 if iNdEx >= l { 4139 return io.ErrUnexpectedEOF 4140 } 4141 b := dAtA[iNdEx] 4142 iNdEx++ 4143 v |= int64(b&0x7F) << shift 4144 if b < 0x80 { 4145 break 4146 } 4147 } 4148 m.Field4 = append(m.Field4, v) 4149 } 4150 } else { 4151 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) 4152 } 4153 case 5: 4154 if wireType == 0 { 4155 var v uint32 4156 for shift := uint(0); ; shift += 7 { 4157 if shift >= 64 { 4158 return ErrIntOverflowPacked 4159 } 4160 if iNdEx >= l { 4161 return io.ErrUnexpectedEOF 4162 } 4163 b := dAtA[iNdEx] 4164 iNdEx++ 4165 v |= uint32(b&0x7F) << shift 4166 if b < 0x80 { 4167 break 4168 } 4169 } 4170 m.Field5 = append(m.Field5, v) 4171 } else if wireType == 2 { 4172 var packedLen int 4173 for shift := uint(0); ; shift += 7 { 4174 if shift >= 64 { 4175 return ErrIntOverflowPacked 4176 } 4177 if iNdEx >= l { 4178 return io.ErrUnexpectedEOF 4179 } 4180 b := dAtA[iNdEx] 4181 iNdEx++ 4182 packedLen |= int(b&0x7F) << shift 4183 if b < 0x80 { 4184 break 4185 } 4186 } 4187 if packedLen < 0 { 4188 return ErrInvalidLengthPacked 4189 } 4190 postIndex := iNdEx + packedLen 4191 if postIndex < 0 { 4192 return ErrInvalidLengthPacked 4193 } 4194 if postIndex > l { 4195 return io.ErrUnexpectedEOF 4196 } 4197 var elementCount int 4198 var count int 4199 for _, integer := range dAtA[iNdEx:postIndex] { 4200 if integer < 128 { 4201 count++ 4202 } 4203 } 4204 elementCount = count 4205 if elementCount != 0 && len(m.Field5) == 0 { 4206 m.Field5 = make([]uint32, 0, elementCount) 4207 } 4208 for iNdEx < postIndex { 4209 var v uint32 4210 for shift := uint(0); ; shift += 7 { 4211 if shift >= 64 { 4212 return ErrIntOverflowPacked 4213 } 4214 if iNdEx >= l { 4215 return io.ErrUnexpectedEOF 4216 } 4217 b := dAtA[iNdEx] 4218 iNdEx++ 4219 v |= uint32(b&0x7F) << shift 4220 if b < 0x80 { 4221 break 4222 } 4223 } 4224 m.Field5 = append(m.Field5, v) 4225 } 4226 } else { 4227 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) 4228 } 4229 case 6: 4230 if wireType == 0 { 4231 var v uint64 4232 for shift := uint(0); ; shift += 7 { 4233 if shift >= 64 { 4234 return ErrIntOverflowPacked 4235 } 4236 if iNdEx >= l { 4237 return io.ErrUnexpectedEOF 4238 } 4239 b := dAtA[iNdEx] 4240 iNdEx++ 4241 v |= uint64(b&0x7F) << shift 4242 if b < 0x80 { 4243 break 4244 } 4245 } 4246 m.Field6 = append(m.Field6, v) 4247 } else if wireType == 2 { 4248 var packedLen int 4249 for shift := uint(0); ; shift += 7 { 4250 if shift >= 64 { 4251 return ErrIntOverflowPacked 4252 } 4253 if iNdEx >= l { 4254 return io.ErrUnexpectedEOF 4255 } 4256 b := dAtA[iNdEx] 4257 iNdEx++ 4258 packedLen |= int(b&0x7F) << shift 4259 if b < 0x80 { 4260 break 4261 } 4262 } 4263 if packedLen < 0 { 4264 return ErrInvalidLengthPacked 4265 } 4266 postIndex := iNdEx + packedLen 4267 if postIndex < 0 { 4268 return ErrInvalidLengthPacked 4269 } 4270 if postIndex > l { 4271 return io.ErrUnexpectedEOF 4272 } 4273 var elementCount int 4274 var count int 4275 for _, integer := range dAtA[iNdEx:postIndex] { 4276 if integer < 128 { 4277 count++ 4278 } 4279 } 4280 elementCount = count 4281 if elementCount != 0 && len(m.Field6) == 0 { 4282 m.Field6 = make([]uint64, 0, elementCount) 4283 } 4284 for iNdEx < postIndex { 4285 var v uint64 4286 for shift := uint(0); ; shift += 7 { 4287 if shift >= 64 { 4288 return ErrIntOverflowPacked 4289 } 4290 if iNdEx >= l { 4291 return io.ErrUnexpectedEOF 4292 } 4293 b := dAtA[iNdEx] 4294 iNdEx++ 4295 v |= uint64(b&0x7F) << shift 4296 if b < 0x80 { 4297 break 4298 } 4299 } 4300 m.Field6 = append(m.Field6, v) 4301 } 4302 } else { 4303 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) 4304 } 4305 case 7: 4306 if wireType == 0 { 4307 var v int32 4308 for shift := uint(0); ; shift += 7 { 4309 if shift >= 64 { 4310 return ErrIntOverflowPacked 4311 } 4312 if iNdEx >= l { 4313 return io.ErrUnexpectedEOF 4314 } 4315 b := dAtA[iNdEx] 4316 iNdEx++ 4317 v |= int32(b&0x7F) << shift 4318 if b < 0x80 { 4319 break 4320 } 4321 } 4322 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 4323 m.Field7 = append(m.Field7, v) 4324 } else if wireType == 2 { 4325 var packedLen int 4326 for shift := uint(0); ; shift += 7 { 4327 if shift >= 64 { 4328 return ErrIntOverflowPacked 4329 } 4330 if iNdEx >= l { 4331 return io.ErrUnexpectedEOF 4332 } 4333 b := dAtA[iNdEx] 4334 iNdEx++ 4335 packedLen |= int(b&0x7F) << shift 4336 if b < 0x80 { 4337 break 4338 } 4339 } 4340 if packedLen < 0 { 4341 return ErrInvalidLengthPacked 4342 } 4343 postIndex := iNdEx + packedLen 4344 if postIndex < 0 { 4345 return ErrInvalidLengthPacked 4346 } 4347 if postIndex > l { 4348 return io.ErrUnexpectedEOF 4349 } 4350 var elementCount int 4351 var count int 4352 for _, integer := range dAtA[iNdEx:postIndex] { 4353 if integer < 128 { 4354 count++ 4355 } 4356 } 4357 elementCount = count 4358 if elementCount != 0 && len(m.Field7) == 0 { 4359 m.Field7 = make([]int32, 0, elementCount) 4360 } 4361 for iNdEx < postIndex { 4362 var v int32 4363 for shift := uint(0); ; shift += 7 { 4364 if shift >= 64 { 4365 return ErrIntOverflowPacked 4366 } 4367 if iNdEx >= l { 4368 return io.ErrUnexpectedEOF 4369 } 4370 b := dAtA[iNdEx] 4371 iNdEx++ 4372 v |= int32(b&0x7F) << shift 4373 if b < 0x80 { 4374 break 4375 } 4376 } 4377 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 4378 m.Field7 = append(m.Field7, v) 4379 } 4380 } else { 4381 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) 4382 } 4383 case 8: 4384 if wireType == 0 { 4385 var v uint64 4386 for shift := uint(0); ; shift += 7 { 4387 if shift >= 64 { 4388 return ErrIntOverflowPacked 4389 } 4390 if iNdEx >= l { 4391 return io.ErrUnexpectedEOF 4392 } 4393 b := dAtA[iNdEx] 4394 iNdEx++ 4395 v |= uint64(b&0x7F) << shift 4396 if b < 0x80 { 4397 break 4398 } 4399 } 4400 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 4401 m.Field8 = append(m.Field8, int64(v)) 4402 } else if wireType == 2 { 4403 var packedLen int 4404 for shift := uint(0); ; shift += 7 { 4405 if shift >= 64 { 4406 return ErrIntOverflowPacked 4407 } 4408 if iNdEx >= l { 4409 return io.ErrUnexpectedEOF 4410 } 4411 b := dAtA[iNdEx] 4412 iNdEx++ 4413 packedLen |= int(b&0x7F) << shift 4414 if b < 0x80 { 4415 break 4416 } 4417 } 4418 if packedLen < 0 { 4419 return ErrInvalidLengthPacked 4420 } 4421 postIndex := iNdEx + packedLen 4422 if postIndex < 0 { 4423 return ErrInvalidLengthPacked 4424 } 4425 if postIndex > l { 4426 return io.ErrUnexpectedEOF 4427 } 4428 var elementCount int 4429 var count int 4430 for _, integer := range dAtA[iNdEx:postIndex] { 4431 if integer < 128 { 4432 count++ 4433 } 4434 } 4435 elementCount = count 4436 if elementCount != 0 && len(m.Field8) == 0 { 4437 m.Field8 = make([]int64, 0, elementCount) 4438 } 4439 for iNdEx < postIndex { 4440 var v uint64 4441 for shift := uint(0); ; shift += 7 { 4442 if shift >= 64 { 4443 return ErrIntOverflowPacked 4444 } 4445 if iNdEx >= l { 4446 return io.ErrUnexpectedEOF 4447 } 4448 b := dAtA[iNdEx] 4449 iNdEx++ 4450 v |= uint64(b&0x7F) << shift 4451 if b < 0x80 { 4452 break 4453 } 4454 } 4455 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 4456 m.Field8 = append(m.Field8, int64(v)) 4457 } 4458 } else { 4459 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) 4460 } 4461 case 9: 4462 if wireType == 5 { 4463 var v uint32 4464 if (iNdEx + 4) > l { 4465 return io.ErrUnexpectedEOF 4466 } 4467 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4468 iNdEx += 4 4469 m.Field9 = append(m.Field9, v) 4470 } else if wireType == 2 { 4471 var packedLen int 4472 for shift := uint(0); ; shift += 7 { 4473 if shift >= 64 { 4474 return ErrIntOverflowPacked 4475 } 4476 if iNdEx >= l { 4477 return io.ErrUnexpectedEOF 4478 } 4479 b := dAtA[iNdEx] 4480 iNdEx++ 4481 packedLen |= int(b&0x7F) << shift 4482 if b < 0x80 { 4483 break 4484 } 4485 } 4486 if packedLen < 0 { 4487 return ErrInvalidLengthPacked 4488 } 4489 postIndex := iNdEx + packedLen 4490 if postIndex < 0 { 4491 return ErrInvalidLengthPacked 4492 } 4493 if postIndex > l { 4494 return io.ErrUnexpectedEOF 4495 } 4496 var elementCount int 4497 elementCount = packedLen / 4 4498 if elementCount != 0 && len(m.Field9) == 0 { 4499 m.Field9 = make([]uint32, 0, elementCount) 4500 } 4501 for iNdEx < postIndex { 4502 var v uint32 4503 if (iNdEx + 4) > l { 4504 return io.ErrUnexpectedEOF 4505 } 4506 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4507 iNdEx += 4 4508 m.Field9 = append(m.Field9, v) 4509 } 4510 } else { 4511 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) 4512 } 4513 case 10: 4514 if wireType == 5 { 4515 var v int32 4516 if (iNdEx + 4) > l { 4517 return io.ErrUnexpectedEOF 4518 } 4519 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4520 iNdEx += 4 4521 m.Field10 = append(m.Field10, v) 4522 } else if wireType == 2 { 4523 var packedLen int 4524 for shift := uint(0); ; shift += 7 { 4525 if shift >= 64 { 4526 return ErrIntOverflowPacked 4527 } 4528 if iNdEx >= l { 4529 return io.ErrUnexpectedEOF 4530 } 4531 b := dAtA[iNdEx] 4532 iNdEx++ 4533 packedLen |= int(b&0x7F) << shift 4534 if b < 0x80 { 4535 break 4536 } 4537 } 4538 if packedLen < 0 { 4539 return ErrInvalidLengthPacked 4540 } 4541 postIndex := iNdEx + packedLen 4542 if postIndex < 0 { 4543 return ErrInvalidLengthPacked 4544 } 4545 if postIndex > l { 4546 return io.ErrUnexpectedEOF 4547 } 4548 var elementCount int 4549 elementCount = packedLen / 4 4550 if elementCount != 0 && len(m.Field10) == 0 { 4551 m.Field10 = make([]int32, 0, elementCount) 4552 } 4553 for iNdEx < postIndex { 4554 var v int32 4555 if (iNdEx + 4) > l { 4556 return io.ErrUnexpectedEOF 4557 } 4558 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4559 iNdEx += 4 4560 m.Field10 = append(m.Field10, v) 4561 } 4562 } else { 4563 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) 4564 } 4565 case 11: 4566 if wireType == 1 { 4567 var v uint64 4568 if (iNdEx + 8) > l { 4569 return io.ErrUnexpectedEOF 4570 } 4571 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4572 iNdEx += 8 4573 m.Field11 = append(m.Field11, v) 4574 } else if wireType == 2 { 4575 var packedLen int 4576 for shift := uint(0); ; shift += 7 { 4577 if shift >= 64 { 4578 return ErrIntOverflowPacked 4579 } 4580 if iNdEx >= l { 4581 return io.ErrUnexpectedEOF 4582 } 4583 b := dAtA[iNdEx] 4584 iNdEx++ 4585 packedLen |= int(b&0x7F) << shift 4586 if b < 0x80 { 4587 break 4588 } 4589 } 4590 if packedLen < 0 { 4591 return ErrInvalidLengthPacked 4592 } 4593 postIndex := iNdEx + packedLen 4594 if postIndex < 0 { 4595 return ErrInvalidLengthPacked 4596 } 4597 if postIndex > l { 4598 return io.ErrUnexpectedEOF 4599 } 4600 var elementCount int 4601 elementCount = packedLen / 8 4602 if elementCount != 0 && len(m.Field11) == 0 { 4603 m.Field11 = make([]uint64, 0, elementCount) 4604 } 4605 for iNdEx < postIndex { 4606 var v uint64 4607 if (iNdEx + 8) > l { 4608 return io.ErrUnexpectedEOF 4609 } 4610 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4611 iNdEx += 8 4612 m.Field11 = append(m.Field11, v) 4613 } 4614 } else { 4615 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) 4616 } 4617 case 12: 4618 if wireType == 1 { 4619 var v int64 4620 if (iNdEx + 8) > l { 4621 return io.ErrUnexpectedEOF 4622 } 4623 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4624 iNdEx += 8 4625 m.Field12 = append(m.Field12, v) 4626 } else if wireType == 2 { 4627 var packedLen int 4628 for shift := uint(0); ; shift += 7 { 4629 if shift >= 64 { 4630 return ErrIntOverflowPacked 4631 } 4632 if iNdEx >= l { 4633 return io.ErrUnexpectedEOF 4634 } 4635 b := dAtA[iNdEx] 4636 iNdEx++ 4637 packedLen |= int(b&0x7F) << shift 4638 if b < 0x80 { 4639 break 4640 } 4641 } 4642 if packedLen < 0 { 4643 return ErrInvalidLengthPacked 4644 } 4645 postIndex := iNdEx + packedLen 4646 if postIndex < 0 { 4647 return ErrInvalidLengthPacked 4648 } 4649 if postIndex > l { 4650 return io.ErrUnexpectedEOF 4651 } 4652 var elementCount int 4653 elementCount = packedLen / 8 4654 if elementCount != 0 && len(m.Field12) == 0 { 4655 m.Field12 = make([]int64, 0, elementCount) 4656 } 4657 for iNdEx < postIndex { 4658 var v int64 4659 if (iNdEx + 8) > l { 4660 return io.ErrUnexpectedEOF 4661 } 4662 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4663 iNdEx += 8 4664 m.Field12 = append(m.Field12, v) 4665 } 4666 } else { 4667 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) 4668 } 4669 case 13: 4670 if wireType == 0 { 4671 var v int 4672 for shift := uint(0); ; shift += 7 { 4673 if shift >= 64 { 4674 return ErrIntOverflowPacked 4675 } 4676 if iNdEx >= l { 4677 return io.ErrUnexpectedEOF 4678 } 4679 b := dAtA[iNdEx] 4680 iNdEx++ 4681 v |= int(b&0x7F) << shift 4682 if b < 0x80 { 4683 break 4684 } 4685 } 4686 m.Field13 = append(m.Field13, bool(v != 0)) 4687 } else if wireType == 2 { 4688 var packedLen int 4689 for shift := uint(0); ; shift += 7 { 4690 if shift >= 64 { 4691 return ErrIntOverflowPacked 4692 } 4693 if iNdEx >= l { 4694 return io.ErrUnexpectedEOF 4695 } 4696 b := dAtA[iNdEx] 4697 iNdEx++ 4698 packedLen |= int(b&0x7F) << shift 4699 if b < 0x80 { 4700 break 4701 } 4702 } 4703 if packedLen < 0 { 4704 return ErrInvalidLengthPacked 4705 } 4706 postIndex := iNdEx + packedLen 4707 if postIndex < 0 { 4708 return ErrInvalidLengthPacked 4709 } 4710 if postIndex > l { 4711 return io.ErrUnexpectedEOF 4712 } 4713 var elementCount int 4714 elementCount = packedLen 4715 if elementCount != 0 && len(m.Field13) == 0 { 4716 m.Field13 = make([]bool, 0, elementCount) 4717 } 4718 for iNdEx < postIndex { 4719 var v int 4720 for shift := uint(0); ; shift += 7 { 4721 if shift >= 64 { 4722 return ErrIntOverflowPacked 4723 } 4724 if iNdEx >= l { 4725 return io.ErrUnexpectedEOF 4726 } 4727 b := dAtA[iNdEx] 4728 iNdEx++ 4729 v |= int(b&0x7F) << shift 4730 if b < 0x80 { 4731 break 4732 } 4733 } 4734 m.Field13 = append(m.Field13, bool(v != 0)) 4735 } 4736 } else { 4737 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) 4738 } 4739 default: 4740 iNdEx = preIndex 4741 skippy, err := skipPacked(dAtA[iNdEx:]) 4742 if err != nil { 4743 return err 4744 } 4745 if skippy < 0 { 4746 return ErrInvalidLengthPacked 4747 } 4748 if (iNdEx + skippy) < 0 { 4749 return ErrInvalidLengthPacked 4750 } 4751 if (iNdEx + skippy) > l { 4752 return io.ErrUnexpectedEOF 4753 } 4754 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4755 iNdEx += skippy 4756 } 4757 } 4758 4759 if iNdEx > l { 4760 return io.ErrUnexpectedEOF 4761 } 4762 return nil 4763} 4764func skipPacked(dAtA []byte) (n int, err error) { 4765 l := len(dAtA) 4766 iNdEx := 0 4767 depth := 0 4768 for iNdEx < l { 4769 var wire uint64 4770 for shift := uint(0); ; shift += 7 { 4771 if shift >= 64 { 4772 return 0, ErrIntOverflowPacked 4773 } 4774 if iNdEx >= l { 4775 return 0, io.ErrUnexpectedEOF 4776 } 4777 b := dAtA[iNdEx] 4778 iNdEx++ 4779 wire |= (uint64(b) & 0x7F) << shift 4780 if b < 0x80 { 4781 break 4782 } 4783 } 4784 wireType := int(wire & 0x7) 4785 switch wireType { 4786 case 0: 4787 for shift := uint(0); ; shift += 7 { 4788 if shift >= 64 { 4789 return 0, ErrIntOverflowPacked 4790 } 4791 if iNdEx >= l { 4792 return 0, io.ErrUnexpectedEOF 4793 } 4794 iNdEx++ 4795 if dAtA[iNdEx-1] < 0x80 { 4796 break 4797 } 4798 } 4799 case 1: 4800 iNdEx += 8 4801 case 2: 4802 var length int 4803 for shift := uint(0); ; shift += 7 { 4804 if shift >= 64 { 4805 return 0, ErrIntOverflowPacked 4806 } 4807 if iNdEx >= l { 4808 return 0, io.ErrUnexpectedEOF 4809 } 4810 b := dAtA[iNdEx] 4811 iNdEx++ 4812 length |= (int(b) & 0x7F) << shift 4813 if b < 0x80 { 4814 break 4815 } 4816 } 4817 if length < 0 { 4818 return 0, ErrInvalidLengthPacked 4819 } 4820 iNdEx += length 4821 case 3: 4822 depth++ 4823 case 4: 4824 if depth == 0 { 4825 return 0, ErrUnexpectedEndOfGroupPacked 4826 } 4827 depth-- 4828 case 5: 4829 iNdEx += 4 4830 default: 4831 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 4832 } 4833 if iNdEx < 0 { 4834 return 0, ErrInvalidLengthPacked 4835 } 4836 if depth == 0 { 4837 return iNdEx, nil 4838 } 4839 } 4840 return 0, io.ErrUnexpectedEOF 4841} 4842 4843var ( 4844 ErrInvalidLengthPacked = fmt.Errorf("proto: negative length found during unmarshaling") 4845 ErrIntOverflowPacked = fmt.Errorf("proto: integer overflow") 4846 ErrUnexpectedEndOfGroupPacked = fmt.Errorf("proto: unexpected end of group") 4847) 4848