- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for varargs (0.04 sec)
-
guava-tests/test/com/google/common/math/QuantilesTest.java
* - median with compute taking a double-collection and with computeInPlace; * - quartiles with index and with indexes taking int-varargs, and with compute taking a * double-collection and with computeInPlace; * - scale with index and with indexes taking int-varargs, and with all overloads of compute * taking a double-collection and with computeInPlace;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
* - median with compute taking a double-collection and with computeInPlace; * - quartiles with index and with indexes taking int-varargs, and with compute taking a * double-collection and with computeInPlace; * - scale with index and with indexes taking int-varargs, and with all overloads of compute * taking a double-collection and with computeInPlace;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* @param max the upper bound (inclusive) of the range to constrain {@code value} to * @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ // A call to bare "min" or "max" would resolve to our varargs method, not to any static import. @SuppressWarnings("StaticImportPreferred") public static int constrainToRange(int value, int min, int max) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.toArray(longs)).isEqualTo(array); assertThat(Doubles.toArray(doubles)).isEqualTo(array); } @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays. public void testAsList_isAView() { double[] array = {0.0, 1.0}; List<Double> list = Doubles.asList(array); list.set(0, 2.0); assertThat(array).isEqualTo(new double[] {2.0, 1.0});
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.toArray(floats)).isEqualTo(array); assertThat(Ints.toArray(longs)).isEqualTo(array); assertThat(Ints.toArray(doubles)).isEqualTo(array); } @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays. public void testAsList_isAView() { int[] array = {(int) 0, (int) 1}; List<Integer> list = Ints.asList(array); list.set(0, (int) 2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(Shorts.toArray(floats)).isEqualTo(array); assertThat(Shorts.toArray(longs)).isEqualTo(array); assertThat(Shorts.toArray(doubles)).isEqualTo(array); } @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays. public void testAsList_isAView() { short[] array = {(short) 0, (short) 1}; List<Short> list = Shorts.asList(array); list.set(0, (short) 2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11) { return construct(e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11); } // These go up to eleven. After that, you just get the varargs form, and // whatever warnings might come along with it. :( /** * Returns an immutable list containing the given elements, in order. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
} /* * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is * unlikely in practice there, too.) */ /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
} fun assertHasErrors(vararg errors: String) { assertThat("Has errors", richReport.errors.map { it.message }, inAnyOrder(errors)) } fun assertHasWarnings(vararg warnings: String) { assertThat("Has warnings", richReport.warnings.map { it.message }, inAnyOrder(warnings)) } fun assertHasInformation(vararg information: String) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 18K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
* provider will not be present. If more than one input provider * has a value specified, the resulting provider will throw an * exception when queried. */ fun <T: Any> atMostOneOf(vararg providers: Provider<T>): Provider<T> { return providers.map { provider -> provider.map { Optional.of(it) }.orElse( Optional.empty<T>() )
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.9K bytes - Viewed (0)