Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,010 for checkSeq (0.13 sec)

  1. 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)
  2. 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)
  3. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/report.js

                        div.append($("<label>", {for: id}).text(title));
                        var checkbox = $("<input>", {type: "checkbox", id: id, checked: true});
                        div.append(checkbox);
                        checkbox.change(function () {
                            if (checkbox.is(':checked')) {
                                $("." + id).show();
                            } else {
                                $("." + id).hide();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/const.go

    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos syntax.Pos) {
    	assert(x.mode == constant_)
    
    	if x.val.Kind() == constant.Unknown {
    		// TODO(gri) We should report exactly what went wrong. At the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/assignments.go

    // type. context describes the context in which the assignment takes place.
    // Use T == nil to indicate assignment to an untyped blank identifier.
    // If the assignment check fails, x.mode is set to invalid.
    func (check *Checker) assignment(x *operand, T Type, context string) {
    	check.singleValue(x)
    
    	switch x.mode {
    	case invalid:
    		return // error reported before
    	case nilvalue:
    		assert(isTypes2)
    		// ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationRunner.java

         * Runtime exceptions are rethrown as is.
         * Checked exceptions are wrapped in {@link BuildOperationInvocationException}.</p>
         */
        void run(RunnableBuildOperation buildOperation);
    
        /**
         * Calls the given build operation, returns the result.
         *
         * <p>Rethrows any exception thrown by the action.
         * Runtime exceptions are rethrown as is.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. hack/golangci.yaml

          description: structured logging checker
          original-url: k8s.io/logtools/logcheck
          settings:
            config: |
              # hack/logcheck.conf contains regular expressions that are matched against <pkg>/<file>,
              # for example k8s.io/cmd/kube-scheduler/app/config/config.go.
              #
              # By default, structured logging call parameters are checked, but usage of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/stdlib_test.go

    	panic("unimplemented: use ImportFrom")
    }
    
    func (c *stdlibChecker) ImportFrom(path, dir string, _ ImportMode) (*Package, error) {
    	if path == "unsafe" {
    		// unsafe cannot be type checked normally.
    		return Unsafe, nil
    	}
    
    	p, err := build.Default.Import(path, dir, build.FindOnly)
    	if err != nil {
    		return nil, err
    	}
    
    	pkg, err := c.getDirPackage(p.Dir)
    	if pkg != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top