Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 481 for line_1 (0.04 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    }
                    valueLines.add(line);
                    while (!line.isEmpty() && contains(WHITE_SPACE, line.charAt(0))) {
                        line = line.substring(1, line.length());
                    }
                    buffer.append(line);
                    if (!combine) {
                        break;
                    }
                }
                return buffer.toString();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. docs/en/docs/js/custom.js

                        }
                    }
                    for (let line of lines) {
                        if (line === progressLiteralStart) {
                            saveBuffer();
                            useLines.push({
                                type: "progress"
                            });
                        } else if (line.startsWith(promptLiteralStart)) {
                            saveBuffer();
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 22 15:11:52 UTC 2025
    - 6.3K bytes
    - Viewed (2)
  7. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

            List<String> lines = new ArrayList<>();
            for (String line = readLine(); line != null && !line.isEmpty(); line = readLine()) {
                lines.add(line);
            }
            return lines;
        }
    
        @Override
        public void write(String line) throws IOException {
            try {
                prompter.showMessage(line);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

        void testAptConsistency() throws Exception {
            File apt = getTestFile("src/site/apt/artifact-handlers.apt");
    
            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
                        "type",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Resources.java

      }
    
      /**
       * Streams lines from a URL, stopping when our callback returns false, or we have read all of the
       * lines.
       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the LineProcessor to use to handle the lines
       * @return the output of processing the lines
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. scripts/docs.py

    """
    
    
    def remove_header_permalinks(content: str):
        lines: list[str] = []
        for line in content.split("\n"):
            match = header_with_permalink_pattern.match(line)
            if match:
                hashes, title, *_ = match.groups()
                line = f"{hashes} {title}"
            lines.append(line)
        return "\n".join(lines)
    
    
    def generate_readme_content() -> str:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
Back to top