Home
last modified time | relevance | path

Searched refs:num_addresses (Results 1 – 5 of 5) sorted by relevance

/third_party/grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc90 const size_t num_addresses = 2; in create_new_resolver_result() local
93 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()
/third_party/python/Lib/test/
Dtest_ipaddress.py1591 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,
/third_party/python/Doc/howto/
Dipaddress.rst184 >>> net4.num_addresses
187 >>> net6.num_addresses
/third_party/python/Doc/library/
Dipaddress.rst550 .. attribute:: num_addresses
728 .. attribute:: num_addresses
/third_party/python/Lib/
Dipaddress.py783 def num_addresses(self): member in _BaseNetwork