Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fuzzheaders (0.22 sec)

  1. pkg/fuzz/util.go

    package fuzz
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    	"testing"
    
    	fuzzheaders "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/pkg/test"
    )
    
    const panicPrefix = "go-fuzz-skip: "
    
    // Helper is a helper struct for fuzzing
    type Helper struct {
    	cf *fuzzheaders.ConsumeFuzzer
    	t  test.Failer
    }
    
    type Validator interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 30 15:31:14 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/internal/zstd/fuzz_test.go

    // license that can be found in the LICENSE file.
    
    package zstd
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"os/exec"
    	"testing"
    )
    
    // badStrings is some inputs that FuzzReader failed on earlier.
    var badStrings = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/compress/gzip/fuzz_test.go

    // license that can be found in the LICENSE file.
    
    package gzip
    
    import (
    	"bytes"
    	"encoding/base64"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func FuzzReader(f *testing.F) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/archive/tar/fuzz_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"io"
    	"testing"
    )
    
    func FuzzReader(f *testing.F) {
    	b := bytes.NewBuffer(nil)
    	w := NewWriter(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

                        }));
    }
    
    string FuzzerFileStart() {
      const string fuzz_namespace_begin = R"namespace(
    namespace tensorflow {
    namespace fuzzing {
    
    )namespace";
    
      const string fuzz_header = strings::StrCat(
          R"include(// This file is MACHINE GENERATED! Do not edit.
    
    #include "tensorflow/cc/ops/const_op.h"
    #include "tensorflow/cc/ops/standard_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. src/internal/trace/reader_test.go

    			tr, exp, err := testtrace.ParseFile(testPath)
    			if err != nil {
    				t.Fatalf("failed to parse test file at %s: %v", testPath, err)
    			}
    			testReader(t, tr, exp)
    		})
    	}
    }
    
    func FuzzReader(f *testing.F) {
    	// Currently disabled because the parser doesn't do much validation and most
    	// getters can be made to panic. Turn this on once the parser is meant to
    	// reject invalid traces.
    	const testGetters = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    func reportLabels(rpt *Report, g *graph.Graph, origCount, droppedNodes, droppedEdges int, fullHeaders bool) []string {
    	nodeFraction := rpt.options.NodeFraction
    	edgeFraction := rpt.options.EdgeFraction
    	nodeCount := len(g.Nodes)
    
    	var label []string
    	if len(rpt.options.ProfileLabels) > 0 {
    		label = append(label, rpt.options.ProfileLabels...)
    	} else if fullHeaders || !rpt.options.CompactLabels {
    		label = ProfileLabels(rpt)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top