Ejemplo n.º 1
0
    def __init__(self, *args, **kwargs):
        self.consts_store = mrc.Store(
            self,
            mrc.Ref('consts_raw'),
            base_offset=mrc.Ref('consts_store_offset'))
        self.code_store = mrc.Store(self,
                                    mrc.Ref('code_store_raw'),
                                    base_offset=mrc.Ref('code_store_base'))

        super().__init__(*args, **kwargs)
Ejemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     self.segdatastore = mrc.Store(self,
                                   mrc.Ref('segdata'),
                                   base_offset=mrc.EndOffset(
                                       'ne_header',
                                       neg=True,
                                       align=mrc.Ref('sector_align')),
                                   align=mrc.Ref('sector_align'))
     super().__init__(*args, **kwargs)
Ejemplo n.º 3
0
 def __init__( self, *args, **kwargs ):
     self.store = mrc.Store( self, mrc.Ref( 'data' ) )
     super().__init__( *args, **kwargs )
Ejemplo n.º 4
0
 def __init__(self, *args, **kwargs):
     self.files_store = mrc.Store(parent=self,
                                  source=mrc.Ref('files_raw'),
                                  base_offset=mrc.EndOffset('files',
                                                            neg=True))
     super().__init__(*args, **kwargs)
Ejemplo n.º 5
0
 def __init__(self, *args, **kwargs):
     self.tracks = mrc.Store(parent=self,
                             source=mrc.Ref('music_raw'),
                             base_offset=mrc.EndOffset('entries', neg=True))
     super().__init__(*args, **kwargs)