- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 444 for compares (0.33 sec)
-
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
*/ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible @NullMarked public class PeekingIteratorTest extends TestCase { /** * Version of {@link IteratorTester} that compares an iterator over a given collection of elements * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an * iterator (used as the target iterator). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
} /** * Compares the two specified {@code long} values. The sign of the value returned is the same as * that of {@code ((Long) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Long#compare} method instead. * * @param a the first {@code long} to compare * @param b the second {@code long} to compare
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } // mustRead reads from input and compares against provided slice. mustRead := func(b ...byte) error { for _, want := range b { got, err := cr.reader.ReadByte() if err == io.EOF { return io.ErrUnexpectedEOF } if got != want {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
* This method always compares the full length of both arrays, regardless of when * differences are found, making the execution time independent of the position * of differing characters. * * @param a first char array to compare * @param b second char array to compare * @return true if arrays are equal, false otherwise */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
} /** * Compares this unsigned integer to another unsigned integer. Returns {@code 0} if they are * equal, a negative number if {@code this < other}, and a positive number if {@code this > * other}. */ @Override public int compareTo(UnsignedInteger other) { checkNotNull(other); return compare(value, other.value); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertThat(reverse).isNotNull(); } public void testBuilderAsymptotics() { int[] compares = {0}; Comparator<Integer> countingComparator = (i, j) -> { compares[0]++; return i.compareTo(j); }; ImmutableSortedSet.Builder<Integer> builder = new ImmutableSortedSet.Builder<Integer>(countingComparator, 10);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* java.util.concurrent.atomic} package specification for description of the properties of atomic * variables. * * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as * {@link #compareAndSet} by comparing their bitwise representation using {@link * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
assertTrue( comparator + ".compare(" + lesser + ", " + t + ")", comparator.compare(lesser, t) < 0); } assertEquals(comparator + ".compare(" + t + ", " + t + ")", 0, comparator.compare(t, t)); for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) { T greater = valuesInExpectedOrder.get(j); assertTrue( comparator + ".compare(" + greater + ", " + t + ")",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
} else { NtlmPasswordAuthenticator.cloneInternal(to, from); } } /** * Compares two {@code NtlmPasswordAuthentication} objects for * equality. Two {@code NtlmPasswordAuthentication} objects are equal if
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0)