public function setBlocSize($size) {
        if (null !== $this->memory) {
            throw new Exception\RuntimeException(
            'You can not change the segment size because memory is already allocated.'
            . ' Use realloc() function to create new memory segment.'
            );
        }
        $this->blocSize = (integer) $size;
        return $this;
    }
public function setBlocSize($size) {
        if (null !== $this->memory) {
            throw new Exception\RuntimeException(
            'You can not change the segment size because memory is already allocated.'
            . ' Use realloc() function to create new memory segment.'
            );
        }
        $this->blocSize = (integer) $size;
        return $this;
    }
public function setBlocSize ( $ size ) { if ( null !== $ this -> memory ) { throw new Exception \ RuntimeException ( 'You can not change the segment size because memory is already allocated.' . ' Use realloc() function to create new memory segment.' ) ; } $ this -> blocSize = ( integer ) $ size ; return $ this ; }
Set bloc size
@param int
Set bloc size