MCPcopy
hub / github.com/valyala/fasthttp / runFSByteRangeSingleThread

Function runFSByteRangeSingleThread

fs_test.go:535–542  ·  view source on GitHub ↗
(t *testing.T, fs *FS)

Source from the content-addressed store, hash-verified

533}
534
535func runFSByteRangeSingleThread(t *testing.T, fs *FS) {
536 t.Helper()
537
538 h := fs.NewRequestHandler()
539
540 testFSByteRange(t, h, "/fs.go")
541 testFSByteRange(t, h, "/README.md")
542}
543
544func TestFSByteRangeZeroLengthSuffixRange(t *testing.T) {
545 t.Parallel()

Calls 2

testFSByteRangeFunction · 0.85
NewRequestHandlerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…