Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 608 for simplest (0.1 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/es/docs/python-types.md

    ```
    
    ## Declarando tipos
    
    Acabas de ver el lugar principal para declarar los type hints. Como parámetros de las funciones.
    
    Este es también el lugar principal en que los usarías con  **FastAPI**.
    
    ### Tipos simples
    
    Puedes declarar todos los tipos estándar de Python, no solamente  `str`.
    
    Por ejemplo, puedes usar:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/first-steps.md

    # Primeiros Passos
    
    O arquivo FastAPI mais simples pode se parecer com:
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copie o conteúdo para um arquivo `main.py`.
    
    Execute o servidor:
    
    <div class="termy">
    
    ```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)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/docker.md

    Aqui estão alguns exemplos de quando isso pode fazer sentido:
    
    #### Um Aplicativo Simples
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/websockets.md

    ---
    
    Mas para este exemplo, usaremos um documento HTML muito simples com algum JavaScript, tudo dentro de uma string longa.
    
    Esse, é claro, não é o ideal e você não o usaria para produção.
    
    Na produção, você teria uma das opções acima.
    
    Mas é a maneira mais simples de focar no lado do servidor de WebSockets e ter um exemplo funcional:
    
    ```Python hl_lines="2  6-38  41-43"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. docs/fr/docs/python-types.md

    ## Déclarer des types
    
    Vous venez de voir là où les types sont généralement déclarés : dans les paramètres de fonctions.
    
    C'est aussi ici que vous les utiliseriez avec **FastAPI**.
    
    ### Types simples
    
    Vous pouvez déclarer tous les types  de Python, pas seulement `str`.
    
    Comme par exemple :
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {*../../docs_src/python_types/tutorial005.py hl[1] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          this.entryComparator = entryComparator(emptyMap.comparator());
    
          // derive values for inclusive filtering from the input samples
          SampleElements<Entry<K, V>> samples = delegate.samples();
          List<Entry<K, V>> samplesList =
              asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
          sort(samplesList, entryComparator);
          this.firstInclusive = samplesList.get(0).getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

        getList().replaceAll(e -> samples.e3());
        expectContents(nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

                listItem.appendChild(seg);
                Element simplelist = document.createElement("simplelist");
    
                int columns = 3;
                if (classDoc.getSubClasses().size() <= 3) {
                    // if there are only 3 or fewer known subtypes, render them
                    // in a single column
                    columns = 1;
                }
                simplelist.setAttribute("columns", String.valueOf(columns));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top