- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for readFully (0.06 seconds)
-
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
CharSequenceReader reader = new CharSequenceReader(string); assertTrue(reader.markSupported()); assertThat(readFully(reader)).isEqualTo(string); assertFullyRead(reader); // reset and read again reader.reset(); assertThat(readFully(reader)).isEqualTo(string); assertFullyRead(reader); // reset, skip, mark, then read the rest reader.reset();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
CharSequenceReader reader = new CharSequenceReader(string); assertTrue(reader.markSupported()); assertThat(readFully(reader)).isEqualTo(string); assertFullyRead(reader); // reset and read again reader.reset(); assertThat(readFully(reader)).isEqualTo(string); assertFullyRead(reader); // reset, skip, mark, then read the rest reader.reset();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
.teamcity/scripts/FindCommits.java
ProcessBuilder pb = new ProcessBuilder(cmd); Process p = pb.start(); String out = readFully(p.getInputStream()); String err = readFully(p.getErrorStream()); int code = p.waitFor(); return new ExecResult(code, out, err); } private static String readFully(InputStream in) throws IOException {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
} /** * Reads bytes into the specified array. * @param b the byte array to read into * @throws IOException if an I/O error occurs */ public void readFully(final byte[] b) throws IOException { this.dis.readFully(b); } /** * Reads bytes into the specified array at the given offset. * @param b the byte array to read into * @param off the start offset in the arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
} private static Future<String> readStreamAsync(InputStream inputStream) { return THREAD_POOL.submit((Callable<String>) () -> readFully(inputStream)); } private static String readFully(InputStream inputStream) throws IOException { try (InputStream input = inputStream; ByteArrayOutputStream out = new ByteArrayOutputStream()) { byte[] buf = new byte[8192];Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
.collect(Collectors.toList()); } private static Future<String> readStreamAsync(InputStream inputStream) { return THREAD_POOL.submit((Callable<String>) () -> readFully(inputStream)); } private static String readFully(InputStream inputStream) throws IOException { try (InputStream in = inputStream; ByteArrayOutputStream out = new ByteArrayOutputStream()) { byte[] buffer = new byte[8192];
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
* * @author Kevin Bourrillion * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public interface ByteArrayDataInput extends DataInput { @Override void readFully(byte[] b); @Override void readFully(byte[] b, int off, int len); // not guaranteed to skip n bytes so result should NOT be ignored // use ByteStreams.skipFully or one of the read methods instead @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
throw new UnsupportedOperationException("readLine is not supported"); } @Override public void readFully(byte[] b) throws IOException { ByteStreams.readFully(this, b); } @Override public void readFully(byte[] b, int off, int len) throws IOException { ByteStreams.readFully(this, b, off, len); } @Override public int skipBytes(int n) throws IOException { return (int) in.skip(n);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
} }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class)); smbRandomAccessFile.readFully(buffer); assertArrayEquals(new byte[] { 10, 20, 30, 40, 50 }, buffer); // Note: There appears to be a bug in the implementation where readFully // incorrectly updates the file pointer twice assertEquals(10, smbRandomAccessFile.getFilePointer()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
) private val CRLF = "\r\n".encodeUtf8() @Throws(IOException::class) private fun BufferedSource.readData(data: Buffer) { data.writeByte('\n'.code) readFully(data, indexOfElement(CRLF)) select(options) // Skip the newline bytes. } @Throws(IOException::class) private fun BufferedSource.readRetryMs(): Long { val retryString = readUtf8LineStrict()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (0)