- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestParseAllSizes (0.2 sec)
-
src/mime/multipart/multipart_test.go
} pbody, err := io.ReadAll(p) if err != nil { return nil, fmt.Errorf("error reading part: %v", err) } got = append(got, headerBody{p.Header, string(pbody)}) } } func TestParseAllSizes(t *testing.T) { t.Parallel() maxSize := 5 << 10 if testing.Short() { maxSize = 512 } var buf bytes.Buffer body := strings.Repeat("a", maxSize) bodyb := []byte(body)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 30.4K bytes - Viewed (0)