mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
commit
140dfccdd5
@ -32,6 +32,7 @@ generated_files=($(
|
|||||||
-o -wholename './target' \
|
-o -wholename './target' \
|
||||||
-o -wholename '*/third_party/*' \
|
-o -wholename '*/third_party/*' \
|
||||||
-o -wholename '*/Godeps/*' \
|
-o -wholename '*/Godeps/*' \
|
||||||
|
-o -wholename '*/testdata/*' \
|
||||||
\) -prune \
|
\) -prune \
|
||||||
\) -name '*.generated.go'))
|
\) -name '*.generated.go'))
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -158,13 +158,7 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[2] {
|
if yyq2[2] {
|
||||||
yy10 := &x.ObjectMeta
|
yy10 := &x.ObjectMeta
|
||||||
yym11 := z.EncBinary()
|
yy10.CodecEncodeSelf(e)
|
||||||
_ = yym11
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.EncExt(yy10) {
|
|
||||||
} else {
|
|
||||||
z.EncFallback(yy10)
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
@ -173,20 +167,14 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy12 := &x.ObjectMeta
|
yy11 := &x.ObjectMeta
|
||||||
yym13 := z.EncBinary()
|
yy11.CodecEncodeSelf(e)
|
||||||
_ = yym13
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.EncExt(yy12) {
|
|
||||||
} else {
|
|
||||||
z.EncFallback(yy12)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym15 := z.EncBinary()
|
yym13 := z.EncBinary()
|
||||||
_ = yym15
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
||||||
@ -195,8 +183,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Key"))
|
r.EncodeString(codecSelferC_UTF81234, string("Key"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym16 := z.EncBinary()
|
yym14 := z.EncBinary()
|
||||||
_ = yym16
|
_ = yym14
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
||||||
@ -207,8 +195,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Map == nil {
|
if x.Map == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym18 := z.EncBinary()
|
yym16 := z.EncBinary()
|
||||||
_ = yym18
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringIntV(x.Map, false, e)
|
z.F.EncMapStringIntV(x.Map, false, e)
|
||||||
@ -221,8 +209,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Map == nil {
|
if x.Map == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym19 := z.EncBinary()
|
yym17 := z.EncBinary()
|
||||||
_ = yym19
|
_ = yym17
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringIntV(x.Map, false, e)
|
z.F.EncMapStringIntV(x.Map, false, e)
|
||||||
@ -234,8 +222,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.StringList == nil {
|
if x.StringList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym21 := z.EncBinary()
|
yym19 := z.EncBinary()
|
||||||
_ = yym21
|
_ = yym19
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceStringV(x.StringList, false, e)
|
z.F.EncSliceStringV(x.StringList, false, e)
|
||||||
@ -248,8 +236,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.StringList == nil {
|
if x.StringList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym22 := z.EncBinary()
|
yym20 := z.EncBinary()
|
||||||
_ = yym22
|
_ = yym20
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceStringV(x.StringList, false, e)
|
z.F.EncSliceStringV(x.StringList, false, e)
|
||||||
@ -261,8 +249,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.IntList == nil {
|
if x.IntList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym24 := z.EncBinary()
|
yym22 := z.EncBinary()
|
||||||
_ = yym24
|
_ = yym22
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceIntV(x.IntList, false, e)
|
z.F.EncSliceIntV(x.IntList, false, e)
|
||||||
@ -275,8 +263,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.IntList == nil {
|
if x.IntList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym25 := z.EncBinary()
|
yym23 := z.EncBinary()
|
||||||
_ = yym25
|
_ = yym23
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceIntV(x.IntList, false, e)
|
z.F.EncSliceIntV(x.IntList, false, e)
|
||||||
@ -296,25 +284,25 @@ func (x *TestStruct) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym26 := z.DecBinary()
|
yym24 := z.DecBinary()
|
||||||
_ = yym26
|
_ = yym24
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct27 := r.ContainerType()
|
yyct25 := r.ContainerType()
|
||||||
if yyct27 == codecSelferValueTypeMap1234 {
|
if yyct25 == codecSelferValueTypeMap1234 {
|
||||||
yyl27 := r.ReadMapStart()
|
yyl25 := r.ReadMapStart()
|
||||||
if yyl27 == 0 {
|
if yyl25 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl27, d)
|
x.codecDecodeSelfFromMap(yyl25, d)
|
||||||
}
|
}
|
||||||
} else if yyct27 == codecSelferValueTypeArray1234 {
|
} else if yyct25 == codecSelferValueTypeArray1234 {
|
||||||
yyl27 := r.ReadArrayStart()
|
yyl25 := r.ReadArrayStart()
|
||||||
if yyl27 == 0 {
|
if yyl25 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl27, d)
|
x.codecDecodeSelfFromArray(yyl25, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -326,12 +314,12 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys28Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys26Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys28Slc
|
_ = yys26Slc
|
||||||
var yyhl28 bool = l >= 0
|
var yyhl26 bool = l >= 0
|
||||||
for yyj28 := 0; ; yyj28++ {
|
for yyj26 := 0; ; yyj26++ {
|
||||||
if yyhl28 {
|
if yyhl26 {
|
||||||
if yyj28 >= l {
|
if yyj26 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -340,10 +328,10 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys28Slc = r.DecodeBytes(yys28Slc, true, true)
|
yys26Slc = r.DecodeBytes(yys26Slc, true, true)
|
||||||
yys28 := string(yys28Slc)
|
yys26 := string(yys26Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys28 {
|
switch yys26 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -360,14 +348,8 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv31 := &x.ObjectMeta
|
yyv29 := &x.ObjectMeta
|
||||||
yym32 := z.DecBinary()
|
yyv29.CodecDecodeSelf(d)
|
||||||
_ = yym32
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv31) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv31, false)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
case "Key":
|
case "Key":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
@ -379,42 +361,42 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Map = nil
|
x.Map = nil
|
||||||
} else {
|
} else {
|
||||||
yyv34 := &x.Map
|
yyv31 := &x.Map
|
||||||
yym35 := z.DecBinary()
|
yym32 := z.DecBinary()
|
||||||
_ = yym35
|
_ = yym32
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringIntX(yyv34, false, d)
|
z.F.DecMapStringIntX(yyv31, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "StringList":
|
case "StringList":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.StringList = nil
|
x.StringList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv36 := &x.StringList
|
yyv33 := &x.StringList
|
||||||
yym37 := z.DecBinary()
|
yym34 := z.DecBinary()
|
||||||
_ = yym37
|
_ = yym34
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceStringX(yyv36, false, d)
|
z.F.DecSliceStringX(yyv33, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "IntList":
|
case "IntList":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.IntList = nil
|
x.IntList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv38 := &x.IntList
|
yyv35 := &x.IntList
|
||||||
yym39 := z.DecBinary()
|
yym36 := z.DecBinary()
|
||||||
_ = yym39
|
_ = yym36
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceIntX(yyv38, false, d)
|
z.F.DecSliceIntX(yyv35, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys28)
|
z.DecStructFieldNotFound(-1, yys26)
|
||||||
} // end switch yys28
|
} // end switch yys26
|
||||||
} // end for yyj28
|
} // end for yyj26
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -422,16 +404,16 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj40 int
|
var yyj37 int
|
||||||
var yyb40 bool
|
var yyb37 bool
|
||||||
var yyhl40 bool = l >= 0
|
var yyhl37 bool = l >= 0
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -441,13 +423,13 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
x.Kind = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -457,13 +439,13 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -471,22 +453,16 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv43 := &x.ObjectMeta
|
yyv40 := &x.ObjectMeta
|
||||||
yym44 := z.DecBinary()
|
yyv40.CodecDecodeSelf(d)
|
||||||
_ = yym44
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv43) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv43, false)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -496,13 +472,13 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.Key = string(r.DecodeString())
|
x.Key = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -510,21 +486,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Map = nil
|
x.Map = nil
|
||||||
} else {
|
} else {
|
||||||
yyv46 := &x.Map
|
yyv42 := &x.Map
|
||||||
yym47 := z.DecBinary()
|
yym43 := z.DecBinary()
|
||||||
_ = yym47
|
_ = yym43
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringIntX(yyv46, false, d)
|
z.F.DecMapStringIntX(yyv42, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -532,21 +508,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.StringList = nil
|
x.StringList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv48 := &x.StringList
|
yyv44 := &x.StringList
|
||||||
yym49 := z.DecBinary()
|
yym45 := z.DecBinary()
|
||||||
_ = yym49
|
_ = yym45
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceStringX(yyv48, false, d)
|
z.F.DecSliceStringX(yyv44, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -554,26 +530,26 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.IntList = nil
|
x.IntList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv50 := &x.IntList
|
yyv46 := &x.IntList
|
||||||
yym51 := z.DecBinary()
|
yym47 := z.DecBinary()
|
||||||
_ = yym51
|
_ = yym47
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceIntX(yyv50, false, d)
|
z.F.DecSliceIntX(yyv46, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj40++
|
yyj37++
|
||||||
if yyhl40 {
|
if yyhl37 {
|
||||||
yyb40 = yyj40 > l
|
yyb37 = yyj37 > l
|
||||||
} else {
|
} else {
|
||||||
yyb40 = r.CheckBreak()
|
yyb37 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb40 {
|
if yyb37 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj40-1, "")
|
z.DecStructFieldNotFound(yyj37-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
|
@ -156,30 +156,18 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yy10 := &x.ObjectMeta
|
yy10 := &x.ObjectMeta
|
||||||
yym11 := z.EncBinary()
|
yy10.CodecEncodeSelf(e)
|
||||||
_ = yym11
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.EncExt(yy10) {
|
|
||||||
} else {
|
|
||||||
z.EncFallback(yy10)
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy12 := &x.ObjectMeta
|
yy11 := &x.ObjectMeta
|
||||||
yym13 := z.EncBinary()
|
yy11.CodecEncodeSelf(e)
|
||||||
_ = yym13
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.EncExt(yy12) {
|
|
||||||
} else {
|
|
||||||
z.EncFallback(yy12)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym15 := z.EncBinary()
|
yym13 := z.EncBinary()
|
||||||
_ = yym15
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeInt(int64(x.Value))
|
r.EncodeInt(int64(x.Value))
|
||||||
@ -188,8 +176,8 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("value"))
|
r.EncodeString(codecSelferC_UTF81234, string("value"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym16 := z.EncBinary()
|
yym14 := z.EncBinary()
|
||||||
_ = yym16
|
_ = yym14
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeInt(int64(x.Value))
|
r.EncodeInt(int64(x.Value))
|
||||||
@ -208,25 +196,25 @@ func (x *TestResource) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym17 := z.DecBinary()
|
yym15 := z.DecBinary()
|
||||||
_ = yym17
|
_ = yym15
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct18 := r.ContainerType()
|
yyct16 := r.ContainerType()
|
||||||
if yyct18 == codecSelferValueTypeMap1234 {
|
if yyct16 == codecSelferValueTypeMap1234 {
|
||||||
yyl18 := r.ReadMapStart()
|
yyl16 := r.ReadMapStart()
|
||||||
if yyl18 == 0 {
|
if yyl16 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl18, d)
|
x.codecDecodeSelfFromMap(yyl16, d)
|
||||||
}
|
}
|
||||||
} else if yyct18 == codecSelferValueTypeArray1234 {
|
} else if yyct16 == codecSelferValueTypeArray1234 {
|
||||||
yyl18 := r.ReadArrayStart()
|
yyl16 := r.ReadArrayStart()
|
||||||
if yyl18 == 0 {
|
if yyl16 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl18, d)
|
x.codecDecodeSelfFromArray(yyl16, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -238,12 +226,12 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys19Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys17Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys19Slc
|
_ = yys17Slc
|
||||||
var yyhl19 bool = l >= 0
|
var yyhl17 bool = l >= 0
|
||||||
for yyj19 := 0; ; yyj19++ {
|
for yyj17 := 0; ; yyj17++ {
|
||||||
if yyhl19 {
|
if yyhl17 {
|
||||||
if yyj19 >= l {
|
if yyj17 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -252,10 +240,10 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys19Slc = r.DecodeBytes(yys19Slc, true, true)
|
yys17Slc = r.DecodeBytes(yys17Slc, true, true)
|
||||||
yys19 := string(yys19Slc)
|
yys17 := string(yys17Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys19 {
|
switch yys17 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -272,14 +260,8 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv22 := &x.ObjectMeta
|
yyv20 := &x.ObjectMeta
|
||||||
yym23 := z.DecBinary()
|
yyv20.CodecDecodeSelf(d)
|
||||||
_ = yym23
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv22) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv22, false)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
case "value":
|
case "value":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
@ -288,9 +270,9 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys19)
|
z.DecStructFieldNotFound(-1, yys17)
|
||||||
} // end switch yys19
|
} // end switch yys17
|
||||||
} // end for yyj19
|
} // end for yyj17
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -298,16 +280,16 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj25 int
|
var yyj22 int
|
||||||
var yyb25 bool
|
var yyb22 bool
|
||||||
var yyhl25 bool = l >= 0
|
var yyhl22 bool = l >= 0
|
||||||
yyj25++
|
yyj22++
|
||||||
if yyhl25 {
|
if yyhl22 {
|
||||||
yyb25 = yyj25 > l
|
yyb22 = yyj22 > l
|
||||||
} else {
|
} else {
|
||||||
yyb25 = r.CheckBreak()
|
yyb22 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb25 {
|
if yyb22 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -317,13 +299,13 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
x.Kind = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj25++
|
yyj22++
|
||||||
if yyhl25 {
|
if yyhl22 {
|
||||||
yyb25 = yyj25 > l
|
yyb22 = yyj22 > l
|
||||||
} else {
|
} else {
|
||||||
yyb25 = r.CheckBreak()
|
yyb22 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb25 {
|
if yyb22 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -333,13 +315,13 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj25++
|
yyj22++
|
||||||
if yyhl25 {
|
if yyhl22 {
|
||||||
yyb25 = yyj25 > l
|
yyb22 = yyj22 > l
|
||||||
} else {
|
} else {
|
||||||
yyb25 = r.CheckBreak()
|
yyb22 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb25 {
|
if yyb22 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -347,22 +329,16 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv28 := &x.ObjectMeta
|
yyv25 := &x.ObjectMeta
|
||||||
yym29 := z.DecBinary()
|
yyv25.CodecDecodeSelf(d)
|
||||||
_ = yym29
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv28) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv28, false)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
yyj25++
|
yyj22++
|
||||||
if yyhl25 {
|
if yyhl22 {
|
||||||
yyb25 = yyj25 > l
|
yyb22 = yyj22 > l
|
||||||
} else {
|
} else {
|
||||||
yyb25 = r.CheckBreak()
|
yyb22 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb25 {
|
if yyb22 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -373,17 +349,17 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj25++
|
yyj22++
|
||||||
if yyhl25 {
|
if yyhl22 {
|
||||||
yyb25 = yyj25 > l
|
yyb22 = yyj22 > l
|
||||||
} else {
|
} else {
|
||||||
yyb25 = r.CheckBreak()
|
yyb22 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb25 {
|
if yyb22 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj25-1, "")
|
z.DecStructFieldNotFound(yyj22-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user