Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ReadUint8 (6.79 sec)

  1. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            int start = bufferIndex;
    
            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // skip actual free units
            bufferIndex += 8;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            int start = bufferIndex;
    
            SmbQueryFileStandardInfo info = new SmbQueryFileStandardInfo();
            info.allocationSize = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
            info.endOfFile = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
            info.numberOfLinks = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/util/SMBUtil.java

            return ( src[ srcIndex ] & 0xFF ) + ( ( src[ srcIndex + 1 ] & 0xFF ) << 8 ) + ( ( src[ srcIndex + 2 ] & 0xFF ) << 16 )
                    + ( ( src[ srcIndex + 3 ] & 0xFF ) << 24 );
        }
    
    
        public static long readInt8 ( byte[] src, int srcIndex ) {
            return ( readInt4(src, srcIndex) & 0xFFFFFFFFL ) + ( (long) ( readInt4(src, srcIndex + 4) ) << 32 );
        }
    
    
        public static void writeInt8 ( long val, byte[] dst, int dstIndex ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 8;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 8;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            int start = bufferIndex;
    
            SmbInfoAllocation info = new SmbInfoAllocation();
    
            info.alloc = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
    
            info.free = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
    
            info.sectPerAlloc = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

            bufferIndex += 8;
            this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.fileType = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            byte[] data = new byte[8];
            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
    
        /**
         * @return the timestamp
         */
        public long getTimestamp () {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
Back to top