- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 2,497 for Case (0.03 seconds)
-
cmd/object-api-interface.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.5K bytes - Click Count (0) -
cmd/bucket-handlers.go
v := strings.ToLower(vs) switch v { case "true", "false": objectLockEnabled = v == "true" default: writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL) return } } forceCreate := false if vs := r.Header.Get(xhttp.MinIOForceCreate); len(vs) > 0 { v := strings.ToLower(vs) switch v { case "true", "false": forceCreate = v == "true" default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
*/ @Override public InputLocation getLocation(Object key) { if (key instanceof String string) { switch (string) { case "": { return this.location; } default: { return getOtherLocation(key); } } } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
internal/http/listener_test.go
if err != nil { t.Fatalf("%s. Unable to get IP addresses of this host.", err) } for _, addr := range addrs { var ip net.IP switch v := addr.(type) { case *net.IPNet: ip = v.IP case *net.IPAddr: ip = v.IP } if ip.To4() != nil { localIP4.Add(ip.String()) } } // Filter ipList by IPs those do not start with '127.'.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java
* * The root locator is usually looked up from the plexus container. * One notable exception is the computation of the early {@code session.rootDirectory} * property which happens very early. The implementation used in this case * will be discovered using the JDK service mechanism. * * The default implementation will look for a {@code .mvn} child directory * or a {@code pom.xml} containing the {@code root="true"} attribute. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingDeque.java
* methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #offer} which can lead to unexpected behavior. In this case, you should * override {@code offer} as well. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java
Iterator<TransferResourceAndSize> entries = transfers.values().iterator(); while (entries.hasNext()) { TransferResourceAndSize entry = entries.next(); // just in case, make sure 0 <= complete <= total long complete = Math.max(0, entry.transferredBytes); long total = Math.max(complete, entry.resource.getContentLength());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 22 14:09:32 GMT 2024 - 5.2K bytes - Click Count (0) -
tests/gorm_test.go
if err == nil { t.Fatalf("should returns error but got nil") } } func TestReturningWithNullToZeroValues(t *testing.T) { dialect := DB.Dialector.Name() switch dialect { case "mysql", "sqlserver": // these dialects do not support the "returning" clause return default: // This user struct will leverage the existing users table, but override // the Name field to default to null.Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jun 01 07:22:21 GMT 2023 - 3.3K bytes - Click Count (0) -
cmd/api-errors_test.go
{err: errObjectTampered, errCode: ErrObjectTampered}, {err: nil, errCode: ErrNone}, {err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown. } func TestAPIErrCode(t *testing.T) { ctx := t.Context() for i, testCase := range toAPIErrorTests { errCode := toAPIErrorCode(ctx, testCase.err) if errCode != testCase.errCode {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/etcd.go
) var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints") func etcdErrToErr(err error, etcdEndpoints []string) error { if err == nil { return nil } switch err { case context.DeadlineExceeded: return fmt.Errorf("%w %s", errEtcdUnreachable, etcdEndpoints) default: return fmt.Errorf("unexpected error %w from etcd, please check your endpoints %s", err, etcdEndpoints) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.9K bytes - Click Count (0)