Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for runfuzz (0.09 sec)

  1. tests/fuzz/regression_test.go

    		fuzz(by)
    	}
    	for i, c := range baseCases {
    		t.Run(fmt.Sprintf("base case %d", i), func(t *testing.T) {
    			runfuzz(t, "", c)
    		})
    	}
    	for _, c := range cases {
    		t.Run(c.Name(), func(t *testing.T) {
    			by, err := os.ReadFile(filepath.Join(dir, c.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    			runfuzz(t, c.Name(), by)
    		})
    	}
    }
    
    func walkMatch(root string, pattern *regexp.Regexp) ([]string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    	env.runFunc()
    	env.pollForPathExists("/apis/stable.example.com/v1/coolfoos")
    	s := env.fetchOpenAPIOrDie()
    
    	env.expectPath(s, "/apis/stable.example.com/v1/coolfoos")
    	env.expectPath(s, "/apis/apiextensions.k8s.io/v1")
    }
    
    func TestUpdate(t *testing.T) {
    	env, ctx := setup(t)
    	env.runFunc()
    	defer env.cleanFunc()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    		return nil, nil
    	}
    
    	// Call runFunc for each Func{Decl,Lit}.
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    	nodeTypes := []ast.Node{
    		(*ast.FuncLit)(nil),
    		(*ast.FuncDecl)(nil),
    	}
    	inspect.Preorder(nodeTypes, func(n ast.Node) {
    		runFunc(pass, n)
    	})
    	return nil, nil
    }
    
    func runFunc(pass *analysis.Pass, node ast.Node) {
    	// Find scope of function node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pkg/api/testing/copy_test.go

    	}
    
    	prefuzzData := &bytes.Buffer{}
    	if err := legacyscheme.Codecs.LegacyCodec(kind.GroupVersion()).Encode(item, prefuzzData); err != nil {
    		t.Errorf("Could not encode a %v: %s", kind, err)
    		return
    	}
    
    	// Refuzz the copy, which should have no effect on the original
    	f.Fuzz(itemCopy)
    
    	postfuzzData := &bytes.Buffer{}
    	if err := legacyscheme.Codecs.LegacyCodec(kind.GroupVersion()).Encode(item, postfuzzData); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. tests/integration/security/fuzz/fuzz_test.go

    	for _, ignore := range ignores {
    		if strings.Contains(line, ignore) {
    			t.Logf("ignored known unsupported normalization: %s", ignore)
    			return true
    		}
    	}
    	return false
    }
    
    func runFuzzer(t framework.TestContext, fuzzer, ns, server string) {
    	pods, err := t.Clusters().Default().PodsForSelector(context.TODO(), ns, "app="+fuzzer)
    	if err != nil {
    		t.Fatalf("failed to get %s pod: %v", fuzzer, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. pkg/kubelet/server/server_test.go

    	podsFunc            func() []*v1.Pod
    	runningPodsFunc     func(ctx context.Context) ([]*v1.Pod, error)
    	logFunc             func(w http.ResponseWriter, req *http.Request)
    	runFunc             func(podFullName string, uid types.UID, containerName string, cmd []string) ([]byte, error)
    	getExecCheck        func(string, types.UID, string, []string, remotecommandserver.Options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. src/regexp/exec_test.go

    	}
    	t.Logf("%d cases tested", ncase)
    }
    
    var run = []func(*Regexp, *Regexp, string) ([]int, string){
    	runFull,
    	runPartial,
    	runFullLongest,
    	runPartialLongest,
    }
    
    func runFull(re, refull *Regexp, text string) ([]int, string) {
    	refull.longest = false
    	return refull.FindStringSubmatchIndex(text), "[full]"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top