- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for isEven (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
return (n & 1) == 0; // isEven() } })); assertEquals(newArrayList("1", "3", "5"), list); assertFalse( removeIf( transformed, new Predicate<Integer>() { @Override public boolean apply(Integer n) { return (n & 1) == 0; // isEven() } }));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(expected, actual); } @GwtIncompatible // unreasonably slow public void testFilterUsingIteratorTester() { final List<Integer> list = asList(1, 2, 3, 4, 5); final Predicate<Integer> isEven = new Predicate<Integer>() { @Override public boolean apply(Integer integer) { return integer % 2 == 0; } }; new IteratorTester<Integer>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(expected, actual); } @GwtIncompatible // unreasonably slow public void testFilterUsingIteratorTester() { final List<Integer> list = asList(1, 2, 3, 4, 5); final Predicate<Integer> isEven = new Predicate<Integer>() { @Override public boolean apply(Integer integer) { return integer % 2 == 0; } }; new IteratorTester<Integer>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
} versionInvalid1 = &version.Info{ Major: "1", Minor: "7", GitVersion: "v1.invalid.7", } versionInvalid2 = &version.Info{ Major: "one", Minor: "seven", GitVersion: "one.seven", } ) func TestExtractKubernetesVersion(t *testing.T) { cases := []struct { version *version.Info expected int errMsg error isValid bool }{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
// For example: (long) data[i++] | (long) data[i++] << 8 | ... // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80, // masking the remaining seven bytes. // To test this, we give an input where bit 7 is not cleared. For example: // (1) 00 01 02 03 04 05 06 07 80 // (2) 00 01 02 03 04 05 06 07 81 // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
// For example: (long) data[i++] | (long) data[i++] << 8 | ... // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80, // masking the remaining seven bytes. // To test this, we give an input where bit 7 is not cleared. For example: // (1) 00 01 02 03 04 05 06 07 80 // (2) 00 01 02 03 04 05 06 07 81 // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Charsets.java
* * @author Mike Bostock * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Charsets { private Charsets() {} /** * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US). * * <p><b>Note:</b> this constant is now unnecessary and should be treated as deprecated; use * {@link StandardCharsets#US_ASCII} instead. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 25 23:55:36 UTC 2024 - 3.9K bytes - Viewed (0)