- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 568 for line1 (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 11.5K bytes - Click Count (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) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 2.8K bytes - Click Count (0) -
src/bufio/scan_test.go
s.Split(ScanLines) for lineNum := 0; s.Scan(); lineNum++ { line := lines[lineNum] if s.Text() != line { t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Bytes(), line) } } err := s.Err() if err != nil { t.Fatal(err) } } // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
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; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:48:41 GMT 2025 - 5.2K bytes - Click Count (0) -
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",
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/endtoend_test.go
seq := 0 hexByLine := map[string]string{} lines := strings.SplitAfter(string(data), "\n") Diff: for _, line := range lines { lineno++ // Ignore include of textflag.h. if strings.HasPrefix(line, "#include ") { continue } // Ignore GLOBL. if strings.HasPrefix(line, "GLOBL ") { continue } // The general form of a test input line is: // // comment
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 18:45:48 GMT 2025 - 12.5K bytes - Click Count (0) -
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:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 21 17:40:17 GMT 2025 - 16.9K bytes - Click Count (0) -
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 linesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
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();Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 22 15:11:52 GMT 2025 - 6.3K bytes - Click Count (2)