- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for SMBUtil (0.03 sec)
-
src/main/java/jcifs/internal/util/SMBUtil.java
* in SMB protocol format, handling endianness and data type conversions. * * @author mbechler */ public class SMBUtil { /** * Private constructor to prevent instantiation of utility class. */ private SMBUtil() { } /** * Writes a 16-bit integer value to a byte array in little-endian format * @param val the value to writeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeTime(maxTime, buffer, 32); // changeTime SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 56); // extFileAttributes SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 64); // eaSize // Decode
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
System.arraycopy(SMBUtil.SMB2_HEADER, 0, dst, dstIndex, SMBUtil.SMB2_HEADER.length); 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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
if (this.largeFile) { this.pid = SMBUtil.readInt2(buffer, bufferIndex); final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4); final int boLow = SMBUtil.readInt4(buffer, bufferIndex + 8); this.byteOffset = boHigh << 32 | boLow; final int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12); final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
this.creationTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
bufferIndex++; this.type = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid bufferIndex += 4; final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid bufferIndex += 4; SMBUtil.readInt4(buffer, bufferIndex); // offset to saclRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
final int start = bufferIndex; this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.bytesPerSect = 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/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0)); } @Test @DisplayName("Test encode with buffer offset") void testEncodeWithBufferOffset() throws SMBProtocolDecodingException { // First decode to set internal state byte[] sourceBuffer = new byte[8]; long expectedIndexNumber = 0xAABBCCDDEEFF1122L; SMBUtil.writeInt8(expectedIndexNumber, sourceBuffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)