Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 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 Dec 26 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. 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 {
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. 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));
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. 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()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. cmd/erasure-metadata_test.go

    		mkTest(16, 4, 9),
    		// non-tiered object require read quorum of EcM
    		nonTieredTest(15, 3, 12),
    		// non-tiered object with fewer than EcM in consensus
    		nonTieredTest(15, 3, 11),
    		// non-tiered object require read quorum of EcM
    		nonTieredTest(16, 4, 12),
    		// non-tiered object with fewer than EcM in consensus
    		nonTieredTest(16, 4, 11),
    	}
    	for i, test := range tests {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  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() {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top