Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 157 for writeInt4 (0.11 sec)

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

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.numberOfLinks, dst, dstIndex);
            dstIndex += 4;
            dst[ dstIndex++ ] = (byte) ( this.deletePending ? 1 : 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)
  2. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[ dstIndex++ ] = (byte) 0x00; // Reserved
            dst[ dstIndex++ ] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.negotiated.getNegotiatedSendBufferSize(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.negotiated.getNegotiatedMpxCount(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(getConfig().getVcNumber(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.negotiated.getNegotiatedSessionKey(), dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         */
        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)
  5. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
    
            dst[ dstIndex ] = this.typeOfLock;
            dst[ dstIndex + 1 ] = this.newOpLockLevel;
            dstIndex += 2;
    
            SMBUtil.writeInt4(this.timeout, dst, dstIndex);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.unlocks != null ? this.unlocks.length : 0, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeInt2( count, dst, dstIndex );
            dstIndex += 2;
            writeInt4( offset, dst, dstIndex );
            dstIndex += 4;
            writeInt2( remaining, dst, dstIndex );
            dstIndex += 2;
    
            return dstIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

            int start = dstIndex;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/SessionServicePacket.java

        static final int MAX_MESSAGE_SIZE = 0x0001FFFF;
        static final int HEADER_LENGTH = 4;
    
    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
            writeInt4( serverTypes, dst, dstIndex );
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.timeout, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            dst[ dstIndex ] = (byte) ( this.timeoutSpecified ? 0x1 : 0x0 );
            dstIndex++;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
Back to top