Lines Matching full:does

15 	func(p *int) { // ERROR "p does not escape" "func literal does not escape"
23 func(p *int) { // ERROR "p does not escape" "func literal does not escape"
32 func(p *int) { // ERROR "p does not escape" "func literal does not escape"
40 func(p *int) { // ERROR "leaking param: p" "func literal does not escape"
47 _ = func(p *int) *int { // ERROR "leaking param: p to result ~r0" "func literal does not escape"
56 sink = func(p *int) *int { // ERROR "leaking param: p" "func literal does not escape"
63 func(p *int) { // ERROR "moved to heap: p" "func literal does not escape"
72 func(p *int) { // ERROR "leaking param: p" "func literal does not escape"
81 defer func(p *int) { // ERROR "p does not escape" "func literal does not escape"
90 defer func(p *int) { // ERROR "func literal escapes to heap" "p does not escape"
99 defer func(p *int) { // ERROR "func literal escapes to heap" "p does not escape"
107 defer func(p *int) { // ERROR "leaking param: p" "func literal does not escape"
114 defer func(p *int) *int { // ERROR "leaking param: p to result ~r0" "func literal does not escape"
121 defer func(p *int) { // ERROR "moved to heap: p" "func literal does not escape"
129 …_ = func(p **int) *int { // ERROR "leaking param: p to result ~r0 level=1" "func literal does not …
137 sink = func(p **int) *int { // ERROR "leaking param content: p" "func literal does not escape"
142 func ClosureLeak1(s string) string { // ERROR "s does not escape"
144 return ClosureLeak1a(t) // ERROR "... argument does not escape"
149 return func() string { // ERROR "func literal does not escape"
154 func ClosureLeak2(s string) string { // ERROR "s does not escape"
156 c := ClosureLeak2a(t) // ERROR "... argument does not escape"
160 return ClosureLeak2b(func() string { // ERROR "func literal does not escape"
164 func ClosureLeak2b(f func() string) string { // ERROR "f does not escape"
169 f := func(p *int) {} // ERROR "p does not escape" "func literal does not escape"
170 f(new(int)) // ERROR "new\(int\) does not escape"
173 g(new(int)) // ERROR "new\(int\) does not escape"
176 h(new(int)) // ERROR "new\(int\) does not escape"
179 func nopFunc(p *int) {} // ERROR "p does not escape"
182 … *int { return p } // ERROR "leaking param: p to result ~r0 level=0" "func literal does not escape"
184 f(new(int)) // ERROR "new\(int\) does not escape"
187 g(new(int)) // ERROR "new\(int\) does not escape"
190 h(new(int)) // ERROR "new\(int\) does not escape"