Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for initVars (0.15 sec)

  1. src/cmd/compile/internal/types2/assignments.go

    	err.report()
    }
    
    // initVars type-checks assignments of initialization expressions orig_rhs
    // to variables lhs.
    // If returnStmt is non-nil, initVars type-checks the implicit assignment
    // of result expressions orig_rhs to function result parameters lhs.
    func (check *Checker) initVars(lhs []*Var, orig_rhs []syntax.Expr, returnStmt syntax.Stmt) {
    	context := "assignment"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/go/types/assignments.go

    	err.report()
    }
    
    // initVars type-checks assignments of initialization expressions orig_rhs
    // to variables lhs.
    // If returnStmt is non-nil, initVars type-checks the implicit assignment
    // of result expressions orig_rhs to function result parameters lhs.
    func (check *Checker) initVars(lhs []*Var, orig_rhs []ast.Expr, returnStmt ast.Stmt) {
    	context := "assignment"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/go/types/stmt.go

    			if rangeOverInt {
    				assert(i == 0) // at most one iteration variable (rhs[1] == nil for rangeOverInt)
    				check.initVar(obj, &x, "range clause")
    			} else {
    				var y operand
    				y.mode = value
    				y.expr = lhs // we don't have a better rhs expression to use here
    				y.typ = typ
    				check.initVar(obj, &y, "assignment") // error is on variable, use "assignment" not "range clause"
    			}
    			assert(obj.typ != nil)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/decl.go

    	// one was specified, otherwise they assume the type of the
    	// init expression values (was go.dev/issue/15755).
    	if typ != nil {
    		for _, lhs := range lhs {
    			lhs.typ = obj.typ
    		}
    	}
    
    	check.initVars(lhs, []syntax.Expr{init}, nil)
    }
    
    // isImportedConstraint reports whether typ is an imported type constraint.
    func (check *Checker) isImportedConstraint(typ Type) bool {
    	named := asNamed(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/stmt.go

    			if rangeOverInt {
    				assert(i == 0) // at most one iteration variable (rhs[1] == nil for rangeOverInt)
    				check.initVar(obj, &x, "range clause")
    			} else {
    				var y operand
    				y.mode = value
    				y.expr = lhs // we don't have a better rhs expression to use here
    				y.typ = typ
    				check.initVar(obj, &y, "assignment") // error is on variable, use "assignment" not "range clause"
    			}
    			assert(obj.typ != nil)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/go/types/decl.go

    	// one was specified, otherwise they assume the type of the
    	// init expression values (was go.dev/issue/15755).
    	if typ != nil {
    		for _, lhs := range lhs {
    			lhs.typ = obj.typ
    		}
    	}
    
    	check.initVars(lhs, []ast.Expr{init}, nil)
    }
    
    // isImportedConstraint reports whether typ is an imported type constraint.
    func (check *Checker) isImportedConstraint(typ Type) bool {
    	named := asNamed(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. test/syntax/initvar.go

    Robert Griesemer <******@****.***> 1487027284 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 13 23:15:32 UTC 2017
    - 467 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

            this.homePostalAddress = value;
        }
    
        public String getInitials() {
            checkSpecifiedProperty("initials");
            return convertEmptyToNull(initials);
        }
    
        public void setInitials(String value) {
            registerModifiedProperty("initials");
            this.initials = value;
        }
    
        public String getInternationaliSDNNumber() {
            checkSpecifiedProperty("internationaliSDNNumber");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r68/AbstractKotlinDslScriptsModelCrossVersionSpec.groovy

    class AbstractKotlinDslScriptsModelCrossVersionSpec extends AbstractKotlinScriptModelCrossVersionTest {
    
        protected BuildSpec withBuildSrcAndInitScripts() {
            withBuildSrc()
    
            def initJar = withEmptyJar("classes_init.jar")
            def someInitJar = withEmptyJar("classes_some_init.jar")
    
            toolingApi.requireIsolatedUserHome()
            def gradleUserHomeDir = toolingApi.createExecuter().gradleUserHomeDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc

        }
    
        auto var_handle_ops =
            init_func_op.getBlocks().front().getOps<VarHandleOp>();
        llvm::SmallVector<VarHandleOp, 4> init_vars(var_handle_ops.begin(),
                                                    var_handle_ops.end());
        RemoveVariables(init_vars);
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateRemoveVariablesInSessionInitializerPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top