- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 230 for SMBUtil (1.28 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) - reserved, skip bufferIndex += 8;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeek.java
@Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.mode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4; return dstIndex - start; } /** * {@inheritDoc}Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java
*/ package jcifs.internal.smb2.ioctl; import java.util.ArrayList; import java.util.List; import jcifs.Decodable; import jcifs.internal.smb2.multichannel.NetworkInterfaceInfo; import jcifs.internal.util.SMBUtil; /** * Response data for FSCTL_QUERY_NETWORK_INTERFACE_INFO */ public class QueryNetworkInterfaceInfoResponse implements Decodable { private List<NetworkInterfaceInfo> interfaces; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 17) { throw new SMBProtocolDecodingException("Expected structureSize = 17"); } bufferIndex += 4; this.count = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.remaining = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;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/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] buffer = new byte[100]; // Write non-aligned next entry offset (not divisible by 4) SMBUtil.writeInt4(7, buffer, 0); // 7 is not aligned to 4 bytes SMBUtil.writeInt4(FileNotifyInformation.FILE_ACTION_ADDED, buffer, 4); SMBUtil.writeInt4(8, buffer, 8); // file name length assertThrows(SMBProtocolDecodingException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
} @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; return dstIndex - start; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
} } @Nested @DisplayName("Integration Tests with SMBUtil") class SMBUtilIntegrationTests { @Test @DisplayName("Should use SMBUtil.writeInt2 for referral level") void testSMBUtilWriteInt2ForReferralLevel() { try (MockedStatic<SMBUtil> mockedSMBUtil = mockStatic(SMBUtil.class)) { String path = "\\\\server";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
return 0; } SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
} final short dataOffset = buffer[bufferIndex + 2]; bufferIndex += 4; this.dataLength = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.dataRemaining = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; bufferIndex += 4; // Reserved2 final int dataStart = getHeaderStart() + dataOffset;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0)