- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 174 for fewer (0.02 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
public void testAssertEqualInOrder() { List<?> list = asList("a", "b", "c"); assertEqualInOrder(list, list); List<?> fewer = asList("a", "b"); assertThrows(AssertionFailedError.class, () -> assertEqualInOrder(list, fewer)); assertThrows(AssertionFailedError.class, () -> assertEqualInOrder(fewer, list)); List<?> differentOrder = asList("a", "c", "b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 09 19:16:24 GMT 2026 - 4.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
public void testAssertEqualInOrder() { List<?> list = asList("a", "b", "c"); assertEqualInOrder(list, list); List<?> fewer = asList("a", "b"); assertThrows(AssertionFailedError.class, () -> assertEqualInOrder(list, fewer)); assertThrows(AssertionFailedError.class, () -> assertEqualInOrder(fewer, list)); List<?> differentOrder = asList("a", "c", "b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 09 19:16:24 GMT 2026 - 4.4K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
* @author Hayward Chan */ @GwtCompatible final class Platform { // Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod // mode. static int listListIteratorTesterNumIterations() { // TODO(hhchan): It's 4 in java. Figure out why even 3 is too slow in prod mode. return 2; } // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod // mode.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
* returns a new instance. * * This collection is optimized for safe concurrent access over a very small number of elements. * * This collection and is expected to hold fewer than 10 elements. Each operation is _O(N)_, and so * building an instance with _N_ elements is _O(N**2)_. */ internal sealed class Tags { /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
} return maxSoFar; } /** * Returns the {@code k} least elements of the given iterable according to this ordering, in order * from least to greatest. If there are fewer than {@code k} elements present, all will be * included. * * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multipleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
Element simplelist = document.createElement("simplelist"); int columns = 3; if (classDoc.getSubClasses().size() <= 3) { // if there are only 3 or fewer known subtypes, render them // in a single column columns = 1; } simplelist.setAttribute("columns", String.valueOf(columns));
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
* this address. * * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled * connection uses HTTP/2. That results in fewer sockets overall and thus fewer TCP slow starts. */ internal fun planReusePooledConnection( planToReplace: ConnectPlan? = null, routes: List<Route>? = null, ): ReusePlan? { val result =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
} return maxSoFar; } /** * Returns the {@code k} least elements of the given iterable according to this ordering, in order * from least to greatest. If there are fewer than {@code k} elements present, all will be * included. * * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multipleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* Returns {@code true} if each element in {@code iterable} after the first is greater than or * equal to the element that preceded it, according to the specified comparator. Note that this is * always true when the iterable has fewer than two elements. */ public static <T extends @Nullable Object> boolean isInOrder( Iterable<? extends T> iterable, Comparator<T> comparator) { checkNotNull(comparator);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Comparators.java
* Returns {@code true} if each element in {@code iterable} after the first is greater than or * equal to the element that preceded it, according to the specified comparator. Note that this is * always true when the iterable has fewer than two elements. */ public static <T extends @Nullable Object> boolean isInOrder( Iterable<? extends T> iterable, Comparator<T> comparator) { checkNotNull(comparator);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.5K bytes - Click Count (0)