Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 573 for isInvalid (0.04 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when an invalid access token is encountered.
     * This exception is typically used in authentication and authorization contexts
     * where a provided access token is invalid, expired, or malformed.
     */
    public class InvalidAccessTokenException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockFileHandle.isValid()).thenReturn(false);
            assertFalse(outputStream.isOpen());
        }
    
        @Test
        void testWriteAfterClose() throws IOException, CIFSException {
            // Given
            when(mockTreeHandle.isSMB2()).thenReturn(true);
            when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
            when(mockFileHandle.isValid()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            Properties props = new Properties();
    
            // Invalid boolean should default to true
            props.setProperty("jcifs.smb.client.useMultiChannel", "invalid");
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertTrue(config.isUseMultiChannel());
    
            // Invalid integer should use default
            props.clear();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top