PHP » GoLang |
login |
register |
about
|
GoLang Ds\PriorityQueue::allocate
request it (350)
GoLang replacement for PHP's Ds\PriorityQueue::allocate
[edit | history]
PHP Ds\PriorityQueue::allocatePHP original manual for Ds\PriorityQueue::allocate [ show | php.net ]Ds\PriorityQueue::allocate(PECL ds >= 1.0.0) Ds\PriorityQueue::allocate — Allocates enough memory for a required capacity Description
public void Ds\PriorityQueue::allocate
( int
$capacity
)Ensures that enough memory is allocated for a required capacity. This removes the need to reallocate the internal as values are added. Parameters
Return ValuesNo value is returned. ExamplesExample #1 Ds\PriorityQueue::allocate() example
<?php The above example will output something similar to: int(8) int(128) |
more
Recently updated
more
Most requested
more
Last requests
|