- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for tw (0.11 sec)
-
src/bufio/bufio_test.go
const BufSize = 8 { tw := &teststringwriter{} b := NewWriterSize(tw, BufSize) b.WriteString("1234") tw.check(t, "", "") b.WriteString("56789012") // longer than BufSize tw.check(t, "12345678", "") // but not enough (after filling the partially-filled buffer) b.Flush() tw.check(t, "123456789012", "") } { tw := &teststringwriter{} b := NewWriterSize(tw, BufSize)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0)