- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 230 for SMBUtil (1.63 sec)
-
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
final int start = dstIndex; SMBUtil.writeTime(this.createTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.changeTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.attributes, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K 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) -
src/main/java/jcifs/internal/dfs/Referral.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K 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/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
bufferIndex += 4; this.parameterDisplacement = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; setDataCount(SMBUtil.readInt4(buffer, bufferIndex)); bufferIndex += 4; this.dataOffset = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.dataDisplacement = 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 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Write valid structure (16 bytes) SMBUtil.writeInt2(16, buffer, offset); // Structure size buffer[offset + 2] = (byte) 0x01; // Share type (DISK) buffer[offset + 3] = 0; // Reserved SMBUtil.writeInt4(0x8001, buffer, offset + 4); // Share flags (DFS | ENCRYPT_DATA) SMBUtil.writeInt4(0x28, buffer, offset + 8); // Capabilities (DFS | SCALEOUT)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
// Write context header SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last) dstIndex += 4; SMBUtil.writeInt2(4, 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: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Write structure header SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(12 + fileNameBytes.length, buffer, offset + 4); // Write notification int notifyOffset = 80; SMBUtil.writeInt4(0, buffer, notifyOffset); SMBUtil.writeInt4(1, buffer, notifyOffset + 4);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
// Original message size SMBUtil.writeInt4(this.originalMessageSize, dst, dstIndex); dstIndex += 4; // Reserved (2 bytes) SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // Flags (2 bytes) SMBUtil.writeInt2(this.flags, dst, dstIndex); dstIndex += 2; // Session ID (8 bytes) SMBUtil.writeInt8(this.sessionId, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
SMBUtil.writeUTime(0L, dst, 0); assertEquals(0, SMBUtil.readInt4(dst, 0)); // Test with specific value (Unix timestamp in milliseconds) SMBUtil.writeUTime(1500000000000L, dst, 4); assertEquals(1500000000, SMBUtil.readInt4(dst, 4)); } @Test void testSMBHeader() { assertNotNull(SMBUtil.SMB_HEADER); assertEquals(24, SMBUtil.SMB_HEADER.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)