- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for stack_frame (0.18 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/StacktraceIntegrationTest.groovy
if (cause != null) { failure.assertHasCause(cause) } failure.assertHasDescription(description) failure.assertHasErrorOutput('Exception is:') failure.assertHasErrorOutput(stackFrame) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.3K bytes - Viewed (0) -
src/internal/trace/internal/testgen/go122/trace.go
} } return raw.Event{ Version: version.Go122, Ev: ev, Args: args, Data: data, } } type stack struct { stk [32]trace.StackFrame len int } var ( NoString = "" NoStack = []trace.StackFrame{} ) // Generation represents a single generation in the trace. type Generation struct { trace *Trace gen uint64 batches []*Batch
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0) -
src/cmd/trace/viewer.go
// 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 }) return frames }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0) -
src/runtime/trace_cgo_test.go
} return candidates[0] } // dumpStack returns e.Stack() as a string. func dumpStackV2(e *trace.Event) string { var buf bytes.Buffer e.Stack().Frames(func(f trace.StackFrame) bool { file := strings.TrimPrefix(f.File, runtime.GOROOT()) fmt.Fprintf(&buf, "%s\n\t%s:%d\n", f.Func, file, f.Line) return true }) return buf.String()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/internal/trace/traceviewer/format/format.go
// throw. go_bootstrap cannot depend on the cgo version of package net in ./make.bash. package format type Data struct { Events []*Event `json:"traceEvents"` Frames map[string]Frame `json:"stackFrames"` TimeUnit string `json:"displayTimeUnit"` } type Event struct { Name string `json:"name,omitempty"` Phase string `json:"ph"` Scope string `json:"s,omitempty"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
// at the root of the stack trace is named name. func filterStackRootFunc(name string) eventFilterFn { return func(e *format.Event, data *format.Data) bool { frames := stackFrames(data, e.Stack) rootFrame := frames[len(frames)-1] return strings.HasPrefix(rootFrame, name+":") } } // filterViewerTrace returns a copy of data with only the events that pass all
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0)