Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 263 for treats (0.04 seconds)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            // CharUtil.isUrlChar treats [ ] as valid URL chars, so they pass through unchanged
            String result = DocumentUtil.encodeUrl("http://example.com/path/[id]/page");
            assertEquals("http://example.com/path/[id]/page", result);
        }
    
        @Test
        public void test_encodeUrl_percentSign() {
            // CharUtil.isUrlChar treats % as valid URL char, so it passes through unchanged
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            br.addNotice("Too long boundary size so treats it as 404.");
            br.addItem("Advice");
            br.addElement("Against for CVE-2014-0050 (JVN14876762).");
            br.addElement("Boundary size is limited by Framework.");
            br.addElement("Too long boundary is treated as 404 because it's thought of as attack.");
            br.addElement("");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  3. .teamcity/performance-tests-ci.json

        "groups" : [ {
          "testProject" : "archivePerformanceProject",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.corefeature.DeprecationCreationPerformanceTest.create many deprecation warnings",
        "groups" : [ {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 21:56:33 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    
    /**
     * HTML tag-based thumbnail generator that creates thumbnails from image content
     * referenced in HTML documents. This generator extracts images from HTML content
     * and processes them to create thumbnail images based on configured dimensions
     * and format settings.
     *
     * <p>The generator validates image MIME types, processes image data through
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

    /**
     * Concurrency and thread-safety tests for RankFusionProcessor.
     * Tests the improvements made to thread safety using CopyOnWriteArrayList.
     */
    public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test concurrent registration of searchers from multiple threads.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Multiple threads try to read simultaneously
            final int threadCount = 5;
            final Thread[] threads = new Thread[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                threads[i] = new Thread(() -> {
                    testFactory.getDataStoreNames();
                });
            }
    
            for (Thread thread : threads) {
                thread.start();
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            super.setUp(testInfo);
    
            // Create test file with content
            testFile = File.createTempFile("test_protwords", ".txt");
            testFile.deleteOnExit();
    
            // Write test content to file
            try (FileOutputStream fos = new FileOutputStream(testFile)) {
                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                            // Log error
                        }
                    }
                });
                threads.add(thread);
                thread.start();
            }
    
            // Wait for all threads
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify all documents were processed
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                } catch (Exception e) {
                    exceptions[1] = e;
                }
            });
    
            // Start both threads
            threads[0].start();
            threads[1].start();
    
            // Wait for completion
            threads[0].join();
            threads[1].join();
    
            // Verify no exceptions occurred (the main goal is no ConcurrentModificationException)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         *
         * @return array of character codes to be treated as spaces
         */
        protected int[] getSpaceChars() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return fessConfig.getCrawlerDocumentSpaceCharsAsArray();
        }
    
        /**
         * Creates a digest (abbreviated summary) of document content.
         * Truncates and normalizes content to create a summary suitable for display.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top