- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 702 for Both (0.29 sec)
-
internal/config/storageclass/storage-class.go
if err != nil { return Config{}, err } } else { cfg.RRS.Parity = defaultRRSParity if setDriveCount == 1 { cfg.RRS.Parity = 0 } } // Validation is done after parsing both the storage classes. This is needed because we need one // storage class value to deduce the correct value of the other storage class. if err = validateParity(cfg.Standard.Parity, cfg.RRS.Parity, setDriveCount); err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
return false; // this.size() < that.size() } // the base implementation from AbstractSet uses size() and containsAll() // both require iterating over the entire SetView // we avoid iterating twice by doing the equivalent of both in one iteration int thisSize = 0; for (E e : this) { try { if (!that.contains(e)) { return false; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* This type is created by calls to {@link #patchModule(String)} and a new instance must be created for * every module to patch.</p> * * <p>Path types are often exclusive. For example, a dependency should not be both on the Java class path * and on the Java module path.</p> * * <h2>Relationship with Java compiler standard location</h2> * This enumeration is closely related to the {@link JavaFileManager.Location} enumerations.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
internal/bucket/object/lock/lock_test.go
expectedErr: nil, expectErr: false, }, { value: DefaultRetention{Mode: RetGovernance, Days: &days, Years: &years}, expectedErr: fmt.Errorf("either Days or Years must be specified, not both"), expectErr: true, }, { value: DefaultRetention{Mode: RetGovernance, Days: &zerodays}, expectedErr: fmt.Errorf("Default retention period must be a positive integer value for 'Days'"),Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
import jakarta.annotation.PreDestroy; import jakarta.annotation.Resource; /** * A container implementation that manages the lifecycle and dependency injection of components * in a crawler application. This container supports both singleton and prototype component * instantiation patterns. * * <p>The container provides mechanisms for: * <ul> * <li>Registering and retrieving components by name</li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertNull(context.getSalt()); assertEquals(6, context.size()); // 4 header + 2 for one hash algo } @Test @DisplayName("Should handle both null parameters") void testBothNullParameters() { context = new PreauthIntegrityNegotiateContext(mockConfig, null, null); assertNull(context.getHashAlgos());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
* parameter type should be convertible * @param actual the actual parameter type. * @return true if either formal type is assignable from actual type, * or formal and actual are both primitive types and actual can be * subject to widening conversion to formal. */ private static boolean isStrictMethodInvocationConvertible(Class<?> formal, Class<?> actual) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 14.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
// US region agents have name "EC2-XXX" doesNotContain("teamcity.agent.name", "EC2") } /** * We have some "shared" host where a Linux build agent and a Windows build agent * both run on the same bare metal. Some builds require exclusive access to the * hardware resources (e.g. performance test). */ fun Requirements.requiresNotSharedHost() { doesNotContain("agent.host.type", "shared") }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 22 07:15:16 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
SmbTransportPoolImpl poolSpy = spy(pool); when(ctx.getTransportPool()).thenReturn(poolSpy); // Both transports fail SmbTransportImpl trans1 = mock(SmbTransportImpl.class); SmbTransportImpl trans2 = mock(SmbTransportImpl.class); IOException firstException = new IOException("First failure");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
/** * Returns the raw response received from the cache. Will be null if this response didn't use * the cache. For conditional get requests the cache response and network response may both be * non-null. The body of the returned response should not be read. */ @get:JvmName("cacheResponse") val cacheResponse: Response?, /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0)