- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for readlines (0.04 sec)
-
guava/src/com/google/common/io/Resources.java
*/ @CanIgnoreReturnValue // some processors won't return a useful result @ParametricNullness public static <T extends @Nullable Object> T readLines( URL url, Charset charset, LineProcessor<T> callback) throws IOException { return asCharSource(url, charset).readLines(callback); } /** * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
} else { assertEquals(expectedLines.get(0), source.readFirstLine()); } } public void testReadLines_toList() throws IOException { assertExpectedLines(source.readLines()); } public void testIsEmpty() throws IOException { assertEquals(expected.isEmpty(), source.isEmpty()); } public void testLength() throws IOException {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8)); } public void testReadLines_withLineProcessor() throws IOException { URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
try { return new CharSource() { @Override public Reader openStream() throws IOException { return new StringReader(string); } }.readLines(); } catch (IOException e) { throw new AssertionError(); } } @Override public void tearDown() throws IOException { factory.tearDown(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
type DeadlineConn struct { net.Conn readDeadline time.Duration // sets the read deadline on a connection. readSetAt time.Time writeDeadline time.Duration // sets the write deadline on a connection. writeSetAt time.Time abortReads, abortWrites atomic.Bool // A deadline was set to indicate caller wanted the conn to time out. infReads, infWrites atomic.BoolRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Dec 02 13:21:17 UTC 2024 - 5.1K bytes - Viewed (0) -
internal/config/api/help.go
Optional: true, Type: "number", }, config.HelpKV{ Key: apiClusterDeadline, Description: `set the deadline for cluster readiness check` + defaultHelpPostfix(apiClusterDeadline), Optional: true, Type: "duration", }, config.HelpKV{ Key: apiCorsAllowOrigin,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/grid/msg.go
var res []string if m.MuxID != 0 { res = append(res, fmt.Sprintf("MuxID: %v", m.MuxID)) } if m.Seq != 0 { res = append(res, fmt.Sprintf("Seq: %v", m.Seq)) } if m.DeadlineMS != 0 { res = append(res, fmt.Sprintf("Deadline: %vms", m.DeadlineMS)) } if m.Handler != handlerInvalid { res = append(res, fmt.Sprintf("Handler: %v", m.Handler)) } if m.Op != 0 { res = append(res, fmt.Sprintf("Op: %v", m.Op)) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 7.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
} } @Override public List<String> readMultipleLines() throws IOException { 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 {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:48:41 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
* @return a line of text, or {@literal null} if the end of the stream has been reached * @see BufferedReader#readLine() */ public static String readLine(final BufferedReader reader) { assertArgumentNotNull("reader", reader); try { return reader.readLine(); } catch (final IOException e) { throw new IORuntimeException(e); } } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.4K bytes - Viewed (0)