Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for Invalid (0.04 sec)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertTrue(validator.isValid(null, context));
        }
    
        public void test_isValid_blankValue() {
            final ConstraintValidatorContext context = null;
            assertTrue(validator.isValid(" ", context));
            assertTrue(validator.isValid("   ", context));
            assertTrue(validator.isValid("\t", context));
            assertTrue(validator.isValid("\n", context));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

         */
        @Test
        public void testReleaseBufferValidation() {
            // Given - Various invalid buffers
            byte[] nullBuffer = null;
            byte[] wrongSizeBuffer = new byte[100]; // Wrong size
            byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
    
            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            props.setProperty("jcifs.smb.client.useRDMA", "invalid");
            props.setProperty("jcifs.smb.client.rdmaReadWriteThreshold", "invalid");
            props.setProperty("jcifs.smb.client.rdmaMaxSendSize", "invalid");
            props.setProperty("jcifs.smb.client.rdmaMaxReceiveSize", "invalid");
            props.setProperty("jcifs.smb.client.rdmaCredits", "invalid");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            // Test blank string (should be valid)
            bean.setCronExpression("   ");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
        }
    
        // Test validation with invalid cron expressions
        public void test_invalidCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test invalid cron expression
            bean.setCronExpression("invalid");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtStatus.java

        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/PropertyConfiguration.java

                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.soTimeout");
            if (value != null) {
                try {
                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. cmd/postpolicyform.go

    			if op == policyCondStartsWith && !startsWithSupported {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    			// Check if current policy condition is satisfied
    			if !checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value) {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

                log.warn("Invalid SMB protocol ID: 0x{}", Integer.toHexString(protocolId));
                throw new SmbException("Invalid SMB protocol identifier");
            }
    
            // Validate command is in valid range
            if (command < 0 || command > 255) {
                failedValidations.incrementAndGet();
                throw new SmbException("Invalid command code: " + command);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Username contains invalid characters: " + username);
            }
        }
    
        /**
         * Validates domain name
         *
         * @param domain the domain to validate
         * @throws IllegalArgumentException if domain is invalid
         */
        public static void validateDomain(String domain) {
            if (domain == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top