Lines Matching defs:dist
146 /* unprotected_peer_ids */ {}, in check_dist()
158 /* unprotected_peer_ids */ {3, 5, 6, 7, 8, 11}, in check_dist()
189 // Combined test: expect having 1 localhost and 1 onion peer out of 8 to in check_dist()
215 // Combined test: expect having 4 localhost and 1 onion peer out of 12 to in check_dist()
239 // Combined test: expect having 5 localhost and 1 onion peer out of 16 to in check_dist()
240 // protect 3 localhost (recovering the unused onion slot), 1 onion, and 4 in check_dist()
271 c.m_is_local = false; in check_dist()
293 if (c.id == 4) { in check_dist()
294 c.m_network = NET_I2P; in check_dist()
301 /* protected_peer_ids */ {0, 4}, in check_dist()
306 // to protect 1 I2P, 0 localhost, 0 onion and 2 other peers (3 total) sorted in check_dist()
307 // by longest uptime; stable sort breaks tie with array order of I2P first. in check_dist()
320 /* protected_peer_ids */ {0, 1, 6}, in check_dist()