- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 8,813 for Switch (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/admin-handlers_test.go
// value to its corresponding serviceSignal value. func (c cmdType) toServiceSignal() serviceSignal { switch c { case restartCmd: return serviceRestart case stopCmd: return serviceStop } return serviceRestart } func (c cmdType) toServiceAction() madmin.ServiceAction { switch c { case restartCmd: return madmin.ServiceActionRestart case stopCmd: return madmin.ServiceActionStop
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
Enumeration<?> fields = seq.getObjects(); while (fields.hasMoreElements()) { ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields.nextElement()); switch (tagged.getTagNo()) { case 0: ASN1Integer pvno = ASN1Util.as(ASN1Integer.class, tagged); if (!pvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION))) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java
* or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
internal/config/bool-flag.go
} // ParseBool returns the boolean value represented by the string. // It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. // Any other value returns an error. func ParseBool(str string) (bool, error) { switch str { case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On": return true, nil case "0", "f", "F", "false", "FALSE", "False", "off", "OFF", "Off": return false, nil } if strings.EqualFold(str, "enabled") {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Click Count (0) -
src/archive/tar/strconv.go
if len(sn) == 0 { return time.Unix(secs, 0), nil // No sub-second values } // Parse the nanoseconds. // Initialize an array with '0's to handle right padding automatically. nanoDigits := [maxNanoSecondDigits]byte{'0', '0', '0', '0', '0', '0', '0', '0', '0'} for i := range len(sn) { switch c := sn[i]; { case c < '0' || c > '9': return time.Time{}, ErrHeader case i < len(nanoDigits): nanoDigits[i] = c }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 9.1K bytes - Click Count (0) -
internal/lock/lock_solaris.go
Path: path, Err: syscall.EISDIR, } } return &LockedFile{f}, nil } // TryLockedOpenFile - tries a new write lock, functionality // it is similar to LockedOpenFile with with syscall.LOCK_EX // mode but along with syscall.LOCK_NB such that the function // doesn't wait forever but instead returns if it cannot // acquire a write lock. func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.8K bytes - Click Count (0) -
cmd/signature-v4-utils.go
return true } // If x-amz-content-sha256 is set and the value is not // 'UNSIGNED-PAYLOAD' we should validate the content sha256. switch v[0] { case unsignedPayload, unsignedPayloadTrailer: return true case emptySHA256: // some broken clients set empty-sha256 // with > 0 content-length in the body, // we should skip such clients and allow // blindly such insecure clients only ifCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 25 17:10:22 GMT 2024 - 9.1K bytes - Click Count (0) -
internal/logger/config.go
Name: auditTargetNamePrefix + k, } } return cfg, nil } // LookupConfigForSubSys - lookup logger config, override with ENVs if set, for the given sub-system func LookupConfigForSubSys(ctx context.Context, scfg config.Config, subSys string) (cfg Config, err error) { switch subSys { case config.LoggerWebhookSubSys: cfg = lookupLegacyConfigForSubSys(ctx, config.LoggerWebhookSubSys)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
@GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> { static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) { switch (set.size()) { case 0: return ImmutableSet.of(); case 1: return ImmutableSet.of(getOnlyElement(set)); default: return new ImmutableEnumSet<>(set); } } /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/StorageClientFactory.java
logger.debug("Auto-detected storage type: {} for endpoint: {}", type, endpoint); } } else { type = parseStorageType(typeStr); } switch (type) { case GCS: return new GcsStorageClient(fessConfig.getStorageProjectId(), bucket, endpoint, fessConfig.getStorageCredentialsPath()); case S3: case S3_COMPAT: default:
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 4.2K bytes - Click Count (0)