Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 404 for Checker (0.07 seconds)

  1. internal/hash/checker.go

    )
    
    // Checker allows to verify the checksum of a reader.
    type Checker struct {
    	c io.Closer
    	r io.Reader
    	h hash.Hash
    
    	want []byte
    }
    
    // NewChecker ensures that content with the specified length is read from rc.
    // Calling Close on this will close upstream.
    func NewChecker(rc io.ReadCloser, h hash.Hash, wantSum []byte, length int64) *Checker {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial011_py310.py

        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: bool = Depends(checker)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 504 bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial011_an_py310.py

        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 544 bytes
    - Click Count (0)
  4. guava-testlib/README.md

    not use beta APIs, unless you [repackage] them. **If your
    code is a library, we strongly recommend using the [Guava Beta Checker] to
    ensure that you do not use any `@Beta` APIs!**
    
    [Guava Beta Checker]: https://github.com/google/guava-beta-checker
    
    <!-- References -->
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. README.md

    [guava-snapshot-api-diffs]: https://guava.dev/releases/snapshot-jre/api/diffs/
    [Guava Explained]: https://github.com/google/guava/wiki/Home
    [Guava Beta Checker]: https://github.com/google/guava-beta-checker
    
    <!-- References -->
    
    [using Guava in your build]: https://github.com/google/guava/wiki/UseGuavaInYourBuild
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/advanced-dependencies.md

    このようにして依存関係を「パラメータ化」できます。いまや `"bar"` が属性 `checker.fixed_content` として中に保持されています。
    
    ## インスタンスを依存関係として使う { #use-the-instance-as-a-dependency }
    
    その後、`Depends(FixedContentQueryChecker)` の代わりに `Depends(checker)` でこの `checker` を使えます。依存関係はクラスそのものではなく、インスタンスである `checker` だからです。
    
    依存関係を解決するとき、**FastAPI** はこの `checker` を次のように呼び出します:
    
    ```Python
    checker(q="somequery")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/advanced-dependencies.md

    ## Use the instance as a dependency { #use-the-instance-as-a-dependency }
    
    Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself.
    
    And when solving the dependency, **FastAPI** will call this `checker` like:
    
    ```Python
    checker(q="somequery")
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
        if (result == null) {
          return null;
        } else {
          return (V) result;
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

         * This method is not supported in the Fess implementation.
         *
         * @param checker the credential checker to use
         * @throws UnsupportedOperationException always thrown as this method is not supported
         */
        @Override
        protected void checkCredential(final TypicalLoginAssist<String, FessUserBean, FessUser>.CredentialChecker checker) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. .github/workflows/labeler.yml

    name: Labels
    on:
      pull_request_target:
        types:
          - opened
          - synchronize
          - reopened
          # For label-checker
          - labeled
          - unlabeled
    
    jobs:
      labeler:
        permissions:
          contents: read
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
        - uses: actions/labeler@v6
          if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 09 09:11:44 GMT 2025
    - 828 bytes
    - Click Count (1)
Back to Top