Searched refs:num_addresses (Results 1 – 5 of 5) sorted by relevance
90 const size_t num_addresses = 2; in create_new_resolver_result() local93 for (size_t i = 0; i < num_addresses; ++i) { in create_new_resolver_result()95 test_counter * num_addresses + i); in create_new_resolver_result()
1591 self.assertEqual(self.ipv4_network.num_addresses, 256)1592 self.assertEqual(list(self.ipv4_network.subnets())[0].num_addresses,1594 self.assertEqual(self.ipv4_network.supernet().num_addresses, 512)1596 self.assertEqual(self.ipv6_network.num_addresses, 18446744073709551616)1597 self.assertEqual(list(self.ipv6_network.subnets())[0].num_addresses,1599 self.assertEqual(self.ipv6_network.supernet().num_addresses,1601 self.assertEqual(self.ipv6_scoped_network.num_addresses, 18446744073709551616)1602 self.assertEqual(list(self.ipv6_scoped_network.subnets())[0].num_addresses,1604 self.assertEqual(self.ipv6_scoped_network.supernet().num_addresses,
184 >>> net4.num_addresses187 >>> net6.num_addresses
550 .. attribute:: num_addresses728 .. attribute:: num_addresses
783 def num_addresses(self): member in _BaseNetwork