Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 1,442 for examples (0.12 sec)

  1. guava/src/com/google/common/collect/Maps.java

       *
       * <p>If {@code keys} is a {@link Set}, a live view can be obtained instead of a copy using {@link
       * Maps#asMap(Set, Function)}.
       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * {@snippet :
       * import static com.google.common.collect.ImmutableMap.toImmutableMap;
       * ...
       * ImmutableMap<Color, String> colorNames =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       *     Storage overview</a> to select an appropriate temporary directory (perhaps {@code
       *     context.getCacheDir()}), and create your own directory under that. (For example, you might
       *     use {@code new File(context.getCacheDir(), "directoryname").mkdir()}, or, if you need an
       *     arbitrary number of temporary directories, you might have to generate multiple directory
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  3. docs/fr/docs/index.md

    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ## Exemple
    
    ### Créez
    
    * Créez un fichier `main.py` avec :
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. docs/sts/web-identity.go

    	stsEndpoint    string
    	configEndpoint string
    	clientID       string
    	clientSec      string
    	clientScopes   string
    	port           int
    )
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example http://localhost:8080/auth/realms/minio/.well-known/openid-configuration
    type DiscoveryDoc struct {
    	Issuer                           string   `json:"issuer,omitempty"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/MediaType.java

        this.type = type;
        this.subtype = subtype;
        this.parameters = parameters;
      }
    
      /** Returns the top-level media type. For example, {@code "text"} in {@code "text/plain"}. */
      public String type() {
        return type;
      }
    
      /** Returns the media subtype. For example, {@code "plain"} in {@code "text/plain"}. */
      public String subtype() {
        return subtype;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/MIENameTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Parses a valid buffer and exposes fields")
        void parseValidBuffer() {
            // Arrange
            String name = "user@EXAMPLE.COM";
            byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII));
    
            // Act
            MIEName parsed = new MIEName(buf);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/app_a_py39/test_main.py hl[3] *}
    
    ...y tener el código para las pruebas tal como antes.
    
    ## Pruebas: ejemplo extendido { #testing-extended-example }
    
    Ahora extiende este ejemplo y añade más detalles para ver cómo escribir pruebas para diferentes partes.
    
    ### Archivo de aplicación **FastAPI** extendido { #extended-fastapi-app-file }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/app_a_py39/test_main.py hl[3] *}
    
    
    ...и писать дальше тесты, как и раньше.
    
    ## Тестирование: расширенный пример { #testing-extended-example }
    
    Теперь давайте расширим наш пример и добавим деталей, чтоб посмотреть, как тестировать различные части приложения.
    
    ### Расширенный файл приложения **FastAPI** { #extended-fastapi-app-file }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    # Классы как зависимости { #classes-as-dependencies }
    
    Прежде чем углубиться в систему **Внедрения Зависимостей**, давайте обновим предыдущий пример.
    
    ## `dict` из предыдущего примера { #a-dict-from-the-previous-example }
    
    В предыдущем примере мы возвращали `dict` из нашей зависимости:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Но затем мы получаем `dict` в параметре `commons` *функции-обработчика пути*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top