- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,910 for expected_ (0.15 sec)
-
src/crypto/elliptic/p256_test.go
y, _ := new(big.Int).SetString(e.yIn, 16) k, _ := new(big.Int).SetString(e.k, 16) expectedX, _ := new(big.Int).SetString(e.xOut, 16) expectedY, _ := new(big.Int).SetString(e.yOut, 16) xx, yy := p256.ScalarMult(x, y, k.Bytes()) if xx.Cmp(expectedX) != 0 || yy.Cmp(expectedY) != 0 { t.Errorf("#%d: got (%x, %x), want (%x, %x)", i, xx, yy, expectedX, expectedY) } } } type synthCombinedMult struct { Curve }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 16:58:48 UTC 2022 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:21:56 UTC 2023 - 24.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy
assertionFailures[0].expected == null assertionFailures[0].actual == null assertionFailures[1].message == 'Custom ComparisonFailure. expected:<comparison [expected] value> but was:<comparison [actual] value>' assertionFailures[1].description.length() > 100
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 22.1K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
Namespace: namespace, }, Data: data, } } func checkActions(actual, expected []ktesting.Action) error { if len(actual) != len(expected) { return fmt.Errorf("unexpected number of actions, want %d but got %d, %v", len(expected), len(actual), actual) } for i, action := range actual { expectedAction := expected[i] verb := expectedAction.GetVerb() resource := expectedAction.GetResource().Resource
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc_test.go
tests := map[string]struct { token string expectErr bool expectedID string }{ "No bearer token": { expectErr: true, }, "Valid token": { token: token, expectErr: false, expectedID: spiffe.MustGenSpiffeURIForTrustDomain("baz.svc.id.goog", "bar", "foo"), }, "Expired token": { token: expiredToken, expectErr: true, }, "Token with wrong audience": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go
t.Errorf("Unexpected AuditID in audit event, AuditID should be the same with Audit-ID http header") } if expectedID == types.UID("") { expectedID = event.AuditID } else if expectedID != event.AuditID { t.Errorf("Audits for one request should share the same AuditID, %s differs from %s", expectedID, event.AuditID) } if event.ObjectRef.APIVersion != "v1" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
// interpreted in little-endian order. int verification = Integer.reverseBytes(Ints.fromByteArray(result)); if (expected != verification) { throw new AssertionError( "Expected: " + Integer.toHexString(expected) + " got: " + Integer.toHexString(verification)); } } static final Funnel<Object> BAD_FUNNEL =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certs_test.go
} } val, err := test.externalCAFunc(&cfg.ClusterConfiguration) if val != test.expected { t.Errorf("UsingExternalCA did not match expected: %v", test.expected) } if (err != nil) != test.expectedErr { t.Errorf("UsingExternalCA returned un expected err: %v", err) } }) } } func TestValidateMethods(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
fail(); } catch (IllegalStateException expected2) { } try { ClosingFuture.whenAllComplete(asList(closingFuture)); fail(); } catch (IllegalStateException expected1) { } try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
fail(); } catch (IllegalStateException expected2) { } try { ClosingFuture.whenAllComplete(asList(closingFuture)); fail(); } catch (IllegalStateException expected1) { } try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0)