- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 45 for readFully (0.11 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/ByteStreams.java
} @Override public void readFully(byte[] b) { try { input.readFully(b); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public void readFully(byte[] b, int off, int len) { try { input.readFully(b, off, len); } catch (IOException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K 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) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0)