- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 2,996 for switch (0.06 seconds)
-
cmd/object-handlers.go
writeResponse(w, serr.HTTPStatusCode(), encodedErrorResponse, mimeXML) } else { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) } return } // Set encryption response headers switch kind, _ := crypto.IsEncrypted(objInfo.UserDefined); kind { case crypto.S3: w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES) case crypto.S3KMS:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 120.6K bytes - Click Count (0) -
internal/kms/context.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package kms import ( "bytes" "sort" "unicode/utf8" ) // Context is a set of key-value pairs that // are associated with a generate data encryption // key (DEK). // // A KMS implementation may bind the context to the
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 6K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} /* * If a target address to query was not specified explicitly * with the addr parameter we fall into this resolveOrder routine. */ for (final ResolverType resolverType : this.resolveOrder) { try { switch (resolverType) { case RESOLVER_LMHOSTS:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
android/guava/src/com/google/common/math/DoubleMath.java
static double roundIntermediate(double x, RoundingMode mode) { if (!isFinite(x)) { throw new ArithmeticException("input is infinite or NaN"); } switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isMathematicalInteger(x)); return x; case FLOOR: if (x >= 0.0 || isMathematicalInteger(x)) { return x;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.3K bytes - Click Count (0) -
cmd/generic-handlers.go
// guessIsRPCReq - returns true if the request is for an RPC endpoint. func guessIsRPCReq(req *http.Request) bool { if req == nil { return false } if req.Method == http.MethodGet && req.URL != nil { switch req.URL.Path { case grid.RoutePath, grid.RouteLockPath: return true } } return (req.Method == http.MethodPost || req.Method == http.MethodGet) &&
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.7K bytes - Click Count (1) -
cmd/admin-handlers-idp-openid.go
if cred.ParentUser != "" { selfDN = cred.ParentUser } userList = append(userList, selfDN) } listType := r.Form.Get("listType") var listSTSKeys, listServiceAccounts bool switch listType { case madmin.AccessKeyListUsersOnly: listSTSKeys = false listServiceAccounts = false case madmin.AccessKeyListSTSOnly: listSTSKeys = true listServiceAccounts = falseCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Sep 06 17:38:46 GMT 2025 - 7.6K bytes - Click Count (0) -
cmd/site-replication-metrics.go
srs, ok := sr.M[dID] if !ok { srs = &SRStatus{ XferRateLrg: newXferStats(), XferRateSml: newXferStats(), } } srs.Endpoint = st.Endpoint srs.Secure = st.Secure switch { case st.Completed: srs.ReplicatedSize += st.TransferSize srs.ReplicatedCount++ if st.TransferDuration > 0 { srs.Latency.update(st.TransferSize, st.TransferDuration)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
} }); } } ``` ## 6. Integration with Existing Code ### 6.1 Modifying Smb2CreateRequest ```java // In Smb2CreateRequest.java public void addDurableHandleContext(HandleType type, long timeout, HandleGuid guid) { switch (type) { case DURABLE_V1: addCreateContext(new DurableHandleRequest()); break;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS)); } } /** * Starts a new task on the given executor that switches (deletes and replaces) a file between * being a directory and being a symlink. The given {@code file} is the file that should switch * between being a directory and being a symlink, while the given {@code target} is the target the * symlink should have. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
return this.cipherId == CIPHER_AES_128_GCM || this.cipherId == CIPHER_AES_256_GCM; } private int getKeyLength() { // Java 17 switch expression for cipher key length determination return switch (this.cipherId) { case CIPHER_AES_128_CCM, CIPHER_AES_128_GCM -> 16; // AES-128 ciphers use 16-byte keysCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0)