Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for lastWriteTime (0.28 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

         */
        @Test
        public void testConstructor() {
            // Given
            int fid = 123;
            long lastWriteTime = System.currentTimeMillis();
    
            // When
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
    
            // Then
            assertEquals(ServerMessageBlock.SMB_COM_CLOSE, smbComClose.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComClose.java

     */
    
    package jcifs.smb1.smb1;
    
    class SmbComClose extends ServerMessageBlock {
    
        private final int fid;
        private final long lastWriteTime;
    
        SmbComClose(final int fid, final long lastWriteTime) {
            this.fid = fid;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_CLOSE;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

                return lastWriteTime;
            }
    
            @Override
            public long getSize() {
                return 0L;
            }
    
            @Override
            public String toString() {
                return ("SmbQueryFileBasicInfo[" + "createTime=" + new Date(createTime) + ",lastAccessTime=" + new Date(lastAccessTime)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public final long getLastAccessTime() {
            return this.lastAccessTime;
        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Get the file change time
         * @return the changeTime
         */
        public final long getChangeTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        private final int attributes;
        private final long createTime, lastWriteTime;
    
        Trans2SetFileInformation(final int fid, final int attributes, final long createTime, final long lastWriteTime) {
            this.fid = fid;
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_SET_FILE_INFORMATION;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(maxTime, buffer, 8); // creationTime
            SMBUtil.writeTime(maxTime, buffer, 16); // lastAccessTime
            SMBUtil.writeTime(maxTime, buffer, 24); // lastWriteTime
            SMBUtil.writeTime(maxTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

                    + Hexdump.toHexString(createAction, 4) + ",creationTime=" + new Date(creationTime) + ",lastAccessTime="
                    + new Date(lastAccessTime) + ",lastWriteTime=" + new Date(lastWriteTime) + ",changeTime=" + new Date(changeTime)
                    + ",extFileAttributes=0x" + Hexdump.toHexString(extFileAttributes, 4) + ",allocationSize=" + allocationSize + ",endOfFile="
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
            SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
    
            // Read the data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbFileHandle.java

        boolean isValid();
    
        /**
         * Closes this file handle and optionally sets the last write time
         *
         * @param lastWriteTime the last write time to set, or 0 to leave unchanged
         * @throws CIFSException if an error occurs while closing the file
         */
        void close(long lastWriteTime) throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                        + new Date(creationTime) + ",lastAccessTime=" + new Date(lastAccessTime) + ",lastWriteTime=" + new Date(lastWriteTime)
                        + ",changeTime=" + new Date(changeTime) + ",endOfFile=" + endOfFile + ",allocationSize=" + allocationSize
                        + ",extFileAttributes=" + extFileAttributes + ",fileNameLength=" + fileNameLength + ",eaSize=" + eaSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top