Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 369 for weights (0.51 sec)

  1. src/cmd/gofmt/gofmt.go

    // (if any) and will cause a nonzero final exit code.
    func (s *sequencer) Add(weight int64, f func(*reporter) error) {
    	if weight < 0 || weight > s.maxWeight {
    		weight = s.maxWeight
    	}
    	if err := s.sem.Acquire(context.TODO(), weight); err != nil {
    		// Change the task from "execute f" to "report err".
    		weight = 0
    		f = func(*reporter) error { return err }
    	}
    
    	r := &reporter{prev: s.prev}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/zero.yaml.golden

      - istio-system/gateway-istio-autogenerated-k8s-gateway-tcp
      hosts:
      - '*'
      tcp:
      - route:
        - destination:
            host: internal.cluster.local
            port:
              number: 65535
            subset: zero-weight
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 18:54:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/weighted.status.yaml.golden

    Lior Lieberman <******@****.***> 1707338903 +0000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/mesh_network_test.go

    				"": {xdstest.LocLbEpInfo{
    					LbEps: []xdstest.LbEpInfo{
    						{Address: "1.2.3.4", Weight: 1},
    						{Address: "2.2.2.2", Weight: 2},
    					},
    					Weight: 3,
    				}},
    				"v1": {xdstest.LocLbEpInfo{
    					LbEps: []xdstest.LbEpInfo{
    						{Address: "1.2.3.4", Weight: 1},
    						{Address: "2.2.2.2", Weight: 1},
    					},
    					Weight: 2,
    				}},
    				"v2": {xdstest.LocLbEpInfo{
    					LbEps: []xdstest.LbEpInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. src/net/lookup_plan9.go

    		if len(f) < 6 {
    			continue
    		}
    		port, _, portOk := dtoi(f[4])
    		priority, _, priorityOk := dtoi(f[3])
    		weight, _, weightOk := dtoi(f[2])
    		if !(portOk && priorityOk && weightOk) {
    			continue
    		}
    		addrs = append(addrs, &SRV{absDomainName(f[5]), uint16(port), uint16(priority), uint16(weight)})
    		cname = absDomainName(f[0])
    	}
    	byPriorityWeight(addrs).sort()
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route_test.go

    						Destination: &networking.Destination{
    							Host:   "c-weighted.extsvc.com",
    							Subset: "v2",
    						},
    						Weight: 100,
    					},
    				},
    			},
    			{
    				Route: []*networking.HTTPRouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host:   "c-weighted.extsvc.com",
    							Subset: "v1",
    						},
    						Weight: 100,
    					},
    				},
    			},
    		},
    	},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/route.go

    	} else {
    		weighted := make([]*route.WeightedCluster_ClusterWeight, 0)
    		for _, dst := range in.Route {
    			if dst.Weight == 0 {
    				// Ignore 0 weighted clusters if there are other clusters in the route.
    				continue
    			}
    			destinationweight, hostname := processWeightedDestination(dst, serviceRegistry, listenerPort, hashByDestination, action)
    			weighted = append(weighted, destinationweight)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/testing/defaults/defaults.go

    			{Name: names.TaintToleration, Weight: 3},
    			{Name: names.NodeAffinity, Weight: 2},
    			{Name: names.NodePorts},
    			{Name: names.NodeResourcesFit, Weight: 1},
    			{Name: names.VolumeRestrictions},
    			{Name: names.NodeVolumeLimits},
    			{Name: names.VolumeBinding},
    			{Name: names.VolumeZone},
    			{Name: names.PodTopologySpread, Weight: 2},
    			{Name: names.InterPodAffinity, Weight: 2},
    			{Name: names.DefaultPreemption},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/v1/default_plugins_test.go

    						{Name: names.PodTopologySpread, Weight: ptr.To[int32](2)},
    						{Name: names.InterPodAffinity, Weight: ptr.To[int32](2)},
    						{Name: names.DefaultPreemption},
    						{Name: names.NodeResourcesBalancedAllocation, Weight: ptr.To[int32](1)},
    						{Name: names.ImageLocality, Weight: ptr.To[int32](1)},
    						{Name: names.DefaultBinder},
    					},
    				},
    			},
    		},
    		{
    			name: "Feature gate DynamicResourceAllocation enabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    					{
    						Name:   "cpu",
    						Weight: 1,
    					},
    					{
    						Name:   "memory",
    						Weight: 1,
    					},
    				},
    			},
    		},
    		"invalid config": {
    			args: &config.NodeResourcesBalancedAllocationArgs{
    				Resources: []config.ResourceSpec{
    					{
    						Name:   "cpu",
    						Weight: 2,
    					},
    					{
    						Name:   "memory",
    						Weight: 1,
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top