- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for descending (0.08 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) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
TestSortedSetGenerator<E> delegate, Bound to, Bound from) { return using(new NavigableSetSubsetTestSetGenerator<E>(delegate, to, from)); } /** Create a suite whose maps are descending views of other maps. */ private TestSuite createDescendingSuite( FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
List<Feature<?>> features = new ArrayList<>(); features.add(NoRecurse.DESCENDING); features.addAll(parentBuilder.getFeatures()); return subSuiteUsing(new DescendingTestMapGenerator<K, V>(delegate)) .named(parentBuilder.getName() + " descending") .withFeatures(features) .suppressing(parentBuilder.getSuppressedTests()) .createTestSuite(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testDescendingNavigation() { List<E> descending = new ArrayList<>(); for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) { descending.add(i.next()); } Collections.reverse(descending); assertEquals(values, descending); } public void testEmptySubSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
List<Feature<?>> features = new ArrayList<>(); features.add(NoRecurse.DESCENDING); features.addAll(parentBuilder.getFeatures()); return subSuiteUsing(new DescendingTestMapGenerator<K, V>(delegate)) .named(parentBuilder.getName() + " descending") .withFeatures(features) .suppressing(parentBuilder.getSuppressedTests()) .createTestSuite(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testDescendingNavigation() { List<E> descending = new ArrayList<>(); for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) { descending.add(i.next()); } Collections.reverse(descending); assertEquals(values, descending); } public void testEmptySubSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K 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/google/SortedMultisetTestSuiteBuilder.java
} /** * To avoid infinite recursion, test suites with these marker features won't have derived suites * created for them. */ enum NoRecurse implements Feature<Void> { SUBMULTISET, DESCENDING; @Override public Set<Feature<? super Void>> getImpliedFeatures() { return emptySet(); } } /** Two bounds (from and to) define how to build a subMultiset. */ enum Bound {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12K bytes - Viewed (0)