- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,411 for read0 (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
/** * Reads setup data from wire format * @param buffer source buffer * @param bufferIndex starting index in source buffer * @param len length of data to read * @return number of bytes read */ protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len); /** * Reads parameters from wire formatCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
} /** * Calculate average read latency in microseconds * * @return average read latency */ public double getAverageReadLatencyMicros() { long reads = rdmaReads.get(); if (reads == 0) { return 0.0; } return totalReadTime.get() / (double) reads / 1000.0; // Convert to microseconds } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 10.7K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} /** * Reads up to b.length bytes of data from this input stream into an array of bytes. * * @throws IOException if a network error occurs */ @Override public int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /** * Reads up to len bytes of data from this input stream into an array of bytes. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiReader.java
current = it.next().openStream(); } } @Override public int read(char[] cbuf, int off, int len) throws IOException { checkNotNull(cbuf); if (current == null) { return -1; } int result = current.read(cbuf, off, len); if (result == -1) { advance(); return read(cbuf, off, len); } return result; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
* @throws IOException If the model could not be deserialized. * @throws ModelParseException If the input format could not be parsed. */ Model read(File input, Map<String, ?> options) throws IOException, ModelParseException; /** * Reads the model from the specified character reader. The reader will be automatically closed before the method * returns. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/contribute/concurrency.md
Framing rules make it impractical to implement http/2 correctly on a single blocking thread. The flow-control features introduce feedback between reads and writes, requiring writes to acknowledge reads and reads to throttle writes. In OkHttp we expose a blocking API over a framed protocol. This document explains the code and policy that makes that work. ### Threads #### Application's calling thread
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override public int readUnsignedByte() throws IOException { int b1 = in.read(); if (b1 < 0) { throw new EOFException(); } return b1; } /** * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()}, * except using little-endian byte order. *
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/smb/SmbFileIntegrationTest.java
} // Read partial content try (InputStream in = file.getInputStream()) { byte[] buffer = new byte[10]; int bytesRead = in.read(buffer); assertEquals(10, bytesRead, "Should read requested bytes"); assertEquals("0123456789", new String(buffer, 0, bytesRead, "UTF-8")); // Read next chunk bytesRead = in.read(buffer);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
} } /** * Reads text from the given {@link Reader}. * <p> * The {@link Reader} is not closed by this method. * </p> * * @param reader * the character input stream to read from (must not be {@literal null}) * @return the text read from the reader */ public static String readText(final Reader reader) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.3K bytes - Click Count (0)