Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,549 for isinstance (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

            ProjectBuilderRequestBuilder() {}
    
            /**
             * Sets the Maven session for this request.
             *
             * @param session the Maven session
             * @return this builder instance
             */
            public ProjectBuilderRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/advanced-dependencies.md

    ## Instance'ı parametreleştirme { #parameterize-the-instance }
    
    Ve şimdi, dependency'yi "parametreleştirmek" için kullanacağımız instance parametrelerini tanımlamak üzere `__init__` kullanabiliriz:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *}
    
    Bu durumda **FastAPI**, `__init__` ile asla uğraşmaz veya onu önemsemez; onu doğrudan kendi kodumuzda kullanırız.
    
    ## Bir instance oluşturma { #create-an-instance }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Supplier.java

     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    public interface Supplier<T extends @Nullable Object> {
      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @ParametricNullness
      T get();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testRenaming() throws Exception {
        String oldName = Thread.currentThread().getName();
        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            () -> {
              assertThat(Thread.currentThread().getName()).isEqualTo(newName.get());
              return null;
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testRenaming() throws Exception {
        String oldName = Thread.currentThread().getName();
        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            () -> {
              assertThat(Thread.currentThread().getName()).isEqualTo(newName.get());
              return null;
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/PythonJob.java

     */
    public class PythonJob extends ExecJob {
        /** Logger instance for this class */
        static final Logger logger = LogManager.getLogger(PythonJob.class);
    
        /**
         * Default constructor for PythonJob.
         * Creates a new instance of the Python job with default settings.
         */
        public PythonJob() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        @BeforeEach
        void setUp() {
            fileInfo = new FileEndOfFileInformation();
        }
    
        @Test
        @DisplayName("Test default constructor creates valid instance")
        void testDefaultConstructor() {
            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A type-to-instance map backed by an {@link ImmutableMap}. See also {@link
     * MutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    public final class ImmutableTypeToInstanceMap<B> extends ForwardingMap<TypeToken<? extends B>, B>
        implements TypeToInstanceMap<B> {
    
      /** Returns an empty type to instance map. */
      public static <B> ImmutableTypeToInstanceMap<B> of() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1);
            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
            // same auth instance => matches
            assertTrue(s1.matches(a1));
            // different instance but equal content => matches
            assertTrue(s1.matches(a2));
            // not equal => no match
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/OptionalTest.java

        assertThat(Optional.of("a").or(Suppliers.ofInstance("fallback"))).isEqualTo("a");
      }
    
      public void testOr_supplier_absent() {
        assertEquals("fallback", Optional.absent().or(Suppliers.ofInstance("fallback")));
      }
    
      public void testOr_nullSupplier_absent() {
        Supplier<Object> nullSupplier = (Supplier<Object>) Suppliers.<@Nullable Object>ofInstance(null);
        Optional<Object> absentOptional = Optional.absent();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top