Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2561 - 2570 of 8,412 for Class3 (0.06 sec)

  1. docs_src/body_fields/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 582 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class DisposableUtilTest {
    
        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

     * <p>
     * Context of dependency artifacts for a particular project.
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    // TODO From a concurrency perspective, this class is not good. The combination of mutable/immutable state is not nice
    public class DependencyContext {
    
        private final MavenProject project;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedPluginValidator.java

    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
     * Print warnings if deprecated mojo or parameters of plugin are used in configuration.
     *
     */
    @Singleton
    @Named
    class DeprecatedPluginValidator extends AbstractMavenPluginDescriptorSourcedParametersValidator {
    
        private final MessageBuilderFactory messageBuilderFactory;
    
        @Inject
        DeprecatedPluginValidator(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    @GwtCompatible
    @J2ktIncompatible // MapMaker
    @NullUnmarked
    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new MapMaker());
      }
    
      @GwtIncompatible // threads
      static final class DelayingIdentityLoader<T> implements Function<T, T> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} that exercise {@link ClosingFuture#finishToFuture()}. */
    @NullUnmarked
    public class ClosingFutureFinishToFutureTest extends AbstractClosingFutureTest {
      public void testFinishToFuture_throwsIfCalledTwice() throws Exception {
        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

     *
     * This class provides constants and utility methods for managing directory lease states
     * in SMB2/SMB3 protocol implementations. Directory leases enable clients to cache
     * directory metadata and reduce network round-trips for directory operations.
     */
    public class DirectoryLeaseState {
    
        /**
         * Private constructor to prevent instantiation of this utility class
         */
        private DirectoryLeaseState() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java

                configuration = new ExtensionInterpolator(it).transform(configuration);
    
                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(extension.getKey()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. docs_src/body_multiple_params/tutorial004_py310.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 603 bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

     * by using appropriate extractors for each contained file type.
     *
     * @author shinsuke
     */
    public class LhaExtractor extends AbstractExtractor {
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(LhaExtractor.class);
    
        /** Maximum content size for extraction. -1 means no limit. */
        protected long maxContentSize = -1;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top