Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for rlock (0.26 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

            Exception ex0 = null;
    
            try {
                /*
                 * We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
                 * return which would render the timeout effectively useless.
                 */
                if ( this.state != 5 && this.state != 6 ) {
                    doConnect();
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        public void setTarget ( String target ) {
            this.target = target;
        }
    
    
        /**
         * Returns the target information block.
         *
         * @return A <code>byte[]</code> containing the target information block.
         *         The target information block is used by the client to create an
         *         NTLMv2 response.
         */
        public byte[] getTargetInformation () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

        /**
         * Returns the target information block.
         *
         * @return A <code>byte[]</code> containing the target information block.
         * The target information block is used by the client to create an
         * NTLMv2 response.
         */ 
        public byte[] getTargetInformation() {
            return targetInformation;
        }
    
        /**
         * Sets the target information block.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/ConcurrencyTest.java

            final Object lock = new Object();
            final Thread t = Thread.currentThread();
    
            this.executor.submit(new Runnable() {
    
                @Override
                public void run () {
    
                    try {
                        synchronized ( lock ) {
                            lock.wait(1000);
                        }
    
                        Thread.sleep(100);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                break;
            case SMB2_READ:
                c = "SMB2_READ";
                break;
            case SMB2_WRITE:
                c = "SMB2_WRITE";
                break;
            case SMB2_LOCK:
                c = "SMB2_LOCK";
                break;
            case SMB2_IOCTL:
                c = "SMB2_IOCTL";
                break;
            case SMB2_CANCEL:
                c = "SMB2_CANCEL";
                break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private static final String RO = Config.getProperty( "jcifs.smb1.resolveOrder" );
    
        private static LogStream log = LogStream.getInstance();
    
        private final Object LOCK = new Object();
    
        private int lport, closeTimeout;
        private byte[] snd_buf, rcv_buf;
        private DatagramSocket socket;
        private DatagramPacket in, out;
        private HashMap responseTable = new HashMap();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

            }
        }
    
    
        /// Encrypt a block of eight bytes.
        private void encrypt( byte[] clearText, int clearOff, byte[] cipherText, int cipherOff ) {
    
            squashBytesToInts( clearText, clearOff, tempInts, 0, 2 );
            des( tempInts, tempInts, encryptKeys );
            spreadIntsToBytes( tempInts, 0, cipherText, cipherOff, 2 );
        }
    
        /// Decrypt a block of eight bytes.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
        };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
        private int nbnsIndex = 0;
    
        private final Map<Name, CacheEntry> addressCache = new HashMap<>();
        private final Set<Name> inFlightLookups = new HashSet<>();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                _dst.enc_ndr_short(domain_guid.time_mid);
                _dst.enc_ndr_short(domain_guid.time_hi_and_version);
                _dst.enc_ndr_small(domain_guid.clock_seq_hi_and_reserved);
                _dst.enc_ndr_small(domain_guid.clock_seq_low);
                int _domain_guid_nodes = 6;
                int _domain_guid_nodei = _dst.index;
                _dst.advance(1 * _domain_guid_nodes);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 33K bytes
    - Viewed (0)
Back to top