Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 301 for fizz (0.12 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/fuzzer.go

    )
    
    // FuzzerFuncs returns a list of func(*SomeType, c fuzz.Continue) functions.
    type FuzzerFuncs func(codecs runtimeserializer.CodecFactory) []interface{}
    
    // FuzzerFor can randomly populate api objects that are destined for version.
    func FuzzerFor(funcs FuzzerFuncs, src rand.Source, codecs runtimeserializer.CodecFactory) *fuzz.Fuzzer {
    	f := fuzz.New().NilChance(.5).NumElements(0, 1)
    	if src != nil {
    		f.RandSource(src)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	roundTripTypes(t, scheme, codecFactory, fuzzer, nonRoundTrippableTypes, true)
    }
    
    func RoundTripTypes(t *testing.T, scheme *runtime.Scheme, codecFactory runtimeserializer.CodecFactory, fuzzer *fuzz.Fuzzer, nonRoundTrippableTypes map[schema.GroupVersionKind]bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/audit/fuzzer/fuzzer.go

    package fuzzer
    
    import (
    	"strings"
    
    	fuzz "github.com/google/gofuzz"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apiserver/pkg/apis/audit"
    )
    
    // Funcs returns the fuzzer functions for the audit api group.
    func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(e *audit.Event, c fuzz.Continue) {
    			c.FuzzNoCustom(e)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 16:10:17 UTC 2017
    - 2.1K 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. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/options_test.go

    */
    
    package v1
    
    import (
    	"encoding/json"
    	"fmt"
    	"reflect"
    	"testing"
    
    	fuzz "github.com/google/gofuzz"
    )
    
    func TestPatchOptionsIsSuperSetOfUpdateOptions(t *testing.T) {
    	f := fuzz.New()
    	for i := 0; i < 1000; i++ {
    		t.Run(fmt.Sprintf("Run %d/1000", i), func(t *testing.T) {
    			update := UpdateOptions{}
    			f.Fuzz(&update)
    
    			b, err := json.Marshal(update)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 04 21:51:48 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top