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

All Samples(157)  |  Call(32)  |  Derive(31)  |  Import(94)

src/a/m/amitools-HEAD/amitools/fs/block/BootBlock.py   amitools(Download)
import os.path
from Block import Block
import amitools.fs.DosType as DosType
 
class BootBlock(Block):  
    self.extra_blks = []
    for i in xrange(self.num_extra):
      b = Block(self.blkdev, self.blk_num + 1 + i)
      b._create_data()
      self.extra_blks.append(b)
    self.extra_blks = []
    for i in xrange(self.num_extra):
      b = Block(self.blkdev, self.blk_num + 1 + i)
      b._read_data()
      self.extra_blks.append(b)

src/p/y/pythia-0.8.1.11/pyre/geometry/solids/__init__.py   pythia(Download)
def block(diagonal):
    from Block import Block
    return Block(diagonal)
 
 

src/a/m/amitools-HEAD/amitools/fs/block/rdb/LoadSegBlock.py   amitools(Download)
from ..Block import Block
 
class LoadSegBlock(Block):
  def __init__(self, blkdev, blk_num=0):
    Block.__init__(self, blkdev, blk_num, chk_loc=2, is_type=Block.LSEG)

src/a/m/amitools-HEAD/amitools/fs/block/rdb/BadBlocksBlock.py   amitools(Download)
from ..Block import Block
 
class BadBlockBlock(Block):
  def __init__(self, blkdev, blk_num=0):
    Block.__init__(self, blkdev, blk_num, chk_loc=2, is_type=Block.BADB)

src/a/m/amitools-HEAD/amitools/fs/block/UserDirBlock.py   amitools(Download)
import time
from Block import Block
from ..ProtectFlags import ProtectFlags
 
class UserDirBlock(Block):

src/a/m/amitools-HEAD/amitools/fs/block/RootBlock.py   amitools(Download)
import time
from Block import Block
from ..TimeStamp import *
 
class RootBlock(Block):

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

src/a/m/amitools-HEAD/amitools/fs/block/FileHeaderBlock.py   amitools(Download)
import time
from Block import Block
from ..ProtectFlags import ProtectFlags
from ..TimeStamp import *
 
class FileHeaderBlock(Block):

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

src/a/m/amitools-HEAD/amitools/fs/block/BitmapExtBlock.py   amitools(Download)
from Block import Block
from amitools.util.HexDump import *
 
class BitmapExtBlock(Block):
  def __init__(self, blkdev, blk_num):

  1 | 2 | 3 | 4  Next