- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Wignall (0.52 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// Create multiple threads that all try to connect simultaneously for (int i = 0; i < threadCount; i++) { new Thread(() -> { try { startLatch.await(); // Wait for signal to start conn.connect(); successCount.incrementAndGet(); } catch (Exception e) { synchronized (exceptions) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbFileOutputStream out = mock(SmbFileOutputStream.class); byte[] payload = new byte[] { 1, 2, 3, 4 }; w.start(); // Wait until writer thread signals readiness synchronized (w) { long deadline = System.currentTimeMillis() + 2000; while (!w.isReady() && System.currentTimeMillis() < deadline) { w.wait(10); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
// Create multiple threads that all try to connect simultaneously for (int i = 0; i < threadCount; i++) { new Thread(() -> { try { startLatch.await(); // Wait for signal to start conn.connect(); successCount.incrementAndGet(); } catch (Exception e) { synchronized (exceptions) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
void read_returnsMinusOne_onEOF() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // Stub the 3-arg read to signal EOF doReturn(-1).when(raf).read(any(byte[].class), anyInt(), eq(1)); assertEquals(-1, raf.read()); } @Test @DisplayName("readFully(): throws SmbEndOfFileException on premature EOF")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)