- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for attrs (0.15 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
/** * * @param config * @param filename * @param attrs * @param mtime */ public SmbComSetInformation ( Configuration config, String filename, int attrs, long mtime ) { super(config, SMB_COM_SET_INFORMATION, filename); this.fileAttributes = attrs; this.lastWriteTime = mtime; } @Override
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
| SmbConstants.FILE_WRITE_DATA; int attrs = 0; int options = 0; String uncPath = "foo-oplock"; SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(sess.getConfig()); SmbComNTCreateAndX req = new SmbComNTCreateAndX(sess.getConfig(), uncPath, flags, access, sharing, attrs, options, null); req.addFlags0(0x2); // REQUEST_OPLOCK
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
long initialSize ) { this.cfg = cfg; this.fileId = fid; this.initialSize = initialSize; this.fid = 0; this.unc = unc; this.flags = flags; this.access = access; this.attrs = attrs; this.options = options; this.tree = tree.acquire();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * Files is marked to be archived */ static final int ATTR_ARCHIVE = 0x20; // extended file attribute encoding(others same as above) static final int ATTR_COMPRESSED = 0x800; static final int ATTR_NORMAL = 0x080; static final int ATTR_TEMPORARY = 0x100; // access mask encoding static final int FILE_READ_DATA = 0x00000001; // 1
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
file.send( new TransWaitNamedPipe( "\\pipe" + file.unc ), new TransWaitNamedPipeResponse() ); } file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 ); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); /* in case close and reopen */ writeSize = file.tree.session.transport.snd_buf_size - 70;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java
} public int getType() { return (type & 0x80000000) != 0 ? SmbFile.TYPE_WORKGROUP : SmbFile.TYPE_SERVER; } public int getAttributes() { return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY; } public long createTime() { return 0L; } public long lastModified() { return 0L; } public long length() {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = (openFlags >>> 16) & 0xFFFF; if (file.type != SmbFile.TYPE_NAMED_PIPE) { file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else { file.connect0(); } readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70,
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
* method as the server should have performed that filtering already. The * attributes are asserted here only because server file systems may not * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was * specified the server may still return objects that are not directories). */ public boolean accept( SmbFile file ) throws SmbException { return (file.getAttributes() & attributes) != 0; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
// file attribute encoding static final int ATTR_READONLY = 0x01; static final int ATTR_HIDDEN = 0x02; static final int ATTR_SYSTEM = 0x04; static final int ATTR_VOLUME = 0x08; static final int ATTR_DIRECTORY = 0x10; static final int ATTR_ARCHIVE = 0x20; // extended file attribute encoding(others same as above) static final int ATTR_COMPRESSED = 0x800;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.4K bytes - Viewed (0)