Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 371 for Active (0.05 seconds)

  1. tests/group_by_test.go

    	}
    
    	var active bool
    	if err := DB.Model(&User{}).Select("name, active, sum(age)").Where("name = ? and active = ?", "groupby", true).Group("name").Group("active").Row().Scan(&name, &active, &total); err != nil {
    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || active != true || total != 40 {
    		t.Errorf("group by two columns, name %v, age %v, active: %v", name, total, active)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the profiles that were active during model building.
         *
         * @return The active profiles of the model or an empty list if the model has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the profiles that were active during model building for a specific model in the hierarchy.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
        void testShouldNotActivateDefaultProfile() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         */
        @Deprecated
        public List<String> getInactiveProfiles() {
            return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> !pa.active())));
        }
    
        /**
         * Overwrites the active profiles based on a pre-Maven 4 "active profiles" list.
         * @param activeProfileIds A {@link List} of profile IDs that must be activated.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

                    .toLowerCase(Locale.ENGLISH);
    
            if (active && os.getFamily() != null) {
                active = determineFamilyMatch(os.getFamily(), actualOsName);
            }
            if (active && os.getName() != null) {
                active = determineNameMatch(os.getName(), actualOsName);
            }
            if (active && os.getArch() != null) {
                active = determineArchMatch(os.getArch(), actualOsArch);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * @param selector The selector of the project.
         * @param active Should the project be activated?
         * @param optional Can the build continue if the project does not exist?
         */
        public void addProjectActivation(String selector, boolean active, boolean optional) {
            final ActivationSettings settings = ActivationSettings.of(active, optional);
            this.activations.add(new ProjectActivationSettings(selector, settings));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

     *
     * @param active Should the target be active?
     * @param optional Should the build continue if the target is not present?
     * @param recurse Should the target be activated and its children be activated?
     */
    public record ActivationSettings(boolean active, boolean optional, boolean recurse) {
    
        static ActivationSettings of(final boolean active, final boolean optional) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. schema/field_test.go

    		age           uint = 18
    		active             = true
    		user               = User{
    			Model: &gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    				DeletedAt: gorm.DeletedAt{Time: time.Now(), Valid: true},
    			},
    			Name:     &name,
    			Age:      &age,
    			Birthday: tests.Now(),
    			Active:   &active,
    		}
    		reflectValue = reflect.ValueOf(&user)
    	)
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

        /**
         * Gets the currently active session.
         *
         * @return The currently active session or {@code null} if none.
         */
        MavenSession getSession();
    
        /**
         * Gets the currently active repository session.
         *
         * @return The currently active repository session or {@code null} if none.
         */
        RepositorySystemSession getRepositorySession();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         *   <li>The default active profile (marked with &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;)</li>
         * </ul>
         * <p>
         * The active profiles control various aspects of the build configuration including but not
         * limited to dependencies, plugins, properties, and build resources.
         *
         * @return a non-null, possibly empty list of active profiles for this project
         * @see Profile
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top