Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 770 for CSession (0.06 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                infoLine('-');
            }
        }
    
        private boolean isSingleVersionedReactor(MavenSession session) {
            boolean result = true;
    
            MavenProject topProject = session.getTopLevelProject();
            List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects();
            for (MavenProject mavenProject : sortedProjects) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_an_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(session.acquire()).thenReturn(session);
            when(config.isTraceResourceUsage()).thenReturn(false);
            when(context.getConfig()).thenReturn(config);
            when(session.isConnected()).thenReturn(true);
        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                    .artifacts(requireNonNull(artifacts, "artifacts cannot be null"))
                    .build();
        }
    
        @NotThreadSafe
        class ArtifactInstallerRequestBuilder {
            Session session;
            RequestTrace trace;
            Collection<ProducedArtifact> artifacts = Collections.emptyList();
    
            ArtifactInstallerRequestBuilder() {}
    
            @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Add some trees
            SmbTreeImpl tree1 = session.getSmbTree("share1", null);
            SmbTreeImpl tree2 = session.getSmbTree("share2", null);
            assertNotNull(tree1);
            assertNotNull(tree2);
    
            // When - Release session to trigger cleanup
            session.release();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        /**
         * Gets or creates the cached Maven 4 session.
         */
        private Session getSession() {
            if (session == null) {
                session = createMaven4Session();
            }
            return session;
        }
    
        /**
         * Creates a new Maven 4 session for effective POM computation.
         */
        private Session createMaven4Session() {
            Session session = ApiRunner.createSession(injector -> {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertNull(keyManager.getSessionKey(sessionId), "Should not retrieve removed key");
        }
    
        @Test
        public void testKeyIsolation() {
            String sessionId1 = "session-1";
            String sessionId2 = "session-2";
    
            byte[] key1 = new byte[16];
            byte[] key2 = new byte[16];
            new SecureRandom().nextBytes(key1);
            new SecureRandom().nextBytes(key2);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     *   <li>Supports both internal session operations and client-provided trace information</li>
     * </ul>
     *
     * <p>For internal session operations, the trace typically contains {@code *Request} objects
     * that represent the current processing state. Client code can also create traces with
     * application-specific data to provide context when invoking session methods.</p>
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

            projectBuilds.add(createProjectBuild(A, session, segment));
            projectBuilds.add(createProjectBuild(B, session, segment));
            projectBuilds.add(createProjectBuild(C, session, segment));
            projectBuilds.add(createProjectBuild(X, session, segment));
            projectBuilds.add(createProjectBuild(Y, session, segment));
            projectBuilds.add(createProjectBuild(Z, session, segment));
            return projectBuilds;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Extracts the canonical session ID by removing any suffix after the first hyphen.
         * If the session ID contains a hyphen, returns the portion before the first hyphen.
         * Otherwise, returns the original session ID.
         *
         * @param sessionId the session ID to process
         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top