Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abc (0.25 sec)

  1. src/bufio/bufio_test.go

    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("abc")
    		tw.check(t, "", "")
    		b.WriteString("123456789012345")      // long string, non-empty buffer
    		tw.check(t, "abc12345", "6789012345") // use Write and then WriteString since the remaining part is still longer than BufSize
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.Write([]byte("abc")) // same as above, but use Write instead of WriteString
    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)
Back to top