- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for MakeInt64 (0.13 sec)
-
src/cmd/compile/internal/staticinit/sched.go
cv = constant.BinaryOp(cv, token.AND, constant.MakeUint64(1<<bits-1)) if t.IsSigned() && constant.Compare(cv, token.GEQ, constant.MakeUint64(1<<(bits-1))) { cv = constant.BinaryOp(cv, token.OR, constant.MakeInt64(-1<<(bits-1))) } } } c = ir.NewConstExpr(cv, c) c.SetType(t) return c, true } func addStr(n *ir.AddStringExpr) ir.Node { // Merge adjacent constants in the argument list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/rangefunc/rewrite.go
func (r *rewriter) intConst(c int) *syntax.BasicLit { lit := &syntax.BasicLit{ Value: fmt.Sprint(c), Kind: syntax.IntLit, } tv := syntax.TypeAndValue{Type: r.int.Type(), Value: constant.MakeInt64(int64(c))} tv.SetIsValue() lit.SetTypeInfo(tv) return lit } func (r *rewriter) stateConst(s abi.RF_State) *syntax.BasicLit { return r.intConst(int(s)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0)