Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tUPPiSPPia (0.11 sec)

  1. test/escape_struct_param1.go

    // it distinguishes fields but because it knows that &s6 is the only
    // value reachable by two indirects from v.
    // The test depends on the level cap in the escape analysis tags
    // being able to encode that fact.
    func tUPPiSPPia() {
    	s1 := "ant"
    	s2 := "bat"
    	s3 := "cat"
    	s4 := "dog"
    	s5 := "emu"
    	s6 := "fox" // ERROR "moved to heap: s6$"
    	ps2 := &s2
    	ps4 := &s4
    	ps6 := &s6
    	u1 := U{&s1, &ps2}
    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

    // it distinguishes fields but because it knows that &s6 is the only
    // value reachable by two indirects from v.
    // The test depends on the level cap in the escape analysis tags
    // being able to encode that fact.
    func tUPPiSPPia() { // This test is sensitive to the level cap in function summary results.
    	s1 := "ant"
    	s2 := "bat"
    	s3 := "cat"
    	s4 := "dog"
    	s5 := "emu"
    	s6 := "fox" // ERROR "moved to heap: s6$"
    	ps2 := &s2
    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