Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 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. src/cmd/link/internal/ld/errors.go

    		if ok {
    			for abi := obj.ABI(0); abi < obj.ABICount; abi++ {
    				v := sym.ABIToVersion(abi)
    				if v == -1 {
    					continue
    				}
    				if rs1 := ldr.Lookup(name, v); rs1 != 0 && ldr.SymType(rs1) != sym.Sxxx && ldr.SymType(rs1) != sym.SXREF {
    					haveABI = abi
    				}
    			}
    		}
    
    		// Give a special error message for main symbol (see #24809).
    		if name == "main.main" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:38:08 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. 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)
  5. src/reflect/visiblefields_test.go

    	SF1
    }
    
    type SG struct {
    	G int
    }
    
    type SG1 struct {
    	SG
    }
    
    type sFG struct {
    	F int
    	G int
    }
    
    type RS1 struct {
    	i int
    }
    
    type RS2 struct {
    	RS1
    }
    
    type RS3 struct {
    	RS2
    	RS1
    }
    
    type M map[string]any
    
    type Rec1 struct {
    	*Rec2
    }
    
    type Rec2 struct {
    	F string
    	*Rec1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 08 13:44:41 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    					RestartPolicy: examplev1.RestartPolicy("never"),
    				},
    			},
    		},
    		"convert example#replicaset to example2/v1#replicaset": {
    			obj: &example.ReplicaSet{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "rs1",
    					Labels: map[string]string{
    						"key": "value",
    					},
    				},
    				Spec: example.ReplicaSetSpec{
    					Replicas: 1,
    				},
    			},
    			gvk: example2v1.SchemeGroupVersion.WithKind("ReplicaSet"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top