Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 729 for rounding (0.04 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    
      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Sie können mehr Details unter [„Lifespan in Tests ausführen in der offiziellen Starlette-Dokumentation.“](https://www.starlette.dev/lifespan/#running-lifespan-in-tests) nachlesen.
    
    Für die deprecateten Events <abbr title="Hochfahren">`startup`</abbr> und <abbr title="Herunterfahren">`shutdown`</abbr> können Sie den `TestClient` wie folgt verwenden:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 738 bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    Você pode ler mais detalhes sobre o ["Executando lifespan em testes no site oficial da documentação do Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Para os eventos `startup` e `shutdown` descontinuados, você pode usar o `TestClient` da seguinte forma:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 685 bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     */
    class DefaultExceptionHandlerTest {
        /**
         * Running Maven under JDK7 may cause connection issues because IPv6 is used by default.
         * <p>
         * e.g running mvn site:run will cause Jetty to fail.
         * </p>
         * <p>
         * The resolution is to add -Djava.net.preferIPv4Stack=true to the command line as documented in
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. docs_src/custom_request_and_route/tutorial001_an_py39.py

    import gzip
    from typing import Annotated, Callable
    
    from fastapi import Body, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 988 bytes
    - Viewed (0)
  6. docs_src/generate_clients/tutorial003_py39.py

    from fastapi import FastAPI
    from fastapi.routing import APIRoute
    from pydantic import BaseModel
    
    
    def custom_generate_unique_id(route: APIRoute):
        return f"{route.tags[0]}-{route.name}"
    
    
    app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    class User(BaseModel):
        username: str
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

              }
              // Log it and keep going.
              logger
                  .get()
                  .log(
                      Level.SEVERE,
                      "Exception while running callbacks for " + listener + " on " + executor,
                      e);
              throw e;
            }
          }
        }
    
        @Override
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. docs/ru/docs/deployment/manually.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Uvicorn running on <font color="#729FCF"><u style="text-decoration-style:solid">http://0.0.0.0:8000</u></font> <b>(</b>Press CTRL+C
                 to quit<b>)</b>
    ```
    
    </div>
    
    В большинстве случаев этого достаточно. 😎
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/websockets.md

    您可以接收和发送二进制、文本和 JSON 数据。
    
    ## 尝试一下
    
    如果您的文件名为 `main.py`,请使用以下命令运行应用程序:
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    在浏览器中打开 <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>。
    
    您将看到一个简单的页面,如下所示:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. fastapi/applications.py

                    [FastAPI docs for Testing Dependencies with Overrides](https://fastapi.tiangolo.com/advanced/testing-dependencies/).
                    """
                ),
            ] = {}
            self.router: routing.APIRouter = routing.APIRouter(
                routes=routes,
                redirect_slashes=redirect_slashes,
                dependency_overrides_provider=self,
                on_startup=on_startup,
                on_shutdown=on_shutdown,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
Back to top