Lines Matching full:func
9 func main() {
12 func() {
13 defer func() {
38 func use(interface{}) {
43 fn func()
45 // Edit .+1,/^}/s/^[^ ].+/ {"&", func() { println(&) }},\n {"\&&", func() { println(\&&) }},/g
46 {"*intp", func() { println(*intp) }},
47 {"&*intp", func() { println(&*intp) }},
48 {"*slicep", func() { println(*slicep) }},
49 {"&*slicep", func() { println(&*slicep) }},
50 {"(*slicep)[0]", func() { println((*slicep)[0]) }},
51 {"&(*slicep)[0]", func() { println(&(*slicep)[0]) }},
52 {"(*slicep)[i]", func() { println((*slicep)[i]) }},
53 {"&(*slicep)[i]", func() { println(&(*slicep)[i]) }},
54 {"*a10p", func() { use(*a10p) }},
55 {"&*a10p", func() { println(&*a10p) }},
56 {"a10p[0]", func() { println(a10p[0]) }},
57 {"&a10p[0]", func() { println(&a10p[0]) }},
58 {"a10p[i]", func() { println(a10p[i]) }},
59 {"&a10p[i]", func() { println(&a10p[i]) }},
60 {"*structp", func() { use(*structp) }},
61 {"&*structp", func() { println(&*structp) }},
62 {"structp.i", func() { println(structp.i) }},
63 {"&structp.i", func() { println(&structp.i) }},
64 {"structp.j", func() { println(structp.j) }},
65 {"&structp.j", func() { println(&structp.j) }},
66 {"structp.k", func() { println(structp.k) }},
67 {"&structp.k", func() { println(&structp.k) }},
68 {"structp.x[0]", func() { println(structp.x[0]) }},
69 {"&structp.x[0]", func() { println(&structp.x[0]) }},
70 {"structp.x[i]", func() { println(structp.x[i]) }},
71 {"&structp.x[i]", func() { println(&structp.x[i]) }},
72 {"structp.x[9]", func() { println(structp.x[9]) }},
73 {"&structp.x[9]", func() { println(&structp.x[9]) }},
74 {"structp.l", func() { println(structp.l) }},
75 {"&structp.l", func() { println(&structp.l) }},
76 {"*bigstructp", func() { use(*bigstructp) }},
77 {"&*bigstructp", func() { println(&*bigstructp) }},
78 {"bigstructp.i", func() { println(bigstructp.i) }},
79 {"&bigstructp.i", func() { println(&bigstructp.i) }},
80 {"bigstructp.j", func() { println(bigstructp.j) }},
81 {"&bigstructp.j", func() { println(&bigstructp.j) }},
82 {"bigstructp.k", func() { println(bigstructp.k) }},
83 {"&bigstructp.k", func() { println(&bigstructp.k) }},
84 {"bigstructp.x[0]", func() { println(bigstructp.x[0]) }},
85 {"&bigstructp.x[0]", func() { println(&bigstructp.x[0]) }},
86 {"bigstructp.x[i]", func() { println(bigstructp.x[i]) }},
87 {"&bigstructp.x[i]", func() { println(&bigstructp.x[i]) }},
88 {"bigstructp.x[9]", func() { println(bigstructp.x[9]) }},
89 {"&bigstructp.x[9]", func() { println(&bigstructp.x[9]) }},
90 {"bigstructp.x[100<<20]", func() { println(bigstructp.x[100<<20]) }},
91 {"&bigstructp.x[100<<20]", func() { println(&bigstructp.x[100<<20]) }},
92 {"bigstructp.l", func() { println(bigstructp.l) }},
93 {"&bigstructp.l", func() { println(&bigstructp.l) }},
94 {"m1.F()", func() { println(m1.F()) }},
95 {"m1.M.F()", func() { println(m1.M.F()) }},
96 {"m2.F()", func() { println(m2.F()) }},
97 {"m2.M.F()", func() { println(m2.M.F()) }},
119 func (m *M) F() int {return 0}