Get/set the starting offset.

@param  integer $start The offset to set.
@return integer        The setted offset.
420187
public function start($start = null, $autoseek = true)
    {
        if (!func_num_args()) {
            return $this->_start;
        }
        $this->_start = (int) $start;

        if ($autoseek) {
            $this->rewind();
        }
        return $this;
    }
964419
public function slice($start=0, $end=-1) {
        if ( $end == -1 ) return substr($this->internal, $start);
        $len = $end - $start - 1;
        return substr($this->internal, $start, $len);
    }
682101
public function getForRange($key, \DateTime $start, \DateTime $end)
    {
        if (!$this->hasForRange($key, $start, $end)) {
            return null;
        }

        return $this->data[$this->keyForRange($key, $start, $end)];
    }
1211993
public function getStartCrop($origin, $target, $focus)
    {
        $focusPx = round(($origin * $focus) / 100);
        $start = $focusPx - ($target / 2);

        if ($start <= 0) {
            return 0;
        }

        if (($start + $target) >= $origin) {
            return $origin - $target;
        }

        return $start;
    }
234521
public function createdAt($start = null, $end = null)
    {
        /* @var $this ActiveQuery */
        $model = $this->noInitModel;
        if (!is_string($model->createdAtAttribute) || empty($model->createdAtAttribute)) {
            return $this;
        }
        return static::range($this, $model->createdAtAttribute, $start, $end);
    }
561844
public function getStart() {
		return Util::toISO8601($this->getStartTimestamp(), Util::UTC, $this->getEvent()->getTimezone());
	}
1233246
public function select(int $start, int $stop): array
    {
        return $this->handle->lRange($this->name, intval($start), intval($stop));
    }
859077
public function offsetGet($offset)
    {
        isset($this->keys[$offset])
            || Exception::unknownProperty($offset);
        if (
            isset($this->raw[$offset])
            || !is_object($this->items[$offset])
            || isset($this->protect[$this->items[$offset]])
            || !method_exists($this->items[$offset], '__invoke')
        ) {
            return $this->items[$offset];
        }

        if (isset($this->factory[$this->items[$offset]])) {
            return $this->items[$offset]($this);
        }

        $raw = $this->items[$offset];
        $val = $this->items[$offset] = $raw($this);
        $this->raw[$offset] = $raw;
        $this->frozen[$offset] = true;
        return $val;
    }
882396
private static function serializeRange($start, $end) {
    if ($start < 0) {
      $range_str = sprintf('%d', $start);
    } else if (!isset($end)) {
      $range_str = sprintf("%d-", $start);
    } else {
      $range_str = sprintf("%d-%d", $start, $end);
    }
    return sprintf("bytes=%s", $range_str);
  }
156193
public function setDateStart($start, $field = null)
    {
        $param = $this->buildParam('facet.date.start', $field);
        return $this->set($param, $start);
    }
1251889
public function setStart(float $start = null) : self
    {
        $this->start = $start ?? microtime(true);
        $this->differential = $this->start;

        return $this;
    }
109758
public function offsetGet($offset)
    {
        if (!is_int($offset)) {
            return null;
        }
        if ($offset < 0) {
            $offset += count($this->parts);
        }
        return $this->parts[$offset];
    }
429522
public function getStartDate() : ?string 
    {
        if ( ! $this->hasStartDate()) {
            $this->setStartDate($this->getDefaultStartDate());
        }
        return $this->startDate;
    }
153750
protected function location($start)
    {
        if (!empty($this->options['noLocation'])) {
            return NULL;
        }

        if (!empty($this->options['noSource'])) {
            return new Location($start, $this->cursor);
        }

        return new Location($start, $this->cursor, $this->source);
    }
902882
public function offsetGet($offset)
    {
        return isset($this->conditions[$offset]) ? $this->conditions[$offset] : null;
    }
972974
public function limit($limit, $start = null)
    {
        if(is_int($limit)) {
            $build = $limit;
            if(is_int($start)) {
                $build = $start.', '.$limit;
            }
            $this->limit = ' LIMIT '.$build;
        }
        return $this;
    }
1316488
public function getUrlRange($start, $end)
    {
        return collect(range($start, $end))->mapWithKeys(function ($page) {
            return [$page => $this->url($page)];
        })->all();
    }