Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for 0x1fff (0.03 sec)

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

        public final int readUnsignedShort() throws SmbException {
            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint16be( tmp, 0 ) & 0xFFFF;
        }
        public final char readChar() throws SmbException {
            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return (char)Encdec.dec_uint16be( tmp, 0 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                    int _name_bufferi = _src.index;
                    _src.advance(2 * _name_bufferl);
    
                    if ( this.name.buffer == null ) {
                        if ( _name_buffers < 0 || _name_buffers > 0xFFFF )
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        this.name.buffer = new short[_name_buffers];
                    }
                    _src = _src.derive(_name_bufferi);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                switch( sbuf[0] & 0xFF ) {
                    case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                        if( log.level >= 4 )
                            log.println( "session established ok with " + address );
                        return;
                    case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                        int errorCode = (int)( in.read() & 0xFF );
                        switch (errorCode) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                    int _ss = _src.dec_ndr_long();
                    int _si = _src.index;
                    _src.advance(4 * _ss);
    
                    if ( this.s == null ) {
                        if ( _ss < 0 || _ss > 0xFFFF )
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        this.s = new DfsInfo1[_ss];
                    }
                    _src = _src.derive(_si);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 16.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    int _name_bufferi = _src.index;
                    _src.advance(2 * _name_bufferl);
    
                    if (name.buffer == null) {
                        if (_name_buffers < 0 || _name_buffers > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        name.buffer = new short[_name_buffers];
                    }
                    _src = _src.derive(_name_bufferi);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                    int _arrays = _src.dec_ndr_long();
                    int _arrayi = _src.index;
                    _src.advance(4 * _arrays);
    
                    if (array == null) {
                        if (_arrays < 0 || _arrays > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        array = new ShareInfo0[_arrays];
                    }
                    _src = _src.derive(_arrayi);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Encdec.java

            dst[ di++ ] = (byte) ( ( s >> 8 ) & 0xFF );
            dst[ di ] = (byte) ( s & 0xFF );
            return 2;
        }
    
    
        public static int enc_uint32be ( int i, byte[] dst, int di ) {
            dst[ di++ ] = (byte) ( ( i >> 24 ) & 0xFF );
            dst[ di++ ] = (byte) ( ( i >> 16 ) & 0xFF );
            dst[ di++ ] = (byte) ( ( i >> 8 ) & 0xFF );
            dst[ di ] = (byte) ( i & 0xFF );
            return 4;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                    int _ss = _src.dec_ndr_long();
                    int _si = _src.index;
                    _src.advance(4 * _ss);
    
                    if (s == null) {
                        if (_ss < 0 || _ss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        s = new DfsInfo1[_ss];
                    }
                    _src = _src.derive(_si);
                    for (int _i = 0; _i < _ss; _i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 15K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    this.negotiatedFlags2 |= SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
                }
            }
            else {
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_SIGNATURES;
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
                if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
Back to top