Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for pad (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    pad = parameterOffset % PADDING_SIZE;
                    pad = pad == 0 ? 0 : PADDING_SIZE - pad;
                    parameterOffset += pad;
                }
    
                // caclulate parameterDisplacement before calculating new parameterCount
                parameterDisplacement += parameterCount;
    
                int available = maxBufferSize - parameterOffset - pad;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dataOffset = (dstIndex - headerStart) + 26; // 26 = off from here to pad
    
    pad = ( dataOffset - headerStart ) % 4;
    pad = pad == 0 ? 0 : 4 - pad;
    dataOffset += pad;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeInt4( offset, dst, dstIndex );
            dstIndex += 4;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            this.pad = this.pad1 = 0;
            if ( this.parameterCount > 0 ) {
                bufferIndex += this.pad = this.parameterOffset - ( bufferIndex - this.headerStart );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            }
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            pad = pad1 = 0;
            int n;
    
            if( parameterCount > 0 ) {
                bufferIndex += pad = parameterOffset - ( bufferIndex - headerStart );
                System.arraycopy( buffer, bufferIndex, txn_buf,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6K bytes
    - Viewed (0)
  5. api/except.txt

    pkg syscall (freebsd-arm), type BpfHdr struct, Pad_cgo_0 [2]uint8
    pkg syscall (freebsd-arm), type Dirent struct, Fileno uint32
    pkg syscall (freebsd-arm), type Dirent struct, Namlen uint8
    pkg syscall (freebsd-arm), type RawSockaddrDatalink struct, Pad_cgo_0 [2]uint8
    pkg syscall (freebsd-arm), type RawSockaddrUnix struct, Pad_cgo_0 [2]uint8
    pkg syscall (freebsd-arm), type Stat_t struct, Blksize uint32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg syscall (netbsd-arm), func SendmsgN(int, []uint8, []uint8, Sockaddr, int) (int, error)
    pkg syscall (netbsd-arm), type Kevent_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_2 [4]uint8
    pkg syscall (netbsd-arm), type Termios struct
    pkg syscall (netbsd-arm), type Termios struct, Cc [20]uint8
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            int start = dstIndex;
    
            this.dataOffset = ( dstIndex - this.headerStart ) + 26; // 26 = off from here to pad
    
            this.pad = ( this.dataOffset - this.headerStart ) % 4;
            this.pad = this.pad == 0 ? 0 : 4 - this.pad;
            this.dataOffset += this.pad;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/Base64Util.java

            final int i = inData[inIndex] & 0xff;
            outData[outIndex] = ENCODE_TABLE[i >> 2];
            outData[outIndex + 1] = ENCODE_TABLE[i << 4 & 0x3f];
            outData[outIndex + 2] = PAD;
            outData[outIndex + 3] = PAD;
        }
    
        private static void encode1pad(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                if ( this.getCommand() == SMB_COM_TRANSACTION && isResponse() == false ) {
                    this.parameterOffset += stringWireLength(this.name, this.parameterOffset);
                }
    
                this.pad1 = pad(this.parameterOffset);
                this.parameterOffset += this.pad1;
    
                this.totalParameterCount = writeParametersWireFormat(this.txn_buf, this.bufParameterOffset);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            bufferIndex += 4;
    
            int pad = bufferIndex - ( getHeaderStart() + securityBufferOffset );
            this.blob = new byte[securityBufferLength];
            System.arraycopy(buffer, getHeaderStart() + securityBufferOffset, this.blob, 0, securityBufferLength);
            bufferIndex += pad;
            bufferIndex += securityBufferLength;
    
            return bufferIndex - start;
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
Back to top