- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,070 for prevent (0.04 seconds)
-
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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
* This class provides methods to properly format IPv6 addresses for use in URLs * by adding brackets where necessary. */ public final class IpAddressUtil { /** * Private constructor to prevent instantiation of utility class. */ private IpAddressUtil() { // Utility class - no instances allowed } /** * Determines if the given address string represents an IPv6 address.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
log.error("Error during file handle finalization", e); } finally { super.finalize(); } } /** * Emergency cleanup method to prevent resource leaks during finalization */ private void emergencyCloseHandle() { try { synchronized (this) { // Force close the handle this.open = false;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
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. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<association> <type>RepositoryPolicy</type> </association> </field> </fields> <!-- prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field --> <codeSegments> <codeSegment> <version>1.0.0</version>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 22 11:03:29 GMT 2025 - 13.8K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
// E.g. @youtube(Summary,UN0AFCLASZA?si=9aG5tDzj6nL1_IKT&start=371)@ => https://www.youtube.com/embed/UN0AFCLASZA?si=9aG5tDzj6nL1_IKT&start=371" // "&rel=0" is also force-injected to prevent video recommendations from other channels rewritten = rewritten.replaceAll("\\@youtube\\(([a-zA-Z\\-_]+)\\,([^\\s<]+)\\)\\@", "<details> \n" + " <summary>📺 Watch the $1</summary> \n" +Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 03 01:59:51 GMT 2026 - 11.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Cut.java
return compareResult == 0; } catch (ClassCastException wastNotComparableToOurType) { return false; } } return false; } // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it @Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, soCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.4K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
``` Conscrypt is the bundled security provider on Android so it is not necessary to configure it on that platform. * New: `HttpUrl.addQueryParameter()` percent-escapes more characters. Previously several ASCII punctuation characters were not percent-escaped when used with this method. This does not impact already-encoded query parameters in APIs like `HttpUrl.parse()` andCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)