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

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

src/a/m/amitools-HEAD/amitools/fs/block/FileHeaderBlock.py   amitools(Download)
    self._put_long(-48, self.protect)
    self._put_long(-47, self.byte_size)
    self._put_bstr(-46, 79, self.comment)
    self._put_timestamp(-23, self.mod_ts)
    self._put_bstr(-20, 30, self.name)

src/a/m/amitools-HEAD/amitools/fs/block/RootBlock.py   amitools(Download)
 
    # name
    self._put_bstr(-20, 30, self.name)
    self._put_long(-2, self.extension)
 

src/a/m/amitools-HEAD/amitools/fs/block/UserDirBlock.py   amitools(Download)
  def write(self):
    Block._create_data(self)
    self._put_long(1, self.own_key)
    self._put_long(-48, self.protect)
    self._put_bstr(-46, 79, self.comment)
    self._put_timestamp(-23, self.mod_ts)
    self._put_bstr(-20, 30, self.name)