- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 232 for writeInt2 (0.56 sec)
-
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon SMBUtil.writeInt2(this.fid, dst, dstIndex); return 4; } @Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
if (ipv6) { // IPv6 sockaddr_in6 structure writeInt2(buffer, offset, 23); // AF_INET6 writeInt2(buffer, offset + 2, 445); // Port writeInt4(buffer, offset + 4, 0); // Flow info System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); writeInt4(buffer, offset + 24, 0); // Scope ID } else { // IPv4 sockaddr_in structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java
SMBUtil.writeInt4(this.totalParameterCount, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.totalDataCount, dst, dstIndex); dstIndex += 4; if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) { SMBUtil.writeInt4(this.maxParameterCount, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.maxDataCount, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java
super(config, SMB_COM_FIND_CLOSE2); this.sid = sid; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(this.sid, dst, dstIndex); return 2; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java
int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon writeInt2(fid, dst, dstIndex); return 4; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDelete.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); return 2; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java
dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(maxReferralLevel, dst, dstIndex); dstIndex += 2; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testInt2ReadWrite() { byte[] buffer = new byte[2]; ServerMessageBlock.writeInt2(0x1234, buffer, 0); assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4]; ServerMessageBlock.writeInt4(0x12345678, buffer, 0); assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
this.lastWriteTime = mtime; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex); dstIndex += 2; SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex); dstIndex += 4; // reserved dstIndex += 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComClose.java
this.fid = fid; this.lastWriteTime = lastWriteTime; command = SMB_COM_CLOSE; } @Override int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { writeInt2(fid, dst, dstIndex); dstIndex += 2; writeUTime(lastWriteTime, dst, dstIndex); return 6; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0)