- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 2,996 for switch (0.16 seconds)
-
src/main/java/jcifs/pac/Pac.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (0) -
cmd/admin-handlers-config-kv.go
adminLogIf(ctx, err) writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL) return } result, err := setConfigKV(ctx, objectAPI, kvBytes) if err != nil { switch err.(type) { case badConfigErr: writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), err.Error(), r.URL) default: writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.8K bytes - Click Count (1) -
internal/crypto/key.go
// must be provided. On success the ObjectKey contains the decrypted sealed key. func (key *ObjectKey) Unseal(extKey []byte, sealedKey SealedKey, domain, bucket, object string) error { var unsealConfig sio.Config switch sealedKey.Algorithm { default: return Errorf("The sealing algorithm '%s' is not supported", sealedKey.Algorithm) case SealAlgorithm: mac := hmac.New(sha256.New, extKey) mac.Write(sealedKey.IV[:])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
comparator() .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement()); if (cmp < 0) { return aggregateBelowRange(aggr, node.left); } else if (cmp == 0) { switch (range.getLowerBoundType()) { case OPEN: return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left); case CLOSED: return aggr.treeAggregate(node.left); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
cmd/lock-rest-server.go
go lockMaintenance(GlobalContext) } func (l *lockRESTServer) makeResp(dst *dsync.LockResp, err error) (*dsync.LockResp, *grid.RemoteErr) { *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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 31 19:54:34 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbException.java
/** * Gets recommended retry delay in milliseconds * * @return retry delay or 0 if no retry */ public long getRetryDelay() { switch (severity) { case RECOVERABLE: return 100; // Immediate retry with small delay case TRANSIENT: return 5000; // Wait 5 seconds default: return 0; // No retry } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
/** * Constructs an SMB2 IOCTL response with the given configuration. * * @param config the configuration for this response */ public Smb2IoctlResponse(final Configuration config) { super(config); this.outputBuffer = null; } /** * Constructs an SMB2 IOCTL response with the given configuration and output buffer. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
internal/hash/crc.go
c.Raw = other.Raw c.Encoded = other.Encoded return nil } if !c.Valid() { return fmt.Errorf("invalid base checksum") } if !other.Valid() { return fmt.Errorf("invalid part checksum") } switch c.Type.Base() { case ChecksumCRC32: v := crc32Combine(crc32.IEEE, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size) binary.BigEndian.PutUint32(c.Raw, v) case ChecksumCRC32C:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/object-api-utils.go
piece[len(piece)-1] == '-' { // Current piece has 0-length or starts or // ends with a hyphen. return false } // Now only need to check if each piece is a valid // 'label' in AWS terminology and if the bucket looks // like an IP address. isNotNumber := false for i := range len(piece) { switch { case (piece[i] >= 'a' && piece[i] <= 'z' || piece[i] == '-'):
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0)