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
/
properties.go
Search
History
873 lines
|
ISO-8859-1
|
25 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
debug
:
bool
WireVarint
WireFixed64
WireBytes
WireStartGroup
WireEndGroup
WireFixed32
startSize
encoder
valueEncoder
sizer
valueSizer
decoder
valueDecoder
oneofMarshaler
oneofUnmarshaler
oneofSizer
tagMap
fastTags
:
[]int
slowTags
:
map[int]int
tagMapFastLimit
StructProperties
Prop
:
[]*Properties
reqCount
:
int
decoderTags
:
tagMap
decoderOrigNames
:
map[string]int
order
:
[]int
unrecField
:
field
extendable
:
bool
oneofMarshaler
:
oneofMarshaler
oneofUnmarshaler
:
oneofUnmarshaler
oneofSizer
:
oneofSizer
stype
:
reflect.Type
OneofTypes
:
map[string]*OneofProperties
OneofProperties
Type
:
reflect.Type
Field
:
int
Prop
:
*Properties
Properties
Name
:
string
OrigName
:
string
JSONName
:
string
Wire
:
string
WireType
:
int
Tag
:
int
Required
:
bool
Optional
:
bool
Repeated
:
bool
Packed
:
bool
Enum
:
string
proto3
:
bool
oneof
:
bool
Default
:
string
HasDefault
:
bool
def_uint64
:
uint64
enc
:
encoder
valEnc
:
valueEncoder
field
:
field
tagcode
:
[]byte
tagbuf
:
[8]byte
stype
:
reflect.Type
sprop
:
*StructProperties
isMarshaler
:
bool
isUnmarshaler
:
bool
mtype
:
reflect.Type
mkeyprop
:
*Properties
mvalprop
:
*Properties
size
:
sizer
valSize
:
valueSizer
dec
:
decoder
valDec
:
valueDecoder
packedDec
:
decoder
logNoSliceEnc
(t1, t2 reflect.Type)
protoMessageType
marshalerType
unmarshalerType
isMarshaler
(t reflect.Type)
:
bool
isUnmarshaler
(t reflect.Type)
:
bool
propertiesMu
:
sync.RWMutex
propertiesMap
GetProperties
(t reflect.Type)
:
*StructProperties
getPropertiesLocked
(t reflect.Type)
:
*StructProperties
propByIndex
(t reflect.Type, x []int)
:
*Properties
getbase
(pb Message)
:
(t reflect.Type, b structPointer, err error)
enumValueMaps
RegisterEnum
(typeName string, unusedNameMap map[int32]string, valueMap map[string]int32)
EnumValueMap
(enumType string)
:
map[string]int32
protoTypes
revProtoTypes
RegisterType
(x Message, name string)
MessageName
(x Message)
:
string
MessageType
(name string)
:
reflect.Type
protoFiles
RegisterFile
(filename string, fileDescriptor []byte)
FileDescriptor
(filename string)
:
[]byte
*tagMap
get
(t int)
:
(int, bool)
put
(t int, fi int)
*StructProperties
Len
()
:
int
Less
(i, j int)
:
bool
Swap
(i, j int)
*Properties
String
()
:
string
Parse
(s string)
setEncAndDec
(typ reflect.Type, f *reflect.StructField, lockGetProp bool)
Init
(typ reflect.Type, name, tag string, f *reflect.StructField)
init
(typ reflect.Type, name, tag string, f *reflect.StructField, lockGetProp bool)
All occurrences
Please wait...
Page is in error, reload to recover