Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 515 for csession (0.06 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.properties.internal.EnvironmentUtils;
    import org.apache.maven.properties.internal.SystemProperties;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.apache.maven.session.scope.internal.SessionScopeModule;
    import org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest;
    import org.apache.maven.toolchain.building.ToolchainsBuilder;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. tests/preload_test.go

    func TestPreloadGoroutine(t *testing.T) {
    	var wg sync.WaitGroup
    
    	wg.Add(10)
    	for i := 0; i < 10; i++ {
    		go func() {
    			defer wg.Done()
    			var user2 []User
    			tx := DB.Where("id = ?", 1).Session(&gorm.Session{})
    
    			if err := tx.Preload("Team").Find(&user2).Error; err != nil {
    				t.Error(err)
    			}
    		}()
    	}
    	wg.Wait()
    }
    
    func TestPreloadWithDiffModel(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:00:47 GMT 2024
    - 15.9K bytes
    - Click Count (0)
  3. migrator.go

    func (db *DB) Migrator() Migrator {
    	tx := db.getInstance()
    
    	// apply scopes to migrator
    	for len(tx.Statement.scopes) > 0 {
    		tx = tx.executeScopes()
    	}
    
    	return tx.Dialector.Migrator(tx.Session(&Session{}))
    }
    
    // AutoMigrate run auto migration for given models
    func (db *DB) AutoMigrate(dst ...interface{}) error {
    	return db.Migrator().AutoMigrate(dst...)
    }
    
    // ViewOption view option
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/Maven.java

    package org.apache.maven;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionResult;
    
    /**
     * The main Maven execution entry point, which will execute a full Maven execution session.
     *
     * @see org.apache.maven.execution.MavenSession
     */
    public interface Maven {
        @Deprecated
        @SuppressWarnings("checkstyle:constantname")
        String POMv4 = "pom.xml";
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. impl/maven-core/lifecycle-executor.txt

            <includeGroupIds implementation="java.lang.String" default-value="">${includeGroupIds}</includeGroupIds>
            <mavenSession implementation="org.apache.maven.execution.MavenSession">${session}</mavenSession>
            <project implementation="org.apache.maven.project.MavenProject">${project}</project>
            <includeArtifactIds implementation="java.lang.String" default-value="">${includeArtifactIds}</includeArtifactIds>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.7K bytes
    - Click Count (0)
  6. tests/connpool_test.go

    	if err = db.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := db.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err = tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/testing-websockets.md

    {* ../../docs_src/app_testing/tutorial002_py39.py hl[27:31] *}
    
    /// note | Nota
    
    Para más detalles, revisa la documentación de Starlette sobre <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">probar WebSockets</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 477 bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnectorFactory.java

    /**
     */
    @Named("test")
    @Singleton
    public class TestRepositoryConnectorFactory implements RepositoryConnectorFactory {
    
        @Override
        public RepositoryConnector newInstance(RepositorySystemSession session, RemoteRepository repository)
                throws NoRepositoryConnectorException {
            return new TestRepositoryConnector(repository);
        }
    
        @Override
        public float getPriority() {
            return 0;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            MavenSession session = legacySupport.getSession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. 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)
Back to Top