Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 498 for weighted (0.77 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/scheduler/testing/framework/framework_helpers.go

    }
    
    // RegisterScorePlugin returns a function to register a Score Plugin to a given registry.
    func RegisterScorePlugin(pluginName string, pluginNewFunc runtime.PluginFactory, weight int32) RegisterPluginFunc {
    	return RegisterPluginAsExtensionsWithWeight(pluginName, weight, pluginNewFunc, "Score")
    }
    
    // RegisterPreScorePlugin returns a function to register a Score Plugin to a given registry.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. samples/tcp-echo/gateway-api/tcp-echo-20-v2.yaml

    metadata:
      name: tcp-echo
    spec:
      parentRefs:
      - name: tcp-echo-gateway
        sectionName: tcp-31400
      rules:
      - backendRefs:
        - name: tcp-echo-v1
          port: 9000
          weight: 80
        - name: tcp-echo-v2
          port: 9000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 18 15:09:04 UTC 2022
    - 305 bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    			},
    			resources: []config.ResourceSpec{
    				{Name: "memory", Weight: -1},
    				{Name: "cpu", Weight: 1},
    			},
    			wantErrs: field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "scoringStrategy.resources[0].weight",
    				},
    			},
    		},
    		{
    			// resource with zero weight is not allowed
    			name: "resource with zero weight",
    			requestedPod: st.MakePod().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    		var nodeScore, weightSum int64
    		for i := range requested {
    			if allocable[i] == 0 {
    				continue
    			}
    			weight := resources[i].Weight
    			resourceScore := leastRequestedScore(requested[i], allocable[i])
    			nodeScore += resourceScore * weight
    			weightSum += weight
    		}
    		if weightSum == 0 {
    			return 0
    		}
    		return nodeScore / weightSum
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top