- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 106 for 0x10B (1.3 sec)
-
src/test/java/jcifs/util/HexdumpTest.java
// When String result = Hexdump.toHexString(data, offset, length); // Then assertNotNull(result); assertFalse(result.isEmpty()); // Check starts with byte at offset 16 (0x10) assertTrue(result.startsWith("10111213")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @Test @DisplayName("Should handle invalid offset and length parameters")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
package jcifs.smb1.smb1; class Trans2QueryFSInformationResponse extends SmbComTransactionResponse { // information levels static final int SMB_INFO_ALLOCATION = 1; static final int SMB_QUERY_FS_SIZE_INFO = 0x103; static final int SMB_FS_FULL_SIZE_INFORMATION = 1007; class SmbInfoAllocation implements AllocInfo { long alloc; // Also handles SmbQueryFSSizeInfo long free; int sectPerAlloc;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityInfo.java
*/ int SACL_SECURITY_INFO = 0x8; /** * Flag indicating that mandatory label information is requested or being set. */ int LABEL_SECURITY_INFO = 0x10; /** * Flag indicating that attribute security information is requested or being set. */ int ATTRIBUTE_SECURITY_INFO = 0x20; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private Smb2LeaseKey testKey; private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE; leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
// Arrange FileEntry e = new TestFileEntry("doc.pdf", 2, 0x10, 10L, 20L, 30L, 4096L, 3); // Act & Assert: getters return exactly what was provided assertAll(() -> assertEquals("doc.pdf", e.getName()), () -> assertEquals(2, e.getType()), () -> assertEquals(0x10, e.getAttributes()), () -> assertEquals(10L, e.createTime()),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((this.isRecurAvailable ? 0x80 : 0x00) + (this.isBroadcast ? 0x10 : 0x00) + (this.resultCode & 0x0F)); writeInt2(this.questionCount, dst, start + QUESTION_OFFSET); writeInt2(this.answerCount, dst, start + ANSWER_OFFSET);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
+ (isTruncated ? 0x02 : 0x00) + (isRecurDesired ? 0x01 : 0x00)); dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((isRecurAvailable ? 0x80 : 0x00) + (isBroadcast ? 0x10 : 0x00) + (resultCode & 0x0F)); writeInt2(questionCount, dst, start + QUESTION_OFFSET); writeInt2(answerCount, dst, start + ANSWER_OFFSET); writeInt2(authorityCount, dst, start + AUTHORITY_OFFSET);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds long sampleTimeMillis = 1672531200000L; // Represents a specific date in millisecondsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
public static final int FILE_NON_DIRECTORY_FILE = 0x40; /** * Complete this operation immediately with an oplock break if it would break an oplock */ public static final int FILE_COMPLETE_IF_OPLOCKED = 0x100; /** * The client does not understand extended attributes */ public static final int FILE_NO_EA_KNOWLEDGE = 0x200; /** * Open a remote instance of the file */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
*/ public static final int REPLAY_DETECTION = 0x20; /** * Context flag for sequence checking capability */ public static final int SEQUENCE_CHECKING = 0x10; /** * Context flag for anonymity capability */ public static final int ANONYMITY = 0x08; /** * Context flag for confidentiality (encryption) capability */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0)