- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 141 for line15 (0.04 seconds)
-
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
thread.start(); thread.join(1000); String output = thread.getOutput(); String[] lines = output.split("\n"); assertTrue("Buffer should be limited to 10 items", lines.length <= 10); assertTrue("Last lines should be kept", output.contains("line15")); } @Test public void test_run_maxBufferSizeConstant() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
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) -
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) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
private static final class Snippet { final int line; // line of the [.multi-language-sample] header final Language lang; // best-effort deduction (UNKNOWN allowed) Snippet(int line, Language lang) { this.line = line; this.lang = lang; } } private static final class Error { final int line; final String message;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
import org.apache.logging.log4j.Logger; /** * A thread that reads from an input stream line by line and maintains a buffer of recent lines. * This class provides functionality to read input stream data asynchronously, * optionally process each line with a callback function, and maintain a circular buffer * of recent lines for retrieval. */ public class InputStreamThread extends Thread { /** Logger instance for this class */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
.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)