- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 271 for has_value (0.18 sec)
-
guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
public static final class CharsAsListHeadSubListGenerator extends TestCharListGenerator { @Override protected List<Character> create(Character[] elements) { Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE}; Character[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class CharsAsListTailSubListGenerator extends TestCharListGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
} } public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator { @Override protected List<Short> create(Short[] elements) { Short[] suffix = {Short.MIN_VALUE, Short.MAX_VALUE}; Short[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class ShortsAsListTailSubListGenerator extends TestShortListGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
} } public static final class LongsAsListHeadSubListGenerator extends TestLongListGenerator { @Override protected List<Long> create(Long[] elements) { Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class LongsAsListTailSubListGenerator extends TestLongListGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
checkPositionIndexes(fromIndex, toIndex, array.length); for (int i = fromIndex; i < toIndex; i++) { array[i] ^= Long.MAX_VALUE; } Arrays.sort(array, fromIndex, toIndex); for (int i = fromIndex; i < toIndex; i++) { array[i] ^= Long.MAX_VALUE; } } /** * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit * quantities.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 21:04:48 UTC 2024 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0); } // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE)); IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraph.java
* * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). * * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}. * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ @Override int degree(N node); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
} } public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator { @Override protected List<Float> create(Float[] elements) { Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class FloatsAsListTailSubListGenerator extends TestFloatListGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
} } public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator { @Override protected List<Float> create(Float[] elements) { Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class FloatsAsListTailSubListGenerator extends TestFloatListGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
} public static final class IntsAsListHeadSubListGenerator extends TestIntegerListGenerator { @Override protected List<Integer> create(Integer[] elements) { Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; Integer[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } } public static final class IntsAsListTailSubListGenerator extends TestIntegerListGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE]; for (int i = 0; i < SAMPLE_SIZE; i++) { xInts[i] = random.nextInt(Integer.MAX_VALUE); yInts[i] = random.nextInt(Integer.MAX_VALUE); xLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; yLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; constant[i] = random.nextInt(); } } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0)