- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 7,737 for check2 (0.11 sec)
-
src/cmd/compile/internal/types2/labels.go
package types2 import ( "cmd/compile/internal/syntax" . "internal/types/errors" ) // labels checks correct label use in body. func (check *Checker) labels(body *syntax.BlockStmt) { // set of all labels in this body all := NewScope(nil, body.Pos(), syntax.EndPos(body), "label") fwdJumps := check.blockBranches(all, nil, nil, body.List) // If there are any forward jumps left, no label was found for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
src/go/types/version.go
// current package. func (check *Checker) verifyVersionf(at positioner, v goVersion, format string, args ...interface{}) bool { if !check.allowVersion(at, v) { check.versionErrorf(at, v, format, args...) return false } return true } // TODO(gri) Consider a more direct (position-independent) mechanism // to identify which file we're in so that version checks
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 23:12:40 UTC 2024 - 3.2K bytes - Viewed (0) -
hack/golangci-hints.yaml
# golangci-lint is used in Kubernetes with different configurations that # enable an increasing amount of checks: # - golangci.yaml is the most permissive configuration. All existing code # passed. # - golangci-strict.yaml adds checks that all new code in pull requests # must pass. # - golangci-hints.yaml adds checks for code patterns where developer # and reviewer may decide whether findings should get addressed before
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 7.8K bytes - Viewed (0) -
src/go/types/expr.go
func (check *Checker) expr(T *target, x *operand, e ast.Expr) { check.rawExpr(T, x, e, nil, false) check.exclude(x, 1<<novalue|1<<builtin|1<<typexpr) check.singleValue(x) } // genericExpr is like expr but the result may also be generic. func (check *Checker) genericExpr(x *operand, e ast.Expr) { check.rawExpr(nil, x, e, nil, true) check.exclude(x, 1<<novalue|1<<builtin|1<<typexpr) check.singleValue(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/go/types/labels.go
package types import ( "go/ast" "go/token" . "internal/types/errors" ) // labels checks correct label use in body. func (check *Checker) labels(body *ast.BlockStmt) { // set of all labels in this body all := NewScope(nil, body.Pos(), body.End(), "label") fwdJumps := check.blockBranches(all, nil, nil, body.List) // If there are any forward jumps left, no label was found for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/preflight.go
} // Name is part of the preflight.Checker interface func (c CoreDNSCheck) Name() string { return c.name } // Check is part of the preflight.Checker interface func (c CoreDNSCheck) Check() (warnings, errors []error) { if err := c.f(c.client); err != nil { return nil, []error{err} } return nil, nil } // RunCoreDNSMigrationCheck initializes checks related to CoreDNS migration.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 25 13:53:28 UTC 2023 - 4.1K bytes - Viewed (0) -
src/go/types/index.go
x.typ = Typ[Invalid] } check.index(index, length) return false } func (check *Checker) sliceExpr(x *operand, e *ast.SliceExpr) { check.expr(nil, x, e.X) if x.mode == invalid { check.use(e.Low, e.High, e.Max) return } valid := false length := int64(-1) // valid if >= 0 switch u := coreString(x.typ).(type) { case nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:05 UTC 2024 - 11.2K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
internalcfg.Networking.PodSubnet = rt.PodSubnet checks, err := InitNodeChecks(exec.New(), internalcfg, nil, false, false) if err != nil { t.Fatalf("unexpected error: %v", err) } for _, check := range checks { if check.Name() == ipv4File { checkList = append(checkList, ipv4File) } if check.Name() == ipv6File { checkList = append(checkList, ipv6File) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/format.go
// dump is only needed for debugging func (check *Checker) dump(format string, args ...any) { fmt.Println(sprintf(check.qualifier, true, format, args...)) } func (check *Checker) qualifier(pkg *Package) string { // Qualify the package unless it's the package being type-checked. if pkg != check.pkg { if check.pkgPathMap == nil { check.pkgPathMap = make(map[string]map[string]bool) check.seenPkgMap = make(map[*Package]bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
src/go/types/signature.go
// Implementation // funcType type-checks a function or method type. func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast.FuncType) { check.openScope(ftyp, "function") check.scope.isFunc = true check.recordScope(ftyp, check.scope) sig.scope = check.scope defer check.closeScope() if recvPar != nil && len(recvPar.List) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 13K bytes - Viewed (0)