Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,211 for examples (0.07 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      /** A call that keeps track of whether its response body is closed. */
      private class ClosableCall : FailingCall() {
        private val response =
          Response
            .Builder()
            .request(Request("https://example.com/".toHttpUrl()))
            .protocol(Protocol.HTTP_1_1)
            .message("OK")
            .code(200)
            .body(
              object : ResponseBody() {
                override fun contentType() = null
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
     * {@snippet :
     * EquivalenceTester.of(someStringEquivalence)
     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * documentation for {@link Collection}:
       *
       * <blockquote>
       *
       * "Some collection implementations have restrictions on the elements that they may contain. For
       * example, some implementations prohibit null elements, and some have restrictions on the types
       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
     * {@snippet :
     * EquivalenceTester.of(someStringEquivalence)
     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
         * @return the hint about the source of the problem or an empty string if unknown, never {@code null}
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
            String share = "share";
            String svc = "A:"; // service string example (e.g., DISK, IPC, or other)
            SmbTree result = session.getSmbTree(share, svc);
    
            assertSame(tree, result);
    
            ArgumentCaptor<String> shareCap = ArgumentCaptor.forClass(String.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMap} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * {@snippet :
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
     *   public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractorTest.java

            assertTrue(content.contains("Age"));
            assertTrue(content.contains("Department"));
    
            // Verify data extraction
            assertTrue(content.contains("John Doe"));
            assertTrue(content.contains("john@example.com"));
            assertTrue(content.contains("Engineering"));
        }
    
        public void test_columnMetadata() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/csv/test.csv");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

     * projects with longer dependency chains are built first. When projects have
     * the same weight, they are ordered by project ID for deterministic results.
     *
     * <p><b>Example:</b>
     * <p>Consider projects with dependencies: A → B → D, A → C → D
     * <ul>
     * <li>Project D: weight = 1 (no downstream dependencies)</li>
     * <li>Project B: weight = 2 (1 + max(D=1))</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top