research/brotlidump.py
def span(self, index):
        """Give the range of possible values in a tuple
        Useful for mnemonic and explanation
        """
        lower = self.value0+sum(1<<x for x in self.extraTable[:index])
        upper = lower+(1<<self.extraTable[index])
        return lower, upper-1
def span(self, index):
        """Give the range of possible values in a tuple
        Useful for mnemonic and explanation
        """
        lower = self.value0+sum(1<<x for x in self.extraTable[:index])
        upper = lower+(1<<self.extraTable[index])
        return lower, upper-1
def span ( self , index ) : lower = self . value0 + sum ( 1 << x for x in self . extraTable [ : index ] ) upper = lower + ( 1 << self . extraTable [ index ] ) return lower , upper - 1
Give the range of possible values in a tuple
        Useful for mnemonic and explanation
Give the range of possible values in a tuple Useful for mnemonic and explanation