Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 2,098 for Instance (0.15 seconds)

  1. tests/test_router_circular_import.py

    import pytest
    from fastapi import APIRouter
    
    
    def test_router_circular_import():
        router = APIRouter()
    
        with pytest.raises(
            AssertionError,
            match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?",
        ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 10:58:40 GMT 2026
    - 317 bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    "Exception message should match getErrorString output");
            assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException");
        }
    
        /**
         * Test the getErrorString method with various error classes and codes to ensure all branches are covered.
         */
        @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

        }
    
        /**
         * Factory method to create a LogNotificationAppender instance.
         *
         * @param name the appender name
         * @param minLevel the minimum log level string (defaults to ERROR)
         * @param filter the filter to apply
         * @param layout the layout to use
         * @return a new LogNotificationAppender instance, or null if name is null
         */
        @PluginFactory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Lists.java

     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public final class Lists {
      private Lists() {}
    
      // ArrayList
    
      /**
       * Creates a <i>mutable</i>, empty {@code ArrayList} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  5. docs/site-replication/ldap.yaml

    # To run locally an OpenLDAP instance using Docker
    # $ docker-compose -f ldap.yaml up -d
    version: '3.7'
    
    services:
      openldap:
        image: quay.io/minio/openldap
        ports:
          - "389:389"
          - "636:636"
        environment:
          LDAP_ORGANIZATION: "MinIO Inc"
          LDAP_DOMAIN: "min.io"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 09 01:34:52 GMT 2021
    - 325 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Test that provideMappingOption creates a new instance each time
            JsonMappingOption option1 = provider.provideMappingOption();
            JsonMappingOption option2 = provider.provideMappingOption();
            JsonMappingOption option3 = provider.provideMappingOption();
    
            // All should be different instances
            assertNotSame(option1, option2);
            assertNotSame(option2, option3);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      /**
       * Creates a new, empty instance of the class under test.
       *
       * @return a new, empty map instance.
       * @throws UnsupportedOperationException if it's not possible to make an empty instance of the
       *     class under test.
       */
      protected abstract Map<K, V> makeEmptyMap() throws UnsupportedOperationException;
    
      /**
       * Creates a new, non-empty instance of the class under test.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @Nullable File getFile() {
        return state.getFile();
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and does not reset the data when the
       * {@link ByteSource} returned by {@link #asByteSource} is garbage collected.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/depmgmt/junit-0.1.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.junit</groupId>
        <artifactId>bom</artifactId>
        <version>0.1</version>
        <packaging>pom</packaging>
    
        <dependencyManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 724 bytes
    - Click Count (0)
  10. docs/en/docs/how-to/custom-request-and-route.md

    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    To learn more about the `Request` check [Starlette's docs about Requests](https://www.starlette.dev/requests/).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top