Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 619 for checkers (0.22 sec)

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

    // Package types2 declares the data types and implements
    // the algorithms for type-checking of Go packages. Use
    // Config.Check to invoke the type checker for a package.
    // Alternatively, create a new type checker with NewChecker
    // and invoke it incrementally by calling Checker.Files.
    //
    // Type-checking consists of several interdependent phases:
    //
    // Name resolution maps each identifier (syntax.Name) in the program to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/go/types/alias.go

    }
    
    // NewAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    	return alias
    }
    
    // Obj returns the type name for the declaration defining the alias type a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/return.go

    		}
    	}
    
    	return false
    }
    
    func (check *Checker) isTerminatingList(list []syntax.Stmt, label string) bool {
    	// trailing empty statements are permitted - skip them
    	for i := len(list) - 1; i >= 0; i-- {
    		if _, ok := list[i].(*syntax.EmptyStmt); !ok {
    			return check.isTerminating(list[i], label)
    		}
    	}
    	return false // all statements are empty
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

                }
            """
    
            when:
            repositoryInteractions {
                'org:module:1.0' {
                    expectResolve()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org:module:1.0')
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. src/go/types/expr.go

    	"go/internal/typeparams"
    	"go/token"
    	. "internal/types/errors"
    	"strings"
    )
    
    /*
    Basic algorithm:
    
    Expressions are checked recursively, top down. Expression checker functions
    are generally of the form:
    
      func f(x *operand, e *ast.Expr, ...)
    
    where e is the expression to be checked, and x is the result of the check.
    The check performed by f may fail in which case x.mode == invalid, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  6. 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)
  7. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    					runForAllClusterCombinations(t, func(t framework.TestContext, from echo.Instance, to echo.Target) {
    						var checker echo.Checker
    						if ht == hostTypeClusterLocal {
    							// For calls to cluster.local, ensure that all requests stay in the same cluster
    							expectedClusters := cluster.Clusters{from.Config().Cluster}
    							checker = checkClustersReached(t.AllClusters(), expectedClusters)
    						} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/go/types/typeparam.go

    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/typeparam.go

    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    	"fmt"
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    	"strings"
    )
    
    /*
    Basic algorithm:
    
    Expressions are checked recursively, top down. Expression checker functions
    are generally of the form:
    
      func f(x *operand, e *syntax.Expr, ...)
    
    where e is the expression to be checked, and x is the result of the check.
    The check performed by f may fail in which case x.mode == invalid, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top