- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 301 for 0x20 (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
*/ @Test void testConstructor_CreateAndFailIfExists() { int flags = SmbFile.O_CREAT | SmbFile.O_EXCL; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS } /** * Test constructor with O_CREAT flag. */ @Test void testConstructor_CreateAndOpen() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
private byte[] testMacSigningKey; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; } @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = 0; // maxBufferSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x40; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // maxRawSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x10; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // sessionKey
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K 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 milliseconds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertEquals((byte) 0x2B, ServerMessageBlock.SMB_COM_ECHO); assertEquals((byte) 0x2D, ServerMessageBlock.SMB_COM_OPEN_ANDX); assertEquals((byte) 0x2E, ServerMessageBlock.SMB_COM_READ_ANDX); assertEquals((byte) 0x2F, ServerMessageBlock.SMB_COM_WRITE_ANDX); assertEquals((byte) 0x32, ServerMessageBlock.SMB_COM_TRANSACTION2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0x02, Smb2QueryDirectoryRequest.FILE_FULL_DIRECTORY_INFO); assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO); assertEquals(0x24, Smb2QueryDirectoryRequest.FILE_ID_BOTH_DIRECTORY_INFO); assertEquals(0x26, Smb2QueryDirectoryRequest.FILE_ID_FULL_DIRECTORY_INFO); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(malformed, null));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // NextCommand (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // MessageId (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Reserved / AsyncId (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // TreeId / AsyncId
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* Inheritance flag: child objects inherit this ACE */ int FLAGS_OBJECT_INHERIT = 0x01; /** * Inheritance flag: child containers inherit this ACE */ int FLAGS_CONTAINER_INHERIT = 0x02; /** * Inheritance flag: inheritance stops after one level */ int FLAGS_NO_PROPAGATE = 0x04; /** * Inheritance flag: ACE applies only to children, not to the object itself */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
// Error response structure: size(2)=9, errorContextCount(1), reserved(1), bc(4), errorData(bc) SMBUtil.writeInt2(9, buf, bodyStart); buf[bodyStart + 2] = 0x02; // errorContextCount buf[bodyStart + 3] = 0x00; // reserved int bc = 4; SMBUtil.writeInt4(bc, buf, bodyStart + 4); byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0)