code: func (a *allocator) reserve(n int) bool {
  	if a.reserved(n) {
  		return false
  	}
  	a.pool.SetBit(a.pool, n-a.low, allocated)
  	return true
  }
docs: // reserve claims the bit if it is not already claimed, returning true if
  // successfully claimed.