Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for readUTime (0.26 sec)

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

            if( wordCount == 0 ) {
                return 0;
            }
            fileAttributes = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastWriteTime = readUTime( buffer, bufferIndex );
            bufferIndex += 4;
            fileSize = readInt4( buffer, bufferIndex );
            return 20;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            if ( this.wordCount == 0 ) {
                return 0;
            }
            this.fileAttributes = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastWriteTime = SMBUtil.readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            this.fileSize = SMBUtil.readInt4(buffer, bufferIndex);
            return 20;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/util/SMBUtil.java

            if ( t != 0L ) {
                t = ( t + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000L;
            }
            writeInt8(t, dst, dstIndex);
        }
    
    
        public static long readUTime ( byte[] buffer, int bufferIndex ) {
            return ( readInt4(buffer, bufferIndex) & 0xFFFFFFFFL ) * 1000L;
        }
    
    
        public static void writeUTime ( long t, byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java

            int start = bufferIndex;
    
            fid = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            fileAttributes = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastWriteTime = readUTime( buffer, bufferIndex );
            bufferIndex += 4;
            dataSize = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            grantedAccess = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.fileAttributes = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastWriteTime = SMBUtil.readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            this.fileDataSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.grantedAccess = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            if( t != 0L ) {
                t = (t + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
            }
            writeInt8( t, dst, dstIndex );
        }
        static long readUTime( byte[] buffer, int bufferIndex ) {
            return readInt4( buffer, bufferIndex ) * 1000L;
        }
        static void writeUTime( long t, byte[] dst, int dstIndex ) {
            if( t == 0L || t == 0xFFFFFFFFFFFFFFFFL ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            bufferIndex += 4;
    
            this.creationTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

            bufferIndex += 4;
            creationTime = readTime( buffer, bufferIndex );
            bufferIndex += 8;
            lastAccessTime = readTime( buffer, bufferIndex );
            bufferIndex += 8;
            lastWriteTime = readTime( buffer, bufferIndex );
            bufferIndex += 8;
            changeTime = readTime( buffer, bufferIndex );
            bufferIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            bufferIndex += 4; // Reserved
            this.creationTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            int start = bufferIndex;
            this.createTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
Back to top