- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 714 for prevent (0.07 sec)
-
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) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
* Tests all SMB2 protocol constants and their expected values */ @DisplayName("Smb2Constants Test Suite") class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation") void testPrivateConstructor() throws Exception { // Verify constructor is private Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
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) -
android/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, so
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
return keepAliveDurationNs } else -> { // No connections, idle or in use. return -1 } } } /** Returns true if no address policies prevent [connection] from being evicted. */ private fun isEvictable( addressStates: Map<Address, AddressState>, connection: RealConnection, ): Boolean {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
cmd/local-locker.go
// Reject new lock requests immediately when this many are queued // for the local lock mutex. // We do not block unlocking or maintenance, but they add to the count. // The limit is set to allow for bursty behavior, // but prevent requests to overload the server completely. // Rejected clients are expected to retry. const lockMutexWaitLimit = 1000 // lockRequesterInfo stores various info from the client for each lock that is requested.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
// Test that the first generated instance for different cgcb.Optional<T> is always absent(). // Having generated cgcb.Optional<String> instances doesn't prevent absent() from being // generated for other cgcb.Optional types. assertEquals( com.google.common.base.Optional.absent(), generator.generateFresh(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
import jcifs.smb1.dcerpc.ndr.NdrObject; /** * Server Service RPC interface implementation for remote server administration (SMB1). */ public class srvsvc { /** * Private constructor to prevent instantiation. */ private srvsvc() { } /** * Gets the RPC interface syntax string. * @return the interface UUID and version */ public static String getSyntax() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
docs/security/README.md
The *Secure Channel* splits the object content into chunks of a fixed size of `65536` bytes. The last chunk may be smaller to avoid adding additional overhead and is treated specially to prevent truncation attacks. The nonce value is 96 bits long and generated randomly per object / multi-part part. The *Secure Channel* supports plaintexts up to `65536 * 2^32 = 256 TiB`. #### Randomness
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 13.8K bytes - Viewed (0)