- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 232 for writeInt2 (0.07 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// inputOffset (relative to header start) SMBUtil.writeInt4(inputOffsetField, buf, pos); pos += 4; // inputCount SMBUtil.writeInt4(inputCount, buf, pos); pos += 4; // outputOffset (relative to header start) SMBUtil.writeInt4(outputOffsetField, buf, pos); pos += 4; // outputCount SMBUtil.writeInt4(outputCount, buf, pos); pos += 4; // ioctlFlags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
final int start = dstIndex; SMBUtil.writeInt2(32, dst, dstIndex); SMBUtil.writeInt2(this.notifyFlags, dst, dstIndex + 2); dstIndex += 4; SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt4(this.completionFilter, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6); SMBUtil.writeInt2(this.command, dst, dstIndex + 12); SMBUtil.writeInt2(this.credit, dst, dstIndex + 14); SMBUtil.writeInt4(this.flags, dst, dstIndex + 16); SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20); SMBUtil.writeInt8(this.mid, dst, dstIndex + 24); if (this.async) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java
SmbComFindClose2(final int sid) { this.sid = sid; command = SMB_COM_FIND_CLOSE2; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(sid, dst, dstIndex); return 2; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
// Arrange: build a buffer that has the little-endian value 4 at 'start' int len = start + 2; // need at least two bytes from start byte[] buffer = new byte[len + 3]; SMBUtil.writeInt2(4, buffer, start); Smb2LogoffResponse resp = newResponse(); // Act int read = resp.readBytesWireFormat(buffer, start); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(48, dst, dstIndex); SMBUtil.writeInt2(this.locks.length, dst, dstIndex + 2); dstIndex += 4; SMBUtil.writeInt4((this.lockSequenceNumber & 0xF) << 28 | this.lockSequenceIndex & 0x0FFFFFFF, dst, dstIndex); dstIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDelete.java
command = SMB_COM_DELETE; searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null); byte[] dst = new byte[buffer.size()]; buffer.encode(dst, 0); // Verify SMBUtil.writeInt2 was called for referral level (with long parameter) mockedSMBUtil.verify(() -> SMBUtil.writeInt2(eq((long) maxReferralLevel), any(byte[].class), eq(0)));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java
* @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(4, dst, dstIndex); SMBUtil.writeInt2(0, dst, dstIndex + 2); return 4; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)