Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 8,388 for isclass (0.13 sec)

  1. docs_src/additional_responses/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 506 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

    import org.codelibs.core.beans.impl.BeanDescImpl;
    import org.codelibs.core.misc.DisposableUtil;
    
    /**
     * This class generates {@link BeanDesc}.
     * <p>
     * It returns a {@link BeanDesc} that handles the metadata of the specified JavaBeans.
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * {@link BeanDesc} is cached. To clear the cache, call {@link DisposableUtil#dispose()}.
     * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        }
        assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(array.length));
      }
    
      public void testNewReferenceArray_withNullArray() throws Exception {
        assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null));
      }
    
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(Atomics.class); // there aren't any
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/EdgesConnecting.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A class to represent the set of edges connecting an (implicit) origin node to a target node.
     *
     * <p>The {@link #nodeToOutEdge} map means this class only works on networks without parallel edges.
     * See {@link MultiEdgesConnecting} for a class that works with parallel edges.
     *
     * @author James Sexton
     * @param <E> Edge parameter type
     */
    final class EdgesConnecting<E> extends AbstractSet<E> {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

    import jcifs.internal.smb2.info.Smb2QueryInfoRequest;
    import jcifs.internal.smb2.io.Smb2ReadRequest;
    
    /**
     * Unit tests for ChannelLoadBalancer
     */
    @ExtendWith(MockitoExtension.class)
    class ChannelLoadBalancerTest {
    
        @Mock
        private ChannelManager mockChannelManager;
    
        @Mock
        private SmbTransport mockTransport1;
    
        @Mock
        private SmbTransport mockTransport2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

       * }
       * if (failure != null) {
       *   throwIfInstanceOf(failure, BarException.class);
       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
      @GwtIncompatible // Class.cast, Class.isInstance
      public static <X extends Throwable> void throwIfInstanceOf(
          Throwable throwable, Class<X> declaredType) throws X {
        checkNotNull(throwable);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. docs/es/docs/how-to/testing-database.md

    Hay un mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial sobre el uso de SQLModel con FastAPI</a>. ✨
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 578 bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

    import jcifs.internal.util.SMBUtil;
    
    @DisplayName("Smb2Lock Test")
    class Smb2LockTest {
    
        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DenseImmutableTable.java

    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /** A {@code RegularImmutableTable} optimized for dense data. */
    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    final class DenseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
            sessionScope.seed(Session.class, iSession);
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(iSession));
        }
    
        protected MavenProject createStubMavenProject() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top