sets status to 416 Range Not Satisfiable

@param   int|string  $total      total length of content
@param   string      $rangeUnit  optional  range unit, defaults to "bytes"
@return  \stubbles\webapp\response\Status
974199
public function rangeNotSatisfiable($total, string $rangeUnit = 'bytes'): self
    {
        $this->headers->add('Content-Range', $rangeUnit . ' */' . $total);
        return $this->fixateCode(416);
    }
79270
public static function counting(string $name, int $hit, $total = null)
    {
        self::getLogger()->counting($name, $hit, $total);
    }
622967
public function setTotalAmount($totalAmount)
	{
		$this->validateInputIsDouble(Request::ATTRIBUTE_TOTAL_AMOUNT, $totalAmount);

		$this->totalAmount = $totalAmount;

		return $this;
	}
1022223
public function calculatePercent($total, $pie)
    {
        if (empty($total)) {
            return '0%';
        }

        $total = ($pie / $total) * 100;

        if (is_float($total)) {
            return number_format($total, 1).'%';
        }

        return $total.'%';
    }
1305616
public function setTotalPrice(Money $totalPrice = null)
    {
        $this->totalPrice = $totalPrice ? $totalPrice->getAmount() : $totalPrice;

        return $this;
    }
860483
public function setBorderTop(PHPRtfLite_Border_Format $borderFormat)
    {
        $borderFormat->setColorTable($this->_rtf->getColorTable());
        $this->_borderTop = $borderFormat;
    }
912582
public function setOptInEmailStatus($iStatus)
    {
        $this->oxnewssubscribed__oxemailfailed = new \OxidEsales\Eshop\Core\Field($iStatus, \OxidEsales\Eshop\Core\Field::T_RAW);
        $this->save();
    }
514479
public function setSubtotal($subtotal)
    {
        NumericValidator::validate($subtotal, "Subtotal");
        $subtotal = Formatter::formatToPrice($subtotal);
        $this->subtotal = $subtotal;
        return $this;
    }
1067212
public function setPager ($total_count, $current_page, $url, $limit = PagerUtility::DISP_PER_PAGE, $options = []) {
 		$current_page	= $current_page ?: 1;
 		$options		= [
			'in_list_position'	=> $options['in_list_position']	?? 3,
			'max_link_disp'		=> $options['max_link_disp'] ?? 5,
 		];
 		$this->pager = PagerUtility::CreatePagerData($total_count, $current_page, $limit, $options);
 		$this->pager['enable']	= $total_count > $limit;
 		$this->pager['url']		= $url;

 		return $this->pager;
 	}
870719
public static function repeatMinutelyForTotalCount($count, $minutes = 1)
    {
        if($count < 1) {
            throw new \InvalidArgumentException(sprintf('Total count of firings must be at least one! Given count: "%s"', $count));
        }

        return static::simpleSchedule()
            ->withIntervalInMinutes($minutes)
            ->withRepeatCount($count - 1);
    }
409071
public function Configure($Offset, $Limit, $TotalRecords, $Url, $ForceConfigure = FALSE) {
      if ($this->_PropertiesDefined === FALSE || $ForceConfigure === TRUE) {
         if (is_array($Url)) {
            if (count($Url) == 1)
               $this->UrlCallBack = array_pop($Url);
            else
               $this->UrlCallBack = $Url;
         } else {
            $this->Url = $Url;
         }

         $this->Offset = $Offset;         
         $this->Limit = is_numeric($Limit) && $Limit > 0 ? $Limit : $this->Limit;
         $this->TotalRecords = $TotalRecords;
         $this->_LastOffset = $this->Offset + $this->Limit;
         $this->_Totalled = ($this->TotalRecords >= $this->Limit) ? FALSE : TRUE;
         if ($this->_LastOffset > $this->TotalRecords)
            $this->_LastOffset = $this->TotalRecords;
               
         $this->_PropertiesDefined = TRUE;
         
         Gdn::Controller()->EventArguments['Pager'] = $this;
         Gdn::Controller()->FireEvent('PagerInit');
      }
   }
1054052
public function topTenOldest(int $total = 10): string
    {
        $records = $this->topTenOldestQuery('BOTH', $total);

        return view('statistics/individuals/top10-nolist', [
            'records' => $records,
        ]);
    }
6896
public function updateTotal(&$total) {
        $rate = (float)self::config()->get('tax_rate') / 100;
        $tax = $total * $rate;
        $this->setPriceModification($tax);
        if (!(bool)self::config()->get('inclusive')) {
            $total += $tax;
        }
    }
1325750
public function getUnitTotal()
    {
        $total = $this->UnitPrice + $this->UnitTax;

        $this->extend("updateUnitTotal", $total);

        return $total;
    }
1333569
public function setTotal($total) {
		if ($total instanceof Builder) {
			$this->_total = intval($total->count());
			return $this;
		}
		$this->_total = intval($total);
		return $this;
	}
466817
private void fillTotalCount(JsonObject summary) {
    if (totalCount == 0 && summary != null && summary.get("total_count") != null) {
      totalCount = summary.getLong("total_count", totalCount);
    }
  }
639695
public function setRetryLimit($retryLimit = null)
    {
        if (! is_numeric($retryLimit) && ! is_null($retryLimit)) {
            throw new InvalidArgumentException('Retry limit must be a number or null.');
        }

        if (is_string($retryLimit)) {
            $retryLimit = (int) $retryLimit;
        }

        $this->retryLimit = $retryLimit;

        return $this;
    }