- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 579 for prevent (0.04 sec)
-
src/main/java/jcifs/pac/PacMac.java
* This class provides methods for computing MACs using various Kerberos encryption types including * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms. */ public class PacMac { /** * Private constructor to prevent instantiation of utility class. */ private PacMac() { // Utility class } /** * */ private static final String HMAC_KEY = "HMAC";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
// and DONE/INTERRUPTED - they have a common ancestor of Runnable. abstract class InterruptibleTask<T extends @Nullable Object> extends AtomicReference<@Nullable Runnable> implements Runnable { static { // Prevent rare disastrous classloading in first call to LockSupport.park. // See: https://bugs.openjdk.org/browse/JDK-8074773 @SuppressWarnings("unused") Class<?> ensureLoaded = LockSupport.class; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
} override fun flush() { } override fun close() { } } @SuppressSignatureCheck object AndroidLog { private const val MAX_LOG_LENGTH = 4000 // Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() private val knownLoggers = LinkedHashMap<String, String>() .apply {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
assertThat(server.receivedPongCount()).isEqualTo(0) closeWebSockets(webSocket, server) } /** * Configure the websocket to send pings every 500 ms. Artificially prevent the server from * responding to pings. The client should give up when attempting to send its 2nd ping, at about * 1000 ms. */ @Test fun unacknowledgedPingFailsConnection() { assumeNotWindows()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
* text is performed automatically by the relevant parser. * * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code * "Foo<Bar>"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the * resulting XML document is parsed, the parser API will return this text as the original literal * string {@code "Foo<Bar>"}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/contribute/concurrency.md
The connection lock is never held while doing I/O (even closing a socket) to prevent contention.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
final byte[] cmp = new byte[SIGNATURE_LENGTH]; System.arraycopy(mac.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH); // Use constant-time comparison to prevent timing attacks if (!MessageDigest.isEqual(sig, cmp)) { return false; // Signature verification failed } return true; // Signature verification succeeded
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
* This class contains NDR (Network Data Representation) encodable/decodable structures * used in DCE/RPC communications. */ public class rpc { /** * Private constructor to prevent instantiation of utility class. */ private rpc() { // Utility class } /** * UUID (Universally Unique Identifier) structure for DCE/RPC.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
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)