-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathprimitives.txt
127 lines (127 loc) · 3.44 KB
/
primitives.txt
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
godump_test.Node {
Int: 123,
Int8: -45,
Int16: 6789,
Int32: -987,
Int64: 3849876543247876432,
Uint: 837,
Uint8: 38,
Uint16: 3847,
Uint32: 9843,
Uint64: 2834,
Float32: 123.475,
Float64: -12345.09876,
Complex64: (0+12.987i),
Complex128: (0-473i),
Bool1: true,
Bool2: false,
String: "foo bar",
Uintptr: 0x499602d2,
IntPtr: &123,
Int8Ptr: &-45,
Int16Ptr: &6789,
Int32Ptr: &-987,
Int64Ptr: &3849876543247876432,
UintPtr: &837,
Uint8Ptr: &38,
Uint16Ptr: &3847,
Uint32Ptr: &9843,
Uint64Ptr: &2834,
Float32Ptr: &123.475,
Float64Ptr: &-12345.09876,
Complex64Ptr: &(0+12.987i),
Complex128Ptr: &(0-473i),
Bool1Ptr: &true,
Bool2Ptr: &false,
StringPtr: &"foo bar",
UintptrPtr: &0x499602d2,
TypedInt: 123,
TypedInt8: -45,
TypedInt16: 6789,
TypedInt32: -987,
TypedInt64: 3849876543247876432,
TypedUint: 837,
TypedUint8: 38,
TypedUint16: 3847,
TypedUint32: 9843,
TypedUint64: 2834,
TypedFloat32: 123.475,
TypedFloat64: -12345.09876,
TypedComplex64: (0+12.987i),
TypedComplex128: (0-473i),
TypedBool1: true,
TypedBool2: false,
TypedString: "foo bar",
TypedUintptr: 0x499602d2,
TypedIntPtr: &123,
TypedInt8Ptr: &-45,
TypedInt16Ptr: &6789,
TypedInt32Ptr: &-987,
TypedInt64Ptr: &3849876543247876432,
TypedUintPtr: &837,
TypedUint8Ptr: &38,
TypedUint16Ptr: &3847,
TypedUint32Ptr: &9843,
TypedUint64Ptr: &2834,
TypedFloat32Ptr: &123.475,
TypedFloat64Ptr: &-12345.09876,
TypedComplex64Ptr: &(0+12.987i),
TypedComplex128Ptr: &(0-473i),
TypedBool1Ptr: &true,
TypedBool2Ptr: &false,
TypedStringPtr: &"foo bar",
TypedUintptrPtr: &0x499602d2,
PtrTypedInt: &123,
PtrTypedInt8: &-45,
PtrTypedInt16: &6789,
PtrTypedInt32: &-987,
PtrTypedInt64: &3849876543247876432,
PtrTypedUint: &837,
PtrTypedUint8: &38,
PtrTypedUint16: &3847,
PtrTypedUint32: &9843,
PtrTypedUint64: &2834,
PtrTypedFloat32: &123.475,
PtrTypedFloat64: &-12345.09876,
PtrTypedComplex64: &(0+12.987i),
PtrTypedComplex128: &(0-473i),
PtrTypedBool1: &true,
PtrTypedBool2: &false,
PtrTypedString: &"foo bar",
PtrTypedUintptr: &0x499602d2,
NilPointer: *int(nil),
Func: func(),
Func2: func(int) float64,
Func3: func(...*interface {}) interface {},
Func4: func(uint8, ...[]*complex128) bool,
FuncPtr: &func(),
Func2Ptr: &func(int) float64,
Func3Ptr: &func(...*interface {}) interface {},
Func4Ptr: &func(uint8, ...[]*complex128) bool,
TypedFunc: godump_test.FuncType,
TypedFunc2: godump_test.Func2Type,
TypedFunc3: godump_test.Func3Type,
TypedFunc4: godump_test.Func4Type,
PtrTypedFunc: &godump_test.FuncType,
PtrTypedFunc2: &godump_test.Func2Type,
PtrTypedFunc3: &godump_test.Func3Type,
PtrTypedFunc4: &godump_test.Func4Type,
NilFunc: func()(nil),
Chan: chan struct {},
Chan1: <-chan struct {},
Chan2: chan<- struct {},
ChanPtr: &chan struct {},
Chan1Ptr: &<-chan struct {},
Chan2Ptr: &chan<- struct {},
TypedChan: godump_test.ChanType,
TypedChan1: godump_test.Chan1Type,
TypedChan2: godump_test.Chan2Type,
PtrTypedChan: &godump_test.ChanType,
PtrTypedChan1: &godump_test.Chan1Type,
PtrTypedChan2: &godump_test.Chan2Type,
BufferedChan: chan struct {}<255>,
NilChan: chan struct {}(nil),
UnsafePointer1: unsafe.Pointer(0x0),
UnsafePointer2: &unsafe.Pointer(0x7b),
NamedUnsafePointer: godump_test.UnsafePointer(0x0),
}