Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LineToPC (0.1 sec)

  1. src/debug/gosym/symtab.go

    	} else {
    		file, line = fn.Obj.lineFromAline(fn.LineTable.PCToLine(pc))
    	}
    	return
    }
    
    // LineToPC looks up the first program counter on the given line in
    // the named file. It returns [UnknownFileError] or [UnknownLineError] if
    // there is an error looking up this line.
    func (t *Table) LineToPC(file string, line int) (pc uint64, fn *Func, err error) {
    	obj, ok := t.Files[file]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. src/debug/gosym/pclntab.go

    	if t.isGo12() {
    		return t.go12PCToLine(pc)
    	}
    	_, _, line := t.parse(pc, -1)
    	return line
    }
    
    // LineToPC returns the program counter for the given line number,
    // considering only program counters before maxpc.
    //
    // Deprecated: Use Table's LineToPC method instead.
    func (t *LineTable) LineToPC(line int, maxpc uint64) uint64 {
    	if t.isGo12() {
    		return 0
    	}
    	_, pc, line1 := t.parse(maxpc, line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    	},
    	"debug/gosym": {
    		{"(*DecodingError).Error", Method, 0},
    		{"(*LineTable).LineToPC", Method, 0},
    		{"(*LineTable).PCToLine", Method, 0},
    		{"(*Sym).BaseName", Method, 0},
    		{"(*Sym).PackageName", Method, 0},
    		{"(*Sym).ReceiverName", Method, 0},
    		{"(*Sym).Static", Method, 0},
    		{"(*Table).LineToPC", Method, 0},
    		{"(*Table).LookupFunc", Method, 0},
    		{"(*Table).LookupSym", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top