Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 558 for isInvalid (0.07 sec)

  1. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(orKeywords);
            assertEquals(2, orKeywords.size());
    
            // Test with invalid query
            List<String> invalidKeywords = SuggestUtil.getKeywords("((invalid", fields);
            assertNotNull(invalidKeywords);
            assertEquals(0, invalidKeywords.size());
        }
    
        @Test
        public void testGetKeywordsWithDuplicates() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
        void testReadBytesWireFormatInvalidStructureSize() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 10 (invalid, should be 9)
            SMBUtil.writeInt2(10, buffer, bufferIndex);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java

                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if (getUncPath0().length() == 1 || dest.getUncPath0().length() == 1) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            resolveDfs(null);
            dest.resolveDfs(null);
    
            if (!tree.equals(dest.tree)) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            if (LogStream.level >= 3) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. gradlew.bat

    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :execute
    @rem Setup the command line
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 18 20:55:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            // Check protocol ID
            final int protocolId = SMBUtil.readInt4(buffer, bufferIndex);
            if (protocolId != TRANSFORM_PROTOCOL_ID) {
                throw new IllegalArgumentException("Invalid transform header protocol ID: 0x" + Integer.toHexString(protocolId));
            }
            bufferIndex += 4;
    
            // Read signature
            System.arraycopy(buffer, bufferIndex, header.signature, 0, 16);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/HexdumpTest.java

            assertTrue(result.startsWith("10111213"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @Test
        @DisplayName("Should handle invalid offset and length parameters")
        void testInvalidParameters() {
            // Given
            byte[] data = createTestData(32);
    
            // When/Then
            assertThrows(IndexOutOfBoundsException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PACDecodingException.java

     */
    package jcifs.pac;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded.
     * Indicates malformed or invalid PAC structures in Kerberos tickets.
     */
    public class PACDecodingException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  9. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test getRootCause() method (deprecated).
         */
        @Test
        void testGetRootCause() {
            Throwable cause = new IllegalArgumentException("Invalid argument.");
            DcerpcException exception = new DcerpcException("Error with cause.", cause);
            assertEquals(cause, exception.getRootCause(), "getRootCause() should return the original cause.");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacMac.java

                } else {
                    if ((type != PacSignature.HMAC_SHA1_96_AES128) && (type != PacSignature.HMAC_SHA1_96_AES256)) {
                        throw new PACDecodingException("Invalid MAC algorithm");
                    }
                    KerberosKey key = type == PacSignature.HMAC_SHA1_96_AES128 ? keys.get(PacSignature.ETYPE_AES128_CTS_HMAC_SHA1_96)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top