Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for hints_ (0.16 sec)

  1. docs/pt/docs/index.md

    ---
    
    FastAPI é um moderno e rápido (alta performance) _framework web_ para construção de APIs com Python, baseado nos _type hints_ padrões do Python.
    
    Os recursos chave são:
    
    * **Rápido**: alta performance, equivalente a **NodeJS** e **Go** (graças ao Starlette e Pydantic). [Um dos frameworks mais rápidos disponíveis](#performance).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    And also that your code will be very compatible with many other Python tools and libraries. 🚀
    
    ///
    
    ## Type hints in **FastAPI** { #type-hints-in-fastapi }
    
    **FastAPI** takes advantage of these type hints to do several things.
    
    With **FastAPI** you declare parameters with type hints and you get:
    
    * **Editor support**.
    * **Type checks**.
    
    ...and **FastAPI** uses the same declarations to:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    It had automatic data validation, data serialization and OpenAPI schema generation based on the same type hints in several places.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value");
            }
    
            @Test
            @DisplayName("Named pipe request uses fixed 1024 hints")
            void namedPipeRequestHints() throws Exception {
                when(mockTree.isSMB2()).thenReturn(false);
                when(mockFile.getType()).thenReturn(SmbConstants.TYPE_NAMED_PIPE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. docs/en/docs/history-design-future.md

    </blockquote>
    
    ## Investigation { #investigation }
    
    By using all the previous alternatives I had the chance to learn from all of them, take ideas, and combine them in the best way I could find for myself and the teams of developers I have worked with.
    
    For example, it was clear that ideally it should be based on standard Python type hints.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CIFSContextTest.java

            // Given
            String hint = "hint";
            Throwable error = new Exception();
            when(mockContext.renewCredentials(hint, error)).thenReturn(true);
    
            // When
            boolean renewed = mockContext.renewCredentials(hint, error);
    
            // Then
            assertTrue(renewed);
            verify(mockContext).renewCredentials(hint, error);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbException.java

            this.context.put(key, value);
            return this;
        }
    
        /**
         * Sets a recovery hint for the error
         *
         * @param hint the recovery hint
         * @return this exception for chaining
         */
        public SmbException withRecoveryHint(String hint) {
            this.recoveryHint = hint;
            return this;
        }
    
        /**
         * Gets the SMB error code
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

         * All wire‑format methods should return zero regardless of inputs.
         */
        @Nested
        @DisplayName("Wire format method behaviour")
        class WireFormatMethods {
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE })
            @DisplayName("writeSetupWireFormat returns 0 for all indices")
            void writeSetupWireFormatReturnsZero(int index) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

            @DisplayName("Returns 0 with null array")
            void nullArray() {
                assertEquals(0, response.writeParameterWordsWireFormat(null, 0));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
            void nonNullArray(int index) {
                byte[] arr = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

        void constructorWithNullAndx() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertNotNull(msg, "Message must not be null after construction");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5, -1, 10 })
        @DisplayName("writeParameterWordsWireFormat always returns 0")
        void writeParameterWordsWireFormatReturnsZero(int index) {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top