男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

Ds\Vector::allocate

(PECL ds >= 1.0.0)

Ds\Vector::allocateAllocates enough memory for a required capacity

說(shuō)明

public Ds\Vector::allocate(int $capacity): void

Ensures that enough memory is allocated for a required capacity. This removes the need to reallocate the internal as values are added.

參數

capacity

The number of values for which capacity should be allocated.

注意:

Capacity will stay the same if this value is less than or equal to the current capacity.

返回值

沒(méi)有返回值。

范例

示例 #1 Ds\Vector::allocate() example

<?php
$vector 
= new \Ds\Vector();
var_dump($vector->capacity());

$vector->allocate(100);
var_dump($vector->capacity());
?>

以上例程的輸出類(lèi)似于:

int(10)
int(100)
男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站