Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/a/m/amitools-HEAD/amitools/vamos/AmigaLibrary.py   amitools(Download)
 
from LabelLib import LabelLib
from AccessStruct import AccessStruct
from lib.lexec.ExecStruct import LibraryDef
 
    ctx.label_mgr.add_label(self.label)
    # create access
    self.access = AccessStruct(ctx.mem, self.struct, self.addr_base)
    self.lib_access = AccessStruct(ctx.mem, LibraryDef, self.addr_base)
 

src/a/m/amitools-HEAD/amitools/vamos/MemoryAlloc.py   amitools(Download)
from Exceptions import *
from Log import log_mem_alloc
from LabelRange import LabelRange
from LabelStruct import LabelStruct
from AccessStruct import AccessStruct
    label = LabelStruct(name, addr, struct)
    self.label_mgr.add_label(label)
    access = AccessStruct(self.mem, struct, addr)
    mem = Memory(addr,size,label,access)
    log_mem_alloc.info("alloc struct: %s",mem)

src/a/m/amitools-HEAD/amitools/vamos/LockManager.py   amitools(Download)
from lib.dos.DosStruct import *
from lib.dos.Error import *
from AccessStruct import AccessStruct
from lib.dos.DosProtection import DosProtection
 
    # date (use mtime here)
    date_addr = fib_mem.s_get_addr('fib_Date')
    date = AccessStruct(fib_mem.mem, DateStampDef, date_addr)
    t = os.path.getmtime(lock.sys_path)
    at = sys_to_ami_time(t)

src/a/m/amitools-HEAD/amitools/vamos/LabelLib.py   amitools(Download)
from LabelStruct import LabelStruct
from AccessStruct import AccessStruct
import logging
 
class LabelLib(LabelStruct):