- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 223 for frameset (0.18 sec)
-
src/runtime/traceback.go
// - Keep a ring buffer of the last N logical frames and use this to print // the bottom frames once we reach the end of the stack. This works, but // requires keeping a surprising amount of state on the stack, and we have // to run the cgo symbolizer twice—once to count frames, and a second to // print them—since we can't retain the strings it returns. // // Instead, we print the outer frames, and if we reach that limit, we clone
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/start_line_test.go
var pcs [1]uintptr n := runtime.Callers(2, pcs[:]) if n != 1 { panic(fmt.Sprintf("no caller of callerStartLine? n = %d", n)) } frames := runtime.CallersFrames(pcs[:]) frame, _ := frames.Next() inlined := frame.Func == nil // Func always set to nil for inlined frames if wantInlined != inlined { panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
if fn != nil { frame := []driver.Frame{ { Func: fn.Name, File: file, Line: line, }, } return frame, nil } frames := f.dwarfSourceLine(addr) if frames != nil { return frames, nil } return nil, fmt.Errorf("no line information for PC=%#x", addr) } // dwarfSourceLine tries to get file/line information using DWARF.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
src/internal/pkgbits/encoder.go
var frames []string if !w.encodingRelocHeader && w.p.syncFrames > 0 { pcs := make([]uintptr, w.p.syncFrames) n := runtime.Callers(2, pcs) frames = fmtFrames(pcs[:n]...) } // TODO(mdempsky): Save space by writing out stack frames as a // linked list so we can share common stack frames. w.rawUvarint(uint64(m)) w.rawUvarint(uint64(len(frames))) for _, frame := range frames {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 23:26:58 UTC 2022 - 9.6K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/pprof.go
uintptr_t* buf; uintptr_t max; }; // pprofCgoTraceback is passed to runtime.SetCgoTraceback. // For testing purposes it pretends that all CPU hits in C code are in cpuHog. // Issue #29034: At least 2 frames are required to verify all frames are captured // since runtime/pprof ignores the runtime.goexit base frame if it exists. void pprofCgoTraceback(void* parg) { struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 12 19:45:58 UTC 2021 - 1.7K bytes - Viewed (0) -
src/internal/abi/stack.go
// the stack guard. // // Functions that need frames <= StackSmall can perform the stack check // using a single comparison directly between the stack guard and the SP // because we ensure that StackSmall bytes of stack space are available // beyond the stack guard. StackSmall = 128 // Functions that need frames <= StackBig can assume that neither
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go
"github.com/google/pprof/internal/measurement" "github.com/google/pprof/profile" ) // addLabelNodes adds pseudo stack frames "label:value" to each Sample with // labels matching the supplied keys. // // rootKeys adds frames at the root of the callgraph (first key becomes new root). // leafKeys adds frames at the leaf of the callgraph (last key becomes new leaf). // // Returns whether there were matches found for the label keys.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 3.3K bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
} if keep { filtered.Events = append(filtered.Events, e) } } return } func stackFrames(data *format.Data, stackID int) (frames []string) { for { frame, ok := data.Frames[strconv.Itoa(stackID)] if !ok { return } frames = append(frames, frame.Name) stackID = frame.Parent } } func checkProcStartStop(t *testing.T, data format.Data) { procStarted := map[uint64]bool{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
src/runtime/callers_test.go
} ret := make([]uintptr, 20) return ret[:runtime.Callers(0, ret)] // line 27 } func testCallers(t *testing.T, pcs []uintptr, pan bool) { m := make(map[string]int, len(pcs)) frames := runtime.CallersFrames(pcs) for { frame, more := frames.Next() if frame.Function != "" { m[frame.Function] = frame.Line } if !more { break } } var seen []string for k := range m { seen = append(seen, k)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinterListener.java
/** * Invoked after a failure header has been printed, and before any stack frames have been printed. */ void beforeFrames(); /** * Invoked before a given stack frame is printed. */ void beforeFrame(StackTraceElement element, StackTraceRelevance relevance); /** * Invoked after all stack frames of a failure have been printed. */ void afterFrames();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:45:41 UTC 2024 - 1.5K bytes - Viewed (0)