MCPcopy Create free account
hub / github.com/egonelbre/exp / Done

Method Done

progress/main.go:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (process *Process) Done() {
70 atomic.StoreInt32(&process.done, 1)
71}
72
73func (process *Process) Progress() (progress int, done bool) {
74 progress = int(atomic.LoadInt32(&process.progress))

Callers 13

FailMethod · 0.95
ProcessFileFunction · 0.95
NormalizedCountFunction · 0.80
runParallelTestFunction · 0.80
runParallelBenchFunction · 0.80
runParallelBenchFunction · 0.80
testProgressFunction · 0.80
TestMutexContentionFunction · 0.80
runFunction · 0.80
mainFunction · 0.80
BenchmarkSelectFunction · 0.80
BenchmarkChanFunction · 0.80

Calls

no outgoing calls

Tested by 7

runParallelTestFunction · 0.64
runParallelBenchFunction · 0.64
runParallelBenchFunction · 0.64
testProgressFunction · 0.64
TestMutexContentionFunction · 0.64
BenchmarkSelectFunction · 0.64
BenchmarkChanFunction · 0.64