- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for largeHeaders (0.28 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
assertThat(headerBlock).isEqualTo(sentHeaders) } }, ) } /** Headers are compressed, then framed. */ @Test fun headersFrameThenContinuation() { val sentHeaders = largeHeaders() val headerBlock = literalHeaders(sentHeaders) // Write the first headers frame. writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE) frame.writeByte(Http2.TYPE_HEADERS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0) -
src/bufio/scan_test.go
} } if got, want := scanner.Err(), ErrBadReadCount; got != want { t.Errorf("scanner.Err: got %v, want %v", got, want) } } // largeReader returns an invalid count that is larger than the number // of bytes requested. type largeReader struct{} func (largeReader) Read(p []byte) (int, error) { return len(p) + 1, nil } // Test that the scanner doesn't panic and returns ErrBadReadCount
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0)