- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for GENERIC_READ (0.07 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (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; // openFunctionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (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 ACECreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (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()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (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.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
internal/lock/lock_windows.go
} var access uint32 switch flag { case syscall.O_RDONLY: access = syscall.GENERIC_READ case syscall.O_WRONLY: access = syscall.GENERIC_WRITE case syscall.O_RDWR: fallthrough case syscall.O_RDWR | syscall.O_CREAT: fallthrough case syscall.O_WRONLY | syscall.O_CREAT: access = syscall.GENERIC_READ | syscall.GENERIC_WRITE case syscall.O_WRONLY | syscall.O_CREAT | syscall.O_APPEND:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
final boolean hasWriteAccess = (access & (GENERIC_WRITE | FILE_WRITE_DATA | FILE_APPEND_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA)) != 0; final boolean hasReadAccess = (access & (GENERIC_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA)) != 0; // Full lease for read/write/handle operations if (hasWriteAccess || hasDeleteAccess) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)