Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WriteTime (7.25 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeTime( createTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
            writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
    /* Samba 2.2.7 needs ATTR_NORMAL
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            int start = dstIndex;
            SMBUtil.writeTime(this.createTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.changeTime, dst, dstIndex);
            dstIndex += 8;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/util/SMBUtil.java

            long t = ( (long) hi << 32L ) | ( low & 0xFFFFFFFFL );
            t = ( t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 );
            return t;
        }
    
    
        public static void writeTime ( long t, byte[] dst, int dstIndex ) {
            if ( t != 0L ) {
                t = ( t + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000L;
            }
            writeInt8(t, dst, dstIndex);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            int hi = readInt4( src, srcIndex + 4 );
            long t = ((long)hi << 32L ) | (low & 0xFFFFFFFFL);
            t = ( t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601 );
            return t;
        }
        static void writeTime( long t, byte[] dst, int dstIndex ) {
            if( t != 0L ) {
                t = (t + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
            }
            writeInt8( t, dst, dstIndex );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
Back to top