Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 895 for 2000 (0.02 sec)

  1. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

            TimeoutManager.getInstance().start();
            assertNotNull(TimeoutManager.getInstance().thread);
            Thread.sleep(2000);
            assertEquals(count, expiredCount);
            assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount());
            task.cancel();
            Thread.sleep(2000);
            assertEquals(0, TimeoutManager.getInstance().getTimeoutTaskCount());
            assertNull(TimeoutManager.getInstance().thread);
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            SmbClient client = new SmbClient() {
                @Override
                protected ResponseData getResponseData(final String uri, final boolean includeContent) {
                    try {
                        Thread.sleep(2000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            assertEquals(2000, intervalControlHelper.getDelay());
    
            intervalControlHelper.ruleList.clear();
    
            intervalControlHelper.addIntervalRule("12:15", "12:15", "*", 3000);
            assertEquals(3000, intervalControlHelper.getDelay());
    
            intervalControlHelper.ruleList.clear();
    
            intervalControlHelper.addIntervalRule("12:15", "12:15", "3,5", 4000);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            long delay4 = policy.getDelayMs(4);
            long delay10 = policy.getDelayMs(10);
    
            // Then
            assertEquals(1000, delay1);
            assertEquals(2000, delay2);
            assertEquals(4000, delay3);
            assertEquals(5000, delay4); // Capped at max
            assertEquals(5000, delay10); // Still capped
        }
    
        @Test
        @DisplayName("Should handle non-exponential backoff")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
    
            // Assert: verify the underlying stream was called
            verify(out, timeout(1000)).write(payload, 0, 3);
    
            // Stop the thread by sending n = -1
            synchronized (w) {
                w.write(new byte[0], -1, out);
            }
    
            w.join(2000);
            assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(0, channelInfo.getErrors());
    
            channelInfo.addBytesSent(1000);
            channelInfo.addBytesReceived(2000);
            channelInfo.incrementRequestsSent();
            channelInfo.incrementErrors();
    
            assertEquals(1000, channelInfo.getBytesSent());
            assertEquals(2000, channelInfo.getBytesReceived());
            assertEquals(1, channelInfo.getRequestsSent());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertEquals(2000, info.alloc);
            assertEquals(1000, info.free);
            assertEquals(8, info.sectPerAlloc);
            assertEquals(4096, info.bytesPerSect);
            assertEquals(2000L * 8 * 4096, info.getCapacity(), "Capacity calculation should be correct");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Info.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 995 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.start();
    
            // Give the thread time to process exceptions
            Thread.sleep(2000);
    
            // Clean up the thread
            indexUpdater.setFinishCrawling(true);
            indexUpdater.interrupt();
            indexUpdater.join(2000);
    
            // Test passes if no exception is thrown and thread terminates properly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
Back to top