- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,160 for readn (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
private val message: String private val responseHeaders: Headers private val handshake: Handshake? private val sentRequestMillis: Long private val receivedResponseMillis: Long /** * Reads an entry from an input stream. A typical entry looks like this: * * ``` * http://google.com/foo * GET * 2 * Accept-Language: fr-CA * Accept-Charset: UTF-8
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
byte[] buf = new byte[16]; // Skip advances internal file pointer; next read should use this offset in.skip(2); // Act int n = in.readDirect(buf, 0, 5); // Assert assertEquals(3, n, "Should report bytes read from SMB2 response"); // Verify the request offset equals the skip value (2)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val response = call.execute() val inputStream = response.body.byteStream() assertThat(inputStream.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo(-1) assertThat(inputStream.read()).isEqualTo(-1) inputStream.close() } @ParameterizedTest
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
// Allocate buffer for read data ByteBuffer readBuffer = bufferManager.allocateBuffer(request.getLength()); RdmaMemoryRegion readRegion = provider.registerMemory(readBuffer, EnumSet.of(RdmaAccess.LOCAL_WRITE, RdmaAccess.REMOTE_WRITE)); try { // Create SMB2 Read request with RDMA read channel info
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
cmd/metrics-resource.go
memAvailable: "Available memory on the node", readsPerSec: "Reads per second on a drive", writesPerSec: "Writes per second on a drive", readsKBPerSec: "Kilobytes read per second on a drive", writesKBPerSec: "Kilobytes written per second on a drive", readsAwait: "Average time for read requests to be served on a drive",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 17.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test with zero buffer.putInt(0, 0); assertEquals(0, NtlmMessage.readULong(data, 0), "Should read zero ULong correctly."); // Test with max int value (unsigned interpretation) buffer.putInt(0, 0xFFFFFFFF); assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * SMB2 Read response message. * * This response contains the data that was read from the file * along with information about the read operation. * * @author mbechler */ public class Smb2ReadResponse extends ServerMessageBlock2Response { /** * Protocol overhead size for SMB2 read response */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} } @Override public int read() throws SmbException { if (read(this.tmp, 0, 1) == -1) { return -1; } return this.tmp[0] & 0xFF; } @Override public int read(final byte b[]) throws SmbException { return read(b, 0, b.length); } @Override public int read(final byte b[], int off, int len) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
CHANGELOG.md
* Fix: Honor interceptors' changes to connect and read timeouts. * Fix: Recover gracefully when a cached response is corrupted on disk. * Fix: Don't leak file handles when a cache disk write fails. * Fix: Don't hang when the public suffix database cannot be loaded. We had a bug where a failure reading the public suffix database would cause subsequent reads to hang when they should have crashed.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (1)