Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for line1 (0.01 sec)

  1. 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));
        }
    
        public void test_run_concurrentAccess() throws InterruptedException {
            String input = "concurrent1\nconcurrent2\nconcurrent3";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

        public void test_parse_special_characters() {
            String value;
            String[] result;
    
            // Newline characters
            value = "\"line1\nline2\",normal";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(2, result.length);
            assertEquals("line1\nline2", result[0]);
            assertEquals("normal", result[1]);
    
            // Carriage return
            value = "\"with\rcarriage\",return";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

     * <p>Several methods in this class, such as {@link #readLines()}, break the contents of the source
     * into lines. Like {@link BufferedReader}, these methods break lines on any of {@code \n}, {@code
     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
     * be an empty line at the end if the contents are terminated with a line separator.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

     * <p>Several methods in this class, such as {@link #readLines()}, break the contents of the source
     * into lines. Like {@link BufferedReader}, these methods break lines on any of {@code \n}, {@code
     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
     * be an empty line at the end if the contents are terminated with a line separator.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. 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);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

       * @return a mutable {@link List} containing all the lines
       * @throws IOException if an I/O error occurs
       */
      public static List<String> readLines(Readable r) throws IOException {
        List<String> result = new ArrayList<>();
        LineReader lineReader = new LineReader(r);
        String line;
        while ((line = lineReader.readLine()) != null) {
          result.add(line);
        }
        return result;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      private fun readJournalLine(line: String) {
        val firstSpace = line.indexOf(' ')
        if (firstSpace == -1) throw IOException("unexpected journal line: $line")
    
        val keyBegin = firstSpace + 1
        val secondSpace = line.indexOf(' ', keyBegin)
        val key: String
        if (secondSpace == -1) {
          key = line.substring(keyBegin)
          if (firstSpace == REMOVE.length && line.startsWith(REMOVE)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. 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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top