Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for line15 (0.03 sec)

  1. 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)
  2. android/guava/src/com/google/common/math/LinearTransformation.java

    import com.google.errorprone.annotations.concurrent.LazyInit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The representation of a linear transformation between real numbers {@code x} and {@code y}.
     * Graphically, this is the specification of a straight line on a plane. The transformation can be
     * expressed as {@code y = m * x + c} for finite {@code m} and {@code c}, unless it is a vertical
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. 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)
  5. guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                    String line;
                    while ((line = br.readLine()) != null) {
                        if (StringUtil.isNotBlank(line)) {
                            final Map<String, Map<String, String>> dataObj;
                            if (line.contains("\"_index\"") || line.contains("\"_type\"")) {
                                dataObj = parseObject(mapper, line);
                            } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top