- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 475 for compares (0.04 sec)
-
android/guava-tests/test/com/google/common/primitives/IntsTest.java
public void testCompare() { for (int x : VALUES) { for (int y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y)); } } } public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).isFalse(); assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testCompare() { for (float x : VALUES) { for (float y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y)); } } } public void testContains() { assertThat(Floats.contains(EMPTY, 1.0f)).isFalse(); assertThat(Floats.contains(ARRAY1, 2.0f)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
private static final BigInteger MIN_INT = BigInteger.valueOf(Integer.MIN_VALUE); private static int saturatedCast(BigInteger big) { if (big.compareTo(MAX_INT) > 0) { return Integer.MAX_VALUE; } if (big.compareTo(MIN_INT) < 0) { return Integer.MIN_VALUE; } return big.intValue(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
LICENSES/vendor/github.com/containerd/errdefs/pkg/LICENSE
for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Mar 05 11:36:39 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
} /** CASes the busy field from 0 to 1 to acquire lock. */ final boolean casBusy() { return UNSAFE.compareAndSwapInt(this, BUSY_OFFSET, 0, 1); } /** * Computes the function of current and new value. Subclasses should open-code this update * function for most uses, but the virtualized form is needed within retryUpdate. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
byte[] messageBytes = original.toByteArray(); // When Type3Message parsed = new Type3Message(messageBytes); // Then // Note: getType() method does not exist, so we cannot compare message types assertEquals(original.getDomain(), parsed.getDomain()); assertEquals(original.getUser(), parsed.getUser()); assertEquals(original.getWorkstation(), parsed.getWorkstation()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
NbtAddress nbtAddress3 = new NbtAddress(mockName3, 0xC0A80102, false, NbtAddress.H_NODE); // Different address assertTrue(nbtAddress1.equals(nbtAddress2)); // Should be true as only address is compared assertFalse(nbtAddress1.equals(nbtAddress3)); assertFalse(nbtAddress1.equals(null)); assertFalse(nbtAddress1.equals("some string")); } @Test void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
LICENSE.txt
for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 23 14:02:28 UTC 2012 - 11.1K bytes - Viewed (0) -
LICENSES/vendor/github.com/containerd/ttrpc/LICENSE
for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri May 08 04:49:00 UTC 2020 - 11.2K bytes - Viewed (0) -
LICENSES/vendor/github.com/coreos/go-systemd/v22/LICENSE
additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Jun 16 15:14:16 UTC 2021 - 10.2K bytes - Viewed (0)