- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 125 for walkers (0.46 sec)
-
src/cmd/cgo/ast.go
// leading blank lines, so that line numbers line up. func commentText(g *ast.CommentGroup) string { pieces := make([]string, 0, len(g.List)) for _, com := range g.List { c := com.Text // Remove comment markers. // The parser has given us exactly the comment text. switch c[1] { case '/': //-style comment (no newline at the end) c = c[2:] + "\n" case '*': /*-style comment */ c = c[2 : len(c)-2]
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
if err != nil { rebalanceLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets))) workerSize = len(pool.sets) } // Each decom worker needs one List() goroutine/worker // add that many extra workers. workerSize += len(pool.sets) wk, err := workers.New(workerSize) if err != nil { return err }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 13:20:19 UTC 2024 - 28.4K bytes - Viewed (0) -
internal/s3select/csv/reader.go
current [][]string // current block of results to be returned recordsRead int // number of records read in current slice input chan *queueItem // input for workers queue chan *queueItem // output from workers in order err error // global error state, only touched by Reader.Read bufferPool sync.Pool // pool of []byte objects for input
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/zh/docs/deployment/concepts.md
## 复制 - 进程和内存 对于 FastAPI 应用程序,使用像 Uvicorn 这样的服务器程序,在**一个进程**中运行一次就可以同时为多个客户端提供服务。 但在许多情况下,您会希望同时运行多个工作进程。 ### 多进程 - Workers 如果您的客户端数量多于单个进程可以处理的数量(例如,如果虚拟机不是太大),并且服务器的 CPU 中有 **多个核心**,那么您可以让 **多个进程** 运行 同时处理同一个应用程序,并在它们之间分发所有请求。 当您运行同一 API 程序的**多个进程**时,它们通常称为 **workers**。 ### 工作进程和端口 还记得文档 [About HTTPS](https.md){.internal-link target=_blank} 中只有一个进程可以侦听服务器中的端口和 IP 地址的一种组合吗? 现在仍然是对的。
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 16.2K bytes - Viewed (0) -
utils/utils.go
} // FileWithLineNum return the file name and line number of the current file func FileWithLineNum() string { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) ||
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/bpool/bpool.go
} if cap(b) != bp.wcap { // someone tried to put back buffer which is not part of this buffer pool // we simply don't put this back into pool, a modified buffer provided // by this package is no more usable, callers make sure to not modify // the capacity of the buffer. return } select { case bp.c <- b[:bp.w]: // buffer went back into pool default: // buffer didn't go back into pool, just discard } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 3K bytes - Viewed (0) -
internal/hash/reader.go
MD5Hex string SHA256Hex string Size int64 ActualSize int64 DisableMD5 bool ForceMD5 []byte } // NewReaderWithOpts is like NewReader but takes `Options` as argument, allowing // callers to indicate if they want to disable md5sum checksum. func NewReaderWithOpts(ctx context.Context, src io.Reader, opts Options) (*Reader, error) { // return hard limited reader
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/distributed/decom-encrypted.sh
./mc admin policy attach myminio/ lake --user=minio12345 ./mc mb -l myminio/versioned ./mc mirror internal myminio/versioned/ --quiet >/dev/null ## Soft delete (creates delete markers) ./mc rm -r --force myminio/versioned >/dev/null ## mirror again to create another set of version on top ./mc mirror internal myminio/versioned/ --quiet >/dev/null
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/bucket/replication/delete-replication.sh
./mc mb myminio2/testbucket/ ./mc version enable myminio2/testbucket/ ./mc replicate add myminio1/testbucket --remote-bucket http://minioadmin:minioadmin@localhost:9002/testbucket/ --priority 1 # Test replication of delete markers and permanent deletes ./mc cp README.md myminio1/testbucket/dir/file ./mc cp README.md myminio1/testbucket/dir/file sleep 1s echo "=== myminio1" ./mc ls --versions myminio1/testbucket/dir/file
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/distributed/decom-encrypted-sse-s3.sh
./mc mb -l myminio/versioned ./mc encrypt set sse-s3 myminio/versioned ./mc mirror internal myminio/versioned/ --quiet >/dev/null ## Soft delete (creates delete markers) ./mc rm -r --force myminio/versioned >/dev/null ## mirror again to create another set of version on top ./mc mirror internal myminio/versioned/ --quiet >/dev/null
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 4.5K bytes - Viewed (0)