Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intraline (0.24 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    		if fr.Func != nil {
    			// Use function-relative line numbering.
    			// f:+2 means two lines into function f.
    			// f:-1 should never happen, but be conservative.
    			_, entryLine := fr.Func.FileLine(fr.Entry)
    			loc = fmt.Sprintf("%s.%s:%+d", path, fname, fr.Line-entryLine)
    		} else {
    			// The function is non-Go code or is fully inlined:
    			// use absolute line number within enclosing file.
    			loc = fmt.Sprintf("%s.%s:=%d", path, fname, fr.Line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top