- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 312 for buzz (0.04 sec)
-
src/archive/tar/fuzz_test.go
} _, err = w.Write(inp) if err != nil { f.Fatalf("failed to write file to archive: %s", err) } if err := w.Close(); err != nil { f.Fatalf("failed to write archive: %s", err) } f.Add(b.Bytes()) f.Fuzz(func(t *testing.T, b []byte) { r := NewReader(bytes.NewReader(b)) type file struct { header *Header content []byte } files := []file{} for { hdr, err := r.Next() if err == io.EOF {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
t.Errorf("unexpected difference between expected and actual output:\n%s", diff) } }) } } func TestIntOrStringRoundtripCBOR(t *testing.T) { fuzzer := fuzz.New() for i := 0; i < 500; i++ { var initial, final IntOrString fuzzer.Fuzz(&initial) b, err := cbor.Marshal(initial) if err != nil { t.Errorf("error encoding %v: %v", initial, err) continue } err = cbor.Unmarshal(b, &final)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 14.3K bytes - Viewed (0) -
src/internal/fuzz/mutators_byteslice_test.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package fuzz import ( "bytes" "testing" ) type mockRand struct { values []int counter int b bool } func (mr *mockRand) uint32() uint32 { c := mr.values[mr.counter] mr.counter++ return uint32(c) } func (mr *mockRand) intn(n int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 19 18:23:43 UTC 2021 - 4.3K bytes - Viewed (0) -
src/cmd/go/internal/cache/default.go
const cacheREADME = `This directory holds cached build artifacts from the Go build system. Run "go clean -cache" if the directory is getting too large. Run "go clean -fuzzcache" to delete the fuzz cache. See golang.org to learn more about Go. ` // initDefaultCache does the work of finding the default cache // the first time Default is called. func initDefaultCache() { dir, _ := DefaultDir()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 3K bytes - Viewed (0) -
pkg/util/coverage/fake_test_deps.go
// which is called unconditionally when running tests. // //nolint:unused // U1000 see comment above, we know it's unused normally. type fakeTestDeps struct{} // https://go.dev/src/testing/fuzz.go#L88 // //nolint:unused // U1000 see comment above, we know it's unused normally. type corpusEntry = struct { Parent string Path string Data []byte Values []any Generation int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 15:31:22 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/api/testing/conversion_test.go
) func BenchmarkPodConversion(b *testing.B) { apiObjectFuzzer := fuzzer.FuzzerFor(FuzzerFuncs, rand.NewSource(benchmarkSeed), legacyscheme.Codecs) items := make([]api.Pod, 4) for i := range items { apiObjectFuzzer.Fuzz(&items[i]) items[i].Spec.InitContainers = nil items[i].Status.InitContainerStatuses = nil } // add a fixed item items = append(items, benchmarkPod) width := len(items) scheme := legacyscheme.Scheme
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 30 06:49:09 UTC 2021 - 3.9K bytes - Viewed (0) -
src/internal/fuzz/pcg.go
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package fuzz import ( "math/bits" "os" "strconv" "strings" "sync/atomic" "time" ) type mutatorRand interface { uint32() uint32 intn(int) int uint32n(uint32) uint32 exp2() int bool() bool save(randState, randInc *uint64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:28:14 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// fuzz tests should be executed. The default is the current value // of GOMAXPROCS. -cpu does not apply to fuzz tests matched by -fuzz. // // -failfast // Do not start new tests after the first test failure. // // -fullpath // Show full file names in the error messages. // // -fuzz regexp // Run the fuzz test matching the regular expression. When specified,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/internal/trace/reader_test.go
// Currently disabled because the parser doesn't do much validation and most // getters can be made to panic. Turn this on once the parser is meant to // reject invalid traces. const testGetters = false f.Fuzz(func(t *testing.T, b []byte) { r, err := trace.NewReader(bytes.NewReader(b)) if err != nil { return } for { ev, err := r.ReadEvent() if err != nil { break } if !testGetters {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.7K bytes - Viewed (0) -
CODEOWNERS
/pkg/spiffe/ @istio/wg-security-maintainers /pkg/test/ @istio/wg-test-and-release-maintainers /pkg/fuzz/ @istio/wg-test-and-release-maintainers /pkg/tracing/ @istio/wg-policies-and-telemetry-maintainers
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 22 19:22:33 UTC 2024 - 7.2K bytes - Viewed (0)