Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,068 for statRps (0.05 sec)

  1. docs_src/security/tutorial007_an.py

    import secrets
    
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    def get_current_username(
        credentials: Annotated[HTTPBasicCredentials, Depends(security)],
    ):
        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(stats.min()).isEqualTo(MEGA_STREAM_MIN);
        assertThat(stats.max()).isEqualTo(MEGA_STREAM_MAX);
      }
    
      public void testOfPrimitiveLongStream() {
        Stats stats = Stats.of(megaPrimitiveDoubleStream().mapToLong(x -> (long) x));
        assertThat(stats.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(stats.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
        assertThat(stats.populationVariance())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/labeltype/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CronJobSpec spec = 2;
    
      // Current status of a cron job.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CronJobStatus status = 3;
    }
    
    // CronJobList is a collection of cron jobs.
    message CronJobList {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-operation-configuration.md

    {!> ../../docs_src/path_operation_configuration/tutorial001_py310.py!}
    ```
    
    ////
    
    Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI.
    
    /// note | "Detalhes Técnicos"
    
    Você também poderia usar `from starlette import status`.
    
    **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente do Starlette.
    
    ///
    
    ## Tags
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs_src/response_status_code/tutorial002.py

    from fastapi import FastAPI, status
    
    app = FastAPI()
    
    
    @app.post("/items/", status_code=status.HTTP_201_CREATED)
    async def create_item(name: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 173 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/role/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            body.initialize();
            try {
                searchHelper.search(body, renderData, getUserBean());
                return asJson(new ApiDocsResponse().renderData(renderData).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid query: {}", body.q, e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // +optional
      optional ScaleSpec spec = 2;
    
      // status defines current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
      // +optional
      optional ScaleStatus status = 3;
    }
    
    // ScaleSpec describes the attributes of a scale subresource
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. docs/sts/client_grants/__init__.py

                                              )
                if response.status != 200:
                    message = "Credential refresh failed, response: %s"
                    raise CredentialRetrievalError(
                        provider=method,
                        error_msg=message % response.status,
                    )
    
                creds = json.loads(response.data)
    
                query = {}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
Back to top