Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 251 for buzz (0.05 sec)

  1. src/internal/zstd/fuzz_test.go

    		f.Add([]byte(test.compressed))
    	}
    	for _, s := range badStrings {
    		f.Add([]byte(s))
    	}
    	f.Fuzz(func(t *testing.T, b []byte) {
    		r := NewReader(bytes.NewReader(b))
    		io.Copy(io.Discard, r)
    	})
    }
    
    // Fuzz test to verify that what we decompress is what we compress.
    // This isn't a great fuzz test because the fuzzer can't efficiently
    // explore the space of decompressor behavior, since it can't see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/testdata/framefuzz.test

    --- PASS: TestInlining (0.10s)
    === RUN   FuzzParse
    fuzz: elapsed: 0s, gathering baseline coverage: 0/390 completed
    fuzz: elapsed: 0s, gathering baseline coverage: 390/390 completed, now fuzzing with 16 workers
    fuzz: elapsed: 3s, execs: 438666 (146173/sec), new interesting: 12 (total: 402)
    fuzz: elapsed: 4s, execs: 558467 (147850/sec), new interesting: 15 (total: 405)
    --- PASS: FuzzParse (3.85s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. tests/fuzz/pilot_security_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 (
    	"fmt"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/pilot/pkg/networking/util"
    	"istio.io/istio/pilot/pkg/security/authz/matcher"
    )
    
    func FuzzCidrRange(data []byte) int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. tests/integration/security/fuzz/fuzz_test.go

    	if err != nil {
    		t.Fatalf("failed to get jwttool pod: %v", err)
    	}
    	t.Logf("running jwttool fuzz test against the %s (should normally complete in 10 seconds)...", server)
    
    	// Run the jwttool fuzz testing with "--mode at" to run all tests:
    	// - JWT Attack Playbook
    	// - Fuzz existing claims to force errors
    	// - Fuzz common claims
    	commands := []string{
    		"./run.sh",
    		"--targeturl",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi_test.go

    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
    	apiextensionsv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
    	"k8s.io/apimachinery/pkg/util/json"
    )
    
    func TestStructuralKubeOpenAPIRoundtrip(t *testing.T) {
    	f := fuzz.New()
    	seed := time.Now().UnixNano()
    	t.Logf("seed = %v", seed)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    	// this is nil or its counter is zero.
    	clientWG *waitGroupCounter
    
    	// fuzz is the amount of noise to add to scheduling.  An event
    	// requested to run at time T will run at some time chosen
    	// uniformly at random from the interval [T, T+fuzz]; the upper
    	// bound is exclusive iff fuzz is non-zero.
    	fuzz time.Duration
    
    	// rand is the random number generator to use in fuzzing
    	rand *rand.Rand
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  7. pkg/apis/resource/fuzzer/fuzzer.go

    */
    
    package fuzzer
    
    import (
    	fuzz "github.com/google/gofuzz"
    
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/kubernetes/pkg/apis/resource"
    )
    
    // Funcs contains the fuzzer functions for the resource group.
    var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(obj *resource.ResourceClaimSpec, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. tests/fuzz/autoregistration_controller_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 (
    	"fmt"
    	"time"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/autoregistration"
    	"istio.io/istio/pilot/pkg/config/memory"
    	"istio.io/istio/pilot/pkg/model"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. tests/fuzz/regression_test.go

    		}
    		t.Run(tt.name, func(t *testing.T) {
    			runRegressionTest(t, tt.name, tt.fuzzer)
    		})
    	}
    	t.Run("completeness", func(t *testing.T) {
    		match := regexp.MustCompile(`func Fuzz.+\(`)
    		fuzzers, err := walkMatch(filepath.Join(env.IstioSrc, "tests/fuzz"), match)
    		if err != nil {
    			t.Fatal(err)
    		}
    		allFuzzers := sets.New(fuzzers...)
    		if !allFuzzers.Equals(testedFuzzers) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. docs_src/app_testing/app_b/test_main.py

        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
            headers={"X-Token": "hailhydra"},
            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top