github.com/chrislusf/greenpack@v3.7.1-0.20170911073826-ad5bd10b7c47+incompatible/green/green_gen.go (about) 1 package green 2 3 // NOTE: THIS FILE WAS PRODUCED BY THE 4 // GREENPACK CODE GENERATION TOOL (github.com/glycerine/greenpack) 5 // DO NOT EDIT 6 7 import ( 8 "github.com/glycerine/greenpack/msgp" 9 ) 10 11 // DecodeMsg implements msgp.Decodable 12 // We treat empty fields as if we read a Nil from the wire. 13 func (z *Field) DecodeMsg(dc *msgp.Reader) (err error) { 14 var sawTopNil bool 15 if dc.IsNil() { 16 sawTopNil = true 17 err = dc.ReadNil() 18 if err != nil { 19 return 20 } 21 dc.PushAlwaysNil() 22 } 23 24 var field []byte 25 _ = field 26 const maxFields0zrev = 11 27 28 // -- templateDecodeMsg starts here-- 29 var totalEncodedFields0zrev uint32 30 totalEncodedFields0zrev, err = dc.ReadMapHeader() 31 if err != nil { 32 return 33 } 34 encodedFieldsLeft0zrev := totalEncodedFields0zrev 35 missingFieldsLeft0zrev := maxFields0zrev - totalEncodedFields0zrev 36 37 var nextMiss0zrev int32 = -1 38 var found0zrev [maxFields0zrev]bool 39 var curField0zrev string 40 41 doneWithStruct0zrev: 42 // First fill all the encoded fields, then 43 // treat the remaining, missing fields, as Nil. 44 for encodedFieldsLeft0zrev > 0 || missingFieldsLeft0zrev > 0 { 45 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft0zrev, missingFieldsLeft0zrev, msgp.ShowFound(found0zrev[:]), decodeMsgFieldOrder0zrev) 46 if encodedFieldsLeft0zrev > 0 { 47 encodedFieldsLeft0zrev-- 48 field, err = dc.ReadMapKeyPtr() 49 if err != nil { 50 return 51 } 52 curField0zrev = msgp.UnsafeString(field) 53 } else { 54 //missing fields need handling 55 if nextMiss0zrev < 0 { 56 // tell the reader to only give us Nils 57 // until further notice. 58 dc.PushAlwaysNil() 59 nextMiss0zrev = 0 60 } 61 for nextMiss0zrev < maxFields0zrev && (found0zrev[nextMiss0zrev] || decodeMsgFieldSkip0zrev[nextMiss0zrev]) { 62 nextMiss0zrev++ 63 } 64 if nextMiss0zrev == maxFields0zrev { 65 // filled all the empty fields! 66 break doneWithStruct0zrev 67 } 68 missingFieldsLeft0zrev-- 69 curField0zrev = decodeMsgFieldOrder0zrev[nextMiss0zrev] 70 } 71 //fmt.Printf("switching on curField: '%v'\n", curField0zrev) 72 switch curField0zrev { 73 // -- templateDecodeMsg ends here -- 74 75 case "Zid__i64": 76 found0zrev[0] = true 77 z.Zid, err = dc.ReadInt64() 78 if err != nil { 79 return 80 } 81 case "FieldGoName__str": 82 found0zrev[1] = true 83 z.FieldGoName, err = dc.ReadString() 84 if err != nil { 85 return 86 } 87 case "FieldTagName__str": 88 found0zrev[2] = true 89 z.FieldTagName, err = dc.ReadString() 90 if err != nil { 91 return 92 } 93 case "FieldTypeStr__str": 94 found0zrev[3] = true 95 z.FieldTypeStr, err = dc.ReadString() 96 if err != nil { 97 return 98 } 99 case "FieldCategory__": 100 found0zrev[4] = true 101 { 102 var zcbl uint64 103 zcbl, err = dc.ReadUint64() 104 z.FieldCategory = Zkind(zcbl) 105 } 106 if err != nil { 107 return 108 } 109 case "FieldPrimitive__": 110 found0zrev[5] = true 111 { 112 var zmfa uint64 113 zmfa, err = dc.ReadUint64() 114 z.FieldPrimitive = Zkind(zmfa) 115 } 116 if err != nil { 117 return 118 } 119 case "FieldFullType__ptr": 120 found0zrev[6] = true 121 if dc.IsNil() { 122 err = dc.ReadNil() 123 if err != nil { 124 return 125 } 126 127 if z.FieldFullType != nil { 128 dc.PushAlwaysNil() 129 err = z.FieldFullType.DecodeMsg(dc) 130 if err != nil { 131 return 132 } 133 dc.PopAlwaysNil() 134 } 135 } else { 136 // not Nil, we have something to read 137 138 if z.FieldFullType == nil { 139 z.FieldFullType = new(Ztype) 140 } 141 err = z.FieldFullType.DecodeMsg(dc) 142 if err != nil { 143 return 144 } 145 } 146 case "OmitEmpty__boo": 147 found0zrev[7] = true 148 z.OmitEmpty, err = dc.ReadBool() 149 if err != nil { 150 return 151 } 152 case "Skip__boo": 153 found0zrev[8] = true 154 z.Skip, err = dc.ReadBool() 155 if err != nil { 156 return 157 } 158 case "Deprecated__boo": 159 found0zrev[9] = true 160 z.Deprecated, err = dc.ReadBool() 161 if err != nil { 162 return 163 } 164 case "ShowZero__boo": 165 found0zrev[10] = true 166 z.ShowZero, err = dc.ReadBool() 167 if err != nil { 168 return 169 } 170 default: 171 err = dc.Skip() 172 if err != nil { 173 return 174 } 175 } 176 } 177 if nextMiss0zrev != -1 { 178 dc.PopAlwaysNil() 179 } 180 181 if sawTopNil { 182 dc.PopAlwaysNil() 183 } 184 185 if p, ok := interface{}(z).(msgp.PostLoad); ok { 186 p.PostLoadHook() 187 } 188 189 return 190 } 191 192 // fields of Field 193 var decodeMsgFieldOrder0zrev = []string{"Zid__i64", "FieldGoName__str", "FieldTagName__str", "FieldTypeStr__str", "FieldCategory__", "FieldPrimitive__", "FieldFullType__ptr", "OmitEmpty__boo", "Skip__boo", "Deprecated__boo", "ShowZero__boo"} 194 195 var decodeMsgFieldSkip0zrev = []bool{false, false, false, false, false, false, false, false, false, false, false} 196 197 // fieldsNotEmpty supports omitempty tags 198 func (z *Field) fieldsNotEmpty(isempty []bool) uint32 { 199 if len(isempty) == 0 { 200 return 11 201 } 202 var fieldsInUse uint32 = 11 203 isempty[2] = (len(z.FieldTagName) == 0) // string, omitempty 204 if isempty[2] { 205 fieldsInUse-- 206 } 207 isempty[3] = (len(z.FieldTypeStr) == 0) // string, omitempty 208 if isempty[3] { 209 fieldsInUse-- 210 } 211 isempty[4] = (z.FieldCategory == 0) // number, omitempty 212 if isempty[4] { 213 fieldsInUse-- 214 } 215 isempty[5] = (z.FieldPrimitive == 0) // number, omitempty 216 if isempty[5] { 217 fieldsInUse-- 218 } 219 isempty[6] = (z.FieldFullType == nil) // pointer, omitempty 220 if isempty[6] { 221 fieldsInUse-- 222 } 223 isempty[7] = (!z.OmitEmpty) // bool, omitempty 224 if isempty[7] { 225 fieldsInUse-- 226 } 227 isempty[8] = (!z.Skip) // bool, omitempty 228 if isempty[8] { 229 fieldsInUse-- 230 } 231 isempty[9] = (!z.Deprecated) // bool, omitempty 232 if isempty[9] { 233 fieldsInUse-- 234 } 235 isempty[10] = (!z.ShowZero) // bool, omitempty 236 if isempty[10] { 237 fieldsInUse-- 238 } 239 240 return fieldsInUse 241 } 242 243 // EncodeMsg implements msgp.Encodable 244 func (z *Field) EncodeMsg(en *msgp.Writer) (err error) { 245 if p, ok := interface{}(z).(msgp.PreSave); ok { 246 p.PreSaveHook() 247 } 248 249 // honor the omitempty tags 250 var empty_zkyn [11]bool 251 fieldsInUse_zgyq := z.fieldsNotEmpty(empty_zkyn[:]) 252 253 // map header 254 err = en.WriteMapHeader(fieldsInUse_zgyq) 255 if err != nil { 256 return err 257 } 258 259 // write "Zid__i64" 260 err = en.Append(0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34) 261 if err != nil { 262 return err 263 } 264 err = en.WriteInt64(z.Zid) 265 if err != nil { 266 return 267 } 268 // write "FieldGoName__str" 269 err = en.Append(0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 270 if err != nil { 271 return err 272 } 273 err = en.WriteString(z.FieldGoName) 274 if err != nil { 275 return 276 } 277 if !empty_zkyn[2] { 278 // write "FieldTagName__str" 279 err = en.Append(0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 280 if err != nil { 281 return err 282 } 283 err = en.WriteString(z.FieldTagName) 284 if err != nil { 285 return 286 } 287 } 288 289 if !empty_zkyn[3] { 290 // write "FieldTypeStr__str" 291 err = en.Append(0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72) 292 if err != nil { 293 return err 294 } 295 err = en.WriteString(z.FieldTypeStr) 296 if err != nil { 297 return 298 } 299 } 300 301 if !empty_zkyn[4] { 302 // write "FieldCategory__" 303 err = en.Append(0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f) 304 if err != nil { 305 return err 306 } 307 err = en.WriteUint64(uint64(z.FieldCategory)) 308 if err != nil { 309 return 310 } 311 } 312 313 if !empty_zkyn[5] { 314 // write "FieldPrimitive__" 315 err = en.Append(0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f) 316 if err != nil { 317 return err 318 } 319 err = en.WriteUint64(uint64(z.FieldPrimitive)) 320 if err != nil { 321 return 322 } 323 } 324 325 if !empty_zkyn[6] { 326 // write "FieldFullType__ptr" 327 err = en.Append(0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72) 328 if err != nil { 329 return err 330 } 331 if z.FieldFullType == nil { 332 err = en.WriteNil() 333 if err != nil { 334 return 335 } 336 } else { 337 err = z.FieldFullType.EncodeMsg(en) 338 if err != nil { 339 return 340 } 341 } 342 } 343 344 if !empty_zkyn[7] { 345 // write "OmitEmpty__boo" 346 err = en.Append(0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 347 if err != nil { 348 return err 349 } 350 err = en.WriteBool(z.OmitEmpty) 351 if err != nil { 352 return 353 } 354 } 355 356 if !empty_zkyn[8] { 357 // write "Skip__boo" 358 err = en.Append(0xa9, 0x53, 0x6b, 0x69, 0x70, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 359 if err != nil { 360 return err 361 } 362 err = en.WriteBool(z.Skip) 363 if err != nil { 364 return 365 } 366 } 367 368 if !empty_zkyn[9] { 369 // write "Deprecated__boo" 370 err = en.Append(0xaf, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 371 if err != nil { 372 return err 373 } 374 err = en.WriteBool(z.Deprecated) 375 if err != nil { 376 return 377 } 378 } 379 380 if !empty_zkyn[10] { 381 // write "ShowZero__boo" 382 err = en.Append(0xad, 0x53, 0x68, 0x6f, 0x77, 0x5a, 0x65, 0x72, 0x6f, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 383 if err != nil { 384 return err 385 } 386 err = en.WriteBool(z.ShowZero) 387 if err != nil { 388 return 389 } 390 } 391 392 return 393 } 394 395 // MarshalMsg implements msgp.Marshaler 396 func (z *Field) MarshalMsg(b []byte) (o []byte, err error) { 397 if p, ok := interface{}(z).(msgp.PreSave); ok { 398 p.PreSaveHook() 399 } 400 401 o = msgp.Require(b, z.Msgsize()) 402 403 // honor the omitempty tags 404 var empty [11]bool 405 fieldsInUse := z.fieldsNotEmpty(empty[:]) 406 o = msgp.AppendMapHeader(o, fieldsInUse) 407 408 // string "Zid__i64" 409 o = append(o, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34) 410 o = msgp.AppendInt64(o, z.Zid) 411 // string "FieldGoName__str" 412 o = append(o, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 413 o = msgp.AppendString(o, z.FieldGoName) 414 if !empty[2] { 415 // string "FieldTagName__str" 416 o = append(o, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 417 o = msgp.AppendString(o, z.FieldTagName) 418 } 419 420 if !empty[3] { 421 // string "FieldTypeStr__str" 422 o = append(o, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72) 423 o = msgp.AppendString(o, z.FieldTypeStr) 424 } 425 426 if !empty[4] { 427 // string "FieldCategory__" 428 o = append(o, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f) 429 o = msgp.AppendUint64(o, uint64(z.FieldCategory)) 430 } 431 432 if !empty[5] { 433 // string "FieldPrimitive__" 434 o = append(o, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f) 435 o = msgp.AppendUint64(o, uint64(z.FieldPrimitive)) 436 } 437 438 if !empty[6] { 439 // string "FieldFullType__ptr" 440 o = append(o, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72) 441 if z.FieldFullType == nil { 442 o = msgp.AppendNil(o) 443 } else { 444 o, err = z.FieldFullType.MarshalMsg(o) 445 if err != nil { 446 return 447 } 448 } 449 } 450 451 if !empty[7] { 452 // string "OmitEmpty__boo" 453 o = append(o, 0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 454 o = msgp.AppendBool(o, z.OmitEmpty) 455 } 456 457 if !empty[8] { 458 // string "Skip__boo" 459 o = append(o, 0xa9, 0x53, 0x6b, 0x69, 0x70, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 460 o = msgp.AppendBool(o, z.Skip) 461 } 462 463 if !empty[9] { 464 // string "Deprecated__boo" 465 o = append(o, 0xaf, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 466 o = msgp.AppendBool(o, z.Deprecated) 467 } 468 469 if !empty[10] { 470 // string "ShowZero__boo" 471 o = append(o, 0xad, 0x53, 0x68, 0x6f, 0x77, 0x5a, 0x65, 0x72, 0x6f, 0x5f, 0x5f, 0x62, 0x6f, 0x6f) 472 o = msgp.AppendBool(o, z.ShowZero) 473 } 474 475 return 476 } 477 478 // UnmarshalMsg implements msgp.Unmarshaler 479 func (z *Field) UnmarshalMsg(bts []byte) (o []byte, err error) { 480 return z.UnmarshalMsgWithCfg(bts, nil) 481 } 482 func (z *Field) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) { 483 var nbs msgp.NilBitsStack 484 nbs.Init(cfg) 485 var sawTopNil bool 486 if msgp.IsNil(bts) { 487 sawTopNil = true 488 bts = nbs.PushAlwaysNil(bts[1:]) 489 } 490 491 var field []byte 492 _ = field 493 const maxFields1zggx = 11 494 495 // -- templateUnmarshalMsg starts here-- 496 var totalEncodedFields1zggx uint32 497 if !nbs.AlwaysNil { 498 totalEncodedFields1zggx, bts, err = nbs.ReadMapHeaderBytes(bts) 499 if err != nil { 500 return 501 } 502 } 503 encodedFieldsLeft1zggx := totalEncodedFields1zggx 504 missingFieldsLeft1zggx := maxFields1zggx - totalEncodedFields1zggx 505 506 var nextMiss1zggx int32 = -1 507 var found1zggx [maxFields1zggx]bool 508 var curField1zggx string 509 510 doneWithStruct1zggx: 511 // First fill all the encoded fields, then 512 // treat the remaining, missing fields, as Nil. 513 for encodedFieldsLeft1zggx > 0 || missingFieldsLeft1zggx > 0 { 514 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft1zggx, missingFieldsLeft1zggx, msgp.ShowFound(found1zggx[:]), unmarshalMsgFieldOrder1zggx) 515 if encodedFieldsLeft1zggx > 0 { 516 encodedFieldsLeft1zggx-- 517 field, bts, err = nbs.ReadMapKeyZC(bts) 518 if err != nil { 519 return 520 } 521 curField1zggx = msgp.UnsafeString(field) 522 } else { 523 //missing fields need handling 524 if nextMiss1zggx < 0 { 525 // set bts to contain just mnil (0xc0) 526 bts = nbs.PushAlwaysNil(bts) 527 nextMiss1zggx = 0 528 } 529 for nextMiss1zggx < maxFields1zggx && (found1zggx[nextMiss1zggx] || unmarshalMsgFieldSkip1zggx[nextMiss1zggx]) { 530 nextMiss1zggx++ 531 } 532 if nextMiss1zggx == maxFields1zggx { 533 // filled all the empty fields! 534 break doneWithStruct1zggx 535 } 536 missingFieldsLeft1zggx-- 537 curField1zggx = unmarshalMsgFieldOrder1zggx[nextMiss1zggx] 538 } 539 //fmt.Printf("switching on curField: '%v'\n", curField1zggx) 540 switch curField1zggx { 541 // -- templateUnmarshalMsg ends here -- 542 543 case "Zid__i64": 544 found1zggx[0] = true 545 z.Zid, bts, err = nbs.ReadInt64Bytes(bts) 546 547 if err != nil { 548 return 549 } 550 case "FieldGoName__str": 551 found1zggx[1] = true 552 z.FieldGoName, bts, err = nbs.ReadStringBytes(bts) 553 554 if err != nil { 555 return 556 } 557 case "FieldTagName__str": 558 found1zggx[2] = true 559 z.FieldTagName, bts, err = nbs.ReadStringBytes(bts) 560 561 if err != nil { 562 return 563 } 564 case "FieldTypeStr__str": 565 found1zggx[3] = true 566 z.FieldTypeStr, bts, err = nbs.ReadStringBytes(bts) 567 568 if err != nil { 569 return 570 } 571 case "FieldCategory__": 572 found1zggx[4] = true 573 { 574 var zrla uint64 575 zrla, bts, err = nbs.ReadUint64Bytes(bts) 576 577 if err != nil { 578 return 579 } 580 z.FieldCategory = Zkind(zrla) 581 } 582 case "FieldPrimitive__": 583 found1zggx[5] = true 584 { 585 var zgxy uint64 586 zgxy, bts, err = nbs.ReadUint64Bytes(bts) 587 588 if err != nil { 589 return 590 } 591 z.FieldPrimitive = Zkind(zgxy) 592 } 593 case "FieldFullType__ptr": 594 found1zggx[6] = true 595 if nbs.AlwaysNil { 596 if z.FieldFullType != nil { 597 z.FieldFullType.UnmarshalMsg(msgp.OnlyNilSlice) 598 } 599 } else { 600 // not nbs.AlwaysNil 601 if msgp.IsNil(bts) { 602 bts = bts[1:] 603 if nil != z.FieldFullType { 604 z.FieldFullType.UnmarshalMsg(msgp.OnlyNilSlice) 605 } 606 } else { 607 // not nbs.AlwaysNil and not IsNil(bts): have something to read 608 609 if z.FieldFullType == nil { 610 z.FieldFullType = new(Ztype) 611 } 612 bts, err = z.FieldFullType.UnmarshalMsg(bts) 613 if err != nil { 614 return 615 } 616 if err != nil { 617 return 618 } 619 } 620 } 621 case "OmitEmpty__boo": 622 found1zggx[7] = true 623 z.OmitEmpty, bts, err = nbs.ReadBoolBytes(bts) 624 625 if err != nil { 626 return 627 } 628 case "Skip__boo": 629 found1zggx[8] = true 630 z.Skip, bts, err = nbs.ReadBoolBytes(bts) 631 632 if err != nil { 633 return 634 } 635 case "Deprecated__boo": 636 found1zggx[9] = true 637 z.Deprecated, bts, err = nbs.ReadBoolBytes(bts) 638 639 if err != nil { 640 return 641 } 642 case "ShowZero__boo": 643 found1zggx[10] = true 644 z.ShowZero, bts, err = nbs.ReadBoolBytes(bts) 645 646 if err != nil { 647 return 648 } 649 default: 650 bts, err = msgp.Skip(bts) 651 if err != nil { 652 return 653 } 654 } 655 } 656 if nextMiss1zggx != -1 { 657 bts = nbs.PopAlwaysNil() 658 } 659 660 if sawTopNil { 661 bts = nbs.PopAlwaysNil() 662 } 663 o = bts 664 if p, ok := interface{}(z).(msgp.PostLoad); ok { 665 p.PostLoadHook() 666 } 667 668 return 669 } 670 671 // fields of Field 672 var unmarshalMsgFieldOrder1zggx = []string{"Zid__i64", "FieldGoName__str", "FieldTagName__str", "FieldTypeStr__str", "FieldCategory__", "FieldPrimitive__", "FieldFullType__ptr", "OmitEmpty__boo", "Skip__boo", "Deprecated__boo", "ShowZero__boo"} 673 674 var unmarshalMsgFieldSkip1zggx = []bool{false, false, false, false, false, false, false, false, false, false, false} 675 676 // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message 677 func (z *Field) Msgsize() (s int) { 678 s = 1 + 9 + msgp.Int64Size + 17 + msgp.StringPrefixSize + len(z.FieldGoName) + 18 + msgp.StringPrefixSize + len(z.FieldTagName) + 18 + msgp.StringPrefixSize + len(z.FieldTypeStr) + 16 + msgp.Uint64Size + 17 + msgp.Uint64Size + 19 679 if z.FieldFullType == nil { 680 s += msgp.NilSize 681 } else { 682 s += z.FieldFullType.Msgsize() 683 } 684 s += 15 + msgp.BoolSize + 10 + msgp.BoolSize + 16 + msgp.BoolSize + 14 + msgp.BoolSize 685 return 686 } 687 688 // DecodeMsg implements msgp.Decodable 689 // We treat empty fields as if we read a Nil from the wire. 690 func (z *Schema) DecodeMsg(dc *msgp.Reader) (err error) { 691 var sawTopNil bool 692 if dc.IsNil() { 693 sawTopNil = true 694 err = dc.ReadNil() 695 if err != nil { 696 return 697 } 698 dc.PushAlwaysNil() 699 } 700 701 var field []byte 702 _ = field 703 const maxFields2zktt = 5 704 705 // -- templateDecodeMsg starts here-- 706 var totalEncodedFields2zktt uint32 707 totalEncodedFields2zktt, err = dc.ReadMapHeader() 708 if err != nil { 709 return 710 } 711 encodedFieldsLeft2zktt := totalEncodedFields2zktt 712 missingFieldsLeft2zktt := maxFields2zktt - totalEncodedFields2zktt 713 714 var nextMiss2zktt int32 = -1 715 var found2zktt [maxFields2zktt]bool 716 var curField2zktt string 717 718 doneWithStruct2zktt: 719 // First fill all the encoded fields, then 720 // treat the remaining, missing fields, as Nil. 721 for encodedFieldsLeft2zktt > 0 || missingFieldsLeft2zktt > 0 { 722 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft2zktt, missingFieldsLeft2zktt, msgp.ShowFound(found2zktt[:]), decodeMsgFieldOrder2zktt) 723 if encodedFieldsLeft2zktt > 0 { 724 encodedFieldsLeft2zktt-- 725 field, err = dc.ReadMapKeyPtr() 726 if err != nil { 727 return 728 } 729 curField2zktt = msgp.UnsafeString(field) 730 } else { 731 //missing fields need handling 732 if nextMiss2zktt < 0 { 733 // tell the reader to only give us Nils 734 // until further notice. 735 dc.PushAlwaysNil() 736 nextMiss2zktt = 0 737 } 738 for nextMiss2zktt < maxFields2zktt && (found2zktt[nextMiss2zktt] || decodeMsgFieldSkip2zktt[nextMiss2zktt]) { 739 nextMiss2zktt++ 740 } 741 if nextMiss2zktt == maxFields2zktt { 742 // filled all the empty fields! 743 break doneWithStruct2zktt 744 } 745 missingFieldsLeft2zktt-- 746 curField2zktt = decodeMsgFieldOrder2zktt[nextMiss2zktt] 747 } 748 //fmt.Printf("switching on curField: '%v'\n", curField2zktt) 749 switch curField2zktt { 750 // -- templateDecodeMsg ends here -- 751 752 case "SourcePath__str": 753 found2zktt[0] = true 754 z.SourcePath, err = dc.ReadString() 755 if err != nil { 756 return 757 } 758 case "SourcePackage__str": 759 found2zktt[1] = true 760 z.SourcePackage, err = dc.ReadString() 761 if err != nil { 762 return 763 } 764 case "GreenSchemaId__i64": 765 found2zktt[2] = true 766 z.GreenSchemaId, err = dc.ReadInt64() 767 if err != nil { 768 return 769 } 770 case "Structs__map": 771 found2zktt[3] = true 772 var zttz uint32 773 zttz, err = dc.ReadMapHeader() 774 if err != nil { 775 return 776 } 777 if z.Structs == nil && zttz > 0 { 778 z.Structs = make(map[string]*Struct, zttz) 779 } else if len(z.Structs) > 0 { 780 for key, _ := range z.Structs { 781 delete(z.Structs, key) 782 } 783 } 784 for zttz > 0 { 785 zttz-- 786 var znok string 787 var znzn *Struct 788 znok, err = dc.ReadString() 789 if err != nil { 790 return 791 } 792 if dc.IsNil() { 793 err = dc.ReadNil() 794 if err != nil { 795 return 796 } 797 798 znzn = nil 799 } else { 800 if znzn == nil { 801 znzn = new(Struct) 802 } 803 const maxFields3zerw = 2 804 805 // -- templateDecodeMsg starts here-- 806 var totalEncodedFields3zerw uint32 807 totalEncodedFields3zerw, err = dc.ReadMapHeader() 808 if err != nil { 809 return 810 } 811 encodedFieldsLeft3zerw := totalEncodedFields3zerw 812 missingFieldsLeft3zerw := maxFields3zerw - totalEncodedFields3zerw 813 814 var nextMiss3zerw int32 = -1 815 var found3zerw [maxFields3zerw]bool 816 var curField3zerw string 817 818 doneWithStruct3zerw: 819 // First fill all the encoded fields, then 820 // treat the remaining, missing fields, as Nil. 821 for encodedFieldsLeft3zerw > 0 || missingFieldsLeft3zerw > 0 { 822 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft3zerw, missingFieldsLeft3zerw, msgp.ShowFound(found3zerw[:]), decodeMsgFieldOrder3zerw) 823 if encodedFieldsLeft3zerw > 0 { 824 encodedFieldsLeft3zerw-- 825 field, err = dc.ReadMapKeyPtr() 826 if err != nil { 827 return 828 } 829 curField3zerw = msgp.UnsafeString(field) 830 } else { 831 //missing fields need handling 832 if nextMiss3zerw < 0 { 833 // tell the reader to only give us Nils 834 // until further notice. 835 dc.PushAlwaysNil() 836 nextMiss3zerw = 0 837 } 838 for nextMiss3zerw < maxFields3zerw && (found3zerw[nextMiss3zerw] || decodeMsgFieldSkip3zerw[nextMiss3zerw]) { 839 nextMiss3zerw++ 840 } 841 if nextMiss3zerw == maxFields3zerw { 842 // filled all the empty fields! 843 break doneWithStruct3zerw 844 } 845 missingFieldsLeft3zerw-- 846 curField3zerw = decodeMsgFieldOrder3zerw[nextMiss3zerw] 847 } 848 //fmt.Printf("switching on curField: '%v'\n", curField3zerw) 849 switch curField3zerw { 850 // -- templateDecodeMsg ends here -- 851 852 case "StructName__str": 853 found3zerw[0] = true 854 znzn.StructName, err = dc.ReadString() 855 if err != nil { 856 return 857 } 858 case "Fields__slc": 859 found3zerw[1] = true 860 var zrtt uint32 861 zrtt, err = dc.ReadArrayHeader() 862 if err != nil { 863 return 864 } 865 if cap(znzn.Fields) >= int(zrtt) { 866 znzn.Fields = (znzn.Fields)[:zrtt] 867 } else { 868 znzn.Fields = make([]Field, zrtt) 869 } 870 for zqhr := range znzn.Fields { 871 err = znzn.Fields[zqhr].DecodeMsg(dc) 872 if err != nil { 873 return 874 } 875 } 876 default: 877 err = dc.Skip() 878 if err != nil { 879 return 880 } 881 } 882 } 883 if nextMiss3zerw != -1 { 884 dc.PopAlwaysNil() 885 } 886 887 } 888 z.Structs[znok] = znzn 889 } 890 case "Imports__slc": 891 found2zktt[4] = true 892 var zwgb uint32 893 zwgb, err = dc.ReadArrayHeader() 894 if err != nil { 895 return 896 } 897 if cap(z.Imports) >= int(zwgb) { 898 z.Imports = (z.Imports)[:zwgb] 899 } else { 900 z.Imports = make([]string, zwgb) 901 } 902 for zlfy := range z.Imports { 903 z.Imports[zlfy], err = dc.ReadString() 904 if err != nil { 905 return 906 } 907 } 908 default: 909 err = dc.Skip() 910 if err != nil { 911 return 912 } 913 } 914 } 915 if nextMiss2zktt != -1 { 916 dc.PopAlwaysNil() 917 } 918 919 if sawTopNil { 920 dc.PopAlwaysNil() 921 } 922 923 if p, ok := interface{}(z).(msgp.PostLoad); ok { 924 p.PostLoadHook() 925 } 926 927 return 928 } 929 930 // fields of Schema 931 var decodeMsgFieldOrder2zktt = []string{"SourcePath__str", "SourcePackage__str", "GreenSchemaId__i64", "Structs__map", "Imports__slc"} 932 933 var decodeMsgFieldSkip2zktt = []bool{false, false, false, false, false} 934 935 // fields of Struct 936 var decodeMsgFieldOrder3zerw = []string{"StructName__str", "Fields__slc"} 937 938 var decodeMsgFieldSkip3zerw = []bool{false, false} 939 940 // fieldsNotEmpty supports omitempty tags 941 func (z *Schema) fieldsNotEmpty(isempty []bool) uint32 { 942 return 5 943 } 944 945 // EncodeMsg implements msgp.Encodable 946 func (z *Schema) EncodeMsg(en *msgp.Writer) (err error) { 947 if p, ok := interface{}(z).(msgp.PreSave); ok { 948 p.PreSaveHook() 949 } 950 951 // map header, size 5 952 // write "SourcePath__str" 953 err = en.Append(0x85, 0xaf, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x5f, 0x73, 0x74, 0x72) 954 if err != nil { 955 return err 956 } 957 err = en.WriteString(z.SourcePath) 958 if err != nil { 959 return 960 } 961 // write "SourcePackage__str" 962 err = en.Append(0xb2, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 963 if err != nil { 964 return err 965 } 966 err = en.WriteString(z.SourcePackage) 967 if err != nil { 968 return 969 } 970 // write "GreenSchemaId__i64" 971 err = en.Append(0xb2, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x49, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34) 972 if err != nil { 973 return err 974 } 975 err = en.WriteInt64(z.GreenSchemaId) 976 if err != nil { 977 return 978 } 979 // write "Structs__map" 980 err = en.Append(0xac, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5f, 0x5f, 0x6d, 0x61, 0x70) 981 if err != nil { 982 return err 983 } 984 err = en.WriteMapHeader(uint32(len(z.Structs))) 985 if err != nil { 986 return 987 } 988 for znok, znzn := range z.Structs { 989 err = en.WriteString(znok) 990 if err != nil { 991 return 992 } 993 if znzn == nil { 994 err = en.WriteNil() 995 if err != nil { 996 return 997 } 998 } else { 999 // map header, size 2 1000 // write "StructName__str" 1001 err = en.Append(0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 1002 if err != nil { 1003 return err 1004 } 1005 err = en.WriteString(znzn.StructName) 1006 if err != nil { 1007 return 1008 } 1009 // write "Fields__slc" 1010 err = en.Append(0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63) 1011 if err != nil { 1012 return err 1013 } 1014 err = en.WriteArrayHeader(uint32(len(znzn.Fields))) 1015 if err != nil { 1016 return 1017 } 1018 for zqhr := range znzn.Fields { 1019 err = znzn.Fields[zqhr].EncodeMsg(en) 1020 if err != nil { 1021 return 1022 } 1023 } 1024 } 1025 } 1026 // write "Imports__slc" 1027 err = en.Append(0xac, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63) 1028 if err != nil { 1029 return err 1030 } 1031 err = en.WriteArrayHeader(uint32(len(z.Imports))) 1032 if err != nil { 1033 return 1034 } 1035 for zlfy := range z.Imports { 1036 err = en.WriteString(z.Imports[zlfy]) 1037 if err != nil { 1038 return 1039 } 1040 } 1041 return 1042 } 1043 1044 // MarshalMsg implements msgp.Marshaler 1045 func (z *Schema) MarshalMsg(b []byte) (o []byte, err error) { 1046 if p, ok := interface{}(z).(msgp.PreSave); ok { 1047 p.PreSaveHook() 1048 } 1049 1050 o = msgp.Require(b, z.Msgsize()) 1051 // map header, size 5 1052 // string "SourcePath__str" 1053 o = append(o, 0x85, 0xaf, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x5f, 0x73, 0x74, 0x72) 1054 o = msgp.AppendString(o, z.SourcePath) 1055 // string "SourcePackage__str" 1056 o = append(o, 0xb2, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 1057 o = msgp.AppendString(o, z.SourcePackage) 1058 // string "GreenSchemaId__i64" 1059 o = append(o, 0xb2, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x49, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34) 1060 o = msgp.AppendInt64(o, z.GreenSchemaId) 1061 // string "Structs__map" 1062 o = append(o, 0xac, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5f, 0x5f, 0x6d, 0x61, 0x70) 1063 o = msgp.AppendMapHeader(o, uint32(len(z.Structs))) 1064 for znok, znzn := range z.Structs { 1065 o = msgp.AppendString(o, znok) 1066 if znzn == nil { 1067 o = msgp.AppendNil(o) 1068 } else { 1069 // map header, size 2 1070 // string "StructName__str" 1071 o = append(o, 0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 1072 o = msgp.AppendString(o, znzn.StructName) 1073 // string "Fields__slc" 1074 o = append(o, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63) 1075 o = msgp.AppendArrayHeader(o, uint32(len(znzn.Fields))) 1076 for zqhr := range znzn.Fields { 1077 o, err = znzn.Fields[zqhr].MarshalMsg(o) 1078 if err != nil { 1079 return 1080 } 1081 } 1082 } 1083 } 1084 // string "Imports__slc" 1085 o = append(o, 0xac, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63) 1086 o = msgp.AppendArrayHeader(o, uint32(len(z.Imports))) 1087 for zlfy := range z.Imports { 1088 o = msgp.AppendString(o, z.Imports[zlfy]) 1089 } 1090 return 1091 } 1092 1093 // UnmarshalMsg implements msgp.Unmarshaler 1094 func (z *Schema) UnmarshalMsg(bts []byte) (o []byte, err error) { 1095 return z.UnmarshalMsgWithCfg(bts, nil) 1096 } 1097 func (z *Schema) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) { 1098 var nbs msgp.NilBitsStack 1099 nbs.Init(cfg) 1100 var sawTopNil bool 1101 if msgp.IsNil(bts) { 1102 sawTopNil = true 1103 bts = nbs.PushAlwaysNil(bts[1:]) 1104 } 1105 1106 var field []byte 1107 _ = field 1108 const maxFields4zdco = 5 1109 1110 // -- templateUnmarshalMsg starts here-- 1111 var totalEncodedFields4zdco uint32 1112 if !nbs.AlwaysNil { 1113 totalEncodedFields4zdco, bts, err = nbs.ReadMapHeaderBytes(bts) 1114 if err != nil { 1115 return 1116 } 1117 } 1118 encodedFieldsLeft4zdco := totalEncodedFields4zdco 1119 missingFieldsLeft4zdco := maxFields4zdco - totalEncodedFields4zdco 1120 1121 var nextMiss4zdco int32 = -1 1122 var found4zdco [maxFields4zdco]bool 1123 var curField4zdco string 1124 1125 doneWithStruct4zdco: 1126 // First fill all the encoded fields, then 1127 // treat the remaining, missing fields, as Nil. 1128 for encodedFieldsLeft4zdco > 0 || missingFieldsLeft4zdco > 0 { 1129 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft4zdco, missingFieldsLeft4zdco, msgp.ShowFound(found4zdco[:]), unmarshalMsgFieldOrder4zdco) 1130 if encodedFieldsLeft4zdco > 0 { 1131 encodedFieldsLeft4zdco-- 1132 field, bts, err = nbs.ReadMapKeyZC(bts) 1133 if err != nil { 1134 return 1135 } 1136 curField4zdco = msgp.UnsafeString(field) 1137 } else { 1138 //missing fields need handling 1139 if nextMiss4zdco < 0 { 1140 // set bts to contain just mnil (0xc0) 1141 bts = nbs.PushAlwaysNil(bts) 1142 nextMiss4zdco = 0 1143 } 1144 for nextMiss4zdco < maxFields4zdco && (found4zdco[nextMiss4zdco] || unmarshalMsgFieldSkip4zdco[nextMiss4zdco]) { 1145 nextMiss4zdco++ 1146 } 1147 if nextMiss4zdco == maxFields4zdco { 1148 // filled all the empty fields! 1149 break doneWithStruct4zdco 1150 } 1151 missingFieldsLeft4zdco-- 1152 curField4zdco = unmarshalMsgFieldOrder4zdco[nextMiss4zdco] 1153 } 1154 //fmt.Printf("switching on curField: '%v'\n", curField4zdco) 1155 switch curField4zdco { 1156 // -- templateUnmarshalMsg ends here -- 1157 1158 case "SourcePath__str": 1159 found4zdco[0] = true 1160 z.SourcePath, bts, err = nbs.ReadStringBytes(bts) 1161 1162 if err != nil { 1163 return 1164 } 1165 case "SourcePackage__str": 1166 found4zdco[1] = true 1167 z.SourcePackage, bts, err = nbs.ReadStringBytes(bts) 1168 1169 if err != nil { 1170 return 1171 } 1172 case "GreenSchemaId__i64": 1173 found4zdco[2] = true 1174 z.GreenSchemaId, bts, err = nbs.ReadInt64Bytes(bts) 1175 1176 if err != nil { 1177 return 1178 } 1179 case "Structs__map": 1180 found4zdco[3] = true 1181 if nbs.AlwaysNil { 1182 if len(z.Structs) > 0 { 1183 for key, _ := range z.Structs { 1184 delete(z.Structs, key) 1185 } 1186 } 1187 1188 } else { 1189 1190 var zxeh uint32 1191 zxeh, bts, err = nbs.ReadMapHeaderBytes(bts) 1192 if err != nil { 1193 return 1194 } 1195 if z.Structs == nil && zxeh > 0 { 1196 z.Structs = make(map[string]*Struct, zxeh) 1197 } else if len(z.Structs) > 0 { 1198 for key, _ := range z.Structs { 1199 delete(z.Structs, key) 1200 } 1201 } 1202 for zxeh > 0 { 1203 var znok string 1204 var znzn *Struct 1205 zxeh-- 1206 znok, bts, err = nbs.ReadStringBytes(bts) 1207 if err != nil { 1208 return 1209 } 1210 // default gPtr logic. 1211 if nbs.PeekNil(bts) && znzn == nil { 1212 // consume the nil 1213 bts, err = nbs.ReadNilBytes(bts) 1214 if err != nil { 1215 return 1216 } 1217 } else { 1218 // read as-if the wire has bytes, letting nbs take care of nils. 1219 1220 if znzn == nil { 1221 znzn = new(Struct) 1222 } 1223 const maxFields5zssm = 2 1224 1225 // -- templateUnmarshalMsg starts here-- 1226 var totalEncodedFields5zssm uint32 1227 if !nbs.AlwaysNil { 1228 totalEncodedFields5zssm, bts, err = nbs.ReadMapHeaderBytes(bts) 1229 if err != nil { 1230 return 1231 } 1232 } 1233 encodedFieldsLeft5zssm := totalEncodedFields5zssm 1234 missingFieldsLeft5zssm := maxFields5zssm - totalEncodedFields5zssm 1235 1236 var nextMiss5zssm int32 = -1 1237 var found5zssm [maxFields5zssm]bool 1238 var curField5zssm string 1239 1240 doneWithStruct5zssm: 1241 // First fill all the encoded fields, then 1242 // treat the remaining, missing fields, as Nil. 1243 for encodedFieldsLeft5zssm > 0 || missingFieldsLeft5zssm > 0 { 1244 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft5zssm, missingFieldsLeft5zssm, msgp.ShowFound(found5zssm[:]), unmarshalMsgFieldOrder5zssm) 1245 if encodedFieldsLeft5zssm > 0 { 1246 encodedFieldsLeft5zssm-- 1247 field, bts, err = nbs.ReadMapKeyZC(bts) 1248 if err != nil { 1249 return 1250 } 1251 curField5zssm = msgp.UnsafeString(field) 1252 } else { 1253 //missing fields need handling 1254 if nextMiss5zssm < 0 { 1255 // set bts to contain just mnil (0xc0) 1256 bts = nbs.PushAlwaysNil(bts) 1257 nextMiss5zssm = 0 1258 } 1259 for nextMiss5zssm < maxFields5zssm && (found5zssm[nextMiss5zssm] || unmarshalMsgFieldSkip5zssm[nextMiss5zssm]) { 1260 nextMiss5zssm++ 1261 } 1262 if nextMiss5zssm == maxFields5zssm { 1263 // filled all the empty fields! 1264 break doneWithStruct5zssm 1265 } 1266 missingFieldsLeft5zssm-- 1267 curField5zssm = unmarshalMsgFieldOrder5zssm[nextMiss5zssm] 1268 } 1269 //fmt.Printf("switching on curField: '%v'\n", curField5zssm) 1270 switch curField5zssm { 1271 // -- templateUnmarshalMsg ends here -- 1272 1273 case "StructName__str": 1274 found5zssm[0] = true 1275 znzn.StructName, bts, err = nbs.ReadStringBytes(bts) 1276 1277 if err != nil { 1278 return 1279 } 1280 case "Fields__slc": 1281 found5zssm[1] = true 1282 if nbs.AlwaysNil { 1283 (znzn.Fields) = (znzn.Fields)[:0] 1284 } else { 1285 1286 var znqd uint32 1287 znqd, bts, err = nbs.ReadArrayHeaderBytes(bts) 1288 if err != nil { 1289 return 1290 } 1291 if cap(znzn.Fields) >= int(znqd) { 1292 znzn.Fields = (znzn.Fields)[:znqd] 1293 } else { 1294 znzn.Fields = make([]Field, znqd) 1295 } 1296 for zqhr := range znzn.Fields { 1297 bts, err = znzn.Fields[zqhr].UnmarshalMsg(bts) 1298 if err != nil { 1299 return 1300 } 1301 if err != nil { 1302 return 1303 } 1304 } 1305 } 1306 default: 1307 bts, err = msgp.Skip(bts) 1308 if err != nil { 1309 return 1310 } 1311 } 1312 } 1313 if nextMiss5zssm != -1 { 1314 bts = nbs.PopAlwaysNil() 1315 } 1316 1317 } 1318 z.Structs[znok] = znzn 1319 } 1320 } 1321 case "Imports__slc": 1322 found4zdco[4] = true 1323 if nbs.AlwaysNil { 1324 (z.Imports) = (z.Imports)[:0] 1325 } else { 1326 1327 var zwlu uint32 1328 zwlu, bts, err = nbs.ReadArrayHeaderBytes(bts) 1329 if err != nil { 1330 return 1331 } 1332 if cap(z.Imports) >= int(zwlu) { 1333 z.Imports = (z.Imports)[:zwlu] 1334 } else { 1335 z.Imports = make([]string, zwlu) 1336 } 1337 for zlfy := range z.Imports { 1338 z.Imports[zlfy], bts, err = nbs.ReadStringBytes(bts) 1339 1340 if err != nil { 1341 return 1342 } 1343 } 1344 } 1345 default: 1346 bts, err = msgp.Skip(bts) 1347 if err != nil { 1348 return 1349 } 1350 } 1351 } 1352 if nextMiss4zdco != -1 { 1353 bts = nbs.PopAlwaysNil() 1354 } 1355 1356 if sawTopNil { 1357 bts = nbs.PopAlwaysNil() 1358 } 1359 o = bts 1360 if p, ok := interface{}(z).(msgp.PostLoad); ok { 1361 p.PostLoadHook() 1362 } 1363 1364 return 1365 } 1366 1367 // fields of Schema 1368 var unmarshalMsgFieldOrder4zdco = []string{"SourcePath__str", "SourcePackage__str", "GreenSchemaId__i64", "Structs__map", "Imports__slc"} 1369 1370 var unmarshalMsgFieldSkip4zdco = []bool{false, false, false, false, false} 1371 1372 // fields of Struct 1373 var unmarshalMsgFieldOrder5zssm = []string{"StructName__str", "Fields__slc"} 1374 1375 var unmarshalMsgFieldSkip5zssm = []bool{false, false} 1376 1377 // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message 1378 func (z *Schema) Msgsize() (s int) { 1379 s = 1 + 16 + msgp.StringPrefixSize + len(z.SourcePath) + 19 + msgp.StringPrefixSize + len(z.SourcePackage) + 19 + msgp.Int64Size + 13 + msgp.MapHeaderSize 1380 if z.Structs != nil { 1381 for znok, znzn := range z.Structs { 1382 _ = znzn 1383 _ = znok 1384 s += msgp.StringPrefixSize + len(znok) 1385 if znzn == nil { 1386 s += msgp.NilSize 1387 } else { 1388 s += 1 + 16 + msgp.StringPrefixSize + len(znzn.StructName) + 12 + msgp.ArrayHeaderSize 1389 for zqhr := range znzn.Fields { 1390 s += znzn.Fields[zqhr].Msgsize() 1391 } 1392 } 1393 } 1394 } 1395 s += 13 + msgp.ArrayHeaderSize 1396 for zlfy := range z.Imports { 1397 s += msgp.StringPrefixSize + len(z.Imports[zlfy]) 1398 } 1399 return 1400 } 1401 1402 // DecodeMsg implements msgp.Decodable 1403 // We treat empty fields as if we read a Nil from the wire. 1404 func (z *Struct) DecodeMsg(dc *msgp.Reader) (err error) { 1405 var sawTopNil bool 1406 if dc.IsNil() { 1407 sawTopNil = true 1408 err = dc.ReadNil() 1409 if err != nil { 1410 return 1411 } 1412 dc.PushAlwaysNil() 1413 } 1414 1415 var field []byte 1416 _ = field 1417 const maxFields6zpqd = 2 1418 1419 // -- templateDecodeMsg starts here-- 1420 var totalEncodedFields6zpqd uint32 1421 totalEncodedFields6zpqd, err = dc.ReadMapHeader() 1422 if err != nil { 1423 return 1424 } 1425 encodedFieldsLeft6zpqd := totalEncodedFields6zpqd 1426 missingFieldsLeft6zpqd := maxFields6zpqd - totalEncodedFields6zpqd 1427 1428 var nextMiss6zpqd int32 = -1 1429 var found6zpqd [maxFields6zpqd]bool 1430 var curField6zpqd string 1431 1432 doneWithStruct6zpqd: 1433 // First fill all the encoded fields, then 1434 // treat the remaining, missing fields, as Nil. 1435 for encodedFieldsLeft6zpqd > 0 || missingFieldsLeft6zpqd > 0 { 1436 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft6zpqd, missingFieldsLeft6zpqd, msgp.ShowFound(found6zpqd[:]), decodeMsgFieldOrder6zpqd) 1437 if encodedFieldsLeft6zpqd > 0 { 1438 encodedFieldsLeft6zpqd-- 1439 field, err = dc.ReadMapKeyPtr() 1440 if err != nil { 1441 return 1442 } 1443 curField6zpqd = msgp.UnsafeString(field) 1444 } else { 1445 //missing fields need handling 1446 if nextMiss6zpqd < 0 { 1447 // tell the reader to only give us Nils 1448 // until further notice. 1449 dc.PushAlwaysNil() 1450 nextMiss6zpqd = 0 1451 } 1452 for nextMiss6zpqd < maxFields6zpqd && (found6zpqd[nextMiss6zpqd] || decodeMsgFieldSkip6zpqd[nextMiss6zpqd]) { 1453 nextMiss6zpqd++ 1454 } 1455 if nextMiss6zpqd == maxFields6zpqd { 1456 // filled all the empty fields! 1457 break doneWithStruct6zpqd 1458 } 1459 missingFieldsLeft6zpqd-- 1460 curField6zpqd = decodeMsgFieldOrder6zpqd[nextMiss6zpqd] 1461 } 1462 //fmt.Printf("switching on curField: '%v'\n", curField6zpqd) 1463 switch curField6zpqd { 1464 // -- templateDecodeMsg ends here -- 1465 1466 case "StructName__str": 1467 found6zpqd[0] = true 1468 z.StructName, err = dc.ReadString() 1469 if err != nil { 1470 return 1471 } 1472 case "Fields__slc": 1473 found6zpqd[1] = true 1474 var zeon uint32 1475 zeon, err = dc.ReadArrayHeader() 1476 if err != nil { 1477 return 1478 } 1479 if cap(z.Fields) >= int(zeon) { 1480 z.Fields = (z.Fields)[:zeon] 1481 } else { 1482 z.Fields = make([]Field, zeon) 1483 } 1484 for zjlq := range z.Fields { 1485 err = z.Fields[zjlq].DecodeMsg(dc) 1486 if err != nil { 1487 return 1488 } 1489 } 1490 default: 1491 err = dc.Skip() 1492 if err != nil { 1493 return 1494 } 1495 } 1496 } 1497 if nextMiss6zpqd != -1 { 1498 dc.PopAlwaysNil() 1499 } 1500 1501 if sawTopNil { 1502 dc.PopAlwaysNil() 1503 } 1504 1505 if p, ok := interface{}(z).(msgp.PostLoad); ok { 1506 p.PostLoadHook() 1507 } 1508 1509 return 1510 } 1511 1512 // fields of Struct 1513 var decodeMsgFieldOrder6zpqd = []string{"StructName__str", "Fields__slc"} 1514 1515 var decodeMsgFieldSkip6zpqd = []bool{false, false} 1516 1517 // fieldsNotEmpty supports omitempty tags 1518 func (z *Struct) fieldsNotEmpty(isempty []bool) uint32 { 1519 return 2 1520 } 1521 1522 // EncodeMsg implements msgp.Encodable 1523 func (z *Struct) EncodeMsg(en *msgp.Writer) (err error) { 1524 if p, ok := interface{}(z).(msgp.PreSave); ok { 1525 p.PreSaveHook() 1526 } 1527 1528 // map header, size 2 1529 // write "StructName__str" 1530 err = en.Append(0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 1531 if err != nil { 1532 return err 1533 } 1534 err = en.WriteString(z.StructName) 1535 if err != nil { 1536 return 1537 } 1538 // write "Fields__slc" 1539 err = en.Append(0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63) 1540 if err != nil { 1541 return err 1542 } 1543 err = en.WriteArrayHeader(uint32(len(z.Fields))) 1544 if err != nil { 1545 return 1546 } 1547 for zjlq := range z.Fields { 1548 err = z.Fields[zjlq].EncodeMsg(en) 1549 if err != nil { 1550 return 1551 } 1552 } 1553 return 1554 } 1555 1556 // MarshalMsg implements msgp.Marshaler 1557 func (z *Struct) MarshalMsg(b []byte) (o []byte, err error) { 1558 if p, ok := interface{}(z).(msgp.PreSave); ok { 1559 p.PreSaveHook() 1560 } 1561 1562 o = msgp.Require(b, z.Msgsize()) 1563 // map header, size 2 1564 // string "StructName__str" 1565 o = append(o, 0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72) 1566 o = msgp.AppendString(o, z.StructName) 1567 // string "Fields__slc" 1568 o = append(o, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63) 1569 o = msgp.AppendArrayHeader(o, uint32(len(z.Fields))) 1570 for zjlq := range z.Fields { 1571 o, err = z.Fields[zjlq].MarshalMsg(o) 1572 if err != nil { 1573 return 1574 } 1575 } 1576 return 1577 } 1578 1579 // UnmarshalMsg implements msgp.Unmarshaler 1580 func (z *Struct) UnmarshalMsg(bts []byte) (o []byte, err error) { 1581 return z.UnmarshalMsgWithCfg(bts, nil) 1582 } 1583 func (z *Struct) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) { 1584 var nbs msgp.NilBitsStack 1585 nbs.Init(cfg) 1586 var sawTopNil bool 1587 if msgp.IsNil(bts) { 1588 sawTopNil = true 1589 bts = nbs.PushAlwaysNil(bts[1:]) 1590 } 1591 1592 var field []byte 1593 _ = field 1594 const maxFields7zjhb = 2 1595 1596 // -- templateUnmarshalMsg starts here-- 1597 var totalEncodedFields7zjhb uint32 1598 if !nbs.AlwaysNil { 1599 totalEncodedFields7zjhb, bts, err = nbs.ReadMapHeaderBytes(bts) 1600 if err != nil { 1601 return 1602 } 1603 } 1604 encodedFieldsLeft7zjhb := totalEncodedFields7zjhb 1605 missingFieldsLeft7zjhb := maxFields7zjhb - totalEncodedFields7zjhb 1606 1607 var nextMiss7zjhb int32 = -1 1608 var found7zjhb [maxFields7zjhb]bool 1609 var curField7zjhb string 1610 1611 doneWithStruct7zjhb: 1612 // First fill all the encoded fields, then 1613 // treat the remaining, missing fields, as Nil. 1614 for encodedFieldsLeft7zjhb > 0 || missingFieldsLeft7zjhb > 0 { 1615 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft7zjhb, missingFieldsLeft7zjhb, msgp.ShowFound(found7zjhb[:]), unmarshalMsgFieldOrder7zjhb) 1616 if encodedFieldsLeft7zjhb > 0 { 1617 encodedFieldsLeft7zjhb-- 1618 field, bts, err = nbs.ReadMapKeyZC(bts) 1619 if err != nil { 1620 return 1621 } 1622 curField7zjhb = msgp.UnsafeString(field) 1623 } else { 1624 //missing fields need handling 1625 if nextMiss7zjhb < 0 { 1626 // set bts to contain just mnil (0xc0) 1627 bts = nbs.PushAlwaysNil(bts) 1628 nextMiss7zjhb = 0 1629 } 1630 for nextMiss7zjhb < maxFields7zjhb && (found7zjhb[nextMiss7zjhb] || unmarshalMsgFieldSkip7zjhb[nextMiss7zjhb]) { 1631 nextMiss7zjhb++ 1632 } 1633 if nextMiss7zjhb == maxFields7zjhb { 1634 // filled all the empty fields! 1635 break doneWithStruct7zjhb 1636 } 1637 missingFieldsLeft7zjhb-- 1638 curField7zjhb = unmarshalMsgFieldOrder7zjhb[nextMiss7zjhb] 1639 } 1640 //fmt.Printf("switching on curField: '%v'\n", curField7zjhb) 1641 switch curField7zjhb { 1642 // -- templateUnmarshalMsg ends here -- 1643 1644 case "StructName__str": 1645 found7zjhb[0] = true 1646 z.StructName, bts, err = nbs.ReadStringBytes(bts) 1647 1648 if err != nil { 1649 return 1650 } 1651 case "Fields__slc": 1652 found7zjhb[1] = true 1653 if nbs.AlwaysNil { 1654 (z.Fields) = (z.Fields)[:0] 1655 } else { 1656 1657 var zstn uint32 1658 zstn, bts, err = nbs.ReadArrayHeaderBytes(bts) 1659 if err != nil { 1660 return 1661 } 1662 if cap(z.Fields) >= int(zstn) { 1663 z.Fields = (z.Fields)[:zstn] 1664 } else { 1665 z.Fields = make([]Field, zstn) 1666 } 1667 for zjlq := range z.Fields { 1668 bts, err = z.Fields[zjlq].UnmarshalMsg(bts) 1669 if err != nil { 1670 return 1671 } 1672 if err != nil { 1673 return 1674 } 1675 } 1676 } 1677 default: 1678 bts, err = msgp.Skip(bts) 1679 if err != nil { 1680 return 1681 } 1682 } 1683 } 1684 if nextMiss7zjhb != -1 { 1685 bts = nbs.PopAlwaysNil() 1686 } 1687 1688 if sawTopNil { 1689 bts = nbs.PopAlwaysNil() 1690 } 1691 o = bts 1692 if p, ok := interface{}(z).(msgp.PostLoad); ok { 1693 p.PostLoadHook() 1694 } 1695 1696 return 1697 } 1698 1699 // fields of Struct 1700 var unmarshalMsgFieldOrder7zjhb = []string{"StructName__str", "Fields__slc"} 1701 1702 var unmarshalMsgFieldSkip7zjhb = []bool{false, false} 1703 1704 // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message 1705 func (z *Struct) Msgsize() (s int) { 1706 s = 1 + 16 + msgp.StringPrefixSize + len(z.StructName) + 12 + msgp.ArrayHeaderSize 1707 for zjlq := range z.Fields { 1708 s += z.Fields[zjlq].Msgsize() 1709 } 1710 return 1711 } 1712 1713 // DecodeMsg implements msgp.Decodable 1714 // We treat empty fields as if we read a Nil from the wire. 1715 func (z *Zkind) DecodeMsg(dc *msgp.Reader) (err error) { 1716 var sawTopNil bool 1717 if dc.IsNil() { 1718 sawTopNil = true 1719 err = dc.ReadNil() 1720 if err != nil { 1721 return 1722 } 1723 dc.PushAlwaysNil() 1724 } 1725 1726 { 1727 var ztwi uint64 1728 ztwi, err = dc.ReadUint64() 1729 (*z) = Zkind(ztwi) 1730 } 1731 if err != nil { 1732 return 1733 } 1734 if sawTopNil { 1735 dc.PopAlwaysNil() 1736 } 1737 1738 if p, ok := interface{}(z).(msgp.PostLoad); ok { 1739 p.PostLoadHook() 1740 } 1741 1742 return 1743 } 1744 1745 // EncodeMsg implements msgp.Encodable 1746 func (z Zkind) EncodeMsg(en *msgp.Writer) (err error) { 1747 if p, ok := interface{}(z).(msgp.PreSave); ok { 1748 p.PreSaveHook() 1749 } 1750 1751 err = en.WriteUint64(uint64(z)) 1752 if err != nil { 1753 return 1754 } 1755 return 1756 } 1757 1758 // MarshalMsg implements msgp.Marshaler 1759 func (z Zkind) MarshalMsg(b []byte) (o []byte, err error) { 1760 if p, ok := interface{}(z).(msgp.PreSave); ok { 1761 p.PreSaveHook() 1762 } 1763 1764 o = msgp.Require(b, z.Msgsize()) 1765 o = msgp.AppendUint64(o, uint64(z)) 1766 return 1767 } 1768 1769 // UnmarshalMsg implements msgp.Unmarshaler 1770 func (z *Zkind) UnmarshalMsg(bts []byte) (o []byte, err error) { 1771 return z.UnmarshalMsgWithCfg(bts, nil) 1772 } 1773 func (z *Zkind) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) { 1774 var nbs msgp.NilBitsStack 1775 nbs.Init(cfg) 1776 var sawTopNil bool 1777 if msgp.IsNil(bts) { 1778 sawTopNil = true 1779 bts = nbs.PushAlwaysNil(bts[1:]) 1780 } 1781 1782 { 1783 var zqxu uint64 1784 zqxu, bts, err = nbs.ReadUint64Bytes(bts) 1785 1786 if err != nil { 1787 return 1788 } 1789 (*z) = Zkind(zqxu) 1790 } 1791 if sawTopNil { 1792 bts = nbs.PopAlwaysNil() 1793 } 1794 o = bts 1795 if p, ok := interface{}(z).(msgp.PostLoad); ok { 1796 p.PostLoadHook() 1797 } 1798 1799 return 1800 } 1801 1802 // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message 1803 func (z Zkind) Msgsize() (s int) { 1804 s = msgp.Uint64Size 1805 return 1806 } 1807 1808 // DecodeMsg implements msgp.Decodable 1809 // We treat empty fields as if we read a Nil from the wire. 1810 func (z *Ztype) DecodeMsg(dc *msgp.Reader) (err error) { 1811 var sawTopNil bool 1812 if dc.IsNil() { 1813 sawTopNil = true 1814 err = dc.ReadNil() 1815 if err != nil { 1816 return 1817 } 1818 dc.PushAlwaysNil() 1819 } 1820 1821 var field []byte 1822 _ = field 1823 const maxFields8zbqj = 4 1824 1825 // -- templateDecodeMsg starts here-- 1826 var totalEncodedFields8zbqj uint32 1827 totalEncodedFields8zbqj, err = dc.ReadMapHeader() 1828 if err != nil { 1829 return 1830 } 1831 encodedFieldsLeft8zbqj := totalEncodedFields8zbqj 1832 missingFieldsLeft8zbqj := maxFields8zbqj - totalEncodedFields8zbqj 1833 1834 var nextMiss8zbqj int32 = -1 1835 var found8zbqj [maxFields8zbqj]bool 1836 var curField8zbqj string 1837 1838 doneWithStruct8zbqj: 1839 // First fill all the encoded fields, then 1840 // treat the remaining, missing fields, as Nil. 1841 for encodedFieldsLeft8zbqj > 0 || missingFieldsLeft8zbqj > 0 { 1842 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft8zbqj, missingFieldsLeft8zbqj, msgp.ShowFound(found8zbqj[:]), decodeMsgFieldOrder8zbqj) 1843 if encodedFieldsLeft8zbqj > 0 { 1844 encodedFieldsLeft8zbqj-- 1845 field, err = dc.ReadMapKeyPtr() 1846 if err != nil { 1847 return 1848 } 1849 curField8zbqj = msgp.UnsafeString(field) 1850 } else { 1851 //missing fields need handling 1852 if nextMiss8zbqj < 0 { 1853 // tell the reader to only give us Nils 1854 // until further notice. 1855 dc.PushAlwaysNil() 1856 nextMiss8zbqj = 0 1857 } 1858 for nextMiss8zbqj < maxFields8zbqj && (found8zbqj[nextMiss8zbqj] || decodeMsgFieldSkip8zbqj[nextMiss8zbqj]) { 1859 nextMiss8zbqj++ 1860 } 1861 if nextMiss8zbqj == maxFields8zbqj { 1862 // filled all the empty fields! 1863 break doneWithStruct8zbqj 1864 } 1865 missingFieldsLeft8zbqj-- 1866 curField8zbqj = decodeMsgFieldOrder8zbqj[nextMiss8zbqj] 1867 } 1868 //fmt.Printf("switching on curField: '%v'\n", curField8zbqj) 1869 switch curField8zbqj { 1870 // -- templateDecodeMsg ends here -- 1871 1872 case "Kind__": 1873 found8zbqj[0] = true 1874 { 1875 var ztyx uint64 1876 ztyx, err = dc.ReadUint64() 1877 z.Kind = Zkind(ztyx) 1878 } 1879 if err != nil { 1880 return 1881 } 1882 case "Str__str": 1883 found8zbqj[1] = true 1884 z.Str, err = dc.ReadString() 1885 if err != nil { 1886 return 1887 } 1888 case "Domain__ptr": 1889 found8zbqj[2] = true 1890 if dc.IsNil() { 1891 err = dc.ReadNil() 1892 if err != nil { 1893 return 1894 } 1895 1896 if z.Domain != nil { 1897 dc.PushAlwaysNil() 1898 err = z.Domain.DecodeMsg(dc) 1899 if err != nil { 1900 return 1901 } 1902 dc.PopAlwaysNil() 1903 } 1904 } else { 1905 // not Nil, we have something to read 1906 1907 if z.Domain == nil { 1908 z.Domain = new(Ztype) 1909 } 1910 err = z.Domain.DecodeMsg(dc) 1911 if err != nil { 1912 return 1913 } 1914 } 1915 case "Range__ptr": 1916 found8zbqj[3] = true 1917 if dc.IsNil() { 1918 err = dc.ReadNil() 1919 if err != nil { 1920 return 1921 } 1922 1923 if z.Range != nil { 1924 dc.PushAlwaysNil() 1925 err = z.Range.DecodeMsg(dc) 1926 if err != nil { 1927 return 1928 } 1929 dc.PopAlwaysNil() 1930 } 1931 } else { 1932 // not Nil, we have something to read 1933 1934 if z.Range == nil { 1935 z.Range = new(Ztype) 1936 } 1937 err = z.Range.DecodeMsg(dc) 1938 if err != nil { 1939 return 1940 } 1941 } 1942 default: 1943 err = dc.Skip() 1944 if err != nil { 1945 return 1946 } 1947 } 1948 } 1949 if nextMiss8zbqj != -1 { 1950 dc.PopAlwaysNil() 1951 } 1952 1953 if sawTopNil { 1954 dc.PopAlwaysNil() 1955 } 1956 1957 if p, ok := interface{}(z).(msgp.PostLoad); ok { 1958 p.PostLoadHook() 1959 } 1960 1961 return 1962 } 1963 1964 // fields of Ztype 1965 var decodeMsgFieldOrder8zbqj = []string{"Kind__", "Str__str", "Domain__ptr", "Range__ptr"} 1966 1967 var decodeMsgFieldSkip8zbqj = []bool{false, false, false, false} 1968 1969 // fieldsNotEmpty supports omitempty tags 1970 func (z *Ztype) fieldsNotEmpty(isempty []bool) uint32 { 1971 if len(isempty) == 0 { 1972 return 4 1973 } 1974 var fieldsInUse uint32 = 4 1975 isempty[1] = (len(z.Str) == 0) // string, omitempty 1976 if isempty[1] { 1977 fieldsInUse-- 1978 } 1979 isempty[2] = (z.Domain == nil) // pointer, omitempty 1980 if isempty[2] { 1981 fieldsInUse-- 1982 } 1983 isempty[3] = (z.Range == nil) // pointer, omitempty 1984 if isempty[3] { 1985 fieldsInUse-- 1986 } 1987 1988 return fieldsInUse 1989 } 1990 1991 // EncodeMsg implements msgp.Encodable 1992 func (z *Ztype) EncodeMsg(en *msgp.Writer) (err error) { 1993 if p, ok := interface{}(z).(msgp.PreSave); ok { 1994 p.PreSaveHook() 1995 } 1996 1997 // honor the omitempty tags 1998 var empty_zvky [4]bool 1999 fieldsInUse_zpki := z.fieldsNotEmpty(empty_zvky[:]) 2000 2001 // map header 2002 err = en.WriteMapHeader(fieldsInUse_zpki) 2003 if err != nil { 2004 return err 2005 } 2006 2007 // write "Kind__" 2008 err = en.Append(0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f) 2009 if err != nil { 2010 return err 2011 } 2012 err = en.WriteUint64(uint64(z.Kind)) 2013 if err != nil { 2014 return 2015 } 2016 if !empty_zvky[1] { 2017 // write "Str__str" 2018 err = en.Append(0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72) 2019 if err != nil { 2020 return err 2021 } 2022 err = en.WriteString(z.Str) 2023 if err != nil { 2024 return 2025 } 2026 } 2027 2028 if !empty_zvky[2] { 2029 // write "Domain__ptr" 2030 err = en.Append(0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 0x74, 0x72) 2031 if err != nil { 2032 return err 2033 } 2034 if z.Domain == nil { 2035 err = en.WriteNil() 2036 if err != nil { 2037 return 2038 } 2039 } else { 2040 err = z.Domain.EncodeMsg(en) 2041 if err != nil { 2042 return 2043 } 2044 } 2045 } 2046 2047 if !empty_zvky[3] { 2048 // write "Range__ptr" 2049 err = en.Append(0xaa, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72) 2050 if err != nil { 2051 return err 2052 } 2053 if z.Range == nil { 2054 err = en.WriteNil() 2055 if err != nil { 2056 return 2057 } 2058 } else { 2059 err = z.Range.EncodeMsg(en) 2060 if err != nil { 2061 return 2062 } 2063 } 2064 } 2065 2066 return 2067 } 2068 2069 // MarshalMsg implements msgp.Marshaler 2070 func (z *Ztype) MarshalMsg(b []byte) (o []byte, err error) { 2071 if p, ok := interface{}(z).(msgp.PreSave); ok { 2072 p.PreSaveHook() 2073 } 2074 2075 o = msgp.Require(b, z.Msgsize()) 2076 2077 // honor the omitempty tags 2078 var empty [4]bool 2079 fieldsInUse := z.fieldsNotEmpty(empty[:]) 2080 o = msgp.AppendMapHeader(o, fieldsInUse) 2081 2082 // string "Kind__" 2083 o = append(o, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f) 2084 o = msgp.AppendUint64(o, uint64(z.Kind)) 2085 if !empty[1] { 2086 // string "Str__str" 2087 o = append(o, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72) 2088 o = msgp.AppendString(o, z.Str) 2089 } 2090 2091 if !empty[2] { 2092 // string "Domain__ptr" 2093 o = append(o, 0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 0x74, 0x72) 2094 if z.Domain == nil { 2095 o = msgp.AppendNil(o) 2096 } else { 2097 o, err = z.Domain.MarshalMsg(o) 2098 if err != nil { 2099 return 2100 } 2101 } 2102 } 2103 2104 if !empty[3] { 2105 // string "Range__ptr" 2106 o = append(o, 0xaa, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72) 2107 if z.Range == nil { 2108 o = msgp.AppendNil(o) 2109 } else { 2110 o, err = z.Range.MarshalMsg(o) 2111 if err != nil { 2112 return 2113 } 2114 } 2115 } 2116 2117 return 2118 } 2119 2120 // UnmarshalMsg implements msgp.Unmarshaler 2121 func (z *Ztype) UnmarshalMsg(bts []byte) (o []byte, err error) { 2122 return z.UnmarshalMsgWithCfg(bts, nil) 2123 } 2124 func (z *Ztype) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error) { 2125 var nbs msgp.NilBitsStack 2126 nbs.Init(cfg) 2127 var sawTopNil bool 2128 if msgp.IsNil(bts) { 2129 sawTopNil = true 2130 bts = nbs.PushAlwaysNil(bts[1:]) 2131 } 2132 2133 var field []byte 2134 _ = field 2135 const maxFields9zagm = 4 2136 2137 // -- templateUnmarshalMsg starts here-- 2138 var totalEncodedFields9zagm uint32 2139 if !nbs.AlwaysNil { 2140 totalEncodedFields9zagm, bts, err = nbs.ReadMapHeaderBytes(bts) 2141 if err != nil { 2142 return 2143 } 2144 } 2145 encodedFieldsLeft9zagm := totalEncodedFields9zagm 2146 missingFieldsLeft9zagm := maxFields9zagm - totalEncodedFields9zagm 2147 2148 var nextMiss9zagm int32 = -1 2149 var found9zagm [maxFields9zagm]bool 2150 var curField9zagm string 2151 2152 doneWithStruct9zagm: 2153 // First fill all the encoded fields, then 2154 // treat the remaining, missing fields, as Nil. 2155 for encodedFieldsLeft9zagm > 0 || missingFieldsLeft9zagm > 0 { 2156 //fmt.Printf("encodedFieldsLeft: %v, missingFieldsLeft: %v, found: '%v', fields: '%#v'\n", encodedFieldsLeft9zagm, missingFieldsLeft9zagm, msgp.ShowFound(found9zagm[:]), unmarshalMsgFieldOrder9zagm) 2157 if encodedFieldsLeft9zagm > 0 { 2158 encodedFieldsLeft9zagm-- 2159 field, bts, err = nbs.ReadMapKeyZC(bts) 2160 if err != nil { 2161 return 2162 } 2163 curField9zagm = msgp.UnsafeString(field) 2164 } else { 2165 //missing fields need handling 2166 if nextMiss9zagm < 0 { 2167 // set bts to contain just mnil (0xc0) 2168 bts = nbs.PushAlwaysNil(bts) 2169 nextMiss9zagm = 0 2170 } 2171 for nextMiss9zagm < maxFields9zagm && (found9zagm[nextMiss9zagm] || unmarshalMsgFieldSkip9zagm[nextMiss9zagm]) { 2172 nextMiss9zagm++ 2173 } 2174 if nextMiss9zagm == maxFields9zagm { 2175 // filled all the empty fields! 2176 break doneWithStruct9zagm 2177 } 2178 missingFieldsLeft9zagm-- 2179 curField9zagm = unmarshalMsgFieldOrder9zagm[nextMiss9zagm] 2180 } 2181 //fmt.Printf("switching on curField: '%v'\n", curField9zagm) 2182 switch curField9zagm { 2183 // -- templateUnmarshalMsg ends here -- 2184 2185 case "Kind__": 2186 found9zagm[0] = true 2187 { 2188 var zidi uint64 2189 zidi, bts, err = nbs.ReadUint64Bytes(bts) 2190 2191 if err != nil { 2192 return 2193 } 2194 z.Kind = Zkind(zidi) 2195 } 2196 case "Str__str": 2197 found9zagm[1] = true 2198 z.Str, bts, err = nbs.ReadStringBytes(bts) 2199 2200 if err != nil { 2201 return 2202 } 2203 case "Domain__ptr": 2204 found9zagm[2] = true 2205 if nbs.AlwaysNil { 2206 if z.Domain != nil { 2207 z.Domain.UnmarshalMsg(msgp.OnlyNilSlice) 2208 } 2209 } else { 2210 // not nbs.AlwaysNil 2211 if msgp.IsNil(bts) { 2212 bts = bts[1:] 2213 if nil != z.Domain { 2214 z.Domain.UnmarshalMsg(msgp.OnlyNilSlice) 2215 } 2216 } else { 2217 // not nbs.AlwaysNil and not IsNil(bts): have something to read 2218 2219 if z.Domain == nil { 2220 z.Domain = new(Ztype) 2221 } 2222 bts, err = z.Domain.UnmarshalMsg(bts) 2223 if err != nil { 2224 return 2225 } 2226 if err != nil { 2227 return 2228 } 2229 } 2230 } 2231 case "Range__ptr": 2232 found9zagm[3] = true 2233 if nbs.AlwaysNil { 2234 if z.Range != nil { 2235 z.Range.UnmarshalMsg(msgp.OnlyNilSlice) 2236 } 2237 } else { 2238 // not nbs.AlwaysNil 2239 if msgp.IsNil(bts) { 2240 bts = bts[1:] 2241 if nil != z.Range { 2242 z.Range.UnmarshalMsg(msgp.OnlyNilSlice) 2243 } 2244 } else { 2245 // not nbs.AlwaysNil and not IsNil(bts): have something to read 2246 2247 if z.Range == nil { 2248 z.Range = new(Ztype) 2249 } 2250 bts, err = z.Range.UnmarshalMsg(bts) 2251 if err != nil { 2252 return 2253 } 2254 if err != nil { 2255 return 2256 } 2257 } 2258 } 2259 default: 2260 bts, err = msgp.Skip(bts) 2261 if err != nil { 2262 return 2263 } 2264 } 2265 } 2266 if nextMiss9zagm != -1 { 2267 bts = nbs.PopAlwaysNil() 2268 } 2269 2270 if sawTopNil { 2271 bts = nbs.PopAlwaysNil() 2272 } 2273 o = bts 2274 if p, ok := interface{}(z).(msgp.PostLoad); ok { 2275 p.PostLoadHook() 2276 } 2277 2278 return 2279 } 2280 2281 // fields of Ztype 2282 var unmarshalMsgFieldOrder9zagm = []string{"Kind__", "Str__str", "Domain__ptr", "Range__ptr"} 2283 2284 var unmarshalMsgFieldSkip9zagm = []bool{false, false, false, false} 2285 2286 // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message 2287 func (z *Ztype) Msgsize() (s int) { 2288 s = 1 + 7 + msgp.Uint64Size + 9 + msgp.StringPrefixSize + len(z.Str) + 12 2289 if z.Domain == nil { 2290 s += msgp.NilSize 2291 } else { 2292 s += z.Domain.Msgsize() 2293 } 2294 s += 11 2295 if z.Range == nil { 2296 s += msgp.NilSize 2297 } else { 2298 s += z.Range.Msgsize() 2299 } 2300 return 2301 } 2302 2303 // FileGreen holds Greenpack schema from file 'green.go' 2304 type FileGreen struct{} 2305 2306 // ZebraSchemaInMsgpack2Format provides the Greenpack Schema in msgpack2 format, length 4375 bytes 2307 func (FileGreen) ZebraSchemaInMsgpack2Format() []byte { 2308 return []byte{ 2309 0x85, 0xaf, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 2310 0x74, 0x68, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa8, 0x67, 0x72, 2311 0x65, 0x65, 0x6e, 0x2e, 0x67, 0x6f, 0xb2, 0x53, 0x6f, 0x75, 2312 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 2313 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x67, 0x72, 0x65, 0x65, 2314 0x6e, 0xb2, 0x5a, 0x65, 0x62, 0x72, 0x61, 0x53, 0x63, 0x68, 2315 0x65, 0x6d, 0x61, 0x49, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 2316 0xd3, 0x00, 0x01, 0xa5, 0xa9, 0x4b, 0xd4, 0x96, 0x24, 0xac, 2317 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5f, 0x5f, 0x6d, 2318 0x61, 0x70, 0x84, 0xa6, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 2319 0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 2320 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x53, 0x63, 2321 0x68, 0x65, 0x6d, 0x61, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 2322 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63, 0x95, 0x87, 0xa8, 0x5a, 2323 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 2324 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 2325 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xaa, 0x53, 0x6f, 0x75, 0x72, 2326 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0xb1, 0x46, 0x69, 0x65, 2327 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 2328 0x5f, 0x73, 0x74, 0x72, 0xaa, 0x53, 0x6f, 0x75, 0x72, 0x63, 2329 0x65, 0x50, 0x61, 0x74, 0x68, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2330 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2331 0x73, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 2332 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 2333 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 2334 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 2335 0x76, 0x65, 0x5f, 0x5f, 0x02, 0xb2, 0x46, 0x69, 0x65, 0x6c, 2336 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 2337 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 2338 0x5f, 0x5f, 0x02, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 2339 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x87, 2340 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 2341 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 2342 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 0x53, 0x6f, 2343 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 2344 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 2345 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 2346 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x63, 0x6b, 2347 0x61, 0x67, 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2348 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2349 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xaf, 0x46, 2350 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 2351 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 2352 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 2353 0x5f, 0x5f, 0x02, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 2354 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 2355 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 2356 0x02, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2357 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x87, 0xa8, 0x5a, 2358 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 2359 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 2360 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 0x47, 0x72, 0x65, 0x65, 2361 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x49, 0x64, 0xb1, 2362 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 2363 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 0x47, 0x72, 2364 0x65, 0x65, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x49, 2365 0x64, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 2366 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 2367 0x69, 0x6e, 0x74, 0x36, 0x34, 0xaf, 0x46, 0x69, 0x65, 0x6c, 2368 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 2369 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 2370 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x11, 2371 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 2372 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 2373 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x11, 0xa8, 0x53, 2374 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x69, 0x6e, 2375 0x74, 0x36, 0x34, 0x86, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 2376 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 2377 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2378 0x72, 0xa7, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xb1, 2379 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 2380 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa7, 0x53, 0x74, 2381 0x72, 0x75, 0x63, 0x74, 0x73, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2382 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2383 0x73, 0x74, 0x72, 0xb2, 0x6d, 0x61, 0x70, 0x5b, 0x73, 0x74, 2384 0x72, 0x69, 0x6e, 0x67, 0x5d, 0x2a, 0x53, 0x74, 0x72, 0x75, 2385 0x63, 0x74, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 2386 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x18, 0xb2, 2387 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 2388 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x84, 0xa6, 2389 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x18, 0xa8, 0x53, 0x74, 2390 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa3, 0x4d, 0x61, 0x70, 2391 0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 2392 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 2393 0x02, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2394 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xaa, 0x52, 0x61, 2395 0x6e, 0x67, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x83, 0xa6, 2396 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x1c, 0xa8, 0x53, 0x74, 2397 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa7, 0x50, 0x6f, 0x69, 2398 0x6e, 0x74, 0x65, 0x72, 0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 2399 0x6e, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 2400 0x6e, 0x64, 0x5f, 0x5f, 0x19, 0xa8, 0x53, 0x74, 0x72, 0x5f, 2401 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x53, 0x74, 0x72, 0x75, 0x63, 2402 0x74, 0x86, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 2403 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 2404 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa7, 2405 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0xb1, 0x46, 0x69, 2406 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 2407 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa7, 0x49, 0x6d, 0x70, 0x6f, 2408 0x72, 0x74, 0x73, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2409 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2410 0x72, 0xa8, 0x5b, 0x5d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 2411 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 2412 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x1a, 0xb2, 0x46, 0x69, 2413 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 2414 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x83, 0xa6, 0x4b, 0x69, 2415 0x6e, 0x64, 0x5f, 0x5f, 0x1a, 0xa8, 0x53, 0x74, 0x72, 0x5f, 2416 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x53, 0x6c, 0x69, 0x63, 0x65, 2417 0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 2418 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 2419 0x02, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2420 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xa6, 0x53, 0x74, 2421 0x72, 0x75, 0x63, 0x74, 0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 2422 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2423 0x72, 0xa6, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0xab, 0x46, 2424 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63, 2425 0x92, 0x87, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 2426 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 2427 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xaa, 2428 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 2429 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 2430 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xaa, 0x53, 2431 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0xb1, 2432 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 2433 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x73, 0x74, 2434 0x72, 0x69, 0x6e, 0x67, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 2435 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 2436 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 2437 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x02, 0xb2, 2438 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 2439 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 2440 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x02, 0xa8, 0x53, 0x74, 2441 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 2442 0x69, 0x6e, 0x67, 0x86, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 2443 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 2444 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2445 0x72, 0xa6, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0xb1, 0x46, 2446 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 2447 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x46, 0x69, 0x65, 2448 0x6c, 0x64, 0x73, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2449 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2450 0x72, 0xa7, 0x5b, 0x5d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0xaf, 2451 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 2452 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x1a, 0xb2, 0x46, 0x69, 0x65, 2453 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 2454 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x83, 0xa6, 0x4b, 0x69, 0x6e, 2455 0x64, 0x5f, 0x5f, 0x1a, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2456 0x73, 0x74, 0x72, 0xa5, 0x53, 0x6c, 0x69, 0x63, 0x65, 0xab, 2457 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 0x74, 2458 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x16, 2459 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 2460 0x46, 0x69, 0x65, 0x6c, 0x64, 0xa5, 0x46, 0x69, 0x65, 0x6c, 2461 0x64, 0x82, 0xaf, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4e, 2462 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x46, 2463 0x69, 0x65, 0x6c, 0x64, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 2464 0x73, 0x5f, 0x5f, 0x73, 0x6c, 0x63, 0x9b, 0x87, 0xa8, 0x5a, 2465 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 2466 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 2467 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa3, 0x5a, 0x69, 0x64, 0xb1, 2468 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 2469 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa3, 0x5a, 0x69, 2470 0x64, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 2471 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 2472 0x69, 0x6e, 0x74, 0x36, 0x34, 0xaf, 0x46, 0x69, 0x65, 0x6c, 2473 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 2474 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 2475 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x11, 2476 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 2477 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 2478 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x11, 0xa8, 0x53, 2479 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x69, 0x6e, 2480 0x74, 0x36, 0x34, 0x87, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 2481 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 2482 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2483 0x72, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 2484 0x61, 0x6d, 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2485 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2486 0x72, 0xab, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 2487 0x61, 0x6d, 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2488 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2489 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xaf, 0x46, 2490 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 2491 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 2492 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 2493 0x5f, 0x5f, 0x02, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 2494 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 2495 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 2496 0x02, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2497 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x88, 0xa8, 0x5a, 2498 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 2499 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 2500 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xac, 0x46, 0x69, 0x65, 0x6c, 2501 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xb1, 0x46, 2502 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 2503 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xac, 0x46, 0x69, 0x65, 2504 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0xb1, 2505 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 2506 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x73, 0x74, 2507 0x72, 0x69, 0x6e, 0x67, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 2508 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 2509 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 2510 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x02, 0xb2, 2511 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 2512 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 2513 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x02, 0xa8, 0x53, 0x74, 2514 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 2515 0x69, 0x6e, 0x67, 0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 2516 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 0xc3, 0x88, 2517 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 2518 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 2519 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xac, 0x46, 0x69, 2520 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 2521 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 2522 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xac, 0x46, 2523 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 2524 0x72, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 2525 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 2526 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xaf, 0x46, 0x69, 0x65, 2527 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 2528 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 2529 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 2530 0x02, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 2531 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 2532 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x02, 0xa8, 2533 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x73, 2534 0x74, 0x72, 0x69, 0x6e, 0x67, 0xae, 0x4f, 0x6d, 0x69, 0x74, 2535 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 2536 0xc3, 0x88, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 2537 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 2538 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 2539 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 2540 0x6f, 0x72, 0x79, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2541 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2542 0x72, 0xad, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 2543 0x65, 0x67, 0x6f, 0x72, 0x79, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2544 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2545 0x73, 0x74, 0x72, 0xa5, 0x5a, 0x6b, 0x69, 0x6e, 0x64, 0xaf, 2546 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 2547 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 2548 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 2549 0x65, 0x5f, 0x5f, 0x0b, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 2550 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 2551 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 2552 0x5f, 0x0b, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2553 0x72, 0xa6, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0xae, 0x4f, 2554 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 2555 0x62, 0x6f, 0x6f, 0xc3, 0x88, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 2556 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 2557 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 2558 0x74, 0x72, 0xae, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 2559 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0xb1, 0x46, 0x69, 2560 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 2561 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xae, 0x46, 0x69, 0x65, 0x6c, 2562 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 2563 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 2564 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x5a, 2565 0x6b, 0x69, 0x6e, 0x64, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 2566 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 2567 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 2568 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x0b, 0xb2, 2569 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 2570 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 2571 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x0b, 0xa8, 0x53, 0x74, 2572 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x75, 0x69, 0x6e, 2573 0x74, 0x36, 0x34, 0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 2574 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 0xc3, 0x87, 2575 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 2576 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 2577 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 0x46, 0x69, 2578 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 2579 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 2580 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xad, 2581 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 2582 0x79, 0x70, 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2583 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2584 0x72, 0xa6, 0x2a, 0x5a, 0x74, 0x79, 0x70, 0x65, 0xaf, 0x46, 2585 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 2586 0x72, 0x79, 0x5f, 0x5f, 0x1c, 0xb2, 0x46, 0x69, 0x65, 0x6c, 2587 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 2588 0x5f, 0x70, 0x74, 0x72, 0x83, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 2589 0x5f, 0x5f, 0x1c, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 2590 0x74, 0x72, 0xa7, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 2591 0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 2592 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 2593 0x16, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2594 0xa5, 0x5a, 0x74, 0x79, 0x70, 0x65, 0xae, 0x4f, 0x6d, 0x69, 2595 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 2596 0x6f, 0xc3, 0x88, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 2597 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 2598 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2599 0xa9, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 2600 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 2601 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa9, 0x4f, 2602 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xb1, 0x46, 2603 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 2604 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 2605 0x6c, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 2606 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 2607 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 2608 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x12, 0xb2, 0x46, 0x69, 0x65, 2609 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 2610 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 2611 0x64, 0x5f, 0x5f, 0x12, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2612 0x73, 0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xae, 0x4f, 2613 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 2614 0x62, 0x6f, 0x6f, 0xc3, 0x88, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 2615 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 2616 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 2617 0x74, 0x72, 0xa4, 0x53, 0x6b, 0x69, 0x70, 0xb1, 0x46, 0x69, 2618 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 2619 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa4, 0x53, 0x6b, 0x69, 0x70, 2620 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 2621 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa4, 0x62, 2622 0x6f, 0x6f, 0x6c, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 2623 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x17, 2624 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 2625 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x12, 0xb2, 0x46, 2626 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 2627 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 2628 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x12, 0xa8, 0x53, 0x74, 0x72, 2629 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 2630 0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 2631 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 0xc3, 0x88, 0xa8, 0x5a, 0x69, 2632 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 2633 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 2634 0x5f, 0x73, 0x74, 0x72, 0xaa, 0x44, 0x65, 0x70, 0x72, 0x65, 2635 0x63, 0x61, 0x74, 0x65, 0x64, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2636 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 2637 0x73, 0x74, 0x72, 0xaa, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 2638 0x61, 0x74, 0x65, 0x64, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 2639 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 2640 0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xaf, 0x46, 0x69, 2641 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 2642 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 2643 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 2644 0x5f, 0x12, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 2645 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 2646 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x12, 2647 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa4, 2648 0x62, 0x6f, 0x6f, 0x6c, 0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 2649 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 0xc3, 2650 0x88, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 0x34, 2651 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 0x4e, 2652 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa8, 0x53, 2653 0x68, 0x6f, 0x77, 0x5a, 0x65, 0x72, 0x6f, 0xb1, 0x46, 0x69, 2654 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 2655 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa8, 0x53, 0x68, 0x6f, 0x77, 2656 0x5a, 0x65, 0x72, 0x6f, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 2657 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 2658 0x74, 0x72, 0xa4, 0x62, 0x6f, 0x6f, 0x6c, 0xaf, 0x46, 0x69, 2659 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 2660 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 2661 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 2662 0x5f, 0x12, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x75, 2663 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 0x70, 0x74, 2664 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x12, 2665 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa4, 2666 0x62, 0x6f, 0x6f, 0x6c, 0xae, 0x4f, 0x6d, 0x69, 0x74, 0x45, 2667 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 0xc3, 2668 0xa5, 0x5a, 0x74, 0x79, 0x70, 0x65, 0x82, 0xaf, 0x53, 0x74, 2669 0x72, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 2670 0x73, 0x74, 0x72, 0xa5, 0x5a, 0x74, 0x79, 0x70, 0x65, 0xab, 2671 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x5f, 0x73, 0x6c, 2672 0x63, 0x94, 0x87, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 2673 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 2674 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2675 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2676 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 2677 0x73, 0x74, 0x72, 0xa4, 0x4b, 0x69, 0x6e, 0x64, 0xb1, 0x46, 2678 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 2679 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x5a, 0x6b, 0x69, 2680 0x6e, 0x64, 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 2681 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 2682 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 2683 0x74, 0x69, 0x76, 0x65, 0x5f, 0x5f, 0x0b, 0xb2, 0x46, 0x69, 2684 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 2685 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 2686 0x6e, 0x64, 0x5f, 0x5f, 0x0b, 0xa8, 0x53, 0x74, 0x72, 0x5f, 2687 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x75, 0x69, 0x6e, 0x74, 0x36, 2688 0x34, 0x88, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 0x5f, 0x69, 0x36, 2689 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x6f, 2690 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa3, 2691 0x53, 0x74, 0x72, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 2692 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 2693 0x72, 0xa3, 0x53, 0x74, 0x72, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2694 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2695 0x73, 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 2696 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 2697 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x17, 0xb0, 0x46, 0x69, 2698 0x65, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 2699 0x76, 0x65, 0x5f, 0x5f, 0x02, 0xb2, 0x46, 0x69, 0x65, 0x6c, 2700 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 2701 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 2702 0x5f, 0x5f, 0x02, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 2703 0x74, 0x72, 0xa6, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xae, 2704 0x4f, 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 2705 0x5f, 0x62, 0x6f, 0x6f, 0xc3, 0x87, 0xa8, 0x5a, 0x69, 0x64, 2706 0x5f, 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 2707 0x6c, 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 2708 0x73, 0x74, 0x72, 0xa6, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 2709 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 2710 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa6, 0x44, 2711 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0xb1, 0x46, 0x69, 0x65, 0x6c, 2712 0x64, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 2713 0x73, 0x74, 0x72, 0xa6, 0x2a, 0x5a, 0x74, 0x79, 0x70, 0x65, 2714 0xaf, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 2715 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x5f, 0x1c, 0xb2, 0x46, 0x69, 2716 0x65, 0x6c, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 2717 0x65, 0x5f, 0x5f, 0x70, 0x74, 0x72, 0x83, 0xa6, 0x4b, 0x69, 2718 0x6e, 0x64, 0x5f, 0x5f, 0x1c, 0xa8, 0x53, 0x74, 0x72, 0x5f, 2719 0x5f, 0x73, 0x74, 0x72, 0xa7, 0x50, 0x6f, 0x69, 0x6e, 0x74, 2720 0x65, 0x72, 0xab, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 2721 0x5f, 0x70, 0x74, 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 2722 0x5f, 0x5f, 0x16, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 2723 0x74, 0x72, 0xa5, 0x5a, 0x74, 0x79, 0x70, 0x65, 0xae, 0x4f, 2724 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 2725 0x62, 0x6f, 0x6f, 0xc3, 0x87, 0xa8, 0x5a, 0x69, 0x64, 0x5f, 2726 0x5f, 0x69, 0x36, 0x34, 0xff, 0xb0, 0x46, 0x69, 0x65, 0x6c, 2727 0x64, 0x47, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x5f, 0x5f, 0x73, 2728 0x74, 0x72, 0xa5, 0x52, 0x61, 0x6e, 0x67, 0x65, 0xb1, 0x46, 2729 0x69, 0x65, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 2730 0x65, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 0x52, 0x61, 0x6e, 2731 0x67, 0x65, 0xb1, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 2732 0x70, 0x65, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 2733 0xa6, 0x2a, 0x5a, 0x74, 0x79, 0x70, 0x65, 0xaf, 0x46, 0x69, 2734 0x65, 0x6c, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 2735 0x79, 0x5f, 0x5f, 0x1c, 0xb2, 0x46, 0x69, 0x65, 0x6c, 0x64, 2736 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x5f, 2737 0x70, 0x74, 0x72, 0x83, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 2738 0x5f, 0x1c, 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 2739 0x72, 0xa7, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0xab, 2740 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x5f, 0x70, 0x74, 2741 0x72, 0x82, 0xa6, 0x4b, 0x69, 0x6e, 0x64, 0x5f, 0x5f, 0x16, 2742 0xa8, 0x53, 0x74, 0x72, 0x5f, 0x5f, 0x73, 0x74, 0x72, 0xa5, 2743 0x5a, 0x74, 0x79, 0x70, 0x65, 0xae, 0x4f, 0x6d, 0x69, 0x74, 2744 0x45, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x5f, 0x62, 0x6f, 0x6f, 2745 0xc3, 0xac, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 2746 0x5f, 0x73, 0x6c, 0x63, 0x90, 2747 } 2748 } 2749 2750 // ZebraSchemaInJsonCompact provides the Greenpack Schema in compact JSON format, length 5351 bytes 2751 func (FileGreen) ZebraSchemaInJsonCompact() []byte { 2752 return []byte(`{"SourcePath__str":"green.go","SourcePackage__str":"green","ZebraSchemaId__i64":463621516989988,"Structs__map":{"Schema":{"StructName__str":"Schema","Fields__slc":[{"Zid__i64":-1,"FieldGoName__str":"SourcePath","FieldTagName__str":"SourcePath","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"}},{"Zid__i64":-1,"FieldGoName__str":"SourcePackage","FieldTagName__str":"SourcePackage","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"}},{"Zid__i64":-1,"FieldGoName__str":"GreenSchemaId","FieldTagName__str":"GreenSchemaId","FieldTypeStr__str":"int64","FieldCategory__":23,"FieldPrimitive__":17,"FieldFullType__ptr":{"Kind__":17,"Str__str":"int64"}},{"Zid__i64":-1,"FieldGoName__str":"Structs","FieldTagName__str":"Structs","FieldTypeStr__str":"map[string]*Struct","FieldCategory__":24,"FieldFullType__ptr":{"Kind__":24,"Str__str":"Map","Domain__ptr":{"Kind__":2,"Str__str":"string"},"Range__ptr":{"Kind__":28,"Str__str":"Pointer","Domain__ptr":{"Kind__":25,"Str__str":"Struct"}}}},{"Zid__i64":-1,"FieldGoName__str":"Imports","FieldTagName__str":"Imports","FieldTypeStr__str":"[]string","FieldCategory__":26,"FieldFullType__ptr":{"Kind__":26,"Str__str":"Slice","Domain__ptr":{"Kind__":2,"Str__str":"string"}}}]},"Struct":{"StructName__str":"Struct","Fields__slc":[{"Zid__i64":-1,"FieldGoName__str":"StructName","FieldTagName__str":"StructName","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"}},{"Zid__i64":-1,"FieldGoName__str":"Fields","FieldTagName__str":"Fields","FieldTypeStr__str":"[]Field","FieldCategory__":26,"FieldFullType__ptr":{"Kind__":26,"Str__str":"Slice","Domain__ptr":{"Kind__":22,"Str__str":"Field"}}}]},"Field":{"StructName__str":"Field","Fields__slc":[{"Zid__i64":-1,"FieldGoName__str":"Zid","FieldTagName__str":"Zid","FieldTypeStr__str":"int64","FieldCategory__":23,"FieldPrimitive__":17,"FieldFullType__ptr":{"Kind__":17,"Str__str":"int64"}},{"Zid__i64":-1,"FieldGoName__str":"FieldGoName","FieldTagName__str":"FieldGoName","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"}},{"Zid__i64":-1,"FieldGoName__str":"FieldTagName","FieldTagName__str":"FieldTagName","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"FieldTypeStr","FieldTagName__str":"FieldTypeStr","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"FieldCategory","FieldTagName__str":"FieldCategory","FieldTypeStr__str":"Zkind","FieldCategory__":23,"FieldPrimitive__":11,"FieldFullType__ptr":{"Kind__":11,"Str__str":"uint64"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"FieldPrimitive","FieldTagName__str":"FieldPrimitive","FieldTypeStr__str":"Zkind","FieldCategory__":23,"FieldPrimitive__":11,"FieldFullType__ptr":{"Kind__":11,"Str__str":"uint64"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"FieldFullType","FieldTagName__str":"FieldFullType","FieldTypeStr__str":"*Ztype","FieldCategory__":28,"FieldFullType__ptr":{"Kind__":28,"Str__str":"Pointer","Domain__ptr":{"Kind__":22,"Str__str":"Ztype"}},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"OmitEmpty","FieldTagName__str":"OmitEmpty","FieldTypeStr__str":"bool","FieldCategory__":23,"FieldPrimitive__":18,"FieldFullType__ptr":{"Kind__":18,"Str__str":"bool"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"Skip","FieldTagName__str":"Skip","FieldTypeStr__str":"bool","FieldCategory__":23,"FieldPrimitive__":18,"FieldFullType__ptr":{"Kind__":18,"Str__str":"bool"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"Deprecated","FieldTagName__str":"Deprecated","FieldTypeStr__str":"bool","FieldCategory__":23,"FieldPrimitive__":18,"FieldFullType__ptr":{"Kind__":18,"Str__str":"bool"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"ShowZero","FieldTagName__str":"ShowZero","FieldTypeStr__str":"bool","FieldCategory__":23,"FieldPrimitive__":18,"FieldFullType__ptr":{"Kind__":18,"Str__str":"bool"},"OmitEmpty__boo":true}]},"Ztype":{"StructName__str":"Ztype","Fields__slc":[{"Zid__i64":-1,"FieldGoName__str":"Kind","FieldTagName__str":"Kind","FieldTypeStr__str":"Zkind","FieldCategory__":23,"FieldPrimitive__":11,"FieldFullType__ptr":{"Kind__":11,"Str__str":"uint64"}},{"Zid__i64":-1,"FieldGoName__str":"Str","FieldTagName__str":"Str","FieldTypeStr__str":"string","FieldCategory__":23,"FieldPrimitive__":2,"FieldFullType__ptr":{"Kind__":2,"Str__str":"string"},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"Domain","FieldTagName__str":"Domain","FieldTypeStr__str":"*Ztype","FieldCategory__":28,"FieldFullType__ptr":{"Kind__":28,"Str__str":"Pointer","Domain__ptr":{"Kind__":22,"Str__str":"Ztype"}},"OmitEmpty__boo":true},{"Zid__i64":-1,"FieldGoName__str":"Range","FieldTagName__str":"Range","FieldTypeStr__str":"*Ztype","FieldCategory__":28,"FieldFullType__ptr":{"Kind__":28,"Str__str":"Pointer","Domain__ptr":{"Kind__":22,"Str__str":"Ztype"}},"OmitEmpty__boo":true}]}},"Imports__slc":[]}`) 2753 } 2754 2755 // ZebraSchemaInJsonPretty provides the Greenpack Schema in pretty JSON format, length 12405 bytes 2756 func (FileGreen) ZebraSchemaInJsonPretty() []byte { 2757 return []byte(`{ 2758 "SourcePath__str": "green.go", 2759 "SourcePackage__str": "green", 2760 "ZebraSchemaId__i64": 463621516989988, 2761 "Structs__map": { 2762 "Schema": { 2763 "StructName__str": "Schema", 2764 "Fields__slc": [ 2765 { 2766 "Zid__i64": -1, 2767 "FieldGoName__str": "SourcePath", 2768 "FieldTagName__str": "SourcePath", 2769 "FieldTypeStr__str": "string", 2770 "FieldCategory__": 23, 2771 "FieldPrimitive__": 2, 2772 "FieldFullType__ptr": { 2773 "Kind__": 2, 2774 "Str__str": "string" 2775 } 2776 }, 2777 { 2778 "Zid__i64": -1, 2779 "FieldGoName__str": "SourcePackage", 2780 "FieldTagName__str": "SourcePackage", 2781 "FieldTypeStr__str": "string", 2782 "FieldCategory__": 23, 2783 "FieldPrimitive__": 2, 2784 "FieldFullType__ptr": { 2785 "Kind__": 2, 2786 "Str__str": "string" 2787 } 2788 }, 2789 { 2790 "Zid__i64": -1, 2791 "FieldGoName__str": "GreenSchemaId", 2792 "FieldTagName__str": "GreenSchemaId", 2793 "FieldTypeStr__str": "int64", 2794 "FieldCategory__": 23, 2795 "FieldPrimitive__": 17, 2796 "FieldFullType__ptr": { 2797 "Kind__": 17, 2798 "Str__str": "int64" 2799 } 2800 }, 2801 { 2802 "Zid__i64": -1, 2803 "FieldGoName__str": "Structs", 2804 "FieldTagName__str": "Structs", 2805 "FieldTypeStr__str": "map[string]*Struct", 2806 "FieldCategory__": 24, 2807 "FieldFullType__ptr": { 2808 "Kind__": 24, 2809 "Str__str": "Map", 2810 "Domain__ptr": { 2811 "Kind__": 2, 2812 "Str__str": "string" 2813 }, 2814 "Range__ptr": { 2815 "Kind__": 28, 2816 "Str__str": "Pointer", 2817 "Domain__ptr": { 2818 "Kind__": 25, 2819 "Str__str": "Struct" 2820 } 2821 } 2822 } 2823 }, 2824 { 2825 "Zid__i64": -1, 2826 "FieldGoName__str": "Imports", 2827 "FieldTagName__str": "Imports", 2828 "FieldTypeStr__str": "[]string", 2829 "FieldCategory__": 26, 2830 "FieldFullType__ptr": { 2831 "Kind__": 26, 2832 "Str__str": "Slice", 2833 "Domain__ptr": { 2834 "Kind__": 2, 2835 "Str__str": "string" 2836 } 2837 } 2838 } 2839 ] 2840 }, 2841 "Struct": { 2842 "StructName__str": "Struct", 2843 "Fields__slc": [ 2844 { 2845 "Zid__i64": -1, 2846 "FieldGoName__str": "StructName", 2847 "FieldTagName__str": "StructName", 2848 "FieldTypeStr__str": "string", 2849 "FieldCategory__": 23, 2850 "FieldPrimitive__": 2, 2851 "FieldFullType__ptr": { 2852 "Kind__": 2, 2853 "Str__str": "string" 2854 } 2855 }, 2856 { 2857 "Zid__i64": -1, 2858 "FieldGoName__str": "Fields", 2859 "FieldTagName__str": "Fields", 2860 "FieldTypeStr__str": "[]Field", 2861 "FieldCategory__": 26, 2862 "FieldFullType__ptr": { 2863 "Kind__": 26, 2864 "Str__str": "Slice", 2865 "Domain__ptr": { 2866 "Kind__": 22, 2867 "Str__str": "Field" 2868 } 2869 } 2870 } 2871 ] 2872 }, 2873 "Field": { 2874 "StructName__str": "Field", 2875 "Fields__slc": [ 2876 { 2877 "Zid__i64": -1, 2878 "FieldGoName__str": "Zid", 2879 "FieldTagName__str": "Zid", 2880 "FieldTypeStr__str": "int64", 2881 "FieldCategory__": 23, 2882 "FieldPrimitive__": 17, 2883 "FieldFullType__ptr": { 2884 "Kind__": 17, 2885 "Str__str": "int64" 2886 } 2887 }, 2888 { 2889 "Zid__i64": -1, 2890 "FieldGoName__str": "FieldGoName", 2891 "FieldTagName__str": "FieldGoName", 2892 "FieldTypeStr__str": "string", 2893 "FieldCategory__": 23, 2894 "FieldPrimitive__": 2, 2895 "FieldFullType__ptr": { 2896 "Kind__": 2, 2897 "Str__str": "string" 2898 } 2899 }, 2900 { 2901 "Zid__i64": -1, 2902 "FieldGoName__str": "FieldTagName", 2903 "FieldTagName__str": "FieldTagName", 2904 "FieldTypeStr__str": "string", 2905 "FieldCategory__": 23, 2906 "FieldPrimitive__": 2, 2907 "FieldFullType__ptr": { 2908 "Kind__": 2, 2909 "Str__str": "string" 2910 }, 2911 "OmitEmpty__boo": true 2912 }, 2913 { 2914 "Zid__i64": -1, 2915 "FieldGoName__str": "FieldTypeStr", 2916 "FieldTagName__str": "FieldTypeStr", 2917 "FieldTypeStr__str": "string", 2918 "FieldCategory__": 23, 2919 "FieldPrimitive__": 2, 2920 "FieldFullType__ptr": { 2921 "Kind__": 2, 2922 "Str__str": "string" 2923 }, 2924 "OmitEmpty__boo": true 2925 }, 2926 { 2927 "Zid__i64": -1, 2928 "FieldGoName__str": "FieldCategory", 2929 "FieldTagName__str": "FieldCategory", 2930 "FieldTypeStr__str": "Zkind", 2931 "FieldCategory__": 23, 2932 "FieldPrimitive__": 11, 2933 "FieldFullType__ptr": { 2934 "Kind__": 11, 2935 "Str__str": "uint64" 2936 }, 2937 "OmitEmpty__boo": true 2938 }, 2939 { 2940 "Zid__i64": -1, 2941 "FieldGoName__str": "FieldPrimitive", 2942 "FieldTagName__str": "FieldPrimitive", 2943 "FieldTypeStr__str": "Zkind", 2944 "FieldCategory__": 23, 2945 "FieldPrimitive__": 11, 2946 "FieldFullType__ptr": { 2947 "Kind__": 11, 2948 "Str__str": "uint64" 2949 }, 2950 "OmitEmpty__boo": true 2951 }, 2952 { 2953 "Zid__i64": -1, 2954 "FieldGoName__str": "FieldFullType", 2955 "FieldTagName__str": "FieldFullType", 2956 "FieldTypeStr__str": "*Ztype", 2957 "FieldCategory__": 28, 2958 "FieldFullType__ptr": { 2959 "Kind__": 28, 2960 "Str__str": "Pointer", 2961 "Domain__ptr": { 2962 "Kind__": 22, 2963 "Str__str": "Ztype" 2964 } 2965 }, 2966 "OmitEmpty__boo": true 2967 }, 2968 { 2969 "Zid__i64": -1, 2970 "FieldGoName__str": "OmitEmpty", 2971 "FieldTagName__str": "OmitEmpty", 2972 "FieldTypeStr__str": "bool", 2973 "FieldCategory__": 23, 2974 "FieldPrimitive__": 18, 2975 "FieldFullType__ptr": { 2976 "Kind__": 18, 2977 "Str__str": "bool" 2978 }, 2979 "OmitEmpty__boo": true 2980 }, 2981 { 2982 "Zid__i64": -1, 2983 "FieldGoName__str": "Skip", 2984 "FieldTagName__str": "Skip", 2985 "FieldTypeStr__str": "bool", 2986 "FieldCategory__": 23, 2987 "FieldPrimitive__": 18, 2988 "FieldFullType__ptr": { 2989 "Kind__": 18, 2990 "Str__str": "bool" 2991 }, 2992 "OmitEmpty__boo": true 2993 }, 2994 { 2995 "Zid__i64": -1, 2996 "FieldGoName__str": "Deprecated", 2997 "FieldTagName__str": "Deprecated", 2998 "FieldTypeStr__str": "bool", 2999 "FieldCategory__": 23, 3000 "FieldPrimitive__": 18, 3001 "FieldFullType__ptr": { 3002 "Kind__": 18, 3003 "Str__str": "bool" 3004 }, 3005 "OmitEmpty__boo": true 3006 }, 3007 { 3008 "Zid__i64": -1, 3009 "FieldGoName__str": "ShowZero", 3010 "FieldTagName__str": "ShowZero", 3011 "FieldTypeStr__str": "bool", 3012 "FieldCategory__": 23, 3013 "FieldPrimitive__": 18, 3014 "FieldFullType__ptr": { 3015 "Kind__": 18, 3016 "Str__str": "bool" 3017 }, 3018 "OmitEmpty__boo": true 3019 } 3020 ] 3021 }, 3022 "Ztype": { 3023 "StructName__str": "Ztype", 3024 "Fields__slc": [ 3025 { 3026 "Zid__i64": -1, 3027 "FieldGoName__str": "Kind", 3028 "FieldTagName__str": "Kind", 3029 "FieldTypeStr__str": "Zkind", 3030 "FieldCategory__": 23, 3031 "FieldPrimitive__": 11, 3032 "FieldFullType__ptr": { 3033 "Kind__": 11, 3034 "Str__str": "uint64" 3035 } 3036 }, 3037 { 3038 "Zid__i64": -1, 3039 "FieldGoName__str": "Str", 3040 "FieldTagName__str": "Str", 3041 "FieldTypeStr__str": "string", 3042 "FieldCategory__": 23, 3043 "FieldPrimitive__": 2, 3044 "FieldFullType__ptr": { 3045 "Kind__": 2, 3046 "Str__str": "string" 3047 }, 3048 "OmitEmpty__boo": true 3049 }, 3050 { 3051 "Zid__i64": -1, 3052 "FieldGoName__str": "Domain", 3053 "FieldTagName__str": "Domain", 3054 "FieldTypeStr__str": "*Ztype", 3055 "FieldCategory__": 28, 3056 "FieldFullType__ptr": { 3057 "Kind__": 28, 3058 "Str__str": "Pointer", 3059 "Domain__ptr": { 3060 "Kind__": 22, 3061 "Str__str": "Ztype" 3062 } 3063 }, 3064 "OmitEmpty__boo": true 3065 }, 3066 { 3067 "Zid__i64": -1, 3068 "FieldGoName__str": "Range", 3069 "FieldTagName__str": "Range", 3070 "FieldTypeStr__str": "*Ztype", 3071 "FieldCategory__": 28, 3072 "FieldFullType__ptr": { 3073 "Kind__": 28, 3074 "Str__str": "Pointer", 3075 "Domain__ptr": { 3076 "Kind__": 22, 3077 "Str__str": "Ztype" 3078 } 3079 }, 3080 "OmitEmpty__boo": true 3081 } 3082 ] 3083 } 3084 }, 3085 "Imports__slc": [] 3086 }`) 3087 }