Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 165 for readInt4 (0.18 sec)

  1. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.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 len = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            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;
            this.deletePending = ( buffer[ bufferIndex++ ] & 0xFF ) > 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

            int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.totalAvailableEntries = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            int start = bufferIndex;
            this.replaceIfExists = buffer[ bufferIndex ] != 0;
            bufferIndex += 8;
            bufferIndex += 8;
    
            int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            byte[] nameBytes = new byte[nameLen];
            System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length);
            bufferIndex += nameLen;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         * @param flags
         */
        public AvFlags ( int flags ) {
            this(encode(flags));
        }
    
    
        /**
         * 
         * @return flags
         */
        public int getFlags () {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
    
        private static byte[] encode ( int flags ) {
            byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.typeOfLock = buffer[ bufferIndex ];
    
            if ( ( this.typeOfLock & 0x10 ) == 0x10 ) {
                this.largeFile = true;
            }
    
            this.newOpLockLevel = buffer[ bufferIndex + 1 ];
            bufferIndex += 2;
    
            this.timeout = 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
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            length = readInt4( buffer, bufferIndex );
            return 4;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            if (errorCode != 0)
                return 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            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: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/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 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
Back to top