Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dumpMap (0.69 sec)

  1. src/internal/concurrent/hashtriemap_test.go

    	}
    	for i := range testData {
    		testData[i] = fmt.Sprintf("%b", i)
    	}
    	for i := range testDataLarge {
    		testDataLarge[i] = fmt.Sprintf("%b", i)
    	}
    }
    
    func dumpMap[K, V comparable](ht *HashTrieMap[K, V]) {
    	dumpNode(ht, &ht.root.node, 0)
    }
    
    func dumpNode[K, V comparable](ht *HashTrieMap[K, V], n *node[K, V], depth int) {
    	var sb strings.Builder
    	for range depth {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/database/sql/sql_test.go

    		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)
    	ds := db.dep[dep]
    	for k := range ds {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top