Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mock (0.12 sec)

  1. 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)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.lock.Smb2OplockBreakNotification;
    import jcifs.internal.smb2.nego.EncryptionNegotiateContext;
    import jcifs.internal.smb2.nego.Smb2NegotiateRequest;
    import jcifs.internal.smb2.nego.Smb2NegotiateResponse;
    import jcifs.netbios.Name;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  3. 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)
Back to top