コード例 #1
0
ファイル: Stts.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_timeToSampleTable) * 8;
 }
コード例 #2
0
ファイル: Hdlr.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 21 + strlen($this->_name);
 }
コード例 #3
0
ファイル: Cprt.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 3 + strlen($this->_notice);
 }
コード例 #4
0
ファイル: Stss.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_syncSampleTable) * 4;
 }
コード例 #5
0
ファイル: Url.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + strlen($this->_location);
 }
コード例 #6
0
ファイル: Sdtp.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + count($this->_sampleDependencyTypeTable);
 }
コード例 #7
0
ファイル: Tfra.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     $lengthSizes = $this->_getLengthSizes();
     return parent::getHeapSize() + 12 + count($this->_entries) * ($this->getVersion() == 1 ? 16 : 8) + count($this->_entries) * ($lengthSizes['trafNum'] + 1) + count($this->_entries) * ($lengthSizes['trunNum'] + 1) + count($this->_entries) * ($lengthSizes['sampleNum'] + 1);
 }
コード例 #8
0
ファイル: Sbgp.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 8 + count($this->_sampleToGroupTable) * 8;
 }
コード例 #9
0
ファイル: Schm.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 8 + ($this->hasFlag(1) ? strlen($this->_schemeUri) + 1 : 0);
 }
コード例 #10
0
ファイル: Stdp.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + count($this->_values) * 2;
 }
コード例 #11
0
ファイル: Infe.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 7 + strlen($this->_itemName) + strlen($this->_contentType) + strlen($this->_contentEncoding);
 }
コード例 #12
0
ファイル: Mdhd.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + ($this->getVersion() == 1 ? 28 : 16) + 4;
 }
コード例 #13
0
ファイル: Stsc.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_sampleToChunkTable) * 12;
 }
コード例 #14
0
ファイル: Tkhd.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + ($this->getVersion() == 1 ? 32 : 20) + 60;
 }
コード例 #15
0
ファイル: Ctts.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_compositionOffsetTable) * 8;
 }
コード例 #16
0
ファイル: Id32.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  * @todo There has got to be a better way to do this
  */
 public function getHeapSize()
 {
     $writer = new HausDesign_Io_StringWriter();
     $this->_tag->write($writer);
     return parent::getHeapSize() + 2 + $writer->getSize();
 }
コード例 #17
0
ファイル: Stco.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_chunkOffsetTable) * 4;
 }
コード例 #18
0
ファイル: Ndrm.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + $this->getSize() - 12;
 }
コード例 #19
0
ファイル: Pdin.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + count($this->_progressiveDownloadInfo) * 8;
 }
コード例 #20
0
ファイル: Pitm.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 2;
 }
コード例 #21
0
ファイル: Stsz.php プロジェクト: hausdesign/zf-library
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 8 + ($this->_sampleSize == 0 ? count($this->_sampleSizeTable) * 4 : 0);
 }