- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for GENERIC_READ (0.23 sec)
-
src/test/java/jcifs/ACETest.java
void shouldHandleSignedUnsignedBoundaries() { // Test that GENERIC_READ is the highest bit (0x80000000) assertEquals(0x80000000, ACE.GENERIC_READ, "GENERIC_READ should be 0x80000000"); assertTrue(ACE.GENERIC_READ < 0, "GENERIC_READ should be negative when treated as signed int"); // Test that other generic rights are positive
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
if (desiredAccess == 0x3) { desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */ } desiredAccess |= SHARING_DENY_NONE; desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied. // searchAttributes searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM; // fileAttributes fileAttributes = 0; // openFunction
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/smb1/smb1/SmbComOpenAndXTest.java
/** * Tests for the SmbComOpenAndX class. */ class SmbComOpenAndXTest { private SmbComOpenAndX smbComOpenAndX; private final String fileName = "testFile.txt"; private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE; private ServerMessageBlock andx; /** * Sets up the test environment before each test. */ @BeforeEach void setUp() {
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/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
} else { // neither SHARE_READ nor SHARE_WRITE are set this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE; } this.desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied. // searchAttributes this.searchAttributes = SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM; // openFunction
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
*/ int GENERIC_EXECUTE = 0x20000000; // 29 /** * Generic write permission */ int GENERIC_WRITE = 0x40000000; // 30 /** * Generic read permission */ int GENERIC_READ = 0x80000000; // 31 /** * Inheritance flag: child objects inherit this ACE */ int FLAGS_OBJECT_INHERIT = 0x01; /** * Inheritance flag: child containers inherit this ACE
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/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Generic execute access right */ int GENERIC_EXECUTE = 0x20000000; // 29 /** Generic write access right */ int GENERIC_WRITE = 0x40000000; // 30 /** Generic read access right */ int GENERIC_READ = 0x80000000; // 31 // flags for move and copy /** Target must be file flag */ int FLAGS_TARGET_MUST_BE_FILE = 0x0001; /** Target must be directory flag */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x20000000, SmbConstants.GENERIC_EXECUTE); assertEquals(0x40000000, SmbConstants.GENERIC_WRITE); assertEquals(0x80000000, SmbConstants.GENERIC_READ); } @Test @DisplayName("Should define share access constants") void testShareAccessConstants() { assertEquals(0x00, SmbConstants.FILE_NO_SHARE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
public static final int GENERIC_EXECUTE = 0x20000000; // 29 /** Generic write permission */ public static final int GENERIC_WRITE = 0x40000000; // 30 /** Generic read permission */ public static final int GENERIC_READ = 0x80000000; // 31 /** Inheritance flag: child objects inherit this ACE */ public static final int FLAGS_OBJECT_INHERIT = 0x01; /** Inheritance flag: child containers inherit this ACE */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
0x00100000, // SYNCHRONIZE 0x10000000, // GENERIC_ALL 0x20000000, // GENERIC_EXECUTE 0x40000000, // GENERIC_WRITE 0x80000000 // GENERIC_READ (as int will be negative) }) void testVariousAccessMaskValues(int accessMask) { ace.access = accessMask; assertEquals(accessMask, ace.getAccessMask()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int GENERIC_EXECUTE = 0x20000000; // 29 /** * Generic write permission. */ int GENERIC_WRITE = 0x40000000; // 30 /** * Generic read permission. */ int GENERIC_READ = 0x80000000; // 31 // flags for move and copy /** * Target must be a file flag. */ int FLAGS_TARGET_MUST_BE_FILE = 0x0001; /** * Target must be a directory flag.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0)