Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for rs1 (0.02 sec)

  1. pkg/controller/deployment/deployment_controller_test.go

    		t.Errorf("len(podMap) = %v, want %v", got, want)
    	}
    	if got, want := len(podMap[rs1.UID]), 2; got != want {
    		t.Errorf("len(podMap[rs1]) = %v, want %v", got, want)
    	}
    	expect := map[string]struct{}{"rs1-pod": {}, "pod4": {}}
    	for _, pod := range podMap[rs1.UID] {
    		if _, ok := expect[pod.Name]; !ok {
    			t.Errorf("unexpected pod name for rs1: %s", pod.Name)
    		}
    	}
    	if got, want := len(podMap[rs2.UID]), 1; got != want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    			shift1, shift2 = shift2, shift1
    		}
    		return []*instruction{
    			&instruction{as: ASUB, rs1: REG_ZERO, rs2: ins.rs2, rd: REG_TMP},
    			&instruction{as: shift2, rs1: ins.rs1, rs2: REG_TMP, rd: REG_TMP},
    			&instruction{as: shift1, rs1: ins.rs1, rs2: ins.rs2, rd: ins.rd},
    			&instruction{as: AOR, rs1: REG_TMP, rs2: ins.rd, rd: ins.rd},
    		}
    
    	case ARORI, ARORIW:
    		// ROR -> OR (SLLI -x y) (SRLI x y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. pkg/config/resource/metadata_test.go

    	g := NewWithT(t)
    
    	m := Metadata{
    		FullName: NewFullName("ns1", "rs1"),
    		Version:  Version("v1"),
    	}
    
    	c := m.Clone()
    	g.Expect(m).To(Equal(c))
    }
    
    func TestMetadata_Clone_NonNilMaps(t *testing.T) {
    	g := NewWithT(t)
    
    	m := Metadata{
    		FullName:    NewFullName("ns1", "rs1"),
    		Version:     Version("v1"),
    		Annotations: map[string]string{"foo": "bar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. pkg/controller/deployment/sync_test.go

    			Replicas: int32(replicas),
    		}
    		return rs
    	}
    
    	// for all test cases, creationTimestamp order keeps as: rs1 < rs2 < rs3 < r4
    	tests := []struct {
    		oldRSs               []*apps.ReplicaSet
    		revisionHistoryLimit int32
    		expectedDeletedRSs   sets.String
    	}{
    		{
    			// revision order: rs1 < rs2, delete rs1
    			oldRSs: []*apps.ReplicaSet{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. pkg/controller/deployment/rollback.go

    		//
    		// For example,
    		// A Deployment has old RS1 with annotation {change-cause:create}, and new RS2 {change-cause:edit}.
    		// Note that both annotations are copied from Deployment, and the Deployment should be annotated {change-cause:edit} as well.
    		// Now, rollback Deployment to RS1, we should update Deployment's pod-template and also copy annotation from RS1.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	SD	X5, 4294967296(X6)		// ERROR "constant 4294967296 too large"
    	SRLI	$1, X5, F1			// ERROR "expected integer register in rd position but got non-integer register F1"
    	SRLI	$1, F1, X5			// ERROR "expected integer register in rs1 position but got non-integer register F1"
    	FNES	F1, (X5)			// ERROR "needs an integer register output"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. pkg/controller/deployment/util/deployment_util_test.go

    				t.Errorf("In test case %q, expected %#v, got %#v", test.Name, test.expectedRequire, requireRS)
    			}
    		})
    	}
    }
    
    func TestGetReplicaCountForReplicaSets(t *testing.T) {
    	rs1 := generateRS(generateDeployment("foo"))
    	*(rs1.Spec.Replicas) = 1
    	rs1.Status.Replicas = 2
    	rs2 := generateRS(generateDeployment("bar"))
    	*(rs2.Spec.Replicas) = 2
    	rs2.Status.Replicas = 3
    
    	tests := []struct {
    		Name           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    			},
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node-a").Label("planet", "mars").Obj(),
    			},
    			objs: []runtime.Object{
    				&appsv1.ReplicaSet{ObjectMeta: metav1.ObjectMeta{Namespace: "default", Name: "rs1"}, Spec: appsv1.ReplicaSetSpec{Selector: st.MakeLabelSelector().Exists("tar").Obj()}},
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      %2 = "tfl.relu"(%1) : (tensor<40x40xf32>) -> tensor<40x40xf32>
      func.return %1, %2 : tensor<40x40xf32>, tensor<40x40xf32>
    
      // CHECK: %[[rs1:.*]] = "tfl.reshape"(%arg0
      // CHECK: %[[rs2:.*]] = "tfl.relu"(%[[rs1]]
      // CHECK: return %[[rs1]], %[[rs2]]
    }
    
    // CHECK-LABEL: @NotReorderElementwiseValueOpAndMoveOpDifferentQuantParams
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set_test.go

    	fakeHandler.ValidateRequestCount(t, 2)
    }
    
    func TestGetReplicaSetsWithSameController(t *testing.T) {
    	someRS := newReplicaSet(1, map[string]string{"foo": "bar"})
    	someRS.Name = "rs1"
    	relatedRS := newReplicaSet(1, map[string]string{"foo": "baz"})
    	relatedRS.Name = "rs2"
    	unrelatedRS := newReplicaSet(1, map[string]string{"foo": "quux"})
    	unrelatedRS.Name = "rs3"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
Back to top