- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for stackContainsLabeled (0.3 sec)
-
src/runtime/pprof/pprof_test.go
if !strings.Contains(got, lostevent) { t.Fatalf("got:\n\t%q\ndoes not contain:\n\t%q\n", got, lostevent) } } // stackContainsLabeled takes a spec like funcname;key=value and matches if the stack has that key // and value and has funcname somewhere in the stack. func stackContainsLabeled(spec string, count uintptr, stk []*profile.Location, labels map[string][]string) bool { base, kv, ok := strings.Cut(spec, ";") if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0)