Lines Matching full:does
8 // Compiles but does not run. Inlining is disabled.
40 func foo4(xx, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
45 func foo5(xx **int, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
49 func foo6(xx **int, yy *int) { // ERROR "xx does not escape$" "leaking param: yy$"
53 func foo7(xx **int, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
57 func foo8(xx, yy *int) int { // ERROR "xx does not escape$" "yy does not escape$"
67 func foo10(xx, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
91 func foo14(yyy **int) { // ERROR "yyy does not escape$"
103 func foo17(yy *int) { // ERROR "yy does not escape$"
128 func NewBarp2(x *int) *Bar { // ERROR "x does not escape$"
132 func (b *Bar) NoLeak() int { // ERROR "b does not escape$"
160 func (b Bar) StillNoLeak() int { // ERROR "b does not escape$"
179 func (b *Bar2) NoLeak() int { // ERROR "b does not escape$"
191 func (b Bar2) AgainNoLeak() [12]int { // ERROR "b does not escape$"
222 return func() int { // ERROR "func literal does not escape$"
253 return func() int { // ERROR "func literal does not escape$"
265 func foonoleak(xx *int) int { // ERROR "xx does not escape$"
289 func (f *Foo) foonoleak() { // ERROR "f does not escape$"
297 func (f *Foo) NoLeak() { // ERROR "f does not escape$"
305 func (f *Foo) foo42(x int) { // ERROR "f does not escape$" "moved to heap: x$"
309 func foo43(f *Foo, x int) { // ERROR "f does not escape$" "moved to heap: x$"
317 func (f *Foo) foo45() { // ERROR "f does not escape$"
409 func foo60a(i *int) *int { // ERROR "i does not escape$"
425 func foo61a(i *int) *int { // ERROR "i does not escape$"
441 s := new(S) // ERROR "new\(S\) does not escape$"
450 func foo63(m M) { // ERROR "m does not escape$"
477 foo63(mv) // ERROR "mv does not escape$"
541 s := []int{3, 2, 1} // ERROR "\[\]int{...} does not escape$"
552 s := []int{3, 2, 1} // ERROR "\[\]int{...} does not escape$"
564 s := []int{3, 2, 1} // ERROR "\[\]int{...} does not escape$"
576 s := []int{3, 2, 1} // ERROR "\[\]int{...} does not escape$"
591 s := []int{3, 2, 1} // ERROR "\[\]int{...} does not escape$"
603 s := []int{3, 2, 1} // ERROR "\[\]int{...} does not escape$"
613 …t, x ...interface{}) *int { // ERROR "leaking param: y to result ~r0 level=0$" "x does not escape$"
617 …interface{}) *interface{} { // ERROR "leaking param: x to result ~r0 level=0$" "y does not escape$"
621 func foo75(z *int) { // ERROR "z does not escape$"
622 …myprint(z, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" "... argu…
625 func foo75a(z *int) { // ERROR "z does not escape$"
626 …myprint1(z, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" "... arg…
630 …gxx = myprint(z, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" "..…
633 func foo75aesc(z *int) { // ERROR "z does not escape$"
638 func foo75aesc1(z *int) { // ERROR "z does not escape$"
642 func foo76(z *int) { // ERROR "z does not escape"
643 myprint(nil, z) // ERROR "... argument does not escape$"
646 func foo76a(z *int) { // ERROR "z does not escape"
647 myprint1(nil, z) // ERROR "... argument does not escape$"
651 …myprint(nil, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" "... ar…
655 …myprint1(nil, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" "... a…
659 …efer myprint(nil, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" ".…
663 …fer myprint1(nil, 1, 2, 3) // ERROR "1 does not escape" "2 does not escape" "3 does not escape" ".…
669 …defer myprint(nil, 1, 2, 3) // ERROR "... argument does not escape$" "1 escapes to heap$" "2 escap…
675 …defer myprint1(nil, 1, 2, 3) // ERROR "... argument does not escape$" "1 escapes to heap$" "2 esca…
679 func foo77(z []interface{}) { // ERROR "z does not escape$"
680 myprint(nil, z...) // z does not escape
683 func foo77a(z []interface{}) { // ERROR "z does not escape$"
698 myprint(nil, &i) // ERROR "... argument does not escape$"
701 myprint1(nil, &j) // ERROR "... argument does not escape$"
730 z := new(int) // ERROR "new\(int\) does not escape$"
738 func noop(x, y *int) {} // ERROR "x does not escape$" "y does not escape$"
776 // does not leak c
777 func foo93(c chan *int) *int { // ERROR "c does not escape$"
784 // does not leak m
795 // does leak x
796 func foo95(m map[*int]*int, x *int) { // ERROR "m does not escape$" "leaking param: x$"
800 // does not leak m but does leak content
805 // does leak m
810 // does not leak m
811 func foo98(m map[int]*int) *int { // ERROR "m does not escape$"
815 // does leak m
820 // does not leak m
828 // does leak m
836 // does not leak m
837 func foo101a(m [1]*int) *int { // ERROR "m does not escape$"
844 // does leak x
845 func foo102(m []*int, x *int) { // ERROR "m does not escape$" "leaking param: x$"
849 // does not leak x
850 func foo103(m [1]*int, x *int) { // ERROR "m does not escape$" "x does not escape$"
856 // does not leak x but does leak content
861 // does not leak x but does leak content
866 // does leak x
880 m := map[*int]*int{x: nil} // ERROR "map\[\*int\]\*int{...} does not escape$"
888 m := map[*int]*int{nil: x} // ERROR "map\[\*int\]\*int{...} does not escape$"
893 m := []*int{x} // ERROR "\[\]\*int{...} does not escape$"
908 m := &Bar{ii: x} // ERROR "&Bar{...} does not escape$"
927 func foo117(unknown func(interface{})) { // ERROR "unknown does not escape$"
932 func foo118(unknown func(*int)) { // ERROR "unknown does not escape$"
1150 defer myprint(nil, i) // ERROR "... argument does not escape$" "i escapes to heap$"
1151 go myprint(nil, i) // ERROR "... argument does not escape$" "i escapes to heap$"
1158 defer fmt.Printf("%d", i) // ERROR "... argument does not escape$" "i escapes to heap$"
1159 go fmt.Printf("%d", i) // ERROR "... argument does not escape$" "i escapes to heap$"
1169 i = new(int) // ERROR "new\(int\) does not escape$"
1184 func foo124(x **int) { // ERROR "x does not escape$"
1187 func() { // ERROR "func literal does not escape$"
1192 func foo125(ch chan *int) { // ERROR "ch does not escape$"
1195 func() { // ERROR "func literal does not escape$"
1205 func() { // ERROR "func literal does not escape$"
1231 func() { // ERROR "func literal does not escape$"
1233 func() { // ERROR "func literal does not escape$"
1243 func() { // ERROR "func literal does not escape$"
1251 func() { // ERROR "func literal does not escape$"
1265 defer func() { // ERROR "func literal does not escape$"
1273 func() { // ERROR "func literal does not escape$"
1275 func() { // ERROR "func literal does not escape$"
1287 func() { // ERROR "func literal does not escape$"
1299 func() { // ERROR "func literal does not escape$"
1309 func() { // ERROR "func literal does not escape$"
1360 func F3(x []byte) // ERROR "x does not escape$"
1382 func (t *Tm) M() { // ERROR "t does not escape$"
1388 t := new(Tm) // ERROR "new\(Tm\) does not escape$"
1389 f = t.M // ERROR "t.M does not escape$"
1403 func() { // ERROR "func literal does not escape$"
1437 func foo145(l List) { // ERROR "l does not escape$"
1443 func foo146(l List) { // ERROR "l does not escape$"
1450 func foo147(l List) { // ERROR "l does not escape$"
1458 func foo148(l List) { // ERROR "l does not escape$"
1465 func foo149(l List) { // ERROR "l does not escape$"
1544 func foo153(v interface{}) *int { // ERROR "v does not escape"
1573 x := &Lit{&i} // ERROR "&Lit{...} does not escape$"
1578 // Literal does not escape, but element does.
1580 x := &Lit{&i} // ERROR "&Lit{...} does not escape$"
1602 func (b *Buffer) foo() { // ERROR "b does not escape$"
1613 func (b *Buffer) arrayPtr() { // ERROR "b does not escape"
1618 func (b *Buffer) baz() { // ERROR "b does not escape$"
1629 func quux(sp *string, bp *[]byte) { // ERROR "bp does not escape$" "sp does not escape$"
1652 b := make([]byte, 20) // ERROR "make\(\[\]byte, 20\) does not escape$"
1653 s := string(b) // ERROR "string\(b\) does not escape$"
1658 b := make([]byte, 20) // ERROR "make\(\[\]byte, 20\) does not escape$"
1659 s := string(b) // ERROR "string\(b\) does not escape$"
1665 b := make([]byte, 20) // ERROR "make\(\[\]byte, 20\) does not escape$"
1672 b := make([]byte, 20) // ERROR "make\(\[\]byte, 20\) does not escape$"
1681 s := s0 + s1 // ERROR "s0 \+ s1 does not escape$"
1689 s += s0 + s1 // ERROR "s0 \+ s1 does not escape$"
1694 b := make([]byte, 20) // ERROR "make\(\[\]byte, 20\) does not escape$"
1696 s := string(b) + s0 // ERROR "string\(b\) \+ s0 does not escape$" "string\(b\) does not escape$"
1709 // string does not escape
1711 s := string(x) // ERROR "string\(x\) does not escape$"
1716 // string does not escape, but the buffer does
1731 …x := []byte(s) // ERROR "\(\[\]byte\)\(s\) does not escape$" "zero-copy string->\[\]byte conversio…
1747 x := []rune(s) // ERROR "\(\[\]rune\)\(s\) does not escape$"
1762 r := []rune{1, 2, 3} // ERROR "\[\]rune{...} does not escape$"
1763 s := string(r) // ERROR "string\(r\) does not escape$"
1768 r := []rune{1, 2, 3} // ERROR "\[\]rune{...} does not escape$"
1773 r := []rune{1, 2, 3} // ERROR "\[\]rune{...} does not escape$"
1778 m := make(map[int]int) // ERROR "make\(map\[int\]int\) does not escape$"
1794 func nonescapingEface(m map[interface{}]bool) bool { // ERROR "m does not escape$"
1795 return m["foo"] // ERROR ".foo. does not escape$"
1798 func nonescapingIface(m map[M]bool) bool { // ERROR "m does not escape$"
1799 return m[MV(0)] // ERROR "MV\(0\) does not escape$"
1826 slice1 := []func() int{f} // ERROR "\[\].* does not escape"
1827 slice2 := make([]func() int, 1) // ERROR "make\(.*\) does not escape"
1833 // x does not escape below, because all relevant code is dead.