func TestCIDRSetFullyAllocated(t *testing.T) { … }
func TestIndexToCIDRBlock(t *testing.T) { … }
func TestCIDRSet_RandomishAllocation(t *testing.T) { … }
func TestCIDRSet_AllocationOccupied(t *testing.T) { … }
func TestDoubleOccupyRelease(t *testing.T) { … }
func TestGetBitforCIDR(t *testing.T) { … }
func TestOccupy(t *testing.T) { … }
func TestCIDRSetv6(t *testing.T) { … }
func TestCidrSetMetrics(t *testing.T) { … }
func TestCidrSetMetricsHistogram(t *testing.T) { … }
func TestCidrSetMetricsDual(t *testing.T) { … }
func Test_getMaxCIDRs(t *testing.T) { … }
func clearMetrics(labels map[string]string) { … }
type testMetrics …
func expectMetrics(t *testing.T, label string, em testMetrics) { … }
func benchmarkAllocateAllIPv6(cidr string, subnetMaskSize int, b *testing.B) { … }
func BenchmarkAllocateAll_48_52(b *testing.B) { … }
func BenchmarkAllocateAll_48_56(b *testing.B) { … }
func BenchmarkAllocateAll_48_60(b *testing.B) { … }
func BenchmarkAllocateAll_48_64(b *testing.B) { … }
func BenchmarkAllocateAll_64_68(b *testing.B) { … }
func BenchmarkAllocateAll_64_72(b *testing.B) { … }
func BenchmarkAllocateAll_64_76(b *testing.B) { … }
func BenchmarkAllocateAll_64_80(b *testing.B) { … }