Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 155 for defining (0.16 seconds)

  1. src/main/java/jcifs/pac/ASN1Util.java

        }
    
        static int readLength(final InputStream s, final int limit, final boolean isParsing) throws IOException {
            int length = s.read();
            if (0 == length >>> 7) {
                // definite-length short form
                return length;
            }
            if (0x80 == length) {
                // indefinite-length
                return -1;
            }
            if (length < 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/response-model.md

    * **Serializar** os dados retornados para JSON usando Pydantic, que é escrito em **Rust**, então será **muito mais rápido**.
    
    Mas o mais importante:
    
    * Ele **limitará e filtrará** os dados de saída para o que está definido no tipo de retorno.
        * Isso é particularmente importante para a **segurança**, veremos mais sobre isso abaixo.
    
    ## Parâmetro `response_model` { #response-model-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/extra-models.md

    Isso será definido no OpenAPI com `anyOf`.
    
    Para fazer isso, use a anotação de tipo padrão do Python [`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union):
    
    /// note | Nota
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/body-updates.md

    Comme `item.model_dump(exclude_unset=True)`.
    
    Cela génère un `dict` ne contenant que les données définies lors de la création du modèle `item`, en excluant les valeurs par défaut.
    
    Vous pouvez ensuite l’utiliser pour produire un `dict` avec uniquement les données définies (envoyées dans la requête), en omettant les valeurs par défaut :
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/settings.md

    <div class="termy">
    
    ```console
    $ ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp" fastapi run main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// tip | Dica
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  6. docs/pt/docs/how-to/configure-swagger-ui.md

    Mas você pode desabilitá-lo definindo `syntaxHighlight` como `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...e então o Swagger UI não mostrará mais o destaque de sintaxe:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Alterar o tema { #change-the-theme }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/ASN1UtilTest.java

        void testReadLength_ShortForm() throws IOException {
            // Definite-length short form (length 10)
            InputStream s = new ByteArrayInputStream(new byte[] { 0x0A });
            int length = ASN1Util.readLength(s, 100, false);
            assertEquals(10, length);
        }
    
        @Test
        void testReadLength_LongForm() throws IOException {
            // Definite-length long form (length 256)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ReaderInputStream.java

        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
            totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead);
            if (totalBytesRead == len || doneFlushing) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            PACDecodingException e = new PACDecodingException(cause);
            // When constructed with only a cause, the implementation passes (null, cause) to super
            // which results in a null message rather than deriving it from the cause
            assertNull(e.getMessage());
            assertSame(cause, e.getCause());
        }
    
        /**
         * Test the constructor with both a message and a cause.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/response-change-status-code.md

    também cookies e headers), e irá colocá-los no retorno final que contém o valor que você retornou, filtrado por qualquer `response_model`.
    
    Você também pode declarar o parâmetro `Response` nas dependências, e definir o código de status nelas. Mas lembre-se que o último que for definido é o que prevalecerá....
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top