- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for expectedIds (0.42 sec)
-
security/pkg/pki/util/san_test.go
}) if err != nil { t.Fatal(err) } testCases := map[string]struct { exts []pkix.Extension expectedIDs []string expectedErrMsg string }{ "Empty extension list": { exts: []pkix.Extension{}, expectedIDs: nil, expectedErrMsg: "the SAN extension does not exist", }, "Extensions without SAN": { exts: []pkix.Extension{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandlerTest.groovy
expectedIds << cs.id.module conflict = handler.registerCandidate( candidate(capability, cs) ) } then: def actualIds = [] conflict.withParticipatingModules { actualIds << it } actualIds == expectedIds }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
ASSERT_EQ(errors::OK, s.code()) << s.message(); B.reset(B_raw); } float expected_dA[4] = {-.5f, 2.0f, -.5f, 2.0f}; ASSERT_NO_FATAL_FAILURE(CompareNumericalAndManualGradients( MatMulModel, ctx_.get(), {A.get(), B.get()}, 0, expected_dA, 4, UseFunction())); } TEST_P(GradientCheckerTest, TestMul) { AbstractTensorHandlePtr x; {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 10:03:59 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/argposition_test.go
for caseIndex, expectedPos := range expectedPositions { actualPosition := v.fset.PositionFor(ident.Pos(), true) errorOccured := false if expectedPos.Line != actualPosition.Line { fmt.Fprintf(&errorMessage, "wrong line number for ident %s: expected: %d got: %d\n", ident.Name, expectedPos.Line, actualPosition.Line) errorOccured = true } if expectedPos.Column != actualPosition.Column {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 3.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatch.java
List<Boolean> result = new ArrayList<>(expectedLines.size()); for (int expectedIdx = 0; expectedIdx < expectedLines.size(); expectedIdx++) { int actualIdx = matchBeginsActualIdx + expectedIdx; String expected = expectedLines.get(expectedIdx); String actual = actualLines.get(actualIdx); result.add(Objects.equals(expected, actual)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/argument_test.go
name: "z", expectedValue: "", expectedIdx: -1, startIdx: -1, }, } for _, rt := range tests { t.Run(rt.testName, func(t *testing.T) { value, idx := GetArgValue(rt.args, rt.name, rt.startIdx) if idx != rt.expectedIdx { t.Errorf("expected index: %v, got: %v", rt.expectedIdx, idx) } if value != rt.expectedValue {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 3.4K bytes - Viewed (0) -
security/pkg/credentialfetcher/fetcher_test.go
expectedErr string expectedToken string expectedIdp string }{ "gce test": { fetcherType: security.GCE, trustdomain: "abc.svc.id.goog", jwtPath: "/var/run/secrets/tokens/istio-token", identityProvider: security.GCE, expectedErr: "", // No error when ID token auth is enabled. expectedToken: "", expectedIdp: "GoogleComputeEngine", }, "mock test": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 03 20:21:32 UTC 2023 - 3K bytes - Viewed (0) -
pilot/pkg/networking/core/extension/wasmplugin_test.go
}) testCases := []struct { name string wasmPlugins []*model.WasmPluginWrapper names []string expectedECs []*core.TypedExtensionConfig }{ { name: "empty", wasmPlugins: []*model.WasmPluginWrapper{}, names: []string{someAuthNFilter.Name}, expectedECs: []*core.TypedExtensionConfig{}, }, { name: "authn", wasmPlugins: []*model.WasmPluginWrapper{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/kubelet/pod/pod_manager_test.go
// Tests that all regular pods are recorded correctly. actualPods := podManager.GetPods() if len(actualPods) != len(expectedPods) { t.Errorf("expected %d pods, got %d pods; expected pods %#v, got pods %#v", len(expectedPods), len(actualPods), expectedPods, actualPods) } for _, expected := range expectedPods { found := false for _, actual := range actualPods { if actual.UID == expected.UID {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 16:57:27 UTC 2023 - 5.4K bytes - Viewed (0)