Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for fewer (0.18 sec)

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

        List<?> list = Arrays.asList("a", "b", "c");
        Helpers.assertEqualInOrder(list, list);
    
        List<?> fewer = Arrays.asList("a", "b");
        try {
          Helpers.assertEqualInOrder(list, fewer);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertEqualInOrder(fewer, list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        List<?> list = Arrays.asList("a", "b", "c");
        Helpers.assertEqualInOrder(list, list);
    
        List<?> fewer = Arrays.asList("a", "b");
        try {
          Helpers.assertEqualInOrder(list, fewer);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertEqualInOrder(fewer, list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  3. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

     */
    @GwtCompatible(emulated = true)
    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.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 04 15:31:40 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. 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));
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/main/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 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. 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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (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);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/erasure/storage-class/README.md

    The default value for the `STANDARD` storage class depends on the number of volumes in the erasure set:
    
    | Erasure Set Size | Default Parity (EC:N) |
    |------------------|-----------------------|
    | 5 or fewer       |                 EC:2  |
    | 6-7              |                 EC:3  |
    | 8 or more        |                 EC:4  |
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  10. src/bytes/example_test.go

    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    func ExampleBuffer_Grow() {
    	var b bytes.Buffer
    	b.Grow(64)
    	bb := b.Bytes()
    	b.Write([]byte("64 bytes or fewer"))
    	fmt.Printf("%q", bb[:b.Len()])
    	// Output: "64 bytes or fewer"
    }
    
    func ExampleBuffer_Len() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	fmt.Printf("%d", b.Len())
    	// Output: 5
    }
    
    func ExampleBuffer_Next() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top