- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of over 10,000 for Switch (0.06 seconds)
-
cmd/data-scanner.go
// the tree will be recursively scanned and the branches with the least number of objects will be // compacted until the limit is reached. // // This ensures that any branch will never contain an unreasonable amount of other branches, // and also that small branches with few objects don't take up unreasonable amounts of space. // This keeps the cache size at a reasonable size for all buckets.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K 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) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
for (int j = 0; j < getsPerTask; j++) { long delta = random.nextInt(deltaRange); int behavior = random.nextInt(10); switch (behavior) { case 0: map.incrementAndGet(key); threadSum++; break; case 1:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.2K bytes - Click Count (0) -
cmd/etcd.go
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.9K 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/jcifs/smb/PreauthIntegrityService.java
} } } /** * Constructs a PreauthIntegrityService with default configuration. */ public PreauthIntegrityService() { this(new SecureRandom(), DEFAULT_HASH_ALGORITHM, true); } /** * Constructs a PreauthIntegrityService with specified configuration. * * @param secureRandom the secure random generatorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K 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) -
src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java
public int getFileIndex() { return 0; } @Override public int getType() { /* * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end */ switch (this.type & 0xFFFF) { case 1: return SmbConstants.TYPE_PRINTER; case 3: return SmbConstants.TYPE_NAMED_PIPE; } return SmbConstants.TYPE_SHARE; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0)