func TestCPUAccumulatorFreeSockets(t *testing.T) { … } func TestCPUAccumulatorFreeNUMANodes(t *testing.T) { … } func TestCPUAccumulatorFreeSocketsAndNUMANodes(t *testing.T) { … } func TestCPUAccumulatorFreeCores(t *testing.T) { … } func TestCPUAccumulatorFreeCPUs(t *testing.T) { … } func TestCPUAccumulatorTake(t *testing.T) { … } type takeByTopologyTestCase … func commonTakeByTopologyTestCases(t *testing.T) []takeByTopologyTestCase { … } func TestTakeByTopologyNUMAPacked(t *testing.T) { … } func TestTakeByTopologyWithSpreadPhysicalCPUsPreferredOption(t *testing.T) { … } type takeByTopologyExtendedTestCase … func commonTakeByTopologyExtendedTestCases(t *testing.T) []takeByTopologyExtendedTestCase { … } func TestTakeByTopologyNUMADistributed(t *testing.T) { … } func mustParseCPUSet(t *testing.T, s string) cpuset.CPUSet { … }