Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buf4$ (0.03 sec)

  1. test/escape2.go

    func G() {
    	var buf1 [10]byte
    	F1(buf1[:])
    
    	var buf2 [10]byte // ERROR "moved to heap: buf2$"
    	F2(buf2[:])
    
    	var buf3 [10]byte
    	F3(buf3[:])
    
    	var buf4 [10]byte // ERROR "moved to heap: buf4$"
    	F4(buf4[:])
    }
    
    type Tm struct {
    	x int
    }
    
    func (t *Tm) M() { // ERROR "t does not escape$"
    }
    
    func foo141() {
    	var f func()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  2. test/escape2n.go

    func G() {
    	var buf1 [10]byte
    	F1(buf1[:])
    
    	var buf2 [10]byte // ERROR "moved to heap: buf2$"
    	F2(buf2[:])
    
    	var buf3 [10]byte
    	F3(buf3[:])
    
    	var buf4 [10]byte // ERROR "moved to heap: buf4$"
    	F4(buf4[:])
    }
    
    type Tm struct {
    	x int
    }
    
    func (t *Tm) M() { // ERROR "t does not escape$"
    }
    
    func foo141() {
    	var f func()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top