- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 234 for writeInt2 (0.05 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
// Write context header SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last) dstIndex += 4; SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context) dstIndex += 2; SMBUtil.writeInt2(4, dst, dstIndex); // NameLength dstIndex += 2; SMBUtil.writeInt2(0, dst, dstIndex); // Reserved dstIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
final int start = dstIndex; writeInt2(session.transport.snd_buf_size, dst, dstIndex); dstIndex += 2; writeInt2(session.transport.maxMpxCount, dst, dstIndex); dstIndex += 2; writeInt2(SmbConstants.VC_NUMBER, dst, dstIndex); dstIndex += 2; writeInt4(sessionKey, dst, dstIndex); dstIndex += 4; if (blob != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
// Write context header SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last) offset += 4; SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context) offset += 2; SMBUtil.writeInt2(4, buffer, offset); // NameLength offset += 2; SMBUtil.writeInt2(0, buffer, offset); // Reserved offset += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt2(this.maxCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.minCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.openTimeout, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
testBuffer[1] = 0x00; // padding SMBUtil.writeInt2(0x8004, testBuffer, 2); // type SMBUtil.writeInt4(0, testBuffer, 4); // owner offset SMBUtil.writeInt4(0, testBuffer, 8); // group offset SMBUtil.writeInt4(100, testBuffer, 12); // SACL offset (non-zero but ignored) SMBUtil.writeInt4(0, testBuffer, 16); // DACL offset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
dstIndex += 4; SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex); dstIndex += 4; if (this.fileName == null) { SMBUtil.writeInt2(0, dst, fnOffsetOffset); SMBUtil.writeInt2(0, dst, fnLengthOffset); } else { final byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt2(count, dst, dstIndex); dstIndex += 2; writeInt4(offset, dst, dstIndex); dstIndex += 4; writeInt2(remaining, dst, dstIndex); dstIndex += 2; return dstIndex - start; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
final int start = dstIndex; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4; System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt2(this.securityMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.dialects.length, dst, dstIndex); dstIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.count, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt2(this.remaining, dst, dstIndex); dstIndex += 2; return dstIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0); assertEquals((byte) ((value >> 8) & 0xFF), dst[0]); assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)