- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 7,250 for return (0.04 sec)
-
internal/kms/secret-key.go
if err != nil { return nil, err } aead, err = cipher.NewGCM(block) if err != nil { return nil, err } case kms.ChaCha20: sealingKey, err := chacha20.HChaCha20(s.key, iv) if err != nil { return nil, err } aead, err = chacha20poly1305.New(sealingKey) if err != nil { return nil, err } default: return nil, ErrDecrypt }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/test-utils_test.go
if err != nil { return nil, err } // Anonymous request return quickly. if accessKey == "" || secretKey == "" { return req, nil } for k, v := range headers { req.Header.Set(k, v) } err = signRequestV4(req, accessKey, secretKey) if err != nil { return nil, err } return req, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
internal/bucket/replication/rule.go
} return "" } // Validate - validates the rule element func (r Rule) Validate(bucket string, sameTarget bool) error { if err := r.validateID(); err != nil { return err } if err := r.validateStatus(); err != nil { return err } if err := r.validateFilter(); err != nil { return err } if err := r.DeleteMarkerReplication.Validate(); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 24 23:22:20 UTC 2022 - 8.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 15K bytes - Viewed (0) -
cmd/site-replication-utils_gen.go
return } err = en.WriteInt(z.Version) if err != nil { err = msgp.WrapError(err, "Version") return } // write "ss" err = en.Append(0xa2, 0x73, 0x73) if err != nil { return } err = z.Status.EncodeMsg(en) if err != nil { err = msgp.WrapError(err, "Status") return } // write "did" err = en.Append(0xa3, 0x64, 0x69, 0x64) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 14 15:16:40 UTC 2022 - 7.2K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
return false } } return true } // Suspended - returns true if versioning is suspended func (v Versioning) Suspended() bool { return v.Status == Suspended } // PrefixSuspended - returns true if versioning is suspended at the bucket level // or suspended on the given prefix. func (v Versioning) PrefixSuspended(prefix string) bool { if v.Status == Suspended { return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
} TapeTensor::~TapeTensor() { handle_->Unref(); } int64_t TapeTensor::GetID() const { return ToId(handle_); } tensorflow::DataType TapeTensor::GetDType() const { return handle_->DataType(); } AbstractTensorHandle* TapeTensor::GetHandle() const { return handle_; } AbstractTensorHandle* TapeTensor::ZerosLike() const { return nullptr; } class TapeVSpace
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
internal/bucket/lifecycle/noncurrentversion.go
if !n.set { return nil } if n.StorageClass == "" { return errXMLNotWellFormed } return nil } // NextDue returns upcoming NoncurrentVersionTransition date for obj if // applicable, returns false otherwise. func (n NoncurrentVersionTransition) NextDue(obj ObjectOpts) (time.Time, bool) { if obj.IsLatest || n.StorageClass == "" { return time.Time{}, false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 14 17:41:44 UTC 2021 - 5.3K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config.go
} } // Algo returns the SSE algorithm specified by the SSE configuration. func (b *BucketSSEConfig) Algo() Algorithm { for _, rule := range b.Rules { return rule.DefaultEncryptionAction.Algorithm } return "" } // KeyID returns the KMS key ID specified by the SSE configuration. // If the SSE configuration does not specify SSE-KMS it returns an // empty key ID.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 4.9K bytes - Viewed (0) -
cmd/peer-rest-server.go
if objAPI == nil { return np, grid.NewRemoteErr(errServerNotInitialized) } policyName := mss.Get(peerRESTPolicy) if policyName == "" { return np, grid.NewRemoteErr(errors.New("policyName is missing")) } if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil { return np, grid.NewRemoteErr(err) } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0)