kubernetes/pkg/registry/core/service/ipallocator/bitmap_test.go

func TestAllocate(t *testing.T) {}

func TestAllocateTiny(t *testing.T) {}

func TestAllocateReserved(t *testing.T) {}

func TestAllocateSmall(t *testing.T) {}

func TestForEach(t *testing.T) {}

func TestSnapshot(t *testing.T) {}

func TestNewFromSnapshot(t *testing.T) {}

func TestClusterIPMetrics(t *testing.T) {}

func TestClusterIPAllocatedMetrics(t *testing.T) {}

func TestMetricsDisabled(t *testing.T) {}

// Metrics helpers
func clearMetrics() {}

type testMetrics

func expectMetrics(t *testing.T, label string, em testMetrics) {}

func TestDryRun(t *testing.T) {}

func Test_calculateRangeOffset(t *testing.T) {}

// cpu: Intel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz
// BenchmarkAllocateNextIPv4
// BenchmarkAllocateNextIPv4-24    	 1175304	       870.9 ns/op	    1337 B/op	      11 allocs/op
func BenchmarkAllocateNextIPv4Size1048574(b *testing.B) {}

// This is capped to 65535
// cpu: Intel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz
// BenchmarkAllocateNextIPv6
// BenchmarkAllocateNextIPv6-24    	 5779431	       194.0 ns/op	      18 B/op	       2 allocs/op
func BenchmarkAllocateNextIPv6Size65535(b *testing.B) {}