Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ps4$ (0.04 sec)

  1. test/escape_struct_param1.go

    	s4 := "dog" // ERROR "moved to heap: s4$"
    	s5 := "emu" // ERROR "moved to heap: s5$"
    	s6 := "fox" // ERROR "moved to heap: s6$"
    	ps2 := &s2
    	ps4 := &s4 // ERROR "moved to heap: ps4$"
    	ps6 := &s6 // ERROR "moved to heap: ps6$"
    	u1 := U{&s1, &ps2}
    	u2 := &U{&s3, &ps4}  // ERROR "&U{...} does not escape$"
    	u3 := &U{&s5, &ps6}  // ERROR "&U{...} escapes to heap$"
    	v := &V{u1, u2, &u3} // ERROR "&V{...} does not escape$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  2. test/escape_struct_param2.go

    	s4 := "dog" // ERROR "moved to heap: s4$"
    	s5 := "emu" // ERROR "moved to heap: s5$"
    	s6 := "fox" // ERROR "moved to heap: s6$"
    	ps2 := &s2
    	ps4 := &s4 // ERROR "moved to heap: ps4$"
    	ps6 := &s6 // ERROR "moved to heap: ps6$"
    	u1 := U{&s1, &ps2}
    	u2 := &U{&s3, &ps4}  // ERROR "&U{...} does not escape$"
    	u3 := &U{&s5, &ps6}  // ERROR "&U{...} escapes to heap$"
    	v := &V{u1, u2, &u3} // ERROR "&V{...} does not escape$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 8.9K bytes
    - Viewed (0)
Back to top