- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,043 for integers (0.2 sec)
-
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertEquals( ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers())); assertEquals( ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); } @GwtIncompatible // SerializableTester
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 19.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
* * @throws IllegalArgumentException if {@code lower} is greater than {@code upper} * @since 23.0 */ public static ContiguousSet<Integer> closed(int lower, int upper) { return create(Range.closed(lower, upper), DiscreteDomain.integers()); } /** * Returns a nonempty contiguous set containing all {@code long} values from {@code lower}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
return (i == Integer.MIN_VALUE) ? null : i - 1; } @Override Integer offset(Integer origin, long distance) { checkNonnegative(distance, "distance"); return Ints.checkedCast(origin.longValue() + distance); } @Override public long distance(Integer start, Integer end) { return (long) end - start; } @Override public Integer minValue() { return Integer.MIN_VALUE;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
* * @throws IllegalArgumentException if {@code lower} is greater than {@code upper} * @since 23.0 */ public static ContiguousSet<Integer> closed(int lower, int upper) { return create(Range.closed(lower, upper), DiscreteDomain.integers()); } /** * Returns a nonempty contiguous set containing all {@code long} values from {@code lower}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
return (i == Integer.MIN_VALUE) ? null : i - 1; } @Override Integer offset(Integer origin, long distance) { checkNonnegative(distance, "distance"); return Ints.checkedCast(origin.longValue() + distance); } @Override public long distance(Integer start, Integer end) { return (long) end - start; } @Override public Integer minValue() { return Integer.MIN_VALUE;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy
def "flattenToList"() { given: def integers = [1, 2, 3] expect: flattenCollections([1, 2, 3] as Set) == [1, 2, 3] flattenCollections("asdfa") == ["asdfa"] flattenCollections(null) == [null] flattenCollections([null, [null, null]]) == [null, null, null] flattenCollections(integers) == integers flattenCollections([1, 2, 3] as Set) == [1, 2, 3]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// the modulus x%c and comparing against 0. // // The same "Division by invariant integers using multiplication" paper // by Granlund and Montgomery referenced above briefly mentions this method // and it is further elaborated in "Hacker's Delight" by Warren Section 10-17 // // The first thing to note is that for odd integers, exact division can be computed // by using the modular inverse with respect to the word size 2^n. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
/** * Sorts the array, treating its elements as unsigned 32-bit integers. * * @since 23.1 */ public static void sort(int[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned 32-bit integers. * * @since 23.1 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 13.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInts.java
/** * Sorts the array, treating its elements as unsigned 32-bit integers. * * @since 23.1 */ public static void sort(int[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned 32-bit integers. * * @since 23.1 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 13.4K bytes - Viewed (0)