Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 227 for fuzz (0.61 sec)

  1. src/cmd/go/testdata/mod/example.com_fuzzfail_v0.1.0.txt

    go 1.18
    -- .info --
    {"Version":"v0.1.0"}
    -- go.mod --
    module example.com/fuzzfail
    
    go 1.18
    -- fuzzfail_test.go --
    package fuzzfail
    
    import "testing"
    
    func FuzzFail(f *testing.F) {
    	f.Fuzz(func(t *testing.T, b []byte) {
    		t.Fatalf("oops: %q", b)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:39 UTC 2021
    - 291 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/fuzz/FuzzReader/invalid-proc-state

    go test fuzz v1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 221 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/escaping_test.go

    			if ok {
    				t.Fatalf("Expected %s to be unescapable, but it escaped to: %s", s, e)
    			}
    		})
    	}
    }
    
    func TestEscapingFuzz(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 1000; i++ {
    		var unescaped string
    		fuzzer.Fuzz(&unescaped)
    		t.Run(fmt.Sprintf("%d - '%s'", i, unescaped), func(t *testing.T) {
    			if len(unescaped) == 0 {
    				return
    			}
    			escaped, ok := Escape(unescaped)
    			if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  4. tests/fuzz/operator_translate_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/operator/pkg/translate"
    )
    
    func FuzzTranslateFromValueToSpec(data []byte) int {
    	tr := translate.NewReverseTranslator()
    	_, _ = tr.TranslateFromValueToSpec(data, false)
    	return 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 807 bytes
    - Viewed (0)
  5. tests/fuzz/mesh_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/pkg/config/mesh"
    )
    
    func FuzzParseMeshNetworks(data []byte) int {
    	_, _ = mesh.ParseMeshNetworks(string(data))
    	return 1
    }
    
    func FuzzValidateMeshConfig(data []byte) int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 860 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top