Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bufferNoEscape3 (0.11 sec)

  1. test/fixedbugs/issue7921.go

    	for _, x := range xs {
    		b.WriteString(x)
    	}
    	return b.Len() // ERROR "inlining call to bytes.\(\*Buffer\).Len$"
    }
    
    func bufferNoEscape3(xs []string) string { // ERROR "xs does not escape$"
    	b := bytes.NewBuffer(make([]byte, 0, 64)) // ERROR "&bytes.Buffer{...} does not escape$" "make\(\[\]byte, 0, 64\) does not escape$" "inlining call to bytes.NewBuffer$"
    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