Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for weights (0.34 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/internal/pgo/serialize_test.go

    	}
    	if !reflect.DeepEqual(got.NamedEdgeMap.Weight, want.NamedEdgeMap.Weight) {
    		return fmt.Errorf("got.NamedEdgeMap.Weight != want.NamedEdgeMap.Weight\ngot = %+v\nwant = %+v", got.NamedEdgeMap.Weight, want.NamedEdgeMap.Weight)
    	}
    
    	return nil
    }
    
    func testRoundTrip(t *testing.T, d *Profile) []byte {
    	var buf bytes.Buffer
    	n, err := d.WriteTo(&buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

        (SupportedAffineOpMatcher $conv_out, $input, $weight),
        (TF_ConstOp:$mul_rhs IsFloatElementsAttr:$mul_rhs_value)),
      (CloneOpWithReplacedOperands
            (GetDefiningOp $conv_out),
            $input,
            (MultiplyFakeQuantValue $weight,
              (MakeOneDimValueBroadcastable $mul_rhs, $weight))),
      [(HasOneUse $conv_out),
       (HasRankOf<1> $mul_rhs_value),
       (HasStaticShapeConstraint $weight),
       (CanBeSymmetricallyQuantized $weight),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top