Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for Profiles2 (0.15 sec)

  1. pkg/scheduler/apis/config/validation/validation_test.go

    	validPlugins := validConfig.DeepCopy()
    	validPlugins.Profiles[0].Plugins.Score.Enabled = append(validPlugins.Profiles[0].Plugins.Score.Enabled, config.Plugin{Name: "PodTopologySpread", Weight: 2})
    
    	invalidPlugins := validConfig.DeepCopy()
    	invalidPlugins.Profiles[0].Plugins.Score.Enabled = append(invalidPlugins.Profiles[0].Plugins.Score.Enabled, config.Plugin{Name: "AzureDiskLimits"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/validation/validation.go

    }
    
    func validateCommonQueueSort(path *field.Path, profiles []config.KubeSchedulerProfile) []error {
    	var errs []error
    	var canon config.PluginSet
    	var queueSortName string
    	var queueSortArgs runtime.Object
    	if profiles[0].Plugins != nil {
    		canon = profiles[0].Plugins.QueueSort
    		if len(profiles[0].Plugins.QueueSort.Enabled) != 0 {
    			queueSortName = profiles[0].Plugins.QueueSort.Enabled[0].Name
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

    import org.apache.maven.api.services.ModelProblem.Version;
    import org.apache.maven.api.services.ModelProblemCollector;
    import org.apache.maven.api.services.model.*;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     */
    @Named
    @Singleton
    public class DefaultProfileSelector implements ProfileSelector {
    
        private final List<ProfileActivator> activators;
    
        public DefaultProfileSelector() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	}
    
    	if len(profiles) == 0 {
    		return nil, nil, false, 0, nil
    	}
    
    	p, msrc, err := combineProfiles(profiles, msrcs)
    	if err != nil {
    		return nil, nil, false, 0, err
    	}
    	return p, msrc, save, len(profiles), nil
    }
    
    func combineProfiles(profiles []*profile.Profile, msrcs []plugin.MappingSources) (*profile.Profile, plugin.MappingSources, error) {
    	// Merge profiles.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof.go

    	lockProfiles()
    	defer unlockProfiles()
    	return profiles.m[name]
    }
    
    // Profiles returns a slice of all the known profiles, sorted by name.
    func Profiles() []*Profile {
    	lockProfiles()
    	defer unlockProfiles()
    
    	all := make([]*Profile, 0, len(profiles.m))
    	for _, p := range profiles.m {
    		all = append(all, p)
    	}
    
    	slices.SortFunc(all, func(a, b *Profile) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                this.processPlugins = processPlugins;
                return this;
            }
    
            public ModelBuilderRequestBuilder profiles(List<Profile> profiles) {
                this.profiles = profiles;
                return this;
            }
    
            public ModelBuilderRequestBuilder activeProfileIds(List<String> activeProfileIds) {
                this.activeProfileIds = activeProfileIds;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. pkg/scheduler/scheduler.go

    	// Close this to shut down the scheduler.
    	StopEverything <-chan struct{}
    
    	// SchedulingQueue holds pods to be scheduled
    	SchedulingQueue internalqueue.SchedulingQueue
    
    	// Profiles are the scheduling profiles.
    	Profiles profile.Map
    
    	client clientset.Interface
    
    	nodeInfoSnapshot *internalcache.Snapshot
    
    	percentageOfNodesToScore int32
    
    	nextStartNodeIndex int
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    import org.apache.maven.model.profile.activation.ProfileActivator;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     */
    @Named
    @Singleton
    public class DefaultProfileSelector implements ProfileSelector {
    
        private final List<ProfileActivator> activators;
    
        public DefaultProfileSelector() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    )
    
    // ScaleProfiles updates the units in a set of profiles to make them
    // compatible. It scales the profiles to the smallest unit to preserve
    // data.
    func ScaleProfiles(profiles []*profile.Profile) error {
    	if len(profiles) == 0 {
    		return nil
    	}
    	periodTypes := make([]*profile.ValueType, 0, len(profiles))
    	for _, p := range profiles {
    		if p.PeriodType != nil {
    			periodTypes = append(periodTypes, p.PeriodType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/v1/defaults_test.go

    				PodMaxBackoffSeconds:     ptr.To[int64](10),
    				Profiles: []configv1.KubeSchedulerProfile{
    					{
    						SchedulerName: ptr.To("default-scheduler"),
    						Plugins:       getDefaultPlugins(),
    						PluginConfig:  pluginConfigs},
    				},
    			},
    		},
    		{
    			name: "two profiles",
    			config: &configv1.KubeSchedulerConfiguration{
    				Parallelism: ptr.To[int32](16),
    				Profiles: []configv1.KubeSchedulerProfile{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top