Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 401 for negate (0.04 sec)

  1. docs/pt/docs/advanced/dataclasses.md

    4. A dataclass `Author` é usada como o parâmetro `response_model`.
    
    5. Você pode usar outras anotações de tipo padrão com dataclasses como o corpo da requisição.
    
        Neste caso, é uma lista de dataclasses `Item`.
    
    6. Aqui estamos retornando um dicionário que contém `items`, que é uma lista de dataclasses.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

                transport.release();
                assertEquals(beforeRelease - 1, transport.getUsageCount());
            }
    
            @Test
            @DisplayName("release should throw exception when usage count would go negative")
            void shouldThrowOnNegativeUsage() {
                transport.release(); // Make it 0
                assertThrows(RuntimeCIFSException.class, transport::release);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
            assertEquals(0, auth.getUserLifeTime());
            auth.setUserLifeTime(-1);
            assertEquals(-1, auth.getUserLifeTime());
    
            auth.setLifeTime(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/templates.md

    Você também pode usar `url_for()` dentro do template e usá-lo, por examplo, com o `StaticFiles` que você montou com o `name="static"`.
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    Neste exemplo, ele seria vinculado a um arquivo CSS em `static/styles.css` com:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            }
            if (securityBufferOffset < 0) {
                throw new SMBProtocolDecodingException("Invalid security buffer offset: " + securityBufferOffset + " (must be non-negative)");
            }
    
            final int hdrStart = getHeaderStart();
            if (securityBufferLength > 0) {
                // Validate that security buffer doesn't exceed available data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    assertEquals(expected, buffer[i], "Pattern mismatch at position " + i);
                }
            }
    
            @Test
            @DisplayName("Should handle chunks with negative values")
            void testChunksWithNegativeValues() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
                SrvCopychunk chunk = new SrvCopychunk(-1L, -100L, -1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/security/get-current-user.md

    Você quer ter apenas um `id` e `email`, sem incluir nenhum `username` no modelo? Claro. Você pode usar essas mesmas...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 13:33:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/handling-errors.md

    O benefício de lançar uma exceção em vez de retornar um valor ficará mais evidente na seção sobre Dependências e Segurança.
    
    Neste exemplo, quando o cliente pede, na requisição, por um item cujo ID não existe, a exceção com o status code `404` é lançada:
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[11] *}
    
    ### A response resultante
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            String result = scoreUpdater.execute();
            // NullPointerException message should be captured
            assertTrue(result.contains("null") || result.contains("NullPointer"));
        }
    
        // Test with negative priority
        public void test_addScoreBooster_negativePriority() {
            PriorityTrackingBooster booster1 = new PriorityTrackingBooster(-1, 100L);
            PriorityTrackingBooster booster2 = new PriorityTrackingBooster(0, 200L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals("EndOfFileInformation[endOfFile=12345]", str2);
        }
    
        @Test
        @DisplayName("Test toString with various values")
        void testToStringWithVariousValues() {
            // Test negative value
            FileEndOfFileInformation info1 = new FileEndOfFileInformation(-100L);
            assertEquals("EndOfFileInformation[endOfFile=-100]", info1.toString());
    
            // Test zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top