- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 994 for Pread (0.02 sec)
-
doc/go_mem.html
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 15:41:37 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
*/ @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. * * @throws IOException if a network error occurs */ @Override public int read(final byte[] b, final int off, final int len) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
} bufferIndex += 4; // Read signature System.arraycopy(buffer, bufferIndex, header.signature, 0, 16); bufferIndex += 16; // Read nonce System.arraycopy(buffer, bufferIndex, header.nonce, 0, 16); bufferIndex += 16; // Read original message size header.originalMessageSize = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/bufio/scan_test.go
// reads in Scanner.Scan. type slowReader struct { max int buf io.Reader } func (sr *slowReader) Read(p []byte) (n int, err error) { if len(p) > sr.max { p = p[0:sr.max] } return sr.buf.Read(p) } // genLine writes to buf a predictable but non-trivial line of text of length // n, including the terminal newline and an occasional carriage return.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
else -> source.read(sink, limit) } } } override fun timeout(): Timeout = timeout } /** * Returns a value in [0..maxByteCount] with the number of bytes that can be read from [source] * in the current part. If this returns 0 the current part is exhausted; otherwise it has at * least one byte left to read. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); // Create a buffer large enough to hold the read bytes byte[] buffer = new byte[6];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
/** * Record start of a read request * * @param bytes number of bytes being requested */ public void recordReadRequest(int bytes) { // Track that a read was requested rdmaReads.incrementAndGet(); } /** * Record successful completion of a read request * * @param bytes number of bytes successfully read
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("read(byte[],off,0): returns 0 without I/O") void read_lenZero_returnsZero() throws Exception { SmbRandomAccessFile raf = newInstance("r", false, false, false); byte[] buf = new byte[4]; assertEquals(0, raf.read(buf, 0, 0)); } @Test @DisplayName("read(): returns -1 when underlying read reports EOF")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(inputStream!!.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo('D'.code) assertThat(inputStream.read()).isEqualTo('E'.code) assertThat(inputStream.read()).isEqualTo('F'.code) assertThat(inputStream.read()).isEqualTo(-1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
class IntegrationTests { @Test @DisplayName("Should handle complete read-write cycle") void testCompleteReadWriteCycle() throws SMBProtocolDecodingException { // Given byte[] writeBuffer = new byte[100]; byte[] readBuffer = new byte[100]; // Prepare valid read buffer SMBUtil.writeInt2(4, readBuffer, 10);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0)