Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 595 for validate (0.04 sec)

  1. docs/en/docs/python-types.md

    You declare the "shape" of the data as classes with attributes.
    
    And each attribute has a type.
    
    Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data.
    
    And you get all the editor support with that resulting object.
    
    An example from the official Pydantic docs:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>type</name>
              <version>1.0.0+</version>
              <type>String</type>
              <required>true</required>
              <description>
                The Java type for this parameter. This is used to validate the result of any expressions used to calculate
                the value which should be injected into the Mojo for this parameter.
              </description>
            </field>
            <field>
              <name>required</name>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. docs/en/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Coming back to the previous code example, **FastAPI** will:
    
    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/UniAddressTest.java

                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
            @Test
            void shouldReturnTrueForInvalidOctetValues() {
                // isDotQuadIP does not validate octet values, only checks format
                assertTrue(UniAddress.isDotQuadIP("192.168.1.256"));
                assertTrue(UniAddress.isDotQuadIP("999.999.999.999"));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0));
        }
    
        @Test
        void decodesSrvCopyChunkCopyResponse() throws Exception {
            // Validate createOutputDecodable() mapping and Decodable decode
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
    
            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    // license that can be found in the LICENSE file.
    
    // This file is for validation errors only, i.e., errors reported by the validate function.
    // Negative test cases for errors generated earlier in the assembler's preprocess stage
    // should be added to riscv64error.s.  If they are added to this file, they will prevent
    // the validate function from being run and TestRISCVValidation will report missing
    // errors.
    
    TEXT validation(SB),$0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 14:19:19 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package.
     *
     * The tests use small stub subclasses to drive encode/decode paths and
     * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling.
     */
    class AndXServerMessageBlockTest {
    
        /**
         * Test stub for AndXServerMessageBlock to control read/write logic.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then - all reads should return same result
            assertEquals(4, read1);
            assertEquals(4, read2);
            assertEquals(4, read3);
        }
    
        @Test
        @DisplayName("Should validate structure size before processing")
        void testStructureSizeValidation() {
            // Given various invalid structure sizes
            int[] invalidSizes = { -1, 0, 1, 2, 3, 5, 6, 8, 16, 32, 64, 128, 256, 512, 1024 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                });
            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("encode should validate size calculation")
            void testEncodeValidSize() {
                byte[] buffer = new byte[1024];
                testRequest.setTestSize(64);
                testRequest.setTestLength(64);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top