Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1561 - 1570 of 1,803 for INSTANCE (0.17 seconds)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            }
    
            @Test
            @DisplayName("Should have initial zero state")
            void shouldHaveInitialZeroState() {
                // Given - newly created instance
                FileFsSizeInformation freshInfo = new FileFsSizeInformation();
    
                // Then
                assertEquals(0L, freshInfo.getCapacity());
                assertEquals(0L, freshInfo.getFree());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(18, length);
        }
    
        @Test
        void constructor_withNetbiosNameNotNameInstance_shouldNotCopySrcHashCode() {
            // Create a mock NetbiosName that is not a Name instance
            NetbiosName mockNetbiosName = mock(NetbiosName.class);
            when(mockNetbiosName.getName()).thenReturn("MOCKNAME");
            when(mockNetbiosName.getNameType()).thenReturn(0x20);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    > The Gradle Build Tool repository is massive, and it will take ages to build on
    > a local machine without necessary parallelization and caching.
    > The full test suites are executed on the CI instance for multiple configurations,
    > and you can rely on it after doing initial sanity check and targeted local testing.
    
    ### Copyright and License
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    You can create the *path operations* for that module using `APIRouter`.
    
    ### Import `APIRouter` { #import-apirouter }
    
    You import it and create an "instance" the same way you would with the class `FastAPI`:
    
    {* ../../docs_src/bigger_applications/app_an_py310/routers/users.py hl[1,3] title["app/routers/users.py"] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

            ImmutableSetMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse());
      }
    
      // Yes, we want to test that inverse() returns the same instance each time that it's called.
      @SuppressWarnings("SelfAssertion")
      public void testInverseMinimizesWork() {
        ImmutableSetMultimap<String, Character> multimap =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                throws InvalidRepositoryException {
            if (layout == null) {
                throw new InvalidRepositoryException(
                        String.format("Cannot find ArtifactRepositoryLayout instance for: %s %s", layoutId, repositoryId),
                        repositoryId);
            }
        }
    
        public static ArtifactRepository createArtifactRepository(
                String id,
                String url,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/first-steps.md

    /// note | 技术细节
    
    `FastAPI` 是直接从 `Starlette` 继承的类。
    
    你可以通过 `FastAPI` 使用所有的 [Starlette](https://www.starlette.dev/) 的功能。
    
    ///
    
    ### 步骤 2:创建一个 `FastAPI`「实例」 { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[3] *}
    
    这里的变量 `app` 会是 `FastAPI` 类的一个「实例」。
    
    这个实例将是创建你所有 API 的主要交互对象。
    
    ### 步骤 3:创建一个*路径操作* { #step-3-create-a-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        /** Default number of rows to process in a single batch */
        protected int defaultRowSize = 100;
    
        /**
         * Default constructor for indexing helper.
         * Creates a new instance with default values.
         */
        public IndexingHelper() {
            // Default constructor
        }
    
        /** Interval between requests in milliseconds */
        protected long requestInterval = 500;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        return CollectCollectors.toImmutableMultiset(elementFunction, countFunction);
      }
    
      /**
       * Returns the empty immutable multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked") // all supported methods are covariant
      public static <E> ImmutableMultiset<E> of() {
        return (ImmutableMultiset<E>) RegularImmutableMultiset.EMPTY;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top