- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetLimit (0.18 sec)
-
src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go
} }() return true } // SetLimit limits the number of active goroutines in this group to at most n. // A negative value indicates no limit. // // Any subsequent call to the Go method will block until it can add an active // goroutine without exceeding the configured limit. // // The limit must not be modified while any goroutines in the group are active. func (g *Group) SetLimit(n int) { if n < 0 { g.sem = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/go/go_test.go
// external network in parallel. If non-nil, it contains one buffer slot per // test (send to acquire), with a low enough limit that the overall number of // connections (summed across subprocesses) stays at or below base.NetLimit. var netTestSem chan struct{} var exeSuffix string = func() string { if runtime.GOOS == "windows" { return ".exe" } return "" }() func tooSlow(t *testing.T, reason string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
if (result_type.hasStaticShape()) { return failure(); } Value start = op.getStart(); Value delta = op.getDelta(); Value limit = op.getLimit(); // To compute the length we need to use floating point calculations so that // ceil can be computed for the number of steps. auto compute_element_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)