- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Lines (0.02 sec)
-
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) -
guava/src/com/google/common/io/CharSource.java
* * <pre>{@code * try (Stream<String> lines = source.lines()) { * lines.map(...) * .filter(...) * .forEach(...); * } * }</pre> * * @throws IOException if an I/O error occurs while opening the stream * @since 22.0 (but only since 33.4.0 in the Android flavor) */ @MustBeClosed public Stream<String> lines() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
} /** * This class is used to read properties lines. These lines do * not terminate with new-line chars but rather when there is no * backslash sign a the end of the line. This is used to * concatenate multiple lines for readability. */ public static class PropertiesReader extends LineNumberReader { /** Stores the comment lines for the currently processed property.*/
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java
} protected O parseMavenConfigOptions(Path configFile) throws ParserException, IOException { try (Stream<String> lines = Files.lines(configFile, Charset.defaultCharset())) { List<String> args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#")).toList(); O options = parseArgs("maven.config", args); if (options.goals().isPresent()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* * @param y the number of lines to move up * @return this Ansi instance */ public Ansi cursorUp(final int y) { return y > 0 ? appendEscapeSequence('A', y) : y < 0 ? cursorDown(-y) : this; } /** * Moves the cursor down. If the parameter y is negative it moves the cursor up. * * @param y the number of lines to move down * @return this Ansi instance
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0) -
doc/godebug.md
(Toolchains older than Go 1.23 reject all `godebug` lines, since they do not understand `godebug` at all.) The defaults from the `go` and `godebug` lines apply to all main packages that are built. For more fine-grained control, starting in Go 1.21, a main package's source files can include one or more `//go:debug` directives at the top of the file (preceding the `package` statement). The `godebug` lines in the previous example would be written:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0)