- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 307 for inconsistent (0.07 sec)
-
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) -
guava/src/com/google/common/net/InetAddresses.java
* * <p>This deliberately avoids all nameservice lookups (e.g. no DNS). * * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you * want to accept ASCII digits only, you can use something like {@code * CharMatcher.ascii().matchesAllOf(ipString)}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
CONTRIBUTING.md
- Ensure you have signed the [Contributor License Agreement (CLA)](https://cla.developers.google.com/). - Check if your changes are consistent with the [guidelines](#general-guidelines-and-philosophy-for-contribution). - Changes are consistent with the [Coding Style](#c-coding-style). - Run the [unit tests](#running-unit-tests). ## How to become a contributor and submit your own code
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat Jan 11 04:47:59 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable { var taskFaker: TaskFaker = TaskFaker()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, transWaitNamedPipe.getSubCommand()); } @Test @DisplayName("Multiple wire format operations should be consistent") void testMultipleWireFormatOperations() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); byte[] dst1 = new byte[10]; byte[] dst2 = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
assertThrows(NullPointerException.class, () -> { MessageDigest md5 = Crypto.getMD5(); md5.digest(null); }); } @Test @DisplayName("Should produce consistent hash results") void testHashConsistency() { // Given String input = "Test consistency"; byte[] data = input.getBytes(); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)