Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for graphviz (0.38 sec)

  1. src/runtime/mklockrank.go

    	// The point of the deadlock lock is to deadlock.
    	"deadlock": true,
    }
    
    func main() {
    	flagO := flag.String("o", "", "write to `file` instead of stdout")
    	flagDot := flag.Bool("dot", false, "emit graphviz output instead of Go")
    	flag.Parse()
    	if flag.NArg() != 0 {
    		fmt.Fprintf(os.Stderr, "too many arguments")
    		os.Exit(2)
    	}
    
    	g, err := dag.Parse(ranks)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	// Convert to svg.
    	svg, err := dotToSvg(dot.Bytes())
    	if err != nil {
    		http.Error(w, "Could not execute dot; may need to install graphviz.",
    			http.StatusNotImplemented)
    		ui.options.UI.PrintErr("Failed to execute dot. Is Graphviz installed?\n", err)
    		return
    	}
    
    	// Get all node names into an array.
    	nodes := []string{""} // dot starts with node numbered 1
    	for _, n := range g.Nodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

                                     absl::string_view error_message,
                                     toco::GraphVizDumpOptions* dump_options) {
      // Make sure the graphviz file will be dumped under the same folder.
      dump_options->dump_graphviz = toco_flags->conversion_summary_dir();
      // Here we construct the `toco::Model` class based on the input graph def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    		cmd := exec.Command("dot", "-T"+format)
    		cmd.Stdin, cmd.Stdout, cmd.Stderr = input, output, os.Stderr
    		if err := cmd.Run(); err != nil {
    			return fmt.Errorf("failed to execute dot. Is Graphviz installed? Error: %v", err)
    		}
    		return nil
    	}
    }
    
    // massageDotSVG invokes the dot tool to generate an SVG image and alters
    // the image to have panning capabilities when viewed in a browser.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ResolveState.java

            this.variantSelector = variantSelector;
    
            int graphSize = estimateGraphSize(root);
            this.modules = new LinkedHashMap<>(graphSize);
            this.nodes = new LinkedHashMap<>(3 * graphSize / 2);
            this.selectors = new LinkedHashMap<>(5 * graphSize / 2);
            this.queue = new ArrayDeque<>(graphSize);
    
            LocalComponentGraphResolveState rootComponentState = root.getRootComponent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/svg.go

    package driver
    
    import (
    	"regexp"
    	"strings"
    
    	"github.com/google/pprof/third_party/svgpan"
    )
    
    var (
    	viewBox  = regexp.MustCompile(`<svg\s*width="[^"]+"\s*height="[^"]+"\s*viewBox="[^"]+"`)
    	graphID  = regexp.MustCompile(`<g id="graph\d"`)
    	svgClose = regexp.MustCompile(`</svg>`)
    )
    
    // massageSVG enhances the SVG output from DOT to provide better
    // panning inside a web browser. It uses the svgpan library, which is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/strconv/makeisprint.go

    			log.Fatalf("%U too big for isNotPrint32\n", r)
    		}
    		fmt.Fprintf(&buf, "\t%#04x,\n", r-0x10000)
    	}
    	fmt.Fprintf(&buf, "}\n\n")
    
    	// The list of graphic but not "printable" runes is short. Just make one easy table.
    	fmt.Fprintf(&buf, "// isGraphic lists the graphic runes not matched by IsPrint.\n")
    	fmt.Fprintf(&buf, "var isGraphic = []uint16{\n")
    	for r := rune(0); r <= unicode.MaxRune; r++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/image/gif/reader.go

    			return nil
    		}
    	}
    }
    
    func (d *decoder) readGraphicControl() error {
    	if err := readFull(d.r, d.tmp[:6]); err != nil {
    		return fmt.Errorf("gif: can't read graphic control: %s", err)
    	}
    	if d.tmp[0] != 4 {
    		return fmt.Errorf("gif: invalid graphic control extension block size: %d", d.tmp[0])
    	}
    	flags := d.tmp[1]
    	d.disposalMethod = (flags & gcDisposalMethodMask) >> 2
    	d.delayTime = int(d.tmp[2]) | int(d.tmp[3])<<8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      return results_.at(OutputTensor(edge->src(), edge->src_output()));
    }
    
    Node* Encapsulator::Subgraph::MakeNodeImage(const Graph* graph_in, Node* node) {
      if (!graph_) {
        graph_.reset(new Graph(graph_in->op_registry()));
        graph_->set_versions(graph_in->versions());
      }
    
      // TODO(b/116981129): Enhance how the device for the encapsulated subgraph is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  10. src/strconv/quote.go

    }
    
    // QuoteToGraphic returns a double-quoted Go string literal representing s.
    // The returned string leaves Unicode graphic characters, as defined by
    // [IsGraphic], unchanged and uses Go escape sequences (\t, \n, \xFF, \u0100)
    // for non-graphic characters.
    func QuoteToGraphic(s string) string {
    	return quoteWith(s, '"', false, true)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top