Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 831 for Prevent (0.05 sec)

  1. src/main/java/jcifs/dcerpc/rpc.java

     * used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs.
     */
    @SuppressWarnings("all")
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private rpc() {
            // Utility class
        }
    
        /**
         * UUID (Universally Unique Identifier) structure for DCE/RPC.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
       * unprivileged user may return a resource accessible only to a privileged user making a similar
       * call. To prevent this problem, create a key object that includes all values that affect the
       * result of the query. Or use {@code LoadingCache.get(K)}, which lacks the ability to refer to
       * state other than that in the key.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                        ignored);
              }
              notifyFailed(t);
              // requireNonNull is safe now, just as it was above.
              requireNonNull(runningTask).cancel(false); // prevent future invocations.
            } finally {
              lock.unlock();
            }
          }
        }
    
        private final Runnable task = new Task();
    
        @Override
        protected final void doStart() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

     * {@link jcifs.context.SingletonContext#getInstance()}
     * witch is initialized using system properties.
     *
     */
    public class Config {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private Config() {
            // Utility class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(Config.class);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SimpleCircuitBreaker.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Simplified circuit breaker implementation for SMB operations.
     * Thread-safe and lock-free implementation to prevent cascading failures.
     *
     * Features:
     * - Simple state management (CLOSED, OPEN, HALF_OPEN)
     * - Lock-free atomic operations
     * - Configurable thresholds and timeouts
     * - No complex dependencies
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ServerResponseValidator.java

    package jcifs.util;
    
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Validator for SMB server responses to prevent buffer overflow and injection attacks.
     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
     * - Protocol compliance checking
     * - Malformed response detection
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                // Could attempt re-registration here
            }
        }
    
        /**
         * Handle a witness event
         *
         * @param notification the witness notification
         */
        private void handleWitnessEvent(WitnessNotification notification) {
            log.info("Handling witness event: {} for resource: {}", notification.getEventType(), notification.getResourceName());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                    concurrentLimiter.recordFailure("user" + threadId, "192.168.2." + threadId);
                                    localFailures++;
                                    // Prevent lockout by resetting after 3 failures
                                    if (localFailures >= 3) {
                                        concurrentLimiter.recordSuccess("user" + threadId, "192.168.2." + threadId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. cmd/sftp-server-driver.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v3/mimedb"
    	"github.com/pkg/sftp"
    	"golang.org/x/crypto/ssh"
    )
    
    // Maximum write offset for incoming SFTP blocks.
    // Set to 100MiB to prevent hostile DOS attacks.
    const ftpMaxWriteOffset = 100 << 20
    
    type sftpDriver struct {
    	permissions *ssh.Permissions
    	endpoint    string
    	remoteIP    string
    }
    
    //msgp:ignore sftpMetrics
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("a", "aa", "aa")
        set("b", "bb", "bbb")
    
        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("c")).isNull()
    
        // A successful eviction should allow new writes.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
        cache.evictAll()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top