Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for asneeded (0.03 sec)

  1. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

         * data.
         */
        private void ensureCapacity(int needed) {
          if (buffer.remaining() >= needed) {
            return;
          }
    
          int currentCapacity = buffer.capacity();
          int requiredCapacity = buffer.position() + needed;
          int newCapacity = Math.max(currentCapacity * 2, requiredCapacity);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 04 15:39:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. .github/workflows/scorecard.yml

    permissions: read-all
    
    jobs:
      analysis:
        name: Scorecard analysis
        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
          security-events: write
          # Needed to publish results and get a badge (see publish_results below).
          id-token: write
          # Uncomment the permissions below if installing in a private repository.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 01 19:32:55 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. fastapi/openapi/docs.py

    swagger_ui_default_parameters: Annotated[
        dict[str, Any],
        Doc(
            """
            Default configurations for Swagger UI.
    
            You can use it as a template to add any other configurations needed.
            """
        ),
    ] = {
        "dom_id": "#swagger-ui",
        "layout": "BaseLayout",
        "deepLinking": True,
        "showExtensions": True,
        "showCommonExtensions": True,
    }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. .github/workflows/pre-commit.yml

              # merge commit
              ref: ${{ github.head_ref }}
              # And it needs the full history to be able to compute diffs
              fetch-depth: 0
              # A token other than the default GITHUB_TOKEN is needed to be able to trigger CI
              token: ${{ secrets.PRE_COMMIT }}
          # pre-commit lite ci needs the default checkout configs to work
          - uses: actions/checkout@v5
            name: Checkout PR for fork
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 23 11:17:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/conditional-openapi.md

    # Conditional OpenAPI { #conditional-openapi }
    
    If you needed to, you could use settings and environment variables to configure OpenAPI conditionally depending on the environment, and even disable it entirely.
    
    ## About security, APIs, and docs { #about-security-apis-and-docs }
    
    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/middleware.md

    * It can then do something to that **request** or run any needed code.
    * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
    * It then takes the **response** generated by the application (by some *path operation*).
    * It can do something to that **response** or run any needed code.
    * Then it returns the **response**.
    
    /// note | Technical Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    To learn more about the `Request` check <a href="https://www.starlette.dev/requests/" class="external-link" target="_blank">Starlette's docs about Requests</a>.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/custom-docs-ui-assets.md

    ### Include the custom docs { #include-the-custom-docs }
    
    Now you can create the *path operations* for the custom docs.
    
    You can reuse FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
    
    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    * `title`: the title of your API.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            projectParent.setCollectedProjects(singletonList(projectModuleD));
    
            // Set up needed mocks
            when(session.getRequest()).thenReturn(mavenExecutionRequest);
            when(session.getProjects()).thenReturn(null); // needed, otherwise it will be an empty list by default
            when(mavenExecutionRequest.getProjectBuildingRequest()).thenReturn(mock(ProjectBuildingRequest.class));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. .github/workflows/build-docs.yml

      docs-all-green:  # This job does nothing and is only used for the branch protection
        if: always()
        needs:
          - build-docs
        runs-on: ubuntu-latest
        steps:
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
            with:
              jobs: ${{ toJSON(needs) }}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top