- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testBuffer_writeTo (0.44 sec)
-
src/net/writev_test.go
for _, name := range []string{"WriteTo", "Copy"} { for _, size := range []int{0, 10, 1023, 1024, 1025} { t.Run(fmt.Sprintf("%s/%d", name, size), func(t *testing.T) { testBuffer_writeTo(t, size, name == "Copy") }) } } } func testBuffer_writeTo(t *testing.T, chunks int, useCopy bool) { oldHook := poll.TestHookDidWritev defer func() { poll.TestHookDidWritev = oldHook }() var writeLog struct { sync.Mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 5K bytes - Viewed (0)