- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 776 for prevent (0.03 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance(); /** * Performs constant-time comparison of two char arrays to prevent timing attacks. * This method always compares the full length of both arrays, regardless of when * differences are found, making the execution time independent of the position * of differing characters. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// JVM shutdown will not be prevented from exiting after this service has stopped or failed. // Technically this listener is added after start() was called so it is a little gross, but it // is called within doStart() so we know that the service cannot terminate or fail concurrently // with adding this listener so it is impossible to miss an event that we are interested in. addListener(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
*/ @Override public int getFlags() { return this.mechContext.getFlags(); } @Override public boolean isSupported(final ASN1ObjectIdentifier mechanism) { // prevent nesting return false; } /** * Determines what mechanism is being used for this context. * * @return the Oid of the mechanism being used */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Expected - exception is thrown but not counted as failure } } // NOTE: Implementation behavior - custom predicate may not prevent all state changes // Skipping assertions that assume non-critical errors don't affect circuit state // as the actual implementation may handle this differently
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
ci/devinfra/docker/windows2022/Dockerfile
ENV BAZEL_SH "C:\tools\msys64\usr\bin\bash.exe" ENV BAZEL_VS "C:\Program Files\Microsoft Visual Studio\2022\BuildTools" ENV BAZEL_VC "C:\Program Files\Microsoft Visual Studio\2022\Community\VC" # Environment variables to prevent auto-conversion of Linux-like paths to Windows paths. # This is necessary as some paths end up invalid/mangled. ENV MSYS_NO_PATHCONV 1 ENV MSYS2_ARG_CONV_EXCL *
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Jan 13 18:59:55 UTC 2025 - 10.3K bytes - Viewed (0) -
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)