Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for internode (0.16 sec)

  1. docs/fr/docs/tutorial/debugging.md

    #### Pour davantage de détails
    
    Imaginons que votre fichier s'appelle `myapp.py`.
    
    Si vous l'exécutez avec :
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`.
    
    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        Random random = new Random();
    
        int sizeRemaining = size;
    
        // TODO(kevinb): generate better test contents for multisets
        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
          hashMultiset.add(value, count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        Random random = new Random();
    
        int sizeRemaining = size;
    
        // TODO(kevinb): generate better test contents for multisets
        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
          hashMultiset.add(value, count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. CODE_OF_CONDUCT.md

        real-time medium.
    2.  If this fails, get a third party (e.g. a mutual friend, and/or someone with
        background on the issue, but not involved in the conflict) to intercede.
    3.  If you are still unable to resolve the conflict, and you believe it rises to
        harassment or another code of conduct violation, report it.
    
    ## Reporting Violations
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Feb 05 18:43:16 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/custom-request-and-route.md

    Mas esse exemplo ainda é valido e mostra como interagir com os componentes internos.
    
    ///
    
    Também podemos usar essa mesma abordagem para acessar o corpo da requisição em um manipulador de exceção.
    
    Tudo que precisamos fazer é manipular a requisição dentro de um bloco `try`/`except`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. docs/fr/docs/deployment/manually.md

    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    Et cela démarrera Hypercorn avec votre application en utilisant Trio comme backend.
    
    Vous pouvez désormais utiliser Trio en interne dans votre application. Ou mieux encore, vous pouvez utiliser AnyIO pour que votre code reste compatible avec Trio et asyncio. 🎉
    
    ## Concepts de déploiement
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/middleware.md

    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Mas, o FastAPI (na verdade, o Starlette) fornece uma maneira mais simples de fazer isso que garante que os middlewares internos lidem com erros do servidor e que os manipuladores de exceções personalizados funcionem corretamente.
    
    Para isso, você usa `app.add_middleware()` (como no exemplo para CORS).
    
    ```Python
    from fastapi import FastAPI
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/request-files.md

    `UploadFile` tem os seguintes métodos `assíncronos`. Todos eles chamam os métodos de arquivo correspondentes por baixo dos panos (usando o `SpooledTemporaryFile` interno).
    
    * `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo.
    * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo.
    * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/docker.md

    ### Um Balanceador de Carga - Múltiplos Contêineres de Workers
    
    Quando trabalhando com **Kubernetes** ou sistemas similares de gerenciamento de contêiner distribuído, usando seus mecanismos de rede internos permitiria que o único **balanceador de carga** que estivesse escutando na **porta principal** transmitisse comunicação (solicitações) para possivelmente **múltiplos contêineres** executando seu aplicativo.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

          .isSameAs(forJavaName("TestCipherSuite"))
        assertThat(forJavaName(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5.javaName))
          .isSameAs(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5)
      }
    
      /**
       * Tests that interned CipherSuite instances remain the case across garbage collections, even if
       * the String used to construct them is no longer strongly referenced outside of the CipherSuite.
       */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top