- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 478 for const_ (0.04 seconds)
-
internal/mountinfo/mountinfo_linux.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package mountinfo import ( "bufio" "fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" ) const ( // Number of fields per line in /proc/mounts as per the fstab man page. expectedNumFieldsPerLine = 6 // Location of the mount file to use procMountsPath = "/proc/mounts" )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.7K bytes - Click Count (0) -
cmd/site-replication-utils.go
if s == nil { return SiteResyncStatus{} } o := *s o.BucketStatuses = make(map[string]ResyncStatusType, len(s.BucketStatuses)) maps.Copy(o.BucketStatuses, s.BucketStatuses) return o } const ( siteResyncPrefix = bucketMetaPrefix + "/site-replication/resync" ) type resyncState struct { resyncID string LastSaved time.Time } //msgp:ignore siteResyncMetrics type siteResyncMetrics struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.8K bytes - Click Count (0) -
cmd/handler-api.go
enableODirect bool gzipObjects bool rootAccess bool syncEvents bool objectMaxVersions int64 } const ( cgroupV1MemLimitFile = "/sys/fs/cgroup/memory/memory.limit_in_bytes" cgroupV2MemLimitFile = "/sys/fs/cgroup/memory.max" ) func cgroupMemLimit() (limit uint64) { buf, err := os.ReadFile(cgroupV2MemLimitFile)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.4K bytes - Click Count (0) -
internal/s3select/csv/reader.go
dst = append(dst, in...) return dst, err } // csvSplitSize is the size of each block. // Blocks will read this much and find the first following newline. // 128KB appears to be a very reasonable default. const csvSplitSize = 128 << 10 // startReaders will read the header if needed and spin up a parser // and a number of workers based on GOMAXPROCS.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
internal/event/target/amqp.go
QueueDir string `json:"queueDir"` QueueLimit uint64 `json:"queueLimit"` } // AMQP input constants. // // ST1003 We cannot change these exported names. // //nolint:staticcheck const ( AmqpQueueDir = "queue_dir" AmqpQueueLimit = "queue_limit" AmqpURL = "url" AmqpExchange = "exchange" AmqpRoutingKey = "routing_key" AmqpExchangeType = "exchange_type"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 21 04:25:07 GMT 2025 - 10K bytes - Click Count (0) -
internal/event/targetlist.go
import ( "context" "fmt" "maps" "runtime" "sync" "sync/atomic" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/store" "github.com/minio/pkg/v3/workers" ) const ( logSubsys = "notify" // The maximum allowed number of concurrent Send() calls to all configured notifications targets maxConcurrentAsyncSend = 50000 ) // Target - event target interface
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.2K bytes - Click Count (0) -
internal/s3select/sql/value.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.4K bytes - Click Count (0) -
cmd/metrics-v3-api.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "github.com/minio/minio-go/v7/pkg/set" ) const ( apiRejectedAuthTotal MetricName = "rejected_auth_total" apiRejectedHeaderTotal MetricName = "rejected_header_total" apiRejectedTimestampTotal MetricName = "rejected_timestamp_total"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 9.4K bytes - Click Count (0) -
internal/logger/console.go
"fmt" "os" "strings" "time" "github.com/minio/madmin-go/v3/logger/log" "github.com/minio/minio/internal/color" ) // ConsoleLoggerTgt is a stringified value to represent console logging const ConsoleLoggerTgt = "console+http" // ExitFunc is called by Fatal() class functions, by default it calls os.Exit() var ExitFunc = os.Exit
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0) -
cmd/consolelogger.go
types "github.com/minio/minio/internal/logger/target/loggertypes" "github.com/minio/minio/internal/pubsub" xnet "github.com/minio/pkg/v3/net" ) // number of log messages to buffer const defaultLogBufferCount = 10000 // HTTPConsoleLoggerSys holds global console logger state type HTTPConsoleLoggerSys struct { totalMessages int64 failedMessages int64 sync.RWMutex
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)