Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,398 for checkers (0.13 sec)

  1. docs/de/docs/advanced/advanced-dependencies.md

    ## Die Instanz als Abhängigkeit verwenden
    
    Dann könnten wir diesen `checker` in einem `Depends(checker)` anstelle von `Depends(FixedContentQueryChecker)` verwenden, da die Abhängigkeit die Instanz `checker` und nicht die Klasse selbst ist.
    
    Und beim Auflösen der Abhängigkeit ruft **FastAPI** diesen `checker` wie folgt auf:
    
    ```Python
    checker(q="somequery")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:49 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy

            repo.expectCloneSomething()
            run('checkDeps')
    
            then:
            fixture.expectGraph {
                root(":", "test:consumer:1.2") {
                    edge("test:test:latest.integration", ":dep", "test:test:2.0") {
                    }
                }
            }
            result.assertTasksExecuted(":dep:jar_2.0", ":checkDeps")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errors.go

    // An error_ represents a type-checking error.
    // A new error_ is created with Checker.newError.
    // To report an error_, call error_.report.
    type error_ struct {
    	check *Checker
    	desc  []errorDesc
    	code  Code
    	soft  bool // TODO(gri) eventually determine this from an error code
    }
    
    // newError returns a new error_ with the given error code.
    func (check *Checker) newError(code Code) *error_ {
    	if code == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. src/go/types/format.go

    	)
    }
    
    // dump is only needed for debugging
    func (check *Checker) dump(format string, args ...any) {
    	fmt.Println(sprintf(check.fset, 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            "com.gradle" | "api" | false
        }
    
        def "mutation is checked for public API"() {
            def checker = Mock(MutationValidator)
            rules.setMutationValidator(checker)
    
            when: rules.all(Actions.doNothing())
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.all(Closure.IDENTITY)
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.all(ruleSource)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. tests/integration/ambient/wasm_test.go

    			Method: "GET",
    		},
    		Count: 1,
    		Retry: echo.Retry{
    			Options: append(defaultOptions, options...),
    		},
    		Check: checker,
    	}
    
    	_ = cltInstance.CallOrFail(ctx, httpOpts)
    }
    
    func sendTrafficToHostname(ctx framework.TestContext, checker echo.Checker, hostname string, options ...retry.Option) {
    	ctx.Helper()
    	if len(GetClientInstances()) == 0 {
    		ctx.Fatal("there is no client")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/check/visitor.go

    func (v Visitor) Or(o Visitor) Visitor {
    	return func(r echoClient.Response) error {
    		if err := v(r); err != nil {
    			return err
    		}
    		return o(r)
    	}
    }
    
    // Checker returns an echo.Checker based on this Visitor.
    func (v Visitor) Checker() echo.Checker {
    	return func(result echo.CallResult, _ error) error {
    		rs := result.Responses
    		if rs.IsEmpty() {
    			return fmt.Errorf("no responses received")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 28 23:06:21 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_predicates.go

    //     as a type constraint in Go code
    //   - if T is an uninstantiated generic type
    func AssertableTo(V *Interface, T Type) bool {
    	// Checker.newAssertableTo suppresses errors for invalid types, so we need special
    	// handling here.
    	if !isValid(T.Underlying()) {
    		return false
    	}
    	return (*Checker)(nil).newAssertableTo(nopos, V, T, nil)
    }
    
    // AssignableTo reports whether a value of type V is assignable to a variable
    // of type T.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top