- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 211 for amatch (0.17 sec)
-
internal/store/batch.go
"fmt" "sync" ) // ErrBatchFull indicates that the batch is full var ErrBatchFull = errors.New("batch is full") type key interface { string | int | int64 } // Batch represents an ordered batch type Batch[K key, T any] struct { keys []K items map[K]T limit uint32 sync.Mutex } // Add adds the item to the batch func (b *Batch[K, T]) Add(key K, item T) error { b.Lock() defer b.Unlock()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 2.5K bytes - Viewed (0) -
internal/handlers/proxy.go
// with the approach we took for returning first ip from multiple // params. if match := forRegex.FindStringSubmatch(proto); len(match) > 1 { if match = protoRegex.FindStringSubmatch(match[2]); len(match) > 1 { scheme = strings.ToLower(match[2]) } } } return scheme } // GetSourceIPFromHeaders retrieves the IP from the X-Forwarded-For, X-Real-IP
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Dec 22 00:56:55 GMT 2023 - 5.1K bytes - Viewed (0) -
internal/event/rulesmap.go
func (rulesMap RulesMap) MatchSimple(eventName Name, objectName string) bool { return rulesMap[eventName].MatchSimple(objectName) } // Match - returns TargetIDSet matching object name and event name in rules map. func (rulesMap RulesMap) Match(eventName Name, objectName string) TargetIDSet { return rulesMap[eventName].Match(objectName) } // NewRulesMap - creates new rules map with given values.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.6K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
}, { name: "TestDeleteTagWithDependentNamespace", tag: "match", webhooksBefore: admitv1.MutatingWebhookConfigurationList{ Items: []admitv1.MutatingWebhookConfiguration{ { ObjectMeta: metav1.ObjectMeta{ Name: "istio-revision-tag-match", Labels: map[string]string{IstioTagLabel: "match"}, }, }, }, },
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
cmd/batch-expire_gen_test.go
Krishnan Parthasarathi <******@****.***> 1701514293 -0800
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 02 10:51:33 GMT 2023 - 6.9K bytes - Viewed (0) -
cmd/batch-replicate_gen_test.go
Krishnan Parthasarathi <******@****.***> 1693333643 -0700
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Aug 29 18:27:23 GMT 2023 - 14.2K bytes - Viewed (1) -
callbacks.go
return &callback{before: name, processor: p} } func (p *processor) After(name string) *callback { return &callback{after: name, processor: p} } func (p *processor) Match(fc func(*DB) bool) *callback { return &callback{match: fc, processor: p} } func (p *processor) Register(name string, fn func(*DB)) error { return (&callback{processor: p}).Register(name, fn) }
Go - Registered: Sun Apr 21 09:35:09 GMT 2024 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 8.6K bytes - Viewed (1) -
internal/kms/kms.go
// DecryptKey decrypts the ciphertext with the key referenced // by the key ID. The context must match the context value // used to generate the ciphertext. DecryptKey(keyID string, ciphertext []byte, context Context) ([]byte, error) // DecryptAll decrypts all ciphertexts with the key referenced // by the key ID. The contexts must match the context value // used to generate the ciphertexts.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 4.6K bytes - Viewed (0) -
schema/constraint.go
package schema import ( "regexp" "strings" "gorm.io/gorm/clause" ) // reg match english letters and midline var regEnLetterAndMidline = regexp.MustCompile(`^[\w-]+$`) type CheckConstraint struct { Name string Constraint string // length(phone) >= 10 *Field } func (chk *CheckConstraint) GetName() string { return chk.Name } func (chk *CheckConstraint) Build() (sql string, vars []interface{}) {
Go - Registered: Sun Apr 21 09:35:09 GMT 2024 - Last Modified: Mon Mar 18 07:33:54 GMT 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/util/common.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" binversion "istio.io/istio/operator/version" ) var NeverMatch = &metav1.LabelSelector{ MatchLabels: map[string]string{ "istio.io/deactivated": "never-match", }, } var ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.6K bytes - Viewed (0)