Jumps <var>size</var> amount of bytes in the stream.

@param integer $size The amount of bytes.
@return void
@throws DomainAssertion|InvalidStreamException if <var>size</var> attribute is negative or if
an I/O error occurs
549425
public function skip($size)
    {
        if ($size < 0) {
            throw new DomainAssertion('Size cannot be negative');
        }
        if ($size == 0) {
            return;
        }
        $this->checkStreamAvailable();
        fseek($this->fileDescriptor, $size, SEEK_CUR);
    }
788632
public function ensureCapacity(int $size) : void
    {
        if ($size > count($this->bits) << 5) {
            $this->bits->setSize(($size + 31) >> 5);
        }
    }
1333715
public function setSize($size) {
		if (is_int($size)) {
			return $this->addToMemberCtrl($this->mClass, CssRef::sizes("input-group")[$size],CssRef::sizes("input-group"));
		}
		return $this->addToMemberCtrl($this->mClass, $size, CssRef::sizes("input-group"));
	}
293762
protected function passthru($size)
  {
    $buff_size = fpassthru($this->getTransport()->getStream());

    if($buff_size != $size)
    {
      throw new TeamSpeak3_Adapter_FileTransfer_Exception("incomplete file download (" . intval($buff_size) . " of " . $size . " bytes)");
    }
  }
934746
private function calculateSizeOfRemainingLengthField(int $size): int
    {
        $blockSize = $iterations = 0;
        while ($size >= $blockSize) {
            $iterations++;
            $blockSize = 128 ** $iterations;
        }

        $this->sizeOfRemainingLengthField = $iterations;
        return $iterations;
    }
594526
public function setSize( $size ){
		if( !is_integer( $size ) )
			throw new InvalidArgumentException( 'Size must be an integer' );
		if( $size < 1 )
			throw new OutOfBoundsException( 'Size must be atleast 1 pixel' );
		if( $size > 512 )
			throw new OutOfBoundsException( 'Size must be atmost 512 pixels' );
		$this->size	= $size;
	}
1286107
public function size(string $size): self
    {
        $comparator = new Comparator\NumberComparator($size);
        $filter = new Iterator\SizeRangeFilterIterator($this->getIterator(), [$comparator]);

        return new self(iterator_to_array($filter));
    }
425627
@Override
    public void setBufferSize(int size) {
        if (this.writing || isClosed()) {
            throw new IllegalStateException("Stream unable to set size");
        }
        this.amountToBuffer = size;
        this.bbSize = (49152 < size) ? 32768 : 8192;

        // make sure we never create larger frames than the max http2 frame size
        Integer h2size = (Integer) this.getVc().getStateMap().get("h2_frame_size");
        if (h2size != null && h2size < bbSize) {
            this.bbSize = h2size;
        }

        int numBuffers = (size / this.bbSize);
        if (0 == size || 0 != (size % this.bbSize)) {
            numBuffers++;
        }
        this.output = new WsByteBuffer[numBuffers];
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "setBufferSize=" + size + "; " + this);
        }
    }
589840
protected static function prepareSize($size, array $definition)
	{
		$css = sprintf('col-%s-%s', $size, $definition['width']);

		if($definition['offset']) {
			$css .= sprintf(' col-%s-offset-%s', $size, $definition['offset']);
		}

		if($definition['order']) {
			$css .= sprintf(' col-%s-%s', $size, $definition['order']);
		}

		return $css;
	}
127606
public function setSoftEdgesSize($size)
    {
        if (!is_null($size)) {
            $this->activateObject();
            $softEdges['size'] = (string) $this->getExcelPointsWidth($size);
        }
    }
375557
public function setAvatarSize($size)
    {
        $this->size = intval($size);
        if ($this->size > 512 || $this->size < 0) {
            throw new InvalidArgumentException('Avatar size must be within 0 pixels and 512 pixels');
        }
        return $this;
    }
343546
protected function updateSize($size) {
		$size = sprintf('%' . self::SHM_DATA_OFFSET . 'd', intval($size));
		return !!$this->write(0, $size);
	}
32183
public function size( $size ) {
		$this->width  = (int) $size;
		$this->height = (int) $size;

		return $this;
	}
643226
protected function prepare(int $size): int
    {
        if ($size <= 0) {
            return 0;
        }

        for ($i = 0; $i < $size; $i++) {
            $res = $this->create();
            $this->chan->push($res);
        }

        return $size;
    }
609885
public function setSize($size = 32)
    {
        $size = (int)$size;

        // Gravatars can be sized 1px up to 2048px square: https://en.gravatar.com/site/implement/images/#size
        if ($size < 1) {
            $size = 1;
        }

        if ($size > 2048) {
            $size = 2048;
        }

        $this->size = $size;

        return $this;
    }
1270933
public function setControlSize(string $size)
    {
        $allowed_sizes = [
            'lg',
            'md',
            'sm',
            'xs'
        ];

        if (!in_array($size, $allowed_sizes)) {
            Throw new FormDesignerException(sprintf('Size "%s" is no valid controlsize. Allowed sizes are %s.', $size, implode(', ', $allowed_sizes)));
        }

        $this->control_size = $size;
    }
1344556
public function size($size = 1048576, $error) {
        if ($this->_exist) {
            array_push($this->_constraints, ['type' => self::SIZE, 'value' => $size, 'message' => $error]);
        }

        return $this;
    }