Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for blivit (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                throw exception;
            }
        }
    
        /**
         * Calculates the limit document number based on total, percentage, and number.
         * @param total The total number of documents.
         * @param limitPercentage The limit percentage.
         * @param limitNumber The limit number.
         * @return The calculated limit document number.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            }
    
            // Check global rate limit
            if (!checkGlobalRateLimit()) {
                totalAttemptsBlocked.incrementAndGet();
                log.warn("Global rate limit exceeded, blocking attempt from {}", sourceIp);
                return false;
            }
    
            // Check per-account limit
            if (username != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Reasonable upper limit (1TB)
            long maxSize = 1099511627776L;
            if (size > maxSize) {
                failedValidations.incrementAndGet();
                log.warn("File size exceeds reasonable limit: {} > {}", size, maxSize);
                throw new SmbException("File size exceeds limit: " + size);
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

                assertTrue("Error message should mention file size", e.getMessage().contains("File too large"));
            }
        }
    
        /**
         * Test readBytes with file within size limit
         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_NormalFile() throws Exception {
            final File normalFile = tempFolder.newFile("normal.txt");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        @DisplayName("Should not reuse connection when session limit reached")
        void testSessionLimitPreventsReuse() throws Exception {
            // Given: Config with session limit of 1
            when(config.getSessionLimit()).thenReturn(1);
    
            // Create first connection
            SmbTransportImpl first = pool.getSmbTransport(ctx, address, 445, false);
    
            // Mock that session limit is reached
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        @DisplayName("writeAndXWireFormat with andx but batching prevented by limit")
        void testWriteAndXWireFormatBatchingPrevented() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
            block.customBatchLimit = 1; // allow 1, but we'll set batchLevel to meet limit
            block.batchLevel = 1; // batchLevel >= limit prevents chaining
    
            byte[] buf = new byte[128];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        }
    
        /**
         * Set the key rotation bytes limit
         *
         * @param limit number of bytes to encrypt before rotating keys
         */
        public void setKeyRotationBytesLimit(long limit) {
            this.keyRotationBytesLimit = limit;
        }
    
        /**
         * Set the key rotation time limit
         *
         * @param limit time in milliseconds before rotating keys
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

                    return Collections.emptyList();
                }
    
                List<String> readings = new ArrayList<>();
                int limit = Math.min(langs.length, getMaxReadingNum());
    
                for (int i = 0; i < limit; i++) {
                    readings.add(text.toUpperCase() + "_" + langs[i]);
                }
    
                return readings;
            }
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            return this.andx;
        }
    
        /**
         * Gets the batch limit for chained commands
         * @param cfg the configuration
         * @param cmd the command byte
         * @return the batch limit
         */
        protected int getBatchLimit(final Configuration cfg, final byte cmd) {
            /*
             * the default limit is 0 batched messages before this
             * one, meaning this message cannot be batched.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. README.md

    ```java
    // Configure memory usage
    crawler.crawlerContext.setMaxAccessCount(10000);     // Limit crawled URLs
    crawler.crawlerContext.setMaxDepth(5);               // Limit crawl depth
    
    // Use streaming for large files
    container.singleton("fileTransformer", FileTransformer.class, transformer -> {
        transformer.setMaxContentSize(10 * 1024 * 1024); // 10MB limit
    });
    ```
    
    ## Troubleshooting
    
    ### Common Issues
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top