- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for ascending (0.1 sec)
-
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
// Test 32 byte arrays of ascending. byte[] ascending = new byte[32]; for (int i = 0; i < 32; i++) { ascending[i] = (byte) i; } assertCrc(0x46dd794e, ascending); } public void testDescending() { // Test 32 byte arrays of descending. byte[] descending = new byte[32]; for (int i = 0; i < 32; i++) { descending[i] = (byte) (31 - i); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
// Test 32 byte arrays of ascending. byte[] ascending = new byte[32]; for (int i = 0; i < 32; i++) { ascending[i] = (byte) i; } assertCrc(0x46dd794e, ascending); } public void testDescending() { // Test 32 byte arrays of descending. byte[] descending = new byte[32]; for (int i = 0; i < 32; i++) { descending[i] = (byte) (31 - i); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java
* * @since 4.0.0 */ @Experimental @Consumer public interface VersionRangeResolver extends Service { /** * Expands a version range to a list of matching versions, in ascending order. * For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2". * The returned list of versions is only dependent on the configured repositories and their contents.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
public void testDescendingNavigation() { List<Entry<E>> ascending = new ArrayList<>(); Iterators.addAll(ascending, sortedMultiset.entrySet().iterator()); List<Entry<E>> descending = new ArrayList<>(); Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator()); Collections.reverse(descending); assertEquals(ascending, descending); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
*/ enum NoRecurse implements Feature<@Nullable Void> { SUBMAP, DESCENDING; @Override public Set<Feature<? super @Nullable Void>> getImpliedFeatures() { return emptySet(); } } /** * Creates a suite whose map has some elements filtered out of view. * * <p>Because the map may be ascending or descending, this test must derive the relative order of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
*/ enum NoRecurse implements Feature<@Nullable Void> { SUBMAP, DESCENDING; @Override public Set<Feature<? super @Nullable Void>> getImpliedFeatures() { return emptySet(); } } /** * Creates a suite whose map has some elements filtered out of view. * * <p>Because the map may be ascending or descending, this test must derive the relative order of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
} return derivedSuites; } /** * Creates a suite whose set has some elements filtered out of view. * * <p>Because the set may be ascending or descending, this test must derive the relative order of * these extreme values rather than relying on their regular sort ordering. */ final TestSuite createSubsetSuite(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
} return derivedSuites; } /** * Creates a suite whose set has some elements filtered out of view. * * <p>Because the set may be ascending or descending, this test must derive the relative order of * these extreme values rather than relying on their regular sort ordering. */ final TestSuite createSubsetSuite(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
public void testDescendingNavigation() { List<Entry<E>> ascending = new ArrayList<>(); Iterators.addAll(ascending, sortedMultiset.entrySet().iterator()); List<Entry<E>> descending = new ArrayList<>(); Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator()); Collections.reverse(descending); assertEquals(ascending, descending); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
/** * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it, * relative to the natural ordering of the elements, and returns them via {@link #topK} in * ascending order. * * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2} */ public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.1K bytes - Viewed (0)