Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bufferNoEscape5 (0.17 sec)

  1. test/fixedbugs/issue7921.go

    	useBuffer(&b)
    	return b.Bytes() // ERROR "inlining call to bytes.\(\*Buffer\).Bytes$"
    }
    
    func bufferNoEscape5() { // ERROR "can inline bufferNoEscape5$"
    	b := bytes.NewBuffer(make([]byte, 0, 128)) // ERROR "&bytes.Buffer{...} does not escape$" "make\(\[\]byte, 0, 128\) does not escape$" "inlining call to bytes.NewBuffer$"
    	useBuffer(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top