Ejemplo n.º 1
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_timeToSampleTable) * 8;
 }
Ejemplo n.º 2
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 21 + strlen($this->_name);
 }
Ejemplo n.º 3
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 3 + strlen($this->_notice);
 }
Ejemplo n.º 4
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_syncSampleTable) * 4;
 }
Ejemplo n.º 5
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + strlen($this->_location);
 }
Ejemplo n.º 6
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + count($this->_sampleDependencyTypeTable);
 }
Ejemplo n.º 7
0
 /**
  * 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);
 }
Ejemplo n.º 8
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 8 + count($this->_sampleToGroupTable) * 8;
 }
Ejemplo n.º 9
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 8 + ($this->hasFlag(1) ? strlen($this->_schemeUri) + 1 : 0);
 }
Ejemplo n.º 10
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + count($this->_values) * 2;
 }
Ejemplo n.º 11
0
 /**
  * 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);
 }
Ejemplo n.º 12
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + ($this->getVersion() == 1 ? 28 : 16) + 4;
 }
Ejemplo n.º 13
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_sampleToChunkTable) * 12;
 }
Ejemplo n.º 14
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + ($this->getVersion() == 1 ? 32 : 20) + 60;
 }
Ejemplo n.º 15
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_compositionOffsetTable) * 8;
 }
Ejemplo n.º 16
0
 /**
  * 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();
 }
Ejemplo n.º 17
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 4 + count($this->_chunkOffsetTable) * 4;
 }
Ejemplo n.º 18
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + $this->getSize() - 12;
 }
Ejemplo n.º 19
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + count($this->_progressiveDownloadInfo) * 8;
 }
Ejemplo n.º 20
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 2;
 }
Ejemplo n.º 21
0
 /**
  * Returns the box heap size in bytes.
  *
  * @return integer
  */
 public function getHeapSize()
 {
     return parent::getHeapSize() + 8 + ($this->_sampleSize == 0 ? count($this->_sampleSizeTable) * 4 : 0);
 }