Lines Matching refs:peers
43 def Assign(suites, peers): argument
49 for p in peers:
52 for p in peers:
68 peers.sort(cmp=lambda x, y: cmp(x.needed_work, y.needed_work))
72 while peers[index].needed_work <= 0:
74 if index == len(peers):
79 peers.sort(cmp=lambda x, y: cmp(x.needed_work, y.needed_work))
80 peers[0].ForceAddOneTest(shell.tests.pop(), shell)
83 peer = peers[index]
86 index < len(peers) - 1 and
87 shell.total_duration <= peers[index + 1].needed_work):
88 peers[index + 1].AddTests(shell)