- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for atColumn1 (0.21 sec)
-
src/cmd/internal/src/xpos.go
return p.index } func (p XPos) LineNumberHTML() string { if !p.IsKnown() { return "?" } return p.lico.lineNumberHTML() } // AtColumn1 returns the same location but shifted to column 1. func (p XPos) AtColumn1() XPos { p.lico = p.lico.atColumn1() return p } // A PosTable tracks Pos -> XPos conversions and vice versa. // Its zero value is a ready-to-use PosTable. type PosTable struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/internal/src/pos.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 15.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
if inlMarks == nil { inlMarks = map[*obj.Prog]int32{} inlMarksByPos = map[src.XPos][]*obj.Prog{} } inlMarks[p] = v.AuxInt32() inlMarkList = append(inlMarkList, p) pos := v.Pos.AtColumn1() inlMarksByPos[pos] = append(inlMarksByPos[pos], p) firstPos = src.NoXPos default: // Special case for first line in function; move it to the start (which cannot be a register-valued instruction)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)