Bumping k8s dependencies to 1.13
This commit is contained in:
322
vendor/github.com/gogo/protobuf/test/fuzztests/fuzz.pb.go
generated
vendored
322
vendor/github.com/gogo/protobuf/test/fuzztests/fuzz.pb.go
generated
vendored
@@ -1,18 +1,6 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: fuzz.proto
|
||||
|
||||
/*
|
||||
Package fuzztests is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
fuzz.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Nil
|
||||
NinRepPackedNative
|
||||
NinOptNative
|
||||
NinOptStruct
|
||||
*/
|
||||
package fuzztests
|
||||
|
||||
import proto "github.com/gogo/protobuf/proto"
|
||||
@@ -23,7 +11,7 @@ import _ "github.com/gogo/protobuf/gogoproto"
|
||||
import strings "strings"
|
||||
import reflect "reflect"
|
||||
|
||||
import binary "encoding/binary"
|
||||
import encoding_binary "encoding/binary"
|
||||
|
||||
import io "io"
|
||||
|
||||
@@ -39,35 +27,95 @@ var _ = math.Inf
|
||||
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
type Nil struct {
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Nil) Reset() { *m = Nil{} }
|
||||
func (m *Nil) String() string { return proto.CompactTextString(m) }
|
||||
func (*Nil) ProtoMessage() {}
|
||||
func (*Nil) Descriptor() ([]byte, []int) { return fileDescriptorFuzz, []int{0} }
|
||||
func (m *Nil) Reset() { *m = Nil{} }
|
||||
func (m *Nil) String() string { return proto.CompactTextString(m) }
|
||||
func (*Nil) ProtoMessage() {}
|
||||
func (*Nil) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_fuzz_a9783a48f1b0a0f4, []int{0}
|
||||
}
|
||||
func (m *Nil) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *Nil) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_Nil.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalTo(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (dst *Nil) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Nil.Merge(dst, src)
|
||||
}
|
||||
func (m *Nil) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *Nil) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Nil.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Nil proto.InternalMessageInfo
|
||||
|
||||
type NinRepPackedNative struct {
|
||||
Field1 []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"`
|
||||
Field2 []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"`
|
||||
Field3 []int32 `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"`
|
||||
Field4 []int64 `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"`
|
||||
Field5 []uint32 `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"`
|
||||
Field6 []uint64 `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"`
|
||||
Field7 []int32 `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"`
|
||||
Field8 []int64 `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"`
|
||||
Field9 []uint32 `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"`
|
||||
Field10 []int32 `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"`
|
||||
Field11 []uint64 `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"`
|
||||
Field12 []int64 `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"`
|
||||
Field13 []bool `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
Field1 []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"`
|
||||
Field2 []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"`
|
||||
Field3 []int32 `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"`
|
||||
Field4 []int64 `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"`
|
||||
Field5 []uint32 `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"`
|
||||
Field6 []uint64 `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"`
|
||||
Field7 []int32 `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"`
|
||||
Field8 []int64 `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"`
|
||||
Field9 []uint32 `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"`
|
||||
Field10 []int32 `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"`
|
||||
Field11 []uint64 `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"`
|
||||
Field12 []int64 `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"`
|
||||
Field13 []bool `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NinRepPackedNative) Reset() { *m = NinRepPackedNative{} }
|
||||
func (m *NinRepPackedNative) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinRepPackedNative) ProtoMessage() {}
|
||||
func (*NinRepPackedNative) Descriptor() ([]byte, []int) { return fileDescriptorFuzz, []int{1} }
|
||||
func (m *NinRepPackedNative) Reset() { *m = NinRepPackedNative{} }
|
||||
func (m *NinRepPackedNative) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinRepPackedNative) ProtoMessage() {}
|
||||
func (*NinRepPackedNative) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_fuzz_a9783a48f1b0a0f4, []int{1}
|
||||
}
|
||||
func (m *NinRepPackedNative) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *NinRepPackedNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_NinRepPackedNative.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalTo(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (dst *NinRepPackedNative) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NinRepPackedNative.Merge(dst, src)
|
||||
}
|
||||
func (m *NinRepPackedNative) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *NinRepPackedNative) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NinRepPackedNative.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NinRepPackedNative proto.InternalMessageInfo
|
||||
|
||||
func (m *NinRepPackedNative) GetField1() []float64 {
|
||||
if m != nil {
|
||||
@@ -161,28 +209,58 @@ func (m *NinRepPackedNative) GetField13() []bool {
|
||||
}
|
||||
|
||||
type NinOptNative struct {
|
||||
Field1 *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
|
||||
Field2 *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
|
||||
Field3 *int32 `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
|
||||
Field4 *int64 `protobuf:"varint,4,opt,name=Field4" json:"Field4,omitempty"`
|
||||
Field5 *uint32 `protobuf:"varint,5,opt,name=Field5" json:"Field5,omitempty"`
|
||||
Field6 *uint64 `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
|
||||
Field7 *int32 `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
|
||||
Field8 *int64 `protobuf:"zigzag64,8,opt,name=Field8" json:"Field8,omitempty"`
|
||||
Field9 *uint32 `protobuf:"fixed32,9,opt,name=Field9" json:"Field9,omitempty"`
|
||||
Field10 *int32 `protobuf:"fixed32,10,opt,name=Field10" json:"Field10,omitempty"`
|
||||
Field11 *uint64 `protobuf:"fixed64,11,opt,name=Field11" json:"Field11,omitempty"`
|
||||
Field12 *int64 `protobuf:"fixed64,12,opt,name=Field12" json:"Field12,omitempty"`
|
||||
Field13 *bool `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
|
||||
Field14 *string `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
|
||||
Field15 []byte `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
Field1 *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
|
||||
Field2 *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
|
||||
Field3 *int32 `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
|
||||
Field4 *int64 `protobuf:"varint,4,opt,name=Field4" json:"Field4,omitempty"`
|
||||
Field5 *uint32 `protobuf:"varint,5,opt,name=Field5" json:"Field5,omitempty"`
|
||||
Field6 *uint64 `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
|
||||
Field7 *int32 `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
|
||||
Field8 *int64 `protobuf:"zigzag64,8,opt,name=Field8" json:"Field8,omitempty"`
|
||||
Field9 *uint32 `protobuf:"fixed32,9,opt,name=Field9" json:"Field9,omitempty"`
|
||||
Field10 *int32 `protobuf:"fixed32,10,opt,name=Field10" json:"Field10,omitempty"`
|
||||
Field11 *uint64 `protobuf:"fixed64,11,opt,name=Field11" json:"Field11,omitempty"`
|
||||
Field12 *int64 `protobuf:"fixed64,12,opt,name=Field12" json:"Field12,omitempty"`
|
||||
Field13 *bool `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
|
||||
Field14 *string `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
|
||||
Field15 []byte `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NinOptNative) Reset() { *m = NinOptNative{} }
|
||||
func (m *NinOptNative) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinOptNative) ProtoMessage() {}
|
||||
func (*NinOptNative) Descriptor() ([]byte, []int) { return fileDescriptorFuzz, []int{2} }
|
||||
func (m *NinOptNative) Reset() { *m = NinOptNative{} }
|
||||
func (m *NinOptNative) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinOptNative) ProtoMessage() {}
|
||||
func (*NinOptNative) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_fuzz_a9783a48f1b0a0f4, []int{2}
|
||||
}
|
||||
func (m *NinOptNative) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *NinOptNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_NinOptNative.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalTo(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (dst *NinOptNative) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NinOptNative.Merge(dst, src)
|
||||
}
|
||||
func (m *NinOptNative) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *NinOptNative) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NinOptNative.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NinOptNative proto.InternalMessageInfo
|
||||
|
||||
func (m *NinOptNative) GetField1() float64 {
|
||||
if m != nil && m.Field1 != nil {
|
||||
@@ -290,23 +368,53 @@ func (m *NinOptNative) GetField15() []byte {
|
||||
}
|
||||
|
||||
type NinOptStruct struct {
|
||||
Field1 *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
|
||||
Field2 *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
|
||||
Field3 *NinOptNative `protobuf:"bytes,3,opt,name=Field3" json:"Field3,omitempty"`
|
||||
Field4 *NinOptNative `protobuf:"bytes,4,opt,name=Field4" json:"Field4,omitempty"`
|
||||
Field6 *uint64 `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
|
||||
Field7 *int32 `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
|
||||
Field8 *NinOptNative `protobuf:"bytes,8,opt,name=Field8" json:"Field8,omitempty"`
|
||||
Field13 *bool `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
|
||||
Field14 *string `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
|
||||
Field15 []byte `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
Field1 *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
|
||||
Field2 *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
|
||||
Field3 *NinOptNative `protobuf:"bytes,3,opt,name=Field3" json:"Field3,omitempty"`
|
||||
Field4 *NinOptNative `protobuf:"bytes,4,opt,name=Field4" json:"Field4,omitempty"`
|
||||
Field6 *uint64 `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
|
||||
Field7 *int32 `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
|
||||
Field8 *NinOptNative `protobuf:"bytes,8,opt,name=Field8" json:"Field8,omitempty"`
|
||||
Field13 *bool `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
|
||||
Field14 *string `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
|
||||
Field15 []byte `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NinOptStruct) Reset() { *m = NinOptStruct{} }
|
||||
func (m *NinOptStruct) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinOptStruct) ProtoMessage() {}
|
||||
func (*NinOptStruct) Descriptor() ([]byte, []int) { return fileDescriptorFuzz, []int{3} }
|
||||
func (m *NinOptStruct) Reset() { *m = NinOptStruct{} }
|
||||
func (m *NinOptStruct) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinOptStruct) ProtoMessage() {}
|
||||
func (*NinOptStruct) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_fuzz_a9783a48f1b0a0f4, []int{3}
|
||||
}
|
||||
func (m *NinOptStruct) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *NinOptStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_NinOptStruct.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalTo(b)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (dst *NinOptStruct) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NinOptStruct.Merge(dst, src)
|
||||
}
|
||||
func (m *NinOptStruct) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *NinOptStruct) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NinOptStruct.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NinOptStruct proto.InternalMessageInfo
|
||||
|
||||
func (m *NinOptStruct) GetField1() float64 {
|
||||
if m != nil && m.Field1 != nil {
|
||||
@@ -596,7 +704,7 @@ func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
i = encodeVarintFuzz(dAtA, i, uint64(len(m.Field1)*8))
|
||||
for _, num := range m.Field1 {
|
||||
f1 := math.Float64bits(float64(num))
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(f1))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(f1))
|
||||
i += 8
|
||||
}
|
||||
}
|
||||
@@ -606,7 +714,7 @@ func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
i = encodeVarintFuzz(dAtA, i, uint64(len(m.Field2)*4))
|
||||
for _, num := range m.Field2 {
|
||||
f2 := math.Float32bits(float32(num))
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(f2))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(f2))
|
||||
i += 4
|
||||
}
|
||||
}
|
||||
@@ -721,7 +829,7 @@ func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
i++
|
||||
i = encodeVarintFuzz(dAtA, i, uint64(len(m.Field9)*4))
|
||||
for _, num := range m.Field9 {
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(num))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(num))
|
||||
i += 4
|
||||
}
|
||||
}
|
||||
@@ -730,7 +838,7 @@ func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
i++
|
||||
i = encodeVarintFuzz(dAtA, i, uint64(len(m.Field10)*4))
|
||||
for _, num := range m.Field10 {
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(num))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(num))
|
||||
i += 4
|
||||
}
|
||||
}
|
||||
@@ -739,7 +847,7 @@ func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
i++
|
||||
i = encodeVarintFuzz(dAtA, i, uint64(len(m.Field11)*8))
|
||||
for _, num := range m.Field11 {
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(num))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(num))
|
||||
i += 8
|
||||
}
|
||||
}
|
||||
@@ -748,7 +856,7 @@ func (m *NinRepPackedNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
i++
|
||||
i = encodeVarintFuzz(dAtA, i, uint64(len(m.Field12)*8))
|
||||
for _, num := range m.Field12 {
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(num))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(num))
|
||||
i += 8
|
||||
}
|
||||
}
|
||||
@@ -789,13 +897,13 @@ func (m *NinOptNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
if m.Field1 != nil {
|
||||
dAtA[i] = 0x9
|
||||
i++
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Field1))))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Field1))))
|
||||
i += 8
|
||||
}
|
||||
if m.Field2 != nil {
|
||||
dAtA[i] = 0x15
|
||||
i++
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(*m.Field2))))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(*m.Field2))))
|
||||
i += 4
|
||||
}
|
||||
if m.Field3 != nil {
|
||||
@@ -831,25 +939,25 @@ func (m *NinOptNative) MarshalTo(dAtA []byte) (int, error) {
|
||||
if m.Field9 != nil {
|
||||
dAtA[i] = 0x4d
|
||||
i++
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(*m.Field9))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(*m.Field9))
|
||||
i += 4
|
||||
}
|
||||
if m.Field10 != nil {
|
||||
dAtA[i] = 0x55
|
||||
i++
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(*m.Field10))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(*m.Field10))
|
||||
i += 4
|
||||
}
|
||||
if m.Field11 != nil {
|
||||
dAtA[i] = 0x59
|
||||
i++
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(*m.Field11))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(*m.Field11))
|
||||
i += 8
|
||||
}
|
||||
if m.Field12 != nil {
|
||||
dAtA[i] = 0x61
|
||||
i++
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(*m.Field12))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(*m.Field12))
|
||||
i += 8
|
||||
}
|
||||
if m.Field13 != nil {
|
||||
@@ -898,13 +1006,13 @@ func (m *NinOptStruct) MarshalTo(dAtA []byte) (int, error) {
|
||||
if m.Field1 != nil {
|
||||
dAtA[i] = 0x9
|
||||
i++
|
||||
binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Field1))))
|
||||
encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Field1))))
|
||||
i += 8
|
||||
}
|
||||
if m.Field2 != nil {
|
||||
dAtA[i] = 0x15
|
||||
i++
|
||||
binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(*m.Field2))))
|
||||
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(*m.Field2))))
|
||||
i += 4
|
||||
}
|
||||
if m.Field3 != nil {
|
||||
@@ -1264,7 +1372,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
v2 := float64(math.Float64frombits(v))
|
||||
m.Field1 = append(m.Field1, v2)
|
||||
@@ -1296,7 +1404,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
v2 := float64(math.Float64frombits(v))
|
||||
m.Field1 = append(m.Field1, v2)
|
||||
@@ -1310,7 +1418,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
v2 := float32(math.Float32frombits(v))
|
||||
m.Field2 = append(m.Field2, v2)
|
||||
@@ -1342,7 +1450,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
v2 := float32(math.Float32frombits(v))
|
||||
m.Field2 = append(m.Field2, v2)
|
||||
@@ -1732,7 +1840,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
m.Field9 = append(m.Field9, v)
|
||||
} else if wireType == 2 {
|
||||
@@ -1763,7 +1871,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
m.Field9 = append(m.Field9, v)
|
||||
}
|
||||
@@ -1776,7 +1884,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = int32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
m.Field10 = append(m.Field10, v)
|
||||
} else if wireType == 2 {
|
||||
@@ -1807,7 +1915,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = int32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
m.Field10 = append(m.Field10, v)
|
||||
}
|
||||
@@ -1820,7 +1928,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
m.Field11 = append(m.Field11, v)
|
||||
} else if wireType == 2 {
|
||||
@@ -1851,7 +1959,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
m.Field11 = append(m.Field11, v)
|
||||
}
|
||||
@@ -1864,7 +1972,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = int64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
m.Field12 = append(m.Field12, v)
|
||||
} else if wireType == 2 {
|
||||
@@ -1895,7 +2003,7 @@ func (m *NinRepPackedNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = int64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
m.Field12 = append(m.Field12, v)
|
||||
}
|
||||
@@ -2023,7 +2131,7 @@ func (m *NinOptNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
v2 := float64(math.Float64frombits(v))
|
||||
m.Field1 = &v2
|
||||
@@ -2035,7 +2143,7 @@ func (m *NinOptNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
v2 := float32(math.Float32frombits(v))
|
||||
m.Field2 = &v2
|
||||
@@ -2170,7 +2278,7 @@ func (m *NinOptNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
m.Field9 = &v
|
||||
case 10:
|
||||
@@ -2181,7 +2289,7 @@ func (m *NinOptNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = int32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
m.Field10 = &v
|
||||
case 11:
|
||||
@@ -2192,7 +2300,7 @@ func (m *NinOptNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
m.Field11 = &v
|
||||
case 12:
|
||||
@@ -2203,7 +2311,7 @@ func (m *NinOptNative) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = int64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
m.Field12 = &v
|
||||
case 13:
|
||||
@@ -2347,7 +2455,7 @@ func (m *NinOptStruct) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 8) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
||||
iNdEx += 8
|
||||
v2 := float64(math.Float64frombits(v))
|
||||
m.Field1 = &v2
|
||||
@@ -2359,7 +2467,7 @@ func (m *NinOptStruct) Unmarshal(dAtA []byte) error {
|
||||
if (iNdEx + 4) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
||||
iNdEx += 4
|
||||
v2 := float32(math.Float32frombits(v))
|
||||
m.Field2 = &v2
|
||||
@@ -2712,9 +2820,9 @@ var (
|
||||
ErrIntOverflowFuzz = fmt.Errorf("proto: integer overflow")
|
||||
)
|
||||
|
||||
func init() { proto.RegisterFile("fuzz.proto", fileDescriptorFuzz) }
|
||||
func init() { proto.RegisterFile("fuzz.proto", fileDescriptor_fuzz_a9783a48f1b0a0f4) }
|
||||
|
||||
var fileDescriptorFuzz = []byte{
|
||||
var fileDescriptor_fuzz_a9783a48f1b0a0f4 = []byte{
|
||||
// 445 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0xbf, 0x6e, 0x1a, 0x41,
|
||||
0x10, 0xc7, 0x71, 0xcd, 0x0d, 0x7f, 0xd7, 0x10, 0xf0, 0x15, 0x9b, 0x91, 0x15, 0xa1, 0x15, 0xd5,
|
||||
|
Reference in New Issue
Block a user