Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for dumpDep (0.13 sec)

  1. src/cmd/link/internal/ld/deadcode_test.go

    			t.Parallel()
    			src := filepath.Join("testdata", "deadcode", test.src+".go")
    			exe := filepath.Join(tmpdir, test.src+".exe")
    			cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-ldflags=-dumpdep", "-o", exe, src)
    			out, err := cmd.CombinedOutput()
    			if err != nil {
    				t.Fatalf("%v: %v:\n%s", cmd.Args, err, out)
    			}
    			for _, pos := range test.pos {
    				if !bytes.Contains(out, []byte(pos+"\n")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/link/doc.go

    		controls only whether a dynamic header is included.
    		The dynamic header is on by default, even without any
    		references to dynamic libraries, because many common
    		system tools now assume the presence of the header.
    	-dumpdep
    		Dump symbol dependency graph.
    	-extar ar
    		Set the external archive program (default "ar").
    		Used only for -buildmode=c-archive.
    	-extld linker
    		Set the external linker (default "clang" or "gcc").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    	flagPluginPath = flag.String("pluginpath", "", "full path name for plugin")
    
    	flagInstallSuffix = flag.String("installsuffix", "", "set package directory `suffix`")
    	flagDumpDep       = flag.Bool("dumpdep", false, "dump symbol dependency graph")
    	flagRace          = flag.Bool("race", false, "enable race detector")
    	flagMsan          = flag.Bool("msan", false, "enable MSan interface")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    	}
    
    	if n := db.numDepsPoll(t, 0); n > 0 {
    		t.Errorf("number of dependencies = %d; expected 0", n)
    		db.dumpDeps(t)
    	}
    }
    
    func (db *DB) dumpDeps(t *testing.T) {
    	for fc := range db.dep {
    		db.dumpDep(t, 0, fc, map[finalCloser]bool{})
    	}
    }
    
    func (db *DB) dumpDep(t *testing.T, depth int, dep finalCloser, seen map[finalCloser]bool) {
    	seen[dep] = true
    	indent := strings.Repeat("  ", depth)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/dumper.go

    // limitations under the License.
    
    package resource
    
    // Dumper is an interface that is implemented by all components that can dump their state. In CI, it is
    // useful to get as much context as possible when a test fails. Dumper allows dumping of state from a test.
    type Dumper interface {
    	Dump(ctx Context)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 14 21:19:42 UTC 2020
    - 861 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/dumper.go

    	p.dump(reflect.ValueOf(n), n)
    	p.printf("\n")
    
    	return
    }
    
    type dumper struct {
    	output io.Writer
    	ptrmap map[Node]int // node -> dump line number
    	indent int          // current indentation level
    	last   byte         // last byte processed by Write
    	line   int          // current line number
    }
    
    var indentBytes = []byte(".  ")
    
    func (p *dumper) Write(data []byte) (n int, err error) {
    	var m int
    	for i, b := range data {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  7. pkg/test/framework/runtime.go

    //  limitations under the License.
    
    package framework
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    var _ resource.Dumper = &runtime{}
    
    // runtime for the test environment.
    type runtime struct {
    	context *suiteContext
    }
    
    // newRuntime returns a new runtime instance.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 26 17:50:56 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/cache/debugger/dumper.go

    Mengjiao Liu <******@****.***> 1679485684 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/debugger.cc

    namespace stablehlo::quantization {
    
    void DisableDebugging(mlir::ModuleOp module_op) {
      module_op.walk(
          [](mlir::TF::DumpTensorOp dump_op) { dump_op.setEnabled(false); });
    }
    
    void ChangeToQuantizedFilename(mlir::ModuleOp module_op) {
      module_op.walk([](mlir::TF::DumpTensorOp dump_op) {
        dump_op.setFileName("quantized_tensor_data.pb");
      });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 00:17:12 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/encoding/hex/hex_test.go

    		}
    	}
    }
    
    func TestDumper_doubleclose(t *testing.T) {
    	var out strings.Builder
    	dumper := Dumper(&out)
    
    	dumper.Write([]byte(`gopher`))
    	dumper.Close()
    	dumper.Close()
    	dumper.Write([]byte(`gopher`))
    	dumper.Close()
    
    	expected := "00000000  67 6f 70 68 65 72                                 |gopher|\n"
    	if out.String() != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top