Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AllocateBit (0.25 sec)

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

    var _ Interface = &AllocationBitmap{}
    var _ Snapshottable = &AllocationBitmap{}
    
    // bitAllocator represents a search strategy in the allocation map for a valid item.
    type bitAllocator interface {
    	AllocateBit(allocated *big.Int, max, count int) (int, bool)
    }
    
    // NewAllocationMap creates an allocation bitmap using the random scan strategy.
    func NewAllocationMap(max int, rangeSpec string) *AllocationBitmap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top