- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for ATTR_HIDDEN (0.29 sec)
-
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
} @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN); assertFalse(filter.accept(file), "Attributes not matching should be rejected"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptIgnoresWildcard() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.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 file
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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0)