- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFileSamples (0.22 sec)
-
src/internal/zstd/zstd_test.go
c := testing.AllocsPerRun(10, func() { input.Reset(compressed) r.Reset(input) io.Copy(io.Discard, r) }) if c != 0 { t.Errorf("got %v allocs, want 0", c) } } func TestFileSamples(t *testing.T) { samples, err := os.ReadDir("testdata") if err != nil { t.Fatal(err) } for _, sample := range samples { name := sample.Name() if !strings.HasSuffix(name, ".zst") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:39:21 UTC 2023 - 9.5K bytes - Viewed (0)