- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 199 for Vints (0.15 sec)
-
guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java
private static final int[] nonzero = new int[ARRAY_SIZE]; private static final int[] ints = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positive[i] = randomPositiveBigInteger(Integer.SIZE - 2).intValue(); nonzero[i] = randomNonZeroBigInteger(Integer.SIZE - 2).intValue(); ints[i] = RANDOM_SOURCE.nextInt(); } }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Hashing.java
import com.google.common.primitives.Ints; import javax.annotation.CheckForNull; /** * Static methods for implementing hash-based collections. * * @author Kevin Bourrillion * @author Jesse Wilson * @author Austin Appleby */ @GwtCompatible @ElementTypesAreNonnullByDefault final class Hashing { private Hashing() {} /*
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Aug 05 00:40:25 GMT 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} public void testToLong() { for (long a : UNSIGNED_INTS) { assertThat(UnsignedInts.toLong((int) a)).isEqualTo(a); } } public void testCompare() { for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { int cmpAsLongs = Longs.compare(a, b); int cmpAsUInt = UnsignedInts.compare((int) a, (int) b);
Java - Registered: Fri Mar 15 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} public void testToLong() { for (long a : UNSIGNED_INTS) { assertThat(UnsignedInts.toLong((int) a)).isEqualTo(a); } } public void testCompare() { for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { int cmpAsLongs = Longs.compare(a, b); int cmpAsUInt = UnsignedInts.compare((int) a, (int) b);
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
private static int[] binomial = new int[ARRAY_SIZE]; private static final int[] positive = new int[ARRAY_SIZE]; private static final int[] nonnegative = new int[ARRAY_SIZE]; private static final int[] ints = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { exponent[i] = randomExponent(); factorial[i] = RANDOM_SOURCE.nextInt(50);
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
/** * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua">{@code Sec-CH-UA}</a> * header field name. * * @since 30.0 */ public static final String SEC_CH_UA = "Sec-CH-UA"; /** * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-arch">{@code * Sec-CH-UA-Arch}</a> header field name. * * @since 30.0 */
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Fri Mar 15 18:46:41 GMT 2024 - 34K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
import com.google.common.collect.testing.SampleElements.Ints; import java.util.List; import java.util.Set; /** * Create integer sets for collection tests. * * @author Gregory Kick */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { @Override public SampleElements<Integer> samples() { return new Ints(); } @Override
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.1K bytes - Viewed (0) -
common-protos/k8s.io/api/discovery/v1/generated.proto
optional string nodeName = 6; // zone is the name of the Zone this endpoint exists in. // +optional optional string zone = 7; // hints contains information associated with how an endpoint should be // consumed. // +optional optional EndpointHints hints = 8; } // EndpointConditions represents the current condition of an endpoint. message EndpointConditions {
Plain Text - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
ListTestSuiteBuilder.using(new IntsAsListTailSubListGenerator()) .named("Ints.asList, tail subList"), ListTestSuiteBuilder.using(new IntsAsListMiddleSubListGenerator()) .named("Ints.asList, middle subList")); TestSuite suite = new TestSuite(); for (ListTestSuiteBuilder<Integer> builder : builders) { suite.addTest( builder
Java - Registered: Fri Mar 15 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java
for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5))) { TopKSelector<Integer> top = TopKSelector.least(4); top.offerAll(list); assertThat(top.topK()).containsExactly(1, 2, 3, 4).inOrder(); } } public void testOfferedThreeK() { for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5, 6))) {
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.9K bytes - Viewed (0)