- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,299 for else (0.01 seconds)
-
ci/official/utilities/code_check_changed_files.bats
# To get the as-merged branch during the CI tests git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files else # If the branch is not present, then diff against origin/master git diff --diff-filter ACMRT --name-only origin/master > $BATS_FILE_TMPDIR/changed_files fi }Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Click Count (0) -
internal/hash/checksum.go
if part > 0 && uint64(part) <= t { offset := (part - 1) * length partCs := b[offset:] cs = base64.StdEncoding.EncodeToString(partCs[:length]) } b = b[wantLen:] } } else if part > 1 { // For non-multipart, checksum is part 1. cs = "" } if cs != "" { res[typ.String()] = cs if ckType := typ.ObjType(); ckType != "" { res[xhttp.AmzChecksumType] = ckType }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java
if (entry.getKey() == SecDispatcher.ValidationResponse.Level.ERROR) { consumer = s -> context.logger.error( messageBuilderFactory.builder().error(s).build()); } else if (entry.getKey() == SecDispatcher.ValidationResponse.Level.WARNING) { consumer = s -> context.logger.warn( messageBuilderFactory.builder().warning(s).build()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
plugins.add(newPlugin("maven-jar-plugin", "jar")); plugins.add(newPlugin("maven-install-plugin", "install")); plugins.add(newPlugin("maven-deploy-plugin", "deploy")); } else { plugins = Collections.emptySet(); } return plugins; } private Plugin newPlugin(String artifactId, String... goals) { Plugin plugin = new Plugin();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/iam/access-manager-plugin.go
accountValue := m["account"].(string) actionValue := m["action"].(string) // Allow user `minio` to perform any action. var res Result if accountValue == "minio" { res.Result = true } else { // All other users may not perform any `s3:Put*` operations. res.Result = true if strings.HasPrefix(actionValue, "s3:Put") { res.Result = false } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
res.metaArr = mkMetaArr(N, parity, agree) res.parities = mkParities(N, N-(N/2+1), parity, agree) res.errs = make([]error, N) if agree >= N/2+1 { // simple majority consensus res.parity = N - (N/2 + 1) } else { res.parity = -1 } return res } nonTieredTest := func(N, parity, agree int) (res struct { metaArr []FileInfo errs []error parities []int parity int }, ) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
docs/site-replication/run-replication-with-checksum-header.sh
PART_ETAG=$(echo "${UPLOAD_PART_OUT}" | jq '.ETag') if [ "${idx}" == 10 ]; then PARTS="${PARTS}{\"ETag\": ${PART_ETAG}, \"ChecksumSHA256\": \"${PART_CHKSUM}\", \"PartNumber\": ${idx}}" else PARTS="${PARTS}{\"ETag\": ${PART_ETAG}, \"ChecksumSHA256\": \"${PART_CHKSUM}\", \"PartNumber\": ${idx}}," fi done echo "{\"Parts\":[${PARTS}]}" >fileparts.json jq <fileparts.jsonCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 11.5K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
return exception; } @Override public String getMessage() { String msg; if (message != null && !message.isEmpty()) { msg = message; } else { msg = exception.getMessage(); if (msg == null) { msg = ""; } } return msg; } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0) -
tests/update_has_one_test.go
t.Fatalf("updated at should be updated, but not, old: %v, new %v", lastUpdatedAt.Format(time.RFC3339), user3.Account.UpdatedAt.Format(time.RFC3339)) } else { user.Account.UpdatedAt = user4.Account.UpdatedAt CheckUser(t, user4, user) } t.Run("Polymorphic", func(t *testing.T) { pet := Pet{Name: "create"} if err := DB.Create(&pet).Error; err != nil {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jul 14 06:55:54 GMT 2022 - 3.6K bytes - Click Count (0)