Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRelease (0.17 sec)

  1. pkg/registry/core/service/allocator/bitmap_test.go

    			if ok, _ := m.Allocate(3); !ok {
    				t.Errorf("error allocate offset %v", 3)
    			}
    			if ok, _ := m.Allocate(3); ok {
    				t.Errorf("unexpected success")
    			}
    		})
    	}
    }
    
    func TestRelease(t *testing.T) {
    	testCases := []struct {
    		name      string
    		allocator func(max int, rangeSpec string, reserved int) *AllocationBitmap
    		max       int
    		reserved  int
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 10 08:56:31 UTC 2022
    - 13.3K bytes
    - Viewed (0)
Back to top