- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 2,104 for case (0.02 seconds)
-
cmd/bucket-replication-utils.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
cmd/erasure.go
func diskErrToDriveState(err error) (state string) { switch { case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded): state = madmin.DriveStateOffline case errors.Is(err, errCorruptedFormat) || errors.Is(err, errCorruptedBackend): state = madmin.DriveStateCorrupt case errors.Is(err, errUnformattedDisk): state = madmin.DriveStateUnformatted case errors.Is(err, errDiskAccessDenied):
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
for (Thread thread : blockedThreads) { AbstractFutureBenchmarks.awaitWaiting(thread); } switch (state) { case NOT_DONE: break; case FINISHED: f.set(null); break; case CANCELLED: f.cancel(false); break; case FAILED: f.setException(new Exception()); break; } return f; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (0) -
internal/etag/etag.go
// ETag. // // In general, a caller has to distinguish the following cases: // - The object is a multipart object. In this case, // Format returns the ETag unmodified. // - The object is a SSE-KMS or SSE-C encrypted single- // part object. In this case, Format returns the last // 16 bytes of the encrypted ETag which will be a random // value.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.4K bytes - Click Count (0) -
cmd/bootstrap-peer-server_gen.go
field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "NEndpoints": z.NEndpoints, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "NEndpoints") return } case "CmdLines": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "CmdLines") return
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/lock-rest-server.go
*dst = dsync.LockResp{Code: dsync.RespOK} switch err { case nil: case errLockNotInitialized: dst.Code = dsync.RespLockNotInitialized case errLockConflict: dst.Code = dsync.RespLockConflict case errLockNotFound: dst.Code = dsync.RespLockNotFound default: dst.Code = dsync.RespErr dst.Err = err.Error() } return dst, nilCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jan 31 19:54:34 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/bucket/object/lock/lock_test.go
//nolint:gocritic if tt.expectedErr == nil { if err != nil { t.Fatalf("Case %d error: expected = <nil>, got = %v", i, err) } } else if err == nil { t.Fatalf("Case %d error: expected = %v, got = <nil>", i, tt.expectedErr) } else if tt.expectedErr.Error() != err.Error() { t.Fatalf("Case %d error: expected = %v, got = %v", i, tt.expectedErr, err) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
internal/grid/trace.go
// Should match SingleHandler.Call checks. switch typed := v.(type) { case *MSS: trace.Path += typed.ToQuery() case map[string]string: m := MSS(typed) trace.Path += m.ToQuery() case *URLValues: trace.Path += typed.Values().Encode() case *NoPayload, *Bytes: trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed) case string: trace.Path = fmt.Sprintf("%s?%s", trace.Path, typed) default: }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jun 01 05:17:37 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/Slf4jLogger.java
requireNonNull(level, "level"); requireNonNull(message, "message"); switch (level) { case ERROR -> logger.error(message, error); case WARN -> logger.warn(message, error); case INFO -> logger.info(message, error); case DEBUG -> logger.debug(message, error); default -> logger.error("UNKNOWN LEVEL {}: {}", level, message, error); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.7K bytes - Click Count (0)