Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 135 for 60000 (0.22 sec)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
                for (int i = 0; i < 10000; i++) {
                    longMessage.append("x");
                }
                String message = longMessage.toString();
    
                TransportException exception = new TransportException(message);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
         * Test the constructor of SmbComNegotiate.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long BASE_ERROR_DELAY = 1000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(4, written);
                assertEquals(4, SMBUtil.readInt2(minBuffer, 0));
    
                // Large buffer
                byte[] largeBuffer = new byte[10000];
                written = echoRequest.writeBytesWireFormat(largeBuffer, 5000);
                assertEquals(4, written);
                assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            String str = stats.toString();
    
            assertNotNull(str);
            assertTrue(str.contains("test"));
            assertTrue(str.contains("CLOSED"));
            assertTrue(str.contains("100.00%"));
        }
    
        @Test
        @DisplayName("Test mixed success and failure pattern")
        void testMixedPattern() throws Exception {
            // Success
            circuitBreaker.call(() -> "success");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        protected List<CrawlerClientFactory> clientFactoryList = new LinkedList<>();
    
        /**
         * The maximum size of the client factory list.
         */
        protected int maxClientFactorySize = 10000;
    
        /**
         * Registers a CrawlerClientFactory with this creator.
         * All existing client mappings will be loaded into the new factory.
         * @param crawlerClientFactory The CrawlerClientFactory to register.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         */
        public synchronized String[] getDataStoreNames() {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            if (now - lastLoadedTime > 60000L) {
                final List<String> nameList = loadDataStoreNameList();
                dataStoreNames = nameList.toArray(n -> new String[nameList.size()]);
                lastLoadedTime = now;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

     *   <li>secretKey - The secret key for authentication</li>
     *   <li>region - The AWS region (default: us-east-1)</li>
     *   <li>connectTimeout - Connection timeout in milliseconds (default: 10000)</li>
     *   <li>readTimeout - Read timeout in milliseconds (default: 10000)</li>
     * </ul>
     *
     * <p>The client supports URLs in the format: {@code s3://bucket-name/object-path}
     *
     * <p>Features:
     * <ul>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

         */
        protected int filterCacheExpireAfterWrite = 10; // 10sec
    
        /**
         * The maximum number of items to load into the cache.
         */
        protected int maxLoadSize = 10000;
    
        /**
         * Creates a new instance of OpenSearchUrlFilterService.
         * @param crawlerConfig The crawler configuration.
         */
        public OpenSearchUrlFilterService(final OpenSearchCrawlerConfig crawlerConfig) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            long lastModified = System.currentTimeMillis();
            boolean isDirectory = false;
            long attributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
            long creationTime = System.currentTimeMillis() - 10000;
            long lastAccessTime = System.currentTimeMillis() - 5000;
    
            entry.updateChild(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top