- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 216 for Frame (0.09 sec)
-
test/inline_caller.go
} //go:noinline func testCaller(skp int) frame { skip = skp f() // line 42 frame := globalFrame if !frame.ok { panic(fmt.Sprintf("skip=%d runtime.Caller failed", skp)) } return frame } type wantFrame struct { funcName string line int } // -1 means don't care var expected = []wantFrame{ 0: {"main.h", 36}, 1: {"main.g", 31}, 2: {"main.f", 27},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 08 21:54:04 UTC 2019 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue19467.dir/z.go
ci := runtime.CallersFrames(wg.Callers) frames := make([]runtime.Frame, 0, 4) for { frame, more := ci.Next() frames = append(frames, frame) if !more { break } } expecting := []string{ "test/mysync.(*WaitGroup).Add", "test/mysync.(*WaitGroup).Done", } for i := 0; i < 2; i++ { if frames[i].Function != expecting[i] { log.Fatalf("frame %d: got %s, want %s", i, frames[i].Function, expecting[i]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 17:50:47 UTC 2022 - 696 bytes - Viewed (0) -
src/runtime/signal_arm64.go
// the stack frame but we're not going back there // anyway. sp := c.sp() - sys.StackAlign // needs only sizeof uint64, but must align the stack c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.lr() // Make sure a valid frame pointer is saved on the stack so that the // frame pointer checks in adjustframe are happy, if they're enabled. // Frame pointer unwinding won't visit the sigpanic frame, since
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 18:16:00 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/example_test.go
// Return now to avoid processing the zero Frame that would // otherwise be returned by frames.Next below. return } pc = pc[:n] // pass only valid pcs to runtime.CallersFrames frames := runtime.CallersFrames(pc) // Loop to get frames. // A fixed number of PCs can expand to an indefinite number of Frames. for { frame, more := frames.Next() // Process this frame. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 18 22:05:09 UTC 2021 - 1.5K bytes - Viewed (0) -
test/fixedbugs/issue22200b.go
package p func f3(x *[1 << 31]byte) byte { // GC_ERROR "stack frame too large" for _, b := range *x { return b } return 0 } func f4(x *[1 << 32]byte) byte { // GC_ERROR "stack frame too large" for _, b := range *x { return b } return 0 } func f5(x *[1 << 33]byte) byte { // GC_ERROR "stack frame too large" for _, b := range *x { return b } return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 601 bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go
// will be returned along with the number of bytes read. func NewLengthDelimitedFrameReader(r io.ReadCloser) io.ReadCloser { return &lengthDelimitedFrameReader{r: r} } // Read attempts to read an entire frame into data. If that is not possible, io.ErrShortBuffer // is returned and subsequent calls will attempt to read the last frame. A frame is complete when // err is nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 13:33:12 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/runtime-lldb_test.go
print "Hit breakpoint" frame = t.GetFrameAtIndex(0) if frame: if frame.line_entry: print "Stopped at %s:%d" % (frame.line_entry.file.basename, frame.line_entry.line) if frame.function: print "Stopped in %s" % (frame.function.name,) var = frame.FindVariable('intvar') if var:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/trace/viewer.go
"internal/trace/traceviewer" "time" ) // viewerFrames returns the frames of the stack of ev. The given frame slice is // used to store the frames to reduce allocations. func viewerFrames(stk trace.Stack) []*trace.Frame { var frames []*trace.Frame stk.Frames(func(f trace.StackFrame) bool { frames = append(frames, &trace.Frame{ PC: f.PC, Fn: f.Func, File: f.File, Line: int(f.Line), }) return true })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/StackTraceClassifier.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:52:10 UTC 2024 - 1.3K bytes - Viewed (0)