Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 312 for buzz (0.16 sec)

  1. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

        Generates fuzzers for several groups of ops.
    
        For each one we need the corresponding OpDef, ApiDef and KernelDef,
        since they all can contain constraints for the inputs.
    
        Args:
            name: the name of the fuzz artifact
            op_def_src: op definitions
            api_def_srcs: api definitions
            kernel_deps: op kernel dependencies
        """
    
        # Create tool to generate .cc fuzzer files.
        tf_cc_binary(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/README

    [compiler:*]
    	runtime.Compiler == <suffix>
    [cross]
    	cmd/go GOOS/GOARCH != GOHOSTOS/GOHOSTARCH
    [exec:*]
    	<suffix> names an executable in the test binary's PATH
    [fuzz]
    	GOOS/GOARCH supports -fuzz
    [fuzz-instrumented]
    	GOOS/GOARCH supports -fuzz with instrumentation
    [git]
    	the 'git' executable exists and provides the standard CLI
    [go-builder]
    	GO_BUILDER_NAME is non-empty
    [link]
    	testenv.HasLink()
    [msan]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    			}
    		})
    	}
    
    }
    
    func TestMicroTimeRoundtripCBOR(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 500; i++ {
    		var initial, final MicroTime
    		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:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/fuzzer/fuzzer.go

    )
    
    // Funcs returns the fuzzer functions for the kube-proxy apis.
    func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(obj *kubeproxyconfig.KubeProxyConfiguration, c fuzz.Continue) {
    			c.FuzzNoCustom(obj)
    			obj.BindAddress = fmt.Sprintf("%d.%d.%d.%d", c.Intn(256), c.Intn(256), c.Intn(256), c.Intn(256))
    			obj.ClientConnection.ContentType = c.RandString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/internal/fuzz/mutator_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"
    	"fmt"
    	"os"
    	"strconv"
    	"testing"
    )
    
    func BenchmarkMutatorBytes(b *testing.B) {
    	origEnv := os.Getenv("GODEBUG")
    	defer func() { os.Setenv("GODEBUG", origEnv) }()
    	os.Setenv("GODEBUG", fmt.Sprintf("%s,fuzzseed=123", origEnv))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. src/encoding/csv/fuzz_test.go

    // license that can be found in the LICENSE file.
    
    package csv
    
    import (
    	"bytes"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    )
    
    func FuzzRoundtrip(f *testing.F) {
    	f.Fuzz(func(t *testing.T, in []byte) {
    		buf := new(bytes.Buffer)
    
    		t.Logf("input = %q", in)
    		for _, tt := range []Reader{
    			{Comma: ','},
    			{Comma: ';'},
    			{Comma: '\t'},
    			{Comma: ',', LazyQuotes: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 01:26:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. src/internal/fuzz/coverage.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 (
    	"fmt"
    	"math/bits"
    )
    
    // ResetCoverage sets all of the counters for each edge of the instrumented
    // source code to 0.
    func ResetCoverage() {
    	cov := coverage()
    	clear(cov)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/internal/fuzz/minimize.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 (
    	"reflect"
    )
    
    func isMinimizable(t reflect.Type) bool {
    	return t == reflect.TypeOf("") || t == reflect.TypeOf([]byte(nil))
    }
    
    func minimizeBytes(v []byte, try func([]byte) bool, shouldStop func() bool) {
    	tmp := make([]byte, len(v))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 21:15:51 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    	scheme := runtime.NewScheme()
    	codecs := serializer.NewCodecFactory(scheme)
    	fuzz.New().NilChance(.5).NumElements(1, 5).Funcs(metafuzzer.Funcs(codecs)...).MaxDepth(10).Fuzz(&myAPIObject2)
    	references := myAPIObject2.ObjectMeta.OwnerReferences
    	// This is necessary for the test to pass because the getter will return a
    	// non-nil slice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
Back to top