Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 543 for session1 (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        @Override
        public AuthenticationInfo getAuthenticationInfo(String id) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null && id != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Server> servers = request.getServers();
    
                    if (servers != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

     * registered in the {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
         * Gets the type of the event.
         *
         * @return the type of the event, never {@code null}
         */
        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * synchronization of the project's artifact state.
         *
         * @param session the current build session
         * @param project the project to attach the artifact to
         * @param path the path to the artifact file
         */
        default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) {
            String name = path.getFileName().toString();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. tests/hooks_test.go

    	}
    
    	DB.Model(&product).Session(&gorm.Session{SkipHooks: true}).Updates(Product3{Code: "L1216"})
    	if product.Price != 320 || product.Code != "L1216" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	var result2 Product3
    	DB.First(&result2, product.ID)
    
    	AssertEqual(t, result2, product)
    
    	product2 := Product3{Name: "Product", Price: 0}
    	DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. tests/count_test.go

    		t.Errorf("multiple count in chain should works")
    	}
    
    	tx := DB.Model(&User{}).Where("name = ?", user1.Name).Session(&gorm.Session{})
    	tx.Count(&count1)
    	tx.Or("name in ?", []string{user2.Name, user3.Name}).Count(&count2)
    	if count1 != 1 || count2 != 3 {
    		t.Errorf("count after new session should works")
    	}
    
    	var count3 int64
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        /**
         * The real session key if the regular session key is actually
         * the encrypted version used for key exchange.
         *
         * @return A <code>byte[]</code> containing the session key.
         */
        public byte[] getMasterKey() {
            return masterKey;
        }
    
        /**
         * Returns the session key.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. 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) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     *     <li>{@linkplain Project#getPomArtifact() the project POM artifact}</li>
     *     <li>{@linkplain Project#getMainArtifact() the main artifact}</li>
     *     <li>{@linkplain org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path) artifacts to be attached to a project}</li>
     * </ul>
     *
     * <p>For the main artifact and attached artifacts, the
     * {@link org.apache.maven.api.services.ArtifactManager ArtifactManager} service must be used
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

    /**
     */
    @Deprecated
    public interface PluginManager {
        String ROLE = PluginManager.class.getName();
    
        void executeMojo(MavenProject project, MojoExecution execution, MavenSession session)
                throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
                        InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Service.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * Marker interface for all services provided by the {@link Session}.
     * <p>
     * Services can be retrieved from the session using the
     * {@link Session#getService(Class)} method.
     *
     * @since 4.0.0
     * @see Session#getService(Class)
     */
    @Experimental
    @ThreadSafe
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top