Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 312 for buzz (0.14 sec)

  1. pkg/config/mesh/fuzz_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh
    
    import "testing"
    
    func FuzzValidateMeshConfig(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data string) {
    		_, _ = ApplyMeshConfigDefaults(data)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 30 14:29:06 UTC 2022
    - 749 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go

    	"k8s.io/apimachinery/pkg/util/diff"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    	flag "github.com/spf13/pflag"
    	"sigs.k8s.io/yaml"
    )
    
    var fuzzIters = flag.Int("fuzz-iters", 50, "How many fuzzing iterations to do.")
    
    type testMetaFactory struct{}
    
    func (testMetaFactory) Interpret(data []byte) (*schema.GroupVersionKind, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/printers/sourcechecker_test.go

    	disallowedPrefixes := []string{
    		"foo/bar",
    		"k8s.io/foo/bar/vendor/k8s.io/baz/buz",
    		"bar/foo/baz",
    	}
    
    	testCases := []struct {
    		name            string
    		pkgPath         string
    		shouldBeAllowed bool
    	}{
    		{
    			name:            "package path beginning with forbidden prefix is rejected",
    			pkgPath:         "foo/bar/baz/buz",
    			shouldBeAllowed: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/fuzz/sys_unimplemented.go

    // license that can be found in the LICENSE file.
    
    // If you update this constraint, also update internal/platform.FuzzSupported.
    //
    //go:build !darwin && !freebsd && !linux && !windows
    
    package fuzz
    
    import (
    	"os"
    	"os/exec"
    )
    
    type sharedMemSys struct{}
    
    func sharedMemMapFile(f *os.File, size int, removeOnClose bool) (*sharedMem, error) {
    	panic("not implemented")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 18:08:15 UTC 2022
    - 934 bytes
    - Viewed (0)
  5. security/pkg/server/ca/authenticate/fuzz_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package authenticate
    
    import (
    	"testing"
    )
    
    func FuzzBuildSecurityCaller(f *testing.F) {
    	f.Fuzz(func(t *testing.T, s string) {
    		_, _ = buildSecurityCaller(s)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 749 bytes
    - Viewed (0)
  6. tests/fuzz/pkg_util_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 (
    	"istio.io/istio/security/pkg/util"
    )
    
    func FuzzJwtUtil(data []byte) int {
    	_, _ = util.GetExp(string(data))
    	_, _ = util.GetAud(string(data))
    	_, _ = util.ExtractJwtAud(string(data))
    	return 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 805 bytes
    - Viewed (0)
  7. security/pkg/k8s/chiron/fuzz_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package chiron
    
    import (
    	"os"
    	"testing"
    )
    
    func FuzzReadCACert(f *testing.F) {
    	f.Fuzz(func(t *testing.T, caCert []byte) {
    		// create ca file
    		caFile, err := os.Create("caFile")
    		if err != nil {
    			return
    		}
    		defer func() {
    			caFile.Close()
    			os.Remove("caFile")
    		}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 988 bytes
    - Viewed (0)
  8. src/internal/fuzz/trace.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.
    
    //go:build !libfuzzer
    
    package fuzz
    
    import _ "unsafe" // for go:linkname
    
    //go:linkname libfuzzerTraceCmp1 runtime.libfuzzerTraceCmp1
    //go:linkname libfuzzerTraceCmp2 runtime.libfuzzerTraceCmp2
    //go:linkname libfuzzerTraceCmp4 runtime.libfuzzerTraceCmp4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 00:12:53 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. src/internal/fuzz/sys_windows.go

    // Copyright 2020 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"
    	"os"
    	"os/exec"
    	"syscall"
    	"unsafe"
    )
    
    type sharedMemSys struct {
    	mapObj syscall.Handle
    }
    
    func sharedMemMapFile(f *os.File, size int, removeOnClose bool) (mem *sharedMem, err error) {
    	defer func() {
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:35:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"math/rand"
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/kubelet/config/v1beta1"
    	"k8s.io/kubernetes/pkg/cluster/ports"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top