Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 297 for buzz (0.04 sec)

  1. pilot/pkg/networking/core/loadbalancer/fuzz_test.go

    package loadbalancer
    
    import (
    	"testing"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
    
    	"istio.io/api/networking/v1alpha3"
    )
    
    func FuzzApplyLocalityLBSetting(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data []byte) {
    		ff := fuzz.NewConsumer(data)
    		proxyLabels := make(map[string]string)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_test_race.txt

    # and seed values are being executed, the race detector isn't mistakenly
    # triggered.
    
    [short] skip
    [!fuzz] skip
    [!race] skip
    env GOCACHE=$WORK/cache
    
    # Test with coverage instrumentation enabled (-fuzz) and race instrumentation
    # but without actually fuzzing the target (by using a non-matching pattern)
    go test -fuzz=xxx -race -v
    ! stderr 'race detected during execution of test'
    
    # Test with just race instrumentation enabled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 966 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_cgo.txt

    [!fuzz] skip
    [!cgo] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Test that fuzzing works with cgo (issue 65169)
    
    go test -fuzz=. -fuzztime=1x
    stdout ok
    ! stdout FAIL
    
    -- go.mod --
    module example.com/p
    
    go 1.20
    -- c.go --
    package p
    
    import "C"
    -- c_test.go --
    package p
    
    import "testing"
    
    func Fuzz(f *testing.F) {
    	f.Add(0)
    	f.Fuzz(func(t *testing.T, x int) {})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 364 bytes
    - Viewed (0)
  4. tests/fuzz/compare_fuzzer.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // nolint: revive
    package fuzz
    
    import (
    	"bytes"
    	"errors"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/istioctl/pkg/writer/compare"
    )
    
    func createIstiodDumps(f *fuzz.ConsumeFuzzer) (map[string][]byte, error) {
    	m := make(map[string][]byte)
    	maxNoEntries := 50
    	qty, err := f.GetInt()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. tests/fuzz/pilot_model_fuzzer.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package fuzz
    
    import (
    	"errors"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/memory"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/mesh"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. tests/fuzz/inject_fuzzer.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package fuzz
    
    import (
    	"bytes"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/kube/inject"
    )
    
    func FuzzIntoResourceFile(data []byte) int {
    	f := fuzz.NewConsumer(data)
    	var sidecarTemplate map[string]string
    	err := f.FuzzMap(&sidecarTemplate)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_run.txt

    import "testing"
    
    func FuzzFoo(f *testing.F) {
        f.Add("this is fine")
        f.Fuzz(func(t *testing.T, s string) {
            if s == "fails" {
                t.Error("error here")
            }
        })
    }
    -- testdata/fuzz/FuzzFoo/thisfails --
    go test fuzz v1
    string("fails")
    -- testdata/fuzz/FuzzFoo/thispasses --
    go test fuzz v1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:02 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_io_error.txt

    [short] skip
    [!fuzz] skip
    env GOCACHE=$WORK/cache
    
    # If the I/O error occurs before F.Fuzz is called, the coordinator should
    # stop the worker and say that.
    ! go test -fuzz=FuzzClosePipeBefore -parallel=1
    stdout '\s*fuzzing process terminated without fuzzing:'
    ! stdout 'communicating with fuzzing process'
    ! exists testdata
    
    # If the I/O error occurs after F.Fuzz is called (unlikely), just exit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_fuzz_parallel.txt

    ! go test -run=FuzzMutate -fuzz=FuzzMutate
    exists testdata/fuzz/FuzzMutate
    
    # Testdata should now contain a corpus entry which will fail FuzzMutate.
    # Run the test without fuzzing, setting -parallel to different values to make
    # sure it fails, and doesn't hang.
    ! go test -run=FuzzMutate -parallel=1
    ! go test -run=FuzzMutate -parallel=2
    ! go test -run=FuzzMutate -parallel=4
    
    -- go.mod --
    module fuzz_parallel
    
    go 1.17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. pkg/kube/inject/fuzz_test.go

    // limitations under the License.
    
    package inject
    
    import (
    	"testing"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    )
    
    func FuzzRunTemplate(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data []byte, v string) {
    		ff := fuzz.NewConsumer(data)
    
    		// create injection parameters
    		IP := InjectionParameters{}
    		err := ff.GenerateStruct(&IP)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top