Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 89 of 89 for writeUint32 (0.11 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(4, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

                dstIndex += 4;
                dst[ dstIndex++ ] = (byte) 0x00; // Reserved1
            }
            else {
                dst[ dstIndex++ ] = (byte) this.setupCount;
                SMBUtil.writeInt2(this.function, dst, dstIndex);
                dstIndex += 2;
                dstIndex += writeSetupWireFormat(dst, dstIndex);
            }
    
            return dstIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                this.passwordLength = 1;
            }
    
            dst[ dstIndex++ ] = this.disconnectTid ? (byte) 0x01 : (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            SMBUtil.writeInt2(this.passwordLength, dst, dstIndex);
            return 4;
        }
    
    
        @SuppressWarnings ( "deprecation" )
        private static boolean isExternalAuth ( NtlmPasswordAuthenticator pwAuth ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                // no password in tree connect
                passwordLength = 1;
            }
    
            dst[dstIndex++] = disconnectTid ? (byte)0x01 : (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            writeInt2( passwordLength, dst, dstIndex );
            return 4;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if( session.transport.server.security == SECURITY_SHARE &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(57, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.controlCode, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            return dstIndex - start;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int n;
            n = writeString( path, dst, dstIndex );
            writeInt2( ( useUnicode ? path.length() * 2 : n ), dst, namelen_index );
            return n;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int n;
            n = writeString(this.path, dst, dstIndex);
            SMBUtil.writeInt2( ( this.isUseUnicode() ? this.path.length() * 2 : n ), dst, this.namelen_index);
            return n;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            dst[ start + ANDX_COMMAND_OFFSET ] = this.andxCommand;
            dst[ start + ANDX_RESERVED_OFFSET ] = (byte) 0x00;
            this.andxOffset = dstIndex - this.headerStart;
            SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            this.andx.setUseUnicode(this.isUseUnicode());
            if ( this.andx instanceof AndXServerMessageBlock ) {
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            andx.batchLevel = batchLevel + 1;
    
    
            dst[start + ANDX_COMMAND_OFFSET] = andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte)0x00;
            andxOffset = dstIndex - headerStart;
            writeInt2( andxOffset, dst, start + ANDX_OFFSET_OFFSET );
    
            andx.useUnicode = useUnicode;
            if( andx instanceof AndXServerMessageBlock ) {
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
Back to top