- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for mock (0.26 sec)
-
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) -
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) -
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) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} if ( dfd == null || !dfd.isValid() ) { // don't reopen the file for every round if it's not necessary, keep the lock dfd = openCopyTargetFile(dest, src.getAttributes(), !write); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
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) -
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)