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

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/a/m/amitools-HEAD/amitools/fs/block/UserDirBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, is_type=Block.T_SHORT, is_sub_type=Block.ST_USERDIR)
 
  def set(self, data):
    self._set_data(data)

src/a/m/amitools-HEAD/amitools/fs/block/FileHeaderBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, is_type=Block.T_SHORT, is_sub_type=Block.ST_FILE)
 
  def set(self, data):
    self._set_data(data)

src/a/m/amitools-HEAD/amitools/fs/block/FileListBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, is_type=Block.T_LIST, is_sub_type=Block.ST_FILE)
 
  def set(self, data):
    self._set_data(data)

src/a/m/amitools-HEAD/amitools/fs/block/rdb/LoadSegBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num=0):
    Block.__init__(self, blkdev, blk_num, chk_loc=2, is_type=Block.LSEG)
 
  def create(self, host_id=0, next=Block.no_blk, size=128):
    Block.create(self)

src/a/m/amitools-HEAD/amitools/fs/block/rdb/BadBlocksBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num=0):
    Block.__init__(self, blkdev, blk_num, chk_loc=2, is_type=Block.BADB)
 
  def create(self, block_pairs, host_id, size=128, next=0):
    Block.create(self)

src/a/m/amitools-HEAD/amitools/fs/block/RootBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, is_type=Block.T_SHORT, is_sub_type=Block.ST_ROOT)
 
  def create(self, name, create_ts=None, disk_ts=None, mod_ts=None, extension=0):
    Block.create(self)

src/a/m/amitools-HEAD/amitools/fs/block/rdb/RDBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num=0):
    Block.__init__(self, blkdev, blk_num, chk_loc=2, is_type=Block.RDSK)
 
  def create(self, phy_drv, log_drv, drv_id,
             host_id=7, block_size=512, flags=0x17, 

src/a/m/amitools-HEAD/amitools/fs/block/FileDataBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, is_type=Block.T_DATA)
 
  def set(self, data):
    self._set_data(data)

src/a/m/amitools-HEAD/amitools/fs/block/DirCacheBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, is_type=Block.T_DIR_CACHE)
 
  def set(self, data):
    self._set_data(data)

src/a/m/amitools-HEAD/amitools/fs/block/BitmapBlock.py   amitools(Download)
  def __init__(self, blkdev, blk_num):
    Block.__init__(self, blkdev, blk_num, chk_loc=0)
 
  def set(self, data):
    self._set_data(data)

  1 | 2  Next