Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1541 - 1550 of 2,062 for Instance (0.17 seconds)

  1. android/guava/src/com/google/common/collect/Tables.java

       *
       * <p>The returned table supports update operations as long as the input table supports the
       * analogous operation with swapped rows and columns. For example, in a {@link HashBasedTable}
       * instance, {@code rowKeySet().iterator()} supports {@code remove()} but {@code
       * columnKeySet().iterator()} doesn't. With a transposed {@link HashBasedTable}, it's the other
       * way around.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return items.length - count;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Removes a single instance of the specified element from this queue, if it is present. More
       * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

        return CollectCollectors.toImmutableRangeSet();
      }
    
      /**
       * Returns an empty immutable range set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable> ImmutableRangeSet<C> of() {
        return (ImmutableRangeSet<C>) EMPTY;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

     *
     * @author mbechler
     *
     * <p>This class is intended for internal use.</p>
     */
    public class SmbTransportPoolImpl implements SmbTransportPool {
    
        /**
         * Constructs a new SmbTransportPoolImpl instance.
         * This transport pool manages SMB connections for the client.
         */
        public SmbTransportPoolImpl() {
            // Start proactive health checking
            startProactiveHealthChecking();
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

       * Collections#emptyMap}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableMap<K, V> of() {
        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  10. 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)
Back to Top