- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RenderHTML (0.23 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go
if err != nil { http.Error(w, err.Error(), http.StatusBadRequest) ui.options.UI.PrintErr(err) return nil, nil } return rpt, catcher.errors } // renderHTML generates html using the named template based on the contents of data. func renderHTML(dst io.Writer, tmpl string, rpt *report.Report, errList, legend []string, data webArgs) error { file := getFromLegend(legend, "File: ", "unknown")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 14K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go
func printWebList(dst io.Writer, rpt *report.Report, obj plugin.ObjTool) error { listing, err := report.MakeWebList(rpt, obj, -1) if err != nil { return err } legend := report.ProfileLabels(rpt) return renderHTML(dst, "sourcelisting", rpt, nil, legend, webArgs{ Standalone: true, Listing: listing, }) } func applyCommandOverrides(cmd string, outputFormat int, cfg config) config {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 10.8K bytes - Viewed (0)