Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for partial (0.55 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         *
         * <p>This method is designed to be resilient to malformed robots.txt files.
         * It will parse valid directives and ignore invalid ones, ensuring that partial
         * content can be extracted even from poorly formatted files.</p>
         *
         * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p>
         * <ul>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            assertNotNull(matched);
            assertEquals("GoogleBot", matched.getUserAgent());
        }
    
        public void test_getMatchedDirectiveWithPartialMatch() {
            // Test getMatchedDirective with partial pattern match
            RobotsTxt robotsTxt = new RobotsTxt();
    
            Directive directive = new Directive("Google*");
            directive.addDisallow("/private/");
            robotsTxt.addDirective(directive);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for archive extractor error handling improvements.
     * Tests partial extraction, error recovery, and improved error messages.
     */
    public class ArchiveExtractorErrorHandlingTest extends PlainTestCase {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

                    // If we had a non-critical destroy failure, throw it now
                    if (failedToDestroy && destroyException != null) {
                        throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage());
                    }
    
                } catch (DestroyFailedException e) {
                    // Re-throw DestroyFailedException as-is
                    throw e;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

                    break;
                totalRead += read;
            }
    
            assertEquals(size, totalRead);
            assertArrayEquals(data, buffer);
        }
    
        @Test
        @DisplayName("Read handles partial reads from underlying stream")
        void readHandlesPartialReads() throws IOException {
            // Create message with data
            byte[] data = new byte[] { 1, 2, 3, 4, 5 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SidResolverTest.java

            Map<SID, List<SID>> result = sidResolver.getLocalGroupsMap(mockContext, testServerName, 0);
    
            assertNotNull(result);
            assertEquals(100, result.size());
        }
    
        // Test partial array resolution
        @Test
        void testResolveSidsWithOffsetAndLength_PartialResolution() throws CIFSException {
            SID[] sids = new SID[] { mockSid1, mockSid2, mockSid3 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                                if (log.isDebugEnabled()) {
                                    log.debug(String.format("Wrote %d bytes (%d chunks, last partial write %d)", r.getTotalBytesWritten(),
                                            r.getChunksWritten(), r.getChunkBytesWritten()));
                                }
                                ooff += r.getTotalBytesWritten();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals(5, bytesRead);
            for (int i = 0; i < 5; i++) {
                assertEquals(data[i], buffer[i]);
            }
        }
    
        @Test
        @DisplayName("readn should handle partial reads")
        void testReadnPartial() throws IOException {
            byte[] buffer = new byte[10];
            byte[] data = { 1, 2, 3 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testPartialRead() throws Exception {
            // Test partial file reads (important for SMB streaming)
            long timestamp = System.currentTimeMillis();
            SmbFile file = new SmbFile(baseUrl + "shared/partial_" + timestamp + ".txt", context);
    
            // Write test data
            String content = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertFalse(item.isBadWord(badWords));
    
            // Test with matching bad word
            String[] badWords2 = { "test", "bad" };
            assertTrue(item.isBadWord(badWords2));
    
            // Test with partial match
            item.setText("testing something");
            String[] badWords3 = { "test" };
            assertTrue(item.isBadWord(badWords3));
        }
    
        @Test
        public void testToEmptyMap() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top