Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 368 for tc (0.04 sec)

  1. pkg/kubelet/cm/topologymanager/numa_info_test.go

    				},
    			},
    		},
    	}
    
    	for _, tc := range tcases {
    		t.Run(tc.description, func(t *testing.T) {
    
    			result := tc.numaInfo.Closest(tc.candidate, tc.current)
    			if result != tc.current && result != tc.candidate {
    				t.Errorf("Expected result to be either 'current' or 'candidate' hint")
    			}
    			if tc.expected == "current" && result != tc.current {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SIDCacheImpl.java

        @Override
        public Map<jcifs.SID, List<jcifs.SID>> getLocalGroupsMap ( CIFSContext tc, String authorityServerName, int flags ) throws CIFSException {
            SID domSid = getServerSid(tc, authorityServerName);
            synchronized ( this.sidCache ) {
                try ( DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc) ) {
                    samr.SamrSamArray sam = new samr.SamrSamArray();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    	}
    	compiler := NewCompiler(extended)
    
    	for _, tc := range cases {
    		envType := tc.envType
    		if envType == "" {
    			envType = environment.NewExpressions
    		}
    		t.Run(tc.name, func(t *testing.T) {
    			for _, expr := range tc.expressions {
    				t.Run(expr, func(t *testing.T) {
    					t.Run("expression", func(t *testing.T) {
    						options := OptionalVariableDeclarations{HasParams: tc.hasParams, HasAuthorizer: tc.hasAuthorizer}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. pkg/registry/core/persistentvolume/strategy_test.go

    				},
    			},
    		},
    	}
    
    	for _, tc := range tests {
    		t.Run(tc.name, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.PersistentVolumeLastPhaseTransitionTime, tc.fg)
    
    			obj := tc.newObj.DeepCopy()
    			StatusStrategy.PrepareForUpdate(context.TODO(), obj, tc.oldObj.DeepCopy())
    			if !reflect.DeepEqual(obj, tc.expectedObj) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/runtime/runtime_test.go

    			}
    			if ret64 != int64(tc.ret) {
    				t.Errorf("%d / %d got ret %d rem %d want ret %d rem %d", tc.num, tc.div, ret64, rem64, tc.ret, tc.rem)
    			}
    
    			var rem int32
    			ret := Timediv(tc.num, tc.div, &rem)
    			if ret != tc.ret || rem != tc.rem {
    				t.Errorf("timediv %d / %d got ret %d rem %d want ret %d rem %d", tc.num, tc.div, ret, rem, tc.ret, tc.rem)
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/proxy_config_test.go

    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			store := newProxyConfigStore(t, tc.configs)
    			m := &meshconfig.MeshConfig{
    				RootNamespace: istioRootNamespace,
    				DefaultConfig: tc.defaultConfig,
    			}
    			original, _ := protomarshal.ToJSON(m)
    			pcs := GetProxyConfigs(store, m)
    			merged := pcs.EffectiveProxyConfig(tc.proxy, m)
    			pc := mesh.DefaultProxyConfig()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 21 01:23:19 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    			},
    		},
    	}
    
    	for _, tc := range testcases {
    		t.Run(tc.Name, func(t *testing.T) {
    			err := ConvertVersionedAttributes(tc.Attrs, tc.GVK, o)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if e, a := tc.ExpectedAttrs.Attributes.GetObject(), tc.Attrs.Attributes.GetObject(); !reflect.DeepEqual(e, a) {
    				t.Errorf("unexpected diff:\n%s", cmp.Diff(e, a))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    	codecs := serializer.NewCodecFactory(scheme)
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			serverConfig := server.NewConfig(codecs)
    			etcdOptions := &EtcdOptions{
    				EncryptionProviderConfigFilepath:        tc.encryptionConfigPath,
    				EncryptionProviderConfigAutomaticReload: tc.reload,
    				SkipHealthEndpoints:                     tc.skipHealth,
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. pkg/proxy/endpointslicecache_test.go

    			expectChanged: true,
    		},
    	}
    
    	for name, tc := range testCases {
    		t.Run(name, func(t *testing.T) {
    			cmc := newCacheMutationCheck([]*discovery.EndpointSlice{tc.initialSlice})
    
    			if tc.initialSlice != nil {
    				tc.cache.updatePending(tc.initialSlice, false)
    				tc.cache.checkoutChanges()
    			}
    
    			serviceKey, sliceKey, err := endpointSliceCacheKeys(tc.updatedSlice)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		{name: "empty CRISocket", criSocket: "", expectedErrors: true},
    	}
    	for _, tc := range tests {
    		actual := ValidateSocketPath(tc.criSocket, field.NewPath("criSocket"))
    		actualErrors := len(actual) > 0
    		if actualErrors != tc.expectedErrors {
    			t.Errorf("error: socket path: %q\n\texpected: %t\n\t  actual: %t", tc.criSocket, tc.expectedErrors, actualErrors)
    		}
    	}
    }
    
    func TestValidateURLs(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top