Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for typecheck (0.17 sec)

  1. src/go/types/resolver.go

    			return ptr, tname
    		}
    
    		// otherwise, continue resolving
    		typ = tdecl.Type
    		if seen == nil {
    			seen = make(map[*TypeName]bool)
    		}
    		seen[tname] = true
    	}
    }
    
    // packageObjects typechecks all package objects, but not function bodies.
    func (check *Checker) packageObjects() {
    	// process package objects in source order for reproducible results
    	objList := make([]Object, len(check.objMap))
    	i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server.go

    			metrics.AppScrapeErrors.Increment()
    		}
    	}
    }
    
    const (
    	// nolint: revive, stylecheck
    	FmtOpenMetrics_0_0_1 = expfmt.OpenMetricsType + `; version=` + expfmt.OpenMetricsVersion_0_0_1 + `; charset=utf-8`
    	// nolint: revive, stylecheck
    	FmtOpenMetrics_1_0_0 = expfmt.OpenMetricsType + `; version=` + expfmt.OpenMetricsVersion_1_0_0 + `; charset=utf-8`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  3. docs/de/docs/tutorial/response-model.md

    !!! tip "Tipp"
        Wenn Sie in Ihrem Editor strikte Typchecks haben, mypy, usw., können Sie den Funktions-Rückgabetyp als <abbr title='„Irgend etwas“'>`Any`</abbr> deklarieren.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/go/types/stmt.go

    // 			err.report()
    // 			continue L
    // 		}
    // 		seen[hash] = e
    // 		if T != nil {
    // 			check.typeAssertion(e.Pos(), x, xtyp, T)
    // 		}
    // 	}
    // 	return
    // }
    
    // stmt typechecks statement s.
    func (check *Checker) stmt(ctxt stmtContext, s ast.Stmt) {
    	// statements must end with the same top scope as they started with
    	if debug {
    		defer func(scope *Scope) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. pkg/config/validation/agent/validation.go

    		} else {
    			scope.Warnf("EnvoyMetricsServiceAddress is deprecated, use EnvoyMetricsService instead.") // nolint: stylecheck
    		}
    	}
    
    	if config.EnvoyMetricsService != nil && config.EnvoyMetricsService.Address != "" {
    		if err := ValidateProxyAddress(config.EnvoyMetricsService.Address); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/stmt.go

    // 			err.report()
    // 			continue L
    // 		}
    // 		seen[hash] = e
    // 		if T != nil {
    // 			check.typeAssertion(e, x, xtyp, T, true)
    // 		}
    // 	}
    // 	return
    // }
    
    // stmt typechecks statement s.
    func (check *Checker) stmt(ctxt stmtContext, s syntax.Stmt) {
    	// statements must end with the same top scope as they started with
    	if debug {
    		defer func(scope *Scope) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/go/types/builtins.go

    		}
    
    		x.mode = value
    		x.typ = NewPointer(universeByte)
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(x.typ, Typ[String]))
    		}
    
    	case _Assert:
    		// assert(pred) causes a typechecker error if pred is false.
    		// The result of assert is the value of pred if there is no error.
    		// Note: assert is only available in self-test mode.
    		if x.mode != constant_ || !isBoolean(x.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    		}
    
    		x.mode = value
    		x.typ = NewPointer(universeByte)
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(x.typ, Typ[String]))
    		}
    
    	case _Assert:
    		// assert(pred) causes a typechecker error if pred is false.
    		// The result of assert is the value of pred if there is no error.
    		// Note: assert is only available in self-test mode.
    		if x.mode != constant_ || !isBoolean(x.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top