- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for mktime (0.18 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/main/java/jcifs/smb1/smb1/SmbFile.java
} void setPathInformation( int attrs, long ctime, long mtime ) throws SmbException { int f, dir; exists(); dir = attributes & ATTR_DIRECTORY; f = open0( O_RDONLY, FILE_WRITE_ATTRIBUTES, dir, dir != 0 ? 0x0001 : 0x0040 ); send( new Trans2SetFileInformation( f, attrs | dir, ctime, mtime ), new Trans2SetFileInformationResponse() );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/test/java/jcifs/tests/WatchTest.java
import jcifs.SmbWatchHandle; import jcifs.smb.SmbFile; /** * * * Compatability notes: * - windows 2k12 will not trigger with FILE_NOTIFY_CHANGE_ATTRIBUTES if the file contents are modified (modtime * changes) * * @author mbechler * */ @RunWith ( Parameterized.class ) @SuppressWarnings ( "javadoc" ) public class WatchTest extends BaseCIFSTest {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
dh.send(req); } else if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) { // use the open file descriptor dh.send( new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/mime.map
Shinsuke Sugaya <******@****.***> 1553287182 +0900
Plain Text - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
new Trans2SetFileInformationResponse(th.getConfig()), RequestParam.NO_RETRY); } } else { if ( ctime != 0 || atime != 0 ) { throw new SmbUnsupportedOperationException("Cannot set creation or access time without CAP_NT_SMBS"); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
do { delay = 2L; synchronized (t) { long expire = t.ltime + t.delay; long ctime = System.currentTimeMillis(); if (expire > ctime) delay = expire - ctime; } if (delay > 2) System.out.println("delay=" + delay); Thread.sleep(delay);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 3.4K bytes - Viewed (0)