Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for prevented (3.52 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            return new EncryptionResult(ciphertext, authTag);
        }
    
        /**
         * Perform constant-time encryption to prevent timing attacks
         */
        private byte[] performConstantTimeEncryption(Cipher cipher, byte[] message) throws Exception {
            // Pad to fixed block size to prevent timing leaks
            int blockSize = cipher.getBlockSize();
            if (blockSize == 0)
                blockSize = 16; // GCM mode
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CloseableUtil.java

        /**
         * Closes a {@link Closeable}.
         * <p>
         * If an exception is thrown by {@link Closeable#close()}, an error message is logged. The exception is not rethrown. This prevents the original exception from being lost in situations like the following:
         * </p>
         * <pre>
         * InputStream is = ...;
         * try {
         *   is.read(...);
         * } finally {
         *   close(is);
         * }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CharUtil.java

     */
    package org.codelibs.fess.crawler.util;
    
    /**
     * Utility class for character-related operations.
     */
    public final class CharUtil {
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private CharUtil() {
        }
    
        /**
         * Checks if the given character is a valid URL character.
         *
         * Valid URL characters include:
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

     * - Uses ConcurrentLinkedQueue for O(1) operations
     * - Lock-free operations for better concurrency
     * - Proper buffer validation and limits
     */
    public class BufferCache {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private BufferCache() {
            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

        /**
         * Default maximum read/write size (1MB)
         */
        public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576; // 1MB
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaCapabilities() {
            // Utility class
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     */
    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV pair representing timestamp information in NTLM authentication.
     * Contains time-based data used to prevent replay attacks and ensure message freshness.
     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

     *
     * This factory attempts to select the best available RDMA provider
     * based on system capabilities and configuration preferences.
     */
    public class RdmaProviderFactory {
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaProviderFactory() {
            // Factory class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(RdmaProviderFactory.class);
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacConstantsTest.java

     */
    class PacConstantsTest {
    
        /**
         * Tests that the constant values in the PacConstants interface match their expected values.
         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
            assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * the thread waits until the delay has elapsed.
     * This class is thread-safe.
     * The cache automatically evicts entries after 1 hour of inactivity to prevent memory leaks.
     */
    public class HostIntervalController extends DefaultIntervalController {
    
        /** Default cache expire duration in hours */
        private static final long DEFAULT_CACHE_EXPIRE_HOURS = 1L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

     */
    public final class SearchEngineUtil {
    
        private static final Logger logger = LogManager.getLogger(SearchEngineUtil.class);
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private SearchEngineUtil() {
        }
    
        /**
         * Creates an OutputStream from an XContentBuilder using the provided callback function.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top