Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 887 for priority1 (0.15 sec)

  1. pkg/apis/scheduling/validation/validation.go

    	// If the priorityClass starts with a system prefix, it must be one of the
    	// predefined system priority classes.
    	if strings.HasPrefix(pc.Name, scheduling.SystemPriorityClassPrefix) {
    		if is, err := schedulingapiv1.IsKnownSystemPriorityClass(pc.Name, pc.Value, pc.GlobalDefault); !is {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:30:47 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CodeNarc.java

            this.config = config;
        }
    
        /**
         * The maximum number of priority 1 violations allowed before failing the build.
         */
        @Input
        public int getMaxPriority1Violations() {
            return maxPriority1Violations;
        }
    
        /**
         * The maximum number of priority 1 violations allowed before failing the build.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        private static class TestIngester extends Ingester {
            public TestIngester(int priority) {
                this.priority = priority;
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption_test.go

    			},
    			testPods: []*v1.Pod{
    				st.MakePod().Name("p").UID("p").Priority(highPriority).Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("p1").UID("p1").Node("node1").Priority(midPriority).Obj(),
    				st.MakePod().Name("p2").UID("p2").Node("node2").Priority(midPriority).Obj(),
    			},
    			expected: [][]Candidate{
    				{
    					&candidate{
    						victims: &extenderv1.Victims{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. pkg/registry/scheduling/rest/storage_scheduling.go

    							return false, nil
    						}
    						return false, err
    					} else {
    						// Unable to get the priority class for reasons other than "not found".
    						klog.Warningf("unable to get PriorityClass %v: %v. Retrying...", pc.Name, err)
    						return false, nil
    					}
    				}
    			}
    			klog.Infof("all system priority classes are created successfully or already exist.")
    			return true, nil
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  6. pkg/kubelet/util/swap/swap_util_test.go

    		},
    		{
    			name: "with swap enabled, one partition",
    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    `,
    			expectedEnabled: true,
    		},
    		{
    			name: "with swap enabled, 2 partitions",
    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    /dev/zram0              partition	8388604		0		100
    `,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. pkg/apis/scheduling/v1/helpers_test.go

    	tests := []struct {
    		name     string
    		pc       *v1.PriorityClass
    		expected bool
    	}{
    		{
    			name:     "system priority class",
    			pc:       SystemPriorityClasses()[0],
    			expected: true,
    		},
    		{
    			name: "non-system priority class",
    			pc: &v1.PriorityClass{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: scheduling.SystemNodeCritical,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 04 08:43:11 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    	}{
    		// Test a basic single row table. Columns with priority > 0 are not printed.
    		{
    			columns: []metav1.TableColumnDefinition{
    				{Name: "Name", Type: "string"},
    				{Name: "Ready", Type: "string"},
    				{Name: "Status", Type: "string"},
    				{Name: "Retries", Type: "integer", Priority: 1}, // Priority > 0
    				{Name: "Age", Type: "string", Priority: 1},      // Priority > 0
    			},
    			rows: []metav1.TableRow{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  9. pilot/pkg/xds/endpoints/endpoint_builder_test.go

    			},
    			expectedLabels: nil,
    		},
    		{
    			name: "no failover priority",
    			dr: &config.Config{
    				Spec: &networking.DestinationRule{
    					TrafficPolicy: &networking.TrafficPolicy{
    						OutlierDetection: &networking.OutlierDetection{
    							ConsecutiveErrors: 5,
    						},
    					},
    				},
    			},
    			expectedLabels: nil,
    		},
    		{
    			name: "failover priority disabled",
    			dr: &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/net/dnsclient.go

    func (addrs byPriorityWeight) sort() {
    	slices.SortFunc(addrs, func(a, b *SRV) int {
    		if r := cmp.Compare(a.Priority, b.Priority); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Weight, b.Weight)
    	})
    	i := 0
    	for j := 1; j < len(addrs); j++ {
    		if addrs[i].Priority != addrs[j].Priority {
    			addrs[i:j].shuffleByWeight()
    			i = j
    		}
    	}
    	addrs[i:].shuffleByWeight()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top