Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 333 for prevent (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

     * directory metadata and reduce network round-trips for directory operations.
     */
    public class DirectoryLeaseState {
    
        /**
         * Private constructor to prevent instantiation of this utility class
         */
        private DirectoryLeaseState() {
            // Utility class - prevent instantiation
        }
    
        /**
         * Directory Read and Handle caching (RH) - recommended for directory operations
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

     */
    package jcifs.util;
    
    import java.util.regex.Pattern;
    
    /**
     * Comprehensive input validation utility for SMB protocol implementation.
     * Provides validation methods to prevent buffer overflows, injection attacks,
     * and other security vulnerabilities.
     */
    public final class InputValidator {
    
        private InputValidator() {
            // Utility class
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

     * SMB3 directory leasing is available and enabled.
     */
    public class SmbFileDirectoryLeasingExtension {
    
        /**
         * Private constructor to prevent instantiation of this utility class
         */
        private SmbFileDirectoryLeasingExtension() {
            // Utility class - prevent instantiation
        }
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileDirectoryLeasingExtension.class);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       */
      internal val isMultiplexed: Boolean
        get() = http2Connection != null
    
      /** Prevent further exchanges from being created on this connection. */
      override fun noNewExchanges() {
        withLock {
          noNewExchanges = true
        }
        connectionListener.noNewExchanges(this)
      }
    
      /** Prevent this connection from being used for hosts other than the one in [route]. */
      internal fun noCoalescedConnections() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA credit management for flow control.
     *
     * Credits are used to control the flow of messages between
     * RDMA peers to prevent buffer overflow.
     */
    public class RdmaCredits {
    
        private int initialCredits;
        private int creditsGranted;
    
        /**
         * Create new RDMA credits manager
         */
        public RdmaCredits() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

        /**
         * Persistent handles have infinite timeout
         */
        public static final long PERSISTENT_TIMEOUT = 0;
    
        /**
         * Private constructor to prevent instantiation
         */
        private Smb2HandleCapabilities() {
            // Utility class
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top