- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 4,342 for switch (0.04 sec)
-
internal/logger/target/kafka/kafka_scram_client_contrib.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package kafka import ( "crypto/sha512" "strings" "github.com/IBM/sarama" "github.com/xdg/scram" "github.com/minio/minio/internal/hash/sha256" ) func initScramClient(cfg Config, config *sarama.Config) { switch strings.ToLower(cfg.SASL.Mechanism) { case "sha512":
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
} Enumeration<?> fields = sequence.getObjects(); while (fields.hasMoreElements()) { ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields); switch (tagged.getTagNo()) { case 0:// Kerberos version ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
internal/event/target/kafka_scram_client_contrib.go
import ( "crypto/sha512" "strings" "github.com/IBM/sarama" "github.com/xdg/scram" "github.com/minio/minio/internal/hash/sha256" ) func initScramClient(args KafkaArgs, config *sarama.Config) { switch strings.ToLower(args.SASL.Mechanism) { case "sha512": config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3.2K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
errorCounts[context.Canceled]++ continue } errorCounts[err]++ } maxCnt := 0 for err, count := range errorCounts { switch { case maxCnt < count: maxCnt = count maxErr = err // Prefer `nil` over other error values with the same // number of occurrences. case maxCnt == count && err == nil: maxErr = err } } return maxCnt, maxErr }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
final Enumeration<ASN1Object> fields = sequence.getObjects(); while (fields.hasMoreElements()) { tagged = (ASN1TaggedObject) fields.nextElement(); switch (tagged.getTagNo()) { case 0: sequence = ASN1Sequence.getInstance(tagged, true); final ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[sequence.size()];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* simple approach would be for each caller CAS it from null to a Set populated with its * exception. But there's another race: If the first thread fails with an exception and a second * thread immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptionsField to its exception *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/erasure-object_test.go
t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) } } if gr != nil { _, err = io.Copy(io.Discard, gr) if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) } gr.Close() }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
cmd/encryption-v1.go
func rotateKey(ctx context.Context, oldKey []byte, newKeyID string, newKey []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) error { kind, _ := crypto.IsEncrypted(metadata) switch kind { case crypto.S3: if GlobalKMS == nil { return errKMSNotConfigured } keyID, kmsKey, sealedKey, err := crypto.S3.ParseMetadata(metadata) if err != nil { return err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 38K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
* authority. * @param tc * The context that should be used to communicate with the named server. * @param sids * The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
for { select { case <-es.ctx.Done(): return case v, ok := <-input: if !ok { return } if v == nil { // ResizeWorkers signaling worker to quit return } switch v := v.(type) { case expiryTask: if v.objInfo.TransitionedObject.Status != "" { applyExpiryOnTransitionedObject(es.ctx, es.objAPI, v.objInfo, v.event, v.src) } else {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33.7K bytes - Viewed (0)