Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 503 for validate_ (0.34 sec)

  1. 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)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
        void testParseAcceptsNonZeroOuterTag() throws Exception {
            // Note: The current implementation does not validate the outer APPLICATION tag number
            // This test documents the actual behavior - any tag number is accepted
            byte[] token =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Directory leasing requires SMB 3.0 or higher
            // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+
            // We'll validate this when we actually need to use the session
    
            // Request base lease
            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
    
            // Create directory cache entry
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.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. src/main/resources/fess_message_ko.properties

    errors.header = <ul class="has-error">
    errors.footer = </ul>
    errors.prefix = <li><i class="fa fa-exclamation-circle"></i>
    errors.suffix = </li>
    # ----------------------------------------------------------
    # Javax Validator
    # ---------------
    constraints.AssertFalse.message = {item}는 false여야 합니다.
    constraints.AssertTrue.message = {item}는 true여야 합니다.
    constraints.DecimalMax.message = {item}는 {value}보다 작아야 합니다.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/query-params-str-validations.md

    Це можна досягти за допомогою <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator" class="external-link" target="_blank">Pydantic's `AfterValidator`</a> в середині `Annotated`.
    
    /// tip | Підказка
    
    Pydantic також має <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-before-validator" class="external-link" target="_blank">`BeforeValidator`</a> та інші. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:17:24 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                assertTrue(true);
            }
        }
    
        public void test_createValidator() {
            try {
                final var validator = systemHelper.createValidator(ComponentUtil.getRequestManager(), null, new Class<?>[0]);
                assertNotNull(validator);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_setLogLevel_invalidLevel() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top