- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 595 for weights (0.13 sec)
-
pkg/scheduler/framework/plugins/noderesources/test_util.go
defaultResources = []config.ResourceSpec{ {Name: string(v1.ResourceCPU), Weight: 1}, {Name: string(v1.ResourceMemory), Weight: 1}, } extendedRes = "abc.com/xyz" extendedResourceSet = []config.ResourceSpec{ {Name: string(v1.ResourceCPU), Weight: 1}, {Name: string(v1.ResourceMemory), Weight: 1}, {Name: extendedRes, Weight: 1}, } )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 01:07:28 UTC 2022 - 1.9K bytes - Viewed (0) -
pilot/test/xdstest/endpoints.go
found = true // Now compare the weight. if lbEp.GetLoadBalancingWeight().Value != wantLbEp.Weight { return fmt.Errorf("unexpected weight for endpoint %s: got %v, want %v", addr, lbEp.GetLoadBalancingWeight().Value, wantLbEp.Weight) } break } } if !found { return fmt.Errorf("unexpected address for endpoint %d: %v", i, addr) } } } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/test/loadbalancersim/loadbalancer/edf.go
currentDeadline float64 } // Add a new entry for load balance func (e *EDF) Add(weight float64, value any) { e.currentIndex++ heap.Push(e.pq, &Entry{ value: value, weight: weight, deadline: e.currentDeadline + 1/weight, index: e.currentIndex, }) } // PickAndAdd picks an available entry and re-adds it with the given weight calculation
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/defaults.go
if len(obj.Resources) == 0 { obj.Resources = defaultResourceSpec return } // If the weight is not set or it is explicitly set to 0, then apply the default weight(1) instead. for i := range obj.Resources { if obj.Resources[i].Weight == 0 { obj.Resources[i].Weight = 1 } } } func SetDefaults_PodTopologySpreadArgs(obj *configv1.PodTopologySpreadArgs) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/css/prettify.css
#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:700}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:700}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:700}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 673 bytes - Viewed (0) -
pkg/test/loadbalancersim/loadbalancer/leastrequest.go
lb.edfMutex.Lock() selected := lb.edf.PickAndAdd(lb.calcEDFWeight).(*WeightedConnection) lb.edfMutex.Unlock() // Make the request. lb.doRequest(selected, onDone) } func (lb *weightedLeastRequest) calcEDFWeight(_ float64, value any) float64 { conn := value.(*WeightedConnection) weight := float64(conn.Weight) if lb.activeRequestBias >= 1.0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 3.4K bytes - Viewed (0) -
pkg/proxy/ipvs/graceful_termination_test.go
{ name: "graceful delete, real server has active connections, weight should be 0 but don't delete", vs: &utilipvs.VirtualServer{ Address: netutils.ParseIPSloppy("1.1.1.1"), Protocol: "tcp", Port: uint16(80), }, rs: &utilipvs.RealServer{ Address: netutils.ParseIPSloppy("10.0.0.1"), Port: uint16(80), Weight: 100, ActiveConn: 10, InactiveConn: 0, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 11K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/defaults_test.go
{Name: names.VolumeZone}, {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}, }, }, Bind: configv1.PluginSet{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:03:04 UTC 2024 - 27.9K bytes - Viewed (0) -
src/cmd/internal/pgo/serialize.go
// // GO PREPROFILE V1 // caller_name // callee_name // "call site offset" "call edge weight" // ... // caller_name // callee_name // "call site offset" "call edge weight" // // Entries are sorted by "call edge weight", from highest to lowest. const serializationHeader = "GO PREPROFILE V1\n" // WriteTo writes a serialized representation of Profile to w.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/internal/pgo/deserialize.go
edge := NamedCallEdge{ CallerName: callerName, CalleeName: calleeName, CallSiteOffset: co, } weight, err := strconv.ParseInt(split[1], 10, 64) if err != nil { return nil, fmt.Errorf("preprocessed profile error processing call weight: %w", err) } if _, ok := d.NamedEdgeMap.Weight[edge]; ok { return nil, fmt.Errorf("preprocessed profile contains duplicate edge %+v", edge) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 2.7K bytes - Viewed (0)