Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 545 for csession (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         * <p>
         * Visible for testing.
         */
        static boolean isLocalRepositoryArtifactOrMissing(RepositorySystemSession session, Artifact artifact) {
            return artifact.getFile() == null
                    || artifact.getFile()
                            .getPath()
                            .startsWith(session.getLocalRepository().getBasedir().getPath());
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Version.java

     * Versions are usually parsed using the {@link org.apache.maven.api.services.VersionParser} service.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.VersionParser#parseVersion(String)
     * @see org.apache.maven.api.Session#parseVersion(String)
     * @see VersionConstraint
     * @see VersionRange
     */
    @Experimental
    public interface Version extends Comparable<Version> {
        /**
         * {@return the string representation of this version}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/testing-websockets.md

    {* ../../docs_src/app_testing/tutorial002_py39.py hl[27:31] *}
    
    /// note | Nota
    
    Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 497 bytes
    - Click Count (0)
  4. tests/create_test.go

    		*GetUser("create_with_default_batch_sizs_6", Config{Account: true, Pets: 4, Toys: 3, Company: false, Manager: true, Team: 1, Languages: 3, Friends: 0}),
    	}
    
    	result := DB.Session(&gorm.Session{CreateBatchSize: 2}).Create(&users)
    	if result.RowsAffected != int64(len(users)) {
    		t.Errorf("affected rows should be %v, but got %v", len(users), result.RowsAffected)
    	}
    
    	for _, user := range users {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
     *   <li>Type-safe dependency injection</li>
     * </ul>
     *
     * @since 4.0.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 896 bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

    /**
     * Interface used to locate the root directory for a given project.
     *
     * The root locator is usually looked up from the plexus container.
     * One notable exception is the computation of the early {@code session.rootDirectory}
     * property which happens very early.  The implementation used in this case
     * will be discovered using the JDK service mechanism.
     *
     * The default implementation will look for a {@code .mvn} child directory
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

        private static final Logger LOGGER = LoggerFactory.getLogger(DistributionManagementArtifactRelocationSource.class);
    
        @Override
        public Artifact relocatedTarget(
                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model) {
            DistributionManagement distMgmt = model.getDistributionManagement();
            if (distMgmt != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/MojoExecutor.java

                    eventCatapult,
                    mojosExecutionStrategy,
                    messageBuilderFactory);
        }
    
        @Override
        protected boolean useProjectLock(MavenSession session) {
            return false;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertTrue(project.getInjectedProfileIds().get(id).stream().anyMatch("active-by-default"::equals));
    
                InternalMavenSession session = Mockito.mock(InternalMavenSession.class);
                List<org.apache.maven.api.model.Profile> activeProfiles =
                        new DefaultProject(session, project).getDeclaredActiveProfiles();
                assertEquals(1, activeProfiles.size());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial010.py

        def read_root(c: Annotated[Any, Depends(get_db)]):
            return {"c": str(c)}
    
        client = TestClient(app)
    
        dbsession_mock = Mock()
    
        with patch(
            "docs_src.dependencies.tutorial010_py39.DBSession",
            return_value=dbsession_mock,
            create=True,
        ):
            response = client.get("/")
    
        assert response.status_code == 200
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 688 bytes
    - Click Count (0)
Back to Top