Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 303 for Cases (0.04 sec)

  1. src/cmd/compile/internal/types2/infer.go

    			// unify the type parameter with the core type.
    			if core != nil {
    				// A type parameter can be unified with its core type in two cases.
    				switch {
    				case tx != nil:
    					// The corresponding type argument tx is known. There are 2 cases:
    					// 1) If the core type has a tilde, per spec requirement for tilde
    					//    elements, the core type is an underlying (literal) type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses_test.go

    							Seq:    getSequences(2, 3, 0),
    						},
    					},
    				},
    				nil,
    				[][]uint64{{16, 16, 16, 16, 16, 16, 16, 16}},
    			},
    			true,
    		},
    		// Supporting some advanced cases.
    		{
    			"http://minio{1...64}.mydomain.net/data",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "http://minio",
    							Suffix: ".mydomain.net/data",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    	legacyWebhook := getWebhooksFromYaml(t, legacyDefaultInjector)
    	legacyRevWebhook := getWebhooksFromYaml(t, legacyRevisionInjector)
    
    	// predicate is used to filter out "obvious" test cases, to avoid enumerating all cases
    	// nolint: unparam
    	predicate := func(ls LabelSet) (string, bool) {
    		if ls.namespace.Get("istio-injection") == "disabled" {
    			return "", true
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/volume_manager_test.go

    	podManager := kubepod.NewBasicPodManager()
    
    	node, pod, _, claim := createObjects(v1.PersistentVolumeFilesystem, v1.PersistentVolumeFilesystem)
    
    	existingGid := pod.Spec.SecurityContext.SupplementalGroups[0]
    
    	cases := []struct {
    		gidAnnotation string
    		expected      []int64
    	}{
    		{
    			gidAnnotation: "777",
    			expected:      []int64{777},
    		},
    		{
    			gidAnnotation: strconv.FormatInt(int64(existingGid), 10),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/go/types/infer.go

    			// unify the type parameter with the core type.
    			if core != nil {
    				// A type parameter can be unified with its core type in two cases.
    				switch {
    				case tx != nil:
    					// The corresponding type argument tx is known. There are 2 cases:
    					// 1) If the core type has a tilde, per spec requirement for tilde
    					//    elements, the core type is an underlying (literal) type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. pilot/pkg/xds/delta.go

    	// initialize with empty config, leading to reconnected Envoys loosing
    	// configuration. This is an additional safety check inaddition to adding
    	// cachesSynced logic to readiness probe to handle cases where kube-proxy
    	// ip tables update latencies.
    	// See https://github.com/istio/istio/issues/25495.
    	if !s.IsServerReady() {
    		return errors.New("server is not ready to serve discovery information")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/subst.go

    func (check *Checker) subst(pos syntax.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    	switch t := typ.(type) {
    	case *Basic:
    		return typ // nothing to do
    	case *TypeParam:
    		return smap.lookup(t)
    	}
    
    	// general case
    	subst := subster{
    		pos:       pos,
    		smap:      smap,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

          - v3
    `)
    
    func TestKeepOrDeleteNullInObj(t *testing.T) {
    	tc := FilterNullTestCases{}
    	err := yaml.Unmarshal(filterNullTestCaseData, &tc)
    	if err != nil {
    		t.Fatalf("can't unmarshal test cases: %s\n", err)
    	}
    
    	for _, test := range tc.TestCases {
    		resultWithNull, err := keepOrDeleteNullInObj(test.OriginalObj, true)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    		return etag
    	}
    	return ""
    }
    
    // Beginning of unix time is treated as sentinel value here.
    var (
    	timeSentinel     = time.Unix(0, 0).UTC()
    	timeSentinel1970 = time.Unix(0, 1).UTC() // 1970 used for special cases when xlmeta.version == 0
    )
    
    // Boot modTimes up to disk count, setting the value to time sentinel.
    func bootModtimes(diskCount int) []time.Time {
    	modTimes := make([]time.Time, diskCount)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	external := serviceregistry.Simple{
    		ClusterID:           "cluster-1",
    		ProviderID:          provider.External,
    		DiscoveryController: memory.NewServiceDiscovery(),
    	}
    
    	cases := []struct {
    		nodeClusterID cluster.ID
    		registry      serviceregistry.Instance
    		want          bool
    	}{
    		// matching kube registry
    		{"cluster-1", cluster1, false},
    		// unmatching kube registry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top