Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buffering (0.05 sec)

  1. src/bufio/bufio_test.go

    		}
    	}
    }
    
    // TestWriterReadFromCounts tests that using io.Copy to copy into a
    // bufio.Writer does not prematurely flush the buffer. For example, when
    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * Manually using `StringBuilder` to assemble these components is cumbersome: do '+' characters get
     * silently replaced with spaces? If a query parameter contains a '&', does that get escaped?
     * By offering methods to read and write individual query parameters directly, application
     * developers are saved from the hassles of encoding and decoding.
     *
     * ### Plus a modern API
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top