def __init__(self, username=None, pid=None, refdatefunc=None):
        if refdatefunc is None:
            refdatefunc = self.reftime
        self.initialseq = 0
        self.lasttime = 0
        self.refdatefunc = refdatefunc
        if pid is None:
            pid = os.getpid()
        self.rndgen = random.Random(xor((pid << 16), refdatefunc()))
        self.userhash = self.user_hash(username)
        self.pidbyte = pid & 0xff
        self.randomconst = self.rndgen.randint(0, (2 ** 31) - 1) & 0x00ffffff
        self.randomseq = self.rndgen.randint(0, 1 - (2 ** 31)) & 0xffff
dataset/ETHPy150Open mikr/xcodeprojer/xcodeprojer.py/UniqueXcodeIDGenerator.__init__/swapped operands of `-`