- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 296 for inconsistent (0.1 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
long timeSameLength = measureEqualsTime(auth3, auth4, TIMING_ITERATIONS); // Timing should be relatively consistent regardless of length differences double maxTime = Math.max(timeDiffLength, timeSameLength); double minTime = Math.min(timeDiffLength, timeSameLength);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
if (value <= 0) { throw new IllegalArgumentException(name + " must be positive but was: " + value); } } /** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) { checkState(canRemove, "no calls to next() since the last call to remove()"); } private CollectPreconditions() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertEquals(443, httpsPort); assertNotEquals(jcifs.http.Handler.DEFAULT_HTTP_PORT, httpsPort); } @Test @DisplayName("Should return consistent port value") void testPortConsistency() { // When int port1 = handler.getDefaultPort(); int port2 = handler.getDefaultPort(); int port3 = handler.getDefaultPort();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
assertThat(networkA).isEqualTo(networkB); } /** * In some cases our graph implementations return custom sets that define their own size() and * contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue static <T> Set<T> sanityCheckSet(Set<T> set) { assertThat(set).hasSize(Iterators.size(set.iterator())); for (Object element : set) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* {@code equals} would break symmetry, as the forwarding object might consider itself equal to the * object being tested, but the reverse could not be true. This behavior is consistent with the * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
} /** * Creates a function that returns the same boolean output as the given predicate for all inputs. * * <p>The returned function is <i>consistent with equals</i> (as documented at {@link * Function#apply}) if and only if {@code predicate} is itself consistent with equals. * * <p>Prefer to use the method reference {@code predicate::test} instead. Note that it is not
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(2 + (count * 2), encoded); // Note: size() returns 4 + count*2, but encode returns 2 + count*2 // This is an implementation inconsistency in the original code assertNotEquals(context.size(), encoded); assertEquals(4 + (count * 2), context.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
String result = crawlerEngineClient.toString(); assertNotNull(result); } // Test hashCode method public void test_hashCode() { // Test that hashCode returns consistent value int hashCode1 = crawlerEngineClient.hashCode(); int hashCode2 = crawlerEngineClient.hashCode(); assertEquals(hashCode1, hashCode2); } // Test equals method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@Test @DisplayName("getOpnum should be consistent across multiple calls") void testGetOpnumConsistency() { // When int opnum1 = bind.getOpnum(); int opnum2 = bind.getOpnum(); int opnum3 = bind.getOpnum(); // Then assertEquals(opnum1, opnum2, "Opnum should be consistent");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should write consistent structure at different offsets") void testWriteBytesAtDifferentOffsets(int offset) { // Given Configuration mockConfig = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)