Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for fuzz (0.04 sec)

  1. tools/golangci-override.yaml

              - "!**/pkg/kube/**"
              - "!**/pkg/url/**"
              - "!**/pkg/test/framework/**"
              - "!**/tests/fuzz/**"
            deny:
              - pkg: istio.io/istio/operator
                desc: "operator should not be imported"
              - pkg: istio.io/istio/istioctl
                desc: "istioctl should not be imported"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/go/doc/example.go

    //     example function, zero test, fuzz test, or benchmark function, and at
    //     least one top-level function, type, variable, or constant declaration
    //     other than the example function.
    func Examples(testFiles ...*ast.File) []*Example {
    	var list []*Example
    	for _, file := range testFiles {
    		hasTests := false // file contains tests, fuzz test, or benchmarks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    func (alwaysErrorTyper) Recognizes(gvk schema.GroupVersionKind) bool {
    	return false
    }
    
    func TestUpdateToCreateOptions(t *testing.T) {
    	f := fuzz.New()
    	for i := 0; i < 100; i++ {
    		t.Run(fmt.Sprintf("Run %d/100", i), func(t *testing.T) {
    			update := &metav1.UpdateOptions{}
    			f.Fuzz(update)
    			create := updateToCreateOptions(update)
    
    			b, err := json.Marshal(create)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top