- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for concurrent (0.23 sec)
-
internal/event/targetlist.go
CurrentSendCalls int64 // CurrentSendCalls is the number of concurrent async Send calls to all targets CurrentQueue int // Populated if target has a store. TotalEvents int64 FailedEvents int64 // Number of failed events per target } // TargetList - holds list of targets indexed by target ID. type TargetList struct { // The number of concurrent async Send calls to all targets currentSendCalls atomic.Int64
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.2K bytes - Viewed (0) -
cmd/speedtest.go
// the concurrency make sure we choose only the "start" // concurrency to be equal to the lowest number of // local disks per server. for _, localDiskCount := range globalEndpoints.NLocalDisksPathsPerPool() { if localDiskCount < concurrency { concurrency = localDiskCount } } // Any concurrency less than '4' just stick to '4' concurrent // operations for now to begin with.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 28 18:04:17 GMT 2024 - 9K bytes - Viewed (0) -
cmd/metrics-v3-cluster-notification.go
notificationEventsSentTotal = "events_sent_total" notificationEventsSkippedTotal = "events_skipped_total" ) var ( notificationCurrentSendInProgressMD = NewCounterMD(notificationCurrentSendInProgress, "Number of concurrent async Send calls active to all targets") notificationEventsErrorsTotalMD = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:10:35 GMT 2024 - 2.2K bytes - Viewed (0) -
internal/lock/lock_nix.go
func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { return lockedOpenFile(path, flag, perm, syscall.LOCK_NB) } // LockedOpenFile - initializes a new lock and protects // the file from concurrent access across mount points. // This implementation doesn't support all the open // flags and shouldn't be considered as replacement // for os.OpenFile().
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 2.8K bytes - Viewed (0) -
internal/config/api/help.go
} // Help holds configuration keys and their default values for api subsystem. Help = config.HelpKVS{ config.HelpKV{ Key: apiRequestsMax, Description: `set the maximum number of concurrent requests` + defaultHelpPostfix(apiRequestsMax), Optional: true, Type: "number", }, config.HelpKV{ Key: apiRequestsDeadline,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 15 01:07:19 GMT 2024 - 4.7K bytes - Viewed (0) -
internal/lock/lock_windows.go
} return lockedOpenFile(path, flag, perm, lockType) } // LockedOpenFile - initializes a new lock and protects // the file from concurrent access. func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { var lockType uint32 = lockFileExclusiveLock if flag == syscall.O_RDONLY {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 7.9K bytes - Viewed (0) -
misc/cgo/gmp/fib.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // Compute Fibonacci numbers with two goroutines // that pass integers back and forth. No actual // concurrency, just threads and synchronization // and foreign code on multiple pthreads. package main import ( big "." "runtime" ) func fibber(c chan *big.Int, out chan string, n int64) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 919 bytes - Viewed (0) -
cmd/metacache.go
metacacheBlockSize = 5000 // metacacheSharePrefix controls whether prefixes on dirty paths are always shared. // This will make `test/a` and `test/b` share listings if they are concurrent. // Enabling this will make cache sharing more likely and cause less IO, // but may cause additional latency to some calls. metacacheSharePrefix = false ) //go:generate msgp -file $GOFILE -unexported
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 5K bytes - Viewed (0) -
cmd/bucket-lifecycle-audit.go
ilmDue = "ilm-due" ilmRuleID = "ilm-rule-id" ilmTier = "ilm-tier" ilmNewerNoncurrentVersions = "ilm-newer-noncurrent-versions" ilmNoncurrentDays = "ilm-noncurrent-days" ) tags := make(map[string]interface{}, 5) if src > lcEventSrc_None { tags[ilmSrc] = src.String() } tags[ilmAction] = event.Action.String() tags[ilmRuleID] = event.RuleID
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 01 15:56:24 GMT 2023 - 2.6K bytes - Viewed (0) -
internal/logger/logrotate.go
// When FileNameFunc is not specified, DefaultFilenameFunc will be used. FileNameFunc func() string // Compress specify if you want the logs to be compressed after rotation. Compress bool } // Writer is a concurrency-safe writer with file rotation. type Writer struct { // opts are the configuration options for this Writer opts Options // f is the currently open file used for appends.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 11:38:40 GMT 2024 - 5.8K bytes - Viewed (0)