Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 174 for writeInt (0.06 sec)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(32, dst, dstIndex);
            SMBUtil.writeInt2(this.notifyFlags, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt4(this.completionFilter, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

            SMBUtil.writeInt4(this.totalParameterCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.totalDataCount, dst, dstIndex);
            dstIndex += 4;
            if ( this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY ) {
                SMBUtil.writeInt4(this.maxParameterCount, dst, dstIndex);
                dstIndex += 4;
                SMBUtil.writeInt4(this.maxDataCount, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

            writeInt2(this.questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(this.answerCount, dst, start + ANSWER_OFFSET);
            writeInt2(this.authorityCount, dst, start + AUTHORITY_OFFSET);
            writeInt2(this.additionalCount, dst, start + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                            ( isBroadcast ? 0x10 : 0x00 ) +
                            ( resultCode & 0x0F ));
            writeInt2( questionCount, dst, start + QUESTION_OFFSET );
            writeInt2( answerCount, dst, start + ANSWER_OFFSET );
            writeInt2( authorityCount, dst, start + AUTHORITY_OFFSET );
            writeInt2( additionalCount, dst, start + ADDITIONAL_OFFSET );
            return HEADER_LENGTH;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(33, dst, dstIndex);
            dst[ dstIndex + 2 ] = this.infoType;
            dst[ dstIndex + 3 ] = this.fileInfoClass;
            dstIndex += 4;
    
            int bufferLengthOffset = dstIndex;
            dstIndex += 4;
            int bufferOffsetOffset = dstIndex;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            if ( this.inputData != null ) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset);
                int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            }
            else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
                SMBUtil.writeInt4(0, dst, inputLengthOffset);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top