- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScanLongLines (0.09 sec)
-
src/bufio/scan_test.go
} if addNewline { if doCR { buf.WriteByte('\r') } buf.WriteByte('\n') } } // Test the line splitter, including some carriage returns but no long lines. func TestScanLongLines(t *testing.T) { // Build a buffer of lots of line lengths up to but not exceeding smallMaxTokenSize. tmp := new(bytes.Buffer) buf := new(bytes.Buffer) lineNum := 0 j := 0
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0)