- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 663 for Prevent (0.31 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
this.dialectRevision = SMBUtil.readInt2(buffer, bufferIndex); final int negotiateContextCount = SMBUtil.readInt2(buffer, bufferIndex + 2); // Validate negotiate context count - prevent excessive memory allocation if (negotiateContextCount < 0 || negotiateContextCount > 100) { throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Rate limiter for authentication attempts to prevent brute force attacks. * * Features: * - Per-account rate limiting * - Per-IP rate limiting * - Global rate limiting * - Exponential backoff for repeated failures * - Account lockout after threshold
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
* * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class JoinerTest extends TestCase { private static final Joiner J = Joiner.on("-"); // <Integer> needed to prevent warning :( private static final Iterable<Integer> iterable = Arrays.<Integer>asList(); private static final Iterable<Integer> iterable1 = Arrays.asList(1);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
import java.util.HashSet; import java.util.Set; import java.util.regex.Pattern; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Path validation utility to prevent directory traversal and other path-based attacks. * * Features: * - Directory traversal prevention * - Path normalization * - Blacklist/whitelist support * - UNC path validation * - Special character filtering
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
CLAUDE.md
- **SuggestSettings**: NOT thread-safe for modifications ### Performance - Use batch operations for indexing (100-500 items) - Don't call `refresh()` too frequently - Limit `maxReadingNum` to prevent memory issues - OpenSearch auto-refreshes every 1 second by default ### Compatibility - Designed for OpenSearch 2.x+ - All text processing uses UTF-8
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 8.9K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
@NullUnmarked public class AggregateFutureStateFallbackAtomicHelperTest extends TestCase { /** * This classloader disallows {@code AtomicReferenceFieldUpdater} and {@code * AtomicIntegerFieldUpdater}, which will prevent us from selecting the {@code SafeAtomicHelper} * strategy. * * <p>Stashing this in a static field avoids loading it over and over again and speeds up test * execution significantly. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
return newBuilder().strong().build(); } /** * Returns a new thread-safe interner which retains a weak reference to each instance it has * interned, and so does not prevent these instances from being garbage-collected. This most * likely does not perform as well as {@link #newStrongInterner}, but is the best alternative when * the memory usage of that implementation is unacceptable. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)