- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 979 for buffer (0.03 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
DataOutputStream dos = new DataOutputStream(baos); // Write header with invalid version dos.writeInt(Integer.reverseBytes(1)); // 1 buffer dos.writeInt(Integer.reverseBytes(999)); // Invalid version // Add minimal buffer entry dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO)); dos.writeInt(Integer.reverseBytes(10)); dos.writeLong(Long.reverseBytes(100));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
* reduced the available size of the buffer each time a call to read didn't fill up the available * space in the buffer completely. In general this is a performance problem since the buffer size * is permanently reduced, but with certain Reader implementations it could also cause the buffer * size to reach 0, causing an infinite loop. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
* reduced the available size of the buffer each time a call to read didn't fill up the available * space in the buffer completely. In general this is a performance problem since the buffer size * is permanently reduced, but with certain Reader implementations it could also cause the buffer * size to reach 0, causing an infinite loop. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
connection.connect(); return connection; } @Override public RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException { ensureInitialized(); return new DisniMemoryRegion(buffer, access, endpoint); } /** * Initialize DiSNI components if not already initialized *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/erasure-encode_test.go
disks := setup.disks erasure, err := NewErasure(t.Context(), test.dataBlocks, test.onDisks-test.dataBlocks, test.blocksize) if err != nil { t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err) } buffer := make([]byte, test.blocksize, 2*test.blocksize) data := make([]byte, test.data) if _, err = io.ReadFull(rand.Reader, data); err != nil { t.Fatalf("Test %d: failed to generate random test data: %v", i, err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteResponse.java
return 0; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { count = readInt2(buffer, bufferIndex) & 0xFFFFL; return 8; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java
* * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 2) { throw new SMBProtocolDecodingException("Expected structureSize = 2"); } return 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
byteCount: Int, inFinished: Boolean, ) { val buffer = Buffer() source.require(byteCount.toLong()) // Eagerly read the frame before firing client thread. source.read(buffer, byteCount.toLong()) pushQueue.execute("$connectionName[$streamId] onData") { ignoreIoExceptions { val cancel = pushObserver.onData(streamId, buffer, byteCount, inFinished)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* This method should do nothing and return 0. */ @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0; // The method should return 0 as it reads no parameter words int result = smbComNegotiate.readParameterWordsWireFormat(buffer, bufferIndex); assertEquals(0, result, "readParameterWordsWireFormat should return 0."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
} public fun body(body: Buffer): Builder = body(body.toMockResponseBody()) public fun body(body: MockResponseBody): Builder = apply { setHeader("Content-Length", body.contentLength) this.body = body } /** Sets the response body to the UTF-8 encoded bytes of [body]. */ public fun body(body: String): Builder = body(Buffer().writeUtf8(body))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0)