- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NumValues (0.11 sec)
-
pkg/queue/instance_test.go
wg.Done() return nil }) // Start the queue at the halfway point. if i == numValues/2 { go q.Run(stop) } } // wait for all task processed wg.Wait() if len(out) != numValues { t.Fatalf("expected output array length %d to equal %d", len(out), numValues) } for i := 0; i < numValues; i++ { if i != out[i] { t.Fatalf("expected out[%d] %v to equal %v", i, out[i], i) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadcode.go
// when they are done with the return values. func liveValues(f *Func, reachable []bool) (live []bool, liveOrderStmts []*Value) { live = f.Cache.allocBoolSlice(f.NumValues()) liveOrderStmts = f.Cache.allocValueSlice(f.NumValues())[:0] // After regalloc, consider all values to be live. // See the comment at the top of regalloc.go and in deadcode for details. if f.RegAlloc != nil { for i := range live {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:29:01 UTC 2023 - 9.2K bytes - Viewed (0)