Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for cover (0.01 sec)

  1. tests/test_dependency_wrapped.py

    from fastapi.concurrency import iterate_in_threadpool, run_in_threadpool
    from fastapi.testclient import TestClient
    
    if sys.version_info >= (3, 13):  # pragma: no cover
        from inspect import iscoroutinefunction
    else:  # pragma: no cover
        from asyncio import iscoroutinefunction
    
    
    def noop_wrap(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            return func(*args, **kwargs)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            Smb2IoctlResponse resp = new Smb2IoctlResponse(config);
    
            int read = resp.decode(packet, 0);
            assertTrue(read >= packet.length, "Decoded length should cover entire packet");
            assertNotNull(resp.getErrorData(), "Error data should be decoded");
            assertEquals(3, resp.getErrorData().length);
            assertEquals(2, resp.getErrorContextCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesTest.java

       * 4. Tests of illegal usages of the API.
       */
    
      /*
       * Covering every combination would lead to an explosion in the number of tests. So we cover only:
       * - median with compute taking a double-collection and with computeInPlace;
       * - quartiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       * 4. Tests of illegal usages of the API.
       */
    
      /*
       * Covering every combination would lead to an explosion in the number of tests. So we cover only:
       * - median with compute taking a double-collection and with computeInPlace;
       * - quartiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

    import org.opensearch.action.admin.indices.create.CreateIndexResponse;
    import org.opensearch.transport.client.Client;
    
    /**
     * Test class for refactoring changes made to Suggester class.
     *
     * Tests cover:
     * - Index alias helper method (getIndicesForAlias)
     * - Edge cases for switchIndex with EXPECTED_INDEX_COUNT
     * - Index lifecycle with refactored methods
     */
    public class SuggesterRefactoringTest {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client: Response sent
        Note over dep_req: Run code after yield
        Note over dep_req: ✅ Dependency closed
    ```
    
    ## Dependencies with `yield`, `HTTPException`, `except` and Background Tasks { #dependencies-with-yield-httpexception-except-and-background-tasks }
    
    Dependencies with `yield` have evolved over time to cover different use cases and fix some issues.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (http2Connection == null) return false
    
        // 2. The routes must share an IP address.
        if (routes == null || !routeMatchesAny(routes)) return false
    
        // 3. This connection's server certificates must cover the new host.
        if (address.hostnameVerifier !== OkHostnameVerifier) return false
        if (!supportsUrl(address.url)) return false
    
        // 4. Certificate pinning must match the host.
        try {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. fastapi/openapi/models.py

    try:
        import email_validator
    
        assert email_validator  # make autoflake ignore the unused import
        from pydantic import EmailStr
    except ImportError:  # pragma: no cover
    
        class EmailStr(str):  # type: ignore
            @classmethod
            def __get_validators__(cls) -> Iterable[Callable[..., Any]]:
                yield cls.validate
    
            @classmethod
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

            @CsvSource({ "0, 0", "1, User", "2, Domain group", "3, Domain", "4, Local group", "5, Builtin group", "6, Deleted", "7, Invalid",
                    "8, Unknown" })
            @DisplayName("getType and getTypeText cover all types")
            void testGetTypeAndText(int type, String text) {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                SID sid = new SID(buildSidT((byte) 1, ident, 42), type, "DOM", "acct", false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. fastapi/_compat/v2.py

    try:
        from pydantic_core.core_schema import (
            with_info_plain_validator_function as with_info_plain_validator_function,
        )
    except ImportError:  # pragma: no cover
        from pydantic_core.core_schema import (
            general_plain_validator_function as with_info_plain_validator_function,  # noqa: F401
        )
    
    RequiredParam = PydanticUndefined
    Undefined = PydanticUndefined
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top