Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 155 for writeInt2 (4.82 sec)

  1. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java

        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt4(this.completionFilter, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[ dstIndex++ ] = this.watchTree ? (byte) 0x01 : (byte) 0x00; // watchTree
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            writeInt4( parameterCount, dst, dstIndex );
            dstIndex += 4;
            writeInt4(( parameterCount == 0 ? 0 : parameterOffset ), dst, dstIndex );
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4( parameterDisplacement, dst, dstIndex );
                dstIndex += 4;
            }
            writeInt4( dataCount, dst, dstIndex );
            dstIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/util/SMBUtil.java

    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( "javadoc" )
    public class SMBUtil {
    
        public static void writeInt2 ( long val, byte[] dst, int dstIndex ) {
            dst[ dstIndex ] = (byte) ( val );
            dst[ ++dstIndex ] = (byte) ( val >> 8 );
        }
    
    
        public static void writeInt4 ( long val, byte[] dst, int dstIndex ) {
            dst[ dstIndex ] = (byte) ( val );
            dst[ ++dstIndex ] = (byte) ( val >>= 8 );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  5. 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);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComClose.java

            this.fid = fid;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_CLOSE;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeUTime( lastWriteTime, dst, dstIndex );
            return 6;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

            super(config, SMB_COM_FIND_CLOSE2);
            this.sid = sid;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java

        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            // this says "Transaction priority" in netmon
            writeInt2( fid, dst, dstIndex );
            return 4;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComDelete.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;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComRename.java

            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
        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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
Back to top