Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 226 for weights (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    // maximum combined weight for concurrent access.
    func NewWeighted(n int64) *Weighted {
    	w := &Weighted{size: n}
    	return w
    }
    
    // Weighted provides a way to bound concurrent access to a resource.
    // The callers can request access with a given weight.
    type Weighted struct {
    	size    int64
    	cur     int64
    	mu      sync.Mutex
    	waiters list.List
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    			weightSum += weight
    		}
    		if weightSum == 0 {
    			return 0
    		}
    		return nodeScore / weightSum
    	}
    }
    
    // The unused capacity is calculated on a scale of 0-MaxNodeScore
    // 0 being the lowest priority and `MaxNodeScore` being the highest.
    // The more unused resources the higher the score is.
    func leastRequestedScore(requested, capacity int64) int64 {
    	if capacity == 0 {
    		return 0
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. tests/testdata/config/rule-content-route.yaml

            weight: 100
        - route:
          - destination:
              host: c-weighted.extsvc.com
              subset: v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 566 bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/zero.yaml

          - name: httpbin-zero
            port: 8080
            weight: 0
      - matches:
        - path:
            type: PathPrefix
            value: /weighted-100
        backendRefs:
        - filters:
          - requestHeaderModifier:
              add:
              - name: foo
                value: bar
            type: RequestHeaderModifier
          port: 8000
          name: foo-svc
          weight: 100
    ---
    apiVersion: gateway.networking.k8s.io/v1alpha2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

    // that also contains other supporting ops needed to construct the operands for
    // the fused op. The caller provides the containing FuncOp as input with
    // arguments specifying the input, weight, projection and bias.
    // The weight, projection, bias and layer norm scale all need to be
    // RankedTensorType.
    // This class sets the layer norm coefficients to NoneType.
    class ConvertLSTMCellSimpleToFusedLSTM {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. src/go/types/mono.go

    // we construct vertices representing types A, B, and T. Because of
    // declaration "type T int", we construct edges T<-A and T<-B with
    // weight 1; and because of instantiation "f[T, map[A]B]" we construct
    // edges A<-T with weight 0, and B<-A and B<-B with weight 1.
    //
    // Finally, we look for any positive-weight cycles. Zero-weight cycles
    // are allowed because static instantiation will reach a fixed point.
    
    type monoGraph struct {
    	vertices []monoVertex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/mono.go

    // we construct vertices representing types A, B, and T. Because of
    // declaration "type T int", we construct edges T<-A and T<-B with
    // weight 1; and because of instantiation "f[T, map[A]B]" we construct
    // edges A<-T with weight 0, and B<-A and B<-B with weight 1.
    //
    // Finally, we look for any positive-weight cycles. Zero-weight cycles
    // are allowed because static instantiation will reach a fixed point.
    
    type monoGraph struct {
    	vertices []monoVertex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top