- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,334 for setOp (0.13 sec)
-
src/cmd/compile/internal/typecheck/expr.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/pack/pack.go
// op holds the operation we are doing (prtx). // verbose tells whether the 'v' option was specified. var ( op rune verbose bool ) // setOp parses the operation string (first argument). func setOp(arg string) { // Recognize 'go tool pack grc' because that was the // formerly canonical way to build a new archive // from a set of input files. Accepting it keeps old
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
typecheckargs(n) t := l.Type() if t == nil { n.SetType(nil) return n } types.CheckSize(t) switch l.Op() { case ir.ODOTINTER: n.SetOp(ir.OCALLINTER) case ir.ODOTMETH: l := l.(*ir.SelectorExpr) n.SetOp(ir.OCALLMETH) // typecheckaste was used here but there wasn't enough // information further down the call chain to know if we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/order.go
// buffer during conversion. String comparison does not // memorize the strings for later use, so it is safe. if n.X.Op() == ir.OBYTES2STR { n.X.(*ir.ConvExpr).SetOp(ir.OBYTES2STRTMP) } if n.Y.Op() == ir.OBYTES2STR { n.Y.(*ir.ConvExpr).SetOp(ir.OBYTES2STRTMP) } case t.IsStruct() || t.IsArray(): // for complex comparisons, we need both args to be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
n.Args = list case *ir.ReturnStmt: n.Results = list case *ir.AssignListStmt: if n.Op() != ir.OAS2FUNC { base.Fatalf("rewriteMultiValueCall: invalid op %v", n.Op()) } as.SetOp(ir.OAS2FUNC) n.SetOp(ir.OAS2) n.Rhs = make([]ir.Node, len(list)) for i, tmp := range list { n.Rhs[i] = AssignConv(tmp, n.Lhs[i].Type(), "assignment") } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
// same type as the variable on the lhs. if ok := n.Lhs[1]; !ir.IsBlank(ok) && ok.Type().IsBoolean() { call.Type().Field(1).Type = ok.Type() } n.Rhs = []ir.Node{call} n.SetOp(ir.OAS2FUNC) // don't generate a = *var if a is _ if ir.IsBlank(a) { return walkExpr(typecheck.Stmt(n), init) } var_ := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(t.Elem()))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// because walkExpr will lower the string // conversion into a runtime call. // See issue 24937 for more discussion. if cond.Op() == ir.OBYTES2STR && allCaseExprsAreSideEffectFree(sw) { cond := cond.(*ir.ConvExpr) cond.SetOp(ir.OBYTES2STRTMP) } cond = walkExpr(cond, sw.PtrInit()) if cond.Op() != ir.OLITERAL && cond.Op() != ir.ONIL { cond = copyExpr(cond, cond.Type(), &sw.Compiled) } base.Pos = lno s := exprSwitch{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
if n.RType != nil && n.RType.Op() == ir.OADDR { addr := n.RType.(*ir.AddrExpr) if addr.X.Op() == ir.OLINKSYMOFFSET { r := ir.NewTypeAssertExpr(n.Pos(), n.X, n.Type()) if n.Op() == ir.ODYNAMICDOTTYPE2 { r.SetOp(ir.ODOTTYPE2) } r.SetType(n.Type()) r.SetTypecheck(1) return walkExpr(r, init) } } return n } // walkIndex walks an OINDEX node.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
pkg/test/framework/resource/setup.go
package resource // SetupFn is a function used for performing setup actions. type SetupFn func(ctx Context) error // TeardownFn is a function used for performing tear-down actions. type TeardownFn func(ctx Context) // ShouldSkipFn is a function used for performing skip actions; if it returns true a job is skipped // Note: function may be called multiple times during the setup process.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 1018 bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
https://github.com/kubernetes/kubernetes/raw/master/cluster/gce/windows/k8s-node-setup.psm1 ` -OutFile C:\k8s-node-setup.psm1 Invoke-WebRequest ` https://github.com/kubernetes/kubernetes/raw/master/cluster/gce/windows/configure.ps1 ` -OutFile C:\configure.ps1 Import-Module -Force C:\k8s-node-setup.psm1 # -Force to override existing # Execute functions manually or run configure.ps1. #>
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0)