Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 157 for writeInt4 (0.08 sec)

  1. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

            if ( this.largeFile ) {
                SMBUtil.writeInt2(this.pid, dst, dstIndex);
                SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4);
                SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8);
                SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12);
                SMBUtil.writeInt4(this.lengthInBytes & 0xFFFFFFFF, dst, dstIndex + 16);
                return 20;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6);
            SMBUtil.writeInt2(this.command, dst, dstIndex + 12);
            SMBUtil.writeInt2(this.credit, dst, dstIndex + 14);
            SMBUtil.writeInt4(this.flags, dst, dstIndex + 16);
            SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20);
            SMBUtil.writeInt8(this.mid, dst, dstIndex + 24);
    
            if ( this.async ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.tflags, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.desiredAccess, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex);
            dstIndex += 2;
            this.creationTime = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(36, dst, dstIndex);
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // Reserved
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( "javadoc" )
    public class SMBUtil {
    
        public static void writeInt2 ( long val, byte[] dst, int dstIndex ) {
            dst[ dstIndex ] = (byte) ( val );
            dst[ ++dstIndex ] = (byte) ( val >> 8 );
        }
    
    
        public static void writeInt4 ( long val, byte[] dst, int dstIndex ) {
            dst[ dstIndex ] = (byte) ( val );
            dst[ ++dstIndex ] = (byte) ( val >>= 8 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            int start = dstIndex;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeInt4( offset, dst, dstIndex );
            dstIndex += 4;
            writeInt2( maxCount, dst, dstIndex );
            dstIndex += 2;
            writeInt2( minCount, dst, dstIndex );
            dstIndex += 2;
            writeInt4( openTimeout, dst, dstIndex );
            dstIndex += 4;
            writeInt2( remaining, dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            int start = dstIndex;
    
            writeInt2( flags, dst, dstIndex );
            dstIndex += 2;
            writeInt2( desiredAccess, dst, dstIndex );
            dstIndex += 2;
            writeInt2( searchAttributes, dst, dstIndex );
            dstIndex += 2;
            writeInt2( fileAttributes, dst, dstIndex );
            dstIndex += 2;
            creationTime = 0;
            writeInt4( creationTime, dst, dstIndex );
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
            dst[ dstIndex + 2 ] = (byte) ( this.sessionBinding ? 0x1 : 0 );
            dst[ dstIndex + 3 ] = (byte) ( this.securityMode );
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(0, dst, dstIndex); // Channel
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

        }
    
    
        private static byte[] encode ( byte[] customData, byte[] machineId ) {
            int size = 8 + 8 + 32;
            byte[] enc = new byte[size];
            SMBUtil.writeInt4(size, enc, 0);
            SMBUtil.writeInt4(0, enc, 4);
            System.arraycopy(customData, 0, enc, 8, 8);
            System.arraycopy(machineId, 0, enc, 16, 32);
            return enc;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.maxCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.minCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.openTimeout, dst, dstIndex);
            dstIndex += 4;
    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