Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sat32 (0.02 sec)

  1. src/cmd/compile/internal/syntax/pos.go

    type Pos struct {
    	base      *PosBase
    	line, col uint32
    }
    
    // MakePos returns a new Pos for the given PosBase, line and column.
    func MakePos(base *PosBase, line, col uint) Pos { return Pos{base, sat32(line), sat32(col)} }
    
    // TODO(gri) IsKnown makes an assumption about linebase < 1.
    // Maybe we should check for Base() != nil instead.
    
    func (pos Pos) Pos() Pos       { return pos }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top