- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 4,342 for switch (0.04 sec)
-
internal/config/identity/openid/provider/keycloak.go
return User{}, ErrAccessTokenExpired } req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken) resp, err := k.client.Do(req) if err != nil { return User{}, err } defer resp.Body.Close() switch resp.StatusCode { case http.StatusOK, http.StatusPartialContent: var u User if err = json.NewDecoder(resp.Body).Decode(&u); err != nil { return User{}, err } return u, nil case http.StatusNotFound:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
assertNotNull(rp); assertEquals(name, rp.name(), "name() must match input"); assertEquals(name, rp.toString(), "toString() should default to name()"); // Ordinal is consistent with declaration order switch (name) { case "NONE": assertEquals(0, rp.ordinal()); break; case "NO_TIMEOUT": assertEquals(1, rp.ordinal()); break;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.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 *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
int ms_usage = keyusage; switch (ms_usage) { case 3: ms_usage = 8; case 9: ms_usage = 8; case 23: ms_usage = 13; } return ms_usage; } /** * Calculates a MAC using HMAC-SHA1 with AES key derivation. * This method supports both AES-128 and AES-256 encryption types.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
WITH_CONFIG // configuration provided via StaticJAASConfiguration } private JAASAuthenticator buildAuthenticator(SubjectVariant variant) { switch (variant) { case DEFAULT_WITH_PS: { JAASAuthenticator a = new JAASAuthenticator(); // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
return nil } if len(data) <= 4 { return fmt.Errorf("rebalanceMeta: no data") } // Read header switch binary.LittleEndian.Uint16(data[0:2]) { case rebalMetaFmt: default: return fmt.Errorf("rebalanceMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2])) } switch binary.LittleEndian.Uint16(data[2:4]) { case rebalMetaVer: default:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 28.7K bytes - Viewed (0) -
src/bytes/bytes.go
// HasPrefix reports whether the byte slice s begins with prefix. func HasPrefix(s, prefix []byte) bool { return len(s) >= len(prefix) && Equal(s[:len(prefix)], prefix) } // HasSuffix reports whether the byte slice s ends with suffix. func HasSuffix(s, suffix []byte) bool { return len(s) >= len(suffix) && Equal(s[len(s)-len(suffix):], suffix) } // Map returns a copy of the byte slice s with all its characters modified
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 16:42:15 UTC 2025 - 35.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.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 *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/consolelogger.go
return types.TargetConsole } // Send log message 'e' to console and publish to console // log pubsub system func (sys *HTTPConsoleLoggerSys) Send(ctx context.Context, entry any) error { var lg log.Info switch e := entry.(type) { case log.Entry: lg = log.Info{Entry: e, NodeName: sys.nodeName} case string: lg = log.Info{ConsoleMsg: e, NodeName: sys.nodeName} } atomic.AddInt64(&sys.totalMessages, 1)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
if versions { fpath += ":" + obj.VersionID } return fpath } // List all objects from a bucket-name with a matching prefix. for object := range s3Client.ListObjects(context.Background(), bucket, opts) { if object.Err != nil { log.Println("FAILED: LIST with error:", object.Err) continue } if !minModTime.IsZero() && object.LastModified.Before(minModTime) { continue }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.3K bytes - Viewed (0)