Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 152 for fewer (0.02 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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 multiple
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  6. 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)
  7. 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 multiple
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                flagIfReversed(file, errors, currentSnippets);
            }
        }
    
        /**
         * Only flags when the first two detectable snippets in the block are GROOVY then KOTLIN.
         * Ignores blocks with fewer than two detectable snippets.
         */
        private void flagIfReversed(File file, Map<File, List<Error>> errors, List<Snippet> snippets) {
            List<Snippet> pair = snippets.stream()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top