Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for town (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

                      // This is because the logging code installs a shutdown hook of its
                      // own. See Cleaner class inside {@link LogManager}.
                      service.awaitTermination(terminationTimeout, timeUnit);
                    } catch (InterruptedException ignored) {
                      // We're shutting down anyway, so just ignore.
                    }
                  }));
        }
    
        @VisibleForTesting
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        double twoToThe53 = Math.pow(2, 53);
        // the representable doubles are 2^53 and 2^53 + 2.
        // 2^53+1 is halfway between, so HALF_UP will go up and HALF_DOWN will go down.
        new RoundToDoubleTester(BigInteger.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/sub-applications.md

    # Sub Applications - Mounts { #sub-applications-mounts }
    
    If you need to have two independent FastAPI applications, with their own independent OpenAPI and their own docs UIs, you can have a main app and "mount" one (or more) sub-application(s).
    
    ## Mounting a **FastAPI** application { #mounting-a-fastapi-application }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/fastapicloud.md

    Follow your cloud provider's guides to deploy FastAPI apps with them. 🤓
    
    ## Deploy your own server { #deploy-your-own-server }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 17 19:33:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. mockwebserver/README.md

      val request3 = server.takeRequest()
      assertEquals("/v1/chat/messages/3", request3.url.encodedPath)
    
      // Shut down the server. Instances cannot be reused.
      server.close()
    }
    ```
    
    Your unit tests might move the `server` into a field so you can shut it down
    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. mockwebserver-junit5/README.md

    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    ------------
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 665 bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 706 bytes
    - Viewed (0)
  10. docs/en/docs/advanced/openapi-webhooks.md

    All the **logic** about how to register the URLs for webhooks and the code to actually send those requests is up to you. You write it however you want to in **your own code**.
    
    ## Documenting webhooks with **FastAPI** and OpenAPI { #documenting-webhooks-with-fastapi-and-openapi }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top