- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestTruncatedStreams (0.17 sec)
-
src/compress/flate/flate_test.go
continue } if got := hex.EncodeToString(data); got != tc.want { t.Errorf("#%d (%s):\ngot %q\nwant %q", i, tc.desc, got, tc.want) } } } } func TestTruncatedStreams(t *testing.T) { const data = "\x00\f\x00\xf3\xffhello, world\x01\x00\x00\xff\xff" for i := 0; i < len(data)-1; i++ { r := NewReader(strings.NewReader(data[:i])) _, err := io.Copy(io.Discard, r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 11K bytes - Viewed (1) -
src/compress/gzip/gunzip_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 12 15:06:07 UTC 2022 - 19.5K bytes - Viewed (0)