Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for fewer (0.01 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        List<?> list = asList("a", "b", "c");
        assertEqualInOrder(list, list);
    
        List<?> fewer = asList("a", "b");
        try {
          assertEqualInOrder(list, fewer);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertEqualInOrder(fewer, list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        List<?> list = asList("a", "b", "c");
        assertEqualInOrder(list, list);
    
        List<?> fewer = asList("a", "b");
        try {
          assertEqualInOrder(list, fewer);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertEqualInOrder(fewer, list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. 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 =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       *     the size of the iterable
       * @return the element at the specified position in {@code iterable} or {@code defaultValue} if
       *     {@code iterable} contains fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterables.java

       *     the size of the iterable
       * @return the element at the specified position in {@code iterable} or {@code defaultValue} if
       *     {@code iterable} contains fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

              }
    
              if (lengthBits < 0) throw ProtocolException("length > Long.MAX_VALUE")
    
              lengthBits
            }
            else -> {
              // Length is 127 or fewer bytes.
              (length0 and 0b0111_1111).toLong()
            }
          }
    
        // Note that this may be be an encoded "end of data" header.
        return DerHeader(tagClass, tag, constructed, length)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

     * the columns. The reverse is also available, associating a column with a row key / value map. Note
     * that, in some implementations, data access by column key may have fewer supported operations or
     * worse performance than data access by row key.
     *
     * <p>The methods returning collections or maps always return views of the underlying table.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TopKSelector.java

        while (elements.hasNext()) {
          offer(elements.next());
        }
      }
    
      /**
       * Returns the top {@code k} elements offered to this {@code TopKSelector}, or all elements if
       * fewer than {@code k} have been offered, in the order specified by the factory used to create
       * this {@code TopKSelector}.
       *
       * <p>The returned list is an unmodifiable copy and will not be affected by further changes to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top