Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CPU ¶
CPU parses the string s to see if it contains NumCPU()* (with the star), if so the number behind it (without a space) multiplied with runtime.CPU() and returns, otherwise a number if assumed and that is parsed. A negative number returns an error if seen after `numcpu()*`, but we allow -1 in the normal expression.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.