- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,174 for expectHead (0.16 sec)
-
internal/hash/errors.go
- }
- func (e SHA256Mismatch) Error() string {
- return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
- }
- // BadDigest - Content-MD5 you specified did not match what we received.
- type BadDigest struct {
- ExpectedMD5 string
- CalculatedMD5 string
- }
- func (e BadDigest) Error() string {
- return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 15 21:08:54 UTC 2023 - 2.4K bytes - Viewed (0) -
cmd/tier_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 21 04:13:40 UTC 2023 - 1.5K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
- }
- if len(events) > 0 {
- slices.SortFunc(events, func(a, b Event) int {
- // Prefer Expiration over Transition for both current
- // and noncurrent versions when,
- // - now is past the expected time to action
- // - expected time to action is the same for both actions
- if now.After(a.Due) && now.After(b.Due) || a.Due.Equal(b.Due) {
- switch a.Action {
- case DeleteAllVersionsAction, DelMarkerDeleteAllVersionsAction,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
- else -> readToken()
- } ?: return // Expected a value.
- val replaced = parameters.put(peek, parameterValue)
- peek = null
- if (replaced != null) return // Unexpected duplicate parameter.
- if (!skipCommasAndWhitespace() && !exhausted()) return // Expected ',' or EOF.
- }
- result.add(Challenge(schemeName, parameters))
- }
- }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/object-api-deleteobject_test.go
- if err != nil && !isErrObjectNotFound(err) {
- t.Log(oi)
- t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err)
- continue
- }
- result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000)
- if err != nil {
- t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
- continue
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
- if testCase.expectedErr {
- t.Log(err)
- }
- if err != nil && !testCase.expectedErr {
- t.Errorf("Expected success, but found %s", err)
- }
- if err == nil && testCase.expectedErr {
- t.Error("Expected error, but got `nil`")
- }
- if update != testCase.expectedUpdate {
- t.Errorf("Expected %t, got %t", testCase.expectedUpdate, update)
- }
- })
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 01 14:38:46 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
- throw new AssertionError(
- "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
- }
- if (userPassedSupplier) {
- throw new AssertionError(
- "expected to throw "
- + expectedThrowable.getSimpleName()
- + " but returned result: "
- + result);
- } else {
- throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
- throw new AssertionError(
- "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
- }
- if (userPassedSupplier) {
- throw new AssertionError(
- "expected to throw "
- + expectedThrowable.getSimpleName()
- + " but returned result: "
- + result);
- } else {
- throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 6.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
- requestBuilder.url("ftp://hostname/path")
- }.also { expected ->
- assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
- }
- }
- @Test
- fun invalidPort() {
- val requestBuilder = Request.Builder()
- assertFailsWith<IllegalArgumentException> {
- requestBuilder.url("http://localhost:65536/")
- }.also { expected ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
- }
- /**
- * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property
- * (see the {@code Graph} documentation for more information).
- */
- @Test
- public abstract void nodes_checkReturnedSetMutability();
- /**
- * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability
- * property (see the {@code Graph} documentation for more information).
- */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0)