- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for lhsVars (0.18 sec)
-
src/cmd/compile/internal/types2/assignments.go
} // create dummy variables where the lhs is invalid for i, obj := range lhsVars { if obj == nil { lhsVars[i] = NewVar(lhs[i].Pos(), check.pkg, "_", nil) } } check.initVars(lhsVars, rhs, nil) // process function literals in rhs expressions before scope changes check.processDelayed(top) if len(newVars) == 0 && !hasErr { check.softErrorf(pos, NoNewVar, "no new variables on left side of :=")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/types/assignments.go
} // create dummy variables where the lhs is invalid for i, obj := range lhsVars { if obj == nil { lhsVars[i] = NewVar(lhs[i].Pos(), check.pkg, "_", nil) } } check.initVars(lhsVars, rhs, nil) // process function literals in rhs expressions before scope changes check.processDelayed(top) if len(newVars) == 0 && !hasErr { check.softErrorf(pos, NoNewVar, "no new variables on left side of :=")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/types/stmt.go
// Collect them for later analysis. lhsVars = append(lhsVars, obj) } check.stmtList(inner, clause.Body) check.closeScope() } // If lhs exists, we must have at least one lhs variable that was used. if lhs != nil { var used bool for _, v := range lhsVars { if v.used { used = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
// For the "declared and not used" error, all lhs variables act as // one; i.e., if any one of them is 'used', all of them are 'used'. // Collect them for later analysis. lhsVars = append(lhsVars, obj) } check.stmtList(inner, clause.Body) check.closeScope() } // If lhs exists, we must have at least one lhs variable that was used.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
certificates := []*x509.Certificate{} if lhs != nil { lhsCABytes := lhs.CurrentCABundleContent() lhsCAs, err := cert.ParseCertsPEM(lhsCABytes) if err != nil { return nil, err } certificates = append(certificates, lhsCAs...) } if rhs != nil { rhsCABytes := rhs.CurrentCABundleContent() rhsCAs, err := cert.ParseCertsPEM(rhsCABytes) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
assert(!hoist_params->lhs_args[kv.second]); assert(!hoist_params->rhs_args[kv.second]); if (hoist_params->scalar_operand_idx == 1) { hoist_params->lhs_args[kv.second] = kv.first; hoist_params->rhs_args[kv.second] = identity_const; } else { assert(hoist_params->scalar_operand_idx == 0); hoist_params->lhs_args[kv.second] = identity_const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)