Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeValAndOff (0.09 sec)

  1. src/cmd/compile/internal/ssa/op.go

    func (x ValAndOff) String() string {
    	return fmt.Sprintf("val=%d,off=%d", x.Val(), x.Off())
    }
    
    // validVal reports whether the value can be used
    // as an argument to makeValAndOff.
    func validVal(val int64) bool {
    	return val == int64(int32(val))
    }
    
    func makeValAndOff(val, off int32) ValAndOff {
    	return ValAndOff(int64(val)<<32 + int64(uint32(off)))
    }
    
    func (x ValAndOff) canAdd32(off int32) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top