- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for should_stop_ (0.13 sec)
-
src/internal/fuzz/worker.go
keepCoverage := args.KeepCoverage memBytes := mem.valueRef() bPtr := &memBytes count := &mem.header().count shouldStop := func() bool { return ctx.Err() != nil || (args.Limit > 0 && *count >= args.Limit) } if shouldStop() { return false, nil } // Check that the original value preserves coverage or causes an error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 37.7K bytes - Viewed (0) -
src/runtime/export_test.go
Sleep func(int64) int64 Scavenge func(uintptr) (uintptr, int64) ShouldStop func() bool GoMaxProcs func() int32 released atomic.Uintptr scavenger scavengerState stop chan<- struct{} done <-chan struct{} } func (s *Scavenger) Start() { if s.Sleep == nil || s.Scavenge == nil || s.ShouldStop == nil || s.GoMaxProcs == nil { panic("must populate all stubs") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
if uint64(bytes) > avail { bytes = uintptr(avail) } t := workedTime(bytes) if bytes != 0 { availableWork.Add(-int64(bytes)) totalWorked.Add(t) } return bytes, t } s.ShouldStop = func() bool { if availableWork.Load() <= stopAt.Load() { return true } return false } s.GoMaxProcs = func() int32 { return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0)