Results of 1 - 10 of about 30 for Capacity (0.001 sec.)
- Ds\Queue::allocate — Allocates enough memory for a required capacity | PHP 8.3 9780
- Ds\Queue::allocate (PECL ds >= 1.0.0) Ds\Queue::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Queue::allocate ( int $capacity ): void Ensures that enough memory is allocated for a required capacity. This
... removes the need to reallocate the internal buffer as values are added. 注意 : Capacity will always be rounded up to the nearest power of 2. パラメータ 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. 注意 : Capacity will always be rounded up ... er of 2. 戻り値 値を返しません。 例 例1 Ds\Queue::allocate() example <?php $queue = new \Ds\Queue (); var_dump ( $queue -> capacity ()); $queue -> allocate ( 100 ); var_dump ( $queue -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int ...
-
https://man.mtool.work/php/8.3/ds-queue.allocate.html
- Ds\Sequence::capacity — Returns the current capacity | PHP 8.3 9780
- Ds\Sequence::capacity (PECL ds >= 1.0.0) Ds\Sequence::capacity — Returns the current capacity 説明 abstract public function Ds\Sequence::capacity (): int Returns the current capacity. パラメータ この関数にはパラメータはありません。 戻り値 T
... he current capacity. 例 例1 Ds\Sequence::capacity() example <?php $sequence = new \Ds\Vector (); var_dump ( $sequence -> capacity ()); $sequen ... ce -> push (... range ( 1 , 50 )); var_dump ( $sequence -> capacity ()); $sequence [] = "a" ; var_dump ( $sequence -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(10) ...
-
https://man.mtool.work/php/8.3/ds-sequence.capacity.html
- Ds\Deque::capacity — Returns the current capacity | PHP 8.3 9682
- Ds\Deque::capacity (PECL ds >= 1.0.0) Ds\Deque::capacity — Returns the current capacity 説明 public function Ds\Deque::capacity (): int Returns the current capacity. パラメータ この関数にはパラメータはありません。 戻り値 The current capacity
... y. 例 例1 Ds\Deque::capacity() example <?php $deque = new \Ds\Deque (); var_dump ( $deque -> capacity ()); $deque -> push (... range ( 1 , 50 )); var_d ... ump ( $deque -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(8) int(64) 他のマニュアルの関連ページ DuckDB R DuckDB I/O ...
-
https://man.mtool.work/php/8.3/ds-deque.capacity.html
- Ds\Map::allocate — Allocates enough memory for a required capacity | PHP 8.3 9682
- Ds\Map::allocate (PECL ds >= 1.0.0) Ds\Map::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Map::allocate ( int $capacity ): void Allocates enough memory for a required capacity. パラメータ capacity The nu
... mber 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. 注意 ... : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\Map::allocate() example <?php $map ... = new \Ds\Map (); var_dump ( $map -> capacity ()); $map -> allocate ( 100 ); var_dump ( $map -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(16) ...
-
https://man.mtool.work/php/8.3/ds-map.allocate.html
- Ds\Set::allocate — Allocates enough memory for a required capacity | PHP 8.3 9682
- Ds\Set::allocate (PECL ds >= 1.0.0) Ds\Set::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Set::allocate ( int $capacity ): void Allocates enough memory for a required capacity. パラメータ capacity The nu
... mber 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. 注意 ... : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\Set::allocate() example <?php $set ... = new \Ds\Set (); var_dump ( $set -> capacity ()); $set -> allocate ( 100 ); var_dump ( $set -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(16) ...
-
https://man.mtool.work/php/8.3/ds-set.allocate.html
- Ds\Set::capacity — Returns the current capacity | PHP 8.3 9682
- Ds\Set::capacity (PECL ds >= 1.0.0) Ds\Set::capacity — Returns the current capacity 説明 public function Ds\Set::capacity (): int Returns the current capacity. パラメータ この関数にはパラメータはありません。 戻り値 The current capacity. 例
... 例1 Ds\Set::capacity() example <?php $set = new \Ds\Set (); var_dump ( $set -> capacity ()); $set -> add (... range ( 1 , 50 )); var_dump ( $se ... t -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(16) int(64) 他のマニュアルの関連ページ DuckDB R DuckDB I/O ...
-
https://man.mtool.work/php/8.3/ds-set.capacity.html
- Ds\Vector::capacity — Returns the current capacity | PHP 8.3 9682
- Ds\Vector::capacity (PECL ds >= 1.0.0) Ds\Vector::capacity — Returns the current capacity 説明 public function Ds\Vector::capacity (): int Returns the current capacity. パラメータ この関数にはパラメータはありません。 戻り値 The current capacity
... city. 例 例1 Ds\Vector::capacity() example <?php $vector = new \Ds\Vector (); var_dump ( $vector -> capacity ()); $vector -> push (... range ( 1 , 50 )); v ... ar_dump ( $vector -> capacity ()); $vector [] = "a" ; var_dump ( $vector -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(10) int ...
-
https://man.mtool.work/php/8.3/ds-vector.capacity.html
- Ds\Deque::allocate — Allocates enough memory for a required capacity | PHP 8.3 9650
- Ds\Deque::allocate (PECL ds >= 1.0.0) Ds\Deque::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Deque::allocate ( int $capacity ): void Ensures that enough memory is allocated for a required capacity. This
... removes the need to reallocate the internal buffer 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. 注意 : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\Deque::allocate() ... example <?php $deque = new \Ds\Deque (); var_dump ( $deque -> capacity ()); $deque -> allocate ( 100 ); var_dump ( $deque -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int ...
-
https://man.mtool.work/php/8.3/ds-deque.allocate.html
- Ds\PriorityQueue::allocate — Allocates enough memory for a required capacity | ... 9650
- Ds\PriorityQueue::allocate (PECL ds >= 1.0.0) Ds\PriorityQueue::allocate — Allocates enough memory for a required capacity 説明 public function Ds\PriorityQueue::allocate ( int $capacity ): void Ensures that enough memory is allocated for a
... required capacity. This removes the need to reallocate the internal buffer 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. 注意 ... : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\PriorityQueue::allocate() example < ...
-
https://man.mtool.work/php/8.3/ds-priorityqueue.allocate.html
- Ds\Queue::capacity — Returns the current capacity | PHP 8.3 9650
- Ds\Queue::capacity (PECL ds >= 1.0.0) Ds\Queue::capacity — Returns the current capacity 説明 public function Ds\Queue::capacity (): int Returns the current capacity. パラメータ この関数にはパラメータはありません。 戻り値 The current capacity
... y. 例 例1 Ds\Queue::capacity() example <?php $queue = new \Ds\Queue (); var_dump ( $queue -> capacity ()); $queue -> push (... range ( 1 , 50 )); var_d ... ump ( $queue -> capacity ()); ?> 上の例の出力は、 たとえば以下のようになります。 int(8) int(64) 他のマニュアルの関連ページ Python queue Python asyn ...
-
https://man.mtool.work/php/8.3/ds-queue.capacity.html