Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 167 for checkers (0.21 sec)

  1. cmd/kubeadm/app/preflight/checks.go

    	containerRuntime := utilruntime.NewContainerRuntime(nodeReg.CRISocket)
    	if err := containerRuntime.Connect(); err != nil {
    		klog.Warningf("[preflight] WARNING: Couldn't create the interface used for talking to the container runtime: %v\n", err)
    	} else {
    		checks = append(checks, ContainerRuntimeCheck{runtime: containerRuntime})
    	}
    
    	// non-windows checks
    	checks = addSwapCheck(checks)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. src/go/types/check.go

    // For debugging only.
    type actionDesc struct {
    	pos    positioner
    	format string
    	args   []any
    }
    
    // A Checker maintains the state of the type checker.
    // It must be created with [NewChecker].
    type Checker struct {
    	// package information
    	// (initialized by NewChecker, valid for the life-time of checker)
    	conf *Config
    	ctxt *Context // context for de-duplicating instances
    	fset *token.FileSet
    	pkg  *Package
    	*Info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/check.go

    // For debugging only.
    type actionDesc struct {
    	pos    poser
    	format string
    	args   []interface{}
    }
    
    // A Checker maintains the state of the type checker.
    // It must be created with NewChecker.
    type Checker struct {
    	// package information
    	// (initialized by NewChecker, valid for the life-time of checker)
    	conf *Config
    	ctxt *Context // context for de-duplicating instances
    	pkg  *Package
    	*Info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			expectEsimatedCost: func(c checker.CostEstimate) checker.CostEstimate {
    				return checker.CostEstimate{Min: c.Min + 5, Max: c.Max + 9}
    			},
    			expectRuntimeCost: func(c uint64) uint64 { return c + 5 },
    		},
    		{
    			ops: []string{".containsCIDR(cidr('192.168.0.0/16'))"},
    			expectEsimatedCost: func(c checker.CostEstimate) checker.CostEstimate {
    				return checker.CostEstimate{Min: c.Min + 5, Max: c.Max + 9}
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	}
    	return 1
    }
    
    func (l *CostEstimator) sizeEstimate(t checker.AstNode) checker.SizeEstimate {
    	if sz := t.ComputedSize(); sz != nil {
    		return *sz
    	}
    	if sz := l.EstimateSize(t); sz != nil {
    		return *sz
    	}
    	return checker.SizeEstimate{Min: 0, Max: math.MaxUint64}
    }
    
    func (l *CostEstimator) listElementNode(list checker.AstNode) checker.AstNode {
    	if params := list.Type().Parameters(); len(params) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. src/go/types/typexpr.go

    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    		if v, _ := obj.(*Var); v != nil && v.pkg == check.pkg /* see Checker.use1 */ {
    			v.used = true
    		}
    		return
    	}
    
    	// Type-check the object.
    	// Only call Checker.objDecl if the object doesn't have a type yet
    	// (in which case we must actually determine it) or the object is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/go/types/decl.go

    		check.trace(names[0].Pos(), "type params = %v", tparams[len(tparams)-len(names):])
    	}
    
    	return tparams
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typexpr.go

    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    		if v, _ := obj.(*Var); v != nil && v.pkg == check.pkg /* see Checker.use1 */ {
    			v.used = true
    		}
    		return
    	}
    
    	// Type-check the object.
    	// Only call Checker.objDecl if the object doesn't have a type yet
    	// (in which case we must actually determine it) or the object is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/decl.go

    	check.declare(check.scope, name, tname, scopePos)
    	return tpar
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    	// (Checker.collectObjects only collects methods with non-blank names;
    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. cmd/sftp-server.go

    	// username in authentication request matches to identities in certificate
    	// and that certificate type is correct.
    	checker := ssh.CertChecker{}
    	checker.IsUserAuthority = func(k ssh.PublicKey) bool {
    		return subtle.ConstantTimeCompare(caPublicKey.Marshal(), k.Marshal()) == 1
    	}
    
    	_, err = checker.Authenticate(c, clientKey)
    	return
    }
    
    type sftpLogger struct{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top