- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for bufferNoEscape4 (0.11 sec)
-
test/fixedbugs/issue7921.go
b.WriteString(x) b.WriteByte(',') } return b.String() // ERROR "inlining call to bytes.\(\*Buffer\).String$" "string\(bytes.b.buf\[bytes.b.off:\]\) escapes to heap$" } func bufferNoEscape4() []byte { var b bytes.Buffer b.Grow(64) // ERROR "bufferNoEscape4 ignoring self-assignment in bytes.b.buf = bytes.b.buf\[:bytes.m\]$" "inlining call to bytes.\(\*Buffer\).Grow$" `".+" escapes to heap` 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)