- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 564 for read2 (0.02 sec)
-
guava/src/com/google/common/io/Resources.java
} } /** * Returns a {@link CharSource} that reads from the given URL using the given character set. * * @since 14.0 */ public static CharSource asCharSource(URL url, Charset charset) { return asByteSource(url).asCharSource(charset); } /** * Reads all bytes from a URL into a byte array. * * @param url the URL to read from * @return a byte array containing all the bytes from the URL
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
return inputStream.read(b, off, len); } /** * Reads some number of bytes from the input stream and stores them into the buffer array b. * * @param b the buffer into which the data is read * @return the total number of bytes read into the buffer, or -1 if there is no more data * @throws IOException if an I/O error occurs */ @Override public int read(final byte[] b) throws IOException {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.3K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
return read(reader, null); } /** * Reads an XML node from a reader. */ @Nonnull public static XmlNode read(Reader reader, @Nullable InputLocationBuilder locationBuilder) throws XMLStreamException { return getService().doRead(reader, locationBuilder); } /** * Reads an XML node from an XMLStreamReader.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingInputStream.java
if (b != -1) { hasher.putByte((byte) b); } return b; } /** * Reads the specified bytes of data from the underlying input stream and updates the hasher with * the bytes read. */ @Override @CanIgnoreReturnValue public int read(byte[] bytes, int off, int len) throws IOException { int numOfBytesRead = in.read(bytes, off, len); if (numOfBytesRead != -1) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
} /** * Returns the number of bytes available to read. * @return the number of available bytes * @throws IOException if an I/O error occurs */ public int available() throws IOException { return this.dis.available(); } /** * Reads bytes into the specified array. * @param b the byte array to read into * @throws IOException if an I/O error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
cmd/erasure-decode.go
} readTriggerCh := make(chan bool, len(p.readers)) defer xioutil.SafeClose(readTriggerCh) // close the channel upon return for i := 0; i < p.dataBlocks; i++ { // Setup read triggers for p.dataBlocks number of reads so that it reads in parallel. readTriggerCh <- true } disksNotFound := int32(0) bitrotHeal := int32(0) // Atomic bool flag. missingPartsHeal := int32(0) // Atomic bool flag.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
Reader joinedReader = CharSource.concat(list).openStream(); assertTrue(joinedReader.ready()); assertEquals('a', joinedReader.read()); assertEquals('a', joinedReader.read()); assertEquals(-1, joinedReader.read()); assertFalse(joinedReader.ready()); } public void testSimple() throws Exception { String testString = "abcdefgh";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
* @param remoteKey remote memory key * @param length number of bytes to read * @return number of bytes actually read * @throws IOException if read operation fails */ public abstract int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException; /** * Write data to RDMA connection * * @param buffer buffer containing data to write
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
assertEquals(0, response.readBytesWireFormat(null, 0), "Should read 0 bytes"); } /* ------------------------------------------------------------------ */ /* 4. State verification after operations */ /* ------------------------------------------------------------------ */ @Test @DisplayName("Multiple reads update offset correctly") void testMultipleReadsUpdateOffset() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)