- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for incCounterStmt (0.19 sec)
-
src/cmd/cover/cover.go
} } // setCounterStmt returns the expression: __count[23] = 1. func setCounterStmt(f *File, counter string) string { return fmt.Sprintf("%s = 1", counter) } // incCounterStmt returns the expression: __count[23]++. func incCounterStmt(f *File, counter string) string { return fmt.Sprintf("%s++", counter) } // atomicCounterStmt returns the expression: atomic.AddUint32(&__count[23], 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0)