diff --git a/codec/README.md b/codec/README.md index 81b0a548..e4c45bc8 100644 --- a/codec/README.md +++ b/codec/README.md @@ -247,7 +247,7 @@ caveats. See Encode documentation. ```go const CborStreamBytes byte = 0x5f ... -const GenVersion = 25 +const GenVersion = 26 var SelfExt = &extFailWrapper{} var GoRpc goRpc var MsgpackSpecRpc msgpackSpecRpc diff --git a/codec/build.sh b/codec/build.sh index 152deb6d..023faf3d 100755 --- a/codec/build.sh +++ b/codec/build.sh @@ -307,8 +307,10 @@ _usage() { cat < [t=tests (e=extra, s=short, o=cover, w=wait), m=make, n=inlining diagnostics, l=mid-stack inlining, d=race detector] - -v -> v=verbose + -t[esow] -> t=tests [e=extra, s=short, o=cover, w=wait] + -[md] -> [m=make, d=race detector] + -[n l i] -> [n=inlining diagnostics, l=mid-stack inlining, i=check inlining for path (path)] + -v -> v=verbose EOF if [[ "$(type -t _usage_run)" = "function" ]]; then _usage_run ; fi } @@ -329,7 +331,7 @@ _main() { local gocmd=${MYGOCMD:-go} OPTIND=1 - while getopts ":cetmnrgpfvldsowkxyzb:" flag + while getopts ":cetmnrgpfvldsowkxyzi" flag do case "x$flag" in 'xo') zcover=1 ;; @@ -341,7 +343,7 @@ _main() { 'xl') zargs+=("-gcflags"); zargs+=("-l=4") ;; 'xn') zargs+=("-gcflags"); zargs+=("-m=2") ;; 'xd') zargs+=("-race") ;; - 'xb') x='b'; zbenchflags=${OPTARG} ;; + # 'xi') x='i'; zbenchflags=${OPTARG} ;; x\?) _usage; return 1 ;; *) x=$flag ;; esac @@ -359,7 +361,7 @@ _main() { 'xy') _analyze_debug_types "$@" ;; 'xz') _analyze_do_inlining_and_more "$@" ;; 'xk') _go_compiler_validation_suite ;; - 'xb') _bench "$@" ;; + 'xi') _check_inlining_one "$@" ;; esac # unset zforce zargs zbenchflags } diff --git a/codec/decode.go b/codec/decode.go index 6537a520..db87f2e7 100644 --- a/codec/decode.go +++ b/codec/decode.go @@ -16,9 +16,9 @@ import ( const msgBadDesc = "unrecognized descriptor byte" const ( - decDefMaxDepth = 1024 // maximum depth - decDefChanCap = 64 // should be large, as cap cannot be expanded - decScratchByteArrayLen = (8 + 2 + 2) * 8 // around cacheLineSize ie ~64, depending on Decoder size + decDefMaxDepth = 1024 // maximum depth + decDefChanCap = 64 // should be large, as cap cannot be expanded + decScratchByteArrayLen = (8 + 2 + 2 + 1) * 8 // around cacheLineSize ie ~64, depending on Decoder size // MARKER: massage decScratchByteArrayLen to ensure xxxDecDriver structs fit within cacheLine*N @@ -150,13 +150,11 @@ type decDriver interface { // If the format doesn't prefix the length, it returns containerLenUnknown. // If the expected array was a nil in the stream, it returns containerLenNil. ReadArrayStart() int - ReadArrayEnd() // ReadMapStart will return the length of the array. // If the format doesn't prefix the length, it returns containerLenUnknown. // If the expected array was a nil in the stream, it returns containerLenNil. ReadMapStart() int - ReadMapEnd() reset() @@ -186,6 +184,8 @@ type decDriverContainerTracker interface { ReadArrayElem() ReadMapElemKey() ReadMapElemValue() + ReadArrayEnd() + ReadMapEnd() } type decNegintPosintFloatNumber interface { @@ -202,11 +202,11 @@ func (x decDriverNoopNumberHelper) decFloat() (f float64, ok bool) { panic("decF type decDriverNoopContainerReader struct{} -func (x decDriverNoopContainerReader) ReadArrayStart() (v int) { panic("ReadArrayStart unsupported") } -func (x decDriverNoopContainerReader) ReadArrayEnd() {} -func (x decDriverNoopContainerReader) ReadMapStart() (v int) { panic("ReadMapStart unsupported") } -func (x decDriverNoopContainerReader) ReadMapEnd() {} -func (x decDriverNoopContainerReader) CheckBreak() (v bool) { return } +// func (x decDriverNoopContainerReader) ReadArrayStart() (v int) { panic("ReadArrayStart unsupported") } +// func (x decDriverNoopContainerReader) ReadMapStart() (v int) { panic("ReadMapStart unsupported") } +func (x decDriverNoopContainerReader) ReadArrayEnd() {} +func (x decDriverNoopContainerReader) ReadMapEnd() {} +func (x decDriverNoopContainerReader) CheckBreak() (v bool) { return } // DecodeOptions captures configuration options during decode. type DecodeOptions struct { @@ -729,38 +729,21 @@ func (d *Decoder) kStruct(f *codecFnInfo, rv reflect.Value) { } // Not much gain from doing it two ways for array. // Arrays are not used as much for structs. - hasLen := containerLen >= 0 - var checkbreak bool tisfi := ti.sfi.source() - for j, si := range tisfi { - if hasLen { - if j == containerLen { - break - } - } else if d.checkBreak() { - checkbreak = true - break - } + hasLen := containerLen >= 0 + + // iterate all the items in the stream + // if mapped elem-wise to a field, handle it + // if more stream items than cap be mapped, error it + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.arrayElem() - d.kStructField(si, rv) - } - var proceed bool - if hasLen { - proceed = containerLen > len(tisfi) - } else { - proceed = !checkbreak - } - // if (hasLen && containerLen > len(tisfi)) || (!hasLen && !checkbreak) { - if proceed { - // read remaining values and throw away - for j := len(tisfi); ; j++ { - if !d.containerNext(j, containerLen, hasLen) { - break - } - d.arrayElem() + if j < len(tisfi) { + d.kStructField(tisfi[j], rv) + } else { d.structFieldNotFound(j, "") } } + d.arrayEnd() } else { d.onerror(errNeedMapOrArrayDecodeToStruct) @@ -1422,6 +1405,7 @@ func (d *Decoder) r() *decRd { func (d *Decoder) init(h Handle) { initHandle(h) + d.cbreak = d.js || d.cbor d.bytes = true d.err = errDecoderNotInitialized d.h = h.getBasicHandle() @@ -1948,7 +1932,34 @@ func (d *Decoder) decodeFloat32() float32 { // MARKER: do not call mapEnd if mapStart returns containerLenNil. +// MARKER: optimize decoding since all formats do not truly support all decDriver'ish operations. +// - Read(Map|Array)Start is only supported by all formats. +// - CheckBreak is only supported by json and cbor. +// - Read(Map|Array)End is only supported by json. +// - Read(Map|Array)Elem(Kay|Value) is only supported by json. +// Honor these in the code, to reduce the number of interface calls (even if empty). + +func (d *Decoder) checkBreak() (v bool) { + // MARKER: jsonDecDriver.CheckBreak() cannot be inlined (over budget inlining cost). + // Consequently, there's no benefit in incurring the cost of this wrapping function. + // It is faster to just call the interface method directly. + + // if d.js { + // return d.jsondriver().CheckBreak() + // } + // if d.cbor { + // return d.cbordriver().CheckBreak() + // } + + if d.cbreak { + v = d.d.CheckBreak() + } + return +} + func (d *Decoder) containerNext(j, containerLen int, hasLen bool) bool { + // MARKER: keep in sync with gen-helper.go.tmpl + // return (hasLen && j < containerLen) || !(hasLen || slh.d.checkBreak()) if hasLen { return j < containerLen @@ -1979,7 +1990,10 @@ func (d *Decoder) mapElemValue() { } func (d *Decoder) mapEnd() { - d.d.ReadMapEnd() + if d.js { + d.jsondriver().ReadMapEnd() + } + // d.d.ReadMapEnd() d.depthDecr() d.c = 0 } @@ -2000,7 +2014,10 @@ func (d *Decoder) arrayElem() { } func (d *Decoder) arrayEnd() { - d.d.ReadArrayEnd() + if d.js { + d.jsondriver().ReadArrayEnd() + } + // d.d.ReadArrayEnd() d.depthDecr() d.c = 0 } diff --git a/codec/fast-path.generated.go b/codec/fast-path.generated.go index a2c25819..941ef798 100644 --- a/codec/fast-path.generated.go +++ b/codec/fast-path.generated.go @@ -3019,7 +3019,7 @@ func (fastpathT) DecSliceIntfY(v []interface{}, d *Decoder) (v2 []interface{}, c } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 16) v = make([]interface{}, uint(xlen)) @@ -3052,7 +3052,7 @@ func (fastpathT) DecSliceIntfN(v []interface{}, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3118,7 +3118,7 @@ func (fastpathT) DecSliceStringY(v []string, d *Decoder) (v2 []string, changed b } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 16) v = make([]string, uint(xlen)) @@ -3151,7 +3151,7 @@ func (fastpathT) DecSliceStringN(v []string, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3217,7 +3217,7 @@ func (fastpathT) DecSliceBytesY(v [][]byte, d *Decoder) (v2 [][]byte, changed bo } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 24) v = make([][]byte, uint(xlen)) @@ -3250,7 +3250,7 @@ func (fastpathT) DecSliceBytesN(v [][]byte, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3316,7 +3316,7 @@ func (fastpathT) DecSliceFloat32Y(v []float32, d *Decoder) (v2 []float32, change } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) v = make([]float32, uint(xlen)) @@ -3349,7 +3349,7 @@ func (fastpathT) DecSliceFloat32N(v []float32, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3415,7 +3415,7 @@ func (fastpathT) DecSliceFloat64Y(v []float64, d *Decoder) (v2 []float64, change } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) v = make([]float64, uint(xlen)) @@ -3448,7 +3448,7 @@ func (fastpathT) DecSliceFloat64N(v []float64, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3522,7 +3522,7 @@ func (fastpathT) DecSliceUint8Y(v []uint8, d *Decoder) (v2 []uint8, changed bool } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) v = make([]uint8, uint(xlen)) @@ -3565,7 +3565,7 @@ func (fastpathT) DecSliceUint8N(v []uint8, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3631,7 +3631,7 @@ func (fastpathT) DecSliceUint64Y(v []uint64, d *Decoder) (v2 []uint64, changed b } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) v = make([]uint64, uint(xlen)) @@ -3664,7 +3664,7 @@ func (fastpathT) DecSliceUint64N(v []uint64, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3730,7 +3730,7 @@ func (fastpathT) DecSliceIntY(v []int, d *Decoder) (v2 []int, changed bool) { } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) v = make([]int, uint(xlen)) @@ -3763,7 +3763,7 @@ func (fastpathT) DecSliceIntN(v []int, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3829,7 +3829,7 @@ func (fastpathT) DecSliceInt32Y(v []int32, d *Decoder) (v2 []int32, changed bool } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) v = make([]int32, uint(xlen)) @@ -3862,7 +3862,7 @@ func (fastpathT) DecSliceInt32N(v []int32, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -3928,7 +3928,7 @@ func (fastpathT) DecSliceInt64Y(v []int64, d *Decoder) (v2 []int64, changed bool } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) v = make([]int64, uint(xlen)) @@ -3961,7 +3961,7 @@ func (fastpathT) DecSliceInt64N(v []int64, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -4027,7 +4027,7 @@ func (fastpathT) DecSliceBoolY(v []bool, d *Decoder) (v2 []bool, changed bool) { } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) v = make([]bool, uint(xlen)) @@ -4060,7 +4060,7 @@ func (fastpathT) DecSliceBoolN(v []bool, d *Decoder) { return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) return @@ -4108,7 +4108,7 @@ func (fastpathT) DecMapStringIntfL(v map[string]interface{}, containerLen int, d var mk string var mv interface{} hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4158,7 +4158,7 @@ func (fastpathT) DecMapStringStringL(v map[string]string, containerLen int, d *D var mk string var mv string hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4204,7 +4204,7 @@ func (fastpathT) DecMapStringBytesL(v map[string][]byte, containerLen int, d *De var mk string var mv []byte hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4254,7 +4254,7 @@ func (fastpathT) DecMapStringUint8L(v map[string]uint8, containerLen int, d *Dec var mk string var mv uint8 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4299,7 +4299,7 @@ func (fastpathT) DecMapStringUint64L(v map[string]uint64, containerLen int, d *D var mk string var mv uint64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4344,7 +4344,7 @@ func (fastpathT) DecMapStringIntL(v map[string]int, containerLen int, d *Decoder var mk string var mv int hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4389,7 +4389,7 @@ func (fastpathT) DecMapStringInt32L(v map[string]int32, containerLen int, d *Dec var mk string var mv int32 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4434,7 +4434,7 @@ func (fastpathT) DecMapStringFloat64L(v map[string]float64, containerLen int, d var mk string var mv float64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4479,7 +4479,7 @@ func (fastpathT) DecMapStringBoolL(v map[string]bool, containerLen int, d *Decod var mk string var mv bool hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.stringZC(d.d.DecodeStringAsBytes()) d.mapElemValue() @@ -4525,7 +4525,7 @@ func (fastpathT) DecMapUint8IntfL(v map[uint8]interface{}, containerLen int, d * var mk uint8 var mv interface{} hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4575,7 +4575,7 @@ func (fastpathT) DecMapUint8StringL(v map[uint8]string, containerLen int, d *Dec var mk uint8 var mv string hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4621,7 +4621,7 @@ func (fastpathT) DecMapUint8BytesL(v map[uint8][]byte, containerLen int, d *Deco var mk uint8 var mv []byte hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4671,7 +4671,7 @@ func (fastpathT) DecMapUint8Uint8L(v map[uint8]uint8, containerLen int, d *Decod var mk uint8 var mv uint8 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4716,7 +4716,7 @@ func (fastpathT) DecMapUint8Uint64L(v map[uint8]uint64, containerLen int, d *Dec var mk uint8 var mv uint64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4761,7 +4761,7 @@ func (fastpathT) DecMapUint8IntL(v map[uint8]int, containerLen int, d *Decoder) var mk uint8 var mv int hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4806,7 +4806,7 @@ func (fastpathT) DecMapUint8Int32L(v map[uint8]int32, containerLen int, d *Decod var mk uint8 var mv int32 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4851,7 +4851,7 @@ func (fastpathT) DecMapUint8Float64L(v map[uint8]float64, containerLen int, d *D var mk uint8 var mv float64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4896,7 +4896,7 @@ func (fastpathT) DecMapUint8BoolL(v map[uint8]bool, containerLen int, d *Decoder var mk uint8 var mv bool hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) d.mapElemValue() @@ -4942,7 +4942,7 @@ func (fastpathT) DecMapUint64IntfL(v map[uint64]interface{}, containerLen int, d var mk uint64 var mv interface{} hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -4992,7 +4992,7 @@ func (fastpathT) DecMapUint64StringL(v map[uint64]string, containerLen int, d *D var mk uint64 var mv string hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5038,7 +5038,7 @@ func (fastpathT) DecMapUint64BytesL(v map[uint64][]byte, containerLen int, d *De var mk uint64 var mv []byte hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5088,7 +5088,7 @@ func (fastpathT) DecMapUint64Uint8L(v map[uint64]uint8, containerLen int, d *Dec var mk uint64 var mv uint8 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5133,7 +5133,7 @@ func (fastpathT) DecMapUint64Uint64L(v map[uint64]uint64, containerLen int, d *D var mk uint64 var mv uint64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5178,7 +5178,7 @@ func (fastpathT) DecMapUint64IntL(v map[uint64]int, containerLen int, d *Decoder var mk uint64 var mv int hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5223,7 +5223,7 @@ func (fastpathT) DecMapUint64Int32L(v map[uint64]int32, containerLen int, d *Dec var mk uint64 var mv int32 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5268,7 +5268,7 @@ func (fastpathT) DecMapUint64Float64L(v map[uint64]float64, containerLen int, d var mk uint64 var mv float64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5313,7 +5313,7 @@ func (fastpathT) DecMapUint64BoolL(v map[uint64]bool, containerLen int, d *Decod var mk uint64 var mv bool hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = d.d.DecodeUint64() d.mapElemValue() @@ -5359,7 +5359,7 @@ func (fastpathT) DecMapIntIntfL(v map[int]interface{}, containerLen int, d *Deco var mk int var mv interface{} hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5409,7 +5409,7 @@ func (fastpathT) DecMapIntStringL(v map[int]string, containerLen int, d *Decoder var mk int var mv string hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5455,7 +5455,7 @@ func (fastpathT) DecMapIntBytesL(v map[int][]byte, containerLen int, d *Decoder) var mk int var mv []byte hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5505,7 +5505,7 @@ func (fastpathT) DecMapIntUint8L(v map[int]uint8, containerLen int, d *Decoder) var mk int var mv uint8 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5550,7 +5550,7 @@ func (fastpathT) DecMapIntUint64L(v map[int]uint64, containerLen int, d *Decoder var mk int var mv uint64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5595,7 +5595,7 @@ func (fastpathT) DecMapIntIntL(v map[int]int, containerLen int, d *Decoder) { var mk int var mv int hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5640,7 +5640,7 @@ func (fastpathT) DecMapIntInt32L(v map[int]int32, containerLen int, d *Decoder) var mk int var mv int32 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5685,7 +5685,7 @@ func (fastpathT) DecMapIntFloat64L(v map[int]float64, containerLen int, d *Decod var mk int var mv float64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5730,7 +5730,7 @@ func (fastpathT) DecMapIntBoolL(v map[int]bool, containerLen int, d *Decoder) { var mk int var mv bool hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) d.mapElemValue() @@ -5776,7 +5776,7 @@ func (fastpathT) DecMapInt32IntfL(v map[int32]interface{}, containerLen int, d * var mk int32 var mv interface{} hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -5826,7 +5826,7 @@ func (fastpathT) DecMapInt32StringL(v map[int32]string, containerLen int, d *Dec var mk int32 var mv string hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -5872,7 +5872,7 @@ func (fastpathT) DecMapInt32BytesL(v map[int32][]byte, containerLen int, d *Deco var mk int32 var mv []byte hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -5922,7 +5922,7 @@ func (fastpathT) DecMapInt32Uint8L(v map[int32]uint8, containerLen int, d *Decod var mk int32 var mv uint8 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -5967,7 +5967,7 @@ func (fastpathT) DecMapInt32Uint64L(v map[int32]uint64, containerLen int, d *Dec var mk int32 var mv uint64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -6012,7 +6012,7 @@ func (fastpathT) DecMapInt32IntL(v map[int32]int, containerLen int, d *Decoder) var mk int32 var mv int hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -6057,7 +6057,7 @@ func (fastpathT) DecMapInt32Int32L(v map[int32]int32, containerLen int, d *Decod var mk int32 var mv int32 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -6102,7 +6102,7 @@ func (fastpathT) DecMapInt32Float64L(v map[int32]float64, containerLen int, d *D var mk int32 var mv float64 hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() @@ -6147,7 +6147,7 @@ func (fastpathT) DecMapInt32BoolL(v map[int32]bool, containerLen int, d *Decoder var mk int32 var mv bool hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() mk = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) d.mapElemValue() diff --git a/codec/fast-path.go.tmpl b/codec/fast-path.go.tmpl index 56801ee5..1a1cb95c 100644 --- a/codec/fast-path.go.tmpl +++ b/codec/fast-path.go.tmpl @@ -409,7 +409,7 @@ func (fastpathT) {{ .MethodNamePfx "Dec" false }}Y(v []{{ .Elem }}, d *Decoder) } } var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j = 0; d.containerNext(j, containerLenS, hasLen); j++ { if j == 0 && len(v) == 0 { // means hasLen == false xlen = decInferLen(containerLenS, d.h.MaxInitLen, {{ .Size }}) {{/* xlen = decDefSliceCap */}} v = make([]{{ .Elem }}, uint(xlen)) @@ -455,7 +455,7 @@ func (fastpathT) {{ .MethodNamePfx "Dec" false }}N(v []{{ .Elem }}, d *Decoder) return } hasLen := containerLenS > 0 - for j := 0; (hasLen && j < containerLenS) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLenS, hasLen); j++ { {{/* // if indefinite, etc, then expand the slice if necessary */ -}} if j >= len(v) { slh.arrayCannotExpand(hasLen, len(v), j, containerLenS) @@ -531,7 +531,7 @@ func (fastpathT) {{ .MethodNamePfx "Dec" false }}L(v map[{{ .MapKey }}]{{ .Elem var mk {{ .MapKey }} var mv {{ .Elem }} hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || d.checkBreak()); j++ { + for j := 0; d.containerNext(j, containerLen, hasLen); j++ { d.mapElemKey() {{ if eq .MapKey "interface{}" }}mk = nil d.decode(&mk) diff --git a/codec/gen-dec-array.go.tmpl b/codec/gen-dec-array.go.tmpl index e9217505..5e119e71 100644 --- a/codec/gen-dec-array.go.tmpl +++ b/codec/gen-dec-array.go.tmpl @@ -42,8 +42,8 @@ if {{var "l"}} == 0 { } {{end -}} var {{var "j"}} int - {{/* // var {{var "dn"}} bool */ -}} - for {{var "j"}} = 0; ({{var "hl"}} && {{var "j"}} < {{var "l"}}) || !({{var "hl"}} || z.DecCheckBreak()); {{var "j"}}++ { // bounds-check-elimination + {{/* // var {{var "dn"}} bool */ -}} + for {{var "j"}} = 0; z.DecContainerNext({{var "j"}}, {{var "l"}}, {{var "hl"}}); {{var "j"}}++ { {{if not isArray}} if {{var "j"}} == 0 && {{var "v"}} == nil { if {{var "hl"}} { {{var "rl"}} = z.DecInferLen({{var "l"}}, z.DecBasicHandle().MaxInitLen, {{ .Size }}) diff --git a/codec/gen-dec-map.go.tmpl b/codec/gen-dec-map.go.tmpl index a7ce62b5..b32ade2e 100644 --- a/codec/gen-dec-map.go.tmpl +++ b/codec/gen-dec-map.go.tmpl @@ -19,7 +19,7 @@ if z.DecBasicHandle().MapValueReset { {{end}} } if {{var "l"}} != 0 { {{var "hl"}} := {{var "l"}} > 0 - for {{var "j"}} := 0; ({{var "hl"}} && {{var "j"}} < {{var "l"}}) || !({{var "hl"}} || z.DecCheckBreak()); {{var "j"}}++ { + for {{var "j"}} := 0; z.DecContainerNext({{var "j"}}, {{var "l"}}, {{var "hl"}}); {{var "j"}}++ { z.DecReadMapElemKey() {{ if eq .KTyp "string" -}} {{ decLineVarK $mk -}}{{- /* decLineVarKStrZC $mk */ -}} diff --git a/codec/gen-helper.generated.go b/codec/gen-helper.generated.go index 40dc6848..676203da 100644 --- a/codec/gen-helper.generated.go +++ b/codec/gen-helper.generated.go @@ -13,7 +13,7 @@ import ( ) // GenVersion is the current version of codecgen. -const GenVersion = 25 +const GenVersion = 26 // This file is used to generate helper code for codecgen. // The values here i.e. genHelper(En|De)coder are not to be used directly by @@ -65,6 +65,11 @@ func (f genHelperEncoder) EncBasicHandle() *BasicHandle { return f.e.h } +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperEncoder) EncWr() *encWr { + return f.e.w() +} + // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperEncoder) EncBinary() bool { return f.e.be // f.e.hh.isBinaryEncoding() @@ -112,11 +117,6 @@ func (f genHelperEncoder) EncExtension(v interface{}, xfFn *extTypeTagFn) { f.e.e.EncodeExt(v, xfFn.rt, xfFn.tag, xfFn.ext) } -// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* -func (f genHelperEncoder) WriteStr(s string) { - f.e.w().writestr(s) -} - // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperEncoder) EncWriteMapStart(length int) { f.e.mapStart(length) } @@ -277,11 +277,18 @@ func (f genHelperDecoder) DecReadMapElemValue() { f.d.mapElemValue() } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) DecDecodeFloat32() float32 { return f.d.decodeFloat32() } -// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* -func (f genHelperDecoder) DecCheckBreak() bool { return f.d.checkBreak() } - // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) DecStringZC(v []byte) string { return f.d.stringZC(v) } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) DecodeBytesInto(v []byte) []byte { return f.d.decodeBytesInto(v) } + +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperDecoder) DecContainerNext(j, containerLen int, hasLen bool) bool { + // return f.d.containerNext(j, containerLen, hasLen) + // rewriting so it can be inlined + if hasLen { + return j < containerLen + } + return !f.d.checkBreak() +} diff --git a/codec/gen-helper.go.tmpl b/codec/gen-helper.go.tmpl index 7a51c808..bf824ebd 100644 --- a/codec/gen-helper.go.tmpl +++ b/codec/gen-helper.go.tmpl @@ -73,6 +73,10 @@ func (f genHelperEncoder) EncBasicHandle() *BasicHandle { return f.e.h } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperEncoder) EncWr() *encWr { + return f.e.w() +} +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperEncoder) EncBinary() bool { return f.e.be // f.e.hh.isBinaryEncoding() } @@ -111,10 +115,7 @@ func (f genHelperEncoder) Extension(v interface{}) (xfn *extTypeTagFn) { func (f genHelperEncoder) EncExtension(v interface{}, xfFn *extTypeTagFn) { f.e.e.EncodeExt(v, xfFn.rt, xfFn.tag, xfFn.ext) } -// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* -func (f genHelperEncoder) WriteStr(s string) { - f.e.w().writestr(s) -} + // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperEncoder) EncWriteMapStart(length int) { f.e.mapStart(length) } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* @@ -211,12 +212,6 @@ func (f genHelperDecoder) DecRaw() []byte { return f.d.rawBytes() } func (f genHelperDecoder) IsJSONHandle() bool { return f.d.js } -{{/* -// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* -func (f genHelperDecoder) I2Rtid(v interface{}) uintptr { - return i2rtid(v) -} -*/ -}} // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) Extension(v interface{}) (xfn *extTypeTagFn) { return f.d.h.getExtForI(v) @@ -248,8 +243,31 @@ func (f genHelperDecoder) DecReadMapElemValue() { f.d.mapElemValue() } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) DecDecodeFloat32() float32 { return f.d.decodeFloat32() } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* -func (f genHelperDecoder) DecCheckBreak() bool { return f.d.checkBreak() } -// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) DecStringZC(v []byte) string { return f.d.stringZC(v) } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) DecodeBytesInto(v []byte) []byte { return f.d.decodeBytesInto(v) } +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperDecoder) DecContainerNext(j, containerLen int, hasLen bool) bool { + // return f.d.containerNext(j, containerLen, hasLen) + // rewriting so it can be inlined + if hasLen { + return j < containerLen + } + return !f.d.checkBreak() +} + +{{/* +// MARKER: remove WriteStr, as it cannot be inlined as of 20230201. +// Instead, generated code calls (*encWr).WriteStr directly. + +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +// func (f genHelperEncoder) WriteStr(s string) { +// f.e.encWr.writestr(s) +// } + +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperDecoder) I2Rtid(v interface{}) uintptr { + return i2rtid(v) +} + +*/ -}} diff --git a/codec/gen.generated.go b/codec/gen.generated.go index 0ea79e75..277180a0 100644 --- a/codec/gen.generated.go +++ b/codec/gen.generated.go @@ -29,7 +29,7 @@ if z.DecBasicHandle().MapValueReset { {{end}} } if {{var "l"}} != 0 { {{var "hl"}} := {{var "l"}} > 0 - for {{var "j"}} := 0; ({{var "hl"}} && {{var "j"}} < {{var "l"}}) || !({{var "hl"}} || z.DecCheckBreak()); {{var "j"}}++ { + for {{var "j"}} := 0; z.DecContainerNext({{var "j"}}, {{var "l"}}, {{var "hl"}}); {{var "j"}}++ { z.DecReadMapElemKey() {{ if eq .KTyp "string" -}} {{ decLineVarK $mk -}}{{- /* decLineVarKStrZC $mk */ -}} @@ -113,8 +113,8 @@ if {{var "l"}} == 0 { } {{end -}} var {{var "j"}} int - {{/* // var {{var "dn"}} bool */ -}} - for {{var "j"}} = 0; ({{var "hl"}} && {{var "j"}} < {{var "l"}}) || !({{var "hl"}} || z.DecCheckBreak()); {{var "j"}}++ { // bounds-check-elimination + {{/* // var {{var "dn"}} bool */ -}} + for {{var "j"}} = 0; z.DecContainerNext({{var "j"}}, {{var "l"}}, {{var "hl"}}); {{var "j"}}++ { {{if not isArray}} if {{var "j"}} == 0 && {{var "v"}} == nil { if {{var "hl"}} { {{var "rl"}} = z.DecInferLen({{var "l"}}, z.DecBasicHandle().MaxInitLen, {{ .Size }}) diff --git a/codec/gen.go b/codec/gen.go index d4a57f47..d0cec197 100644 --- a/codec/gen.go +++ b/codec/gen.go @@ -127,16 +127,13 @@ import ( // // v1: Initial Version // v2: - -// v3: Changes for Kubernetes: -// -// changes in signature of some unpublished helper methods and codecgen cmdline arguments. -// +// v3: For Kubernetes: changes in signature of some unpublished helper methods and codecgen cmdline arguments. // v4: Removed separator support from (en|de)cDriver, and refactored codec(gen) // v5: changes to support faster json decoding. Let encoder/decoder maintain state of collections. // v6: removed unsafe from gen, and now uses codecgen.exec tag // v7: - // v8: current - we now maintain compatibility with old generated code. -// v9: skipped +// v9: - skipped // v10: modified encDriver and decDriver interfaces. // v11: remove deprecated methods of encDriver and decDriver. // v12: removed deprecated methods from genHelper and changed container tracking logic @@ -153,7 +150,8 @@ import ( // v23: 20210203 changed slice/map types for which we generate fast-path functions // v24: 20210226 robust handling for Canonical|CheckCircularRef flags and MissingFielder implementations // v25: 20210406 pass base reflect.Type to side(En|De)code and (En|De)codeExt calls -const genVersion = 25 +// v26: 20230201 genHelper changes for more inlining and consequent performance +const genVersion = 26 const ( genCodecPkg = "codec1978" // MARKER: keep in sync with codecgen/gen.go @@ -164,13 +162,6 @@ const ( // This is because nil can appear anywhere, so we should always check. genAnythingCanBeNil = true - // if genUseOneFunctionForDecStructMap, make a single codecDecodeSelferFromMap function; - // else make codecDecodeSelferFromMap{LenPrefix,CheckBreak} so that conditionals - // are not executed a lot. - // - // From testing, it didn't make much difference in runtime, so keep as true (one function only) - genUseOneFunctionForDecStructMap = true - // genStructCanonical configures whether we generate 2 paths based on Canonical flag // when encoding struct fields. genStructCanonical = true @@ -183,15 +174,8 @@ const ( // genFastpathTrimTypes configures whether we trim uncommon fastpath types. genFastpathTrimTypes = true - - // genDecStructArrayInlineLoopCheck configures whether we create a next function - // for each iteration in the loop and call it, or just inline it. - // - // with inlining, we get better performance but about 10% larger files. - genDecStructArrayInlineLoopCheck = true ) -type genStructMapStyle uint8 type genStringDecAsBytes string type genStringDecZC string @@ -199,12 +183,6 @@ var genStringDecAsBytesTyp = reflect.TypeOf(genStringDecAsBytes("")) var genStringDecZCTyp = reflect.TypeOf(genStringDecZC("")) var genFormats = []string{"Json", "Cbor", "Msgpack", "Binc", "Simple"} -const ( - genStructMapStyleConsolidated genStructMapStyle = iota - genStructMapStyleLenPrefix - genStructMapStyleCheckBreak -) - var ( errGenAllTypesSamePkg = errors.New("All types must be in the same package") errGenExpectArrayOrMap = errors.New("unexpected type - expecting array/map/slice") @@ -774,28 +752,12 @@ func (x *genRunner) selfer(encode bool) { } // write is containerMap - if genUseOneFunctionForDecStructMap { - x.out(fnSigPfx) - x.line(") codecDecodeSelfFromMap(l int, d *" + x.cpfx + "Decoder) {") - x.genRequiredMethodVars(false) - x.decStructMap(genTopLevelVarName, "l", rt2id(t0), t0, genStructMapStyleConsolidated) - x.line("}") - x.line("") - } else { - x.out(fnSigPfx) - x.line(") codecDecodeSelfFromMapLenPrefix(l int, d *" + x.cpfx + "Decoder) {") - x.genRequiredMethodVars(false) - x.decStructMap(genTopLevelVarName, "l", rt2id(t0), t0, genStructMapStyleLenPrefix) - x.line("}") - x.line("") - - x.out(fnSigPfx) - x.line(") codecDecodeSelfFromMapCheckBreak(l int, d *" + x.cpfx + "Decoder) {") - x.genRequiredMethodVars(false) - x.decStructMap(genTopLevelVarName, "l", rt2id(t0), t0, genStructMapStyleCheckBreak) - x.line("}") - x.line("") - } + x.out(fnSigPfx) + x.line(") codecDecodeSelfFromMap(l int, d *" + x.cpfx + "Decoder) {") + x.genRequiredMethodVars(false) + x.decStructMap(genTopLevelVarName, "l", rt2id(t0), t0) + x.line("}") + x.line("") // write containerArray x.out(fnSigPfx) @@ -1388,7 +1350,7 @@ func (x *genRunner) encStruct(varname string, rtid uintptr, t reflect.Type) { default: // string if x.jsonOnlyWhen == nil { if si.path.encNameAsciiAlphaNum { - x.linef(`if z.IsJSONHandle() { z.WriteStr("\"%s\"") } else { `, si.encName) + x.linef(`if z.IsJSONHandle() { z.EncWr().WriteStr("\"%s\"") } else { `, si.encName) } x.linef("r.EncodeString(`%s`)", si.encName) if si.path.encNameAsciiAlphaNum { @@ -1396,7 +1358,7 @@ func (x *genRunner) encStruct(varname string, rtid uintptr, t reflect.Type) { } } else if *(x.jsonOnlyWhen) { if si.path.encNameAsciiAlphaNum { - x.linef(`z.WriteStr("\"%s\"")`, si.encName) + x.linef(`z.EncWr().WriteStr("\"%s\"")`, si.encName) } else { x.linef("r.EncodeString(`%s`)", si.encName) } @@ -2088,23 +2050,16 @@ func (x *genRunner) decStructMapSwitch(kName string, varname string, rtid uintpt x.linef("} // end switch %s", kName) } -func (x *genRunner) decStructMap(varname, lenvarname string, rtid uintptr, t reflect.Type, style genStructMapStyle) { +func (x *genRunner) decStructMap(varname, lenvarname string, rtid uintptr, t reflect.Type) { tpfx := genTempVarPfx ti := x.ti.get(rtid, t) i := x.varsfx() kName := tpfx + "s" + i - switch style { - case genStructMapStyleLenPrefix: - x.linef("for %sj%s := 0; %sj%s < %s; %sj%s++ {", tpfx, i, tpfx, i, lenvarname, tpfx, i) - case genStructMapStyleCheckBreak: - x.linef("for %sj%s := 0; !z.DecCheckBreak(); %sj%s++ {", tpfx, i, tpfx, i) - default: // 0, otherwise. - x.linef("var %shl%s bool = %s >= 0", tpfx, i, lenvarname) // has length - x.linef("for %sj%s := 0; ; %sj%s++ {", tpfx, i, tpfx, i) - x.linef("if %shl%s { if %sj%s >= %s { break }", tpfx, i, tpfx, i, lenvarname) - x.line("} else { if z.DecCheckBreak() { break }; }") - } + x.linef("var %shl%s bool = %s >= 0", tpfx, i, lenvarname) // has length + x.linef("for %sj%s := 0; z.DecContainerNext(%sj%s, %s, %shl%s); %sj%s++ {", + tpfx, i, tpfx, i, lenvarname, tpfx, i, tpfx, i) + x.line("z.DecReadMapElemKey()") // emulate decstructfieldkey @@ -2133,24 +2088,11 @@ func (x *genRunner) decStructArray(varname, lenvarname, breakString string, rtid x.linef("var %sj%s int", tpfx, i) x.linef("var %sb%s bool", tpfx, i) // break x.linef("var %shl%s bool = %s >= 0", tpfx, i, lenvarname) // has length - if !genDecStructArrayInlineLoopCheck { - x.linef("var %sfn%s = func() bool { ", tpfx, i) - x.linef("%sj%s++; if %shl%s { %sb%s = %sj%s > %s } else { %sb%s = z.DecCheckBreak() };", - tpfx, i, tpfx, i, tpfx, i, - tpfx, i, lenvarname, tpfx, i) - x.linef("if %sb%s { z.DecReadArrayEnd(); return true }; return false", tpfx, i) - x.linef("} // end func %sfn%s", tpfx, i) - } var newbuf, nilbuf genBuf for _, si := range tisfi { - if genDecStructArrayInlineLoopCheck { - x.linef("%sj%s++; if %shl%s { %sb%s = %sj%s > %s } else { %sb%s = z.DecCheckBreak() }", - tpfx, i, tpfx, i, tpfx, i, - tpfx, i, lenvarname, tpfx, i) - x.linef("if %sb%s { z.DecReadArrayEnd(); %s }", tpfx, i, breakString) - } else { - x.linef("if %sfn%s() { %s }", tpfx, i, breakString) - } + x.linef("%sj%s++", tpfx, i) + x.linef("%sb%s = !z.DecContainerNext(%sj%s, %s, %shl%s)", tpfx, i, tpfx, i, lenvarname, tpfx, i) + x.linef("if %sb%s { z.DecReadArrayEnd(); %s }", tpfx, i, breakString) x.line("z.DecReadArrayElem()") newbuf.reset() nilbuf.reset() @@ -2164,11 +2106,8 @@ func (x *genRunner) decStructArray(varname, lenvarname, breakString string, rtid } } // read remaining values and throw away. - x.line("for {") - x.linef("%sj%s++; if %shl%s { %sb%s = %sj%s > %s } else { %sb%s = z.DecCheckBreak() }", - tpfx, i, tpfx, i, tpfx, i, - tpfx, i, lenvarname, tpfx, i) - x.linef("if %sb%s { break }", tpfx, i) + x.linef("for %sj%s++; z.DecContainerNext(%sj%s, %s, %shl%s); %sj%s++ {", + tpfx, i, tpfx, i, lenvarname, tpfx, i, tpfx, i) x.line("z.DecReadArrayElem()") x.linef(`z.DecStructFieldNotFound(%sj%s - 1, "")`, tpfx, i) x.line("}") @@ -2183,15 +2122,10 @@ func (x *genRunner) decStruct(varname string, rtid uintptr, t reflect.Type) { x.linef("} else if %sct%s == codecSelferValueTypeMap%s {", genTempVarPfx, i, x.xs) x.line(genTempVarPfx + "l" + i + " := z.DecReadMapStart()") x.linef("if %sl%s == 0 {", genTempVarPfx, i) - if genUseOneFunctionForDecStructMap { - x.line("} else { ") - x.linef("%s.codecDecodeSelfFromMap(%sl%s, d)", varname, genTempVarPfx, i) - } else { - x.line("} else if " + genTempVarPfx + "l" + i + " > 0 { ") - x.line(varname + ".codecDecodeSelfFromMapLenPrefix(" + genTempVarPfx + "l" + i + ", d)") - x.line("} else {") - x.line(varname + ".codecDecodeSelfFromMapCheckBreak(" + genTempVarPfx + "l" + i + ", d)") - } + + x.line("} else { ") + x.linef("%s.codecDecodeSelfFromMap(%sl%s, d)", varname, genTempVarPfx, i) + x.line("}") x.line("z.DecReadMapEnd()") diff --git a/codec/helper_not_unsafe.go b/codec/helper_not_unsafe.go index 3f68021c..10034b86 100644 --- a/codec/helper_not_unsafe.go +++ b/codec/helper_not_unsafe.go @@ -685,10 +685,6 @@ func (e *Encoder) jsondriver() *jsonEncDriver { // ---------- DECODER optimized --------------- -func (d *Decoder) checkBreak() bool { - return d.d.CheckBreak() -} - func (d *Decoder) jsondriver() *jsonDecDriver { return d.d.(*jsonDecDriver) } diff --git a/codec/helper_unsafe.go b/codec/helper_unsafe.go index b6e1ca6c..4e29b030 100644 --- a/codec/helper_unsafe.go +++ b/codec/helper_unsafe.go @@ -1216,7 +1216,10 @@ func (d *Decoder) zerocopystate() bool { } func (d *Decoder) stringZC(v []byte) (s string) { - if d.zerocopystate() { + // MARKER: inline zerocopystate directly so genHelper forwarding function fits within inlining cost + + // if d.zerocopystate() { + if d.decByteState == decByteStateZerocopy && d.h.ZeroCopy { return stringView(v) } return d.string(v) @@ -1235,22 +1238,6 @@ func (d *Decoder) mapKeyString(callFnRvk *bool, kstrbs, kstr2bs *[]byte) string // ---------- DECODER optimized --------------- -func (d *Decoder) checkBreak() bool { - // MARKER: jsonDecDriver.CheckBreak() costs over 80, and this isn't inlined. - // Consequently, there's no benefit in incurring the cost of this - // wrapping function checkBreak. - // - // It is faster to just call the interface method directly. - - // if d.js { - // return d.jsondriver().CheckBreak() - // } - // if d.cbor { - // return d.cbordriver().CheckBreak() - // } - return d.d.CheckBreak() -} - func (d *Decoder) jsondriver() *jsonDecDriver { return (*jsonDecDriver)((*unsafeIntf)(unsafe.Pointer(&d.d)).ptr) } diff --git a/codec/json.go b/codec/json.go index f76a7526..f7d2343e 100644 --- a/codec/json.go +++ b/codec/json.go @@ -189,7 +189,7 @@ type jsonEncDriver struct { // -xxx.yyyyyyyyyyyye-zzz // Consequently, 35 characters should be sufficient for encoding time, integers or floats. // We use up all the remaining bytes to make this use full cache lines. - b [56]byte + b [48]byte e Encoder } @@ -659,6 +659,12 @@ func (d *jsonDecDriver) ReadArrayStart() int { return containerLenUnknown } +// MARKER: +// We attempted making sure CheckBreak can be inlined, by moving the skipWhitespace +// call to an explicit (noinline) function call. +// However, this forces CheckBreak to always incur a function call if there was whitespace, +// with no clear benefit. + func (d *jsonDecDriver) CheckBreak() bool { d.advance() return d.tok == '}' || d.tok == ']' @@ -735,9 +741,13 @@ func (d *jsonDecDriver) checkLit4(got, expect [4]byte) { } } +func (d *jsonDecDriver) skipWhitespace() { + d.tok = d.d.decRd.skipWhitespace() +} + func (d *jsonDecDriver) advance() { if d.tok == 0 { - d.tok = d.d.decRd.skipWhitespace() // skip(&whitespaceCharBitset) + d.skipWhitespace() } } diff --git a/codec/mammoth2_codecgen_generated_test.go b/codec/mammoth2_codecgen_generated_test.go index c2f53200..1d409e87 100644 --- a/codec/mammoth2_codecgen_generated_test.go +++ b/codec/mammoth2_codecgen_generated_test.go @@ -64,10 +64,10 @@ func (p codecSelfer19781float64Slice) Swap(i, j int) { p[uint(i)], p[uint(j func (p codecSelfer19781float64Slice) Less(i, j int) bool { return p[uint(i)] < p[uint(j)] } func init() { - if GenVersion != 25 { + if GenVersion != 26 { _, file, _, _ := runtime.Caller(0) ver := strconv.FormatInt(int64(GenVersion), 10) - panic(errors.New("codecgen version mismatch: current: 25, need " + ver + ". Re-generate file: " + file)) + panic(errors.New("codecgen version mismatch: current: 26, need " + ver + ". Re-generate file: " + file)) } } @@ -1353,7 +1353,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FBool\"") + z.EncWr().WriteStr("\"FBool\"") } else { r.EncodeString(`FBool`) } @@ -1361,7 +1361,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.FBool)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FBytes\"") + z.EncWr().WriteStr("\"FBytes\"") } else { r.EncodeString(`FBytes`) } @@ -1373,7 +1373,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FBytes slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FFloat32\"") + z.EncWr().WriteStr("\"FFloat32\"") } else { r.EncodeString(`FFloat32`) } @@ -1381,7 +1381,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.FFloat32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FFloat64\"") + z.EncWr().WriteStr("\"FFloat64\"") } else { r.EncodeString(`FFloat64`) } @@ -1389,7 +1389,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.FFloat64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt\"") + z.EncWr().WriteStr("\"FInt\"") } else { r.EncodeString(`FInt`) } @@ -1397,7 +1397,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt16\"") + z.EncWr().WriteStr("\"FInt16\"") } else { r.EncodeString(`FInt16`) } @@ -1405,7 +1405,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt32\"") + z.EncWr().WriteStr("\"FInt32\"") } else { r.EncodeString(`FInt32`) } @@ -1413,7 +1413,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt64\"") + z.EncWr().WriteStr("\"FInt64\"") } else { r.EncodeString(`FInt64`) } @@ -1421,7 +1421,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt8\"") + z.EncWr().WriteStr("\"FInt8\"") } else { r.EncodeString(`FInt8`) } @@ -1429,7 +1429,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FIntf\"") + z.EncWr().WriteStr("\"FIntf\"") } else { r.EncodeString(`FIntf`) } @@ -1437,7 +1437,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { z.EncFallback(x.FIntf) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Bool\"") + z.EncWr().WriteStr("\"FMapInt32Bool\"") } else { r.EncodeString(`FMapInt32Bool`) } @@ -1449,7 +1449,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Bool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Bytes\"") + z.EncWr().WriteStr("\"FMapInt32Bytes\"") } else { r.EncodeString(`FMapInt32Bytes`) } @@ -1461,7 +1461,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Bytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Float64\"") + z.EncWr().WriteStr("\"FMapInt32Float64\"") } else { r.EncodeString(`FMapInt32Float64`) } @@ -1473,7 +1473,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Float64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Int\"") + z.EncWr().WriteStr("\"FMapInt32Int\"") } else { r.EncodeString(`FMapInt32Int`) } @@ -1485,7 +1485,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Int map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Int32\"") + z.EncWr().WriteStr("\"FMapInt32Int32\"") } else { r.EncodeString(`FMapInt32Int32`) } @@ -1497,7 +1497,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Int32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Intf\"") + z.EncWr().WriteStr("\"FMapInt32Intf\"") } else { r.EncodeString(`FMapInt32Intf`) } @@ -1509,7 +1509,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Intf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32String\"") + z.EncWr().WriteStr("\"FMapInt32String\"") } else { r.EncodeString(`FMapInt32String`) } @@ -1521,7 +1521,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32String map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Uint64\"") + z.EncWr().WriteStr("\"FMapInt32Uint64\"") } else { r.EncodeString(`FMapInt32Uint64`) } @@ -1533,7 +1533,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Uint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Uint8\"") + z.EncWr().WriteStr("\"FMapInt32Uint8\"") } else { r.EncodeString(`FMapInt32Uint8`) } @@ -1545,7 +1545,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Uint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntBool\"") + z.EncWr().WriteStr("\"FMapIntBool\"") } else { r.EncodeString(`FMapIntBool`) } @@ -1557,7 +1557,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntBool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntBytes\"") + z.EncWr().WriteStr("\"FMapIntBytes\"") } else { r.EncodeString(`FMapIntBytes`) } @@ -1569,7 +1569,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntBytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntFloat64\"") + z.EncWr().WriteStr("\"FMapIntFloat64\"") } else { r.EncodeString(`FMapIntFloat64`) } @@ -1581,7 +1581,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntFloat64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntInt\"") + z.EncWr().WriteStr("\"FMapIntInt\"") } else { r.EncodeString(`FMapIntInt`) } @@ -1593,7 +1593,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntInt map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntInt32\"") + z.EncWr().WriteStr("\"FMapIntInt32\"") } else { r.EncodeString(`FMapIntInt32`) } @@ -1605,7 +1605,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntInt32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntIntf\"") + z.EncWr().WriteStr("\"FMapIntIntf\"") } else { r.EncodeString(`FMapIntIntf`) } @@ -1617,7 +1617,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntIntf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntString\"") + z.EncWr().WriteStr("\"FMapIntString\"") } else { r.EncodeString(`FMapIntString`) } @@ -1629,7 +1629,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntString map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntUint64\"") + z.EncWr().WriteStr("\"FMapIntUint64\"") } else { r.EncodeString(`FMapIntUint64`) } @@ -1641,7 +1641,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntUint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntUint8\"") + z.EncWr().WriteStr("\"FMapIntUint8\"") } else { r.EncodeString(`FMapIntUint8`) } @@ -1653,7 +1653,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntUint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringBool\"") + z.EncWr().WriteStr("\"FMapStringBool\"") } else { r.EncodeString(`FMapStringBool`) } @@ -1665,7 +1665,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringBool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringBytes\"") + z.EncWr().WriteStr("\"FMapStringBytes\"") } else { r.EncodeString(`FMapStringBytes`) } @@ -1677,7 +1677,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringBytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringFloat64\"") + z.EncWr().WriteStr("\"FMapStringFloat64\"") } else { r.EncodeString(`FMapStringFloat64`) } @@ -1689,7 +1689,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringFloat64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringInt\"") + z.EncWr().WriteStr("\"FMapStringInt\"") } else { r.EncodeString(`FMapStringInt`) } @@ -1701,7 +1701,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringInt map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringInt32\"") + z.EncWr().WriteStr("\"FMapStringInt32\"") } else { r.EncodeString(`FMapStringInt32`) } @@ -1713,7 +1713,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringInt32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringIntf\"") + z.EncWr().WriteStr("\"FMapStringIntf\"") } else { r.EncodeString(`FMapStringIntf`) } @@ -1725,7 +1725,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringIntf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringString\"") + z.EncWr().WriteStr("\"FMapStringString\"") } else { r.EncodeString(`FMapStringString`) } @@ -1737,7 +1737,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringString map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringUint64\"") + z.EncWr().WriteStr("\"FMapStringUint64\"") } else { r.EncodeString(`FMapStringUint64`) } @@ -1749,7 +1749,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringUint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringUint8\"") + z.EncWr().WriteStr("\"FMapStringUint8\"") } else { r.EncodeString(`FMapStringUint8`) } @@ -1761,7 +1761,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringUint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Bool\"") + z.EncWr().WriteStr("\"FMapUint64Bool\"") } else { r.EncodeString(`FMapUint64Bool`) } @@ -1773,7 +1773,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Bool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Bytes\"") + z.EncWr().WriteStr("\"FMapUint64Bytes\"") } else { r.EncodeString(`FMapUint64Bytes`) } @@ -1785,7 +1785,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Bytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Float64\"") + z.EncWr().WriteStr("\"FMapUint64Float64\"") } else { r.EncodeString(`FMapUint64Float64`) } @@ -1797,7 +1797,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Float64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Int\"") + z.EncWr().WriteStr("\"FMapUint64Int\"") } else { r.EncodeString(`FMapUint64Int`) } @@ -1809,7 +1809,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Int map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Int32\"") + z.EncWr().WriteStr("\"FMapUint64Int32\"") } else { r.EncodeString(`FMapUint64Int32`) } @@ -1821,7 +1821,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Int32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Intf\"") + z.EncWr().WriteStr("\"FMapUint64Intf\"") } else { r.EncodeString(`FMapUint64Intf`) } @@ -1833,7 +1833,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Intf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64String\"") + z.EncWr().WriteStr("\"FMapUint64String\"") } else { r.EncodeString(`FMapUint64String`) } @@ -1845,7 +1845,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64String map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Uint64\"") + z.EncWr().WriteStr("\"FMapUint64Uint64\"") } else { r.EncodeString(`FMapUint64Uint64`) } @@ -1857,7 +1857,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Uint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Uint8\"") + z.EncWr().WriteStr("\"FMapUint64Uint8\"") } else { r.EncodeString(`FMapUint64Uint8`) } @@ -1869,7 +1869,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Uint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Bool\"") + z.EncWr().WriteStr("\"FMapUint8Bool\"") } else { r.EncodeString(`FMapUint8Bool`) } @@ -1881,7 +1881,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Bool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Bytes\"") + z.EncWr().WriteStr("\"FMapUint8Bytes\"") } else { r.EncodeString(`FMapUint8Bytes`) } @@ -1893,7 +1893,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Bytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Float64\"") + z.EncWr().WriteStr("\"FMapUint8Float64\"") } else { r.EncodeString(`FMapUint8Float64`) } @@ -1905,7 +1905,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Float64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Int\"") + z.EncWr().WriteStr("\"FMapUint8Int\"") } else { r.EncodeString(`FMapUint8Int`) } @@ -1917,7 +1917,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Int map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Int32\"") + z.EncWr().WriteStr("\"FMapUint8Int32\"") } else { r.EncodeString(`FMapUint8Int32`) } @@ -1929,7 +1929,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Int32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Intf\"") + z.EncWr().WriteStr("\"FMapUint8Intf\"") } else { r.EncodeString(`FMapUint8Intf`) } @@ -1941,7 +1941,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Intf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8String\"") + z.EncWr().WriteStr("\"FMapUint8String\"") } else { r.EncodeString(`FMapUint8String`) } @@ -1953,7 +1953,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8String map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Uint64\"") + z.EncWr().WriteStr("\"FMapUint8Uint64\"") } else { r.EncodeString(`FMapUint8Uint64`) } @@ -1965,7 +1965,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Uint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Uint8\"") + z.EncWr().WriteStr("\"FMapUint8Uint8\"") } else { r.EncodeString(`FMapUint8Uint8`) } @@ -1977,7 +1977,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Uint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceBool\"") + z.EncWr().WriteStr("\"FSliceBool\"") } else { r.EncodeString(`FSliceBool`) } @@ -1989,7 +1989,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceBool slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceBytes\"") + z.EncWr().WriteStr("\"FSliceBytes\"") } else { r.EncodeString(`FSliceBytes`) } @@ -2001,7 +2001,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceBytes slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceFloat32\"") + z.EncWr().WriteStr("\"FSliceFloat32\"") } else { r.EncodeString(`FSliceFloat32`) } @@ -2013,7 +2013,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceFloat32 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceFloat64\"") + z.EncWr().WriteStr("\"FSliceFloat64\"") } else { r.EncodeString(`FSliceFloat64`) } @@ -2025,7 +2025,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceFloat64 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceInt\"") + z.EncWr().WriteStr("\"FSliceInt\"") } else { r.EncodeString(`FSliceInt`) } @@ -2037,7 +2037,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceInt slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceInt32\"") + z.EncWr().WriteStr("\"FSliceInt32\"") } else { r.EncodeString(`FSliceInt32`) } @@ -2049,7 +2049,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceInt32 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceInt64\"") + z.EncWr().WriteStr("\"FSliceInt64\"") } else { r.EncodeString(`FSliceInt64`) } @@ -2061,7 +2061,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceInt64 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceIntf\"") + z.EncWr().WriteStr("\"FSliceIntf\"") } else { r.EncodeString(`FSliceIntf`) } @@ -2073,7 +2073,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceIntf slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceString\"") + z.EncWr().WriteStr("\"FSliceString\"") } else { r.EncodeString(`FSliceString`) } @@ -2085,7 +2085,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceString slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceUint64\"") + z.EncWr().WriteStr("\"FSliceUint64\"") } else { r.EncodeString(`FSliceUint64`) } @@ -2097,7 +2097,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceUint64 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceUint8\"") + z.EncWr().WriteStr("\"FSliceUint8\"") } else { r.EncodeString(`FSliceUint8`) } @@ -2109,7 +2109,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceUint8 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FString\"") + z.EncWr().WriteStr("\"FString\"") } else { r.EncodeString(`FString`) } @@ -2117,7 +2117,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.FString)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint\"") + z.EncWr().WriteStr("\"FUint\"") } else { r.EncodeString(`FUint`) } @@ -2125,7 +2125,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint16\"") + z.EncWr().WriteStr("\"FUint16\"") } else { r.EncodeString(`FUint16`) } @@ -2133,7 +2133,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint32\"") + z.EncWr().WriteStr("\"FUint32\"") } else { r.EncodeString(`FUint32`) } @@ -2141,7 +2141,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint64\"") + z.EncWr().WriteStr("\"FUint64\"") } else { r.EncodeString(`FUint64`) } @@ -2149,7 +2149,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint8\"") + z.EncWr().WriteStr("\"FUint8\"") } else { r.EncodeString(`FUint8`) } @@ -2157,7 +2157,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUintptr\"") + z.EncWr().WriteStr("\"FUintptr\"") } else { r.EncodeString(`FUintptr`) } @@ -2165,7 +2165,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUintptr)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrBool\"") + z.EncWr().WriteStr("\"FptrBool\"") } else { r.EncodeString(`FptrBool`) } @@ -2178,7 +2178,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrBytes\"") + z.EncWr().WriteStr("\"FptrBytes\"") } else { r.EncodeString(`FptrBytes`) } @@ -2195,7 +2195,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrFloat32\"") + z.EncWr().WriteStr("\"FptrFloat32\"") } else { r.EncodeString(`FptrFloat32`) } @@ -2208,7 +2208,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrFloat64\"") + z.EncWr().WriteStr("\"FptrFloat64\"") } else { r.EncodeString(`FptrFloat64`) } @@ -2221,7 +2221,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt\"") + z.EncWr().WriteStr("\"FptrInt\"") } else { r.EncodeString(`FptrInt`) } @@ -2234,7 +2234,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt16\"") + z.EncWr().WriteStr("\"FptrInt16\"") } else { r.EncodeString(`FptrInt16`) } @@ -2247,7 +2247,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt32\"") + z.EncWr().WriteStr("\"FptrInt32\"") } else { r.EncodeString(`FptrInt32`) } @@ -2260,7 +2260,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt64\"") + z.EncWr().WriteStr("\"FptrInt64\"") } else { r.EncodeString(`FptrInt64`) } @@ -2273,7 +2273,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt8\"") + z.EncWr().WriteStr("\"FptrInt8\"") } else { r.EncodeString(`FptrInt8`) } @@ -2286,7 +2286,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrIntf\"") + z.EncWr().WriteStr("\"FptrIntf\"") } else { r.EncodeString(`FptrIntf`) } @@ -2299,7 +2299,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Bool\"") + z.EncWr().WriteStr("\"FptrMapInt32Bool\"") } else { r.EncodeString(`FptrMapInt32Bool`) } @@ -2316,7 +2316,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Bytes\"") + z.EncWr().WriteStr("\"FptrMapInt32Bytes\"") } else { r.EncodeString(`FptrMapInt32Bytes`) } @@ -2333,7 +2333,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Float64\"") + z.EncWr().WriteStr("\"FptrMapInt32Float64\"") } else { r.EncodeString(`FptrMapInt32Float64`) } @@ -2350,7 +2350,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Int\"") + z.EncWr().WriteStr("\"FptrMapInt32Int\"") } else { r.EncodeString(`FptrMapInt32Int`) } @@ -2367,7 +2367,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Int32\"") + z.EncWr().WriteStr("\"FptrMapInt32Int32\"") } else { r.EncodeString(`FptrMapInt32Int32`) } @@ -2384,7 +2384,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Intf\"") + z.EncWr().WriteStr("\"FptrMapInt32Intf\"") } else { r.EncodeString(`FptrMapInt32Intf`) } @@ -2401,7 +2401,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32String\"") + z.EncWr().WriteStr("\"FptrMapInt32String\"") } else { r.EncodeString(`FptrMapInt32String`) } @@ -2418,7 +2418,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Uint64\"") + z.EncWr().WriteStr("\"FptrMapInt32Uint64\"") } else { r.EncodeString(`FptrMapInt32Uint64`) } @@ -2435,7 +2435,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Uint8\"") + z.EncWr().WriteStr("\"FptrMapInt32Uint8\"") } else { r.EncodeString(`FptrMapInt32Uint8`) } @@ -2452,7 +2452,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntBool\"") + z.EncWr().WriteStr("\"FptrMapIntBool\"") } else { r.EncodeString(`FptrMapIntBool`) } @@ -2469,7 +2469,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntBytes\"") + z.EncWr().WriteStr("\"FptrMapIntBytes\"") } else { r.EncodeString(`FptrMapIntBytes`) } @@ -2486,7 +2486,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntFloat64\"") + z.EncWr().WriteStr("\"FptrMapIntFloat64\"") } else { r.EncodeString(`FptrMapIntFloat64`) } @@ -2503,7 +2503,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntInt\"") + z.EncWr().WriteStr("\"FptrMapIntInt\"") } else { r.EncodeString(`FptrMapIntInt`) } @@ -2520,7 +2520,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntInt32\"") + z.EncWr().WriteStr("\"FptrMapIntInt32\"") } else { r.EncodeString(`FptrMapIntInt32`) } @@ -2537,7 +2537,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntIntf\"") + z.EncWr().WriteStr("\"FptrMapIntIntf\"") } else { r.EncodeString(`FptrMapIntIntf`) } @@ -2554,7 +2554,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntString\"") + z.EncWr().WriteStr("\"FptrMapIntString\"") } else { r.EncodeString(`FptrMapIntString`) } @@ -2571,7 +2571,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntUint64\"") + z.EncWr().WriteStr("\"FptrMapIntUint64\"") } else { r.EncodeString(`FptrMapIntUint64`) } @@ -2588,7 +2588,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntUint8\"") + z.EncWr().WriteStr("\"FptrMapIntUint8\"") } else { r.EncodeString(`FptrMapIntUint8`) } @@ -2605,7 +2605,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringBool\"") + z.EncWr().WriteStr("\"FptrMapStringBool\"") } else { r.EncodeString(`FptrMapStringBool`) } @@ -2622,7 +2622,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringBytes\"") + z.EncWr().WriteStr("\"FptrMapStringBytes\"") } else { r.EncodeString(`FptrMapStringBytes`) } @@ -2639,7 +2639,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringFloat64\"") + z.EncWr().WriteStr("\"FptrMapStringFloat64\"") } else { r.EncodeString(`FptrMapStringFloat64`) } @@ -2656,7 +2656,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringInt\"") + z.EncWr().WriteStr("\"FptrMapStringInt\"") } else { r.EncodeString(`FptrMapStringInt`) } @@ -2673,7 +2673,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringInt32\"") + z.EncWr().WriteStr("\"FptrMapStringInt32\"") } else { r.EncodeString(`FptrMapStringInt32`) } @@ -2690,7 +2690,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringIntf\"") + z.EncWr().WriteStr("\"FptrMapStringIntf\"") } else { r.EncodeString(`FptrMapStringIntf`) } @@ -2707,7 +2707,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringString\"") + z.EncWr().WriteStr("\"FptrMapStringString\"") } else { r.EncodeString(`FptrMapStringString`) } @@ -2724,7 +2724,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringUint64\"") + z.EncWr().WriteStr("\"FptrMapStringUint64\"") } else { r.EncodeString(`FptrMapStringUint64`) } @@ -2741,7 +2741,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringUint8\"") + z.EncWr().WriteStr("\"FptrMapStringUint8\"") } else { r.EncodeString(`FptrMapStringUint8`) } @@ -2758,7 +2758,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Bool\"") + z.EncWr().WriteStr("\"FptrMapUint64Bool\"") } else { r.EncodeString(`FptrMapUint64Bool`) } @@ -2775,7 +2775,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Bytes\"") + z.EncWr().WriteStr("\"FptrMapUint64Bytes\"") } else { r.EncodeString(`FptrMapUint64Bytes`) } @@ -2792,7 +2792,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Float64\"") + z.EncWr().WriteStr("\"FptrMapUint64Float64\"") } else { r.EncodeString(`FptrMapUint64Float64`) } @@ -2809,7 +2809,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Int\"") + z.EncWr().WriteStr("\"FptrMapUint64Int\"") } else { r.EncodeString(`FptrMapUint64Int`) } @@ -2826,7 +2826,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Int32\"") + z.EncWr().WriteStr("\"FptrMapUint64Int32\"") } else { r.EncodeString(`FptrMapUint64Int32`) } @@ -2843,7 +2843,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Intf\"") + z.EncWr().WriteStr("\"FptrMapUint64Intf\"") } else { r.EncodeString(`FptrMapUint64Intf`) } @@ -2860,7 +2860,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64String\"") + z.EncWr().WriteStr("\"FptrMapUint64String\"") } else { r.EncodeString(`FptrMapUint64String`) } @@ -2877,7 +2877,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Uint64\"") + z.EncWr().WriteStr("\"FptrMapUint64Uint64\"") } else { r.EncodeString(`FptrMapUint64Uint64`) } @@ -2894,7 +2894,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Uint8\"") + z.EncWr().WriteStr("\"FptrMapUint64Uint8\"") } else { r.EncodeString(`FptrMapUint64Uint8`) } @@ -2911,7 +2911,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Bool\"") + z.EncWr().WriteStr("\"FptrMapUint8Bool\"") } else { r.EncodeString(`FptrMapUint8Bool`) } @@ -2928,7 +2928,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Bytes\"") + z.EncWr().WriteStr("\"FptrMapUint8Bytes\"") } else { r.EncodeString(`FptrMapUint8Bytes`) } @@ -2945,7 +2945,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Float64\"") + z.EncWr().WriteStr("\"FptrMapUint8Float64\"") } else { r.EncodeString(`FptrMapUint8Float64`) } @@ -2962,7 +2962,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Int\"") + z.EncWr().WriteStr("\"FptrMapUint8Int\"") } else { r.EncodeString(`FptrMapUint8Int`) } @@ -2979,7 +2979,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Int32\"") + z.EncWr().WriteStr("\"FptrMapUint8Int32\"") } else { r.EncodeString(`FptrMapUint8Int32`) } @@ -2996,7 +2996,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Intf\"") + z.EncWr().WriteStr("\"FptrMapUint8Intf\"") } else { r.EncodeString(`FptrMapUint8Intf`) } @@ -3013,7 +3013,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8String\"") + z.EncWr().WriteStr("\"FptrMapUint8String\"") } else { r.EncodeString(`FptrMapUint8String`) } @@ -3030,7 +3030,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Uint64\"") + z.EncWr().WriteStr("\"FptrMapUint8Uint64\"") } else { r.EncodeString(`FptrMapUint8Uint64`) } @@ -3047,7 +3047,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Uint8\"") + z.EncWr().WriteStr("\"FptrMapUint8Uint8\"") } else { r.EncodeString(`FptrMapUint8Uint8`) } @@ -3064,7 +3064,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceBool\"") + z.EncWr().WriteStr("\"FptrSliceBool\"") } else { r.EncodeString(`FptrSliceBool`) } @@ -3081,7 +3081,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceBytes\"") + z.EncWr().WriteStr("\"FptrSliceBytes\"") } else { r.EncodeString(`FptrSliceBytes`) } @@ -3098,7 +3098,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceFloat32\"") + z.EncWr().WriteStr("\"FptrSliceFloat32\"") } else { r.EncodeString(`FptrSliceFloat32`) } @@ -3115,7 +3115,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceFloat64\"") + z.EncWr().WriteStr("\"FptrSliceFloat64\"") } else { r.EncodeString(`FptrSliceFloat64`) } @@ -3132,7 +3132,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceInt\"") + z.EncWr().WriteStr("\"FptrSliceInt\"") } else { r.EncodeString(`FptrSliceInt`) } @@ -3149,7 +3149,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceInt32\"") + z.EncWr().WriteStr("\"FptrSliceInt32\"") } else { r.EncodeString(`FptrSliceInt32`) } @@ -3166,7 +3166,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceInt64\"") + z.EncWr().WriteStr("\"FptrSliceInt64\"") } else { r.EncodeString(`FptrSliceInt64`) } @@ -3183,7 +3183,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceIntf\"") + z.EncWr().WriteStr("\"FptrSliceIntf\"") } else { r.EncodeString(`FptrSliceIntf`) } @@ -3200,7 +3200,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceString\"") + z.EncWr().WriteStr("\"FptrSliceString\"") } else { r.EncodeString(`FptrSliceString`) } @@ -3217,7 +3217,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceUint64\"") + z.EncWr().WriteStr("\"FptrSliceUint64\"") } else { r.EncodeString(`FptrSliceUint64`) } @@ -3234,7 +3234,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceUint8\"") + z.EncWr().WriteStr("\"FptrSliceUint8\"") } else { r.EncodeString(`FptrSliceUint8`) } @@ -3251,7 +3251,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrString\"") + z.EncWr().WriteStr("\"FptrString\"") } else { r.EncodeString(`FptrString`) } @@ -3264,7 +3264,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint\"") + z.EncWr().WriteStr("\"FptrUint\"") } else { r.EncodeString(`FptrUint`) } @@ -3277,7 +3277,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint16\"") + z.EncWr().WriteStr("\"FptrUint16\"") } else { r.EncodeString(`FptrUint16`) } @@ -3290,7 +3290,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint32\"") + z.EncWr().WriteStr("\"FptrUint32\"") } else { r.EncodeString(`FptrUint32`) } @@ -3303,7 +3303,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint64\"") + z.EncWr().WriteStr("\"FptrUint64\"") } else { r.EncodeString(`FptrUint64`) } @@ -3316,7 +3316,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint8\"") + z.EncWr().WriteStr("\"FptrUint8\"") } else { r.EncodeString(`FptrUint8`) } @@ -3329,7 +3329,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUintptr\"") + z.EncWr().WriteStr("\"FptrUintptr\"") } else { r.EncodeString(`FptrUintptr`) } @@ -3343,7 +3343,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FIntf\"") + z.EncWr().WriteStr("\"FIntf\"") } else { r.EncodeString(`FIntf`) } @@ -3351,7 +3351,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { z.EncFallback(x.FIntf) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrIntf\"") + z.EncWr().WriteStr("\"FptrIntf\"") } else { r.EncodeString(`FptrIntf`) } @@ -3364,7 +3364,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FString\"") + z.EncWr().WriteStr("\"FString\"") } else { r.EncodeString(`FString`) } @@ -3372,7 +3372,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.FString)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrString\"") + z.EncWr().WriteStr("\"FptrString\"") } else { r.EncodeString(`FptrString`) } @@ -3385,7 +3385,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FBytes\"") + z.EncWr().WriteStr("\"FBytes\"") } else { r.EncodeString(`FBytes`) } @@ -3397,7 +3397,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FBytes slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrBytes\"") + z.EncWr().WriteStr("\"FptrBytes\"") } else { r.EncodeString(`FptrBytes`) } @@ -3414,7 +3414,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FFloat32\"") + z.EncWr().WriteStr("\"FFloat32\"") } else { r.EncodeString(`FFloat32`) } @@ -3422,7 +3422,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.FFloat32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrFloat32\"") + z.EncWr().WriteStr("\"FptrFloat32\"") } else { r.EncodeString(`FptrFloat32`) } @@ -3435,7 +3435,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FFloat64\"") + z.EncWr().WriteStr("\"FFloat64\"") } else { r.EncodeString(`FFloat64`) } @@ -3443,7 +3443,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.FFloat64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrFloat64\"") + z.EncWr().WriteStr("\"FptrFloat64\"") } else { r.EncodeString(`FptrFloat64`) } @@ -3456,7 +3456,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint\"") + z.EncWr().WriteStr("\"FUint\"") } else { r.EncodeString(`FUint`) } @@ -3464,7 +3464,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint\"") + z.EncWr().WriteStr("\"FptrUint\"") } else { r.EncodeString(`FptrUint`) } @@ -3477,7 +3477,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint8\"") + z.EncWr().WriteStr("\"FUint8\"") } else { r.EncodeString(`FUint8`) } @@ -3485,7 +3485,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint8\"") + z.EncWr().WriteStr("\"FptrUint8\"") } else { r.EncodeString(`FptrUint8`) } @@ -3498,7 +3498,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint16\"") + z.EncWr().WriteStr("\"FUint16\"") } else { r.EncodeString(`FUint16`) } @@ -3506,7 +3506,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint16\"") + z.EncWr().WriteStr("\"FptrUint16\"") } else { r.EncodeString(`FptrUint16`) } @@ -3519,7 +3519,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint32\"") + z.EncWr().WriteStr("\"FUint32\"") } else { r.EncodeString(`FUint32`) } @@ -3527,7 +3527,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint32\"") + z.EncWr().WriteStr("\"FptrUint32\"") } else { r.EncodeString(`FptrUint32`) } @@ -3540,7 +3540,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUint64\"") + z.EncWr().WriteStr("\"FUint64\"") } else { r.EncodeString(`FUint64`) } @@ -3548,7 +3548,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUint64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUint64\"") + z.EncWr().WriteStr("\"FptrUint64\"") } else { r.EncodeString(`FptrUint64`) } @@ -3561,7 +3561,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FUintptr\"") + z.EncWr().WriteStr("\"FUintptr\"") } else { r.EncodeString(`FUintptr`) } @@ -3569,7 +3569,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.FUintptr)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrUintptr\"") + z.EncWr().WriteStr("\"FptrUintptr\"") } else { r.EncodeString(`FptrUintptr`) } @@ -3582,7 +3582,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt\"") + z.EncWr().WriteStr("\"FInt\"") } else { r.EncodeString(`FInt`) } @@ -3590,7 +3590,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt\"") + z.EncWr().WriteStr("\"FptrInt\"") } else { r.EncodeString(`FptrInt`) } @@ -3603,7 +3603,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt8\"") + z.EncWr().WriteStr("\"FInt8\"") } else { r.EncodeString(`FInt8`) } @@ -3611,7 +3611,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt8\"") + z.EncWr().WriteStr("\"FptrInt8\"") } else { r.EncodeString(`FptrInt8`) } @@ -3624,7 +3624,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt16\"") + z.EncWr().WriteStr("\"FInt16\"") } else { r.EncodeString(`FInt16`) } @@ -3632,7 +3632,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt16\"") + z.EncWr().WriteStr("\"FptrInt16\"") } else { r.EncodeString(`FptrInt16`) } @@ -3645,7 +3645,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt32\"") + z.EncWr().WriteStr("\"FInt32\"") } else { r.EncodeString(`FInt32`) } @@ -3653,7 +3653,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt32\"") + z.EncWr().WriteStr("\"FptrInt32\"") } else { r.EncodeString(`FptrInt32`) } @@ -3666,7 +3666,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FInt64\"") + z.EncWr().WriteStr("\"FInt64\"") } else { r.EncodeString(`FInt64`) } @@ -3674,7 +3674,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.FInt64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrInt64\"") + z.EncWr().WriteStr("\"FptrInt64\"") } else { r.EncodeString(`FptrInt64`) } @@ -3687,7 +3687,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FBool\"") + z.EncWr().WriteStr("\"FBool\"") } else { r.EncodeString(`FBool`) } @@ -3695,7 +3695,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.FBool)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrBool\"") + z.EncWr().WriteStr("\"FptrBool\"") } else { r.EncodeString(`FptrBool`) } @@ -3708,7 +3708,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceIntf\"") + z.EncWr().WriteStr("\"FSliceIntf\"") } else { r.EncodeString(`FSliceIntf`) } @@ -3720,7 +3720,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceIntf slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceIntf\"") + z.EncWr().WriteStr("\"FptrSliceIntf\"") } else { r.EncodeString(`FptrSliceIntf`) } @@ -3737,7 +3737,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceString\"") + z.EncWr().WriteStr("\"FSliceString\"") } else { r.EncodeString(`FSliceString`) } @@ -3749,7 +3749,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceString slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceString\"") + z.EncWr().WriteStr("\"FptrSliceString\"") } else { r.EncodeString(`FptrSliceString`) } @@ -3766,7 +3766,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceBytes\"") + z.EncWr().WriteStr("\"FSliceBytes\"") } else { r.EncodeString(`FSliceBytes`) } @@ -3778,7 +3778,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceBytes slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceBytes\"") + z.EncWr().WriteStr("\"FptrSliceBytes\"") } else { r.EncodeString(`FptrSliceBytes`) } @@ -3795,7 +3795,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceFloat32\"") + z.EncWr().WriteStr("\"FSliceFloat32\"") } else { r.EncodeString(`FSliceFloat32`) } @@ -3807,7 +3807,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceFloat32 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceFloat32\"") + z.EncWr().WriteStr("\"FptrSliceFloat32\"") } else { r.EncodeString(`FptrSliceFloat32`) } @@ -3824,7 +3824,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceFloat64\"") + z.EncWr().WriteStr("\"FSliceFloat64\"") } else { r.EncodeString(`FSliceFloat64`) } @@ -3836,7 +3836,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceFloat64 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceFloat64\"") + z.EncWr().WriteStr("\"FptrSliceFloat64\"") } else { r.EncodeString(`FptrSliceFloat64`) } @@ -3853,7 +3853,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceUint8\"") + z.EncWr().WriteStr("\"FSliceUint8\"") } else { r.EncodeString(`FSliceUint8`) } @@ -3865,7 +3865,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceUint8 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceUint8\"") + z.EncWr().WriteStr("\"FptrSliceUint8\"") } else { r.EncodeString(`FptrSliceUint8`) } @@ -3882,7 +3882,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceUint64\"") + z.EncWr().WriteStr("\"FSliceUint64\"") } else { r.EncodeString(`FSliceUint64`) } @@ -3894,7 +3894,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceUint64 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceUint64\"") + z.EncWr().WriteStr("\"FptrSliceUint64\"") } else { r.EncodeString(`FptrSliceUint64`) } @@ -3911,7 +3911,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceInt\"") + z.EncWr().WriteStr("\"FSliceInt\"") } else { r.EncodeString(`FSliceInt`) } @@ -3923,7 +3923,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceInt slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceInt\"") + z.EncWr().WriteStr("\"FptrSliceInt\"") } else { r.EncodeString(`FptrSliceInt`) } @@ -3940,7 +3940,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceInt32\"") + z.EncWr().WriteStr("\"FSliceInt32\"") } else { r.EncodeString(`FSliceInt32`) } @@ -3952,7 +3952,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceInt32 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceInt32\"") + z.EncWr().WriteStr("\"FptrSliceInt32\"") } else { r.EncodeString(`FptrSliceInt32`) } @@ -3969,7 +3969,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceInt64\"") + z.EncWr().WriteStr("\"FSliceInt64\"") } else { r.EncodeString(`FSliceInt64`) } @@ -3981,7 +3981,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceInt64 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceInt64\"") + z.EncWr().WriteStr("\"FptrSliceInt64\"") } else { r.EncodeString(`FptrSliceInt64`) } @@ -3998,7 +3998,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FSliceBool\"") + z.EncWr().WriteStr("\"FSliceBool\"") } else { r.EncodeString(`FSliceBool`) } @@ -4010,7 +4010,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FSliceBool slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrSliceBool\"") + z.EncWr().WriteStr("\"FptrSliceBool\"") } else { r.EncodeString(`FptrSliceBool`) } @@ -4027,7 +4027,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringIntf\"") + z.EncWr().WriteStr("\"FMapStringIntf\"") } else { r.EncodeString(`FMapStringIntf`) } @@ -4039,7 +4039,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringIntf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringIntf\"") + z.EncWr().WriteStr("\"FptrMapStringIntf\"") } else { r.EncodeString(`FptrMapStringIntf`) } @@ -4056,7 +4056,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringString\"") + z.EncWr().WriteStr("\"FMapStringString\"") } else { r.EncodeString(`FMapStringString`) } @@ -4068,7 +4068,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringString map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringString\"") + z.EncWr().WriteStr("\"FptrMapStringString\"") } else { r.EncodeString(`FptrMapStringString`) } @@ -4085,7 +4085,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringBytes\"") + z.EncWr().WriteStr("\"FMapStringBytes\"") } else { r.EncodeString(`FMapStringBytes`) } @@ -4097,7 +4097,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringBytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringBytes\"") + z.EncWr().WriteStr("\"FptrMapStringBytes\"") } else { r.EncodeString(`FptrMapStringBytes`) } @@ -4114,7 +4114,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringUint8\"") + z.EncWr().WriteStr("\"FMapStringUint8\"") } else { r.EncodeString(`FMapStringUint8`) } @@ -4126,7 +4126,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringUint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringUint8\"") + z.EncWr().WriteStr("\"FptrMapStringUint8\"") } else { r.EncodeString(`FptrMapStringUint8`) } @@ -4143,7 +4143,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringUint64\"") + z.EncWr().WriteStr("\"FMapStringUint64\"") } else { r.EncodeString(`FMapStringUint64`) } @@ -4155,7 +4155,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringUint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringUint64\"") + z.EncWr().WriteStr("\"FptrMapStringUint64\"") } else { r.EncodeString(`FptrMapStringUint64`) } @@ -4172,7 +4172,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringInt\"") + z.EncWr().WriteStr("\"FMapStringInt\"") } else { r.EncodeString(`FMapStringInt`) } @@ -4184,7 +4184,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringInt map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringInt\"") + z.EncWr().WriteStr("\"FptrMapStringInt\"") } else { r.EncodeString(`FptrMapStringInt`) } @@ -4201,7 +4201,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringInt32\"") + z.EncWr().WriteStr("\"FMapStringInt32\"") } else { r.EncodeString(`FMapStringInt32`) } @@ -4213,7 +4213,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringInt32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringInt32\"") + z.EncWr().WriteStr("\"FptrMapStringInt32\"") } else { r.EncodeString(`FptrMapStringInt32`) } @@ -4230,7 +4230,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringFloat64\"") + z.EncWr().WriteStr("\"FMapStringFloat64\"") } else { r.EncodeString(`FMapStringFloat64`) } @@ -4242,7 +4242,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringFloat64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringFloat64\"") + z.EncWr().WriteStr("\"FptrMapStringFloat64\"") } else { r.EncodeString(`FptrMapStringFloat64`) } @@ -4259,7 +4259,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapStringBool\"") + z.EncWr().WriteStr("\"FMapStringBool\"") } else { r.EncodeString(`FMapStringBool`) } @@ -4271,7 +4271,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapStringBool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapStringBool\"") + z.EncWr().WriteStr("\"FptrMapStringBool\"") } else { r.EncodeString(`FptrMapStringBool`) } @@ -4288,7 +4288,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Intf\"") + z.EncWr().WriteStr("\"FMapUint8Intf\"") } else { r.EncodeString(`FMapUint8Intf`) } @@ -4300,7 +4300,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Intf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Intf\"") + z.EncWr().WriteStr("\"FptrMapUint8Intf\"") } else { r.EncodeString(`FptrMapUint8Intf`) } @@ -4317,7 +4317,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8String\"") + z.EncWr().WriteStr("\"FMapUint8String\"") } else { r.EncodeString(`FMapUint8String`) } @@ -4329,7 +4329,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8String map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8String\"") + z.EncWr().WriteStr("\"FptrMapUint8String\"") } else { r.EncodeString(`FptrMapUint8String`) } @@ -4346,7 +4346,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Bytes\"") + z.EncWr().WriteStr("\"FMapUint8Bytes\"") } else { r.EncodeString(`FMapUint8Bytes`) } @@ -4358,7 +4358,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Bytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Bytes\"") + z.EncWr().WriteStr("\"FptrMapUint8Bytes\"") } else { r.EncodeString(`FptrMapUint8Bytes`) } @@ -4375,7 +4375,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Uint8\"") + z.EncWr().WriteStr("\"FMapUint8Uint8\"") } else { r.EncodeString(`FMapUint8Uint8`) } @@ -4387,7 +4387,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Uint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Uint8\"") + z.EncWr().WriteStr("\"FptrMapUint8Uint8\"") } else { r.EncodeString(`FptrMapUint8Uint8`) } @@ -4404,7 +4404,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Uint64\"") + z.EncWr().WriteStr("\"FMapUint8Uint64\"") } else { r.EncodeString(`FMapUint8Uint64`) } @@ -4416,7 +4416,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Uint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Uint64\"") + z.EncWr().WriteStr("\"FptrMapUint8Uint64\"") } else { r.EncodeString(`FptrMapUint8Uint64`) } @@ -4433,7 +4433,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Int\"") + z.EncWr().WriteStr("\"FMapUint8Int\"") } else { r.EncodeString(`FMapUint8Int`) } @@ -4445,7 +4445,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Int map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Int\"") + z.EncWr().WriteStr("\"FptrMapUint8Int\"") } else { r.EncodeString(`FptrMapUint8Int`) } @@ -4462,7 +4462,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Int32\"") + z.EncWr().WriteStr("\"FMapUint8Int32\"") } else { r.EncodeString(`FMapUint8Int32`) } @@ -4474,7 +4474,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Int32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Int32\"") + z.EncWr().WriteStr("\"FptrMapUint8Int32\"") } else { r.EncodeString(`FptrMapUint8Int32`) } @@ -4491,7 +4491,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Float64\"") + z.EncWr().WriteStr("\"FMapUint8Float64\"") } else { r.EncodeString(`FMapUint8Float64`) } @@ -4503,7 +4503,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Float64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Float64\"") + z.EncWr().WriteStr("\"FptrMapUint8Float64\"") } else { r.EncodeString(`FptrMapUint8Float64`) } @@ -4520,7 +4520,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint8Bool\"") + z.EncWr().WriteStr("\"FMapUint8Bool\"") } else { r.EncodeString(`FMapUint8Bool`) } @@ -4532,7 +4532,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint8Bool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint8Bool\"") + z.EncWr().WriteStr("\"FptrMapUint8Bool\"") } else { r.EncodeString(`FptrMapUint8Bool`) } @@ -4549,7 +4549,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Intf\"") + z.EncWr().WriteStr("\"FMapUint64Intf\"") } else { r.EncodeString(`FMapUint64Intf`) } @@ -4561,7 +4561,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Intf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Intf\"") + z.EncWr().WriteStr("\"FptrMapUint64Intf\"") } else { r.EncodeString(`FptrMapUint64Intf`) } @@ -4578,7 +4578,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64String\"") + z.EncWr().WriteStr("\"FMapUint64String\"") } else { r.EncodeString(`FMapUint64String`) } @@ -4590,7 +4590,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64String map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64String\"") + z.EncWr().WriteStr("\"FptrMapUint64String\"") } else { r.EncodeString(`FptrMapUint64String`) } @@ -4607,7 +4607,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Bytes\"") + z.EncWr().WriteStr("\"FMapUint64Bytes\"") } else { r.EncodeString(`FMapUint64Bytes`) } @@ -4619,7 +4619,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Bytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Bytes\"") + z.EncWr().WriteStr("\"FptrMapUint64Bytes\"") } else { r.EncodeString(`FptrMapUint64Bytes`) } @@ -4636,7 +4636,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Uint8\"") + z.EncWr().WriteStr("\"FMapUint64Uint8\"") } else { r.EncodeString(`FMapUint64Uint8`) } @@ -4648,7 +4648,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Uint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Uint8\"") + z.EncWr().WriteStr("\"FptrMapUint64Uint8\"") } else { r.EncodeString(`FptrMapUint64Uint8`) } @@ -4665,7 +4665,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Uint64\"") + z.EncWr().WriteStr("\"FMapUint64Uint64\"") } else { r.EncodeString(`FMapUint64Uint64`) } @@ -4677,7 +4677,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Uint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Uint64\"") + z.EncWr().WriteStr("\"FptrMapUint64Uint64\"") } else { r.EncodeString(`FptrMapUint64Uint64`) } @@ -4694,7 +4694,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Int\"") + z.EncWr().WriteStr("\"FMapUint64Int\"") } else { r.EncodeString(`FMapUint64Int`) } @@ -4706,7 +4706,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Int map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Int\"") + z.EncWr().WriteStr("\"FptrMapUint64Int\"") } else { r.EncodeString(`FptrMapUint64Int`) } @@ -4723,7 +4723,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Int32\"") + z.EncWr().WriteStr("\"FMapUint64Int32\"") } else { r.EncodeString(`FMapUint64Int32`) } @@ -4735,7 +4735,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Int32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Int32\"") + z.EncWr().WriteStr("\"FptrMapUint64Int32\"") } else { r.EncodeString(`FptrMapUint64Int32`) } @@ -4752,7 +4752,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Float64\"") + z.EncWr().WriteStr("\"FMapUint64Float64\"") } else { r.EncodeString(`FMapUint64Float64`) } @@ -4764,7 +4764,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Float64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Float64\"") + z.EncWr().WriteStr("\"FptrMapUint64Float64\"") } else { r.EncodeString(`FptrMapUint64Float64`) } @@ -4781,7 +4781,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapUint64Bool\"") + z.EncWr().WriteStr("\"FMapUint64Bool\"") } else { r.EncodeString(`FMapUint64Bool`) } @@ -4793,7 +4793,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapUint64Bool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapUint64Bool\"") + z.EncWr().WriteStr("\"FptrMapUint64Bool\"") } else { r.EncodeString(`FptrMapUint64Bool`) } @@ -4810,7 +4810,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntIntf\"") + z.EncWr().WriteStr("\"FMapIntIntf\"") } else { r.EncodeString(`FMapIntIntf`) } @@ -4822,7 +4822,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntIntf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntIntf\"") + z.EncWr().WriteStr("\"FptrMapIntIntf\"") } else { r.EncodeString(`FptrMapIntIntf`) } @@ -4839,7 +4839,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntString\"") + z.EncWr().WriteStr("\"FMapIntString\"") } else { r.EncodeString(`FMapIntString`) } @@ -4851,7 +4851,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntString map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntString\"") + z.EncWr().WriteStr("\"FptrMapIntString\"") } else { r.EncodeString(`FptrMapIntString`) } @@ -4868,7 +4868,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntBytes\"") + z.EncWr().WriteStr("\"FMapIntBytes\"") } else { r.EncodeString(`FMapIntBytes`) } @@ -4880,7 +4880,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntBytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntBytes\"") + z.EncWr().WriteStr("\"FptrMapIntBytes\"") } else { r.EncodeString(`FptrMapIntBytes`) } @@ -4897,7 +4897,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntUint8\"") + z.EncWr().WriteStr("\"FMapIntUint8\"") } else { r.EncodeString(`FMapIntUint8`) } @@ -4909,7 +4909,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntUint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntUint8\"") + z.EncWr().WriteStr("\"FptrMapIntUint8\"") } else { r.EncodeString(`FptrMapIntUint8`) } @@ -4926,7 +4926,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntUint64\"") + z.EncWr().WriteStr("\"FMapIntUint64\"") } else { r.EncodeString(`FMapIntUint64`) } @@ -4938,7 +4938,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntUint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntUint64\"") + z.EncWr().WriteStr("\"FptrMapIntUint64\"") } else { r.EncodeString(`FptrMapIntUint64`) } @@ -4955,7 +4955,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntInt\"") + z.EncWr().WriteStr("\"FMapIntInt\"") } else { r.EncodeString(`FMapIntInt`) } @@ -4967,7 +4967,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntInt map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntInt\"") + z.EncWr().WriteStr("\"FptrMapIntInt\"") } else { r.EncodeString(`FptrMapIntInt`) } @@ -4984,7 +4984,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntInt32\"") + z.EncWr().WriteStr("\"FMapIntInt32\"") } else { r.EncodeString(`FMapIntInt32`) } @@ -4996,7 +4996,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntInt32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntInt32\"") + z.EncWr().WriteStr("\"FptrMapIntInt32\"") } else { r.EncodeString(`FptrMapIntInt32`) } @@ -5013,7 +5013,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntFloat64\"") + z.EncWr().WriteStr("\"FMapIntFloat64\"") } else { r.EncodeString(`FMapIntFloat64`) } @@ -5025,7 +5025,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntFloat64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntFloat64\"") + z.EncWr().WriteStr("\"FptrMapIntFloat64\"") } else { r.EncodeString(`FptrMapIntFloat64`) } @@ -5042,7 +5042,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapIntBool\"") + z.EncWr().WriteStr("\"FMapIntBool\"") } else { r.EncodeString(`FMapIntBool`) } @@ -5054,7 +5054,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapIntBool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapIntBool\"") + z.EncWr().WriteStr("\"FptrMapIntBool\"") } else { r.EncodeString(`FptrMapIntBool`) } @@ -5071,7 +5071,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Intf\"") + z.EncWr().WriteStr("\"FMapInt32Intf\"") } else { r.EncodeString(`FMapInt32Intf`) } @@ -5083,7 +5083,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Intf map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Intf\"") + z.EncWr().WriteStr("\"FptrMapInt32Intf\"") } else { r.EncodeString(`FptrMapInt32Intf`) } @@ -5100,7 +5100,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32String\"") + z.EncWr().WriteStr("\"FMapInt32String\"") } else { r.EncodeString(`FMapInt32String`) } @@ -5112,7 +5112,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32String map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32String\"") + z.EncWr().WriteStr("\"FptrMapInt32String\"") } else { r.EncodeString(`FptrMapInt32String`) } @@ -5129,7 +5129,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Bytes\"") + z.EncWr().WriteStr("\"FMapInt32Bytes\"") } else { r.EncodeString(`FMapInt32Bytes`) } @@ -5141,7 +5141,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Bytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Bytes\"") + z.EncWr().WriteStr("\"FptrMapInt32Bytes\"") } else { r.EncodeString(`FptrMapInt32Bytes`) } @@ -5158,7 +5158,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Uint8\"") + z.EncWr().WriteStr("\"FMapInt32Uint8\"") } else { r.EncodeString(`FMapInt32Uint8`) } @@ -5170,7 +5170,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Uint8 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Uint8\"") + z.EncWr().WriteStr("\"FptrMapInt32Uint8\"") } else { r.EncodeString(`FptrMapInt32Uint8`) } @@ -5187,7 +5187,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Uint64\"") + z.EncWr().WriteStr("\"FMapInt32Uint64\"") } else { r.EncodeString(`FMapInt32Uint64`) } @@ -5199,7 +5199,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Uint64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Uint64\"") + z.EncWr().WriteStr("\"FptrMapInt32Uint64\"") } else { r.EncodeString(`FptrMapInt32Uint64`) } @@ -5216,7 +5216,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Int\"") + z.EncWr().WriteStr("\"FMapInt32Int\"") } else { r.EncodeString(`FMapInt32Int`) } @@ -5228,7 +5228,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Int map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Int\"") + z.EncWr().WriteStr("\"FptrMapInt32Int\"") } else { r.EncodeString(`FptrMapInt32Int`) } @@ -5245,7 +5245,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Int32\"") + z.EncWr().WriteStr("\"FMapInt32Int32\"") } else { r.EncodeString(`FMapInt32Int32`) } @@ -5257,7 +5257,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Int32 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Int32\"") + z.EncWr().WriteStr("\"FptrMapInt32Int32\"") } else { r.EncodeString(`FptrMapInt32Int32`) } @@ -5274,7 +5274,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Float64\"") + z.EncWr().WriteStr("\"FMapInt32Float64\"") } else { r.EncodeString(`FMapInt32Float64`) } @@ -5286,7 +5286,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Float64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Float64\"") + z.EncWr().WriteStr("\"FptrMapInt32Float64\"") } else { r.EncodeString(`FptrMapInt32Float64`) } @@ -5303,7 +5303,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FMapInt32Bool\"") + z.EncWr().WriteStr("\"FMapInt32Bool\"") } else { r.EncodeString(`FMapInt32Bool`) } @@ -5315,7 +5315,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } // end block: if x.FMapInt32Bool map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FptrMapInt32Bool\"") + z.EncWr().WriteStr("\"FptrMapInt32Bool\"") } else { r.EncodeString(`FptrMapInt32Bool`) } @@ -5366,16 +5366,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -6343,11 +6334,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb281 bool var yyhl281 bool = l >= 0 yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6355,11 +6342,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.DecFallback(&x.FIntf, true) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6376,11 +6359,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecFallback(x.FptrIntf, true) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6388,11 +6367,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FString = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6409,11 +6384,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrString = (string)(z.DecStringZC(r.DecodeStringAsBytes())) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6421,11 +6392,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FBytes = z.DecodeBytesInto(([]byte)(x.FBytes)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6442,11 +6409,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrBytes = z.DecodeBytesInto(*(*[]byte)(x.FptrBytes)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6454,11 +6417,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FFloat32 = (float32)(z.DecDecodeFloat32()) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6475,11 +6434,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrFloat32 = (float32)(z.DecDecodeFloat32()) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6487,11 +6442,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FFloat64 = (float64)(r.DecodeFloat64()) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6508,11 +6459,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrFloat64 = (float64)(r.DecodeFloat64()) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6520,11 +6467,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FUint = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6541,11 +6484,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrUint = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6553,11 +6492,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FUint8 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6574,11 +6509,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrUint8 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6586,11 +6517,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FUint16 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6607,11 +6534,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrUint16 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6619,11 +6542,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FUint32 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6640,11 +6559,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrUint32 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6652,11 +6567,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FUint64 = (uint64)(r.DecodeUint64()) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6673,11 +6584,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrUint64 = (uint64)(r.DecodeUint64()) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6685,11 +6592,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FUintptr = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6706,11 +6609,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrUintptr = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6718,11 +6617,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FInt = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6739,11 +6634,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrInt = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6751,11 +6642,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FInt8 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6772,11 +6659,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrInt8 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6784,11 +6667,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FInt16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6805,11 +6684,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrInt16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6817,11 +6692,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FInt32 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6838,11 +6709,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrInt32 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6850,11 +6717,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FInt64 = (int64)(r.DecodeInt64()) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6871,11 +6734,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrInt64 = (int64)(r.DecodeInt64()) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6883,11 +6742,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FBool = (bool)(r.DecodeBool()) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6904,11 +6759,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrBool = (bool)(r.DecodeBool()) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6916,11 +6767,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceIntfX(&x.FSliceIntf, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6937,11 +6784,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceIntfX(x.FptrSliceIntf, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6949,11 +6792,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.FSliceString, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6970,11 +6809,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceStringX(x.FptrSliceString, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -6982,11 +6817,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBytesX(&x.FSliceBytes, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7003,11 +6834,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceBytesX(x.FptrSliceBytes, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7015,11 +6842,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat32X(&x.FSliceFloat32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7036,11 +6859,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceFloat32X(x.FptrSliceFloat32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7048,11 +6867,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat64X(&x.FSliceFloat64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7069,11 +6884,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceFloat64X(x.FptrSliceFloat64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7081,11 +6892,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.FSliceUint8 = z.DecodeBytesInto(([]byte)(x.FSliceUint8)) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7102,11 +6909,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { *x.FptrSliceUint8 = z.DecodeBytesInto(*(*[]byte)(x.FptrSliceUint8)) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7114,11 +6917,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.FSliceUint64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7135,11 +6934,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceUint64X(x.FptrSliceUint64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7147,11 +6942,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceIntX(&x.FSliceInt, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7168,11 +6959,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceIntX(x.FptrSliceInt, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7180,11 +6967,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt32X(&x.FSliceInt32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7201,11 +6984,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceInt32X(x.FptrSliceInt32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7213,11 +6992,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.FSliceInt64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7234,11 +7009,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceInt64X(x.FptrSliceInt64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7246,11 +7017,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBoolX(&x.FSliceBool, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7267,11 +7034,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceBoolX(x.FptrSliceBool, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7279,11 +7042,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringIntfX(&x.FMapStringIntf, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7300,11 +7059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringIntfX(x.FptrMapStringIntf, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7312,11 +7067,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringStringX(&x.FMapStringString, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7333,11 +7084,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringStringX(x.FptrMapStringString, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7345,11 +7092,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBytesX(&x.FMapStringBytes, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7366,11 +7109,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringBytesX(x.FptrMapStringBytes, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7378,11 +7117,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint8X(&x.FMapStringUint8, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7399,11 +7134,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringUint8X(x.FptrMapStringUint8, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7411,11 +7142,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.FMapStringUint64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7432,11 +7159,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringUint64X(x.FptrMapStringUint64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7444,11 +7167,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringIntX(&x.FMapStringInt, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7465,11 +7184,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringIntX(x.FptrMapStringInt, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7477,11 +7192,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringInt32X(&x.FMapStringInt32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7498,11 +7209,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringInt32X(x.FptrMapStringInt32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7510,11 +7217,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringFloat64X(&x.FMapStringFloat64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7531,11 +7234,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringFloat64X(x.FptrMapStringFloat64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7543,11 +7242,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBoolX(&x.FMapStringBool, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7564,11 +7259,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringBoolX(x.FptrMapStringBool, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7576,11 +7267,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8IntfX(&x.FMapUint8Intf, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7597,11 +7284,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8IntfX(x.FptrMapUint8Intf, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7609,11 +7292,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8StringX(&x.FMapUint8String, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7630,11 +7309,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8StringX(x.FptrMapUint8String, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7642,11 +7317,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8BytesX(&x.FMapUint8Bytes, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7663,11 +7334,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8BytesX(x.FptrMapUint8Bytes, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7675,11 +7342,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8Uint8X(&x.FMapUint8Uint8, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7696,11 +7359,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8Uint8X(x.FptrMapUint8Uint8, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7708,11 +7367,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8Uint64X(&x.FMapUint8Uint64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7729,11 +7384,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8Uint64X(x.FptrMapUint8Uint64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7741,11 +7392,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8IntX(&x.FMapUint8Int, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7762,11 +7409,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8IntX(x.FptrMapUint8Int, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7774,11 +7417,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8Int32X(&x.FMapUint8Int32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7795,11 +7434,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8Int32X(x.FptrMapUint8Int32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7807,11 +7442,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8Float64X(&x.FMapUint8Float64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7828,11 +7459,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8Float64X(x.FptrMapUint8Float64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7840,11 +7467,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint8BoolX(&x.FMapUint8Bool, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7861,11 +7484,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint8BoolX(x.FptrMapUint8Bool, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7873,11 +7492,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64IntfX(&x.FMapUint64Intf, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7894,11 +7509,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64IntfX(x.FptrMapUint64Intf, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7906,11 +7517,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64StringX(&x.FMapUint64String, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7927,11 +7534,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64StringX(x.FptrMapUint64String, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7939,11 +7542,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64BytesX(&x.FMapUint64Bytes, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7960,11 +7559,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64BytesX(x.FptrMapUint64Bytes, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7972,11 +7567,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64Uint8X(&x.FMapUint64Uint8, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -7993,11 +7584,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64Uint8X(x.FptrMapUint64Uint8, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8005,11 +7592,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64Uint64X(&x.FMapUint64Uint64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8026,11 +7609,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64Uint64X(x.FptrMapUint64Uint64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8038,11 +7617,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64IntX(&x.FMapUint64Int, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8059,11 +7634,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64IntX(x.FptrMapUint64Int, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8071,11 +7642,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64Int32X(&x.FMapUint64Int32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8092,11 +7659,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64Int32X(x.FptrMapUint64Int32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8104,11 +7667,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64Float64X(&x.FMapUint64Float64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8125,11 +7684,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64Float64X(x.FptrMapUint64Float64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8137,11 +7692,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapUint64BoolX(&x.FMapUint64Bool, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8158,11 +7709,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapUint64BoolX(x.FptrMapUint64Bool, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8170,11 +7717,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntIntfX(&x.FMapIntIntf, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8191,11 +7734,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntIntfX(x.FptrMapIntIntf, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8203,11 +7742,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntStringX(&x.FMapIntString, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8224,11 +7759,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntStringX(x.FptrMapIntString, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8236,11 +7767,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntBytesX(&x.FMapIntBytes, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8257,11 +7784,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntBytesX(x.FptrMapIntBytes, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8269,11 +7792,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntUint8X(&x.FMapIntUint8, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8290,11 +7809,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntUint8X(x.FptrMapIntUint8, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8302,11 +7817,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntUint64X(&x.FMapIntUint64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8323,11 +7834,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntUint64X(x.FptrMapIntUint64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8335,11 +7842,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntIntX(&x.FMapIntInt, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8356,11 +7859,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntIntX(x.FptrMapIntInt, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8368,11 +7867,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntInt32X(&x.FMapIntInt32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8389,11 +7884,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntInt32X(x.FptrMapIntInt32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8401,11 +7892,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntFloat64X(&x.FMapIntFloat64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8422,11 +7909,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntFloat64X(x.FptrMapIntFloat64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8434,11 +7917,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntBoolX(&x.FMapIntBool, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8455,11 +7934,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapIntBoolX(x.FptrMapIntBool, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8467,11 +7942,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32IntfX(&x.FMapInt32Intf, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8488,11 +7959,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32IntfX(x.FptrMapInt32Intf, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8500,11 +7967,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32StringX(&x.FMapInt32String, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8521,11 +7984,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32StringX(x.FptrMapInt32String, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8533,11 +7992,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32BytesX(&x.FMapInt32Bytes, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8554,11 +8009,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32BytesX(x.FptrMapInt32Bytes, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8566,11 +8017,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32Uint8X(&x.FMapInt32Uint8, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8587,11 +8034,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32Uint8X(x.FptrMapInt32Uint8, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8599,11 +8042,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32Uint64X(&x.FMapInt32Uint64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8620,11 +8059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32Uint64X(x.FptrMapInt32Uint64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8632,11 +8067,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32IntX(&x.FMapInt32Int, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8653,11 +8084,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32IntX(x.FptrMapInt32Int, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8665,11 +8092,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32Int32X(&x.FMapInt32Int32, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8686,11 +8109,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32Int32X(x.FptrMapInt32Int32, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8698,11 +8117,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32Float64X(&x.FMapInt32Float64, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8719,11 +8134,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapInt32Float64X(x.FptrMapInt32Float64, d) } yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8731,11 +8142,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapInt32BoolX(&x.FMapInt32Bool, d) yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } + yyb281 = !z.DecContainerNext(yyj281, l, yyhl281) if yyb281 { z.DecReadArrayEnd() return @@ -8751,16 +8158,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } z.F.DecMapInt32BoolX(x.FptrMapInt32Bool, d) } - for { - yyj281++ - if yyhl281 { - yyb281 = yyj281 > l - } else { - yyb281 = z.DecCheckBreak() - } - if yyb281 { - break - } + for yyj281++; z.DecContainerNext(yyj281, l, yyhl281); yyj281++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj281-1, "") } @@ -8951,7 +8349,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -8960,7 +8358,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { h.encArray4int64((*[4]int64)(yy31), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -8972,7 +8370,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"C\"") + z.EncWr().WriteStr("\"C\"") } else { r.EncodeString(`C`) } @@ -8985,7 +8383,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"J\"") + z.EncWr().WriteStr("\"J\"") } else { r.EncodeString(`J`) } @@ -8997,7 +8395,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"L\"") + z.EncWr().WriteStr("\"L\"") } else { r.EncodeString(`L`) } @@ -9009,7 +8407,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } // end block: if x.L slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"M\"") + z.EncWr().WriteStr("\"M\"") } else { r.EncodeString(`M`) } @@ -9021,7 +8419,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } // end block: if x.M map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"T\"") + z.EncWr().WriteStr("\"T\"") } else { r.EncodeString(`T`) } @@ -9033,7 +8431,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tbytes\"") + z.EncWr().WriteStr("\"Tbytes\"") } else { r.EncodeString(`Tbytes`) } @@ -9045,7 +8443,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } // end block: if x.Tbytes slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tcomplex128\"") + z.EncWr().WriteStr("\"Tcomplex128\"") } else { r.EncodeString(`Tcomplex128`) } @@ -9053,7 +8451,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { z.EncEncodeComplex128(complex128(x.Tcomplex128)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tcomplex64\"") + z.EncWr().WriteStr("\"Tcomplex64\"") } else { r.EncodeString(`Tcomplex64`) } @@ -9061,7 +8459,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { z.EncEncodeComplex64(complex64(x.Tcomplex64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tpbytes\"") + z.EncWr().WriteStr("\"Tpbytes\"") } else { r.EncodeString(`Tpbytes`) } @@ -9078,7 +8476,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"V\"") + z.EncWr().WriteStr("\"V\"") } else { r.EncodeString(`V`) } @@ -9092,7 +8490,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"V\"") + z.EncWr().WriteStr("\"V\"") } else { r.EncodeString(`V`) } @@ -9105,7 +8503,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"T\"") + z.EncWr().WriteStr("\"T\"") } else { r.EncodeString(`T`) } @@ -9117,7 +8515,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -9129,7 +8527,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"J\"") + z.EncWr().WriteStr("\"J\"") } else { r.EncodeString(`J`) } @@ -9141,7 +8539,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"C\"") + z.EncWr().WriteStr("\"C\"") } else { r.EncodeString(`C`) } @@ -9154,7 +8552,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"M\"") + z.EncWr().WriteStr("\"M\"") } else { r.EncodeString(`M`) } @@ -9166,7 +8564,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } // end block: if x.M map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"L\"") + z.EncWr().WriteStr("\"L\"") } else { r.EncodeString(`L`) } @@ -9178,7 +8576,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } // end block: if x.L slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9187,7 +8585,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { h.encArray4int64((*[4]int64)(yy56), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tcomplex128\"") + z.EncWr().WriteStr("\"Tcomplex128\"") } else { r.EncodeString(`Tcomplex128`) } @@ -9195,7 +8593,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { z.EncEncodeComplex128(complex128(x.Tcomplex128)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tcomplex64\"") + z.EncWr().WriteStr("\"Tcomplex64\"") } else { r.EncodeString(`Tcomplex64`) } @@ -9203,7 +8601,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { z.EncEncodeComplex64(complex64(x.Tcomplex64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tbytes\"") + z.EncWr().WriteStr("\"Tbytes\"") } else { r.EncodeString(`Tbytes`) } @@ -9215,7 +8613,7 @@ func (x *TestMammoth2Wrapper) CodecEncodeSelf(e *Encoder) { } // end block: if x.Tbytes slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tpbytes\"") + z.EncWr().WriteStr("\"Tpbytes\"") } else { r.EncodeString(`Tpbytes`) } @@ -9266,16 +8664,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -9347,11 +8736,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb26 bool var yyhl26 bool = l >= 0 yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9363,11 +8748,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { x.V.CodecDecodeSelf(d) } yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9379,11 +8760,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { x.T.CodecDecodeSelf(d) } yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9395,11 +8772,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { x.B.CodecDecodeSelf(d) } yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9411,11 +8784,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { x.J.CodecDecodeSelf(d) } yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9427,11 +8796,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { x.C.CodecDecodeSelf(d) } yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9439,11 +8804,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMaptestMammoth2BasicTestMammoth2((*map[testMammoth2Basic]TestMammoth2)(&x.M), d) yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9451,11 +8812,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSliceTestMammoth2((*[]TestMammoth2)(&x.L), d) yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9463,11 +8820,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray4int64((*[4]int64)(&x.A), d) yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9475,11 +8828,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Tcomplex128 = (complex128)(complex(r.DecodeFloat64(), 0)) yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9487,11 +8836,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Tcomplex64 = (complex64)(complex(z.DecDecodeFloat32(), 0)) yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9499,11 +8844,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Tbytes = z.DecodeBytesInto(([]byte)(x.Tbytes)) yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } + yyb26 = !z.DecContainerNext(yyj26, l, yyhl26) if yyb26 { z.DecReadArrayEnd() return @@ -9519,16 +8860,7 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { } *x.Tpbytes = z.DecodeBytesInto(*(*[]byte)(x.Tpbytes)) } - for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l - } else { - yyb26 = z.DecCheckBreak() - } - if yyb26 { - break - } + for yyj26++; z.DecContainerNext(yyj26, l, yyhl26); yyj26++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj26-1, "") } @@ -9591,7 +8923,7 @@ func (x codecSelfer19781) decMaptestMammoth2BasicTestMammoth2(v *map[testMammoth } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() if yyxt3 := z.Extension(yymk1); yyxt3 != nil { z.DecExtension(&yymk1, yyxt3) @@ -9683,7 +9015,7 @@ func (x codecSelfer19781) decSliceTestMammoth2(v *[]TestMammoth2, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1376) @@ -9752,7 +9084,7 @@ func (x codecSelfer19781) decArray4int64(v *[4]int64, d *Decoder) { var yyrl1 int _ = yyrl1 var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { yyh1.ElemContainerState(yyj1) var yydb1 bool if yyj1 >= len(yyv1) { diff --git a/codec/reader.go b/codec/reader.go index 039c0605..3fea9f4c 100644 --- a/codec/reader.go +++ b/codec/reader.go @@ -163,7 +163,7 @@ type ioDecReader struct { br ioReaderByteScanner // main reader used for Read|ReadByte|UnreadByte bb *bufio.Reader // created internally, and reused on reset if needed - x [64 + 48]byte // for: get struct field name, swallow valueTypeBytes, etc + x [64 + 40]byte // for: get struct field name, swallow valueTypeBytes, etc } func (z *ioDecReader) reset(r io.Reader, bufsize int, blist *bytesFreelist) { @@ -504,6 +504,16 @@ LOOP: // -------------- type decRd struct { + rb bytesDecReader + ri *ioDecReader + + decReader + + bytes bool // is bytes reader + + // MARKER: these fields below should belong directly in Encoder. + // we pack them here for space efficiency and cache-line optimization. + mtr bool // is maptype a known type? str bool // is slicetype a known type? @@ -512,22 +522,22 @@ type decRd struct { jsms bool // is json handle, and MapKeyAsString cbor bool // is cbor handle - bytes bool // is bytes reader + cbreak bool // is a check breaker - rb bytesDecReader - ri *ioDecReader - - decReader } // From out benchmarking, we see the following impact performance: // -// - interface calls -// - conditional (if) branch have a high inlining cost +// - functions that are too big to inline +// - interface calls (as no inlining can occur) // // decRd is designed to embed a decReader, and then re-implement some of the decReader -// methods using a conditional branch. We only override the ones that have a bytes version -// that is small enough to be inlined. We use ./run.sh -z to check. +// methods using a conditional branch. +// +// We only override the ones where the bytes version is inlined AND the wrapper method +// (containing the bytes version alongside a conditional branch) is also inlined. +// +// We use ./run.sh -z to check. // // Right now, only numread and "carefully crafted" readn1 can be inlined. @@ -565,6 +575,13 @@ func (z *decRd) readn1() (v uint8) { // return z.ri.readn3() // } +// func (z *decRd) skipWhitespace() byte { +// if z.bytes { +// return z.rb.skipWhitespace() +// } +// return z.ri.skipWhitespace() +// } + type devNullReader struct{} func (devNullReader) Read(p []byte) (int, error) { return 0, io.EOF } diff --git a/codec/values_codecgen_generated_test.go b/codec/values_codecgen_generated_test.go index b81342f3..3041c45d 100644 --- a/codec/values_codecgen_generated_test.go +++ b/codec/values_codecgen_generated_test.go @@ -65,10 +65,10 @@ func (p codecSelfer19780float64Slice) Swap(i, j int) { p[uint(i)], p[uint(j func (p codecSelfer19780float64Slice) Less(i, j int) bool { return p[uint(i)] < p[uint(j)] } func init() { - if GenVersion != 25 { + if GenVersion != 26 { _, file, _, _ := runtime.Caller(0) ver := strconv.FormatInt(int64(GenVersion), 10) - panic(errors.New("codecgen version mismatch: current: 25, need " + ver + ". Re-generate file: " + file)) + panic(errors.New("codecgen version mismatch: current: 26, need " + ver + ". Re-generate file: " + file)) } if false { // reference the types, but skip this branch at build/run time var _ time.Time @@ -208,7 +208,7 @@ func (x *stringUint64T) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -216,7 +216,7 @@ func (x *stringUint64T) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"U\"") + z.EncWr().WriteStr("\"U\"") } else { r.EncodeString(`U`) } @@ -225,7 +225,7 @@ func (x *stringUint64T) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -233,7 +233,7 @@ func (x *stringUint64T) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"U\"") + z.EncWr().WriteStr("\"U\"") } else { r.EncodeString(`U`) } @@ -275,16 +275,7 @@ func (x *stringUint64T) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -307,11 +298,7 @@ func (x *stringUint64T) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -319,27 +306,14 @@ func (x *stringUint64T) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.U = (uint64)(r.DecodeUint64()) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -383,7 +357,7 @@ func (x *AnonInTestStrucSlim) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -396,7 +370,7 @@ func (x *AnonInTestStrucSlim) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -405,7 +379,7 @@ func (x *AnonInTestStrucSlim) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -413,7 +387,7 @@ func (x *AnonInTestStrucSlim) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -460,16 +434,7 @@ func (x *AnonInTestStrucSlim) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -501,11 +466,7 @@ func (x *AnonInTestStrucSlim) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb7 bool var yyhl7 bool = l >= 0 yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return @@ -513,11 +474,7 @@ func (x *AnonInTestStrucSlim) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return @@ -533,16 +490,7 @@ func (x *AnonInTestStrucSlim) codecDecodeSelfFromArray(l int, d *Decoder) { } *x.P = (string)(z.DecStringZC(r.DecodeStringAsBytes())) } - for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } - if yyb7 { - break - } + for yyj7++; z.DecContainerNext(yyj7, l, yyhl7); yyj7++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj7-1, "") } @@ -655,7 +603,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -667,7 +615,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AF32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -679,7 +627,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AF64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -687,7 +635,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AI16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -695,7 +643,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AI64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -704,7 +652,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { h.encArray0int64((*[0]int64)(yy43), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -713,7 +661,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { h.encArray8int64((*[8]int64)(yy45), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -725,7 +673,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AI64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -737,7 +685,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AI64slice0 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -749,7 +697,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSS map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -761,7 +709,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSU64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -773,7 +721,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSU64E map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -785,7 +733,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSU64N map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -793,7 +741,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.AS)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -805,7 +753,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.ASslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -813,7 +761,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.AUi64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -825,7 +773,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AUi64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -838,7 +786,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -846,7 +794,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.AS)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -854,7 +802,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AI64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -862,7 +810,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AI16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -870,7 +818,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.AUi64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -882,7 +830,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.ASslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -894,7 +842,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AI64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -906,7 +854,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AUi64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -918,7 +866,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AF64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -930,7 +878,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AF32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -942,7 +890,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSS map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -954,7 +902,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSU64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -963,7 +911,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { h.encArray8int64((*[8]int64)(yy69), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -972,7 +920,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { h.encArray0int64((*[0]int64)(yy71), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -984,7 +932,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AI64slice0 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -996,7 +944,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AUi64sliceN slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -1008,7 +956,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.AMSU64N map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -1054,16 +1002,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -1116,11 +1055,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb34 bool var yyhl34 bool = l >= 0 yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1128,11 +1063,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AS = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1140,11 +1071,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AI64 = (int64)(r.DecodeInt64()) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1152,11 +1079,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AI16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1164,11 +1087,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AUi64 = (uint64)(r.DecodeUint64()) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1176,11 +1095,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.ASslice, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1188,11 +1103,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.AI64slice, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1200,11 +1111,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.AUi64slice, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1212,11 +1119,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat64X(&x.AF64slice, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1224,11 +1127,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat32X(&x.AF32slice, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1236,11 +1135,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringStringX(&x.AMSS, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1248,11 +1143,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.AMSU64, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1260,11 +1151,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray8int64((*[8]int64)(&x.AI64arr8), d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1272,11 +1159,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray0int64((*[0]int64)(&x.AI64arr0), d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1284,11 +1167,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.AI64slice0, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1296,11 +1175,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.AUi64sliceN, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return @@ -1308,27 +1183,14 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.AMSU64N, d) yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } + yyb34 = !z.DecContainerNext(yyj34, l, yyhl34) if yyb34 { z.DecReadArrayEnd() return } z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.AMSU64E, d) - for { - yyj34++ - if yyhl34 { - yyb34 = yyj34 > l - } else { - yyb34 = z.DecCheckBreak() - } - if yyb34 { - break - } + for yyj34++; z.DecContainerNext(yyj34, l, yyhl34); yyj34++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj34-1, "") } @@ -1431,7 +1293,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -1439,7 +1301,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -1451,7 +1313,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Bslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -1459,7 +1321,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.F32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -1467,7 +1329,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.F64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -1479,7 +1341,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.I32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -1487,7 +1349,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -1495,7 +1357,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -1507,7 +1369,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Iptrslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -1519,7 +1381,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Msint map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -1527,7 +1389,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -1539,7 +1401,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Sslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -1547,7 +1409,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -1559,7 +1421,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -1567,7 +1429,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -1579,7 +1441,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui8slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -1591,7 +1453,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -1604,7 +1466,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -1612,7 +1474,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -1620,7 +1482,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -1628,7 +1490,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -1636,7 +1498,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -1644,7 +1506,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -1652,7 +1514,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.F64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -1660,7 +1522,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.F32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -1668,7 +1530,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -1680,7 +1542,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Sslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -1692,7 +1554,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.I32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -1704,7 +1566,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -1716,7 +1578,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui8slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -1728,7 +1590,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Bslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -1740,7 +1602,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } // end block: if x.Iptrslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -1752,7 +1614,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -1764,7 +1626,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -1810,16 +1672,7 @@ func (x *testSimpleFields) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -1880,11 +1733,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb30 bool var yyhl30 bool = l >= 0 yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1892,11 +1741,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1904,11 +1749,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I64 = (int64)(r.DecodeInt64()) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1916,11 +1757,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I8 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1928,11 +1765,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui64 = (uint64)(r.DecodeUint64()) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1940,11 +1773,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui8 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1952,11 +1781,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.F64 = (float64)(r.DecodeFloat64()) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1964,11 +1789,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.F32 = (float32)(z.DecDecodeFloat32()) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1976,11 +1797,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.B = (bool)(r.DecodeBool()) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -1988,11 +1805,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.Sslice, d) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2000,11 +1813,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt32X(&x.I32slice, d) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2012,11 +1821,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.Ui64slice, d) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2024,11 +1829,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui8slice = z.DecodeBytesInto(([]byte)(x.Ui8slice)) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2036,11 +1837,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBoolX(&x.Bslice, d) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2048,11 +1845,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoint64((*[]*int64)(&x.Iptrslice), d) yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2064,11 +1857,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { x.WrapSliceInt64.CodecDecodeSelf(d) } yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return @@ -2080,27 +1869,14 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { x.WrapSliceString.CodecDecodeSelf(d) } yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } + yyb30 = !z.DecContainerNext(yyj30, l, yyhl30) if yyb30 { z.DecReadArrayEnd() return } z.DecReadArrayElem() z.F.DecMapStringIntX(&x.Msint, d) - for { - yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = z.DecCheckBreak() - } - if yyb30 { - break - } + for yyj30++; z.DecContainerNext(yyj30, l, yyhl30); yyj30++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj30-1, "") } @@ -2393,7 +2169,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -2405,7 +2181,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AF32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -2417,7 +2193,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AF64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -2425,7 +2201,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AnonInTestStruc.AI16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -2433,7 +2209,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AnonInTestStruc.AI64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -2442,7 +2218,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { h.encArray0int64((*[0]int64)(yy125), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -2451,7 +2227,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { h.encArray8int64((*[8]int64)(yy127), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -2463,7 +2239,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AI64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -2475,7 +2251,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AI64slice0 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -2487,7 +2263,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSS map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -2499,7 +2275,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSU64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -2511,7 +2287,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSU64E map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -2523,7 +2299,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSU64N map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -2531,7 +2307,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.AnonInTestStruc.AS)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -2543,7 +2319,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.ASslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -2551,7 +2327,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.AnonInTestStruc.AUi64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -2563,7 +2339,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AUi64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -2575,7 +2351,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AUi64sliceN slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -2583,7 +2359,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -2595,7 +2371,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Bslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"By\"") + z.EncWr().WriteStr("\"By\"") } else { r.EncodeString(`By`) } @@ -2603,7 +2379,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.By)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Byslice\"") + z.EncWr().WriteStr("\"Byslice\"") } else { r.EncodeString(`Byslice`) } @@ -2615,7 +2391,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Byslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BytesSlice\"") + z.EncWr().WriteStr("\"BytesSlice\"") } else { r.EncodeString(`BytesSlice`) } @@ -2627,7 +2403,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.BytesSlice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -2635,7 +2411,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.F32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -2643,7 +2419,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.F64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16\"") + z.EncWr().WriteStr("\"I16\"") } else { r.EncodeString(`I16`) } @@ -2651,7 +2427,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16n\"") + z.EncWr().WriteStr("\"I16n\"") } else { r.EncodeString(`I16n`) } @@ -2659,7 +2435,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I16n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32\"") + z.EncWr().WriteStr("\"I32\"") } else { r.EncodeString(`I32`) } @@ -2667,7 +2443,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32n\"") + z.EncWr().WriteStr("\"I32n\"") } else { r.EncodeString(`I32n`) } @@ -2675,7 +2451,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I32n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -2687,7 +2463,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.I32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -2695,7 +2471,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64n\"") + z.EncWr().WriteStr("\"I64n\"") } else { r.EncodeString(`I64n`) } @@ -2703,7 +2479,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I64n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64slice\"") + z.EncWr().WriteStr("\"I64slice\"") } else { r.EncodeString(`I64slice`) } @@ -2715,7 +2491,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.I64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -2723,7 +2499,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8n\"") + z.EncWr().WriteStr("\"I8n\"") } else { r.EncodeString(`I8n`) } @@ -2731,7 +2507,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I8n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -2743,7 +2519,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Iptrslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msbytes\"") + z.EncWr().WriteStr("\"Msbytes\"") } else { r.EncodeString(`Msbytes`) } @@ -2755,7 +2531,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Msbytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -2767,7 +2543,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Msint map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64T\"") + z.EncWr().WriteStr("\"MstrUi64T\"") } else { r.EncodeString(`MstrUi64T`) } @@ -2779,7 +2555,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.MstrUi64T map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nint64\"") + z.EncWr().WriteStr("\"Nint64\"") } else { r.EncodeString(`Nint64`) } @@ -2792,7 +2568,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nmap\"") + z.EncWr().WriteStr("\"Nmap\"") } else { r.EncodeString(`Nmap`) } @@ -2804,7 +2580,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Nmap map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnon\"") + z.EncWr().WriteStr("\"NotAnon\"") } else { r.EncodeString(`NotAnon`) } @@ -2817,7 +2593,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnonSlim\"") + z.EncWr().WriteStr("\"NotAnonSlim\"") } else { r.EncodeString(`NotAnonSlim`) } @@ -2833,7 +2609,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nslice\"") + z.EncWr().WriteStr("\"Nslice\"") } else { r.EncodeString(`Nslice`) } @@ -2845,7 +2621,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Nslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -2858,7 +2634,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -2866,7 +2642,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Simplef\"") + z.EncWr().WriteStr("\"Simplef\"") } else { r.EncodeString(`Simplef`) } @@ -2879,7 +2655,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -2891,7 +2667,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Sslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SstrUi64T\"") + z.EncWr().WriteStr("\"SstrUi64T\"") } else { r.EncodeString(`SstrUi64T`) } @@ -2903,7 +2679,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.SstrUi64T slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui16\"") + z.EncWr().WriteStr("\"Ui16\"") } else { r.EncodeString(`Ui16`) } @@ -2911,7 +2687,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui32\"") + z.EncWr().WriteStr("\"Ui32\"") } else { r.EncodeString(`Ui32`) } @@ -2919,7 +2695,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -2927,7 +2703,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -2939,7 +2715,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -2947,7 +2723,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -2959,7 +2735,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui8slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -2971,7 +2747,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -2984,7 +2760,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -2992,7 +2768,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -3000,7 +2776,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32\"") + z.EncWr().WriteStr("\"I32\"") } else { r.EncodeString(`I32`) } @@ -3008,7 +2784,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16\"") + z.EncWr().WriteStr("\"I16\"") } else { r.EncodeString(`I16`) } @@ -3016,7 +2792,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -3024,7 +2800,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64n\"") + z.EncWr().WriteStr("\"I64n\"") } else { r.EncodeString(`I64n`) } @@ -3032,7 +2808,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I64n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32n\"") + z.EncWr().WriteStr("\"I32n\"") } else { r.EncodeString(`I32n`) } @@ -3040,7 +2816,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I32n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16n\"") + z.EncWr().WriteStr("\"I16n\"") } else { r.EncodeString(`I16n`) } @@ -3048,7 +2824,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I16n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8n\"") + z.EncWr().WriteStr("\"I8n\"") } else { r.EncodeString(`I8n`) } @@ -3056,7 +2832,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I8n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -3064,7 +2840,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui32\"") + z.EncWr().WriteStr("\"Ui32\"") } else { r.EncodeString(`Ui32`) } @@ -3072,7 +2848,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui16\"") + z.EncWr().WriteStr("\"Ui16\"") } else { r.EncodeString(`Ui16`) } @@ -3080,7 +2856,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -3088,7 +2864,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.Ui8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -3096,7 +2872,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.F64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -3104,7 +2880,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.F32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -3112,7 +2888,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"By\"") + z.EncWr().WriteStr("\"By\"") } else { r.EncodeString(`By`) } @@ -3120,7 +2896,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.By)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -3132,7 +2908,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Sslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64slice\"") + z.EncWr().WriteStr("\"I64slice\"") } else { r.EncodeString(`I64slice`) } @@ -3144,7 +2920,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.I64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -3156,7 +2932,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.I32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -3168,7 +2944,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -3180,7 +2956,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ui8slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -3192,7 +2968,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Bslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Byslice\"") + z.EncWr().WriteStr("\"Byslice\"") } else { r.EncodeString(`Byslice`) } @@ -3204,7 +2980,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Byslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BytesSlice\"") + z.EncWr().WriteStr("\"BytesSlice\"") } else { r.EncodeString(`BytesSlice`) } @@ -3216,7 +2992,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.BytesSlice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -3228,7 +3004,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Iptrslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -3240,7 +3016,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -3252,7 +3028,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -3264,7 +3040,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Msint map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msbytes\"") + z.EncWr().WriteStr("\"Msbytes\"") } else { r.EncodeString(`Msbytes`) } @@ -3276,7 +3052,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Msbytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Simplef\"") + z.EncWr().WriteStr("\"Simplef\"") } else { r.EncodeString(`Simplef`) } @@ -3289,7 +3065,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SstrUi64T\"") + z.EncWr().WriteStr("\"SstrUi64T\"") } else { r.EncodeString(`SstrUi64T`) } @@ -3301,7 +3077,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.SstrUi64T slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64T\"") + z.EncWr().WriteStr("\"MstrUi64T\"") } else { r.EncodeString(`MstrUi64T`) } @@ -3313,7 +3089,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.MstrUi64T map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -3321,7 +3097,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.AnonInTestStruc.AS)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -3329,7 +3105,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AnonInTestStruc.AI64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -3337,7 +3113,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.AnonInTestStruc.AI16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -3345,7 +3121,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.AnonInTestStruc.AUi64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -3357,7 +3133,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.ASslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -3369,7 +3145,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AI64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -3381,7 +3157,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AUi64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -3393,7 +3169,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AF64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -3405,7 +3181,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AF32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -3417,7 +3193,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSS map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -3429,7 +3205,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSU64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -3438,7 +3214,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { h.encArray8int64((*[8]int64)(yy228), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -3447,7 +3223,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { h.encArray0int64((*[0]int64)(yy230), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -3459,7 +3235,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AI64slice0 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -3471,7 +3247,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AUi64sliceN slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -3483,7 +3259,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSU64N map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -3495,7 +3271,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.AnonInTestStruc.AMSU64E map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnon\"") + z.EncWr().WriteStr("\"NotAnon\"") } else { r.EncodeString(`NotAnon`) } @@ -3508,7 +3284,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -3521,7 +3297,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnonSlim\"") + z.EncWr().WriteStr("\"NotAnonSlim\"") } else { r.EncodeString(`NotAnonSlim`) } @@ -3537,7 +3313,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nmap\"") + z.EncWr().WriteStr("\"Nmap\"") } else { r.EncodeString(`Nmap`) } @@ -3549,7 +3325,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Nmap map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nslice\"") + z.EncWr().WriteStr("\"Nslice\"") } else { r.EncodeString(`Nslice`) } @@ -3561,7 +3337,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } // end block: if x.Nslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nint64\"") + z.EncWr().WriteStr("\"Nint64\"") } else { r.EncodeString(`Nint64`) } @@ -3608,16 +3384,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -3798,11 +3565,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb95 bool var yyhl95 bool = l >= 0 yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3810,11 +3573,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3822,11 +3581,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I64 = (int64)(r.DecodeInt64()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3834,11 +3589,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I32 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3846,11 +3597,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3858,11 +3605,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I8 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3870,11 +3613,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I64n = (int64)(r.DecodeInt64()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3882,11 +3621,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I32n = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3894,11 +3629,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I16n = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3906,11 +3637,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I8n = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3918,11 +3645,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui64 = (uint64)(r.DecodeUint64()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3930,11 +3653,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui32 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3942,11 +3661,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui16 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3954,11 +3669,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui8 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3966,11 +3677,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.F64 = (float64)(r.DecodeFloat64()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3978,11 +3685,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.F32 = (float32)(z.DecDecodeFloat32()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -3990,11 +3693,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.B = (bool)(r.DecodeBool()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4002,11 +3701,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.By = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4014,11 +3709,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.Sslice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4026,11 +3717,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.I64slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4038,11 +3725,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt32X(&x.I32slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4050,11 +3733,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.Ui64slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4062,11 +3741,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Ui8slice = z.DecodeBytesInto(([]byte)(x.Ui8slice)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4074,11 +3749,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBoolX(&x.Bslice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4086,11 +3757,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Byslice = z.DecodeBytesInto(([]byte)(x.Byslice)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4098,11 +3765,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBytesX(&x.BytesSlice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4110,11 +3773,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoint64((*[]*int64)(&x.Iptrslice), d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4126,11 +3785,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { x.WrapSliceInt64.CodecDecodeSelf(d) } yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4142,11 +3797,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { x.WrapSliceString.CodecDecodeSelf(d) } yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4154,11 +3805,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringIntX(&x.Msint, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4166,11 +3813,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBytesX(&x.Msbytes, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4182,11 +3825,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { x.Simplef.CodecDecodeSelf(d) } yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4194,11 +3833,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicestringUint64T((*[]stringUint64T)(&x.SstrUi64T), d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4206,11 +3841,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringPtrtostringUint64T((*map[string]*stringUint64T)(&x.MstrUi64T), d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4218,11 +3849,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AnonInTestStruc.AS = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4230,11 +3857,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AnonInTestStruc.AI64 = (int64)(r.DecodeInt64()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4242,11 +3865,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AnonInTestStruc.AI16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4254,11 +3873,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.AnonInTestStruc.AUi64 = (uint64)(r.DecodeUint64()) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4266,11 +3881,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.AnonInTestStruc.ASslice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4278,11 +3889,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.AnonInTestStruc.AI64slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4290,11 +3897,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.AnonInTestStruc.AUi64slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4302,11 +3905,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat64X(&x.AnonInTestStruc.AF64slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4314,11 +3913,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat32X(&x.AnonInTestStruc.AF32slice, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4326,11 +3921,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringStringX(&x.AnonInTestStruc.AMSS, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4338,11 +3929,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.AnonInTestStruc.AMSU64, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4350,11 +3937,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray8int64((*[8]int64)(&x.AnonInTestStruc.AI64arr8), d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4362,11 +3945,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray0int64((*[0]int64)(&x.AnonInTestStruc.AI64arr0), d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4374,11 +3953,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.AnonInTestStruc.AI64slice0, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4386,11 +3961,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.AnonInTestStruc.AUi64sliceN, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4398,11 +3969,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.AnonInTestStruc.AMSU64N, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4410,11 +3977,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.AnonInTestStruc.AMSU64E, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4426,11 +3989,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { x.NotAnon.CodecDecodeSelf(d) } yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4450,11 +4009,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { *x.AnonInTestStrucSlim.P = (string)(z.DecStringZC(r.DecodeStringAsBytes())) } yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4475,11 +4030,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4487,11 +4038,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBoolX(&x.Nmap, d) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4499,11 +4046,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Nslice = z.DecodeBytesInto(([]byte)(x.Nslice)) yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } + yyb95 = !z.DecContainerNext(yyj95, l, yyhl95) if yyb95 { z.DecReadArrayEnd() return @@ -4519,16 +4062,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } *x.Nint64 = (int64)(r.DecodeInt64()) } - for { - yyj95++ - if yyhl95 { - yyb95 = yyj95 > l - } else { - yyb95 = z.DecCheckBreak() - } - if yyb95 { - break - } + for yyj95++; z.DecContainerNext(yyj95, l, yyhl95); yyj95++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj95-1, "") } @@ -4851,7 +4385,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -4863,7 +4397,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AF32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -4875,7 +4409,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AF64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -4883,7 +4417,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.AnonInTestStruc.AI16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -4891,7 +4425,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.AnonInTestStruc.AI64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -4900,7 +4434,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { h.encArray0int64((*[0]int64)(yy133), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -4909,7 +4443,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { h.encArray8int64((*[8]int64)(yy135), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -4921,7 +4455,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AI64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -4933,7 +4467,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AI64slice0 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -4945,7 +4479,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSS map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -4957,7 +4491,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSU64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -4969,7 +4503,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSU64E map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -4981,7 +4515,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSU64N map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -4989,7 +4523,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.TestStrucCommon.AnonInTestStruc.AS)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -5001,7 +4535,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.ASslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -5009,7 +4543,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.AnonInTestStruc.AUi64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -5021,7 +4555,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AUi64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -5033,7 +4567,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AUi64sliceN slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -5041,7 +4575,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.TestStrucCommon.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -5053,7 +4587,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Bslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"By\"") + z.EncWr().WriteStr("\"By\"") } else { r.EncodeString(`By`) } @@ -5061,7 +4595,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.By)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Byslice\"") + z.EncWr().WriteStr("\"Byslice\"") } else { r.EncodeString(`Byslice`) } @@ -5073,7 +4607,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Byslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BytesSlice\"") + z.EncWr().WriteStr("\"BytesSlice\"") } else { r.EncodeString(`BytesSlice`) } @@ -5085,7 +4619,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.BytesSlice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -5093,7 +4627,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.TestStrucCommon.F32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -5101,7 +4635,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.TestStrucCommon.F64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16\"") + z.EncWr().WriteStr("\"I16\"") } else { r.EncodeString(`I16`) } @@ -5109,7 +4643,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16n\"") + z.EncWr().WriteStr("\"I16n\"") } else { r.EncodeString(`I16n`) } @@ -5117,7 +4651,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I16n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32\"") + z.EncWr().WriteStr("\"I32\"") } else { r.EncodeString(`I32`) } @@ -5125,7 +4659,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32n\"") + z.EncWr().WriteStr("\"I32n\"") } else { r.EncodeString(`I32n`) } @@ -5133,7 +4667,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I32n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -5145,7 +4679,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.I32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -5153,7 +4687,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64n\"") + z.EncWr().WriteStr("\"I64n\"") } else { r.EncodeString(`I64n`) } @@ -5161,7 +4695,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I64n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64slice\"") + z.EncWr().WriteStr("\"I64slice\"") } else { r.EncodeString(`I64slice`) } @@ -5173,7 +4707,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.I64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -5181,7 +4715,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8n\"") + z.EncWr().WriteStr("\"I8n\"") } else { r.EncodeString(`I8n`) } @@ -5189,7 +4723,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I8n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -5201,7 +4735,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Iptrslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Its\"") + z.EncWr().WriteStr("\"Its\"") } else { r.EncodeString(`Its`) } @@ -5213,7 +4747,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.Its slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msbytes\"") + z.EncWr().WriteStr("\"Msbytes\"") } else { r.EncodeString(`Msbytes`) } @@ -5225,7 +4759,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Msbytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -5237,7 +4771,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Msint map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64T\"") + z.EncWr().WriteStr("\"MstrUi64T\"") } else { r.EncodeString(`MstrUi64T`) } @@ -5249,7 +4783,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.MstrUi64T map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mts\"") + z.EncWr().WriteStr("\"Mts\"") } else { r.EncodeString(`Mts`) } @@ -5261,7 +4795,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.Mts map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mtsptr\"") + z.EncWr().WriteStr("\"Mtsptr\"") } else { r.EncodeString(`Mtsptr`) } @@ -5273,7 +4807,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.Mtsptr map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nint64\"") + z.EncWr().WriteStr("\"Nint64\"") } else { r.EncodeString(`Nint64`) } @@ -5286,7 +4820,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nmap\"") + z.EncWr().WriteStr("\"Nmap\"") } else { r.EncodeString(`Nmap`) } @@ -5298,7 +4832,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Nmap map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnon\"") + z.EncWr().WriteStr("\"NotAnon\"") } else { r.EncodeString(`NotAnon`) } @@ -5311,7 +4845,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnonSlim\"") + z.EncWr().WriteStr("\"NotAnonSlim\"") } else { r.EncodeString(`NotAnonSlim`) } @@ -5327,7 +4861,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nslice\"") + z.EncWr().WriteStr("\"Nslice\"") } else { r.EncodeString(`Nslice`) } @@ -5339,7 +4873,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Nslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nteststruc\"") + z.EncWr().WriteStr("\"Nteststruc\"") } else { r.EncodeString(`Nteststruc`) } @@ -5355,7 +4889,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -5368,7 +4902,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -5376,7 +4910,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.TestStrucCommon.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Simplef\"") + z.EncWr().WriteStr("\"Simplef\"") } else { r.EncodeString(`Simplef`) } @@ -5389,7 +4923,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -5401,7 +4935,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Sslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SstrUi64T\"") + z.EncWr().WriteStr("\"SstrUi64T\"") } else { r.EncodeString(`SstrUi64T`) } @@ -5413,7 +4947,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.SstrUi64T slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui16\"") + z.EncWr().WriteStr("\"Ui16\"") } else { r.EncodeString(`Ui16`) } @@ -5421,7 +4955,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui32\"") + z.EncWr().WriteStr("\"Ui32\"") } else { r.EncodeString(`Ui32`) } @@ -5429,7 +4963,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -5437,7 +4971,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -5449,7 +4983,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Ui64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -5457,7 +4991,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -5469,7 +5003,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Ui8slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -5481,7 +5015,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -5494,7 +5028,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -5502,7 +5036,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.TestStrucCommon.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -5510,7 +5044,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32\"") + z.EncWr().WriteStr("\"I32\"") } else { r.EncodeString(`I32`) } @@ -5518,7 +5052,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16\"") + z.EncWr().WriteStr("\"I16\"") } else { r.EncodeString(`I16`) } @@ -5526,7 +5060,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -5534,7 +5068,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64n\"") + z.EncWr().WriteStr("\"I64n\"") } else { r.EncodeString(`I64n`) } @@ -5542,7 +5076,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I64n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32n\"") + z.EncWr().WriteStr("\"I32n\"") } else { r.EncodeString(`I32n`) } @@ -5550,7 +5084,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I32n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16n\"") + z.EncWr().WriteStr("\"I16n\"") } else { r.EncodeString(`I16n`) } @@ -5558,7 +5092,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I16n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8n\"") + z.EncWr().WriteStr("\"I8n\"") } else { r.EncodeString(`I8n`) } @@ -5566,7 +5100,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.I8n)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -5574,7 +5108,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui32\"") + z.EncWr().WriteStr("\"Ui32\"") } else { r.EncodeString(`Ui32`) } @@ -5582,7 +5116,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui16\"") + z.EncWr().WriteStr("\"Ui16\"") } else { r.EncodeString(`Ui16`) } @@ -5590,7 +5124,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -5598,7 +5132,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.Ui8)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -5606,7 +5140,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.TestStrucCommon.F64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -5614,7 +5148,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeFloat32(float32(x.TestStrucCommon.F32)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -5622,7 +5156,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.TestStrucCommon.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"By\"") + z.EncWr().WriteStr("\"By\"") } else { r.EncodeString(`By`) } @@ -5630,7 +5164,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.By)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -5642,7 +5176,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Sslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64slice\"") + z.EncWr().WriteStr("\"I64slice\"") } else { r.EncodeString(`I64slice`) } @@ -5654,7 +5188,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.I64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -5666,7 +5200,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.I32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -5678,7 +5212,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Ui64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -5690,7 +5224,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Ui8slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -5702,7 +5236,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Bslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Byslice\"") + z.EncWr().WriteStr("\"Byslice\"") } else { r.EncodeString(`Byslice`) } @@ -5714,7 +5248,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Byslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BytesSlice\"") + z.EncWr().WriteStr("\"BytesSlice\"") } else { r.EncodeString(`BytesSlice`) } @@ -5726,7 +5260,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.BytesSlice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -5738,7 +5272,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Iptrslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -5750,7 +5284,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -5762,7 +5296,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -5774,7 +5308,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Msint map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msbytes\"") + z.EncWr().WriteStr("\"Msbytes\"") } else { r.EncodeString(`Msbytes`) } @@ -5786,7 +5320,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Msbytes map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Simplef\"") + z.EncWr().WriteStr("\"Simplef\"") } else { r.EncodeString(`Simplef`) } @@ -5799,7 +5333,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SstrUi64T\"") + z.EncWr().WriteStr("\"SstrUi64T\"") } else { r.EncodeString(`SstrUi64T`) } @@ -5811,7 +5345,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.SstrUi64T slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64T\"") + z.EncWr().WriteStr("\"MstrUi64T\"") } else { r.EncodeString(`MstrUi64T`) } @@ -5823,7 +5357,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.MstrUi64T map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -5831,7 +5365,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.TestStrucCommon.AnonInTestStruc.AS)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -5839,7 +5373,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.AnonInTestStruc.AI64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -5847,7 +5381,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.TestStrucCommon.AnonInTestStruc.AI16)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -5855,7 +5389,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { r.EncodeUint(uint64(x.TestStrucCommon.AnonInTestStruc.AUi64)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -5867,7 +5401,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.ASslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -5879,7 +5413,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AI64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -5891,7 +5425,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AUi64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -5903,7 +5437,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AF64slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -5915,7 +5449,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AF32slice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -5927,7 +5461,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSS map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -5939,7 +5473,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSU64 map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -5948,7 +5482,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { h.encArray8int64((*[8]int64)(yy240), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -5957,7 +5491,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { h.encArray0int64((*[0]int64)(yy242), e) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -5969,7 +5503,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AI64slice0 slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -5981,7 +5515,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AUi64sliceN slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -5993,7 +5527,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSU64N map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -6005,7 +5539,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.AnonInTestStruc.AMSU64E map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnon\"") + z.EncWr().WriteStr("\"NotAnon\"") } else { r.EncodeString(`NotAnon`) } @@ -6018,7 +5552,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -6031,7 +5565,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnonSlim\"") + z.EncWr().WriteStr("\"NotAnonSlim\"") } else { r.EncodeString(`NotAnonSlim`) } @@ -6047,7 +5581,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nmap\"") + z.EncWr().WriteStr("\"Nmap\"") } else { r.EncodeString(`Nmap`) } @@ -6059,7 +5593,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Nmap map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nslice\"") + z.EncWr().WriteStr("\"Nslice\"") } else { r.EncodeString(`Nslice`) } @@ -6071,7 +5605,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.TestStrucCommon.Nslice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nint64\"") + z.EncWr().WriteStr("\"Nint64\"") } else { r.EncodeString(`Nint64`) } @@ -6084,7 +5618,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mtsptr\"") + z.EncWr().WriteStr("\"Mtsptr\"") } else { r.EncodeString(`Mtsptr`) } @@ -6096,7 +5630,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.Mtsptr map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mts\"") + z.EncWr().WriteStr("\"Mts\"") } else { r.EncodeString(`Mts`) } @@ -6108,7 +5642,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.Mts map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Its\"") + z.EncWr().WriteStr("\"Its\"") } else { r.EncodeString(`Its`) } @@ -6120,7 +5654,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } // end block: if x.Its slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nteststruc\"") + z.EncWr().WriteStr("\"Nteststruc\"") } else { r.EncodeString(`Nteststruc`) } @@ -6170,16 +5704,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -6381,11 +5906,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb103 bool var yyhl103 bool = l >= 0 yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6393,11 +5914,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6405,11 +5922,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I64 = (int64)(r.DecodeInt64()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6417,11 +5930,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I32 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6429,11 +5938,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6441,11 +5946,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I8 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6453,11 +5954,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I64n = (int64)(r.DecodeInt64()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6465,11 +5962,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I32n = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6477,11 +5970,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I16n = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6489,11 +5978,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I8n = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6501,11 +5986,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui64 = (uint64)(r.DecodeUint64()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6513,11 +5994,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui32 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6525,11 +6002,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui16 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6537,11 +6010,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui8 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6549,11 +6018,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.F64 = (float64)(r.DecodeFloat64()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6561,11 +6026,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.F32 = (float32)(z.DecDecodeFloat32()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6573,11 +6034,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.B = (bool)(r.DecodeBool()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6585,11 +6042,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.By = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6597,11 +6050,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.TestStrucCommon.Sslice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6609,11 +6058,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.TestStrucCommon.I64slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6621,11 +6066,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt32X(&x.TestStrucCommon.I32slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6633,11 +6074,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.TestStrucCommon.Ui64slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6645,11 +6082,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui8slice = z.DecodeBytesInto(([]byte)(x.TestStrucCommon.Ui8slice)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6657,11 +6090,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBoolX(&x.TestStrucCommon.Bslice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6669,11 +6098,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Byslice = z.DecodeBytesInto(([]byte)(x.TestStrucCommon.Byslice)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6681,11 +6106,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBytesX(&x.TestStrucCommon.BytesSlice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6693,11 +6114,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoint64((*[]*int64)(&x.TestStrucCommon.Iptrslice), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6709,11 +6126,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.WrapSliceInt64.CodecDecodeSelf(d) } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6725,11 +6138,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.WrapSliceString.CodecDecodeSelf(d) } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6737,11 +6146,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringIntX(&x.TestStrucCommon.Msint, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6749,11 +6154,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBytesX(&x.TestStrucCommon.Msbytes, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6765,11 +6166,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.Simplef.CodecDecodeSelf(d) } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6777,11 +6174,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicestringUint64T((*[]stringUint64T)(&x.TestStrucCommon.SstrUi64T), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6789,11 +6182,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringPtrtostringUint64T((*map[string]*stringUint64T)(&x.TestStrucCommon.MstrUi64T), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6801,11 +6190,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AS = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6813,11 +6198,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AI64 = (int64)(r.DecodeInt64()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6825,11 +6206,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AI16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6837,11 +6214,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AUi64 = (uint64)(r.DecodeUint64()) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6849,11 +6222,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.TestStrucCommon.AnonInTestStruc.ASslice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6861,11 +6230,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.TestStrucCommon.AnonInTestStruc.AI64slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6873,11 +6238,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.TestStrucCommon.AnonInTestStruc.AUi64slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6885,11 +6246,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat64X(&x.TestStrucCommon.AnonInTestStruc.AF64slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6897,11 +6254,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat32X(&x.TestStrucCommon.AnonInTestStruc.AF32slice, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6909,11 +6262,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringStringX(&x.TestStrucCommon.AnonInTestStruc.AMSS, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6921,11 +6270,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.TestStrucCommon.AnonInTestStruc.AMSU64, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6933,11 +6278,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray8int64((*[8]int64)(&x.TestStrucCommon.AnonInTestStruc.AI64arr8), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6945,11 +6286,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray0int64((*[0]int64)(&x.TestStrucCommon.AnonInTestStruc.AI64arr0), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6957,11 +6294,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.TestStrucCommon.AnonInTestStruc.AI64slice0, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6969,11 +6302,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.TestStrucCommon.AnonInTestStruc.AUi64sliceN, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6981,11 +6310,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.TestStrucCommon.AnonInTestStruc.AMSU64N, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -6993,11 +6318,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.TestStrucCommon.AnonInTestStruc.AMSU64E, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7009,11 +6330,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.NotAnon.CodecDecodeSelf(d) } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7033,11 +6350,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { *x.TestStrucCommon.AnonInTestStrucSlim.P = (string)(z.DecStringZC(r.DecodeStringAsBytes())) } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7058,11 +6371,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7070,11 +6379,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBoolX(&x.TestStrucCommon.Nmap, d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7082,11 +6387,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Nslice = z.DecodeBytesInto(([]byte)(x.TestStrucCommon.Nslice)) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7103,11 +6404,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { *x.TestStrucCommon.Nint64 = (int64)(r.DecodeInt64()) } yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7115,11 +6412,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringPtrtoTestStruc((*map[string]*TestStruc)(&x.Mtsptr), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7127,11 +6420,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringTestStruc((*map[string]TestStruc)(&x.Mts), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7139,11 +6428,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoTestStruc((*[]*TestStruc)(&x.Its), d) yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } + yyb103 = !z.DecContainerNext(yyj103, l, yyhl103) if yyb103 { z.DecReadArrayEnd() return @@ -7163,16 +6448,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { x.Nteststruc.CodecDecodeSelf(d) } } - for { - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = z.DecCheckBreak() - } - if yyb103 { - break - } + for yyj103++; z.DecContainerNext(yyj103, l, yyhl103); yyj103++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj103-1, "") } @@ -7211,7 +6487,7 @@ func (x *codecgenA) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ZZ\"") + z.EncWr().WriteStr("\"ZZ\"") } else { r.EncodeString(`ZZ`) } @@ -7224,7 +6500,7 @@ func (x *codecgenA) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ZZ\"") + z.EncWr().WriteStr("\"ZZ\"") } else { r.EncodeString(`ZZ`) } @@ -7270,16 +6546,7 @@ func (x *codecgenA) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -7300,27 +6567,14 @@ func (x *codecgenA) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.ZZ = z.DecodeBytesInto(([]byte)(x.ZZ)) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -7360,7 +6614,7 @@ func (x *codecgenB) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AA\"") + z.EncWr().WriteStr("\"AA\"") } else { r.EncodeString(`AA`) } @@ -7374,7 +6628,7 @@ func (x *codecgenB) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AA\"") + z.EncWr().WriteStr("\"AA\"") } else { r.EncodeString(`AA`) } @@ -7421,16 +6675,7 @@ func (x *codecgenB) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -7455,11 +6700,7 @@ func (x *codecgenB) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -7470,16 +6711,7 @@ func (x *codecgenB) codecDecodeSelfFromArray(l int, d *Decoder) { } else { x.AA.CodecDecodeSelf(d) } - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -7535,7 +6767,7 @@ func (x *codecgenC) CodecEncodeSelf(e *Encoder) { if yyq2[0] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BB\"") + z.EncWr().WriteStr("\"BB\"") } else { r.EncodeString(`BB`) } @@ -7551,7 +6783,7 @@ func (x *codecgenC) CodecEncodeSelf(e *Encoder) { if yyq2[0] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BB\"") + z.EncWr().WriteStr("\"BB\"") } else { r.EncodeString(`BB`) } @@ -7599,16 +6831,7 @@ func (x *codecgenC) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -7633,11 +6856,7 @@ func (x *codecgenC) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -7648,16 +6867,7 @@ func (x *codecgenC) codecDecodeSelfFromArray(l int, d *Decoder) { } else { x.BB.CodecDecodeSelf(d) } - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -7692,7 +6902,7 @@ func (x *TestCodecgenG) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"TestCodecgenG\"") + z.EncWr().WriteStr("\"TestCodecgenG\"") } else { r.EncodeString(`TestCodecgenG`) } @@ -7701,7 +6911,7 @@ func (x *TestCodecgenG) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"TestCodecgenG\"") + z.EncWr().WriteStr("\"TestCodecgenG\"") } else { r.EncodeString(`TestCodecgenG`) } @@ -7743,16 +6953,7 @@ func (x *TestCodecgenG) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -7773,27 +6974,14 @@ func (x *TestCodecgenG) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.TestCodecgenG = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -7828,7 +7016,7 @@ func (x *codecgenH) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"TestCodecgenG\"") + z.EncWr().WriteStr("\"TestCodecgenG\"") } else { r.EncodeString(`TestCodecgenG`) } @@ -7837,7 +7025,7 @@ func (x *codecgenH) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"TestCodecgenG\"") + z.EncWr().WriteStr("\"TestCodecgenG\"") } else { r.EncodeString(`TestCodecgenG`) } @@ -7879,16 +7067,7 @@ func (x *codecgenH) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -7909,27 +7088,14 @@ func (x *codecgenH) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.TestCodecgenG.TestCodecgenG = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -7964,7 +7130,7 @@ func (x *codecgenI) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"TestCodecgenG\"") + z.EncWr().WriteStr("\"TestCodecgenG\"") } else { r.EncodeString(`TestCodecgenG`) } @@ -7973,7 +7139,7 @@ func (x *codecgenI) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"TestCodecgenG\"") + z.EncWr().WriteStr("\"TestCodecgenG\"") } else { r.EncodeString(`TestCodecgenG`) } @@ -8015,16 +7181,7 @@ func (x *codecgenI) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -8045,27 +7202,14 @@ func (x *codecgenI) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.codecgenH.TestCodecgenG.TestCodecgenG = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -8102,7 +7246,7 @@ func (x *codecgenK) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"X\"") + z.EncWr().WriteStr("\"X\"") } else { r.EncodeString(`X`) } @@ -8110,7 +7254,7 @@ func (x *codecgenK) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.X)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Y\"") + z.EncWr().WriteStr("\"Y\"") } else { r.EncodeString(`Y`) } @@ -8119,7 +7263,7 @@ func (x *codecgenK) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"X\"") + z.EncWr().WriteStr("\"X\"") } else { r.EncodeString(`X`) } @@ -8127,7 +7271,7 @@ func (x *codecgenK) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.X)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Y\"") + z.EncWr().WriteStr("\"Y\"") } else { r.EncodeString(`Y`) } @@ -8169,16 +7313,7 @@ func (x *codecgenK) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -8201,11 +7336,7 @@ func (x *codecgenK) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -8213,27 +7344,14 @@ func (x *codecgenK) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.X = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.Y = (string)(z.DecStringZC(r.DecodeStringAsBytes())) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -8270,7 +7388,7 @@ func (x *codecgenL) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"X\"") + z.EncWr().WriteStr("\"X\"") } else { r.EncodeString(`X`) } @@ -8278,7 +7396,7 @@ func (x *codecgenL) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.X)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Y\"") + z.EncWr().WriteStr("\"Y\"") } else { r.EncodeString(`Y`) } @@ -8287,7 +7405,7 @@ func (x *codecgenL) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"X\"") + z.EncWr().WriteStr("\"X\"") } else { r.EncodeString(`X`) } @@ -8295,7 +7413,7 @@ func (x *codecgenL) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.X)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Y\"") + z.EncWr().WriteStr("\"Y\"") } else { r.EncodeString(`Y`) } @@ -8337,16 +7455,7 @@ func (x *codecgenL) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -8369,11 +7478,7 @@ func (x *codecgenL) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -8381,27 +7486,14 @@ func (x *codecgenL) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.X = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.Y = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -8438,7 +7530,7 @@ func (x *codecgenM) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"X\"") + z.EncWr().WriteStr("\"X\"") } else { r.EncodeString(`X`) } @@ -8446,7 +7538,7 @@ func (x *codecgenM) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.codecgenK.X)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Y\"") + z.EncWr().WriteStr("\"Y\"") } else { r.EncodeString(`Y`) } @@ -8455,7 +7547,7 @@ func (x *codecgenM) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"X\"") + z.EncWr().WriteStr("\"X\"") } else { r.EncodeString(`X`) } @@ -8463,7 +7555,7 @@ func (x *codecgenM) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.codecgenK.X)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Y\"") + z.EncWr().WriteStr("\"Y\"") } else { r.EncodeString(`Y`) } @@ -8505,16 +7597,7 @@ func (x *codecgenM) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -8537,11 +7620,7 @@ func (x *codecgenM) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -8549,27 +7628,14 @@ func (x *codecgenM) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.codecgenK.X = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.codecgenK.Y = (string)(z.DecStringZC(r.DecodeStringAsBytes())) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -8604,7 +7670,7 @@ func (x *testStrucKeyTypeT0) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F\"") + z.EncWr().WriteStr("\"F\"") } else { r.EncodeString(`F`) } @@ -8613,7 +7679,7 @@ func (x *testStrucKeyTypeT0) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F\"") + z.EncWr().WriteStr("\"F\"") } else { r.EncodeString(`F`) } @@ -8655,16 +7721,7 @@ func (x *testStrucKeyTypeT0) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -8685,27 +7742,14 @@ func (x *testStrucKeyTypeT0) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.F = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -8740,7 +7784,7 @@ func (x *testStrucKeyTypeT1) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FFFF\"") + z.EncWr().WriteStr("\"FFFF\"") } else { r.EncodeString(`FFFF`) } @@ -8749,7 +7793,7 @@ func (x *testStrucKeyTypeT1) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"FFFF\"") + z.EncWr().WriteStr("\"FFFF\"") } else { r.EncodeString(`FFFF`) } @@ -8791,16 +7835,7 @@ func (x *testStrucKeyTypeT1) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -8821,27 +7856,14 @@ func (x *testStrucKeyTypeT1) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.F = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -8919,16 +7941,7 @@ func (x *testStrucKeyTypeT2) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := strconv.AppendInt(z.DecScratchArrayBuffer()[:0], r.DecodeInt64(), 10) z.DecReadMapElemValue() @@ -8949,27 +7962,14 @@ func (x *testStrucKeyTypeT2) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.F = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -9047,16 +8047,7 @@ func (x *testStrucKeyTypeT3) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := strconv.AppendUint(z.DecScratchArrayBuffer()[:0], r.DecodeUint64(), 10) z.DecReadMapElemValue() @@ -9077,27 +8068,14 @@ func (x *testStrucKeyTypeT3) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.F = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -9175,16 +8153,7 @@ func (x *testStrucKeyTypeT4) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := strconv.AppendFloat(z.DecScratchArrayBuffer()[:0], r.DecodeFloat64(), 'f', -1, 64) z.DecReadMapElemValue() @@ -9205,27 +8174,14 @@ func (x *testStrucKeyTypeT4) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.F = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -9309,7 +8265,7 @@ func (x *Sstructsmall) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9318,7 +8274,7 @@ func (x *Sstructsmall) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9360,16 +8316,7 @@ func (x *Sstructsmall) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -9390,27 +8337,14 @@ func (x *Sstructsmall) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb5 bool var yyhl5 bool = l >= 0 yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } + yyb5 = !z.DecContainerNext(yyj5, l, yyhl5) if yyb5 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.A = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) - for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l - } else { - yyb5 = z.DecCheckBreak() - } - if yyb5 { - break - } + for yyj5++; z.DecContainerNext(yyj5, l, yyhl5); yyj5++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj5-1, "") } @@ -9478,7 +8412,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9486,7 +8420,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.A)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -9494,7 +8428,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sptr\"") + z.EncWr().WriteStr("\"Sptr\"") } else { r.EncodeString(`Sptr`) } @@ -9510,7 +8444,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmall\"") + z.EncWr().WriteStr("\"Ssmall\"") } else { r.EncodeString(`Ssmall`) } @@ -9523,7 +8457,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmallptr\"") + z.EncWr().WriteStr("\"Ssmallptr\"") } else { r.EncodeString(`Ssmallptr`) } @@ -9540,7 +8474,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9548,7 +8482,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.A)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -9556,7 +8490,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmallptr\"") + z.EncWr().WriteStr("\"Ssmallptr\"") } else { r.EncodeString(`Ssmallptr`) } @@ -9572,7 +8506,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmall\"") + z.EncWr().WriteStr("\"Ssmall\"") } else { r.EncodeString(`Ssmall`) } @@ -9585,7 +8519,7 @@ func (x *Sstructbig) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sptr\"") + z.EncWr().WriteStr("\"Sptr\"") } else { r.EncodeString(`Sptr`) } @@ -9635,16 +8569,7 @@ func (x *Sstructbig) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -9703,11 +8628,7 @@ func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb12 bool var yyhl12 bool = l >= 0 yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -9715,11 +8636,7 @@ func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.A = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -9727,11 +8644,7 @@ func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.B = (bool)(r.DecodeBool()) yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -9752,11 +8665,7 @@ func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -9768,11 +8677,7 @@ func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { x.Ssmall.CodecDecodeSelf(d) } yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -9792,16 +8697,7 @@ func (x *Sstructbig) codecDecodeSelfFromArray(l int, d *Decoder) { x.Sptr.CodecDecodeSelf(d) } } - for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } - if yyb12 { - break - } + for yyj12++; z.DecContainerNext(yyj12, l, yyhl12); yyj12++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj12-1, "") } @@ -9869,7 +8765,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9877,7 +8773,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.A)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -9885,7 +8781,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sptr\"") + z.EncWr().WriteStr("\"Sptr\"") } else { r.EncodeString(`Sptr`) } @@ -9901,7 +8797,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmall\"") + z.EncWr().WriteStr("\"Ssmall\"") } else { r.EncodeString(`Ssmall`) } @@ -9914,7 +8810,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmallptr\"") + z.EncWr().WriteStr("\"Ssmallptr\"") } else { r.EncodeString(`Ssmallptr`) } @@ -9931,7 +8827,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -9939,7 +8835,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.A)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -9947,7 +8843,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmallptr\"") + z.EncWr().WriteStr("\"Ssmallptr\"") } else { r.EncodeString(`Ssmallptr`) } @@ -9963,7 +8859,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ssmall\"") + z.EncWr().WriteStr("\"Ssmall\"") } else { r.EncodeString(`Ssmall`) } @@ -9976,7 +8872,7 @@ func (x *SstructbigToArray) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sptr\"") + z.EncWr().WriteStr("\"Sptr\"") } else { r.EncodeString(`Sptr`) } @@ -10026,16 +8922,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -10094,11 +8981,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb12 bool var yyhl12 bool = l >= 0 yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -10106,11 +8989,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.A = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -10118,11 +8997,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.B = (bool)(r.DecodeBool()) yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -10143,11 +9018,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -10159,11 +9030,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromArray(l int, d *Decoder) { x.Ssmall.CodecDecodeSelf(d) } yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } + yyb12 = !z.DecContainerNext(yyj12, l, yyhl12) if yyb12 { z.DecReadArrayEnd() return @@ -10183,16 +9050,7 @@ func (x *SstructbigToArray) codecDecodeSelfFromArray(l int, d *Decoder) { x.Sptr.CodecDecodeSelf(d) } } - for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = z.DecCheckBreak() - } - if yyb12 { - break - } + for yyj12++; z.DecContainerNext(yyj12, l, yyhl12); yyj12++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj12-1, "") } @@ -10229,7 +9087,7 @@ func (x *tLowerFirstLetter) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -10237,7 +9095,7 @@ func (x *tLowerFirstLetter) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -10246,7 +9104,7 @@ func (x *tLowerFirstLetter) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -10254,7 +9112,7 @@ func (x *tLowerFirstLetter) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -10296,16 +9154,7 @@ func (x *tLowerFirstLetter) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -10328,11 +9177,7 @@ func (x *tLowerFirstLetter) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -10340,27 +9185,14 @@ func (x *tLowerFirstLetter) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -10575,7 +9407,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Islice\"") + z.EncWr().WriteStr("\"Islice\"") } else { r.EncodeString(`Islice`) } @@ -10587,7 +9419,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } // end block: if x.Islice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ms\"") + z.EncWr().WriteStr("\"Ms\"") } else { r.EncodeString(`Ms`) } @@ -10599,7 +9431,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ms map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nintf\"") + z.EncWr().WriteStr("\"Nintf\"") } else { r.EncodeString(`Nintf`) } @@ -10607,7 +9439,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { z.EncFallback(x.Nintf) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"T\"") + z.EncWr().WriteStr("\"T\"") } else { r.EncodeString(`T`) } @@ -10625,7 +9457,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tptr\"") + z.EncWr().WriteStr("\"Tptr\"") } else { r.EncodeString(`Tptr`) } @@ -10649,7 +9481,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Islice\"") + z.EncWr().WriteStr("\"Islice\"") } else { r.EncodeString(`Islice`) } @@ -10661,7 +9493,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } // end block: if x.Islice slice == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ms\"") + z.EncWr().WriteStr("\"Ms\"") } else { r.EncodeString(`Ms`) } @@ -10673,7 +9505,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } // end block: if x.Ms map == nil z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nintf\"") + z.EncWr().WriteStr("\"Nintf\"") } else { r.EncodeString(`Nintf`) } @@ -10681,7 +9513,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { z.EncFallback(x.Nintf) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"T\"") + z.EncWr().WriteStr("\"T\"") } else { r.EncodeString(`T`) } @@ -10699,7 +9531,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tptr\"") + z.EncWr().WriteStr("\"Tptr\"") } else { r.EncodeString(`Tptr`) } @@ -10756,16 +9588,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -10823,11 +9646,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb14 bool var yyhl14 bool = l >= 0 yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = z.DecCheckBreak() - } + yyb14 = !z.DecContainerNext(yyj14, l, yyhl14) if yyb14 { z.DecReadArrayEnd() return @@ -10835,11 +9654,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceIntfX(&x.Islice, d) yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = z.DecCheckBreak() - } + yyb14 = !z.DecContainerNext(yyj14, l, yyhl14) if yyb14 { z.DecReadArrayEnd() return @@ -10847,11 +9662,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringIntfX(&x.Ms, d) yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = z.DecCheckBreak() - } + yyb14 = !z.DecContainerNext(yyj14, l, yyhl14) if yyb14 { z.DecReadArrayEnd() return @@ -10859,11 +9670,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.DecFallback(&x.Nintf, true) yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = z.DecCheckBreak() - } + yyb14 = !z.DecContainerNext(yyj14, l, yyhl14) if yyb14 { z.DecReadArrayEnd() return @@ -10881,11 +9688,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecFallback(&x.T, false) } yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = z.DecCheckBreak() - } + yyb14 = !z.DecContainerNext(yyj14, l, yyhl14) if yyb14 { z.DecReadArrayEnd() return @@ -10911,16 +9714,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecFallback(x.Tptr, false) } } - for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = z.DecCheckBreak() - } - if yyb14 { - break - } + for yyj14++; z.DecContainerNext(yyj14, l, yyhl14); yyj14++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj14-1, "") } @@ -10961,7 +9755,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -10969,7 +9763,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F\"") + z.EncWr().WriteStr("\"F\"") } else { r.EncodeString(`F`) } @@ -10977,7 +9771,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.F)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -10985,7 +9779,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -10994,7 +9788,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -11002,7 +9796,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11010,7 +9804,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F\"") + z.EncWr().WriteStr("\"F\"") } else { r.EncodeString(`F`) } @@ -11018,7 +9812,7 @@ func (x *missingFielderT2) CodecEncodeSelf(e *Encoder) { r.EncodeFloat64(float64(x.F)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -11060,16 +9854,7 @@ func (x *missingFielderT2) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -11096,11 +9881,7 @@ func (x *missingFielderT2) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb8 bool var yyhl8 bool = l >= 0 yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } + yyb8 = !z.DecContainerNext(yyj8, l, yyhl8) if yyb8 { z.DecReadArrayEnd() return @@ -11108,11 +9889,7 @@ func (x *missingFielderT2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } + yyb8 = !z.DecContainerNext(yyj8, l, yyhl8) if yyb8 { z.DecReadArrayEnd() return @@ -11120,11 +9897,7 @@ func (x *missingFielderT2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.B = (bool)(r.DecodeBool()) yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } + yyb8 = !z.DecContainerNext(yyj8, l, yyhl8) if yyb8 { z.DecReadArrayEnd() return @@ -11132,27 +9905,14 @@ func (x *missingFielderT2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.F = (float64)(r.DecodeFloat64()) yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } + yyb8 = !z.DecContainerNext(yyj8, l, yyhl8) if yyb8 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.I = (int64)(r.DecodeInt64()) - for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } - if yyb8 { - break - } + for yyj8++; z.DecContainerNext(yyj8, l, yyhl8); yyj8++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj8-1, "") } @@ -11191,7 +9951,7 @@ func (x *testSelfExtHelper) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11199,7 +9959,7 @@ func (x *testSelfExtHelper) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -11207,7 +9967,7 @@ func (x *testSelfExtHelper) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -11216,7 +9976,7 @@ func (x *testSelfExtHelper) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -11224,7 +9984,7 @@ func (x *testSelfExtHelper) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -11232,7 +9992,7 @@ func (x *testSelfExtHelper) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11274,16 +10034,7 @@ func (x *testSelfExtHelper) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -11308,11 +10059,7 @@ func (x *testSelfExtHelper) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb7 bool var yyhl7 bool = l >= 0 yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return @@ -11320,11 +10067,7 @@ func (x *testSelfExtHelper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return @@ -11332,27 +10075,14 @@ func (x *testSelfExtHelper) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.I = (int64)(r.DecodeInt64()) yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.B = (bool)(r.DecodeBool()) - for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } - if yyb7 { - break - } + for yyj7++; z.DecContainerNext(yyj7, l, yyhl7); yyj7++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj7-1, "") } @@ -11391,7 +10121,7 @@ func (x *TestSelfExtImpl) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11399,7 +10129,7 @@ func (x *TestSelfExtImpl) CodecEncodeSelf(e *Encoder) { r.EncodeBool(bool(x.testSelfExtHelper.B)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -11407,7 +10137,7 @@ func (x *TestSelfExtImpl) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.testSelfExtHelper.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -11416,7 +10146,7 @@ func (x *TestSelfExtImpl) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -11424,7 +10154,7 @@ func (x *TestSelfExtImpl) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.testSelfExtHelper.S)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I\"") + z.EncWr().WriteStr("\"I\"") } else { r.EncodeString(`I`) } @@ -11432,7 +10162,7 @@ func (x *TestSelfExtImpl) CodecEncodeSelf(e *Encoder) { r.EncodeInt(int64(x.testSelfExtHelper.I)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11474,16 +10204,7 @@ func (x *TestSelfExtImpl) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -11508,11 +10229,7 @@ func (x *TestSelfExtImpl) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb7 bool var yyhl7 bool = l >= 0 yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return @@ -11520,11 +10237,7 @@ func (x *TestSelfExtImpl) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.testSelfExtHelper.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return @@ -11532,27 +10245,14 @@ func (x *TestSelfExtImpl) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.testSelfExtHelper.I = (int64)(r.DecodeInt64()) yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } + yyb7 = !z.DecContainerNext(yyj7, l, yyhl7) if yyb7 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.testSelfExtHelper.B = (bool)(r.DecodeBool()) - for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = z.DecCheckBreak() - } - if yyb7 { - break - } + for yyj7++; z.DecContainerNext(yyj7, l, yyhl7); yyj7++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj7-1, "") } @@ -11589,7 +10289,7 @@ func (x *TestSelfExtImpl2) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"M\"") + z.EncWr().WriteStr("\"M\"") } else { r.EncodeString(`M`) } @@ -11597,7 +10297,7 @@ func (x *TestSelfExtImpl2) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.M)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"O\"") + z.EncWr().WriteStr("\"O\"") } else { r.EncodeString(`O`) } @@ -11606,7 +10306,7 @@ func (x *TestSelfExtImpl2) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"M\"") + z.EncWr().WriteStr("\"M\"") } else { r.EncodeString(`M`) } @@ -11614,7 +10314,7 @@ func (x *TestSelfExtImpl2) CodecEncodeSelf(e *Encoder) { r.EncodeString(string(x.M)) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"O\"") + z.EncWr().WriteStr("\"O\"") } else { r.EncodeString(`O`) } @@ -11656,16 +10356,7 @@ func (x *TestSelfExtImpl2) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -11688,11 +10379,7 @@ func (x *TestSelfExtImpl2) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb6 bool var yyhl6 bool = l >= 0 yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return @@ -11700,27 +10387,14 @@ func (x *TestSelfExtImpl2) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.M = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } + yyb6 = !z.DecContainerNext(yyj6, l, yyhl6) if yyb6 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.O = (bool)(r.DecodeBool()) - for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = z.DecCheckBreak() - } - if yyb6 { - break - } + for yyj6++; z.DecContainerNext(yyj6, l, yyhl6); yyj6++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj6-1, "") } @@ -11757,7 +10431,7 @@ func (x *TestTwoNakedInterfaces) CodecEncodeSelf(e *Encoder) { if z.EncBasicHandle().Canonical { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -11765,7 +10439,7 @@ func (x *TestTwoNakedInterfaces) CodecEncodeSelf(e *Encoder) { z.EncFallback(x.A) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11774,7 +10448,7 @@ func (x *TestTwoNakedInterfaces) CodecEncodeSelf(e *Encoder) { } else { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"A\"") + z.EncWr().WriteStr("\"A\"") } else { r.EncodeString(`A`) } @@ -11782,7 +10456,7 @@ func (x *TestTwoNakedInterfaces) CodecEncodeSelf(e *Encoder) { z.EncFallback(x.A) z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -11824,16 +10498,7 @@ func (x *TestTwoNakedInterfaces) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -11856,11 +10521,7 @@ func (x *TestTwoNakedInterfaces) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb8 bool var yyhl8 bool = l >= 0 yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } + yyb8 = !z.DecContainerNext(yyj8, l, yyhl8) if yyb8 { z.DecReadArrayEnd() return @@ -11868,27 +10529,14 @@ func (x *TestTwoNakedInterfaces) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.DecFallback(&x.A, true) yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } + yyb8 = !z.DecContainerNext(yyj8, l, yyhl8) if yyb8 { z.DecReadArrayEnd() return } z.DecReadArrayElem() z.DecFallback(&x.B, true) - for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = z.DecCheckBreak() - } - if yyb8 { - break - } + for yyj8++; z.DecContainerNext(yyj8, l, yyhl8); yyj8++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj8-1, "") } @@ -12947,7 +11595,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[41] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -12961,7 +11609,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[40] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -12975,7 +11623,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[35] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -12985,7 +11633,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[34] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -12995,7 +11643,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[45] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -13006,7 +11654,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[44] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -13017,7 +11665,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[38] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -13031,7 +11679,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[46] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -13045,7 +11693,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[42] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -13059,7 +11707,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[43] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -13073,7 +11721,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[49] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -13087,7 +11735,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[48] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -13101,7 +11749,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[33] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -13111,7 +11759,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[37] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -13125,7 +11773,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[36] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -13135,7 +11783,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[39] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -13149,7 +11797,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[47] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -13163,7 +11811,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[72] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ArrStrUi64T\"") + z.EncWr().WriteStr("\"ArrStrUi64T\"") } else { r.EncodeString(`ArrStrUi64T`) } @@ -13174,7 +11822,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[15] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -13184,7 +11832,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[22] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -13198,7 +11846,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[16] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"By\"") + z.EncWr().WriteStr("\"By\"") } else { r.EncodeString(`By`) } @@ -13208,7 +11856,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[23] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Byslice\"") + z.EncWr().WriteStr("\"Byslice\"") } else { r.EncodeString(`Byslice`) } @@ -13222,7 +11870,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[24] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BytesSlice\"") + z.EncWr().WriteStr("\"BytesSlice\"") } else { r.EncodeString(`BytesSlice`) } @@ -13236,7 +11884,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[56] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Chstr\"") + z.EncWr().WriteStr("\"Chstr\"") } else { r.EncodeString(`Chstr`) } @@ -13246,7 +11894,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[69] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ci64\"") + z.EncWr().WriteStr("\"Ci64\"") } else { r.EncodeString(`Ci64`) } @@ -13260,7 +11908,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[94] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Cmplx128\"") + z.EncWr().WriteStr("\"Cmplx128\"") } else { r.EncodeString(`Cmplx128`) } @@ -13270,7 +11918,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[93] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Cmplx64\"") + z.EncWr().WriteStr("\"Cmplx64\"") } else { r.EncodeString(`Cmplx64`) } @@ -13280,7 +11928,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[14] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -13290,7 +11938,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[13] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -13300,7 +11948,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[3] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16\"") + z.EncWr().WriteStr("\"I16\"") } else { r.EncodeString(`I16`) } @@ -13310,7 +11958,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[7] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16n\"") + z.EncWr().WriteStr("\"I16n\"") } else { r.EncodeString(`I16n`) } @@ -13320,7 +11968,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[2] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32\"") + z.EncWr().WriteStr("\"I32\"") } else { r.EncodeString(`I32`) } @@ -13330,7 +11978,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[6] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32n\"") + z.EncWr().WriteStr("\"I32n\"") } else { r.EncodeString(`I32n`) } @@ -13340,7 +11988,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[19] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -13354,7 +12002,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[1] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -13364,7 +12012,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[5] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64n\"") + z.EncWr().WriteStr("\"I64n\"") } else { r.EncodeString(`I64n`) } @@ -13374,7 +12022,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[18] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64slice\"") + z.EncWr().WriteStr("\"I64slice\"") } else { r.EncodeString(`I64slice`) } @@ -13388,7 +12036,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[4] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -13398,7 +12046,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[8] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8n\"") + z.EncWr().WriteStr("\"I8n\"") } else { r.EncodeString(`I8n`) } @@ -13408,7 +12056,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[25] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -13422,7 +12070,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[79] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Islice\"") + z.EncWr().WriteStr("\"Islice\"") } else { r.EncodeString(`Islice`) } @@ -13440,7 +12088,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[87] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Its\"") + z.EncWr().WriteStr("\"Its\"") } else { r.EncodeString(`Its`) } @@ -13454,7 +12102,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[91] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MarB\"") + z.EncWr().WriteStr("\"MarB\"") } else { r.EncodeString(`MarB`) } @@ -13468,7 +12116,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[89] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MarJ\"") + z.EncWr().WriteStr("\"MarJ\"") } else { r.EncodeString(`MarJ`) } @@ -13482,7 +12130,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[90] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MarT\"") + z.EncWr().WriteStr("\"MarT\"") } else { r.EncodeString(`MarT`) } @@ -13496,7 +12144,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[58] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mbu64\"") + z.EncWr().WriteStr("\"Mbu64\"") } else { r.EncodeString(`Mbu64`) } @@ -13510,7 +12158,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[66] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mf32wss\"") + z.EncWr().WriteStr("\"Mf32wss\"") } else { r.EncodeString(`Mf32wss`) } @@ -13524,7 +12172,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[65] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mfwss\"") + z.EncWr().WriteStr("\"Mfwss\"") } else { r.EncodeString(`Mfwss`) } @@ -13538,7 +12186,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[62] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mip2ss\"") + z.EncWr().WriteStr("\"Mip2ss\"") } else { r.EncodeString(`Mip2ss`) } @@ -13552,7 +12200,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[57] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mis\"") + z.EncWr().WriteStr("\"Mis\"") } else { r.EncodeString(`Mis`) } @@ -13566,7 +12214,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[64] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Miwu64s\"") + z.EncWr().WriteStr("\"Miwu64s\"") } else { r.EncodeString(`Miwu64s`) } @@ -13580,7 +12228,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[80] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ms\"") + z.EncWr().WriteStr("\"Ms\"") } else { r.EncodeString(`Ms`) } @@ -13598,7 +12246,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[63] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ms2misu\"") + z.EncWr().WriteStr("\"Ms2misu\"") } else { r.EncodeString(`Ms2misu`) } @@ -13612,7 +12260,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[29] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msbytes\"") + z.EncWr().WriteStr("\"Msbytes\"") } else { r.EncodeString(`Msbytes`) } @@ -13626,7 +12274,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[28] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -13640,7 +12288,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[61] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msp2ss\"") + z.EncWr().WriteStr("\"Msp2ss\"") } else { r.EncodeString(`Msp2ss`) } @@ -13654,7 +12302,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[32] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64T\"") + z.EncWr().WriteStr("\"MstrUi64T\"") } else { r.EncodeString(`MstrUi64T`) } @@ -13668,7 +12316,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[76] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64TSelf\"") + z.EncWr().WriteStr("\"MstrUi64TSelf\"") } else { r.EncodeString(`MstrUi64TSelf`) } @@ -13682,7 +12330,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[84] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msu\"") + z.EncWr().WriteStr("\"Msu\"") } else { r.EncodeString(`Msu`) } @@ -13696,7 +12344,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[68] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msu2wss\"") + z.EncWr().WriteStr("\"Msu2wss\"") } else { r.EncodeString(`Msu2wss`) } @@ -13710,7 +12358,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[86] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mts\"") + z.EncWr().WriteStr("\"Mts\"") } else { r.EncodeString(`Mts`) } @@ -13724,7 +12372,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[85] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mtsptr\"") + z.EncWr().WriteStr("\"Mtsptr\"") } else { r.EncodeString(`Mtsptr`) } @@ -13738,7 +12386,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[59] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mu8e\"") + z.EncWr().WriteStr("\"Mu8e\"") } else { r.EncodeString(`Mu8e`) } @@ -13752,7 +12400,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[60] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mu8u64\"") + z.EncWr().WriteStr("\"Mu8u64\"") } else { r.EncodeString(`Mu8u64`) } @@ -13766,7 +12414,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[67] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mui2wss\"") + z.EncWr().WriteStr("\"Mui2wss\"") } else { r.EncodeString(`Mui2wss`) } @@ -13780,7 +12428,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[55] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nint64\"") + z.EncWr().WriteStr("\"Nint64\"") } else { r.EncodeString(`Nint64`) } @@ -13795,7 +12443,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[81] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nintf\"") + z.EncWr().WriteStr("\"Nintf\"") } else { r.EncodeString(`Nintf`) } @@ -13809,7 +12457,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[53] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nmap\"") + z.EncWr().WriteStr("\"Nmap\"") } else { r.EncodeString(`Nmap`) } @@ -13823,7 +12471,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[50] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnon\"") + z.EncWr().WriteStr("\"NotAnon\"") } else { r.EncodeString(`NotAnon`) } @@ -13838,7 +12486,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[52] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnonSlim\"") + z.EncWr().WriteStr("\"NotAnonSlim\"") } else { r.EncodeString(`NotAnonSlim`) } @@ -13856,7 +12504,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[54] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nslice\"") + z.EncWr().WriteStr("\"Nslice\"") } else { r.EncodeString(`Nslice`) } @@ -13870,7 +12518,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[88] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nteststruc\"") + z.EncWr().WriteStr("\"Nteststruc\"") } else { r.EncodeString(`Nteststruc`) } @@ -13888,7 +12536,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[51] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -13903,7 +12551,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[0] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -13913,7 +12561,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[30] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Simplef\"") + z.EncWr().WriteStr("\"Simplef\"") } else { r.EncodeString(`Simplef`) } @@ -13928,7 +12576,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[75] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SintfAarray\"") + z.EncWr().WriteStr("\"SintfAarray\"") } else { r.EncodeString(`SintfAarray`) } @@ -13942,7 +12590,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[17] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -13956,7 +12604,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[31] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SstrUi64T\"") + z.EncWr().WriteStr("\"SstrUi64T\"") } else { r.EncodeString(`SstrUi64T`) } @@ -13970,7 +12618,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[70] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Swrapbytes\"") + z.EncWr().WriteStr("\"Swrapbytes\"") } else { r.EncodeString(`Swrapbytes`) } @@ -13984,7 +12632,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[71] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Swrapuint8\"") + z.EncWr().WriteStr("\"Swrapuint8\"") } else { r.EncodeString(`Swrapuint8`) } @@ -13998,7 +12646,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[82] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"T\"") + z.EncWr().WriteStr("\"T\"") } else { r.EncodeString(`T`) } @@ -14022,7 +12670,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[83] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tptr\"") + z.EncWr().WriteStr("\"Tptr\"") } else { r.EncodeString(`Tptr`) } @@ -14047,7 +12695,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[77] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ttime\"") + z.EncWr().WriteStr("\"Ttime\"") } else { r.EncodeString(`Ttime`) } @@ -14067,7 +12715,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[78] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ttimeptr\"") + z.EncWr().WriteStr("\"Ttimeptr\"") } else { r.EncodeString(`Ttimeptr`) } @@ -14092,7 +12740,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[11] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui16\"") + z.EncWr().WriteStr("\"Ui16\"") } else { r.EncodeString(`Ui16`) } @@ -14102,7 +12750,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[10] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui32\"") + z.EncWr().WriteStr("\"Ui32\"") } else { r.EncodeString(`Ui32`) } @@ -14112,7 +12760,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[9] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -14122,7 +12770,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[73] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64array\"") + z.EncWr().WriteStr("\"Ui64array\"") } else { r.EncodeString(`Ui64array`) } @@ -14133,7 +12781,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[20] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -14147,7 +12795,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[74] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slicearray\"") + z.EncWr().WriteStr("\"Ui64slicearray\"") } else { r.EncodeString(`Ui64slicearray`) } @@ -14161,7 +12809,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[12] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -14171,7 +12819,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[21] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -14185,7 +12833,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[26] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -14199,7 +12847,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[27] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -14213,7 +12861,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[92] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"XuintToBytes\"") + z.EncWr().WriteStr("\"XuintToBytes\"") } else { r.EncodeString(`XuintToBytes`) } @@ -14228,7 +12876,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[0] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"S\"") + z.EncWr().WriteStr("\"S\"") } else { r.EncodeString(`S`) } @@ -14238,7 +12886,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[1] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64\"") + z.EncWr().WriteStr("\"I64\"") } else { r.EncodeString(`I64`) } @@ -14248,7 +12896,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[2] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32\"") + z.EncWr().WriteStr("\"I32\"") } else { r.EncodeString(`I32`) } @@ -14258,7 +12906,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[3] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16\"") + z.EncWr().WriteStr("\"I16\"") } else { r.EncodeString(`I16`) } @@ -14268,7 +12916,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[4] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8\"") + z.EncWr().WriteStr("\"I8\"") } else { r.EncodeString(`I8`) } @@ -14278,7 +12926,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[5] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64n\"") + z.EncWr().WriteStr("\"I64n\"") } else { r.EncodeString(`I64n`) } @@ -14288,7 +12936,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[6] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32n\"") + z.EncWr().WriteStr("\"I32n\"") } else { r.EncodeString(`I32n`) } @@ -14298,7 +12946,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[7] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I16n\"") + z.EncWr().WriteStr("\"I16n\"") } else { r.EncodeString(`I16n`) } @@ -14308,7 +12956,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[8] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I8n\"") + z.EncWr().WriteStr("\"I8n\"") } else { r.EncodeString(`I8n`) } @@ -14318,7 +12966,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[9] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64\"") + z.EncWr().WriteStr("\"Ui64\"") } else { r.EncodeString(`Ui64`) } @@ -14328,7 +12976,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[10] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui32\"") + z.EncWr().WriteStr("\"Ui32\"") } else { r.EncodeString(`Ui32`) } @@ -14338,7 +12986,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[11] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui16\"") + z.EncWr().WriteStr("\"Ui16\"") } else { r.EncodeString(`Ui16`) } @@ -14348,7 +12996,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[12] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8\"") + z.EncWr().WriteStr("\"Ui8\"") } else { r.EncodeString(`Ui8`) } @@ -14358,7 +13006,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[13] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F64\"") + z.EncWr().WriteStr("\"F64\"") } else { r.EncodeString(`F64`) } @@ -14368,7 +13016,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[14] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"F32\"") + z.EncWr().WriteStr("\"F32\"") } else { r.EncodeString(`F32`) } @@ -14378,7 +13026,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[15] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"B\"") + z.EncWr().WriteStr("\"B\"") } else { r.EncodeString(`B`) } @@ -14388,7 +13036,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[16] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"By\"") + z.EncWr().WriteStr("\"By\"") } else { r.EncodeString(`By`) } @@ -14398,7 +13046,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[17] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Sslice\"") + z.EncWr().WriteStr("\"Sslice\"") } else { r.EncodeString(`Sslice`) } @@ -14412,7 +13060,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[18] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I64slice\"") + z.EncWr().WriteStr("\"I64slice\"") } else { r.EncodeString(`I64slice`) } @@ -14426,7 +13074,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[19] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"I32slice\"") + z.EncWr().WriteStr("\"I32slice\"") } else { r.EncodeString(`I32slice`) } @@ -14440,7 +13088,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[20] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slice\"") + z.EncWr().WriteStr("\"Ui64slice\"") } else { r.EncodeString(`Ui64slice`) } @@ -14454,7 +13102,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[21] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui8slice\"") + z.EncWr().WriteStr("\"Ui8slice\"") } else { r.EncodeString(`Ui8slice`) } @@ -14468,7 +13116,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[22] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Bslice\"") + z.EncWr().WriteStr("\"Bslice\"") } else { r.EncodeString(`Bslice`) } @@ -14482,7 +13130,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[23] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Byslice\"") + z.EncWr().WriteStr("\"Byslice\"") } else { r.EncodeString(`Byslice`) } @@ -14496,7 +13144,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[24] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"BytesSlice\"") + z.EncWr().WriteStr("\"BytesSlice\"") } else { r.EncodeString(`BytesSlice`) } @@ -14510,7 +13158,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[25] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Iptrslice\"") + z.EncWr().WriteStr("\"Iptrslice\"") } else { r.EncodeString(`Iptrslice`) } @@ -14524,7 +13172,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[26] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceInt64\"") + z.EncWr().WriteStr("\"WrapSliceInt64\"") } else { r.EncodeString(`WrapSliceInt64`) } @@ -14538,7 +13186,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[27] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"WrapSliceString\"") + z.EncWr().WriteStr("\"WrapSliceString\"") } else { r.EncodeString(`WrapSliceString`) } @@ -14552,7 +13200,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[28] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msint\"") + z.EncWr().WriteStr("\"Msint\"") } else { r.EncodeString(`Msint`) } @@ -14566,7 +13214,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[29] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msbytes\"") + z.EncWr().WriteStr("\"Msbytes\"") } else { r.EncodeString(`Msbytes`) } @@ -14580,7 +13228,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[30] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Simplef\"") + z.EncWr().WriteStr("\"Simplef\"") } else { r.EncodeString(`Simplef`) } @@ -14595,7 +13243,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[31] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SstrUi64T\"") + z.EncWr().WriteStr("\"SstrUi64T\"") } else { r.EncodeString(`SstrUi64T`) } @@ -14609,7 +13257,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[32] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64T\"") + z.EncWr().WriteStr("\"MstrUi64T\"") } else { r.EncodeString(`MstrUi64T`) } @@ -14623,7 +13271,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[33] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AS\"") + z.EncWr().WriteStr("\"AS\"") } else { r.EncodeString(`AS`) } @@ -14633,7 +13281,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[34] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64\"") + z.EncWr().WriteStr("\"AI64\"") } else { r.EncodeString(`AI64`) } @@ -14643,7 +13291,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[35] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI16\"") + z.EncWr().WriteStr("\"AI16\"") } else { r.EncodeString(`AI16`) } @@ -14653,7 +13301,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[36] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64\"") + z.EncWr().WriteStr("\"AUi64\"") } else { r.EncodeString(`AUi64`) } @@ -14663,7 +13311,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[37] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ASslice\"") + z.EncWr().WriteStr("\"ASslice\"") } else { r.EncodeString(`ASslice`) } @@ -14677,7 +13325,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[38] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice\"") + z.EncWr().WriteStr("\"AI64slice\"") } else { r.EncodeString(`AI64slice`) } @@ -14691,7 +13339,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[39] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64slice\"") + z.EncWr().WriteStr("\"AUi64slice\"") } else { r.EncodeString(`AUi64slice`) } @@ -14705,7 +13353,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[40] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF64slice\"") + z.EncWr().WriteStr("\"AF64slice\"") } else { r.EncodeString(`AF64slice`) } @@ -14719,7 +13367,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[41] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AF32slice\"") + z.EncWr().WriteStr("\"AF32slice\"") } else { r.EncodeString(`AF32slice`) } @@ -14733,7 +13381,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[42] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSS\"") + z.EncWr().WriteStr("\"AMSS\"") } else { r.EncodeString(`AMSS`) } @@ -14747,7 +13395,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[43] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64\"") + z.EncWr().WriteStr("\"AMSU64\"") } else { r.EncodeString(`AMSU64`) } @@ -14761,7 +13409,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[44] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr8\"") + z.EncWr().WriteStr("\"AI64arr8\"") } else { r.EncodeString(`AI64arr8`) } @@ -14772,7 +13420,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[45] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64arr0\"") + z.EncWr().WriteStr("\"AI64arr0\"") } else { r.EncodeString(`AI64arr0`) } @@ -14783,7 +13431,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[46] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AI64slice0\"") + z.EncWr().WriteStr("\"AI64slice0\"") } else { r.EncodeString(`AI64slice0`) } @@ -14797,7 +13445,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[47] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AUi64sliceN\"") + z.EncWr().WriteStr("\"AUi64sliceN\"") } else { r.EncodeString(`AUi64sliceN`) } @@ -14811,7 +13459,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[48] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64N\"") + z.EncWr().WriteStr("\"AMSU64N\"") } else { r.EncodeString(`AMSU64N`) } @@ -14825,7 +13473,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[49] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"AMSU64E\"") + z.EncWr().WriteStr("\"AMSU64E\"") } else { r.EncodeString(`AMSU64E`) } @@ -14839,7 +13487,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[50] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnon\"") + z.EncWr().WriteStr("\"NotAnon\"") } else { r.EncodeString(`NotAnon`) } @@ -14854,7 +13502,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[51] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"P\"") + z.EncWr().WriteStr("\"P\"") } else { r.EncodeString(`P`) } @@ -14869,7 +13517,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[52] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"NotAnonSlim\"") + z.EncWr().WriteStr("\"NotAnonSlim\"") } else { r.EncodeString(`NotAnonSlim`) } @@ -14887,7 +13535,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[53] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nmap\"") + z.EncWr().WriteStr("\"Nmap\"") } else { r.EncodeString(`Nmap`) } @@ -14901,7 +13549,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[54] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nslice\"") + z.EncWr().WriteStr("\"Nslice\"") } else { r.EncodeString(`Nslice`) } @@ -14915,7 +13563,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[55] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nint64\"") + z.EncWr().WriteStr("\"Nint64\"") } else { r.EncodeString(`Nint64`) } @@ -14930,7 +13578,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[56] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Chstr\"") + z.EncWr().WriteStr("\"Chstr\"") } else { r.EncodeString(`Chstr`) } @@ -14940,7 +13588,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[57] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mis\"") + z.EncWr().WriteStr("\"Mis\"") } else { r.EncodeString(`Mis`) } @@ -14954,7 +13602,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[58] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mbu64\"") + z.EncWr().WriteStr("\"Mbu64\"") } else { r.EncodeString(`Mbu64`) } @@ -14968,7 +13616,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[59] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mu8e\"") + z.EncWr().WriteStr("\"Mu8e\"") } else { r.EncodeString(`Mu8e`) } @@ -14982,7 +13630,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[60] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mu8u64\"") + z.EncWr().WriteStr("\"Mu8u64\"") } else { r.EncodeString(`Mu8u64`) } @@ -14996,7 +13644,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[61] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msp2ss\"") + z.EncWr().WriteStr("\"Msp2ss\"") } else { r.EncodeString(`Msp2ss`) } @@ -15010,7 +13658,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[62] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mip2ss\"") + z.EncWr().WriteStr("\"Mip2ss\"") } else { r.EncodeString(`Mip2ss`) } @@ -15024,7 +13672,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[63] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ms2misu\"") + z.EncWr().WriteStr("\"Ms2misu\"") } else { r.EncodeString(`Ms2misu`) } @@ -15038,7 +13686,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[64] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Miwu64s\"") + z.EncWr().WriteStr("\"Miwu64s\"") } else { r.EncodeString(`Miwu64s`) } @@ -15052,7 +13700,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[65] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mfwss\"") + z.EncWr().WriteStr("\"Mfwss\"") } else { r.EncodeString(`Mfwss`) } @@ -15066,7 +13714,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[66] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mf32wss\"") + z.EncWr().WriteStr("\"Mf32wss\"") } else { r.EncodeString(`Mf32wss`) } @@ -15080,7 +13728,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[67] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mui2wss\"") + z.EncWr().WriteStr("\"Mui2wss\"") } else { r.EncodeString(`Mui2wss`) } @@ -15094,7 +13742,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[68] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msu2wss\"") + z.EncWr().WriteStr("\"Msu2wss\"") } else { r.EncodeString(`Msu2wss`) } @@ -15108,7 +13756,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[69] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ci64\"") + z.EncWr().WriteStr("\"Ci64\"") } else { r.EncodeString(`Ci64`) } @@ -15122,7 +13770,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[70] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Swrapbytes\"") + z.EncWr().WriteStr("\"Swrapbytes\"") } else { r.EncodeString(`Swrapbytes`) } @@ -15136,7 +13784,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[71] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Swrapuint8\"") + z.EncWr().WriteStr("\"Swrapuint8\"") } else { r.EncodeString(`Swrapuint8`) } @@ -15150,7 +13798,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[72] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"ArrStrUi64T\"") + z.EncWr().WriteStr("\"ArrStrUi64T\"") } else { r.EncodeString(`ArrStrUi64T`) } @@ -15161,7 +13809,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[73] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64array\"") + z.EncWr().WriteStr("\"Ui64array\"") } else { r.EncodeString(`Ui64array`) } @@ -15172,7 +13820,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[74] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ui64slicearray\"") + z.EncWr().WriteStr("\"Ui64slicearray\"") } else { r.EncodeString(`Ui64slicearray`) } @@ -15186,7 +13834,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[75] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"SintfAarray\"") + z.EncWr().WriteStr("\"SintfAarray\"") } else { r.EncodeString(`SintfAarray`) } @@ -15200,7 +13848,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[76] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MstrUi64TSelf\"") + z.EncWr().WriteStr("\"MstrUi64TSelf\"") } else { r.EncodeString(`MstrUi64TSelf`) } @@ -15214,7 +13862,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[77] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ttime\"") + z.EncWr().WriteStr("\"Ttime\"") } else { r.EncodeString(`Ttime`) } @@ -15234,7 +13882,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[78] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ttimeptr\"") + z.EncWr().WriteStr("\"Ttimeptr\"") } else { r.EncodeString(`Ttimeptr`) } @@ -15259,7 +13907,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[79] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Islice\"") + z.EncWr().WriteStr("\"Islice\"") } else { r.EncodeString(`Islice`) } @@ -15277,7 +13925,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[80] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Ms\"") + z.EncWr().WriteStr("\"Ms\"") } else { r.EncodeString(`Ms`) } @@ -15295,7 +13943,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[81] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nintf\"") + z.EncWr().WriteStr("\"Nintf\"") } else { r.EncodeString(`Nintf`) } @@ -15309,7 +13957,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[82] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"T\"") + z.EncWr().WriteStr("\"T\"") } else { r.EncodeString(`T`) } @@ -15333,7 +13981,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[83] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Tptr\"") + z.EncWr().WriteStr("\"Tptr\"") } else { r.EncodeString(`Tptr`) } @@ -15358,7 +14006,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[84] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Msu\"") + z.EncWr().WriteStr("\"Msu\"") } else { r.EncodeString(`Msu`) } @@ -15372,7 +14020,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[85] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mtsptr\"") + z.EncWr().WriteStr("\"Mtsptr\"") } else { r.EncodeString(`Mtsptr`) } @@ -15386,7 +14034,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[86] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Mts\"") + z.EncWr().WriteStr("\"Mts\"") } else { r.EncodeString(`Mts`) } @@ -15400,7 +14048,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[87] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Its\"") + z.EncWr().WriteStr("\"Its\"") } else { r.EncodeString(`Its`) } @@ -15414,7 +14062,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[88] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Nteststruc\"") + z.EncWr().WriteStr("\"Nteststruc\"") } else { r.EncodeString(`Nteststruc`) } @@ -15432,7 +14080,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[89] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MarJ\"") + z.EncWr().WriteStr("\"MarJ\"") } else { r.EncodeString(`MarJ`) } @@ -15446,7 +14094,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[90] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MarT\"") + z.EncWr().WriteStr("\"MarT\"") } else { r.EncodeString(`MarT`) } @@ -15460,7 +14108,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[91] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"MarB\"") + z.EncWr().WriteStr("\"MarB\"") } else { r.EncodeString(`MarB`) } @@ -15474,7 +14122,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[92] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"XuintToBytes\"") + z.EncWr().WriteStr("\"XuintToBytes\"") } else { r.EncodeString(`XuintToBytes`) } @@ -15488,7 +14136,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[93] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Cmplx64\"") + z.EncWr().WriteStr("\"Cmplx64\"") } else { r.EncodeString(`Cmplx64`) } @@ -15498,7 +14146,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { if yyq2[94] { z.EncWriteMapElemKey() if z.IsJSONHandle() { - z.WriteStr("\"Cmplx128\"") + z.EncWr().WriteStr("\"Cmplx128\"") } else { r.EncodeString(`Cmplx128`) } @@ -15541,16 +14189,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { z, r := GenHelper().Decoder(d) _, _, _ = h, z, r var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if z.DecCheckBreak() { - break - } - } + for yyj3 := 0; z.DecContainerNext(yyj3, l, yyhl3); yyj3++ { z.DecReadMapElemKey() yys3 := r.DecodeStringAsBytes() z.DecReadMapElemValue() @@ -15939,11 +14578,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { var yyb171 bool var yyhl171 bool = l >= 0 yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -15951,11 +14586,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.S = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -15963,11 +14594,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I64 = (int64)(r.DecodeInt64()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -15975,11 +14602,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I32 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -15987,11 +14610,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -15999,11 +14618,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I8 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16011,11 +14626,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I64n = (int64)(r.DecodeInt64()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16023,11 +14634,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I32n = (int32)(z.C.IntV(r.DecodeInt64(), 32)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16035,11 +14642,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I16n = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16047,11 +14650,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.I8n = (int8)(z.C.IntV(r.DecodeInt64(), 8)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16059,11 +14658,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui64 = (uint64)(r.DecodeUint64()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16071,11 +14666,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui32 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16083,11 +14674,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui16 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16095,11 +14682,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui8 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16107,11 +14690,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.F64 = (float64)(r.DecodeFloat64()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16119,11 +14698,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.F32 = (float32)(z.DecDecodeFloat32()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16131,11 +14706,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.B = (bool)(r.DecodeBool()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16143,11 +14714,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.By = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16155,11 +14722,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.TestStrucCommon.Sslice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16167,11 +14730,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.TestStrucCommon.I64slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16179,11 +14738,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt32X(&x.TestStrucCommon.I32slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16191,11 +14746,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.TestStrucCommon.Ui64slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16203,11 +14754,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Ui8slice = z.DecodeBytesInto(([]byte)(x.TestStrucCommon.Ui8slice)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16215,11 +14762,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBoolX(&x.TestStrucCommon.Bslice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16227,11 +14770,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Byslice = z.DecodeBytesInto(([]byte)(x.TestStrucCommon.Byslice)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16239,11 +14778,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceBytesX(&x.TestStrucCommon.BytesSlice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16251,11 +14786,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoint64((*[]*int64)(&x.TestStrucCommon.Iptrslice), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16267,11 +14798,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.WrapSliceInt64.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16283,11 +14810,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.WrapSliceString.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16295,11 +14818,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringIntX(&x.TestStrucCommon.Msint, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16307,11 +14826,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBytesX(&x.TestStrucCommon.Msbytes, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16323,11 +14838,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.Simplef.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16335,11 +14846,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicestringUint64T((*[]stringUint64T)(&x.TestStrucCommon.SstrUi64T), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16347,11 +14854,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringPtrtostringUint64T((*map[string]*stringUint64T)(&x.TestStrucCommon.MstrUi64T), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16359,11 +14862,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AS = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16371,11 +14870,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AI64 = (int64)(r.DecodeInt64()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16383,11 +14878,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AI16 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16395,11 +14886,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.AnonInTestStruc.AUi64 = (uint64)(r.DecodeUint64()) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16407,11 +14894,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceStringX(&x.TestStrucCommon.AnonInTestStruc.ASslice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16419,11 +14902,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.TestStrucCommon.AnonInTestStruc.AI64slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16431,11 +14910,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.TestStrucCommon.AnonInTestStruc.AUi64slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16443,11 +14918,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat64X(&x.TestStrucCommon.AnonInTestStruc.AF64slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16455,11 +14926,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceFloat32X(&x.TestStrucCommon.AnonInTestStruc.AF32slice, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16467,11 +14934,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringStringX(&x.TestStrucCommon.AnonInTestStruc.AMSS, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16479,11 +14942,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.TestStrucCommon.AnonInTestStruc.AMSU64, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16491,11 +14950,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray8int64((*[8]int64)(&x.TestStrucCommon.AnonInTestStruc.AI64arr8), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16503,11 +14958,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray0int64((*[0]int64)(&x.TestStrucCommon.AnonInTestStruc.AI64arr0), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16515,11 +14966,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceInt64X(&x.TestStrucCommon.AnonInTestStruc.AI64slice0, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16527,11 +14974,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceUint64X(&x.TestStrucCommon.AnonInTestStruc.AUi64sliceN, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16539,11 +14982,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.TestStrucCommon.AnonInTestStruc.AMSU64N, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16551,11 +14990,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringUint64X(&x.TestStrucCommon.AnonInTestStruc.AMSU64E, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16567,11 +15002,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.TestStrucCommon.NotAnon.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16591,11 +15022,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { *x.TestStrucCommon.AnonInTestStrucSlim.P = (string)(z.DecStringZC(r.DecodeStringAsBytes())) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16616,11 +15043,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16628,11 +15051,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapStringBoolX(&x.TestStrucCommon.Nmap, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16640,11 +15059,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.TestStrucCommon.Nslice = z.DecodeBytesInto(([]byte)(x.TestStrucCommon.Nslice)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16661,11 +15076,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { *x.TestStrucCommon.Nint64 = (int64)(r.DecodeInt64()) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16673,11 +15084,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decChanstring((*chan string)(&x.Chstr), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16685,11 +15092,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecMapIntStringX(&x.Mis, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16697,11 +15100,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapboolc3RydWN0IHt9((*map[bool]struct{})(&x.Mbu64), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16709,11 +15108,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapuint8c3RydWN0IHt9((*map[uint8]struct{})(&x.Mu8e), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16721,11 +15116,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapuint8stringUint64T((*map[uint8]stringUint64T)(&x.Mu8u64), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16733,11 +15124,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapPtrtostringSlicestring((*map[*string][]string)(&x.Msp2ss), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16745,11 +15132,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapPtrtouint64Slicestring((*map[*uint64][]string)(&x.Mip2ss), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16757,11 +15140,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringMapuint64stringUint64T((*map[string]map[uint64]stringUint64T)(&x.Ms2misu), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16769,11 +15148,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapintwrapUint64Slice((*map[int]wrapUint64Slice)(&x.Miwu64s), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16781,11 +15156,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapfloat64wrapStringSlice((*map[float64]wrapStringSlice)(&x.Mfwss), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16793,11 +15164,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapfloat32wrapStringSlice((*map[float32]wrapStringSlice)(&x.Mf32wss), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16805,11 +15172,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapuint64wrapStringSlice((*map[uint64]wrapStringSlice)(&x.Mui2wss), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16817,11 +15180,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringUint64TwrapStringSlice((*map[stringUint64T]wrapStringSlice)(&x.Msu2wss), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16833,11 +15192,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.Ci64.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16845,11 +15200,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicewrapBytes((*[]wrapBytes)(&x.Swrapbytes), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16857,11 +15208,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicewrapUint8((*[]wrapUint8)(&x.Swrapuint8), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16869,11 +15216,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray4stringUint64T((*[4]stringUint64T)(&x.ArrStrUi64T), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16881,11 +15224,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decArray4uint64((*[4]uint64)(&x.Ui64array), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16893,11 +15232,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoArray4uint64((*[]*[4]uint64)(&x.Ui64slicearray), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16905,11 +15240,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() z.F.DecSliceIntfX(&x.SintfAarray, d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16917,11 +15248,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringUint64TPtrtostringUint64T((*map[stringUint64T]*stringUint64T)(&x.MstrUi64TSelf), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16939,11 +15266,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecFallback(&x.Ttime, false) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16970,11 +15293,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -16991,11 +15310,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecSliceIntfX(&x.AnonInTestStrucIntf.Islice, d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17012,11 +15327,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.F.DecMapStringIntfX(&x.AnonInTestStrucIntf.Ms, d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17033,11 +15344,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecFallback(&x.AnonInTestStrucIntf.Nintf, true) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17064,11 +15371,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17098,11 +15401,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17110,11 +15409,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapwrapStringInterface((*map[wrapString]interface{})(&x.Msu), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17122,11 +15417,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringPtrtoTestStrucFlex((*map[string]*TestStrucFlex)(&x.Mtsptr), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17134,11 +15425,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decMapstringTestStrucFlex((*map[string]TestStrucFlex)(&x.Mts), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17146,11 +15433,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() h.decSlicePtrtoTestStrucFlex((*[]*TestStrucFlex)(&x.Its), d) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17171,11 +15454,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17187,11 +15466,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.MarJ.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17203,11 +15478,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.MarT.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17219,11 +15490,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.MarB.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17235,11 +15502,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { x.XuintToBytes.CodecDecodeSelf(d) } yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return @@ -17247,27 +15510,14 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { z.DecReadArrayElem() x.Cmplx64 = (complex64)(complex(z.DecDecodeFloat32(), 0)) yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } + yyb171 = !z.DecContainerNext(yyj171, l, yyhl171) if yyb171 { z.DecReadArrayEnd() return } z.DecReadArrayElem() x.Cmplx128 = (complex128)(complex(r.DecodeFloat64(), 0)) - for { - yyj171++ - if yyhl171 { - yyb171 = yyj171 > l - } else { - yyb171 = z.DecCheckBreak() - } - if yyb171 { - break - } + for yyj171++; z.DecContainerNext(yyj171, l, yyhl171); yyj171++ { z.DecReadArrayElem() z.DecStructFieldNotFound(yyj171-1, "") } @@ -17338,7 +15588,7 @@ func (x codecSelfer19780) decwrapUint64Slice(v *wrapUint64Slice, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) @@ -17439,7 +15689,7 @@ func (x codecSelfer19780) decwrapStringSlice(v *wrapStringSlice, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) @@ -17508,7 +15758,7 @@ func (x codecSelfer19780) decArray8int64(v *[8]int64, d *Decoder) { var yyrl1 int _ = yyrl1 var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { yyh1.ElemContainerState(yyj1) var yydb1 bool if yyj1 >= len(yyv1) { @@ -17554,7 +15804,7 @@ func (x codecSelfer19780) decArray0int64(v *[0]int64, d *Decoder) { var yyrl1 int _ = yyrl1 var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { yyh1.ElemContainerState(yyj1) var yydb1 bool if yyj1 >= len(yyv1) { @@ -17633,7 +15883,7 @@ func (x codecSelfer19780) decSlicePtrtoint64(v *[]*int64, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) @@ -17738,7 +15988,7 @@ func (x codecSelfer19780) decSlicestringUint64T(v *[]stringUint64T, d *Decoder) } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) @@ -17850,7 +16100,7 @@ func (x codecSelfer19780) decMapstringPtrtostringUint64T(v *map[string]*stringUi } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyms1 = true @@ -17959,7 +16209,7 @@ func (x codecSelfer19780) decMapstringPtrtoTestStruc(v *map[string]*TestStruc, d } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyms1 = true @@ -18062,7 +16312,7 @@ func (x codecSelfer19780) decMapstringTestStruc(v *map[string]TestStruc, d *Deco } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (string)(z.DecStringZC(r.DecodeStringAsBytes())) if yymg1 { @@ -18153,7 +16403,7 @@ func (x codecSelfer19780) decSlicePtrtoTestStruc(v *[]*TestStruc, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) @@ -18273,7 +16523,7 @@ func (x codecSelfer19780) decChanstring(v *chan string, d *Decoder) { var yyrl1 int _ = yyrl1 var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) @@ -18339,7 +16589,7 @@ func (x codecSelfer19780) decMapboolc3RydWN0IHt9(v *map[bool]struct{}, d *Decode } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (bool)(r.DecodeBool()) if yymg1 { @@ -18419,7 +16669,7 @@ func (x codecSelfer19780) decMapuint8c3RydWN0IHt9(v *map[uint8]struct{}, d *Deco } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) if yymg1 { @@ -18507,7 +16757,7 @@ func (x codecSelfer19780) decMapuint8stringUint64T(v *map[uint8]stringUint64T, d } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) if yymg1 { @@ -18585,7 +16835,7 @@ func (x codecSelfer19780) decMapPtrtostringSlicestring(v *map[*string][]string, } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() if r.TryNil() { *yymk1 = "" @@ -18666,7 +16916,7 @@ func (x codecSelfer19780) decMapPtrtouint64Slicestring(v *map[*uint64][]string, } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() if r.TryNil() { *yymk1 = 0 @@ -18759,7 +17009,7 @@ func (x codecSelfer19780) decMapstringMapuint64stringUint64T(v *map[string]map[u } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (string)(z.DecStringZC(r.DecodeStringAsBytes())) if yymg1 { @@ -18847,7 +17097,7 @@ func (x codecSelfer19780) decMapuint64stringUint64T(v *map[uint64]stringUint64T, } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (uint64)(r.DecodeUint64()) if yymg1 { @@ -18937,7 +17187,7 @@ func (x codecSelfer19780) decMapintwrapUint64Slice(v *map[int]wrapUint64Slice, d } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) if yymg1 { @@ -19027,7 +17277,7 @@ func (x codecSelfer19780) decMapfloat64wrapStringSlice(v *map[float64]wrapString } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (float64)(r.DecodeFloat64()) if yymg1 { @@ -19117,7 +17367,7 @@ func (x codecSelfer19780) decMapfloat32wrapStringSlice(v *map[float32]wrapString } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (float32)(z.DecDecodeFloat32()) if yymg1 { @@ -19207,7 +17457,7 @@ func (x codecSelfer19780) decMapuint64wrapStringSlice(v *map[uint64]wrapStringSl } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (uint64)(r.DecodeUint64()) if yymg1 { @@ -19285,7 +17535,7 @@ func (x codecSelfer19780) decMapstringUint64TwrapStringSlice(v *map[stringUint64 } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() if yyxt3 := z.Extension(yymk1); yyxt3 != nil { z.DecExtension(&yymk1, yyxt3) @@ -19376,7 +17626,7 @@ func (x codecSelfer19780) decSlicewrapBytes(v *[]wrapBytes, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) @@ -19477,7 +17727,7 @@ func (x codecSelfer19780) decSlicewrapUint8(v *[]wrapUint8, d *Decoder) { } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) @@ -19551,7 +17801,7 @@ func (x codecSelfer19780) decArray4stringUint64T(v *[4]stringUint64T, d *Decoder var yyrl1 int _ = yyrl1 var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { yyh1.ElemContainerState(yyj1) var yydb1 bool if yyj1 >= len(yyv1) { @@ -19601,7 +17851,7 @@ func (x codecSelfer19780) decArray4uint64(v *[4]uint64, d *Decoder) { var yyrl1 int _ = yyrl1 var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { yyh1.ElemContainerState(yyj1) var yydb1 bool if yyj1 >= len(yyv1) { @@ -19679,7 +17929,7 @@ func (x codecSelfer19780) decSlicePtrtoArray4uint64(v *[]*[4]uint64, d *Decoder) } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) @@ -19778,7 +18028,7 @@ func (x codecSelfer19780) decMapstringUint64TPtrtostringUint64T(v *map[stringUin } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() if yyxt3 := z.Extension(yymk1); yyxt3 != nil { z.DecExtension(&yymk1, yyxt3) @@ -19892,7 +18142,7 @@ func (x codecSelfer19780) decMapwrapStringInterface(v *map[wrapString]interface{ } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() if yyxt3 := z.Extension(yymk1); yyxt3 != nil { z.DecExtension(&yymk1, yyxt3) @@ -19990,7 +18240,7 @@ func (x codecSelfer19780) decMapstringPtrtoTestStrucFlex(v *map[string]*TestStru } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (string)(z.DecStringZC(r.DecodeStringAsBytes())) yyms1 = true @@ -20093,7 +18343,7 @@ func (x codecSelfer19780) decMapstringTestStrucFlex(v *map[string]TestStrucFlex, } if yyl1 != 0 { yyhl1 := yyl1 > 0 - for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { + for yyj1 := 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { z.DecReadMapElemKey() yymk1 = (string)(z.DecStringZC(r.DecodeStringAsBytes())) if yymg1 { @@ -20184,7 +18434,7 @@ func (x codecSelfer19780) decSlicePtrtoTestStrucFlex(v *[]*TestStrucFlex, d *Dec } } var yyj1 int - for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || z.DecCheckBreak()); yyj1++ { // bounds-check-elimination + for yyj1 = 0; z.DecContainerNext(yyj1, yyl1, yyhl1); yyj1++ { if yyj1 == 0 && yyv1 == nil { if yyhl1 { yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) diff --git a/codec/writer.go b/codec/writer.go index 4adcae60..b6e4813f 100644 --- a/codec/writer.go +++ b/codec/writer.go @@ -218,16 +218,21 @@ func (z *bytesEncAppender) reset(in []byte, out *[]byte) { // -------------------------------------------------- type encWr struct { + wb bytesEncAppender + wf *bufioEncWriter + bytes bool // encoding to []byte - js bool // is json encoder? - be bool // is binary encoder? + + // MARKER: these fields below should belong directly in Encoder. + // we pack them here for space efficiency and cache-line optimization. + + js bool // is json encoder? + be bool // is binary encoder? c containerState calls uint16 seq uint16 // sequencer (e.g. used by binc for symbols, etc) - wb bytesEncAppender - wf *bufioEncWriter } // MARKER: manually inline bytesEncAppender.writenx/writeqstr methods, @@ -249,6 +254,18 @@ func (z *encWr) writestr(s string) { z.wf.writestr(s) } } + +// MARKER: Add WriteStr to be called directly by generated code without a genHelper forwarding function. +// Go's inlining model adds cost for forwarding functions, preventing inlining (cost goes above 80 budget). + +func (z *encWr) WriteStr(s string) { + if z.bytes { + z.wb.writestr(s) + } else { + z.wf.writestr(s) + } +} + func (z *encWr) writen1(b1 byte) { if z.bytes { z.wb.writen1(b1)