- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for badkey (0.21 sec)
-
cmd/encryption-v1.go
} keyID, kmsKey, sealedKey, err := crypto.S3.ParseMetadata(metadata) if err != nil { return err } oldKey, err := GlobalKMS.DecryptKey(keyID, kmsKey, kms.Context{bucket: path.Join(bucket, object)}) if err != nil { return err } var objectKey crypto.ObjectKey if err = objectKey.Unseal(oldKey, sealedKey, crypto.S3.String(), bucket, object); err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 36.5K bytes - Viewed (0) -
src/bytes/example_test.go
} show("Gopher", "Go") show("Gopher", "ph") show("Gopher", "er") show("Gopher", "Badger") // Output: // Cut("Gopher", "Go") = "", "pher", true // Cut("Gopher", "ph") = "Go", "er", true // Cut("Gopher", "er") = "Goph", "", true // Cut("Gopher", "Badger") = "Gopher", "", false } func ExampleCutPrefix() { show := func(s, sep string) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
cmd/namespace-lock.go
Unlock(lkCtx LockContext) GetRLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error) RUnlock(lkCtx LockContext) } // LockContext lock context holds the lock backed context and canceler for the context. type LockContext struct { ctx context.Context cancel context.CancelFunc } // Context returns lock context func (l LockContext) Context() context.Context { return l.ctx
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jun 05 23:56:35 GMT 2023 - 9.2K bytes - Viewed (0) -
src/archive/zip/struct.go
// If the offset is non-sensible, then this uses an offset of zero. func timeZone(offset time.Duration) *time.Location { const ( minOffset = -12 * time.Hour // E.g., Baker island at -12:00 maxOffset = +14 * time.Hour // E.g., Line island at +14:00 offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45 ) offset = offset.Round(offsetAlias)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
internal/s3select/sql/utils.go
return e.strippedPathExpr } hasTableAlias := e.BaseKey.String() == tableAlias || strings.EqualFold(e.BaseKey.String(), baseTableName) var pathExpr []*JSONPathElement if hasTableAlias { pathExpr = e.PathExpr } else { pathExpr = make([]*JSONPathElement, len(e.PathExpr)+1) pathExpr[0] = &JSONPathElement{Key: &ObjectKey{ID: e.BaseKey}} copy(pathExpr[1:], e.PathExpr) } e.strippedTableAlias = tableAlias
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Nov 10 16:12:50 GMT 2021 - 3.6K bytes - Viewed (0) -
internal/kms/single-key.go
func Parse(s string) (KMS, error) { v := strings.SplitN(s, ":", 2) if len(v) != 2 { return nil, errors.New("kms: invalid master key format") } keyID, b64Key := v[0], v[1] key, err := base64.StdEncoding.DecodeString(b64Key) if err != nil { return nil, err } return New(keyID, key) } // New returns a single-key KMS that derives new DEKs from the // given key.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
internal/bucket/lifecycle/tag.go
type Tag struct { XMLName xml.Name `xml:"Tag"` Key string `xml:"Key,omitempty"` Value string `xml:"Value,omitempty"` } var ( errInvalidTagKey = Errorf("The TagKey you have provided is invalid") errInvalidTagValue = Errorf("The TagValue you have provided is invalid") errDuplicatedXMLTag = Errorf("duplicated XML Tag") errUnknownXMLTag = Errorf("unknown XML Tag") )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 2.4K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
{"test-bucket-list-object", "", "", "", 10, resultCases[0], nil, true}, // Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19). {"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true}, // Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20). {"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 73.1K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// via the nodeIP // - kubelet (node-local healthchecks, which we do not capture) // - kube-proxy (fowarded/proxied traffic from LoadBalancer-backed services, potentially with public IPs, which we must capture) func (cfg *IptablesConfigurator) CreateHostRulesForHealthChecks(hostSNATIP, hostSNATIPV6 *netip.Addr) error { // Append our rules here
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
} // Reserialize... x.serialize(plSize, keys, vals) } // rename will rename a key. // Returns whether the key was found. func (x *xlMetaInlineData) rename(oldKey, newKey string) bool { in := x.afterVersion() sz, buf, _ := msgp.ReadMapHeaderBytes(in) keys := make([][]byte, 0, sz) vals := make([][]byte, 0, sz) // Version plus header...
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.5K bytes - Viewed (0)