Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 1,846 for isInstance (0.09 seconds)

  1. fastapi/.agents/skills/fastapi/references/dependencies.md

        return username
    ```
    
    ## Class Dependencies
    
    Avoid creating class dependencies when possible.
    
    If a class is needed, instead create a regular function dependency that returns a class instance.
    
    Do this:
    
    ```python
    from dataclasses import dataclass
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    @dataclass
    class DatabasePaginator:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/UserInfoDbm.java

            return UserInfo.class;
        }
    
        // ===================================================================================
        //                                                                     Object Instance
        //                                                                     ===============
        @Override
        public Entity newEntity() {
            return new UserInfo();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            assertNull(config.getMailFromName());
            assertNull(config.getMailFromAddress());
            assertNull(config.getMailHostname());
        }
    
        // Test creator instance creation with valid config
        @Test
        public void test_multipleCreatorInstances() {
            FessConfig config = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  4. doc/README.md

    	[net/http]                         # package link
    	[#12345](/issue/12345)             # GitHub issues
    	[CL 6789](/cl/6789)                # Gerrit changelists
    
    To preview `next` content in merged form using a local instance of the website, run:
    
    ```
    go run golang.org/x/website/cmd/golangorg@latest -goroot=..
    ```
    
    Then open http://localhost:6060/doc/next. Refresh the page to see your latest edits.
    
    ## For the release team
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jul 22 17:55:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code long[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

    /**
     * Unit test for {@link Helpers}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public class HelpersTest extends TestCase {
      public void testNullsBeforeB() {
        testComparator(NullsBeforeB.INSTANCE, "a", "azzzzzz", null, "b", "c");
      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 09 19:16:24 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

    /**
     * Unit test for {@link Helpers}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public class HelpersTest extends TestCase {
      public void testNullsBeforeB() {
        testComparator(NullsBeforeB.INSTANCE, "a", "azzzzzz", null, "b", "c");
      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 09 19:16:24 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

            }
    
            return null;
        }
    
        /**
         * Get RDMA provider based on configuration
         *
         * @param config the configuration to read provider preference from
         * @return RDMA provider instance, or null if none available
         */
        public static RdmaProvider getProvider(Configuration config) {
            String preference = config.getRdmaProvider();
            return createProvider(preference != null ? preference : "auto");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/HMACT64.java

        private final MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
        private byte[] opad = new byte[BLOCK_LENGTH];
    
        /**
         * Creates an HMACT64 instance which uses the given secret key material.
         *
         * @param key
         *            The key material to use in hashing.
         */
        public HMACT64(final byte[] key) {
            super("HMACT64");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/HMACT64.java

        private MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
        private byte[] opad = new byte[BLOCK_LENGTH];
    
        /**
         * Creates an HMACT64 instance which uses the given secret key material.
         *
         * @param key The key material to use in hashing.
         */
        public HMACT64(final byte[] key) {
            super("HMACT64");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top