Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for blivit (0.17 sec)

  1. src/main/java/jcifs/pac/ASN1Util.java

         *
         * @param expectTag the expected tag number
         * @param limit the maximum length limit
         * @param in the ASN.1 input stream
         * @return coded bytes of the tagged object
         * @throws IOException if reading fails or tag mismatch
         */
        public static byte[] readUnparsedTagged(final int expectTag, final int limit, final ASN1InputStream in) throws IOException {
            final int ftag = in.read();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K 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. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

    public class LhaExtractor extends AbstractExtractor {
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(LhaExtractor.class);
    
        /** Maximum content size for extraction. -1 means no limit. */
        protected long maxContentSize = -1;
    
        /**
         * Creates a new LhaExtractor instance.
         */
        public LhaExtractor() {
            super();
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

            req.txn_buf = getBuffer();
            rsp.txn_buf = getBuffer();
        }
    
        /**
         * Returns a buffer to the cache for reuse.
         *
         * Performance: O(1) operation with size limit check
         *
         * @param buf the buffer to return to the cache
         */
        static public void releaseBuffer(final byte[] buf) {
            // Validate buffer before returning to cache
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. 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)
Back to top