- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 307 for inconsistent (0.29 sec)
-
guava-testlib/src/com/google/common/testing/EqualsTester.java
!item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals( "the Object#hashCode of " + item + " must be consistent", item.hashCode(), item.hashCode()); if (!(item instanceof String)) { assertTrue( item + " must not be Object#equals to its Object#toString representation",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
{"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}}, {string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}}, } // Tests hashing order to be consistent. for i, testCase := range testCases { hashedOrder := hashOrder(testCase.objectName, 16) if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
// Setup final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY); final String message = "Consistent message code test"; // Execute final InvalidQueryException exception = new InvalidQueryException(messageCode, message); // Verify getMessageCode returns the same instance
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
import org.junit.jupiter.api.extension.ReflectiveInvocationContext import org.openjsse.net.ssl.OpenJSSE import org.opentest4j.TestAbortedException /** * Marks a test as Platform aware, before the test runs a consistent Platform will be * established e.g. SecurityProvider for Conscrypt installed. * * Also allows a test file to state general platform assumptions, or for individual test. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Act byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password)); byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password); // Assert: overloads consistent assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key"); // Changing domain should change the key (domain is part of MAC input)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
public void test_implementsInterface() { assertTrue(invokerAssistant instanceof InvokerAssistant); } // Test multiple calls to the same method return consistent results public void test_methodConsistency() { // Test assistClientInvokeNames consistency String[] names1 = invokerAssistant.assistClientInvokeNames();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertEquals(item1.hashCode(), item2.hashCode()); // Different input should have different hashCode assertNotSame(item1.hashCode(), item3.hashCode()); // Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } public void test_hashCode_withNullInput() { // Test hashCode with null input should throw NullPointerException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
/** * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose * comparator is not <i>consistent with equals</i>), the results of this method are undefined. * * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code * ImmutableClassToInstanceMap}, no copy will actually be performed.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
} // Test multiple calls to getServletPath public void test_getServletPath_multipleCallsReturnSameResult() { final String customPath = "/api/v1/consistent"; mockRequest.setQueryString("query=test"); webApiRequest = new WebApiRequest(mockRequest, customPath); String firstCall = webApiRequest.getServletPath();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
* without grabbing the lock. * * <p>To update this field correctly the lock must be held to guarantee that the state is * consistent. */ private volatile StateSnapshot snapshot = new StateSnapshot(NEW); /** Constructor for use by subclasses. */ protected AbstractService() {} /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0)