- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for ATTR_SYSTEM (0.06 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbComDelete.java
private final int searchAttributes; SmbComDelete(final String fileName) { this.path = fileName; command = SMB_COM_DELETE; searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
SmbComRename(final String oldFileName, final String newFileName) { command = SMB_COM_RENAME; this.oldFileName = oldFileName; this.newFileName = newFileName; searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
byte[] dst = new byte[2]; int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0); assertEquals(2, bytesWritten); // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06 assertEquals(0x06, dst[0]); assertEquals(0x00, dst[1]); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
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 if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) { // truncate the fileCreated: 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/smb/SmbFile.java
return SmbEnumerationUtil.listFiles(this, "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, filter); } @Override public CloseableIterator<SmbResource> children() throws CIFSException { return SmbEnumerationUtil.doEnum(this, "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null); } @Override
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) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
/** * A file with this bit on as returned by {@code getAttributes()} or set * with {@code setAttributes()} will be a system file */ public static final int ATTR_SYSTEM = 0x04; /** * A file with this bit on as returned by {@code getAttributes()} is * a volume */ public static final int ATTR_VOLUME = 0x08; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
// 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; /** Archive attribute */ int ATTR_ARCHIVE = 0x20;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/SmbConstants.java
*/ 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; /** * File is a directory */ int ATTR_DIRECTORY = 0x10; /**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) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
Field searchAttributesField = SmbComRename.class.getDeclaredField("searchAttributes"); searchAttributesField.setAccessible(true); int expectedAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY; assertEquals(expectedAttributes, searchAttributesField.get(smbComRename)); } /** * Test writeParameterWordsWireFormat method */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0)