- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for extractStackCreator (0.19 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack.go
} var stackCreator = regexp.MustCompile(`(?m)^created by (.*)\n\s+(.*):(\d+) \+0x[[:xdigit:]]+$`) // extractStackCreator retrieves the goroutine file and line that launched this stack. Returns false // if the creator cannot be located. // TODO: Go does not expose this via runtime https://github.com/golang/go/issues/11440 func extractStackCreator() (string, int, bool) { stack := debug.Stack() matches := stackCreator.FindStringSubmatch(string(stack))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 12 01:31:42 UTC 2019 - 2.6K bytes - Viewed (0)