Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  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/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)
  4. 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)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

            val lines = content.substring(startAfterIntro).lines()
            var pos = startAfterIntro
            var pastBlankLine = false
            for (line in lines) {
                if (pastBlankLine && !line.startsWith("- ") && line.isNotBlank()) {
                    return pos
                }
                if (line.isNotBlank()) {
                    pastBlankLine = true
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  6. .teamcity/scripts/CheckWrapper.java

        }
    
        private static String readWrapperVersion() throws IOException {
            Path props = Paths.get("gradle/wrapper/gradle-wrapper.properties");
            List<String> lines = Files.readAllLines(props, StandardCharsets.UTF_8);
            String distributionUrl =
                lines.stream()
                    .map(String::trim)
                    .filter(l -> !l.isEmpty() && !l.startsWith("#"))
                    .filter(l -> l.startsWith("distributionUrl"))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  7. .teamcity/scripts/CheckRemoteProjectRef.java

        private static Map<String, String> readProperties(Path file) throws IOException {
            Map<String, String> out = new LinkedHashMap<>();
            List<String> lines = Files.readAllLines(file, StandardCharsets.UTF_8);
            for (String line : lines) {
                String trimmed = line.trim();
                if (trimmed.isEmpty() || trimmed.startsWith("#") || trimmed.startsWith("!")) {
                    continue;
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                }
            }
    
            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
                    String packageLine = lines.filter(line -> line.startsWith("package"))
                        .findFirst()
                        .orElseThrow(() -> new IOException("Can't find package definition in file " + file));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratorTask.kt

                content.subList(0, markerPos)
            } else {
                emptyList()
            }
    
            markdownFile.bufferedWriter().use {
                PrintWriter(it).run {
                    for (line in head) {
                        println(line)
                    }
                    graph(elements.get())
                }
            }
        }
    
        private fun PrintWriter.graph(elements: List<ArchitectureElement>) {
            println(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. .teamcity/scripts/CheckBadMerge.java

            List<String> lines = getStdoutLines(new String[] {"git", "branch", "-r", "--contains", commit});
            List<String> out = new ArrayList<>();
            for (String line : lines) {
                String s = line.replace("*", "").trim();
                if (!s.isEmpty()) {
                    out.add(s);
                }
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
Back to Top