projects
/
platform
/
upstream
/
docker-engine.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen_4.0 base
[platform/upstream/docker-engine.git]
/
vendor
/
github.com
/
tinylib
/
msgp
/
msgp
/
size.go
1
package msgp
2
3
// The sizes provided
4
// are the worst-case
5
// encoded sizes for
6
// each type. For variable-
7
// length types ([]byte, string),
8
// the total encoded size is
9
// the prefix size plus the
10
// length of the object.
11
const (
12
Int64Size = 9
13
IntSize = Int64Size
14
UintSize = Int64Size
15
Int8Size = 2
16
Int16Size = 3
17
Int32Size = 5
18
Uint8Size = 2
19
ByteSize = Uint8Size
20
Uint16Size = 3
21
Uint32Size = 5
22
Uint64Size = Int64Size
23
Float64Size = 9
24
Float32Size = 5
25
Complex64Size = 10
26
Complex128Size = 18
27
28
TimeSize = 15
29
BoolSize = 1
30
NilSize = 1
31
32
MapHeaderSize = 5
33
ArrayHeaderSize = 5
34
35
BytesPrefixSize = 5
36
StringPrefixSize = 5
37
ExtensionPrefixSize = 6
38
)