Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 154 for writeInt2 (0.08 sec)

  1. src/main/java/jcifs/smb1/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: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(4, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2);
            return 4;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java

        private int sid;
    
        SmbComFindClose2( int sid ) {
            this.sid = sid;
            command = SMB_COM_FIND_CLOSE2;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( sid, dst, dstIndex );
            return 2;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

            this.path = fileName;
            command = SMB_COM_DELETE;
            searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            return 2;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

            dst[ dstIndex++ ] = this.getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            return 4;
        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

            setupCount = 2;
            name = "\\PIPE\\";
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            writeInt2( pipeFid, dst, dstIndex );
            dstIndex += 2;
            return 4;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dst[ dstIndex++ ] = (byte) 0x00;
            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            setResponse(resp);
            return resp;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            if ( this.digest != null ) {
                SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex);
            }
            else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
Back to top