# File lib/amqp/int_allocator.rb, line 45
    def allocate
      if n = find_unallocated_position
        @free_set.set(n)

        n
      else
        -1
      end
    end