This file is indexed.

/usr/share/gocode/src/gopkg.in/vmihailenco/msgpack.v2/codes/codes.go is in golang-gopkg-vmihailenco-msgpack.v2-dev 2.4.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package codes

const (
	PosFixedNumHigh = 0x7f
	NegFixedNumLow  = 0xe0

	Nil = 0xc0

	False = 0xc2
	True  = 0xc3

	Float  = 0xca
	Double = 0xcb

	Uint8  = 0xcc
	Uint16 = 0xcd
	Uint32 = 0xce
	Uint64 = 0xcf

	Int8  = 0xd0
	Int16 = 0xd1
	Int32 = 0xd2
	Int64 = 0xd3

	FixedStrLow  = 0xa0
	FixedStrHigh = 0xbf
	FixedStrMask = 0x1f
	Str8         = 0xd9
	Str16        = 0xda
	Str32        = 0xdb

	Bin8  = 0xc4
	Bin16 = 0xc5
	Bin32 = 0xc6

	FixedArrayLow  = 0x90
	FixedArrayHigh = 0x9f
	FixedArrayMask = 0xf
	Array16        = 0xdc
	Array32        = 0xdd

	FixedMapLow  = 0x80
	FixedMapHigh = 0x8f
	FixedMapMask = 0xf
	Map16        = 0xde
	Map32        = 0xdf

	FixExt1  = 0xd4
	FixExt2  = 0xd5
	FixExt4  = 0xd6
	FixExt8  = 0xd7
	FixExt16 = 0xd8
	Ext8     = 0xc7
	Ext16    = 0xc8
	Ext32    = 0xc9
)

func IsFixedNum(c byte) bool    { return c <= PosFixedNumHigh || c >= NegFixedNumLow }
func IsFixedMap(c byte) bool    { return c >= FixedMapLow && c <= FixedMapHigh }
func IsFixedArray(c byte) bool  { return c >= FixedArrayLow && c <= FixedArrayHigh }
func IsFixedString(c byte) bool { return c >= FixedStrLow && c <= FixedStrHigh }