mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-23 15:00:22 -04:00
2372 lines
90 KiB
Go
2372 lines
90 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: combos/unmarshaler/casttype.proto
|
|
|
|
package casttype
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
import github_com_gogo_protobuf_test_casttype "github.com/gogo/protobuf/test/casttype"
|
|
|
|
import github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
|
|
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
|
|
import compress_gzip "compress/gzip"
|
|
import bytes "bytes"
|
|
import io_ioutil "io/ioutil"
|
|
|
|
import strings "strings"
|
|
import reflect "reflect"
|
|
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
|
|
import io "io"
|
|
import encoding_binary "encoding/binary"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Castaway struct {
|
|
Int32Ptr *int32 `protobuf:"varint,1,opt,name=Int32Ptr,casttype=int32" json:"Int32Ptr,omitempty"`
|
|
Int32 int32 `protobuf:"varint,2,opt,name=Int32,casttype=int32" json:"Int32"`
|
|
MyUint64Ptr *github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,3,opt,name=MyUint64Ptr,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64Ptr,omitempty"`
|
|
MyUint64 github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,4,opt,name=MyUint64,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64"`
|
|
MyFloat32Ptr *github_com_gogo_protobuf_test_casttype.MyFloat32Type `protobuf:"fixed32,5,opt,name=MyFloat32Ptr,casttype=github.com/gogo/protobuf/test/casttype.MyFloat32Type" json:"MyFloat32Ptr,omitempty"`
|
|
MyFloat32 github_com_gogo_protobuf_test_casttype.MyFloat32Type `protobuf:"fixed32,6,opt,name=MyFloat32,casttype=github.com/gogo/protobuf/test/casttype.MyFloat32Type" json:"MyFloat32"`
|
|
MyFloat64Ptr *github_com_gogo_protobuf_test_casttype.MyFloat64Type `protobuf:"fixed64,7,opt,name=MyFloat64Ptr,casttype=github.com/gogo/protobuf/test/casttype.MyFloat64Type" json:"MyFloat64Ptr,omitempty"`
|
|
MyFloat64 github_com_gogo_protobuf_test_casttype.MyFloat64Type `protobuf:"fixed64,8,opt,name=MyFloat64,casttype=github.com/gogo/protobuf/test/casttype.MyFloat64Type" json:"MyFloat64"`
|
|
MyBytes github_com_gogo_protobuf_test_casttype.Bytes `protobuf:"bytes,9,opt,name=MyBytes,casttype=github.com/gogo/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"`
|
|
NormalBytes []byte `protobuf:"bytes,10,opt,name=NormalBytes" json:"NormalBytes,omitempty"`
|
|
MyUint64S []github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,11,rep,name=MyUint64s,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64s,omitempty"`
|
|
MyMap github_com_gogo_protobuf_test_casttype.MyMapType `protobuf:"bytes,12,rep,name=MyMap,casttype=github.com/gogo/protobuf/test/casttype.MyMapType" json:"MyMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
MyCustomMap map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"bytes,13,rep,name=MyCustomMap,castkey=github.com/gogo/protobuf/test/casttype.MyStringType,castvalue=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyCustomMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
MyNullableMap map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson `protobuf:"bytes,14,rep,name=MyNullableMap,castkey=github.com/gogo/protobuf/test/casttype.MyInt32Type" json:"MyNullableMap,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
MyEmbeddedMap map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson `protobuf:"bytes,15,rep,name=MyEmbeddedMap,castkey=github.com/gogo/protobuf/test/casttype.MyInt32Type" json:"MyEmbeddedMap" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
String_ *github_com_gogo_protobuf_test_casttype.MyStringType `protobuf:"bytes,16,opt,name=String,casttype=github.com/gogo/protobuf/test/casttype.MyStringType" json:"String,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Castaway) Reset() { *m = Castaway{} }
|
|
func (*Castaway) ProtoMessage() {}
|
|
func (*Castaway) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_casttype_bbbbfd21588d9441, []int{0}
|
|
}
|
|
func (m *Castaway) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Castaway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Castaway.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *Castaway) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Castaway.Merge(dst, src)
|
|
}
|
|
func (m *Castaway) XXX_Size() int {
|
|
return xxx_messageInfo_Castaway.Size(m)
|
|
}
|
|
func (m *Castaway) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Castaway.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Castaway proto.InternalMessageInfo
|
|
|
|
type Wilson struct {
|
|
Int64 *int64 `protobuf:"varint,1,opt,name=Int64" json:"Int64,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Wilson) Reset() { *m = Wilson{} }
|
|
func (*Wilson) ProtoMessage() {}
|
|
func (*Wilson) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_casttype_bbbbfd21588d9441, []int{1}
|
|
}
|
|
func (m *Wilson) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Wilson) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Wilson.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *Wilson) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Wilson.Merge(dst, src)
|
|
}
|
|
func (m *Wilson) XXX_Size() int {
|
|
return xxx_messageInfo_Wilson.Size(m)
|
|
}
|
|
func (m *Wilson) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Wilson.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Wilson proto.InternalMessageInfo
|
|
|
|
func init() {
|
|
proto.RegisterType((*Castaway)(nil), "casttype.Castaway")
|
|
proto.RegisterMapType((map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type)(nil), "casttype.Castaway.MyCustomMapEntry")
|
|
proto.RegisterMapType((map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson)(nil), "casttype.Castaway.MyEmbeddedMapEntry")
|
|
proto.RegisterMapType((github_com_gogo_protobuf_test_casttype.MyMapType)(nil), "casttype.Castaway.MyMapEntry")
|
|
proto.RegisterMapType((map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson)(nil), "casttype.Castaway.MyNullableMapEntry")
|
|
proto.RegisterType((*Wilson)(nil), "casttype.Wilson")
|
|
}
|
|
func (this *Castaway) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return CasttypeDescription()
|
|
}
|
|
func (this *Wilson) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
return CasttypeDescription()
|
|
}
|
|
func CasttypeDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
|
|
d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{}
|
|
var gzipped = []byte{
|
|
// 4260 bytes of a gzipped FileDescriptorSet
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5d, 0x70, 0x1b, 0xd7,
|
|
0x75, 0xe6, 0xe2, 0x87, 0x04, 0x0e, 0x40, 0x70, 0x79, 0x49, 0x4b, 0x10, 0x1d, 0x83, 0x14, 0xe5,
|
|
0x1f, 0xda, 0x4e, 0x28, 0x8f, 0xfe, 0x05, 0x25, 0x76, 0x09, 0x12, 0x62, 0xa0, 0x12, 0x24, 0xb3,
|
|
0x24, 0x23, 0xcb, 0x69, 0x67, 0x67, 0xb9, 0xb8, 0x04, 0x57, 0x5a, 0xec, 0x6e, 0x76, 0x17, 0x92,
|
|
0xa1, 0xe9, 0x83, 0x1a, 0xb7, 0xcd, 0xa4, 0x9d, 0xfe, 0x77, 0xa6, 0x89, 0xeb, 0xb8, 0x4d, 0x67,
|
|
0x52, 0xa7, 0xe9, 0x5f, 0xd2, 0x34, 0x6e, 0xd2, 0xa7, 0xbc, 0xa4, 0xf5, 0x53, 0x27, 0x79, 0xeb,
|
|
0x43, 0x47, 0xb6, 0x18, 0xcf, 0xd4, 0x69, 0xdd, 0xc6, 0x6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 0x3e, 0x68, 0x96, 0x53, 0xd8, 0x43, 0x69, 0xe5, 0xb5, 0x3b, 0x85, 0xa1, 0x1f, 0xdc, 0x29,
|
|
0x0c, 0xfd, 0xdb, 0x9d, 0xc2, 0xd0, 0x1b, 0x77, 0x0a, 0xd2, 0x5b, 0x77, 0x0a, 0xd2, 0x3b, 0x77,
|
|
0x0a, 0xd2, 0x7b, 0x77, 0x0a, 0xd2, 0xad, 0xbd, 0x82, 0xf4, 0xb5, 0xbd, 0x82, 0xf4, 0x8d, 0xbd,
|
|
0x82, 0xf4, 0x9d, 0xbd, 0x82, 0xf4, 0xbd, 0xbd, 0x82, 0xf4, 0xda, 0x5e, 0x61, 0xe8, 0x07, 0x7b,
|
|
0x05, 0xe9, 0x8d, 0xbd, 0x82, 0xf4, 0xd6, 0x5e, 0x61, 0xe8, 0x9d, 0xbd, 0x82, 0xf4, 0xde, 0x5e,
|
|
0x61, 0xe8, 0xd6, 0x8f, 0x0a, 0x43, 0x3f, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x04, 0x06, 0x3e, 0x80,
|
|
0xd3, 0x38, 0x00, 0x00,
|
|
}
|
|
r := bytes.NewReader(gzipped)
|
|
gzipr, err := compress_gzip.NewReader(r)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
ungzipped, err := io_ioutil.ReadAll(gzipr)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil {
|
|
panic(err)
|
|
}
|
|
return d
|
|
}
|
|
func (this *Castaway) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*Castaway)
|
|
if !ok {
|
|
that2, ok := that.(Castaway)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *Castaway")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *Castaway but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *Castaway but is not nil && this == nil")
|
|
}
|
|
if this.Int32Ptr != nil && that1.Int32Ptr != nil {
|
|
if *this.Int32Ptr != *that1.Int32Ptr {
|
|
return fmt.Errorf("Int32Ptr this(%v) Not Equal that(%v)", *this.Int32Ptr, *that1.Int32Ptr)
|
|
}
|
|
} else if this.Int32Ptr != nil {
|
|
return fmt.Errorf("this.Int32Ptr == nil && that.Int32Ptr != nil")
|
|
} else if that1.Int32Ptr != nil {
|
|
return fmt.Errorf("Int32Ptr this(%v) Not Equal that(%v)", this.Int32Ptr, that1.Int32Ptr)
|
|
}
|
|
if this.Int32 != that1.Int32 {
|
|
return fmt.Errorf("Int32 this(%v) Not Equal that(%v)", this.Int32, that1.Int32)
|
|
}
|
|
if this.MyUint64Ptr != nil && that1.MyUint64Ptr != nil {
|
|
if *this.MyUint64Ptr != *that1.MyUint64Ptr {
|
|
return fmt.Errorf("MyUint64Ptr this(%v) Not Equal that(%v)", *this.MyUint64Ptr, *that1.MyUint64Ptr)
|
|
}
|
|
} else if this.MyUint64Ptr != nil {
|
|
return fmt.Errorf("this.MyUint64Ptr == nil && that.MyUint64Ptr != nil")
|
|
} else if that1.MyUint64Ptr != nil {
|
|
return fmt.Errorf("MyUint64Ptr this(%v) Not Equal that(%v)", this.MyUint64Ptr, that1.MyUint64Ptr)
|
|
}
|
|
if this.MyUint64 != that1.MyUint64 {
|
|
return fmt.Errorf("MyUint64 this(%v) Not Equal that(%v)", this.MyUint64, that1.MyUint64)
|
|
}
|
|
if this.MyFloat32Ptr != nil && that1.MyFloat32Ptr != nil {
|
|
if *this.MyFloat32Ptr != *that1.MyFloat32Ptr {
|
|
return fmt.Errorf("MyFloat32Ptr this(%v) Not Equal that(%v)", *this.MyFloat32Ptr, *that1.MyFloat32Ptr)
|
|
}
|
|
} else if this.MyFloat32Ptr != nil {
|
|
return fmt.Errorf("this.MyFloat32Ptr == nil && that.MyFloat32Ptr != nil")
|
|
} else if that1.MyFloat32Ptr != nil {
|
|
return fmt.Errorf("MyFloat32Ptr this(%v) Not Equal that(%v)", this.MyFloat32Ptr, that1.MyFloat32Ptr)
|
|
}
|
|
if this.MyFloat32 != that1.MyFloat32 {
|
|
return fmt.Errorf("MyFloat32 this(%v) Not Equal that(%v)", this.MyFloat32, that1.MyFloat32)
|
|
}
|
|
if this.MyFloat64Ptr != nil && that1.MyFloat64Ptr != nil {
|
|
if *this.MyFloat64Ptr != *that1.MyFloat64Ptr {
|
|
return fmt.Errorf("MyFloat64Ptr this(%v) Not Equal that(%v)", *this.MyFloat64Ptr, *that1.MyFloat64Ptr)
|
|
}
|
|
} else if this.MyFloat64Ptr != nil {
|
|
return fmt.Errorf("this.MyFloat64Ptr == nil && that.MyFloat64Ptr != nil")
|
|
} else if that1.MyFloat64Ptr != nil {
|
|
return fmt.Errorf("MyFloat64Ptr this(%v) Not Equal that(%v)", this.MyFloat64Ptr, that1.MyFloat64Ptr)
|
|
}
|
|
if this.MyFloat64 != that1.MyFloat64 {
|
|
return fmt.Errorf("MyFloat64 this(%v) Not Equal that(%v)", this.MyFloat64, that1.MyFloat64)
|
|
}
|
|
if !bytes.Equal(this.MyBytes, that1.MyBytes) {
|
|
return fmt.Errorf("MyBytes this(%v) Not Equal that(%v)", this.MyBytes, that1.MyBytes)
|
|
}
|
|
if !bytes.Equal(this.NormalBytes, that1.NormalBytes) {
|
|
return fmt.Errorf("NormalBytes this(%v) Not Equal that(%v)", this.NormalBytes, that1.NormalBytes)
|
|
}
|
|
if len(this.MyUint64S) != len(that1.MyUint64S) {
|
|
return fmt.Errorf("MyUint64S this(%v) Not Equal that(%v)", len(this.MyUint64S), len(that1.MyUint64S))
|
|
}
|
|
for i := range this.MyUint64S {
|
|
if this.MyUint64S[i] != that1.MyUint64S[i] {
|
|
return fmt.Errorf("MyUint64S this[%v](%v) Not Equal that[%v](%v)", i, this.MyUint64S[i], i, that1.MyUint64S[i])
|
|
}
|
|
}
|
|
if len(this.MyMap) != len(that1.MyMap) {
|
|
return fmt.Errorf("MyMap this(%v) Not Equal that(%v)", len(this.MyMap), len(that1.MyMap))
|
|
}
|
|
for i := range this.MyMap {
|
|
if this.MyMap[i] != that1.MyMap[i] {
|
|
return fmt.Errorf("MyMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyMap[i], i, that1.MyMap[i])
|
|
}
|
|
}
|
|
if len(this.MyCustomMap) != len(that1.MyCustomMap) {
|
|
return fmt.Errorf("MyCustomMap this(%v) Not Equal that(%v)", len(this.MyCustomMap), len(that1.MyCustomMap))
|
|
}
|
|
for i := range this.MyCustomMap {
|
|
if this.MyCustomMap[i] != that1.MyCustomMap[i] {
|
|
return fmt.Errorf("MyCustomMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyCustomMap[i], i, that1.MyCustomMap[i])
|
|
}
|
|
}
|
|
if len(this.MyNullableMap) != len(that1.MyNullableMap) {
|
|
return fmt.Errorf("MyNullableMap this(%v) Not Equal that(%v)", len(this.MyNullableMap), len(that1.MyNullableMap))
|
|
}
|
|
for i := range this.MyNullableMap {
|
|
if !this.MyNullableMap[i].Equal(that1.MyNullableMap[i]) {
|
|
return fmt.Errorf("MyNullableMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyNullableMap[i], i, that1.MyNullableMap[i])
|
|
}
|
|
}
|
|
if len(this.MyEmbeddedMap) != len(that1.MyEmbeddedMap) {
|
|
return fmt.Errorf("MyEmbeddedMap this(%v) Not Equal that(%v)", len(this.MyEmbeddedMap), len(that1.MyEmbeddedMap))
|
|
}
|
|
for i := range this.MyEmbeddedMap {
|
|
a := this.MyEmbeddedMap[i]
|
|
b := that1.MyEmbeddedMap[i]
|
|
if !(&a).Equal(&b) {
|
|
return fmt.Errorf("MyEmbeddedMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyEmbeddedMap[i], i, that1.MyEmbeddedMap[i])
|
|
}
|
|
}
|
|
if this.String_ != nil && that1.String_ != nil {
|
|
if *this.String_ != *that1.String_ {
|
|
return fmt.Errorf("String_ this(%v) Not Equal that(%v)", *this.String_, *that1.String_)
|
|
}
|
|
} else if this.String_ != nil {
|
|
return fmt.Errorf("this.String_ == nil && that.String_ != nil")
|
|
} else if that1.String_ != nil {
|
|
return fmt.Errorf("String_ this(%v) Not Equal that(%v)", this.String_, that1.String_)
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *Castaway) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Castaway)
|
|
if !ok {
|
|
that2, ok := that.(Castaway)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Int32Ptr != nil && that1.Int32Ptr != nil {
|
|
if *this.Int32Ptr != *that1.Int32Ptr {
|
|
return false
|
|
}
|
|
} else if this.Int32Ptr != nil {
|
|
return false
|
|
} else if that1.Int32Ptr != nil {
|
|
return false
|
|
}
|
|
if this.Int32 != that1.Int32 {
|
|
return false
|
|
}
|
|
if this.MyUint64Ptr != nil && that1.MyUint64Ptr != nil {
|
|
if *this.MyUint64Ptr != *that1.MyUint64Ptr {
|
|
return false
|
|
}
|
|
} else if this.MyUint64Ptr != nil {
|
|
return false
|
|
} else if that1.MyUint64Ptr != nil {
|
|
return false
|
|
}
|
|
if this.MyUint64 != that1.MyUint64 {
|
|
return false
|
|
}
|
|
if this.MyFloat32Ptr != nil && that1.MyFloat32Ptr != nil {
|
|
if *this.MyFloat32Ptr != *that1.MyFloat32Ptr {
|
|
return false
|
|
}
|
|
} else if this.MyFloat32Ptr != nil {
|
|
return false
|
|
} else if that1.MyFloat32Ptr != nil {
|
|
return false
|
|
}
|
|
if this.MyFloat32 != that1.MyFloat32 {
|
|
return false
|
|
}
|
|
if this.MyFloat64Ptr != nil && that1.MyFloat64Ptr != nil {
|
|
if *this.MyFloat64Ptr != *that1.MyFloat64Ptr {
|
|
return false
|
|
}
|
|
} else if this.MyFloat64Ptr != nil {
|
|
return false
|
|
} else if that1.MyFloat64Ptr != nil {
|
|
return false
|
|
}
|
|
if this.MyFloat64 != that1.MyFloat64 {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.MyBytes, that1.MyBytes) {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.NormalBytes, that1.NormalBytes) {
|
|
return false
|
|
}
|
|
if len(this.MyUint64S) != len(that1.MyUint64S) {
|
|
return false
|
|
}
|
|
for i := range this.MyUint64S {
|
|
if this.MyUint64S[i] != that1.MyUint64S[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.MyMap) != len(that1.MyMap) {
|
|
return false
|
|
}
|
|
for i := range this.MyMap {
|
|
if this.MyMap[i] != that1.MyMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.MyCustomMap) != len(that1.MyCustomMap) {
|
|
return false
|
|
}
|
|
for i := range this.MyCustomMap {
|
|
if this.MyCustomMap[i] != that1.MyCustomMap[i] {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.MyNullableMap) != len(that1.MyNullableMap) {
|
|
return false
|
|
}
|
|
for i := range this.MyNullableMap {
|
|
if !this.MyNullableMap[i].Equal(that1.MyNullableMap[i]) {
|
|
return false
|
|
}
|
|
}
|
|
if len(this.MyEmbeddedMap) != len(that1.MyEmbeddedMap) {
|
|
return false
|
|
}
|
|
for i := range this.MyEmbeddedMap {
|
|
a := this.MyEmbeddedMap[i]
|
|
b := that1.MyEmbeddedMap[i]
|
|
if !(&a).Equal(&b) {
|
|
return false
|
|
}
|
|
}
|
|
if this.String_ != nil && that1.String_ != nil {
|
|
if *this.String_ != *that1.String_ {
|
|
return false
|
|
}
|
|
} else if this.String_ != nil {
|
|
return false
|
|
} else if that1.String_ != nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
func (this *Wilson) VerboseEqual(that interface{}) error {
|
|
if that == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that == nil && this != nil")
|
|
}
|
|
|
|
that1, ok := that.(*Wilson)
|
|
if !ok {
|
|
that2, ok := that.(Wilson)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return fmt.Errorf("that is not of type *Wilson")
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return fmt.Errorf("that is type *Wilson but is nil && this != nil")
|
|
} else if this == nil {
|
|
return fmt.Errorf("that is type *Wilson but is not nil && this == nil")
|
|
}
|
|
if this.Int64 != nil && that1.Int64 != nil {
|
|
if *this.Int64 != *that1.Int64 {
|
|
return fmt.Errorf("Int64 this(%v) Not Equal that(%v)", *this.Int64, *that1.Int64)
|
|
}
|
|
} else if this.Int64 != nil {
|
|
return fmt.Errorf("this.Int64 == nil && that.Int64 != nil")
|
|
} else if that1.Int64 != nil {
|
|
return fmt.Errorf("Int64 this(%v) Not Equal that(%v)", this.Int64, that1.Int64)
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
|
|
}
|
|
return nil
|
|
}
|
|
func (this *Wilson) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
that1, ok := that.(*Wilson)
|
|
if !ok {
|
|
that2, ok := that.(Wilson)
|
|
if ok {
|
|
that1 = &that2
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
if that1 == nil {
|
|
return this == nil
|
|
} else if this == nil {
|
|
return false
|
|
}
|
|
if this.Int64 != nil && that1.Int64 != nil {
|
|
if *this.Int64 != *that1.Int64 {
|
|
return false
|
|
}
|
|
} else if this.Int64 != nil {
|
|
return false
|
|
} else if that1.Int64 != nil {
|
|
return false
|
|
}
|
|
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
return false
|
|
}
|
|
return true
|
|
}
|
|
|
|
type CastawayFace interface {
|
|
Proto() github_com_gogo_protobuf_proto.Message
|
|
GetInt32Ptr() *int32
|
|
GetInt32() int32
|
|
GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
GetMyFloat32Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat32Type
|
|
GetMyFloat32() github_com_gogo_protobuf_test_casttype.MyFloat32Type
|
|
GetMyFloat64Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat64Type
|
|
GetMyFloat64() github_com_gogo_protobuf_test_casttype.MyFloat64Type
|
|
GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes
|
|
GetNormalBytes() []byte
|
|
GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
GetMyMap() github_com_gogo_protobuf_test_casttype.MyMapType
|
|
GetMyCustomMap() map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
GetMyNullableMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson
|
|
GetMyEmbeddedMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson
|
|
GetString_() *github_com_gogo_protobuf_test_casttype.MyStringType
|
|
}
|
|
|
|
func (this *Castaway) Proto() github_com_gogo_protobuf_proto.Message {
|
|
return this
|
|
}
|
|
|
|
func (this *Castaway) TestProto() github_com_gogo_protobuf_proto.Message {
|
|
return NewCastawayFromFace(this)
|
|
}
|
|
|
|
func (this *Castaway) GetInt32Ptr() *int32 {
|
|
return this.Int32Ptr
|
|
}
|
|
|
|
func (this *Castaway) GetInt32() int32 {
|
|
return this.Int32
|
|
}
|
|
|
|
func (this *Castaway) GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type {
|
|
return this.MyUint64Ptr
|
|
}
|
|
|
|
func (this *Castaway) GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type {
|
|
return this.MyUint64
|
|
}
|
|
|
|
func (this *Castaway) GetMyFloat32Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat32Type {
|
|
return this.MyFloat32Ptr
|
|
}
|
|
|
|
func (this *Castaway) GetMyFloat32() github_com_gogo_protobuf_test_casttype.MyFloat32Type {
|
|
return this.MyFloat32
|
|
}
|
|
|
|
func (this *Castaway) GetMyFloat64Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat64Type {
|
|
return this.MyFloat64Ptr
|
|
}
|
|
|
|
func (this *Castaway) GetMyFloat64() github_com_gogo_protobuf_test_casttype.MyFloat64Type {
|
|
return this.MyFloat64
|
|
}
|
|
|
|
func (this *Castaway) GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes {
|
|
return this.MyBytes
|
|
}
|
|
|
|
func (this *Castaway) GetNormalBytes() []byte {
|
|
return this.NormalBytes
|
|
}
|
|
|
|
func (this *Castaway) GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type {
|
|
return this.MyUint64S
|
|
}
|
|
|
|
func (this *Castaway) GetMyMap() github_com_gogo_protobuf_test_casttype.MyMapType {
|
|
return this.MyMap
|
|
}
|
|
|
|
func (this *Castaway) GetMyCustomMap() map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type {
|
|
return this.MyCustomMap
|
|
}
|
|
|
|
func (this *Castaway) GetMyNullableMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson {
|
|
return this.MyNullableMap
|
|
}
|
|
|
|
func (this *Castaway) GetMyEmbeddedMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson {
|
|
return this.MyEmbeddedMap
|
|
}
|
|
|
|
func (this *Castaway) GetString_() *github_com_gogo_protobuf_test_casttype.MyStringType {
|
|
return this.String_
|
|
}
|
|
|
|
func NewCastawayFromFace(that CastawayFace) *Castaway {
|
|
this := &Castaway{}
|
|
this.Int32Ptr = that.GetInt32Ptr()
|
|
this.Int32 = that.GetInt32()
|
|
this.MyUint64Ptr = that.GetMyUint64Ptr()
|
|
this.MyUint64 = that.GetMyUint64()
|
|
this.MyFloat32Ptr = that.GetMyFloat32Ptr()
|
|
this.MyFloat32 = that.GetMyFloat32()
|
|
this.MyFloat64Ptr = that.GetMyFloat64Ptr()
|
|
this.MyFloat64 = that.GetMyFloat64()
|
|
this.MyBytes = that.GetMyBytes()
|
|
this.NormalBytes = that.GetNormalBytes()
|
|
this.MyUint64S = that.GetMyUint64S()
|
|
this.MyMap = that.GetMyMap()
|
|
this.MyCustomMap = that.GetMyCustomMap()
|
|
this.MyNullableMap = that.GetMyNullableMap()
|
|
this.MyEmbeddedMap = that.GetMyEmbeddedMap()
|
|
this.String_ = that.GetString_()
|
|
return this
|
|
}
|
|
|
|
type WilsonFace interface {
|
|
Proto() github_com_gogo_protobuf_proto.Message
|
|
GetInt64() *int64
|
|
}
|
|
|
|
func (this *Wilson) Proto() github_com_gogo_protobuf_proto.Message {
|
|
return this
|
|
}
|
|
|
|
func (this *Wilson) TestProto() github_com_gogo_protobuf_proto.Message {
|
|
return NewWilsonFromFace(this)
|
|
}
|
|
|
|
func (this *Wilson) GetInt64() *int64 {
|
|
return this.Int64
|
|
}
|
|
|
|
func NewWilsonFromFace(that WilsonFace) *Wilson {
|
|
this := &Wilson{}
|
|
this.Int64 = that.GetInt64()
|
|
return this
|
|
}
|
|
|
|
func (this *Castaway) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 20)
|
|
s = append(s, "&casttype.Castaway{")
|
|
if this.Int32Ptr != nil {
|
|
s = append(s, "Int32Ptr: "+valueToGoStringCasttype(this.Int32Ptr, "int32")+",\n")
|
|
}
|
|
s = append(s, "Int32: "+fmt.Sprintf("%#v", this.Int32)+",\n")
|
|
if this.MyUint64Ptr != nil {
|
|
s = append(s, "MyUint64Ptr: "+valueToGoStringCasttype(this.MyUint64Ptr, "github_com_gogo_protobuf_test_casttype.MyUint64Type")+",\n")
|
|
}
|
|
s = append(s, "MyUint64: "+fmt.Sprintf("%#v", this.MyUint64)+",\n")
|
|
if this.MyFloat32Ptr != nil {
|
|
s = append(s, "MyFloat32Ptr: "+valueToGoStringCasttype(this.MyFloat32Ptr, "github_com_gogo_protobuf_test_casttype.MyFloat32Type")+",\n")
|
|
}
|
|
s = append(s, "MyFloat32: "+fmt.Sprintf("%#v", this.MyFloat32)+",\n")
|
|
if this.MyFloat64Ptr != nil {
|
|
s = append(s, "MyFloat64Ptr: "+valueToGoStringCasttype(this.MyFloat64Ptr, "github_com_gogo_protobuf_test_casttype.MyFloat64Type")+",\n")
|
|
}
|
|
s = append(s, "MyFloat64: "+fmt.Sprintf("%#v", this.MyFloat64)+",\n")
|
|
if this.MyBytes != nil {
|
|
s = append(s, "MyBytes: "+valueToGoStringCasttype(this.MyBytes, "github_com_gogo_protobuf_test_casttype.Bytes")+",\n")
|
|
}
|
|
if this.NormalBytes != nil {
|
|
s = append(s, "NormalBytes: "+valueToGoStringCasttype(this.NormalBytes, "byte")+",\n")
|
|
}
|
|
if this.MyUint64S != nil {
|
|
s = append(s, "MyUint64S: "+fmt.Sprintf("%#v", this.MyUint64S)+",\n")
|
|
}
|
|
keysForMyMap := make([]string, 0, len(this.MyMap))
|
|
for k := range this.MyMap {
|
|
keysForMyMap = append(keysForMyMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMyMap)
|
|
mapStringForMyMap := "github_com_gogo_protobuf_test_casttype.MyMapType{"
|
|
for _, k := range keysForMyMap {
|
|
mapStringForMyMap += fmt.Sprintf("%#v: %#v,", k, this.MyMap[k])
|
|
}
|
|
mapStringForMyMap += "}"
|
|
if this.MyMap != nil {
|
|
s = append(s, "MyMap: "+mapStringForMyMap+",\n")
|
|
}
|
|
keysForMyCustomMap := make([]string, 0, len(this.MyCustomMap))
|
|
for k := range this.MyCustomMap {
|
|
keysForMyCustomMap = append(keysForMyCustomMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMyCustomMap)
|
|
mapStringForMyCustomMap := "map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type{"
|
|
for _, k := range keysForMyCustomMap {
|
|
mapStringForMyCustomMap += fmt.Sprintf("%#v: %#v,", k, this.MyCustomMap[github_com_gogo_protobuf_test_casttype.MyStringType(k)])
|
|
}
|
|
mapStringForMyCustomMap += "}"
|
|
if this.MyCustomMap != nil {
|
|
s = append(s, "MyCustomMap: "+mapStringForMyCustomMap+",\n")
|
|
}
|
|
keysForMyNullableMap := make([]int32, 0, len(this.MyNullableMap))
|
|
for k := range this.MyNullableMap {
|
|
keysForMyNullableMap = append(keysForMyNullableMap, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForMyNullableMap)
|
|
mapStringForMyNullableMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson{"
|
|
for _, k := range keysForMyNullableMap {
|
|
mapStringForMyNullableMap += fmt.Sprintf("%#v: %#v,", k, this.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)])
|
|
}
|
|
mapStringForMyNullableMap += "}"
|
|
if this.MyNullableMap != nil {
|
|
s = append(s, "MyNullableMap: "+mapStringForMyNullableMap+",\n")
|
|
}
|
|
keysForMyEmbeddedMap := make([]int32, 0, len(this.MyEmbeddedMap))
|
|
for k := range this.MyEmbeddedMap {
|
|
keysForMyEmbeddedMap = append(keysForMyEmbeddedMap, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForMyEmbeddedMap)
|
|
mapStringForMyEmbeddedMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson{"
|
|
for _, k := range keysForMyEmbeddedMap {
|
|
mapStringForMyEmbeddedMap += fmt.Sprintf("%#v: %#v,", k, this.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)])
|
|
}
|
|
mapStringForMyEmbeddedMap += "}"
|
|
if this.MyEmbeddedMap != nil {
|
|
s = append(s, "MyEmbeddedMap: "+mapStringForMyEmbeddedMap+",\n")
|
|
}
|
|
if this.String_ != nil {
|
|
s = append(s, "String_: "+valueToGoStringCasttype(this.String_, "github_com_gogo_protobuf_test_casttype.MyStringType")+",\n")
|
|
}
|
|
if this.XXX_unrecognized != nil {
|
|
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func (this *Wilson) GoString() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := make([]string, 0, 5)
|
|
s = append(s, "&casttype.Wilson{")
|
|
if this.Int64 != nil {
|
|
s = append(s, "Int64: "+valueToGoStringCasttype(this.Int64, "int64")+",\n")
|
|
}
|
|
if this.XXX_unrecognized != nil {
|
|
s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
}
|
|
s = append(s, "}")
|
|
return strings.Join(s, "")
|
|
}
|
|
func valueToGoStringCasttype(v interface{}, typ string) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
|
}
|
|
func NewPopulatedCastaway(r randyCasttype, easy bool) *Castaway {
|
|
this := &Castaway{}
|
|
if r.Intn(10) != 0 {
|
|
v1 := int32(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
v1 *= -1
|
|
}
|
|
this.Int32Ptr = &v1
|
|
}
|
|
this.Int32 = int32(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
this.Int32 *= -1
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v2 := github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32()))
|
|
this.MyUint64Ptr = &v2
|
|
}
|
|
this.MyUint64 = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32()))
|
|
if r.Intn(10) != 0 {
|
|
v3 := github_com_gogo_protobuf_test_casttype.MyFloat32Type(r.Float32())
|
|
if r.Intn(2) == 0 {
|
|
v3 *= -1
|
|
}
|
|
this.MyFloat32Ptr = &v3
|
|
}
|
|
this.MyFloat32 = github_com_gogo_protobuf_test_casttype.MyFloat32Type(r.Float32())
|
|
if r.Intn(2) == 0 {
|
|
this.MyFloat32 *= -1
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v4 := github_com_gogo_protobuf_test_casttype.MyFloat64Type(r.Float64())
|
|
if r.Intn(2) == 0 {
|
|
v4 *= -1
|
|
}
|
|
this.MyFloat64Ptr = &v4
|
|
}
|
|
this.MyFloat64 = github_com_gogo_protobuf_test_casttype.MyFloat64Type(r.Float64())
|
|
if r.Intn(2) == 0 {
|
|
this.MyFloat64 *= -1
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v5 := r.Intn(100)
|
|
this.MyBytes = make(github_com_gogo_protobuf_test_casttype.Bytes, v5)
|
|
for i := 0; i < v5; i++ {
|
|
this.MyBytes[i] = byte(r.Intn(256))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v6 := r.Intn(100)
|
|
this.NormalBytes = make([]byte, v6)
|
|
for i := 0; i < v6; i++ {
|
|
this.NormalBytes[i] = byte(r.Intn(256))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v7 := r.Intn(10)
|
|
this.MyUint64S = make([]github_com_gogo_protobuf_test_casttype.MyUint64Type, v7)
|
|
for i := 0; i < v7; i++ {
|
|
this.MyUint64S[i] = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v8 := r.Intn(10)
|
|
this.MyMap = make(github_com_gogo_protobuf_test_casttype.MyMapType)
|
|
for i := 0; i < v8; i++ {
|
|
v9 := randStringCasttype(r)
|
|
this.MyMap[v9] = uint64(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v10 := r.Intn(10)
|
|
this.MyCustomMap = make(map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type)
|
|
for i := 0; i < v10; i++ {
|
|
v11 := github_com_gogo_protobuf_test_casttype.MyStringType(randStringCasttype(r))
|
|
this.MyCustomMap[v11] = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32()))
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v12 := r.Intn(10)
|
|
this.MyNullableMap = make(map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson)
|
|
for i := 0; i < v12; i++ {
|
|
this.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(int32(r.Int31()))] = NewPopulatedWilson(r, easy)
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v13 := r.Intn(10)
|
|
this.MyEmbeddedMap = make(map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson)
|
|
for i := 0; i < v13; i++ {
|
|
this.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(int32(r.Int31()))] = *NewPopulatedWilson(r, easy)
|
|
}
|
|
}
|
|
if r.Intn(10) != 0 {
|
|
v14 := github_com_gogo_protobuf_test_casttype.MyStringType(randStringCasttype(r))
|
|
this.String_ = &v14
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
this.XXX_unrecognized = randUnrecognizedCasttype(r, 17)
|
|
}
|
|
return this
|
|
}
|
|
|
|
func NewPopulatedWilson(r randyCasttype, easy bool) *Wilson {
|
|
this := &Wilson{}
|
|
if r.Intn(10) != 0 {
|
|
v15 := int64(r.Int63())
|
|
if r.Intn(2) == 0 {
|
|
v15 *= -1
|
|
}
|
|
this.Int64 = &v15
|
|
}
|
|
if !easy && r.Intn(10) != 0 {
|
|
this.XXX_unrecognized = randUnrecognizedCasttype(r, 2)
|
|
}
|
|
return this
|
|
}
|
|
|
|
type randyCasttype interface {
|
|
Float32() float32
|
|
Float64() float64
|
|
Int63() int64
|
|
Int31() int32
|
|
Uint32() uint32
|
|
Intn(n int) int
|
|
}
|
|
|
|
func randUTF8RuneCasttype(r randyCasttype) rune {
|
|
ru := r.Intn(62)
|
|
if ru < 10 {
|
|
return rune(ru + 48)
|
|
} else if ru < 36 {
|
|
return rune(ru + 55)
|
|
}
|
|
return rune(ru + 61)
|
|
}
|
|
func randStringCasttype(r randyCasttype) string {
|
|
v16 := r.Intn(100)
|
|
tmps := make([]rune, v16)
|
|
for i := 0; i < v16; i++ {
|
|
tmps[i] = randUTF8RuneCasttype(r)
|
|
}
|
|
return string(tmps)
|
|
}
|
|
func randUnrecognizedCasttype(r randyCasttype, maxFieldNumber int) (dAtA []byte) {
|
|
l := r.Intn(5)
|
|
for i := 0; i < l; i++ {
|
|
wire := r.Intn(4)
|
|
if wire == 3 {
|
|
wire = 5
|
|
}
|
|
fieldNumber := maxFieldNumber + r.Intn(100)
|
|
dAtA = randFieldCasttype(dAtA, r, fieldNumber, wire)
|
|
}
|
|
return dAtA
|
|
}
|
|
func randFieldCasttype(dAtA []byte, r randyCasttype, fieldNumber int, wire int) []byte {
|
|
key := uint32(fieldNumber)<<3 | uint32(wire)
|
|
switch wire {
|
|
case 0:
|
|
dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key))
|
|
v17 := r.Int63()
|
|
if r.Intn(2) == 0 {
|
|
v17 *= -1
|
|
}
|
|
dAtA = encodeVarintPopulateCasttype(dAtA, uint64(v17))
|
|
case 1:
|
|
dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key))
|
|
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
|
|
case 2:
|
|
dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key))
|
|
ll := r.Intn(100)
|
|
dAtA = encodeVarintPopulateCasttype(dAtA, uint64(ll))
|
|
for j := 0; j < ll; j++ {
|
|
dAtA = append(dAtA, byte(r.Intn(256)))
|
|
}
|
|
default:
|
|
dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key))
|
|
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
|
|
}
|
|
return dAtA
|
|
}
|
|
func encodeVarintPopulateCasttype(dAtA []byte, v uint64) []byte {
|
|
for v >= 1<<7 {
|
|
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
|
|
v >>= 7
|
|
}
|
|
dAtA = append(dAtA, uint8(v))
|
|
return dAtA
|
|
}
|
|
func (m *Castaway) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Int32Ptr != nil {
|
|
n += 1 + sovCasttype(uint64(*m.Int32Ptr))
|
|
}
|
|
n += 1 + sovCasttype(uint64(m.Int32))
|
|
if m.MyUint64Ptr != nil {
|
|
n += 1 + sovCasttype(uint64(*m.MyUint64Ptr))
|
|
}
|
|
n += 1 + sovCasttype(uint64(m.MyUint64))
|
|
if m.MyFloat32Ptr != nil {
|
|
n += 5
|
|
}
|
|
n += 5
|
|
if m.MyFloat64Ptr != nil {
|
|
n += 9
|
|
}
|
|
n += 9
|
|
if m.MyBytes != nil {
|
|
l = len(m.MyBytes)
|
|
n += 1 + l + sovCasttype(uint64(l))
|
|
}
|
|
if m.NormalBytes != nil {
|
|
l = len(m.NormalBytes)
|
|
n += 1 + l + sovCasttype(uint64(l))
|
|
}
|
|
if len(m.MyUint64S) > 0 {
|
|
for _, e := range m.MyUint64S {
|
|
n += 1 + sovCasttype(uint64(e))
|
|
}
|
|
}
|
|
if len(m.MyMap) > 0 {
|
|
for k, v := range m.MyMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovCasttype(uint64(len(k))) + 1 + sovCasttype(uint64(v))
|
|
n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.MyCustomMap) > 0 {
|
|
for k, v := range m.MyCustomMap {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovCasttype(uint64(len(k))) + 1 + sovCasttype(uint64(v))
|
|
n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.MyNullableMap) > 0 {
|
|
for k, v := range m.MyNullableMap {
|
|
_ = k
|
|
_ = v
|
|
l = 0
|
|
if v != nil {
|
|
l = v.Size()
|
|
l += 1 + sovCasttype(uint64(l))
|
|
}
|
|
mapEntrySize := 1 + sovCasttype(uint64(k)) + l
|
|
n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if len(m.MyEmbeddedMap) > 0 {
|
|
for k, v := range m.MyEmbeddedMap {
|
|
_ = k
|
|
_ = v
|
|
l = v.Size()
|
|
mapEntrySize := 1 + sovCasttype(uint64(k)) + 1 + l + sovCasttype(uint64(l))
|
|
n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
if m.String_ != nil {
|
|
l = len(*m.String_)
|
|
n += 2 + l + sovCasttype(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Wilson) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Int64 != nil {
|
|
n += 1 + sovCasttype(uint64(*m.Int64))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovCasttype(x uint64) (n int) {
|
|
for {
|
|
n++
|
|
x >>= 7
|
|
if x == 0 {
|
|
break
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
func sozCasttype(x uint64) (n int) {
|
|
return sovCasttype(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *Castaway) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForMyMap := make([]string, 0, len(this.MyMap))
|
|
for k := range this.MyMap {
|
|
keysForMyMap = append(keysForMyMap, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMyMap)
|
|
mapStringForMyMap := "github_com_gogo_protobuf_test_casttype.MyMapType{"
|
|
for _, k := range keysForMyMap {
|
|
mapStringForMyMap += fmt.Sprintf("%v: %v,", k, this.MyMap[k])
|
|
}
|
|
mapStringForMyMap += "}"
|
|
keysForMyCustomMap := make([]string, 0, len(this.MyCustomMap))
|
|
for k := range this.MyCustomMap {
|
|
keysForMyCustomMap = append(keysForMyCustomMap, string(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForMyCustomMap)
|
|
mapStringForMyCustomMap := "map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type{"
|
|
for _, k := range keysForMyCustomMap {
|
|
mapStringForMyCustomMap += fmt.Sprintf("%v: %v,", k, this.MyCustomMap[github_com_gogo_protobuf_test_casttype.MyStringType(k)])
|
|
}
|
|
mapStringForMyCustomMap += "}"
|
|
keysForMyNullableMap := make([]int32, 0, len(this.MyNullableMap))
|
|
for k := range this.MyNullableMap {
|
|
keysForMyNullableMap = append(keysForMyNullableMap, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForMyNullableMap)
|
|
mapStringForMyNullableMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson{"
|
|
for _, k := range keysForMyNullableMap {
|
|
mapStringForMyNullableMap += fmt.Sprintf("%v: %v,", k, this.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)])
|
|
}
|
|
mapStringForMyNullableMap += "}"
|
|
keysForMyEmbeddedMap := make([]int32, 0, len(this.MyEmbeddedMap))
|
|
for k := range this.MyEmbeddedMap {
|
|
keysForMyEmbeddedMap = append(keysForMyEmbeddedMap, int32(k))
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Int32s(keysForMyEmbeddedMap)
|
|
mapStringForMyEmbeddedMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson{"
|
|
for _, k := range keysForMyEmbeddedMap {
|
|
mapStringForMyEmbeddedMap += fmt.Sprintf("%v: %v,", k, this.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)])
|
|
}
|
|
mapStringForMyEmbeddedMap += "}"
|
|
s := strings.Join([]string{`&Castaway{`,
|
|
`Int32Ptr:` + valueToStringCasttype(this.Int32Ptr) + `,`,
|
|
`Int32:` + fmt.Sprintf("%v", this.Int32) + `,`,
|
|
`MyUint64Ptr:` + valueToStringCasttype(this.MyUint64Ptr) + `,`,
|
|
`MyUint64:` + fmt.Sprintf("%v", this.MyUint64) + `,`,
|
|
`MyFloat32Ptr:` + valueToStringCasttype(this.MyFloat32Ptr) + `,`,
|
|
`MyFloat32:` + fmt.Sprintf("%v", this.MyFloat32) + `,`,
|
|
`MyFloat64Ptr:` + valueToStringCasttype(this.MyFloat64Ptr) + `,`,
|
|
`MyFloat64:` + fmt.Sprintf("%v", this.MyFloat64) + `,`,
|
|
`MyBytes:` + valueToStringCasttype(this.MyBytes) + `,`,
|
|
`NormalBytes:` + valueToStringCasttype(this.NormalBytes) + `,`,
|
|
`MyUint64S:` + fmt.Sprintf("%v", this.MyUint64S) + `,`,
|
|
`MyMap:` + mapStringForMyMap + `,`,
|
|
`MyCustomMap:` + mapStringForMyCustomMap + `,`,
|
|
`MyNullableMap:` + mapStringForMyNullableMap + `,`,
|
|
`MyEmbeddedMap:` + mapStringForMyEmbeddedMap + `,`,
|
|
`String_:` + valueToStringCasttype(this.String_) + `,`,
|
|
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *Wilson) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&Wilson{`,
|
|
`Int64:` + valueToStringCasttype(this.Int64) + `,`,
|
|
`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringCasttype(v interface{}) string {
|
|
rv := reflect.ValueOf(v)
|
|
if rv.IsNil() {
|
|
return "nil"
|
|
}
|
|
pv := reflect.Indirect(rv).Interface()
|
|
return fmt.Sprintf("*%v", pv)
|
|
}
|
|
func (m *Castaway) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Castaway: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Castaway: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int32Ptr", wireType)
|
|
}
|
|
var v int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Int32Ptr = &v
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int32", wireType)
|
|
}
|
|
m.Int32 = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Int32 |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyUint64Ptr", wireType)
|
|
}
|
|
var v github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.MyUint64Ptr = &v
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyUint64", wireType)
|
|
}
|
|
m.MyUint64 = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.MyUint64 |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
if wireType != 5 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyFloat32Ptr", wireType)
|
|
}
|
|
var v uint32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
v2 := github_com_gogo_protobuf_test_casttype.MyFloat32Type(math.Float32frombits(v))
|
|
m.MyFloat32Ptr = &v2
|
|
case 6:
|
|
if wireType != 5 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyFloat32", wireType)
|
|
}
|
|
var v uint32
|
|
if (iNdEx + 4) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
|
|
iNdEx += 4
|
|
m.MyFloat32 = github_com_gogo_protobuf_test_casttype.MyFloat32Type(math.Float32frombits(v))
|
|
case 7:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyFloat64Ptr", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
v2 := github_com_gogo_protobuf_test_casttype.MyFloat64Type(math.Float64frombits(v))
|
|
m.MyFloat64Ptr = &v2
|
|
case 8:
|
|
if wireType != 1 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyFloat64", wireType)
|
|
}
|
|
var v uint64
|
|
if (iNdEx + 8) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
|
|
iNdEx += 8
|
|
m.MyFloat64 = github_com_gogo_protobuf_test_casttype.MyFloat64Type(math.Float64frombits(v))
|
|
case 9:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyBytes", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.MyBytes = append(m.MyBytes[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.MyBytes == nil {
|
|
m.MyBytes = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 10:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NormalBytes", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NormalBytes = append(m.NormalBytes[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.NormalBytes == nil {
|
|
m.NormalBytes = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 11:
|
|
if wireType == 0 {
|
|
var v github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.MyUint64S = append(m.MyUint64S, v)
|
|
} else if wireType == 2 {
|
|
var packedLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
packedLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if packedLen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + packedLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
for iNdEx < postIndex {
|
|
var v github_com_gogo_protobuf_test_casttype.MyUint64Type
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.MyUint64S = append(m.MyUint64S, v)
|
|
}
|
|
} else {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyUint64S", wireType)
|
|
}
|
|
case 12:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.MyMap == nil {
|
|
m.MyMap = make(github_com_gogo_protobuf_test_casttype.MyMapType)
|
|
}
|
|
var mapkey string
|
|
var mapvalue uint64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipCasttype(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.MyMap[mapkey] = mapvalue
|
|
iNdEx = postIndex
|
|
case 13:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyCustomMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.MyCustomMap == nil {
|
|
m.MyCustomMap = make(map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type)
|
|
}
|
|
var mapkey github_com_gogo_protobuf_test_casttype.MyStringType
|
|
var mapvalue uint64
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey = github_com_gogo_protobuf_test_casttype.MyStringType(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
} else if fieldNum == 2 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipCasttype(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.MyCustomMap[github_com_gogo_protobuf_test_casttype.MyStringType(mapkey)] = ((github_com_gogo_protobuf_test_casttype.MyUint64Type)(mapvalue))
|
|
iNdEx = postIndex
|
|
case 14:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyNullableMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.MyNullableMap == nil {
|
|
m.MyNullableMap = make(map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson)
|
|
}
|
|
var mapkey int32
|
|
var mapvalue *Wilson
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &Wilson{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipCasttype(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(mapkey)] = mapvalue
|
|
iNdEx = postIndex
|
|
case 15:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MyEmbeddedMap", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.MyEmbeddedMap == nil {
|
|
m.MyEmbeddedMap = make(map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson)
|
|
}
|
|
var mapkey int32
|
|
mapvalue := &Wilson{}
|
|
for iNdEx < postIndex {
|
|
entryPreIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
if fieldNum == 1 {
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapkey |= (int32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
} else if fieldNum == 2 {
|
|
var mapmsglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
mapmsglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
if mapmsglen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if postmsgIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue = &Wilson{}
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postmsgIndex
|
|
} else {
|
|
iNdEx = entryPreIndex
|
|
skippy, err := skipCasttype(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if (iNdEx + skippy) > postIndex {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
m.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(mapkey)] = *mapvalue
|
|
iNdEx = postIndex
|
|
case 16:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field String_", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
s := github_com_gogo_protobuf_test_casttype.MyStringType(dAtA[iNdEx:postIndex])
|
|
m.String_ = &s
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipCasttype(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Wilson) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Wilson: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Wilson: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Int64", wireType)
|
|
}
|
|
var v int64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Int64 = &v
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipCasttype(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthCasttype
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipCasttype(dAtA []byte) (n int, err error) {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
wireType := int(wire & 0x7)
|
|
switch wireType {
|
|
case 0:
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx++
|
|
if dAtA[iNdEx-1] < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
return iNdEx, nil
|
|
case 1:
|
|
iNdEx += 8
|
|
return iNdEx, nil
|
|
case 2:
|
|
var length int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
length |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
iNdEx += length
|
|
if length < 0 {
|
|
return 0, ErrInvalidLengthCasttype
|
|
}
|
|
return iNdEx, nil
|
|
case 3:
|
|
for {
|
|
var innerWire uint64
|
|
var start int = iNdEx
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowCasttype
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
innerWireType := int(innerWire & 0x7)
|
|
if innerWireType == 4 {
|
|
break
|
|
}
|
|
next, err := skipCasttype(dAtA[start:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
iNdEx = start + next
|
|
}
|
|
return iNdEx, nil
|
|
case 4:
|
|
return iNdEx, nil
|
|
case 5:
|
|
iNdEx += 4
|
|
return iNdEx, nil
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
}
|
|
panic("unreachable")
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthCasttype = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowCasttype = fmt.Errorf("proto: integer overflow")
|
|
)
|
|
|
|
func init() {
|
|
proto.RegisterFile("combos/unmarshaler/casttype.proto", fileDescriptor_casttype_bbbbfd21588d9441)
|
|
}
|
|
|
|
var fileDescriptor_casttype_bbbbfd21588d9441 = []byte{
|
|
// 698 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xbf, 0x6f, 0xd3, 0x40,
|
|
0x14, 0xc7, 0x7d, 0x4d, 0xd3, 0x26, 0x97, 0x06, 0xa2, 0x13, 0x83, 0x55, 0x89, 0xb3, 0x69, 0x55,
|
|
0xe4, 0x01, 0x92, 0x2a, 0x8d, 0x4a, 0x55, 0x10, 0x83, 0xab, 0x22, 0x15, 0xe1, 0x82, 0x0c, 0x55,
|
|
0x05, 0x62, 0xb9, 0xb4,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