Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 165 for readInt4 (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
    
            if ( structureSize != 9 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
            int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            int bufferLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
            SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

                return 0;
            }
            boolean groupName = (( src[srcIndex] & 0x80 ) == 0x80 ) ? true : false;
            int nodeType = ( src[srcIndex] & 0x60 ) >> 5;
            srcIndex += 2;
            int address = readInt4( src, srcIndex );
            if( address != 0 ) {
                addrEntry[addrIndex] = new NbtAddress( recordName, address, groupName, nodeType );
            } else {
                addrEntry[addrIndex] = null;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

         * @see jcifs.internal.smb1.ServerMessageBlock#readParameterWordsWireFormat(byte[], int)
         */
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            this.offset = SMBUtil.readInt4(buffer, bufferIndex);
            return 4;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameQueryResponse.java

                return 0;
            }
            boolean groupName = ( ( src[ srcIndex ] & 0x80 ) == 0x80 ) ? true : false;
            int nodeType = ( src[ srcIndex ] & 0x60 ) >> 5;
            srcIndex += 2;
            int address = readInt4(src, srcIndex);
            if ( address != 0 ) {
                this.addrEntry[ this.addrIndex ] = new NbtAddress(this.recordName, address, groupName, nodeType);
            }
            else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.attributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            return bufferIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            this.length = SMBUtil.readInt4(buffer, bufferIndex);
            return 4;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmContext.java

                throw new CIFSException("Signing is not initialized");
            }
    
            int ver = SMBUtil.readInt4(mic, 0);
            if ( ver != 1 ) {
                throw new SmbUnsupportedOperationException("Invalid signature version");
            }
    
            MessageDigest mac = Crypto.getHMACT64(sk);
            int seq = SMBUtil.readInt4(mic, 12);
            mac.update(mic, 12, 4); // sequence
            byte[] dgst = mac.digest(data); // data
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
        static int readInt2( byte[] src, int srcIndex ) {
            return (( src[srcIndex] & 0xFF ) << 8 ) +
                    ( src[srcIndex + 1] & 0xFF );
        }
        static int readInt4( byte[] src, int srcIndex ) {
            return (( src[srcIndex] & 0xFF ) << 24 ) +
                    (( src[srcIndex + 1] & 0xFF ) << 16 ) +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
Back to top