Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for line (0.02 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    }
                    valueLines.add(line);
                    while (line.length() > 0 && contains(WHITE_SPACE, line.charAt(0))) {
                        line = line.substring(1, line.length());
                    }
                    buffer.append(line);
                    if (!combine) {
                        break;
                    }
                }
                return buffer.toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                }
            }
    
            String[] lines = NEXT_LINE.split(msg);
            String currentColor = "";
    
            for (int i = 0; i < lines.length; i++) {
                // add eventual current color inherited from previous line
                String line = currentColor + lines[i];
    
                // look for last ANSI escape sequence to check if nextColor
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the given line separator.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

            List<String[]> data = new ArrayList<>();
            String k = null;
            for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) {
                if (line.startsWith("\t")) {
                    data.add(new String[] {k, line.trim()});
                } else {
                    k = line;
                }
            }
            Collections.shuffle(data);
    
            long t0 = System.nanoTime();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

        }
    
        @Override
        public void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) {
            if (line <= 0 && column <= 0 && (cause instanceof SettingsParseException)) {
                SettingsParseException e = (SettingsParseException) cause;
                line = e.getLineNumber();
                column = e.getColumnNumber();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top