- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 915 for tc (0.02 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
* * @param tc * @param userInfo */ public NtlmPasswordAuthentication ( CIFSContext tc, String userInfo ) { super( userInfo, tc.getConfig().getDefaultDomain(), tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST", tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 8.5K bytes - Viewed (0) -
pkg/kubelet/container/ref_test.go
}, success: true, }, } for _, tc := range cases { actual, err := GenerateContainerRef(tc.pod, tc.container) if err != nil { if tc.success { t.Errorf("%v: unexpected error: %v", tc.name, err) } continue } if !tc.success { t.Errorf("%v: unexpected success", tc.name) continue } if e, a := tc.expected.Kind, actual.Kind; e != a {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 4.4K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
}, { resourceName: "", expectVal: true, }, } for _, tc := range testCases { tc := tc t.Run(fmt.Sprintf("resourceName input=%s, expected value=%v", tc.resourceName, tc.expectVal), func(t *testing.T) { t.Parallel() v := IsNativeResource(tc.resourceName) if v != tc.expectVal { t.Errorf("Got %v but expected %v", v, tc.expectVal) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go
}, } for _, tc := range cases { _, clusterCIDR, _ := netutils.ParseCIDRSloppy(tc.clusterCIDRStr) a, err := NewCIDRSet(clusterCIDR, tc.subnetMaskSize) if err != nil { t.Fatalf("error for %v ", tc.description) } cidr := a.indexToCIDRBlock(tc.index) if cidr.String() != tc.CIDRBlock { t.Fatalf("error for %v index %d %s", tc.description, tc.index, cidr.String()) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 11 08:53:03 UTC 2023 - 29.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/taint_test.go
Value: "bar", Effect: TaintEffectPreferNoSchedule, }, expectMatch: false, }, } for _, tc := range testCases { if tc.expectMatch != tc.taint.MatchTaint(&tc.taintToMatch) { t.Errorf("[%s] expect taint %s match taint %s", tc.description, tc.taint.ToString(), tc.taintToMatch.ToString()) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 16 13:06:01 UTC 2019 - 2.9K bytes - Viewed (0) -
pkg/registry/core/service/allocator/bitmap_test.go
max: 65535, reserved: 256, }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { m := tc.allocator(tc.max, "test", tc.reserved) offset := 3 if ok, _ := m.Allocate(offset); !ok { t.Errorf("error allocate offset %v", offset) } spec, bytes := m.Snapshot() m2 := tc.allocator(10, "test", tc.reserved) err := m2.Restore(spec, bytes) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 10 08:56:31 UTC 2022 - 13.3K bytes - Viewed (0) -
pkg/controller/podautoscaler/metrics/client_test.go
tc.verifyResults(t, info, timestamp, err) } else { val, timestamp, err := metricsClient.GetObjectMetric(tc.metricName, tc.namespace, tc.singleObject, tc.metricLabelSelector) info := PodMetricsInfo{tc.singleObject.Name: {Value: val}} tc.verifyResults(t, info, timestamp, err) } } func TestRESTClientPodCPU(t *testing.T) { targetTimestamp := 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 16.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency_test.go
expectedError: true, }, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) { client := clientsetfake.NewSimpleClientset() tc.setupClient(client) err := CreateOrMutateConfigMap(client, &v1.ConfigMap{}, tc.mutator) if (err != nil) != tc.expectedError { t.Fatalf("expected error: %v, got %v, error: %v", tc.expectedError, err != nil, err) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/util_test.go
{"a/", "a/"}, {"a/../", "a/../"}, // Path prefix matches {"a/b", "a"}, {"a/b", "a/"}, {"中文/", "中文"}, } for i, tc := range validTestcases { if !hasPathPrefix(tc.s, tc.prefix) { t.Errorf(`%d: Expected hasPathPrefix("%s","%s") to be true`, i, tc.s, tc.prefix) } } invalidTestcases := []struct { s string prefix string }{ // Mismatch {"a", "b"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 28 02:01:09 UTC 2018 - 1.5K bytes - Viewed (0) -
pkg/apis/policy/v1/conversion_test.go
t.Fatal(err) } for _, tc := range testcases { t.Run(tc.Name, func(t *testing.T) { err := scheme.Convert(tc.In, tc.Out, nil) if err != nil { if len(tc.ExpectErr) == 0 { t.Fatalf("unexpected error %v", err) } if !strings.Contains(err.Error(), tc.ExpectErr) { t.Fatalf("expected error %s, got %v", tc.ExpectErr, err) } return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 09 15:29:11 UTC 2021 - 3.3K bytes - Viewed (0)