Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for indexTmplExecute (0.24 sec)

  1. src/net/http/pprof/pprof.go

    			Desc: profileDescriptions[p],
    		})
    	}
    
    	sort.Slice(profiles, func(i, j int) bool {
    		return profiles[i].Name < profiles[j].Name
    	})
    
    	if err := indexTmplExecute(w, profiles); err != nil {
    		log.Print(err)
    	}
    }
    
    func indexTmplExecute(w io.Writer, profiles []profileEntry) error {
    	var b bytes.Buffer
    	b.WriteString(`<html>
    <head>
    <title>/debug/pprof/</title>
    <style>
    .profile-name{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top