- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 218 for isSuccess (0.05 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
void testHelpExecuteReturnsZero() throws Exception { UpgradeContext context = createMockContext(); int result = help.execute(context); assertEquals(0, result, "Help goal should return 0 (success)"); } @Test void testHelpExecuteDoesNotThrow() throws Exception { UpgradeContext context = createMockContext(); // Should not throw any exceptions
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* * @param invokerRequest the request containing all necessary information for the invocation * @return an integer representing the exit code of the invocation (0 typically indicates success) * @throws InvokerException if an error occurs during the invocation process. */ int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException; /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 2.6K bytes - Click Count (0) -
internal/crypto/header.go
return true } if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKeyMD5]; ok { return true } return false } // ParseHTTP parses the SSE-C copy headers and returns the SSE-C client key // on success. Regular SSE-C headers are ignored. func (ssecCopy) ParseHTTP(h http.Header) (key [32]byte, err error) { if h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != xhttp.AmzEncryptionAES {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 2.9K bytes - Click Count (0) -
internal/crypto/sse-kms.go
return strings.ToUpper(h.Get(xhttp.AmzServerSideEncryption)) != xhttp.AmzEncryptionAES } return false } // ParseHTTP parses the SSE-KMS headers and returns the SSE-KMS key ID // and the KMS context on success. func (ssekms) ParseHTTP(h http.Header) (string, kms.Context, error) { if h == nil { return "", nil, ErrInvalidEncryptionMethod } algorithm := h.Get(xhttp.AmzServerSideEncryption)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
cmd/erasure-utils.go
n, err := dst.Write(block) if err != nil { return 0, err } // Decrement output size. write -= int64(n) // Increment written. totalWritten += int64(n) } // Success. return totalWritten, nil } // returns deploymentID from uploadID func getDeplIDFromUpload(uploadID string) (string, error) { uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} private void moveHelper(boolean success, File from, File to) throws IOException { try { Files.move(from, to); if (success) { assertFalse(from.exists()); assertTrue(to.exists()); } else { fail("expected exception"); } } catch (IOException possiblyExpected) { if (success) { throw possiblyExpected; } } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 22.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
return } try { testHttpUrl(testData) if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Expected failure but was success: $testData") } } catch (e: Throwable) { if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Ignoring known failure: $testData") e.printStackTrace() } else {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.7K bytes - Click Count (0) -
docs/bucket/replication/delete-replication.sh
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 3.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
.withArguments(*args) protected fun assertChangesProperlyOrdered() { val result = run(":verifyAcceptedApiChangesOrdering").build() Assertions.assertEquals(TaskOutcome.SUCCESS, result.task(":verifyAcceptedApiChangesOrdering")!!.outcome) } protected fun assertHasMisorderedChanges(changes: List<Change>? = null) { val standardError = StringWriter()
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 6K bytes - Click Count (0) -
.github/workflows/multipart/migrate.sh
sleep $wait_interval fi ((attempt++)) done status=$(./mc admin group info site1 site-replication-issue-group --json | jq .groupStatus | tr -d '"') if [[ $status == "enabled" ]]; then echo "Success" else echo "Expected status: enabled, actual status: $status" exit 1 fi cleanup ## change working directory
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 4.3K bytes - Click Count (0)