Searched refs:routedIPv4AddressCount (Results 1 – 2 of 2) sorted by relevance
50 assertEquals(0, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()53 assertEquals(1l << 32, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()59 assertEquals(1l << 32, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()65 assertEquals(1l << 24, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()69 assertEquals((1l << 24) + (1 << 7), NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()76 assertEquals(1l, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()85 assertEquals(7l, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()91 assertEquals(7l - 4 + 4 + 16 + 65536, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()
424 public static long routedIPv4AddressCount(final TreeSet<IpPrefix> prefixes) { in routedIPv4AddressCount() method in NetworkUtils