Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for resv1 (0.05 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	resv2 := make([]autoscalingv2.HorizontalPodAutoscalerCondition, len(statusOk))
    	copy(resv2, statusOk)
    	for _, override := range overrides {
    		resv2 = setConditionInList(resv2, override.Type, override.Status, override.Reason, override.Message)
    	}
    
    	// copy to a v1 slice
    	resv1 := make([]autoscalingv2.HorizontalPodAutoscalerCondition, len(resv2))
    	for i, cond := range resv2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ads_test.go

    	ads := s.ConnectADS().WithType(v3.ClusterType)
    	resp1 := ads.RequestResponseAck(t, nil)
    	fullPush(s)
    	resp2 := ads.ExpectResponse(t)
    	if !(resp1.VersionInfo < resp2.VersionInfo) {
    		t.Fatalf("version should be incrementing: %v -> %v", resp1.VersionInfo, resp2.VersionInfo)
    	}
    	if resp1.Nonce == resp2.Nonce {
    		t.Fatalf("nonce should change %v -> %v", resp1.Nonce, resp2.Nonce)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. test/chan/select7.go

    func send3(recv func(<-chan int)) {
    	c := make(chan int)
    	go recv(c)
    	runtime.Gosched()
    	c2 := make(chan int)
    	select {
    	case c <- 1:
    	case c2 <- 1:
    	}
    }
    
    func main() {
    	send1(recv1)
    	send2(recv1)
    	send3(recv1)
    	send1(recv2)
    	send2(recv2)
    	send3(recv2)
    	send1(recv3)
    	send2(recv3)
    	send3(recv3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 932 bytes
    - Viewed (0)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            Restriction res1 = i1.next();
            Restriction res2 = i2.next();
    
            boolean done = false;
            while (!done) {
                if (res1.getLowerBound() == null
                        || res2.getUpperBound() == null
                        || res1.getLowerBound().compareTo(res2.getUpperBound()) <= 0) {
                    if (res1.getUpperBound() == null
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/hoist_loop_invariant.mlir

    // CHECK:       [[VAR_VAL:%.*]] = "tf.ReadVariableOp"
    // CHECK:       [[RES_1:%.*]] = "tf.Add"([[VAR_VAL]], [[CST_0]])
    // CHECK:       [[RES_2:%.*]] = "tf.Mul"([[RES_1]], [[CST_1]])
    // CHECK-NEXT:  [[RES_3:%.*]] = "tf.AddV2"([[ARG_2]], [[RES_1]])
    // CHECK-NEXT:  [[RES_4:%.*]] = "tf.Div"([[ARG_3]], [[RES_2]])
    // CHECK-NEXT:  "tf.AssignVariableOp"([[VAR]], [[RES_1]])
    // CHECK:       "tf.Yield"([[RES_3]], [[RES_4]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 17:12:02 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. test/struct0.go

    func recv(c chan interface{}) struct{} {
    	return (<-c).(struct{})
    }
    
    var m = make(map[interface{}]int)
    
    func recv1(c chan interface{}) {
    	defer rec()
    	m[(<-c).(struct{})] = 0
    }
    
    func rec() {
    	recover()
    }
    
    func main() {
    	c := make(chan interface{})
    	go recv(c)
    	c <- struct{}{}
    	go recv1(c)
    	c <- struct{}{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 565 bytes
    - Viewed (0)
  7. src/go/types/instantiate_test.go

    	ctxt := NewContext()
    	res1, err := Instantiate(ctxt, T1, []Type{Typ[Int]}, false)
    	if err != nil {
    		t.Fatal(err)
    	}
    	res2, err := Instantiate(ctxt, T2, []Type{Typ[Int]}, false)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res1 == res2 {
    		t.Errorf("instance from pkg1 (%s) is pointer-equivalent to instance from pkg2 (%s)", res1, res2)
    	}
    	if Identical(res1, res2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. test/fixedbugs/issue23305.go

    func mask1(a, b uint64) uint64 {
    	op1 := int32(a)
    	op2 := int32(b)
    	return uint64(uint32(op1 / op2))
    }
    
    var mask2 = mask1
    
    func main() {
    	res1 := mask1(0x1, 0xfffffffeffffffff)
    	res2 := mask2(0x1, 0xfffffffeffffffff)
    	if res1 != 0xffffffff {
    		println("got", res1, "want", 0xffffffff)
    		panic("FAIL")
    	}
    	if res2 != 0xffffffff {
    		println("got", res2, "want", 0xffffffff)
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 02 21:08:35 UTC 2018
    - 575 bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        Node* recv1 = RecvAtHost(
            ops::NodeOut(key_constant, 0), "F1", "F1", "O1", {DT_FLOAT, DT_FLOAT},
            b2.opts().WithAttr(kXlaHasHostTransferAttrName, true));
        Node* e = Binary(ops::NodeOut(recv1, 0), ops::NodeOut(recv1, 1),
                         b2.opts()
                             .WithName("E")
                             .WithControlInputs({recv1})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/instantiate_test.go

    	ctxt := NewContext()
    	res1, err := Instantiate(ctxt, T1, []Type{Typ[Int]}, false)
    	if err != nil {
    		t.Fatal(err)
    	}
    	res2, err := Instantiate(ctxt, T2, []Type{Typ[Int]}, false)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res1 == res2 {
    		t.Errorf("instance from pkg1 (%s) is pointer-equivalent to instance from pkg2 (%s)", res1, res2)
    	}
    	if Identical(res1, res2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top