func maxCores() int {
	maxProcs := runtime.GOMAXPROCS(0)
	numCPU := runtime.NumCPU()
	if maxProcs < numCPU {
		return maxProcs
	}
	return numCPU
}
// maxCores returns the number of cores in the current system
maxCores returns the number of cores in the current system
// maxCores returns the number of cores in the current system
func maxCores() int {
	maxProcs := runtime.GOMAXPROCS(0)
	numCPU := runtime.NumCPU()
	if maxProcs < numCPU {
		return maxProcs
	}
	return numCPU
}
func maxCores ( ) int { maxProcs := runtime . GOMAXPROCS ( 0 ) numCPU := runtime . NumCPU ( ) if maxProcs < numCPU { return maxProcs } return numCPU }
maxCores returns the number of cores in the current system
maxCores returns the number of cores in the current system