- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 4,342 for switch (1.93 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
this.info = inf; } return bufferIndex - start; } private FileInformation createFileInformation() { FileInformation inf; switch (this.informationLevel) { case FileInformation.FILE_BASIC_INFO: inf = new FileBasicInfo(); break; case FileInformation.FILE_STANDARD_INFO: inf = new FileStandardInfo();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
internal/bucket/replication/destination.go
if err := dec.DecodeElement(&dest, &start); err != nil { return err } parsedDest, err := parseDestination(dest.Bucket) if err != nil { return err } if dest.StorageClass != "" { switch dest.StorageClass { case "STANDARD", "REDUCED_REDUNDANCY": default: return fmt.Errorf("unknown storage class %s", dest.StorageClass) } } parsedDest.StorageClass = dest.StorageClass *d = parsedDest
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
internal/bucket/replication/filter.go
// only one of Prefix, And and Tag should be present in the output. func (f Filter) MarshalXML(e *xml.Encoder, start xml.StartElement) error { if err := e.EncodeToken(start); err != nil { return err } switch { case !f.And.isEmpty(): if err := e.EncodeElement(f.And, xml.StartElement{Name: xml.Name{Local: "And"}}); err != nil { return err } case !f.Tag.IsEmpty():
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 28 18:25:46 UTC 2022 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
return 0; } @Override int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return switch (informationLevel) { case SMB_INFO_ALLOCATION -> readSmbInfoAllocationWireFormat(buffer, bufferIndex); case SMB_QUERY_FS_SIZE_INFO -> readSmbQueryFSSizeInfoWireFormat(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
throw new SmbException("EOF during NetBIOS session request"); } switch (sbuf[0] & 0xFF) { case SessionServicePacket.POSITIVE_SESSION_RESPONSE: if (LogStream.level >= 4) { log.println("session established ok with " + address); } return; case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
break } // Manually deserialize the size since AWS specified // the chunk size to be of variable width. In particular, // a size of 16 is encoded as `10` while a size of 64 KB // is `10000`. switch { case b >= '0' && b <= '9': size = size<<4 | int(b-'0') case b >= 'a' && b <= 'f': size = size<<4 | int(b-('a'-10)) case b >= 'A' && b <= 'F': size = size<<4 | int(b-('A'-10)) default:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/erasure-metadata.go
// Success. return objInfo } // TransitionInfoEquals returns true if transition related information are equal, false otherwise. func (fi FileInfo) TransitionInfoEquals(ofi FileInfo) bool { switch { case fi.TransitionStatus != ofi.TransitionStatus, fi.TransitionTier != ofi.TransitionTier, fi.TransitionedObjName != ofi.TransitionedObjName, fi.TransitionVersionID != ofi.TransitionVersionID: return false
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 21.3K bytes - Viewed (0) -
cmd/sts-errors.go
stsErrorResponse.RequestID = w.Header().Get(xhttp.AmzRequestID) stsErrorResponse.Error.Message = stsErr.Description if err != nil { stsErrorResponse.Error.Message = err.Error() } switch errCode { case ErrSTSInternalError, ErrSTSUpstreamError: stsLogIf(ctx, err, logger.ErrorKind) } encodedErrorResponse := encodeResponse(stsErrorResponse)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 05 00:29:41 UTC 2025 - 6K bytes - Viewed (1) -
cmd/http-tracer_test.go
const opsPerGoroutine = 100 var wg sync.WaitGroup for i := range numWriters { wg.Add(1) go func(writerID int) { defer wg.Done() for j := 0; j < opsPerGoroutine; j++ { switch j % 4 { case 0: httpStats.updateStats("GetObject", &xhttp.ResponseRecorder{}) case 1: httpStats.totalS3Requests.Inc("PutObject") case 2: httpStats.totalS3Errors.Inc("DeleteObject")Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.3K bytes - Viewed (0) -
internal/config/browser/browser.go
cfg.HSTSIncludeSubdomains = hstsIncludeSubdomains cfg.HSTSPreload = hstsPreload referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS)) switch referrerPolicy { case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url": cfg.ReferrerPolicy = referrerPolicy
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jun 21 00:58:58 UTC 2024 - 5.9K bytes - Viewed (0)