forked from tinygo-org/tinygo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.txt
83 lines (83 loc) · 1.18 KB
/
map.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
map length: 2
map read: answer = 42
answer = 42
foo = 3
map length: 1
map read: data = 3
data = 3
map length: 12
map read: three = 3
eight = 8
eleven = 11
five = 5
four = 4
nine = 9
one = 1
seven = 7
six = 6
ten = 10
three = 3
twelve = 12
two = 2
map length: 12
map read: ten = 10
eight = 8
eleven = 11
five = 5
four = 4
nine = 9
one = 1
seven = 7
six = 6
ten = 10
three = 3
twelve = 12
two = 2
map length: 11
map read: seven = 7
eight = 8
eleven = 11
five = 5
four = 4
nine = 9
one = 1
seven = 7
ten = 10
three = 3
twelve = 12
two = 2
lookup with comma-ok: eight 8 true
lookup with comma-ok: nokey 0 false
false true 2
true false 0
nilmap: 0
4
42
nilbinmap: 0
4321
5555
itfMap[3]: 0
itfMap[3.14]: 3
itfMap[8]: 8
itfMap[uint8(8)]: 80
itfMap["eight"]: 800
itfMap[[2]int{5, 2}]: 52
itfMap[true]: 1
itfMap[8]: 0
itfMap: found key "eight": 800
floatMap[42]: 84
floatMap[43]: 0
floatMap[42]: 0
floatMap key, value: +3.140000e+000 6
structMap[{"tau", 6.28}]: 5
structMap[{"Tau", 6.28}]: 0
structMap[{"tau", 3.14}]: 0
structMap[{"tau", 6.28}]: 0
tested preallocated map
tested growing of a map
2
2
2
2
done
no interface lookup failures