- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for ATTR_HIDDEN (0.98 sec)
-
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
*/ @Test @DisplayName("File attribute constants are correct") void fileAttributesTest() { assertEquals(0x01, SmbConstants.ATTR_READONLY); assertEquals(0x02, SmbConstants.ATTR_HIDDEN); assertEquals(0x04, SmbConstants.ATTR_SYSTEM); assertEquals(0x08, SmbConstants.ATTR_VOLUME); assertEquals(0x10, SmbConstants.ATTR_DIRECTORY); } /** * Test FLAGS constants.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
if (this.fileLocator.getShare().endsWith("$")) { return true; } return false; } exists(); return (this.attributes & ATTR_HIDDEN) == ATTR_HIDDEN; } @Override public long createTime() throws SmbException { if (!this.fileLocator.isRootOrShare()) { exists(); return this.createTime;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
} 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 if ((flags & SmbConstants.O_TRUNC) == SmbConstants.O_TRUNC) { // truncate the fileRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int CAP_EXTENDED_SECURITY = 0x80000000; // file attribute encoding /** Read-only file attribute */ int ATTR_READONLY = 0x01; /** Hidden file attribute */ int ATTR_HIDDEN = 0x02; /** System file attribute */ int ATTR_SYSTEM = 0x04; /** Volume label attribute */ int ATTR_VOLUME = 0x08; /** Directory attribute */ int ATTR_DIRECTORY = 0x10;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
// file attribute encoding /** * File is marked read-only */ int ATTR_READONLY = 0x01; /** * File is marked hidden */ int ATTR_HIDDEN = 0x02; /** * File is marked a system file */ int ATTR_SYSTEM = 0x04; /** * File is marked a volume */ int ATTR_VOLUME = 0x08; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Set hidden attribute int attrs = file.getAttributes(); file.setAttributes(attrs | SmbConstants.ATTR_HIDDEN); // Verify hidden attribute is set assertTrue((file.getAttributes() & SmbConstants.ATTR_HIDDEN) != 0, "File should be hidden"); // File should still be accessible assertTrue(file.exists(), "Hidden file should still exist");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0)