- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for line4 (0.01 sec)
-
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()); } public void test_setNewOutput_withNull() { String[] inputs = { "input" }; CharMappingItem item = new CharMappingItem(1L, inputs, "output");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* The file is newline separated. The first two lines are the URL and the request method. Next * is the number of HTTP Vary request header lines, followed by those lines. * * Next is the response status line, followed by the number of HTTP response header lines, * followed by those lines. * * HTTPS responses also contain SSL session information. This begins with a blank line, and then
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertTrue(true); } } public void test_reload_withEmptyLines() throws Exception { // Create content with empty lines and comments String content = "# Comment line\n" + "\n" + // empty line "word1\n" + " \n" + // whitespace line (may be treated as content) "# Another comment\n" + "word2\n"; // Write content to test file writeTestFile(content);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
stopwordsFile.reload(null, is); assertEquals(2, stopwordsFile.stopwordsItemList.size()); // The content creates two lines: "word\n1" and "word\" assertTrue(stopwordsFile.stopwordsItemList.stream().anyMatch(item -> item.getInput().contains("word"))); } // Test StopwordsUpdater inner class
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertEquals(1, result.size()); assertEquals("f", result.get(0).getOutput()); } // Test reload with comments and empty lines public void test_reload_withCommentsAndEmptyLines() throws Exception { writeTestFile("# This is a comment\n\na,b => c\n\n# Another comment\nd,e => f\n");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
String result = scoreUpdater.execute(); // Check format with class name, colon, count, and newline String[] lines = result.split("\n"); assertEquals(2, lines.length); assertTrue(lines[0].matches("TestScoreBooster : \\d+")); assertTrue(lines[1].matches("TestScoreBooster : \\d+")); } // Test with null pointer exception public void test_execute_nullPointerException() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
response: Response, ) { } /** * Invoked when a new event has been sent to the client. * * @param id The `id` line of the event, might be null. * @param type The `event` line of the event, might be null. * @param data The `data` line of the event. */ open fun onEvent( eventSource: EventSource, id: String?, type: String?, data: String, ) { } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} /** * Formats code content with syntax highlighting and line numbers. * * @param prefix the line number prefix pattern * @param style the CSS class name for styling * @param mimetype the MIME type of the content (currently unused) * @param input the code content to format * @return HTML formatted code with line numbers and styling */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
import org.opensearch.monitor.process.ProcessProbe; import jakarta.annotation.Resource; /** * Executable class for generating thumbnails for indexed documents. * This class provides a command-line interface for thumbnail generation tasks. */ public class ThumbnailGenerator { private static final Logger logger = LogManager.getLogger(ThumbnailGenerator.class); /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0)