Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 228 for line1 (0.01 sec)

  1. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the first line, or null if the file is empty
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Line Feed ('\n'): A format effector which controls the movement of the printing position to the
       * next printing line. (Applicable also to display devices.) Where appropriate, this character may
       * have the meaning "New Line" (NL), a format effector which controls the movement of the printing
       * point to the first printing position on the next printing line. Use of this convention requires
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
                    String[] inputs;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. .github/workflows/codeql-analysis.yml

        - name: Autobuild
          uses: github/codeql-action/autobuild@v1
    
        # â„šī¸ Command-line programs to run using the OS shell.
        # 📚 https://git.io/JvXDl
    
        # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines
        #    and modify them (or add more) to build your code if your project
        #    uses a compiled language
    
        #- run: |
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Fri Oct 02 13:24:14 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  7. mvnw

      done
      printf '%s' "$(
        cd "$basedir" || exit 1
        pwd
      )"
    }
    
    # concatenates all lines of a file
    concat_lines() {
      if [ -f "$1" ]; then
        # Remove \r in case we run on Windows within Git Bash
        # and check out the repository with auto CRLF management
        # enabled. Otherwise, we may read lines that are delimited with
        # \r\n and produce $'-Xarg\r' rather than -Xarg due to word
        # splitting rules.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
          assertFalse(iterator.hasNext());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top