(l int, d *Decoder)
| 8565 | } |
| 8566 | |
| 8567 | func (x *Sstructbig) codecDecodeSelfFromMap(l int, d *Decoder) { |
| 8568 | var h codecSelfer19780 |
| 8569 | z, r := GenHelper().Decoder(d) |
| 8570 | _, _, _ = h, z, r |
| 8571 | var yyhl3 bool = l >= 0 |
| 8572 | for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { |
| 8573 | z.DecReadMapElemKey() |
| 8574 | yys3 := r.DecodeStringAsBytes() |
| 8575 | z.DecReadMapElemValue() |
| 8576 | switch string(yys3) { |
| 8577 | case "A": |
| 8578 | x.A = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) |
| 8579 | case "B": |
| 8580 | x.B = (bool)(r.DecodeBool()) |
| 8581 | case "Ssmallptr": |
| 8582 | if r.TryNil() { |
| 8583 | if x.Ssmallptr != nil { // remove the if-true |
| 8584 | x.Ssmallptr = nil |
| 8585 | } |
| 8586 | } else { |
| 8587 | if x.Ssmallptr == nil { |
| 8588 | x.Ssmallptr = new(Sstructsmall) |
| 8589 | } |
| 8590 | if yyxt7 := z.Extension(x.Ssmallptr); yyxt7 != nil { |
| 8591 | z.DecExtension(x.Ssmallptr, yyxt7) |
| 8592 | } else { |
| 8593 | x.Ssmallptr.CodecDecodeSelf(d) |
| 8594 | } |
| 8595 | } |
| 8596 | case "Ssmall": |
| 8597 | if yyxt9 := z.Extension(x.Ssmall); yyxt9 != nil { |
| 8598 | z.DecExtension(&x.Ssmall, yyxt9) |
| 8599 | } else { |
| 8600 | x.Ssmall.CodecDecodeSelf(d) |
| 8601 | } |
| 8602 | case "Sptr": |
| 8603 | if r.TryNil() { |
| 8604 | if x.Sptr != nil { // remove the if-true |
| 8605 | x.Sptr = nil |
| 8606 | } |
| 8607 | } else { |
| 8608 | if x.Sptr == nil { |
| 8609 | x.Sptr = new(Sstructbig) |
| 8610 | } |
| 8611 | if yyxt11 := z.Extension(x.Sptr); yyxt11 != nil { |
| 8612 | z.DecExtension(x.Sptr, yyxt11) |
| 8613 | } else { |
| 8614 | x.Sptr.CodecDecodeSelf(d) |
| 8615 | } |
| 8616 | } |
| 8617 | default: |
| 8618 | z.DecStructFieldNotFound(-1, string(yys3)) |
| 8619 | } // end switch yys3 |
| 8620 | } // end for yyj3 |
| 8621 | } |
| 8622 | |
| 8623 | func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { |
| 8624 | var h codecSelfer19780 |
no test coverage detected