예제 #1
0
 def __init__(self, colour_count, sweeping_revoker):
     self._sweeping_revoker = sweeping_revoker
     self._ccount = colour_count
     self._addr_ivals_c = IntervalMap.from_valued_interval_domain(AddrIval(0, 2**64, 0))
예제 #2
0
 def __init__(self, *, calc_total_for_state):
     super().__init__()
     self.__addr_ivals = IntervalMap.from_valued_interval_domain(AddrIval(0, 2**64, None))
     self._total = 0
     self._calc_total_for_state = calc_total_for_state
예제 #3
0
 def __init__(self):
     super().__init__(calc_total_for_state=AddrIvalState.ALLOCD)
     bkg_ival = AddrIval(0, 2**64, None)
     self.__addr_ivals = IntervalMap.from_valued_interval_domain(bkg_ival, coalescing=False)
     self._realloc_stubs = IntervalMap.from_valued_interval_domain(bkg_ival)
예제 #4
0
 def __init__(self):
     bkg_ival = AddrIval(0, 2**64, None)
     self._addr_ivals = \
         IntervalMap.from_valued_interval_domain(bkg_ival, coalescing=False)