- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,191 for differ (0.03 sec)
-
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
int readHeaderWireFormat(final byte[] buffer, final int bufferIndex) { command = buffer[bufferIndex + CMD_OFFSET]; errorCode = readInt4(buffer, bufferIndex + ERROR_CODE_OFFSET); flags = buffer[bufferIndex + FLAGS_OFFSET]; flags2 = readInt2(buffer, bufferIndex + FLAGS_OFFSET + 1); tid = readInt2(buffer, bufferIndex + TID_OFFSET); pid = readInt2(buffer, bufferIndex + TID_OFFSET + 2);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
try { return channel.read(buffer); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of the file channel into a byte buffer. * * @param channel * The file channel. Must not be {@literal null}. * @param bufferRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
buffer[20] = 1; // Revision buffer[21] = 0; // Sbz1 SMBUtil.writeInt2(0x8004, buffer, 22); // Control flags SMBUtil.writeInt4(0, buffer, 24); // Owner offset SMBUtil.writeInt4(0, buffer, 28); // Group offset SMBUtil.writeInt4(0, buffer, 32); // SACL offset SMBUtil.writeInt4(0, buffer, 36); // DACL offsetRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
byte[] buffer = new byte[4096]; // When req.encode(buffer, 0); // Then byte[] pathBytes = longPath.getBytes(StandardCharsets.UTF_16LE); assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6)); } @Test @DisplayName("Should throw exception when buffer too small for path")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
request.setCloseFlags(testFlags); byte[] buffer = new byte[256]; int written = request.writeBytesWireFormat(buffer, 0); assertEquals(24, written); assertEquals(24, SMBUtil.readInt2(buffer, 0)); assertEquals(testFlags, SMBUtil.readInt2(buffer, 2)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
* to buffer chunks; typically by using a buffered sink with this sink. */ private inner class ChunkedSink : Sink { private val timeout = ForwardingTimeout(socket.sink.timeout()) private var closed: Boolean = false override fun timeout(): Timeout = timeout override fun write( source: Buffer, byteCount: Long, ) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
void testWriteBytesDoesNotOverflow() { byte[] buffer = new byte[100]; // Fill buffer with known values for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) 0xFF; } int startIndex = 50; echoRequest.writeBytesWireFormat(buffer, startIndex); // Check bytes before written area are unchanged
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
byte[] buffer = new byte[8]; // numEntries = 2 writeInt2(2, buffer, 0); // isEndOfSearch = false buffer[2] = 0x00; buffer[3] = 0x00; // eaErrorOffset = 3 writeInt2(3, buffer, 4); // lastNameOffset = 4 writeInt2(4, buffer, 6); int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; // Validate minimum buffer size for SMB2 negotiate response if (buffer == null || buffer.length < bufferIndex + 65) { throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)