Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,219 for Examples (0.1 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies { #classes-as-dependencies }
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example { #a-dict-from-the-previous-example }
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/ParametricNullness.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ParametricNullness.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, and luckily, we can use it directly to test the API.
    
    ## Example { #example }
    
    For a simple example, let's consider a file structure similar to the one described in [Bigger Applications](../tutorial/bigger-applications.md){.internal-link target=_blank} and [Testing](../tutorial/testing.md){.internal-link target=_blank}:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test when only baseDn is set
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLdapBaseDn() {
                    return "dc=example,dc=com";
                }
    
                @Override
                public String getLdapAccountFilter() {
                    return "";
                }
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

            // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"
            System.setProperty("java.protocol.handler.pkgs", "com.example");
            SingletonContext.registerSmbURLHandler();
            assertEquals("com.example|jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsAlreadyContainsJcifs() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @Mock
        private CredentialsInternal credentialsInternal;
        @Mock
        private SmbTransportImpl transport;
    
        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
            when(cifsContext.getConfig()).thenReturn(configuration);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import javax.security.auth.callback.UnsupportedCallbackException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/handling-errors.md

    In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[11] *}
    
    ### The resulting response { #the-resulting-response }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. docs/lambda/README.md

    This document focuses on showing a working example on how to use Object Lambda with MinIO, you must have [MinIO deployed in your environment](https://docs.min.io/community/minio-object-store/operations/installation.html) before you can start using external lambda functions. You also must install Python version 3.8 or later for the lambda handlers to work.
    
    ## Example Lambda handler
    
    Install the necessary dependencies.
    ```sh
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top