- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 7,388 for returns (0.06 sec)
-
cmd/metrics-v3-types.go
switch mt { case CounterMT: return "counter" case GaugeMT: return "gauge" case HistogramMT: return "histogram" default: return "*unknown*" } } func (mt MetricType) toProm() prometheus.ValueType { switch mt { case CounterMT: return prometheus.CounterValue case GaugeMT: return prometheus.GaugeValue case HistogramMT: return prometheus.CounterValue default:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return var.toString(); } /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */ static @Nullable TypeVariableKey forLookup(Type t) { if (t instanceof TypeVariable) { return new TypeVariableKey((TypeVariable<?>) t); } else { return null; } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
public static ListenableFuture<@Nullable Void> immediateVoidFuture() { return (ListenableFuture<@Nullable Void>) ImmediateFuture.NULL; } /** * Returns a {@code ListenableFuture} which has an exception set immediately upon construction. * * <p>The returned {@code Future} can't be cancelled, and its {@code isDone()} method always * returns {@code true}. Calling {@code get()} will immediately throw the provided {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
internal/disk/stat_freebsd.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 Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
checkElementIndex(index, size()); // for GWT return sequence.charAt(index); } @Override public int size() { return sequence.length(); } } /** * Returns a reversed view of the specified list. For example, {@code * Lists.reverse(Arrays.asList(1, 2, 3))} returns a list containing {@code 3, 2, 1}. The returned
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
/** * Asserts that the current response was redirected and returns the prior response. */ fun priorResponse(): RecordedResponse { val priorResponse = response!!.priorResponse!! return RecordedResponse(priorResponse.request, priorResponse, null, null, null) } /** * Asserts that the current response used the network and returns the network response. */ fun networkResponse(): RecordedResponse {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt
*/ fun cancel() fun interface Factory { /** * Creates a new event source and immediately returns it. Creating an event source initiates an * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be * notified. The caller must cancel the returned event source when it is no longer in use. */ fun newEventSource( request: Request,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.java
* * @author mbechler * */ public interface SmbFileHandle extends AutoCloseable { /** * Returns the tree handle associated with this file handle * * @return the tree */ SmbTreeHandle getTree(); /** * Checks if this file handle is still valid * * @return whether the file descriptor is valid */ boolean isValid(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
var altValueBuilders = []func() *Value{ FromNull, func() *Value { return FromBool(false) }, func() *Value { return FromBytes(nil) }, func() *Value { return FromFloat(0) }, func() *Value { return FromInt(0) }, func() *Value { return FromTimestamp(time.Time{}) }, func() *Value { return FromString("") }, } func TestValue_SameTypeAs(t *testing.T) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
internal/arn/arn.go
var validResourceIDRegex = regexp.MustCompile(`[A-Za-z0-9_/\.-]+$`) // NewIAMRoleARN - returns an ARN for a role in MinIO. func NewIAMRoleARN(resourceID, serverRegion string) (ARN, error) { if !validResourceIDRegex.MatchString(resourceID) { return ARN{}, fmt.Errorf("invalid resource ID: %s", resourceID) } return ARN{ Partition: arnPartitionMinio, Service: arnServiceIAM, Region: serverRegion,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.5K bytes - Viewed (0)