- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for frameset (0.2 sec)
-
src/reflect/value.go
func valueMethodName() string { var pc [5]uintptr n := runtime.Callers(1, pc[:]) frames := runtime.CallersFrames(pc[:n]) var frame runtime.Frame for more := true; more; { const prefix = "reflect.Value." frame, more = frames.Next() name := frame.Function if len(name) > len(prefix) && name[:len(prefix)] == prefix { methodName := name[len(prefix):]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/net/http/server.go
// The purpose of this function is to provide more helpful error messages. func relevantCaller() runtime.Frame { pc := make([]uintptr, 16) n := runtime.Callers(1, pc) frames := runtime.CallersFrames(pc[:n]) var frame runtime.Frame for { frame, more := frames.Next() if !strings.HasPrefix(frame.Function, "net/http.") { return frame } if !more { break } } return frame }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
src/runtime/proc.go
// defer inline frame expansion until the profile is reported. // The "maxSkip" term is for frame pointer unwinding, where we // want to end up with debug.profstackdebth frames but will discard // some "physical" frames to account for skipping. return make([]uintptr, 1+maxSkip+debug.profstackdepth) } // makeProfStack returns a buffer large enough to hold a maximum-sized stack // trace.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)