- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,023 for exist (0.05 sec)
-
cmd/acl-handlers.go
writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Before proceeding validate if bucket exists. _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } aclHeader := r.Header.Get(xhttp.AmzACL) if aclHeader == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencies with yield FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. /// tip Make sure to use `yield` one single time per dependency. /// /// note | "Technical Details"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
* * @throws IllegalArgumentException if the resource is not found */ @CanIgnoreReturnValue // being used to check if a resource exists // TODO(cgdecker): maybe add a better way to check if a resource exists // e.g. Optional<URL> tryGetResource or boolean resourceExists public static URL getResource(String resourceName) { ClassLoader loader = MoreObjects.firstNonNull(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 7.5K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } t, err := time.Parse(time.RFC3339, strings.TrimSpace(string(commitUnix))) if err != nil { fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } return t.UTC() } func main() { var version string if len(os.Args) > 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0) -
misc/go_android_exec/main.go
// Build a regexp that matches any prefix of the exit string at the end of // the input. We do it this way to avoid assuming anything about the // subcommand output (e.g., it might not be \n-terminated). var exitReStr strings.Builder for i := 1; i <= len(exitStr); i++ { fmt.Fprintf(&exitReStr, "%s$|", exitStr[:i]) } // Finally, match the exit string along with an exit code.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/bucket-policy-handlers.go
if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Check if bucket exists. if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Error out if Content-Length is missing.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/metacache-walk.go
legacyFS := !(s.fsType == xfs || s.fsType == ext4) s.RLock() legacy := s.formatLegacy s.RUnlock() // Verify if volume is valid and it exists. volumeDir, err := s.getVolDir(opts.Bucket) if err != nil { return err } if !skipAccessChecks(opts.Bucket) { // Stat a volume entry. if err = Access(volumeDir); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/event/targetlist.go
for _, target := range targets { if _, ok := list.targets[target.ID()]; ok { return fmt.Errorf("target %v already exists", target.ID()) } list.targets[target.ID()] = target } return nil } // Exists - checks whether target by target ID exists or not. func (list *TargetList) Exists(id TargetID) bool { list.RLock() defer list.RUnlock() _, found := list.targets[id] return found }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.2K bytes - Viewed (0) -
common/scripts/metallb-native.yaml
and DoesNotExist. type: string values: description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Feb 23 23:56:31 UTC 2024 - 63.9K bytes - Viewed (0)