- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 358 for Both (2.62 sec)
-
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
Subject second = auth.getSubject(); if (first == null && second == null) { // Both null - caching is working assertNull(second, "Second getSubject should return same result as first (both null)"); } else if (first != null && second != null) { // Both non-null - should be same instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
return newArray; } /** * Returns an array that is the concatenation of two arrays. * <p> * If either or both arrays are {@literal null}, the other array is returned as is. * If either or both arrays have a length of {@literal 0}, the other array is returned as is. * In any case, the returned array is the same instance as the argument array and is not copied. * </p>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data) r.eof = true return n, nil } // Wrapper for calling testMakeBucket for both Erasure and FS. func TestMakeBucket(t *testing.T) { ExecObjectLayerTest(t, testMakeBucket) } // Tests validate bucket creation. func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
public void testConstructorWithMessageAndCause() { // Create exception with both message and cause String message = "Transport error occurred"; IllegalStateException rootCause = new IllegalStateException("State error"); TransportException exception = new TransportException(message, rootCause); // Verify both message and cause are set correctly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
/** * Do not instantiate. */ protected ObjectUtil() { } /** * Returns true if the two objects are equal, or both are null. * * @param object1 the first object * @param object2 the second object * @return true if equal or both null, false otherwise */ public static boolean equals(final Object object1, final Object object2) { if (object1 == object2) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
} /** * Test the constructor with both a message and a cause. */ @Test void testMessageAndCauseConstructor() { String errorMessage = "This is a test error message."; Throwable cause = new RuntimeException("Root cause"); PACDecodingException e = new PACDecodingException(errorMessage, cause); // Expect both the message and the cause to be set correctly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* <li>{@code equivalent(x, y)} and {@code equivalent(y, x)} each return the same result * (<i>symmetric</i> property) * <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code * equivalent(x, z)} is also true (<i>transitive</i> property) * </ul> * * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
} /** * Registers a data store instance with the factory using the specified name. * The data store will be accessible by both the provided name and its class simple name, * both converted to lowercase for case-insensitive lookup. * * @param name the name to register the data store under, must not be null
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of * p / q. * * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise. */ int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1)); boolean increment; switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(rem == 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
* text during indexing and search operations. * * <p>Each mapping item consists of one or more input character sequences that are mapped to a single output * character sequence. The mapping supports both original values and new values for update operations.</p> */ public class CharMappingItem extends DictionaryItem { /** * Array of input character sequences that will be mapped to the output sequence.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0)