- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 230 for SMBUtil (1.92 sec)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
final int start = dstIndex; SMBUtil.writeInt2(25, dst, dstIndex); dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0); dst[dstIndex + 3] = (byte) this.securityMode; dstIndex += 4; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(0, dst, dstIndex); // Channel dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(36, SMBUtil.readInt2(buffer, 0)); // Verify dialect count assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302 // Verify security mode assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, SMBUtil.readInt2(buffer, 4)); // Verify capabilities int caps = SMBUtil.readInt4(buffer, 8);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.negotiated.getNegotiatedSendBufferSize(), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.negotiated.getNegotiatedMpxCount(), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(getConfig().getVcNumber(), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.negotiated.getNegotiatedSessionKey(), dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
bufferIndex += 4; // skip idFileSystem this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.alloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.free = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.bytesPerSect = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K 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/smb2/info/Smb2QueryDirectoryRequest.java
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/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(12, bytesWritten); assertEquals(3, SMBUtil.readInt2(buffer, 0)); assertEquals(2, SMBUtil.readInt2(buffer, 2)); assertEquals(0x01, SMBUtil.readInt2(buffer, 4)); assertEquals(0x02, SMBUtil.readInt2(buffer, 6)); assertEquals(0x03, SMBUtil.readInt2(buffer, 8)); assertArrayEquals(salt, Arrays.copyOfRange(buffer, 10, 12)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.offset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.length, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.flags, dst, dstIndex); dstIndex += 4; dstIndex += 4; // Reserved return dstIndex - start; }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/trans2/Trans2FindNext2Test.java
// Verify sid (2 bytes) assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0)); // Verify maxItems (2 bytes) assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104) assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 4)); // Verify resumeKey (4 bytes)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
*/ package jcifs.internal.smb2.lock; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Lock response message. This response acknowledges the successful * acquisition or release of byte-range locks. * * @author mbechler * */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0)