Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2631 - 2640 of 7,602 for _class (0.22 sec)

  1. docs_src/query_param_models/tutorial001_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 443 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            assertThrows(
                IllegalArgumentException.class,
                () -> GeneralRange.range(ORDERING, 4, lboundType, 2, uboundType));
          }
        }
      }
    
      public void testCreateEmptyRangeOpenOpenFails() {
        for (Integer i : IN_ORDER_VALUES) {
          assertThrows(
              IllegalArgumentException.class,
              () -> GeneralRange.<@Nullable Integer>range(ORDERING, i, OPEN, i, OPEN));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingMultiset}.
     *
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    public class ForwardingMultisetTest extends TestCase {
    
      static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {
        private final Multiset<T> backingCollection;
    
        StandardImplForwardingMultiset(Multiset<T> backingMultiset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSourceTester.java

     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(ByteSourceTester.class);
    
      static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) {
        TestSuite suite = new TestSuite(name);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ImmutableGraph.java

     * class may be obtained with {@link #copyOf(Graph)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
     * of the {@code Immutable*} types</a> for more information on the properties and guarantees
     * provided by this class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        exec.execute(task);
        runLatch.await();
        taskLatch.countDown();
    
        ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS));
        assertEquals(IllegalStateException.class, e.getCause().getClass());
    
        assertTrue(listenerLatch.await(5, SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/SplitterTest.java

    /**
     * @author Julien Silland
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class SplitterTest extends TestCase {
    
      private static final Splitter COMMA_SPLITTER = Splitter.on(',');
    
      public void testSplitNullString() {
        assertThrows(NullPointerException.class, () -> COMMA_SPLITTER.split(null));
      }
    
      public void testCharacterSimpleSplit() {
        String simple = "a,b,c";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

    import java.io.Serializable;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public class SynchronizedTableTest extends AbstractTableTest<Character> {
      private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable {
        final Table<R, C, V> delegate = HashBasedTable.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2SigningDigest implements SMBSigningDigest {
    
        private static final Logger log = LoggerFactory.getLogger(Smb2SigningDigest.class);
    
        /**
         * 
         */
        private static final int SIGNATURE_OFFSET = 48;
        private static final int SIGNATURE_LENGTH = 16;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                    .build();
        }
    
        @Nonnull
        static ProjectBuilderRequestBuilder builder() {
            return new ProjectBuilderRequestBuilder();
        }
    
        @NotThreadSafe
        class ProjectBuilderRequestBuilder {
            Session session;
            Path path;
            Source source;
            boolean allowStubModel;
            boolean recursive;
            boolean processPlugins = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top