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
/
lib.go
Search
History
898 lines
|
ISO-8859-1
|
23 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Message
Reset
()
String
()
:
string
ProtoMessage
()
Stats
Emalloc
:
uint64
Dmalloc
:
uint64
Encode
:
uint64
Decode
:
uint64
Chit
:
uint64
Cmiss
:
uint64
Size
:
uint64
collectStats
stats
:
Stats
GetStats
()
:
Stats
Buffer
buf
:
[]byte
index
:
int
bools
:
[]bool
uint32s
:
[]uint32
uint64s
:
[]uint64
int32s
:
[]int32
int64s
:
[]int64
float32s
:
[]float32
float64s
:
[]float64
NewBuffer
(e []byte)
:
*Buffer
Bool
(v bool)
:
*bool
Int32
(v int32)
:
*int32
Int
(v int)
:
*int32
Int64
(v int64)
:
*int64
Float32
(v float32)
:
*float32
Float64
(v float64)
:
*float64
Uint32
(v uint32)
:
*uint32
Uint64
(v uint64)
:
*uint64
String
(v string)
:
*string
EnumName
(m map[int32]string, v int32)
:
string
UnmarshalJSONEnum
(m map[string]int32, data []byte, enumName string)
:
(int32, error)
SetDefaults
(pb Message)
setDefaults
(v reflect.Value, recur, zeros bool)
defaultMu
:
sync.RWMutex
defaults
int32PtrType
defaultMessage
scalars
:
[]scalarField
nested
:
[]int
scalarField
index
:
int
kind
:
reflect.Kind
value
buildDefaultMessage
(t reflect.Type)
:
(dm defaultMessage)
fieldDefault
(ft reflect.Type, prop *Properties)
:
(sf *scalarField, nestedMessage bool, err error)
mapKeys
(vs []reflect.Value)
:
sort.Interface
mapKeySorter
vs
:
[]reflect.Value
less
:
func(a, b reflect.Value) bool
Len
()
:
int
Swap
(i, j int)
Less
(i, j int)
:
bool
isProto3Zero
(v reflect.Value)
:
bool
ProtoPackageIsVersion2
ProtoPackageIsVersion1
*Buffer
Reset
()
SetBuf
(s []byte)
Bytes
()
:
[]byte
DebugPrint
(s string, b []byte)
All occurrences
Please wait...
Page is in error, reload to recover