Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 590 for session1 (0.09 sec)

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

         * repositories and their contents.
         *
         * @param session the session to use
         * @param artifactCoordinates t
         * @return the version range resolution result
         * @throws VersionResolverException if an errors occurs
         */
        @Nonnull
        default VersionRangeResolverResult resolve(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getNegotiateResponse().getSendBufferSize();
            }
        }
    
    
        @Override
        public int getReceiveBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
     * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull Path path) {
            return builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs_src/sql_databases/tutorial002_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: Session = Depends(get_session)):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

        }
    
        @Nonnull
        default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull Project project) {
            return resolve(
                    DependencyResolverRequest.build(session, DependencyResolverRequest.RequestType.RESOLVE, project));
        }
    
        @Nonnull
        default DependencyResolverResult resolve(
                @Nonnull Session session, @Nonnull Project project, @Nonnull PathScope scope) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

        }
    
        @NotThreadSafe
        class VersionResolverRequestBuilder {
            Session session;
            ArtifactCoordinates artifactCoordinates;
            List<RemoteRepository> repositories;
    
            public VersionResolverRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

        @NotThreadSafe
        class ArtifactResolverRequestBuilder {
            Session session;
            Collection<? extends ArtifactCoordinates> coordinates;
            List<RemoteRepository> repositories;
    
            ArtifactResolverRequestBuilder() {}
    
            @Nonnull
            public ArtifactResolverRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

        }
    
        @NotThreadSafe
        class VersionResolverRequestBuilder {
            Session session;
            ArtifactCoordinates artifactCoordinates;
            List<RemoteRepository> repositories;
    
            public VersionResolverRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial001_an_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top