Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 247 for Tick (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

          ?: throw TestAbortedException()
    
        serverIpv4 = MockWebServer()
        serverIpv4.start(localhostIpv4, 0) // Pick any available port.
    
        serverIpv6 = MockWebServer()
        serverIpv6.start(localhostIpv6, serverIpv4.port) // Pick the same port as the IPv4 server.
    
        dnsResults =
          listOf(
            localhostIpv4,
            localhostIpv6,
          )
    
        client =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: ejecutar código de la función
            execute ->> code: devolver el resultado
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: ejecutar código de la función
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial008c_py310.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 660 bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    @NullUnmarked
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    @NullUnmarked
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial008c_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 700 bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ... parce qu’il n’est pas clair si la valeur par défaut doit être « rick » ou « morty ».
    
    Donc, vous utiliseriez (de préférence) :
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ... ou dans des bases de code plus anciennes, vous trouverez :
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ... denn es ist nicht klar, ob der Defaultwert „rick“ oder „morty“ sein soll.
    
    Sie würden also (bevorzugt) schreiben:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ... oder in älteren Codebasen finden Sie:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...porque não está claro se o valor padrão deveria ser `"rick"` ou `"morty"`.
    
    Então, você usaria (preferencialmente):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...ou em bases de código mais antigas você encontrará:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top