Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 164 for dashes (1.47 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with concrete implementation
                assertDoesNotThrow(() -> concreteImplementation.replaceCache());
            }
    
            @Test
            @DisplayName("Should check if resolve hashes")
            void testIsResolveHashes() {
                // Test with mock
                when(mockReferralData.isResolveHashes()).thenReturn(true);
                assertTrue(mockReferralData.isResolveHashes());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/converter/DateConverter.java

    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.DateConversionUtil;
    import org.codelibs.core.convert.StringConversionUtil;
    
    /**
     * Converter for dates.
     *
     * @author higa
     */
    public class DateConverter implements Converter {
    
        /**
         * The date pattern.
         */
        protected String pattern;
    
        /**
         * Constructs an instance.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/HMACT64.java

    /**
     * This is an implementation of the HMACT64 keyed hashing algorithm.
     * HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104)
     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    public class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/HMACT64.java

    /**
     * This is an implementation of the HMACT64 keyed hashing algorithm.
     * HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104)
     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/InputValidator.java

         * @return normalized path
         */
        public static String normalizeSmbPath(String path) {
            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public String link;
        /** Path relative to tree from which this referral was thrown */
        public String path; // Path relative to tree from which this referral was thrown
        /** Whether to resolve hashes in the path */
        public boolean resolveHashes;
        /** Expiration time for this referral entry */
        public long expiration;
    
        /** The next DFS referral in the chain */
        DfsReferral next;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DosFileFilterTest.java

         * @throws SmbException If an SMB error occurs.
         */
        @ParameterizedTest(name = "Filter: {0}, File: {1}, Expected: {2}")
        @CsvSource({
                // Positive cases (should be accepted)
                "1, 1, true", // ATTR_READONLY
                "2, 2, true", // ATTR_HIDDEN
                "4, 4, true", // ATTR_SYSTEM
                "16, 16, true", // ATTR_DIRECTORY
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DfsImplTest.java

            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
            // The constructor is called in setUp(), so if no exception is thrown, this test passes.
            assertNotNull(dfsImpl);
        }
    
        // Tests for isTrustedDomain
        @Test
        void testIsTrustedDomain_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled in the configuration.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    package jcifs.smb1.smb1;
    
    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractorTest.java

            assertNotNull(authors);
            assertEquals("John Doe", authors[0]);
    
            final String[] dates = extractData.getValues("frontmatter.date");
            assertNotNull(dates);
            assertEquals("2025-01-15", dates[0]);
        }
    
        public void test_headingExtraction() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/markdown/test.md");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top