- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 6,449 for _return (0.12 sec)
-
internal/bucket/lifecycle/tag.go
return errDuplicatedXMLTag } tag.Value = s valueAlreadyParsed = true default: return errUnknownXMLTag } } } return nil } func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 2.4K bytes - Viewed (0) -
internal/disk/stat_linux_s390x.go
if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return IOStats{}, errors.New("operation unsupported")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
@SuppressWarnings("unchecked") List<T> result = (List<T>) reversed; return result; } else if (list instanceof ReverseList) { return ((ReverseList<T>) list).getForwardList(); } else if (list instanceof RandomAccess) { return new RandomAccessReverseList<>(list); } else { return new ReverseList<>(list); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
internal/ioutil/hardlimitreader.go
// Read returns EOF when N <= 0 or when the underlying R returns EOF. type HardLimitedReader struct { R io.Reader // underlying reader N int64 // max bytes remaining } func (l *HardLimitedReader) Read(p []byte) (n int, err error) { if l.N < 0 { return 0, ErrOverread } n, err = l.R.Read(p) l.N -= int64(n) if l.N < 0 { return 0, ErrOverread } return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
return var.toString(); } /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */ @CheckForNull static TypeVariableKey forLookup(Type t) { if (t instanceof TypeVariable) { return new TypeVariableKey((TypeVariable<?>) t); } else { return null; } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
return 0L } earliestEvictableConnection != null -> { // A connection will be ready to evict soon. return earliestEvictableIdleAtNs + keepAliveDurationNs - now } inUseConnectionCount > 0 -> { // All connections are in use. It'll be at least the keep alive duration 'til we run again. return keepAliveDurationNs }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* in the former case, this method can never return zero, while in the latter, it will return * zero if all occurrences of the element were since removed from the multiset. * * @return the count of the element; never negative */ int getCount(); /** * {@inheritDoc} * * <p>Returns {@code true} if the given object is also a multiset entry and the two entries
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 21K bytes - Viewed (0) -
cmd/bucket-policy.go
args["groups"] = groups } } return args } // PolicyToBucketAccessPolicy converts a MinIO policy into a minio-go policy data structure. func PolicyToBucketAccessPolicy(bucketPolicy *policy.BucketPolicy) (*miniogopolicy.BucketAccessPolicy, error) { // Return empty BucketAccessPolicy for empty bucket policy. if bucketPolicy == nil { return &miniogopolicy.BucketAccessPolicy{Version: policy.DefaultVersion}, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/ParametricNullness.java
* * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParametricNullness.java
* * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0)