Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def gen_bits(N):
#
if N < 1:
return None
if N == 1:
b = BitBuffer()
b.set_bit(0)
yield b
b = BitBuffer()
b._wpos = 0
b.set_bit(1)
yield b
else:
p = (1<
def gen_bits(N):
#
if N < 1:
return None
if N == 1:
b = BitBuffer()
b.set_bit(0)
yield b
b = BitBuffer()
b._wpos = 0
b.set_bit(1)
yield b
else:
p = (1<
b = BitBuffer()
b.set_bit(0)
yield b
b = BitBuffer()
b._wpos = 0
b.set_bit(1)
yield b
else:
p = (1<
def gen_bits(N):
#
if N < 1:
return None
if N == 1:
b = BitBuffer()
b.set_bit(0)
yield b
b = BitBuffer()
b._wpos = 0
b.set_bit(1)
yield b
else:
p = (1<