Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDescriptions (0.1 sec)

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

    	"net/http/httptest"
    	"path/filepath"
    	"runtime"
    	"runtime/pprof"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    // TestDescriptions checks that the profile names under runtime/pprof package
    // have a key in the description map.
    func TestDescriptions(t *testing.T) {
    	for _, p := range pprof.Profiles() {
    		_, ok := profileDescriptions[p.Name()]
    		if ok != true {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top