- Sort Score
- Num 10 results
- Language All
Results 871 - 880 of 1,039 for take (0.01 seconds)
-
internal/event/target/elasticsearch.go
} } target := &ElasticsearchTarget{ id: event.TargetID{ID: id, Name: "elasticsearch"}, args: args, store: queueStore, loggerOnce: loggerOnce, quitCh: make(chan struct{}), } if target.store != nil { store.StreamItems(target.store, target, target.quitCh, target.loggerOnce) } return target, nil } // ES Client definitions and methodsCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
writeCond *sync.Cond // Signaled when data has been written. } // New returns a new RingBuffer whose buffer has the given size. func New(size int) *RingBuffer { return &RingBuffer{ buf: make([]byte, size), size: size, } } // NewBuffer returns a new RingBuffer whose buffer is provided. func NewBuffer(b []byte) *RingBuffer { return &RingBuffer{ buf: b, size: len(b), } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
cmd/handler-utils_test.go
{ header: nil, metadata: nil, shouldFail: true, }, } // Validate if the extracting headers. for i, testCase := range testCases { metadata := make(map[string]string) err := extractMetadataFromMime(t.Context(), textproto.MIMEHeader(testCase.header), metadata) if err != nil && !testCase.shouldFail { t.Fatalf("Test %d failed to extract metadata: %v", i+1, err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 6.1K bytes - Click Count (0) -
cmd/consolelogger.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/config/lambda/parse.go
// GetLambdaWebhook - returns a map of registered notification 'webhook' targets func GetLambdaWebhook(webhookKVS map[string]config.KVS, transport *http.Transport) ( map[string]target.WebhookArgs, error, ) { webhookTargets := make(map[string]target.WebhookArgs) for k, kv := range config.Merge(webhookKVS, target.EnvWebhookEnable, DefaultWebhookKVS) { enableEnv := target.EnvWebhookEnable if k != config.Default {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
} } } // Test for reduceErrs, reduceErr reduces collection // of errors into a single maximal error with in the list. func TestReduceErrs(t *testing.T) { canceledErrs := make([]error, 0, 5) for i := range 5 { canceledErrs = append(canceledErrs, fmt.Errorf("error %d: %w", i, context.Canceled)) } // List all of all test cases to validate various cases of reduce errors. testCases := []struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
internal/event/target/nsq.go
} } target := &NSQTarget{ id: event.TargetID{ID: id, Name: "nsq"}, args: args, loggerOnce: loggerOnce, store: queueStore, quitCh: make(chan struct{}), } if target.store != nil { store.StreamItems(target.store, target, target.quitCh, target.loggerOnce) } return target, nilCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.1K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration.go
DeleteMarker ExpireDeleteMarker `xml:"ExpiredObjectDeleteMarker"` // Indicates whether MinIO will remove all versions. If set to true, all versions will be deleted; // if set to false the policy takes no action. This action uses the Days/Date to expire objects. // This check is verified for latest version of the object. DeleteAll Boolean `xml:"ExpiredObjectAllVersions"` set bool }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.6K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm64.go
"BGT": true, "BLE": true, "CALL": true, "CBZ": true, "CBZW": true, "CBNZ": true, "CBNZW": true, "JMP": true, "TBNZ": true, "TBZ": true, // ADR isn't really a jump, but it takes a PC or label reference, // which needs to patched like a jump. "ADR": true, "ADRP": true, } func jumpArm64(word string) bool { return arm64Jump[word] }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 16 00:35:29 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/config/policy/opa/config.go
} // IsAllowed - checks given policy args is allowed to continue the REST API. func (o *Opa) IsAllowed(args policy.Args) (bool, error) { if o == nil { return false, nil } // OPA input body := make(map[string]any) body["input"] = args inputBytes, err := json.Marshal(body) if err != nil { return false, err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0)