crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Files
🤬
Sign In
8d7742a1
ROOT
/
phaul
/
src
/
test
/
vendor
/
github.com
/
golang
/
protobuf
/
proto
/
encode.go
Search
History
1363 lines
|
ISO-8859-1
|
33 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
RequiredNotSetError
field
:
string
errRepeatedHasNil
errOneofHasNil
ErrNil
ErrTooLarge
maxVarintBytes
maxMarshalSize
EncodeVarint
(x uint64)
:
[]byte
SizeVarint
(x uint64)
:
int
sizeVarint
(x uint64)
:
(n int)
sizeFixed64
(x uint64)
:
int
sizeFixed32
(x uint64)
:
int
sizeZigzag64
(x uint64)
:
int
sizeZigzag32
(x uint64)
:
int
sizeRawBytes
(b []byte)
:
int
sizeStringBytes
(s string)
:
int
Marshaler
Marshal
()
:
([]byte, error)
Marshal
(pb Message)
:
([]byte, error)
Size
(pb Message)
:
(n int)
size_bool
(p *Properties, base structPointer)
:
int
size_proto3_bool
(p *Properties, base structPointer)
:
int
size_int32
(p *Properties, base structPointer)
:
(n int)
size_proto3_int32
(p *Properties, base structPointer)
:
(n int)
size_uint32
(p *Properties, base structPointer)
:
(n int)
size_proto3_uint32
(p *Properties, base structPointer)
:
(n int)
size_int64
(p *Properties, base structPointer)
:
(n int)
size_proto3_int64
(p *Properties, base structPointer)
:
(n int)
size_string
(p *Properties, base structPointer)
:
(n int)
size_proto3_string
(p *Properties, base structPointer)
:
(n int)
isNil
(v reflect.Value)
:
bool
size_struct_message
(p *Properties, base structPointer)
:
int
size_struct_group
(p *Properties, base structPointer)
:
(n int)
size_slice_bool
(p *Properties, base structPointer)
:
int
size_slice_packed_bool
(p *Properties, base structPointer)
:
(n int)
size_slice_byte
(p *Properties, base structPointer)
:
(n int)
size_proto3_slice_byte
(p *Properties, base structPointer)
:
(n int)
size_slice_int32
(p *Properties, base structPointer)
:
(n int)
size_slice_packed_int32
(p *Properties, base structPointer)
:
(n int)
size_slice_uint32
(p *Properties, base structPointer)
:
(n int)
size_slice_packed_uint32
(p *Properties, base structPointer)
:
(n int)
size_slice_int64
(p *Properties, base structPointer)
:
(n int)
size_slice_packed_int64
(p *Properties, base structPointer)
:
(n int)
size_slice_slice_byte
(p *Properties, base structPointer)
:
(n int)
size_slice_string
(p *Properties, base structPointer)
:
(n int)
size_slice_struct_message
(p *Properties, base structPointer)
:
(n int)
size_slice_struct_group
(p *Properties, base structPointer)
:
(n int)
size_map
(p *Properties, base structPointer)
:
int
size_exts
(p *Properties, base structPointer)
:
int
size_new_map
(p *Properties, base structPointer)
:
int
mapEncodeScratch
(mapType reflect.Type)
:
(keycopy, valcopy reflect.Value, keybase, valbase structPointer)
size_struct
(prop *StructProperties, base structPointer)
:
(n int)
zeroes
:
[20]byte
errorState
err
:
error
*RequiredNotSetError
Error
()
:
string
*Buffer
EncodeVarint
(x uint64)
:
error
EncodeFixed64
(x uint64)
:
error
EncodeFixed32
(x uint64)
:
error
EncodeZigzag64
(x uint64)
:
error
EncodeZigzag32
(x uint64)
:
error
EncodeRawBytes
(b []byte)
:
error
EncodeStringBytes
(s string)
:
error
EncodeMessage
(pb Message)
:
error
Marshal
(pb Message)
:
error
enc_bool
(p *Properties, base structPointer)
:
error
enc_proto3_bool
(p *Properties, base structPointer)
:
error
enc_int32
(p *Properties, base structPointer)
:
error
enc_proto3_int32
(p *Properties, base structPointer)
:
error
enc_uint32
(p *Properties, base structPointer)
:
error
enc_proto3_uint32
(p *Properties, base structPointer)
:
error
enc_int64
(p *Properties, base structPointer)
:
error
enc_proto3_int64
(p *Properties, base structPointer)
:
error
enc_string
(p *Properties, base structPointer)
:
error
enc_proto3_string
(p *Properties, base structPointer)
:
error
enc_struct_message
(p *Properties, base structPointer)
:
error
enc_struct_group
(p *Properties, base structPointer)
:
error
enc_slice_bool
(p *Properties, base structPointer)
:
error
enc_slice_packed_bool
(p *Properties, base structPointer)
:
error
enc_slice_byte
(p *Properties, base structPointer)
:
error
enc_proto3_slice_byte
(p *Properties, base structPointer)
:
error
enc_slice_int32
(p *Properties, base structPointer)
:
error
enc_slice_packed_int32
(p *Properties, base structPointer)
:
error
enc_slice_uint32
(p *Properties, base structPointer)
:
error
enc_slice_packed_uint32
(p *Properties, base structPointer)
:
error
enc_slice_int64
(p *Properties, base structPointer)
:
error
enc_slice_packed_int64
(p *Properties, base structPointer)
:
error
enc_slice_slice_byte
(p *Properties, base structPointer)
:
error
enc_slice_string
(p *Properties, base structPointer)
:
error
enc_slice_struct_message
(p *Properties, base structPointer)
:
error
enc_slice_struct_group
(p *Properties, base structPointer)
:
error
enc_map
(p *Properties, base structPointer)
:
error
enc_exts
(p *Properties, base structPointer)
:
error
enc_map_body
(v map[int32]Extension)
:
error
enc_new_map
(p *Properties, base structPointer)
:
error
enc_struct
(prop *StructProperties, base structPointer)
:
error
enc_len_struct
(prop *StructProperties, base structPointer, state *errorState)
:
error
enc_len_thing
(enc func() error, state *errorState)
:
error
*errorState
shouldContinue
(err error, prop *Properties)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover