- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,300 for cool (1.04 sec)
-
tests/preload_test.go
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
lib/time/mkzip.go
// Usage: // // go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get // a reproducible generator that does not depend on which version of the // external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath"
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/pubsub/pubsub.go
"bytes" "encoding/json" "fmt" "sync" "sync/atomic" ) // GetByteBuffer returns a byte buffer from the pool. var GetByteBuffer = func() []byte { return make([]byte, 0, 4096) } // Sub - subscriber entity. type Sub[T Maskable] struct { ch chan T types Mask filter func(entry T) bool } // PubSub holds publishers and subscribers type PubSub[T Maskable, M Maskable] struct { // atomics, keep at top:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/ioutil/ioutil.go
) // AlignedBytePool is a pool of fixed size aligned blocks type AlignedBytePool struct { size int p bpool.Pool[*[]byte] } // NewAlignedBytePool creates a new pool with the specified size. func NewAlignedBytePool(sz int) *AlignedBytePool { return &AlignedBytePool{size: sz, p: bpool.Pool[*[]byte]{New: func() *[]byte { b := disk.AlignedBlock(sz) return &b }}} }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/speedtest.go
type speedTestOpts struct { objectSize int concurrencyStart int concurrency int duration time.Duration autotune bool storageClass string bucketName string enableSha256 bool enableMultipart bool creds auth.Credentials } // Get the max throughput and iops numbers.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 9.2K bytes - Viewed (0) -
cmd/globals.go
cmdline string layout [][]string } type disksLayout struct { legacy bool pools []poolDisksLayout } type serverCtxt struct { JSON, Quiet bool Anonymous bool StrictS3Compat bool Addr, ConsoleAddr string ConfigDir, CertsDir string configDirSet, certsDirSet bool Interface string RootUser, RootPwd string
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (1) -
tests/prepared_stmt_test.go
t.Fatalf("Failed, got error: %v, rows affected: %v", result.Error, result.RowsAffected) } tx2.Commit() // Attempt to convert the connection pool of tx to the *gorm.PreparedStmtDB type. // If the conversion is successful, ok will be true and conn will be the converted object; // otherwise, ok will be false and conn will be nil.
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
internal/s3select/select.go
) var parquetSupport bool func init() { parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn } var bufPool = bpool.Pool[*bytes.Buffer]{ New: func() *bytes.Buffer { // make a buffer with a reasonable capacity. return bytes.NewBuffer(make([]byte, 0, maxRecordSize)) }, } var bufioWriterPool = bpool.Pool[*bufio.Writer]{ New: func() *bufio.Writer {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 21.2K bytes - Viewed (0) -
cmd/bucket-replication.go
priority: priority, maxWorkers: maxWorkers, maxLWorkers: maxLWorkers, } pool.ResizeLrgWorkers(maxLWorkers, 0) pool.ResizeWorkers(workers, 0) pool.ResizeFailedWorkers(failedWorkers) go pool.resyncer.PersistToDisk(ctx, o) go pool.processMRF() go pool.persistMRF() return pool } // AddMRFWorker adds a pending/failed replication worker to handle requests that could not be queued
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 118.2K bytes - Viewed (0) -
cmd/erasure-object.go
} toEncode := io.Reader(data) if data.Size() >= bigFileThreshold { // We use 2 buffers, so we always have a full buffer of input. pool := globalBytePoolCap.Load() bufA := pool.Get() bufB := pool.Get() defer pool.Put(bufA) defer pool.Put(bufB) ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]}) if err == nil { toEncode = ra
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 80.4K bytes - Viewed (0)