Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 65 for line4 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertTrue("Should have line4", thread.contains("line4"));
            assertTrue("Should have line5", thread.contains("line5"));
        }
    
        @Test
        public void test_emptyInputStream() throws IOException, InterruptedException {
            Process mockProcess = createMockProcess("");
            JobProcess jobProcess = new JobProcess(mockProcess);
    
            InputStreamThread thread = jobProcess.getInputStreamThread();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
            assertEquals("Last line", "Line number 4999", receivedLines.get(4999));
        }
    
        @Test
        public void test_run_concurrentAccess() throws InterruptedException {
            String input = "concurrent1\nconcurrent2\nconcurrent3";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            // Test newline replacement in setNewOutput
            item.setNewOutput("line1\nline2\nline3");
            assertEquals("line1 line2 line3", item.getNewOutput());
        }
    
        @Test
        public void test_setNewOutput_withNull() {
            String[] inputs = { "input" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                // Verify content structure
                boolean hasThreadLine = lines.stream().anyMatch(line -> line.startsWith("Thread:"));
                boolean hasStackTraceLine = lines.stream().anyMatch(line -> line.startsWith("\tat "));
    
                assertTrue("Should contain thread information", hasThreadLine);
                assertTrue("Should contain stack trace information", hasStackTraceLine);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

         * Captures output from command execution with configurable line buffering.
         */
        protected static class InputStreamThread extends Thread {
    
            /** Buffered reader for input stream. */
            private BufferedReader br;
    
            /** List to store captured output lines. */
            private final List<String> list = new LinkedList<>();
    
            /** Maximum number of lines to buffer. */
            private final int maxLineBuffer;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            assertTrue(body != null && body.length() > 0, "Response body should not be empty");
            // NDJSON format: each line is a JSON object
            String[] lines = body.trim().split("\n");
            assertTrue(lines.length > 0, "Should have at least one line in NDJSON response");
        }
    
        @Test
        public void testScrollSearch_withNum() {
            Map<String, String> params = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top